* Makefile.def, Makefile.tpl, configure.in: Remove all mention
[external/binutils.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
4 # Makefile for directory with subdirs to build.
5 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 #   1999, 2000, 2001, 2002, 2003 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 configure-build-libiberty:
1942         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1943         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1944         r=`${PWD_COMMAND}`; export r; \
1945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1946         AR="$(AR_FOR_BUILD)"; export AR; \
1947         AS="$(AS_FOR_BUILD)"; export AS; \
1948         CC="$(CC_FOR_BUILD)"; export CC; \
1949         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1950         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1951         CXX="$(CXX_FOR_BUILD)"; export CXX; \
1952         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1953         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1954         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
1955         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1956         LD="$(LD_FOR_BUILD)"; export LD; \
1957         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1958         NM="$(NM_FOR_BUILD)"; export NM; \
1959         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1960         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1961         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1962         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1963         case $(srcdir) in \
1964           /* | [A-Za-z]:[\\/]*) \
1965             topdir=$(srcdir) ;; \
1966           *) \
1967             case "$(BUILD_SUBDIR)" in \
1968               .) topdir="../$(srcdir)" ;; \
1969               *) topdir="../../$(srcdir)" ;; \
1970             esac ;; \
1971         esac; \
1972         if [ "$(srcdir)" = "." ] ; then \
1973           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1974             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1975               if [ -f Makefile ]; then \
1976                 if $(MAKE) distclean; then \
1977                   true; \
1978                 else \
1979                   exit 1; \
1980                 fi; \
1981               else \
1982                 true; \
1983               fi; \
1984             else \
1985               exit 1; \
1986             fi; \
1987           else \
1988             true; \
1989           fi; \
1990           srcdiroption="--srcdir=."; \
1991           libsrcdir="."; \
1992         else \
1993           srcdiroption="--srcdir=$${topdir}/libiberty"; \
1994           libsrcdir="$$s/libiberty"; \
1995         fi; \
1996         rm -f no-such-file || : ; \
1997         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1998           $(BUILD_CONFIGARGS) $${srcdiroption} \
1999           --with-build-subdir="$(BUILD_SUBDIR)" \
2000           || exit 1
2001
2002 .PHONY: all-build-libiberty maybe-all-build-libiberty
2003 maybe-all-build-libiberty:
2004 all-build-libiberty: configure-build-libiberty
2005         @r=`${PWD_COMMAND}`; export r; \
2006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2007         (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2008
2009 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2010 maybe-configure-build-libbanshee:
2011 configure-build-libbanshee:
2012         @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2013         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2014         r=`${PWD_COMMAND}`; export r; \
2015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2016         AR="$(AR_FOR_BUILD)"; export AR; \
2017         AS="$(AS_FOR_BUILD)"; export AS; \
2018         CC="$(CC_FOR_BUILD)"; export CC; \
2019         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
2020         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2021         CXX="$(CXX_FOR_BUILD)"; export CXX; \
2022         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
2023         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
2024         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
2025         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
2026         LD="$(LD_FOR_BUILD)"; export LD; \
2027         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
2028         NM="$(NM_FOR_BUILD)"; export NM; \
2029         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
2030         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
2031         echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2032         cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2033         case $(srcdir) in \
2034           /* | [A-Za-z]:[\\/]*) \
2035             topdir=$(srcdir) ;; \
2036           *) \
2037             case "$(BUILD_SUBDIR)" in \
2038               .) topdir="../$(srcdir)" ;; \
2039               *) topdir="../../$(srcdir)" ;; \
2040             esac ;; \
2041         esac; \
2042         if [ "$(srcdir)" = "." ] ; then \
2043           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2044             if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2045               if [ -f Makefile ]; then \
2046                 if $(MAKE) distclean; then \
2047                   true; \
2048                 else \
2049                   exit 1; \
2050                 fi; \
2051               else \
2052                 true; \
2053               fi; \
2054             else \
2055               exit 1; \
2056             fi; \
2057           else \
2058             true; \
2059           fi; \
2060           srcdiroption="--srcdir=."; \
2061           libsrcdir="."; \
2062         else \
2063           srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2064           libsrcdir="$$s/libbanshee"; \
2065         fi; \
2066         rm -f no-such-file || : ; \
2067         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2068           $(BUILD_CONFIGARGS) $${srcdiroption} \
2069           --with-build-subdir="$(BUILD_SUBDIR)" \
2070           || exit 1
2071
2072 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2073 maybe-all-build-libbanshee:
2074 all-build-libbanshee: configure-build-libbanshee
2075         @r=`${PWD_COMMAND}`; export r; \
2076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2077         (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2078
2079
2080 # --------------------------------------
2081 # Modules which run on the host machine
2082 # --------------------------------------
2083
2084 .PHONY: configure-ash maybe-configure-ash
2085 maybe-configure-ash:
2086 configure-ash:
2087         @test ! -f ash/Makefile || exit 0; \
2088         [ -d ash ] || mkdir ash; \
2089         r=`${PWD_COMMAND}`; export r; \
2090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2091         CC="$(CC)"; export CC; \
2092         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2093         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2094         CXX="$(CXX)"; export CXX; \
2095         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2096         AR="$(AR)"; export AR; \
2097         AS="$(AS)"; export AS; \
2098         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2099         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2100         LD="$(LD)"; export LD; \
2101         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2102         NM="$(NM)"; export NM; \
2103         RANLIB="$(RANLIB)"; export RANLIB; \
2104         WINDRES="$(WINDRES)"; export WINDRES; \
2105         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2106         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2107         echo Configuring in ash; \
2108         cd ash || exit 1; \
2109         case $(srcdir) in \
2110           \.) \
2111             srcdiroption="--srcdir=."; \
2112             libsrcdir=".";; \
2113           /* | [A-Za-z]:[\\/]*) \
2114             srcdiroption="--srcdir=$(srcdir)/ash"; \
2115             libsrcdir="$$s/ash";; \
2116           *) \
2117             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2118             libsrcdir="$$s/ash";; \
2119         esac; \
2120         $(SHELL) $${libsrcdir}/configure \
2121           $(HOST_CONFIGARGS) $${srcdiroption} \
2122           || exit 1
2123
2124 .PHONY: all-ash maybe-all-ash
2125 maybe-all-ash:
2126 all-ash: configure-ash
2127         @r=`${PWD_COMMAND}`; export r; \
2128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2129         $(SET_LIB_PATH) \
2130         (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2131
2132 .PHONY: check-ash maybe-check-ash
2133 maybe-check-ash:
2134
2135 check-ash:
2136         @r=`${PWD_COMMAND}`; export r; \
2137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2138         $(SET_LIB_PATH) \
2139         (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2140
2141
2142 .PHONY: install-ash maybe-install-ash
2143 maybe-install-ash:
2144
2145 install-ash: installdirs
2146         @r=`${PWD_COMMAND}`; export r; \
2147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2148         $(SET_LIB_PATH) \
2149         (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2150
2151
2152 # Other targets (info, dvi, etc.)
2153
2154 .PHONY: maybe-info-ash info-ash
2155 maybe-info-ash:
2156
2157 info-ash: \
2158     configure-ash 
2159         @[ -f ./ash/Makefile ] || exit 0; \
2160         r=`${PWD_COMMAND}`; export r; \
2161         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2162         $(SET_LIB_PATH) \
2163         for flag in $(EXTRA_HOST_FLAGS); do \
2164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2165         done; \
2166         echo "Doing info in ash" ; \
2167         (cd ash && \
2168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2170                   "RANLIB=$${RANLIB}" \
2171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2172                   info) \
2173           || exit 1
2174
2175
2176 .PHONY: maybe-dvi-ash dvi-ash
2177 maybe-dvi-ash:
2178
2179 dvi-ash: \
2180     configure-ash 
2181         @[ -f ./ash/Makefile ] || exit 0; \
2182         r=`${PWD_COMMAND}`; export r; \
2183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2184         $(SET_LIB_PATH) \
2185         for flag in $(EXTRA_HOST_FLAGS); do \
2186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2187         done; \
2188         echo "Doing dvi in ash" ; \
2189         (cd ash && \
2190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2192                   "RANLIB=$${RANLIB}" \
2193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2194                   dvi) \
2195           || exit 1
2196
2197
2198 .PHONY: maybe-TAGS-ash TAGS-ash
2199 maybe-TAGS-ash:
2200
2201 TAGS-ash: \
2202     configure-ash 
2203         @[ -f ./ash/Makefile ] || exit 0; \
2204         r=`${PWD_COMMAND}`; export r; \
2205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2206         $(SET_LIB_PATH) \
2207         for flag in $(EXTRA_HOST_FLAGS); do \
2208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2209         done; \
2210         echo "Doing TAGS in ash" ; \
2211         (cd ash && \
2212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2214                   "RANLIB=$${RANLIB}" \
2215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2216                   TAGS) \
2217           || exit 1
2218
2219
2220 .PHONY: maybe-install-info-ash install-info-ash
2221 maybe-install-info-ash:
2222
2223 install-info-ash: \
2224     configure-ash \
2225     info-ash 
2226         @[ -f ./ash/Makefile ] || exit 0; \
2227         r=`${PWD_COMMAND}`; export r; \
2228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2229         $(SET_LIB_PATH) \
2230         for flag in $(EXTRA_HOST_FLAGS); do \
2231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2232         done; \
2233         echo "Doing install-info in ash" ; \
2234         (cd ash && \
2235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2237                   "RANLIB=$${RANLIB}" \
2238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2239                   install-info) \
2240           || exit 1
2241
2242
2243 .PHONY: maybe-installcheck-ash installcheck-ash
2244 maybe-installcheck-ash:
2245
2246 installcheck-ash: \
2247     configure-ash 
2248         @[ -f ./ash/Makefile ] || exit 0; \
2249         r=`${PWD_COMMAND}`; export r; \
2250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2251         $(SET_LIB_PATH) \
2252         for flag in $(EXTRA_HOST_FLAGS); do \
2253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2254         done; \
2255         echo "Doing installcheck in ash" ; \
2256         (cd ash && \
2257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2259                   "RANLIB=$${RANLIB}" \
2260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2261                   installcheck) \
2262           || exit 1
2263
2264
2265 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2266 maybe-mostlyclean-ash:
2267
2268 mostlyclean-ash: 
2269         @[ -f ./ash/Makefile ] || exit 0; \
2270         r=`${PWD_COMMAND}`; export r; \
2271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2272         $(SET_LIB_PATH) \
2273         for flag in $(EXTRA_HOST_FLAGS); do \
2274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2275         done; \
2276         echo "Doing mostlyclean in ash" ; \
2277         (cd ash && \
2278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2280                   "RANLIB=$${RANLIB}" \
2281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2282                   mostlyclean) \
2283           || exit 1
2284
2285
2286 .PHONY: maybe-clean-ash clean-ash
2287 maybe-clean-ash:
2288
2289 clean-ash: 
2290         @[ -f ./ash/Makefile ] || exit 0; \
2291         r=`${PWD_COMMAND}`; export r; \
2292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2293         $(SET_LIB_PATH) \
2294         for flag in $(EXTRA_HOST_FLAGS); do \
2295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2296         done; \
2297         echo "Doing clean in ash" ; \
2298         (cd ash && \
2299           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2300                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2301                   "RANLIB=$${RANLIB}" \
2302                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2303                   clean) \
2304           || exit 1
2305
2306
2307 .PHONY: maybe-distclean-ash distclean-ash
2308 maybe-distclean-ash:
2309
2310 distclean-ash: 
2311         @[ -f ./ash/Makefile ] || exit 0; \
2312         r=`${PWD_COMMAND}`; export r; \
2313         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2314         $(SET_LIB_PATH) \
2315         for flag in $(EXTRA_HOST_FLAGS); do \
2316           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2317         done; \
2318         echo "Doing distclean in ash" ; \
2319         (cd ash && \
2320           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2321                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2322                   "RANLIB=$${RANLIB}" \
2323                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2324                   distclean) \
2325           || exit 1
2326
2327
2328 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2329 maybe-maintainer-clean-ash:
2330
2331 maintainer-clean-ash: 
2332         @[ -f ./ash/Makefile ] || exit 0; \
2333         r=`${PWD_COMMAND}`; export r; \
2334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2335         $(SET_LIB_PATH) \
2336         for flag in $(EXTRA_HOST_FLAGS); do \
2337           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2338         done; \
2339         echo "Doing maintainer-clean in ash" ; \
2340         (cd ash && \
2341           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2342                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2343                   "RANLIB=$${RANLIB}" \
2344                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2345                   maintainer-clean) \
2346           || exit 1
2347
2348
2349
2350 .PHONY: configure-autoconf maybe-configure-autoconf
2351 maybe-configure-autoconf:
2352 configure-autoconf:
2353         @test ! -f autoconf/Makefile || exit 0; \
2354         [ -d autoconf ] || mkdir autoconf; \
2355         r=`${PWD_COMMAND}`; export r; \
2356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2357         CC="$(CC)"; export CC; \
2358         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2359         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2360         CXX="$(CXX)"; export CXX; \
2361         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2362         AR="$(AR)"; export AR; \
2363         AS="$(AS)"; export AS; \
2364         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2365         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2366         LD="$(LD)"; export LD; \
2367         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2368         NM="$(NM)"; export NM; \
2369         RANLIB="$(RANLIB)"; export RANLIB; \
2370         WINDRES="$(WINDRES)"; export WINDRES; \
2371         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2372         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2373         echo Configuring in autoconf; \
2374         cd autoconf || exit 1; \
2375         case $(srcdir) in \
2376           \.) \
2377             srcdiroption="--srcdir=."; \
2378             libsrcdir=".";; \
2379           /* | [A-Za-z]:[\\/]*) \
2380             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2381             libsrcdir="$$s/autoconf";; \
2382           *) \
2383             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2384             libsrcdir="$$s/autoconf";; \
2385         esac; \
2386         $(SHELL) $${libsrcdir}/configure \
2387           $(HOST_CONFIGARGS) $${srcdiroption} \
2388           || exit 1
2389
2390 .PHONY: all-autoconf maybe-all-autoconf
2391 maybe-all-autoconf:
2392 all-autoconf: configure-autoconf
2393         @r=`${PWD_COMMAND}`; export r; \
2394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2395         $(SET_LIB_PATH) \
2396         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2397
2398 .PHONY: check-autoconf maybe-check-autoconf
2399 maybe-check-autoconf:
2400
2401 check-autoconf:
2402         @r=`${PWD_COMMAND}`; export r; \
2403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2404         $(SET_LIB_PATH) \
2405         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2406
2407
2408 .PHONY: install-autoconf maybe-install-autoconf
2409 maybe-install-autoconf:
2410
2411 install-autoconf: installdirs
2412         @r=`${PWD_COMMAND}`; export r; \
2413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414         $(SET_LIB_PATH) \
2415         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2416
2417
2418 # Other targets (info, dvi, etc.)
2419
2420 .PHONY: maybe-info-autoconf info-autoconf
2421 maybe-info-autoconf:
2422
2423 info-autoconf: \
2424     configure-autoconf 
2425         @[ -f ./autoconf/Makefile ] || exit 0; \
2426         r=`${PWD_COMMAND}`; export r; \
2427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2428         $(SET_LIB_PATH) \
2429         for flag in $(EXTRA_HOST_FLAGS); do \
2430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2431         done; \
2432         echo "Doing info in autoconf" ; \
2433         (cd autoconf && \
2434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2436                   "RANLIB=$${RANLIB}" \
2437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2438                   info) \
2439           || exit 1
2440
2441
2442 .PHONY: maybe-dvi-autoconf dvi-autoconf
2443 maybe-dvi-autoconf:
2444
2445 dvi-autoconf: \
2446     configure-autoconf 
2447         @[ -f ./autoconf/Makefile ] || exit 0; \
2448         r=`${PWD_COMMAND}`; export r; \
2449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450         $(SET_LIB_PATH) \
2451         for flag in $(EXTRA_HOST_FLAGS); do \
2452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2453         done; \
2454         echo "Doing dvi in autoconf" ; \
2455         (cd autoconf && \
2456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2458                   "RANLIB=$${RANLIB}" \
2459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2460                   dvi) \
2461           || exit 1
2462
2463
2464 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2465 maybe-TAGS-autoconf:
2466
2467 TAGS-autoconf: \
2468     configure-autoconf 
2469         @[ -f ./autoconf/Makefile ] || exit 0; \
2470         r=`${PWD_COMMAND}`; export r; \
2471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2472         $(SET_LIB_PATH) \
2473         for flag in $(EXTRA_HOST_FLAGS); do \
2474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2475         done; \
2476         echo "Doing TAGS in autoconf" ; \
2477         (cd autoconf && \
2478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2480                   "RANLIB=$${RANLIB}" \
2481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2482                   TAGS) \
2483           || exit 1
2484
2485
2486 .PHONY: maybe-install-info-autoconf install-info-autoconf
2487 maybe-install-info-autoconf:
2488
2489 install-info-autoconf: \
2490     configure-autoconf \
2491     info-autoconf 
2492         @[ -f ./autoconf/Makefile ] || exit 0; \
2493         r=`${PWD_COMMAND}`; export r; \
2494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2495         $(SET_LIB_PATH) \
2496         for flag in $(EXTRA_HOST_FLAGS); do \
2497           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2498         done; \
2499         echo "Doing install-info in autoconf" ; \
2500         (cd autoconf && \
2501           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2502                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2503                   "RANLIB=$${RANLIB}" \
2504                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2505                   install-info) \
2506           || exit 1
2507
2508
2509 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2510 maybe-installcheck-autoconf:
2511
2512 installcheck-autoconf: \
2513     configure-autoconf 
2514         @[ -f ./autoconf/Makefile ] || exit 0; \
2515         r=`${PWD_COMMAND}`; export r; \
2516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2517         $(SET_LIB_PATH) \
2518         for flag in $(EXTRA_HOST_FLAGS); do \
2519           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2520         done; \
2521         echo "Doing installcheck in autoconf" ; \
2522         (cd autoconf && \
2523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2525                   "RANLIB=$${RANLIB}" \
2526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2527                   installcheck) \
2528           || exit 1
2529
2530
2531 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2532 maybe-mostlyclean-autoconf:
2533
2534 mostlyclean-autoconf: 
2535         @[ -f ./autoconf/Makefile ] || exit 0; \
2536         r=`${PWD_COMMAND}`; export r; \
2537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2538         $(SET_LIB_PATH) \
2539         for flag in $(EXTRA_HOST_FLAGS); do \
2540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2541         done; \
2542         echo "Doing mostlyclean in autoconf" ; \
2543         (cd autoconf && \
2544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2546                   "RANLIB=$${RANLIB}" \
2547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2548                   mostlyclean) \
2549           || exit 1
2550
2551
2552 .PHONY: maybe-clean-autoconf clean-autoconf
2553 maybe-clean-autoconf:
2554
2555 clean-autoconf: 
2556         @[ -f ./autoconf/Makefile ] || exit 0; \
2557         r=`${PWD_COMMAND}`; export r; \
2558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2559         $(SET_LIB_PATH) \
2560         for flag in $(EXTRA_HOST_FLAGS); do \
2561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2562         done; \
2563         echo "Doing clean in autoconf" ; \
2564         (cd autoconf && \
2565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2567                   "RANLIB=$${RANLIB}" \
2568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2569                   clean) \
2570           || exit 1
2571
2572
2573 .PHONY: maybe-distclean-autoconf distclean-autoconf
2574 maybe-distclean-autoconf:
2575
2576 distclean-autoconf: 
2577         @[ -f ./autoconf/Makefile ] || exit 0; \
2578         r=`${PWD_COMMAND}`; export r; \
2579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2580         $(SET_LIB_PATH) \
2581         for flag in $(EXTRA_HOST_FLAGS); do \
2582           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2583         done; \
2584         echo "Doing distclean in autoconf" ; \
2585         (cd autoconf && \
2586           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2587                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2588                   "RANLIB=$${RANLIB}" \
2589                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2590                   distclean) \
2591           || exit 1
2592
2593
2594 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2595 maybe-maintainer-clean-autoconf:
2596
2597 maintainer-clean-autoconf: 
2598         @[ -f ./autoconf/Makefile ] || exit 0; \
2599         r=`${PWD_COMMAND}`; export r; \
2600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601         $(SET_LIB_PATH) \
2602         for flag in $(EXTRA_HOST_FLAGS); do \
2603           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2604         done; \
2605         echo "Doing maintainer-clean in autoconf" ; \
2606         (cd autoconf && \
2607           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2608                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2609                   "RANLIB=$${RANLIB}" \
2610                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2611                   maintainer-clean) \
2612           || exit 1
2613
2614
2615
2616 .PHONY: configure-automake maybe-configure-automake
2617 maybe-configure-automake:
2618 configure-automake:
2619         @test ! -f automake/Makefile || exit 0; \
2620         [ -d automake ] || mkdir automake; \
2621         r=`${PWD_COMMAND}`; export r; \
2622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623         CC="$(CC)"; export CC; \
2624         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2625         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2626         CXX="$(CXX)"; export CXX; \
2627         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2628         AR="$(AR)"; export AR; \
2629         AS="$(AS)"; export AS; \
2630         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2631         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2632         LD="$(LD)"; export LD; \
2633         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2634         NM="$(NM)"; export NM; \
2635         RANLIB="$(RANLIB)"; export RANLIB; \
2636         WINDRES="$(WINDRES)"; export WINDRES; \
2637         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2638         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2639         echo Configuring in automake; \
2640         cd automake || exit 1; \
2641         case $(srcdir) in \
2642           \.) \
2643             srcdiroption="--srcdir=."; \
2644             libsrcdir=".";; \
2645           /* | [A-Za-z]:[\\/]*) \
2646             srcdiroption="--srcdir=$(srcdir)/automake"; \
2647             libsrcdir="$$s/automake";; \
2648           *) \
2649             srcdiroption="--srcdir=../$(srcdir)/automake"; \
2650             libsrcdir="$$s/automake";; \
2651         esac; \
2652         $(SHELL) $${libsrcdir}/configure \
2653           $(HOST_CONFIGARGS) $${srcdiroption} \
2654           || exit 1
2655
2656 .PHONY: all-automake maybe-all-automake
2657 maybe-all-automake:
2658 all-automake: configure-automake
2659         @r=`${PWD_COMMAND}`; export r; \
2660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2661         $(SET_LIB_PATH) \
2662         (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2663
2664 .PHONY: check-automake maybe-check-automake
2665 maybe-check-automake:
2666
2667 check-automake:
2668         @r=`${PWD_COMMAND}`; export r; \
2669         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2670         $(SET_LIB_PATH) \
2671         (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2672
2673
2674 .PHONY: install-automake maybe-install-automake
2675 maybe-install-automake:
2676
2677 install-automake: installdirs
2678         @r=`${PWD_COMMAND}`; export r; \
2679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680         $(SET_LIB_PATH) \
2681         (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2682
2683
2684 # Other targets (info, dvi, etc.)
2685
2686 .PHONY: maybe-info-automake info-automake
2687 maybe-info-automake:
2688
2689 info-automake: \
2690     configure-automake 
2691         @[ -f ./automake/Makefile ] || exit 0; \
2692         r=`${PWD_COMMAND}`; export r; \
2693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2694         $(SET_LIB_PATH) \
2695         for flag in $(EXTRA_HOST_FLAGS); do \
2696           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2697         done; \
2698         echo "Doing info in automake" ; \
2699         (cd automake && \
2700           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2701                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2702                   "RANLIB=$${RANLIB}" \
2703                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2704                   info) \
2705           || exit 1
2706
2707
2708 .PHONY: maybe-dvi-automake dvi-automake
2709 maybe-dvi-automake:
2710
2711 dvi-automake: \
2712     configure-automake 
2713         @[ -f ./automake/Makefile ] || exit 0; \
2714         r=`${PWD_COMMAND}`; export r; \
2715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2716         $(SET_LIB_PATH) \
2717         for flag in $(EXTRA_HOST_FLAGS); do \
2718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2719         done; \
2720         echo "Doing dvi in automake" ; \
2721         (cd automake && \
2722           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2723                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2724                   "RANLIB=$${RANLIB}" \
2725                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2726                   dvi) \
2727           || exit 1
2728
2729
2730 .PHONY: maybe-TAGS-automake TAGS-automake
2731 maybe-TAGS-automake:
2732
2733 TAGS-automake: \
2734     configure-automake 
2735         @[ -f ./automake/Makefile ] || exit 0; \
2736         r=`${PWD_COMMAND}`; export r; \
2737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2738         $(SET_LIB_PATH) \
2739         for flag in $(EXTRA_HOST_FLAGS); do \
2740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2741         done; \
2742         echo "Doing TAGS in automake" ; \
2743         (cd automake && \
2744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2746                   "RANLIB=$${RANLIB}" \
2747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2748                   TAGS) \
2749           || exit 1
2750
2751
2752 .PHONY: maybe-install-info-automake install-info-automake
2753 maybe-install-info-automake:
2754
2755 install-info-automake: \
2756     configure-automake \
2757     info-automake 
2758         @[ -f ./automake/Makefile ] || exit 0; \
2759         r=`${PWD_COMMAND}`; export r; \
2760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761         $(SET_LIB_PATH) \
2762         for flag in $(EXTRA_HOST_FLAGS); do \
2763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764         done; \
2765         echo "Doing install-info in automake" ; \
2766         (cd automake && \
2767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2769                   "RANLIB=$${RANLIB}" \
2770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2771                   install-info) \
2772           || exit 1
2773
2774
2775 .PHONY: maybe-installcheck-automake installcheck-automake
2776 maybe-installcheck-automake:
2777
2778 installcheck-automake: \
2779     configure-automake 
2780         @[ -f ./automake/Makefile ] || exit 0; \
2781         r=`${PWD_COMMAND}`; export r; \
2782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2783         $(SET_LIB_PATH) \
2784         for flag in $(EXTRA_HOST_FLAGS); do \
2785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2786         done; \
2787         echo "Doing installcheck in automake" ; \
2788         (cd automake && \
2789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2791                   "RANLIB=$${RANLIB}" \
2792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2793                   installcheck) \
2794           || exit 1
2795
2796
2797 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2798 maybe-mostlyclean-automake:
2799
2800 mostlyclean-automake: 
2801         @[ -f ./automake/Makefile ] || exit 0; \
2802         r=`${PWD_COMMAND}`; export r; \
2803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804         $(SET_LIB_PATH) \
2805         for flag in $(EXTRA_HOST_FLAGS); do \
2806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2807         done; \
2808         echo "Doing mostlyclean in automake" ; \
2809         (cd automake && \
2810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2812                   "RANLIB=$${RANLIB}" \
2813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2814                   mostlyclean) \
2815           || exit 1
2816
2817
2818 .PHONY: maybe-clean-automake clean-automake
2819 maybe-clean-automake:
2820
2821 clean-automake: 
2822         @[ -f ./automake/Makefile ] || exit 0; \
2823         r=`${PWD_COMMAND}`; export r; \
2824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825         $(SET_LIB_PATH) \
2826         for flag in $(EXTRA_HOST_FLAGS); do \
2827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2828         done; \
2829         echo "Doing clean in automake" ; \
2830         (cd automake && \
2831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2833                   "RANLIB=$${RANLIB}" \
2834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2835                   clean) \
2836           || exit 1
2837
2838
2839 .PHONY: maybe-distclean-automake distclean-automake
2840 maybe-distclean-automake:
2841
2842 distclean-automake: 
2843         @[ -f ./automake/Makefile ] || exit 0; \
2844         r=`${PWD_COMMAND}`; export r; \
2845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846         $(SET_LIB_PATH) \
2847         for flag in $(EXTRA_HOST_FLAGS); do \
2848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2849         done; \
2850         echo "Doing distclean in automake" ; \
2851         (cd automake && \
2852           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2853                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2854                   "RANLIB=$${RANLIB}" \
2855                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2856                   distclean) \
2857           || exit 1
2858
2859
2860 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2861 maybe-maintainer-clean-automake:
2862
2863 maintainer-clean-automake: 
2864         @[ -f ./automake/Makefile ] || exit 0; \
2865         r=`${PWD_COMMAND}`; export r; \
2866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2867         $(SET_LIB_PATH) \
2868         for flag in $(EXTRA_HOST_FLAGS); do \
2869           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2870         done; \
2871         echo "Doing maintainer-clean in automake" ; \
2872         (cd automake && \
2873           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2874                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2875                   "RANLIB=$${RANLIB}" \
2876                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2877                   maintainer-clean) \
2878           || exit 1
2879
2880
2881
2882 .PHONY: configure-bash maybe-configure-bash
2883 maybe-configure-bash:
2884 configure-bash:
2885         @test ! -f bash/Makefile || exit 0; \
2886         [ -d bash ] || mkdir bash; \
2887         r=`${PWD_COMMAND}`; export r; \
2888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2889         CC="$(CC)"; export CC; \
2890         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2891         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2892         CXX="$(CXX)"; export CXX; \
2893         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2894         AR="$(AR)"; export AR; \
2895         AS="$(AS)"; export AS; \
2896         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2897         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2898         LD="$(LD)"; export LD; \
2899         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2900         NM="$(NM)"; export NM; \
2901         RANLIB="$(RANLIB)"; export RANLIB; \
2902         WINDRES="$(WINDRES)"; export WINDRES; \
2903         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2904         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2905         echo Configuring in bash; \
2906         cd bash || exit 1; \
2907         case $(srcdir) in \
2908           \.) \
2909             srcdiroption="--srcdir=."; \
2910             libsrcdir=".";; \
2911           /* | [A-Za-z]:[\\/]*) \
2912             srcdiroption="--srcdir=$(srcdir)/bash"; \
2913             libsrcdir="$$s/bash";; \
2914           *) \
2915             srcdiroption="--srcdir=../$(srcdir)/bash"; \
2916             libsrcdir="$$s/bash";; \
2917         esac; \
2918         $(SHELL) $${libsrcdir}/configure \
2919           $(HOST_CONFIGARGS) $${srcdiroption} \
2920           || exit 1
2921
2922 .PHONY: all-bash maybe-all-bash
2923 maybe-all-bash:
2924 all-bash: configure-bash
2925         @r=`${PWD_COMMAND}`; export r; \
2926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2927         $(SET_LIB_PATH) \
2928         (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
2929
2930 .PHONY: check-bash maybe-check-bash
2931 maybe-check-bash:
2932
2933 check-bash:
2934         @r=`${PWD_COMMAND}`; export r; \
2935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2936         $(SET_LIB_PATH) \
2937         (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
2938
2939
2940 .PHONY: install-bash maybe-install-bash
2941 maybe-install-bash:
2942
2943 install-bash: installdirs
2944         @r=`${PWD_COMMAND}`; export r; \
2945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946         $(SET_LIB_PATH) \
2947         (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
2948
2949
2950 # Other targets (info, dvi, etc.)
2951
2952 .PHONY: maybe-info-bash info-bash
2953 maybe-info-bash:
2954
2955 info-bash: \
2956     configure-bash 
2957         @[ -f ./bash/Makefile ] || exit 0; \
2958         r=`${PWD_COMMAND}`; export r; \
2959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960         $(SET_LIB_PATH) \
2961         for flag in $(EXTRA_HOST_FLAGS); do \
2962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963         done; \
2964         echo "Doing info in bash" ; \
2965         (cd bash && \
2966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968                   "RANLIB=$${RANLIB}" \
2969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970                   info) \
2971           || exit 1
2972
2973
2974 .PHONY: maybe-dvi-bash dvi-bash
2975 maybe-dvi-bash:
2976
2977 dvi-bash: \
2978     configure-bash 
2979         @[ -f ./bash/Makefile ] || exit 0; \
2980         r=`${PWD_COMMAND}`; export r; \
2981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982         $(SET_LIB_PATH) \
2983         for flag in $(EXTRA_HOST_FLAGS); do \
2984           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2985         done; \
2986         echo "Doing dvi in bash" ; \
2987         (cd bash && \
2988           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2989                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2990                   "RANLIB=$${RANLIB}" \
2991                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2992                   dvi) \
2993           || exit 1
2994
2995
2996 .PHONY: maybe-TAGS-bash TAGS-bash
2997 maybe-TAGS-bash:
2998
2999 TAGS-bash: \
3000     configure-bash 
3001         @[ -f ./bash/Makefile ] || exit 0; \
3002         r=`${PWD_COMMAND}`; export r; \
3003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004         $(SET_LIB_PATH) \
3005         for flag in $(EXTRA_HOST_FLAGS); do \
3006           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3007         done; \
3008         echo "Doing TAGS in bash" ; \
3009         (cd bash && \
3010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012                   "RANLIB=$${RANLIB}" \
3013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3014                   TAGS) \
3015           || exit 1
3016
3017
3018 .PHONY: maybe-install-info-bash install-info-bash
3019 maybe-install-info-bash:
3020
3021 install-info-bash: \
3022     configure-bash \
3023     info-bash 
3024         @[ -f ./bash/Makefile ] || exit 0; \
3025         r=`${PWD_COMMAND}`; export r; \
3026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3027         $(SET_LIB_PATH) \
3028         for flag in $(EXTRA_HOST_FLAGS); do \
3029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3030         done; \
3031         echo "Doing install-info in bash" ; \
3032         (cd bash && \
3033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3035                   "RANLIB=$${RANLIB}" \
3036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3037                   install-info) \
3038           || exit 1
3039
3040
3041 .PHONY: maybe-installcheck-bash installcheck-bash
3042 maybe-installcheck-bash:
3043
3044 installcheck-bash: \
3045     configure-bash 
3046         @[ -f ./bash/Makefile ] || exit 0; \
3047         r=`${PWD_COMMAND}`; export r; \
3048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049         $(SET_LIB_PATH) \
3050         for flag in $(EXTRA_HOST_FLAGS); do \
3051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3052         done; \
3053         echo "Doing installcheck in bash" ; \
3054         (cd bash && \
3055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3057                   "RANLIB=$${RANLIB}" \
3058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3059                   installcheck) \
3060           || exit 1
3061
3062
3063 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3064 maybe-mostlyclean-bash:
3065
3066 mostlyclean-bash: 
3067         @[ -f ./bash/Makefile ] || exit 0; \
3068         r=`${PWD_COMMAND}`; export r; \
3069         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3070         $(SET_LIB_PATH) \
3071         for flag in $(EXTRA_HOST_FLAGS); do \
3072           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3073         done; \
3074         echo "Doing mostlyclean in bash" ; \
3075         (cd bash && \
3076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3078                   "RANLIB=$${RANLIB}" \
3079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3080                   mostlyclean) \
3081           || exit 1
3082
3083
3084 .PHONY: maybe-clean-bash clean-bash
3085 maybe-clean-bash:
3086
3087 clean-bash: 
3088         @[ -f ./bash/Makefile ] || exit 0; \
3089         r=`${PWD_COMMAND}`; export r; \
3090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3091         $(SET_LIB_PATH) \
3092         for flag in $(EXTRA_HOST_FLAGS); do \
3093           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3094         done; \
3095         echo "Doing clean in bash" ; \
3096         (cd bash && \
3097           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3098                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3099                   "RANLIB=$${RANLIB}" \
3100                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3101                   clean) \
3102           || exit 1
3103
3104
3105 .PHONY: maybe-distclean-bash distclean-bash
3106 maybe-distclean-bash:
3107
3108 distclean-bash: 
3109         @[ -f ./bash/Makefile ] || exit 0; \
3110         r=`${PWD_COMMAND}`; export r; \
3111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3112         $(SET_LIB_PATH) \
3113         for flag in $(EXTRA_HOST_FLAGS); do \
3114           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3115         done; \
3116         echo "Doing distclean in bash" ; \
3117         (cd bash && \
3118           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3119                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3120                   "RANLIB=$${RANLIB}" \
3121                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3122                   distclean) \
3123           || exit 1
3124
3125
3126 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3127 maybe-maintainer-clean-bash:
3128
3129 maintainer-clean-bash: 
3130         @[ -f ./bash/Makefile ] || exit 0; \
3131         r=`${PWD_COMMAND}`; export r; \
3132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133         $(SET_LIB_PATH) \
3134         for flag in $(EXTRA_HOST_FLAGS); do \
3135           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3136         done; \
3137         echo "Doing maintainer-clean in bash" ; \
3138         (cd bash && \
3139           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3140                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3141                   "RANLIB=$${RANLIB}" \
3142                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3143                   maintainer-clean) \
3144           || exit 1
3145
3146
3147
3148 .PHONY: configure-bfd maybe-configure-bfd
3149 maybe-configure-bfd:
3150 configure-bfd:
3151         @test ! -f bfd/Makefile || exit 0; \
3152         [ -d bfd ] || mkdir bfd; \
3153         r=`${PWD_COMMAND}`; export r; \
3154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3155         CC="$(CC)"; export CC; \
3156         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3157         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3158         CXX="$(CXX)"; export CXX; \
3159         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3160         AR="$(AR)"; export AR; \
3161         AS="$(AS)"; export AS; \
3162         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3163         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3164         LD="$(LD)"; export LD; \
3165         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3166         NM="$(NM)"; export NM; \
3167         RANLIB="$(RANLIB)"; export RANLIB; \
3168         WINDRES="$(WINDRES)"; export WINDRES; \
3169         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3170         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3171         echo Configuring in bfd; \
3172         cd bfd || exit 1; \
3173         case $(srcdir) in \
3174           \.) \
3175             srcdiroption="--srcdir=."; \
3176             libsrcdir=".";; \
3177           /* | [A-Za-z]:[\\/]*) \
3178             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3179             libsrcdir="$$s/bfd";; \
3180           *) \
3181             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3182             libsrcdir="$$s/bfd";; \
3183         esac; \
3184         $(SHELL) $${libsrcdir}/configure \
3185           $(HOST_CONFIGARGS) $${srcdiroption} \
3186           || exit 1
3187
3188 .PHONY: all-bfd maybe-all-bfd
3189 maybe-all-bfd:
3190 all-bfd: configure-bfd
3191         @r=`${PWD_COMMAND}`; export r; \
3192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193         $(SET_LIB_PATH) \
3194         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3195
3196 .PHONY: check-bfd maybe-check-bfd
3197 maybe-check-bfd:
3198
3199 check-bfd:
3200         @r=`${PWD_COMMAND}`; export r; \
3201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3202         $(SET_LIB_PATH) \
3203         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3204
3205
3206 .PHONY: install-bfd maybe-install-bfd
3207 maybe-install-bfd:
3208
3209 install-bfd: installdirs
3210         @r=`${PWD_COMMAND}`; export r; \
3211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212         $(SET_LIB_PATH) \
3213         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3214
3215
3216 # Other targets (info, dvi, etc.)
3217
3218 .PHONY: maybe-info-bfd info-bfd
3219 maybe-info-bfd:
3220
3221 info-bfd: \
3222     configure-bfd 
3223         @[ -f ./bfd/Makefile ] || exit 0; \
3224         r=`${PWD_COMMAND}`; export r; \
3225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3226         $(SET_LIB_PATH) \
3227         for flag in $(EXTRA_HOST_FLAGS); do \
3228           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3229         done; \
3230         echo "Doing info in bfd" ; \
3231         (cd bfd && \
3232           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3233                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3234                   "RANLIB=$${RANLIB}" \
3235                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3236                   info) \
3237           || exit 1
3238
3239
3240 .PHONY: maybe-dvi-bfd dvi-bfd
3241 maybe-dvi-bfd:
3242
3243 dvi-bfd: \
3244     configure-bfd 
3245         @[ -f ./bfd/Makefile ] || exit 0; \
3246         r=`${PWD_COMMAND}`; export r; \
3247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248         $(SET_LIB_PATH) \
3249         for flag in $(EXTRA_HOST_FLAGS); do \
3250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3251         done; \
3252         echo "Doing dvi in bfd" ; \
3253         (cd bfd && \
3254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3256                   "RANLIB=$${RANLIB}" \
3257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3258                   dvi) \
3259           || exit 1
3260
3261
3262 .PHONY: maybe-TAGS-bfd TAGS-bfd
3263 maybe-TAGS-bfd:
3264
3265 TAGS-bfd: \
3266     configure-bfd 
3267         @[ -f ./bfd/Makefile ] || exit 0; \
3268         r=`${PWD_COMMAND}`; export r; \
3269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270         $(SET_LIB_PATH) \
3271         for flag in $(EXTRA_HOST_FLAGS); do \
3272           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3273         done; \
3274         echo "Doing TAGS in bfd" ; \
3275         (cd bfd && \
3276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3278                   "RANLIB=$${RANLIB}" \
3279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3280                   TAGS) \
3281           || exit 1
3282
3283
3284 .PHONY: maybe-install-info-bfd install-info-bfd
3285 maybe-install-info-bfd:
3286
3287 install-info-bfd: \
3288     configure-bfd \
3289     info-bfd 
3290         @[ -f ./bfd/Makefile ] || exit 0; \
3291         r=`${PWD_COMMAND}`; export r; \
3292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293         $(SET_LIB_PATH) \
3294         for flag in $(EXTRA_HOST_FLAGS); do \
3295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3296         done; \
3297         echo "Doing install-info in bfd" ; \
3298         (cd bfd && \
3299           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3300                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3301                   "RANLIB=$${RANLIB}" \
3302                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3303                   install-info) \
3304           || exit 1
3305
3306
3307 .PHONY: maybe-installcheck-bfd installcheck-bfd
3308 maybe-installcheck-bfd:
3309
3310 installcheck-bfd: \
3311     configure-bfd 
3312         @[ -f ./bfd/Makefile ] || exit 0; \
3313         r=`${PWD_COMMAND}`; export r; \
3314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315         $(SET_LIB_PATH) \
3316         for flag in $(EXTRA_HOST_FLAGS); do \
3317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3318         done; \
3319         echo "Doing installcheck in bfd" ; \
3320         (cd bfd && \
3321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3323                   "RANLIB=$${RANLIB}" \
3324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3325                   installcheck) \
3326           || exit 1
3327
3328
3329 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3330 maybe-mostlyclean-bfd:
3331
3332 mostlyclean-bfd: 
3333         @[ -f ./bfd/Makefile ] || exit 0; \
3334         r=`${PWD_COMMAND}`; export r; \
3335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3336         $(SET_LIB_PATH) \
3337         for flag in $(EXTRA_HOST_FLAGS); do \
3338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3339         done; \
3340         echo "Doing mostlyclean in bfd" ; \
3341         (cd bfd && \
3342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3344                   "RANLIB=$${RANLIB}" \
3345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3346                   mostlyclean) \
3347           || exit 1
3348
3349
3350 .PHONY: maybe-clean-bfd clean-bfd
3351 maybe-clean-bfd:
3352
3353 clean-bfd: 
3354         @[ -f ./bfd/Makefile ] || exit 0; \
3355         r=`${PWD_COMMAND}`; export r; \
3356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3357         $(SET_LIB_PATH) \
3358         for flag in $(EXTRA_HOST_FLAGS); do \
3359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3360         done; \
3361         echo "Doing clean in bfd" ; \
3362         (cd bfd && \
3363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3365                   "RANLIB=$${RANLIB}" \
3366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3367                   clean) \
3368           || exit 1
3369
3370
3371 .PHONY: maybe-distclean-bfd distclean-bfd
3372 maybe-distclean-bfd:
3373
3374 distclean-bfd: 
3375         @[ -f ./bfd/Makefile ] || exit 0; \
3376         r=`${PWD_COMMAND}`; export r; \
3377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378         $(SET_LIB_PATH) \
3379         for flag in $(EXTRA_HOST_FLAGS); do \
3380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3381         done; \
3382         echo "Doing distclean in bfd" ; \
3383         (cd bfd && \
3384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3386                   "RANLIB=$${RANLIB}" \
3387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3388                   distclean) \
3389           || exit 1
3390
3391
3392 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3393 maybe-maintainer-clean-bfd:
3394
3395 maintainer-clean-bfd: 
3396         @[ -f ./bfd/Makefile ] || exit 0; \
3397         r=`${PWD_COMMAND}`; export r; \
3398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399         $(SET_LIB_PATH) \
3400         for flag in $(EXTRA_HOST_FLAGS); do \
3401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402         done; \
3403         echo "Doing maintainer-clean in bfd" ; \
3404         (cd bfd && \
3405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407                   "RANLIB=$${RANLIB}" \
3408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409                   maintainer-clean) \
3410           || exit 1
3411
3412
3413
3414 .PHONY: configure-opcodes maybe-configure-opcodes
3415 maybe-configure-opcodes:
3416 configure-opcodes:
3417         @test ! -f opcodes/Makefile || exit 0; \
3418         [ -d opcodes ] || mkdir opcodes; \
3419         r=`${PWD_COMMAND}`; export r; \
3420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421         CC="$(CC)"; export CC; \
3422         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3423         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3424         CXX="$(CXX)"; export CXX; \
3425         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3426         AR="$(AR)"; export AR; \
3427         AS="$(AS)"; export AS; \
3428         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3429         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3430         LD="$(LD)"; export LD; \
3431         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3432         NM="$(NM)"; export NM; \
3433         RANLIB="$(RANLIB)"; export RANLIB; \
3434         WINDRES="$(WINDRES)"; export WINDRES; \
3435         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3436         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3437         echo Configuring in opcodes; \
3438         cd opcodes || exit 1; \
3439         case $(srcdir) in \
3440           \.) \
3441             srcdiroption="--srcdir=."; \
3442             libsrcdir=".";; \
3443           /* | [A-Za-z]:[\\/]*) \
3444             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3445             libsrcdir="$$s/opcodes";; \
3446           *) \
3447             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3448             libsrcdir="$$s/opcodes";; \
3449         esac; \
3450         $(SHELL) $${libsrcdir}/configure \
3451           $(HOST_CONFIGARGS) $${srcdiroption} \
3452           || exit 1
3453
3454 .PHONY: all-opcodes maybe-all-opcodes
3455 maybe-all-opcodes:
3456 all-opcodes: configure-opcodes
3457         @r=`${PWD_COMMAND}`; export r; \
3458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459         $(SET_LIB_PATH) \
3460         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3461
3462 .PHONY: check-opcodes maybe-check-opcodes
3463 maybe-check-opcodes:
3464
3465 check-opcodes:
3466         @r=`${PWD_COMMAND}`; export r; \
3467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3468         $(SET_LIB_PATH) \
3469         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3470
3471
3472 .PHONY: install-opcodes maybe-install-opcodes
3473 maybe-install-opcodes:
3474
3475 install-opcodes: installdirs
3476         @r=`${PWD_COMMAND}`; export r; \
3477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478         $(SET_LIB_PATH) \
3479         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3480
3481
3482 # Other targets (info, dvi, etc.)
3483
3484 .PHONY: maybe-info-opcodes info-opcodes
3485 maybe-info-opcodes:
3486
3487 info-opcodes: \
3488     configure-opcodes 
3489         @[ -f ./opcodes/Makefile ] || exit 0; \
3490         r=`${PWD_COMMAND}`; export r; \
3491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492         $(SET_LIB_PATH) \
3493         for flag in $(EXTRA_HOST_FLAGS); do \
3494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3495         done; \
3496         echo "Doing info in opcodes" ; \
3497         (cd opcodes && \
3498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500                   "RANLIB=$${RANLIB}" \
3501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3502                   info) \
3503           || exit 1
3504
3505
3506 .PHONY: maybe-dvi-opcodes dvi-opcodes
3507 maybe-dvi-opcodes:
3508
3509 dvi-opcodes: \
3510     configure-opcodes 
3511         @[ -f ./opcodes/Makefile ] || exit 0; \
3512         r=`${PWD_COMMAND}`; export r; \
3513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514         $(SET_LIB_PATH) \
3515         for flag in $(EXTRA_HOST_FLAGS); do \
3516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517         done; \
3518         echo "Doing dvi in opcodes" ; \
3519         (cd opcodes && \
3520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522                   "RANLIB=$${RANLIB}" \
3523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3524                   dvi) \
3525           || exit 1
3526
3527
3528 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3529 maybe-TAGS-opcodes:
3530
3531 TAGS-opcodes: \
3532     configure-opcodes 
3533         @[ -f ./opcodes/Makefile ] || exit 0; \
3534         r=`${PWD_COMMAND}`; export r; \
3535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536         $(SET_LIB_PATH) \
3537         for flag in $(EXTRA_HOST_FLAGS); do \
3538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539         done; \
3540         echo "Doing TAGS in opcodes" ; \
3541         (cd opcodes && \
3542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544                   "RANLIB=$${RANLIB}" \
3545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546                   TAGS) \
3547           || exit 1
3548
3549
3550 .PHONY: maybe-install-info-opcodes install-info-opcodes
3551 maybe-install-info-opcodes:
3552
3553 install-info-opcodes: \
3554     configure-opcodes \
3555     info-opcodes 
3556         @[ -f ./opcodes/Makefile ] || exit 0; \
3557         r=`${PWD_COMMAND}`; export r; \
3558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559         $(SET_LIB_PATH) \
3560         for flag in $(EXTRA_HOST_FLAGS); do \
3561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3562         done; \
3563         echo "Doing install-info in opcodes" ; \
3564         (cd opcodes && \
3565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567                   "RANLIB=$${RANLIB}" \
3568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3569                   install-info) \
3570           || exit 1
3571
3572
3573 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3574 maybe-installcheck-opcodes:
3575
3576 installcheck-opcodes: \
3577     configure-opcodes 
3578         @[ -f ./opcodes/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 installcheck in opcodes" ; \
3586         (cd opcodes && \
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                   installcheck) \
3592           || exit 1
3593
3594
3595 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3596 maybe-mostlyclean-opcodes:
3597
3598 mostlyclean-opcodes: 
3599         @[ -f ./opcodes/Makefile ] || exit 0; \
3600         r=`${PWD_COMMAND}`; export r; \
3601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602         $(SET_LIB_PATH) \
3603         for flag in $(EXTRA_HOST_FLAGS); do \
3604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605         done; \
3606         echo "Doing mostlyclean in opcodes" ; \
3607         (cd opcodes && \
3608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610                   "RANLIB=$${RANLIB}" \
3611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612                   mostlyclean) \
3613           || exit 1
3614
3615
3616 .PHONY: maybe-clean-opcodes clean-opcodes
3617 maybe-clean-opcodes:
3618
3619 clean-opcodes: 
3620         @[ -f ./opcodes/Makefile ] || exit 0; \
3621         r=`${PWD_COMMAND}`; export r; \
3622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623         $(SET_LIB_PATH) \
3624         for flag in $(EXTRA_HOST_FLAGS); do \
3625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3626         done; \
3627         echo "Doing clean in opcodes" ; \
3628         (cd opcodes && \
3629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631                   "RANLIB=$${RANLIB}" \
3632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3633                   clean) \
3634           || exit 1
3635
3636
3637 .PHONY: maybe-distclean-opcodes distclean-opcodes
3638 maybe-distclean-opcodes:
3639
3640 distclean-opcodes: 
3641         @[ -f ./opcodes/Makefile ] || exit 0; \
3642         r=`${PWD_COMMAND}`; export r; \
3643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644         $(SET_LIB_PATH) \
3645         for flag in $(EXTRA_HOST_FLAGS); do \
3646           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3647         done; \
3648         echo "Doing distclean in opcodes" ; \
3649         (cd opcodes && \
3650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3652                   "RANLIB=$${RANLIB}" \
3653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3654                   distclean) \
3655           || exit 1
3656
3657
3658 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3659 maybe-maintainer-clean-opcodes:
3660
3661 maintainer-clean-opcodes: 
3662         @[ -f ./opcodes/Makefile ] || exit 0; \
3663         r=`${PWD_COMMAND}`; export r; \
3664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3665         $(SET_LIB_PATH) \
3666         for flag in $(EXTRA_HOST_FLAGS); do \
3667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3668         done; \
3669         echo "Doing maintainer-clean in opcodes" ; \
3670         (cd opcodes && \
3671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3673                   "RANLIB=$${RANLIB}" \
3674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3675                   maintainer-clean) \
3676           || exit 1
3677
3678
3679
3680 .PHONY: configure-binutils maybe-configure-binutils
3681 maybe-configure-binutils:
3682 configure-binutils:
3683         @test ! -f binutils/Makefile || exit 0; \
3684         [ -d binutils ] || mkdir binutils; \
3685         r=`${PWD_COMMAND}`; export r; \
3686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687         CC="$(CC)"; export CC; \
3688         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3689         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3690         CXX="$(CXX)"; export CXX; \
3691         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3692         AR="$(AR)"; export AR; \
3693         AS="$(AS)"; export AS; \
3694         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3695         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3696         LD="$(LD)"; export LD; \
3697         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3698         NM="$(NM)"; export NM; \
3699         RANLIB="$(RANLIB)"; export RANLIB; \
3700         WINDRES="$(WINDRES)"; export WINDRES; \
3701         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3702         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3703         echo Configuring in binutils; \
3704         cd binutils || exit 1; \
3705         case $(srcdir) in \
3706           \.) \
3707             srcdiroption="--srcdir=."; \
3708             libsrcdir=".";; \
3709           /* | [A-Za-z]:[\\/]*) \
3710             srcdiroption="--srcdir=$(srcdir)/binutils"; \
3711             libsrcdir="$$s/binutils";; \
3712           *) \
3713             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3714             libsrcdir="$$s/binutils";; \
3715         esac; \
3716         $(SHELL) $${libsrcdir}/configure \
3717           $(HOST_CONFIGARGS) $${srcdiroption} \
3718           || exit 1
3719
3720 .PHONY: all-binutils maybe-all-binutils
3721 maybe-all-binutils:
3722 all-binutils: configure-binutils
3723         @r=`${PWD_COMMAND}`; export r; \
3724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725         $(SET_LIB_PATH) \
3726         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3727
3728 .PHONY: check-binutils maybe-check-binutils
3729 maybe-check-binutils:
3730
3731 check-binutils:
3732         @r=`${PWD_COMMAND}`; export r; \
3733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3734         $(SET_LIB_PATH) \
3735         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3736
3737
3738 .PHONY: install-binutils maybe-install-binutils
3739 maybe-install-binutils:
3740
3741 install-binutils: installdirs
3742         @r=`${PWD_COMMAND}`; export r; \
3743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3744         $(SET_LIB_PATH) \
3745         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
3746
3747
3748 # Other targets (info, dvi, etc.)
3749
3750 .PHONY: maybe-info-binutils info-binutils
3751 maybe-info-binutils:
3752
3753 info-binutils: \
3754     configure-binutils 
3755         @[ -f ./binutils/Makefile ] || exit 0; \
3756         r=`${PWD_COMMAND}`; export r; \
3757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3758         $(SET_LIB_PATH) \
3759         for flag in $(EXTRA_HOST_FLAGS); do \
3760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3761         done; \
3762         echo "Doing info in binutils" ; \
3763         (cd binutils && \
3764           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3765                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3766                   "RANLIB=$${RANLIB}" \
3767                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3768                   info) \
3769           || exit 1
3770
3771
3772 .PHONY: maybe-dvi-binutils dvi-binutils
3773 maybe-dvi-binutils:
3774
3775 dvi-binutils: \
3776     configure-binutils 
3777         @[ -f ./binutils/Makefile ] || exit 0; \
3778         r=`${PWD_COMMAND}`; export r; \
3779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780         $(SET_LIB_PATH) \
3781         for flag in $(EXTRA_HOST_FLAGS); do \
3782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3783         done; \
3784         echo "Doing dvi in binutils" ; \
3785         (cd binutils && \
3786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3788                   "RANLIB=$${RANLIB}" \
3789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3790                   dvi) \
3791           || exit 1
3792
3793
3794 .PHONY: maybe-TAGS-binutils TAGS-binutils
3795 maybe-TAGS-binutils:
3796
3797 TAGS-binutils: \
3798     configure-binutils 
3799         @[ -f ./binutils/Makefile ] || exit 0; \
3800         r=`${PWD_COMMAND}`; export r; \
3801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802         $(SET_LIB_PATH) \
3803         for flag in $(EXTRA_HOST_FLAGS); do \
3804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805         done; \
3806         echo "Doing TAGS in binutils" ; \
3807         (cd binutils && \
3808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810                   "RANLIB=$${RANLIB}" \
3811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3812                   TAGS) \
3813           || exit 1
3814
3815
3816 .PHONY: maybe-install-info-binutils install-info-binutils
3817 maybe-install-info-binutils:
3818
3819 install-info-binutils: \
3820     configure-binutils \
3821     info-binutils 
3822         @[ -f ./binutils/Makefile ] || exit 0; \
3823         r=`${PWD_COMMAND}`; export r; \
3824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825         $(SET_LIB_PATH) \
3826         for flag in $(EXTRA_HOST_FLAGS); do \
3827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828         done; \
3829         echo "Doing install-info in binutils" ; \
3830         (cd binutils && \
3831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833                   "RANLIB=$${RANLIB}" \
3834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835                   install-info) \
3836           || exit 1
3837
3838
3839 .PHONY: maybe-installcheck-binutils installcheck-binutils
3840 maybe-installcheck-binutils:
3841
3842 installcheck-binutils: \
3843     configure-binutils 
3844         @[ -f ./binutils/Makefile ] || exit 0; \
3845         r=`${PWD_COMMAND}`; export r; \
3846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3847         $(SET_LIB_PATH) \
3848         for flag in $(EXTRA_HOST_FLAGS); do \
3849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3850         done; \
3851         echo "Doing installcheck in binutils" ; \
3852         (cd binutils && \
3853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3855                   "RANLIB=$${RANLIB}" \
3856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3857                   installcheck) \
3858           || exit 1
3859
3860
3861 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
3862 maybe-mostlyclean-binutils:
3863
3864 mostlyclean-binutils: 
3865         @[ -f ./binutils/Makefile ] || exit 0; \
3866         r=`${PWD_COMMAND}`; export r; \
3867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3868         $(SET_LIB_PATH) \
3869         for flag in $(EXTRA_HOST_FLAGS); do \
3870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3871         done; \
3872         echo "Doing mostlyclean in binutils" ; \
3873         (cd binutils && \
3874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3876                   "RANLIB=$${RANLIB}" \
3877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3878                   mostlyclean) \
3879           || exit 1
3880
3881
3882 .PHONY: maybe-clean-binutils clean-binutils
3883 maybe-clean-binutils:
3884
3885 clean-binutils: 
3886         @[ -f ./binutils/Makefile ] || exit 0; \
3887         r=`${PWD_COMMAND}`; export r; \
3888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3889         $(SET_LIB_PATH) \
3890         for flag in $(EXTRA_HOST_FLAGS); do \
3891           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3892         done; \
3893         echo "Doing clean in binutils" ; \
3894         (cd binutils && \
3895           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897                   "RANLIB=$${RANLIB}" \
3898                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3899                   clean) \
3900           || exit 1
3901
3902
3903 .PHONY: maybe-distclean-binutils distclean-binutils
3904 maybe-distclean-binutils:
3905
3906 distclean-binutils: 
3907         @[ -f ./binutils/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 distclean in binutils" ; \
3915         (cd binutils && \
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                   distclean) \
3921           || exit 1
3922
3923
3924 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
3925 maybe-maintainer-clean-binutils:
3926
3927 maintainer-clean-binutils: 
3928         @[ -f ./binutils/Makefile ] || exit 0; \
3929         r=`${PWD_COMMAND}`; export r; \
3930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3931         $(SET_LIB_PATH) \
3932         for flag in $(EXTRA_HOST_FLAGS); do \
3933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934         done; \
3935         echo "Doing maintainer-clean in binutils" ; \
3936         (cd binutils && \
3937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939                   "RANLIB=$${RANLIB}" \
3940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3941                   maintainer-clean) \
3942           || exit 1
3943
3944
3945
3946 .PHONY: configure-bison maybe-configure-bison
3947 maybe-configure-bison:
3948 configure-bison:
3949         @test ! -f bison/Makefile || exit 0; \
3950         [ -d bison ] || mkdir bison; \
3951         r=`${PWD_COMMAND}`; export r; \
3952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953         CC="$(CC)"; export CC; \
3954         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3955         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3956         CXX="$(CXX)"; export CXX; \
3957         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3958         AR="$(AR)"; export AR; \
3959         AS="$(AS)"; export AS; \
3960         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3961         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3962         LD="$(LD)"; export LD; \
3963         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3964         NM="$(NM)"; export NM; \
3965         RANLIB="$(RANLIB)"; export RANLIB; \
3966         WINDRES="$(WINDRES)"; export WINDRES; \
3967         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3968         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3969         echo Configuring in bison; \
3970         cd bison || exit 1; \
3971         case $(srcdir) in \
3972           \.) \
3973             srcdiroption="--srcdir=."; \
3974             libsrcdir=".";; \
3975           /* | [A-Za-z]:[\\/]*) \
3976             srcdiroption="--srcdir=$(srcdir)/bison"; \
3977             libsrcdir="$$s/bison";; \
3978           *) \
3979             srcdiroption="--srcdir=../$(srcdir)/bison"; \
3980             libsrcdir="$$s/bison";; \
3981         esac; \
3982         $(SHELL) $${libsrcdir}/configure \
3983           $(HOST_CONFIGARGS) $${srcdiroption} \
3984           || exit 1
3985
3986 .PHONY: all-bison maybe-all-bison
3987 maybe-all-bison:
3988 all-bison: configure-bison
3989         @r=`${PWD_COMMAND}`; export r; \
3990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3991         $(SET_LIB_PATH) \
3992         (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
3993
3994 .PHONY: check-bison maybe-check-bison
3995 maybe-check-bison:
3996
3997 # This module is only tested in a native toolchain.
3998 check-bison:
3999         @if [ '$(host)' = '$(target)' ] ; then \
4000           r=`${PWD_COMMAND}`; export r; \
4001           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4002           $(SET_LIB_PATH) \
4003           (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4004         fi
4005
4006
4007 .PHONY: install-bison maybe-install-bison
4008 maybe-install-bison:
4009
4010 install-bison: installdirs
4011         @r=`${PWD_COMMAND}`; export r; \
4012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013         $(SET_LIB_PATH) \
4014         (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4015
4016
4017 # Other targets (info, dvi, etc.)
4018
4019 .PHONY: maybe-info-bison info-bison
4020 maybe-info-bison:
4021
4022 info-bison: \
4023     configure-bison 
4024         @[ -f ./bison/Makefile ] || exit 0; \
4025         r=`${PWD_COMMAND}`; export r; \
4026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027         $(SET_LIB_PATH) \
4028         for flag in $(EXTRA_HOST_FLAGS); do \
4029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4030         done; \
4031         echo "Doing info in bison" ; \
4032         (cd bison && \
4033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4035                   "RANLIB=$${RANLIB}" \
4036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4037                   info) \
4038           || exit 1
4039
4040
4041 .PHONY: maybe-dvi-bison dvi-bison
4042 maybe-dvi-bison:
4043
4044 dvi-bison: \
4045     configure-bison 
4046         @[ -f ./bison/Makefile ] || exit 0; \
4047         r=`${PWD_COMMAND}`; export r; \
4048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4049         $(SET_LIB_PATH) \
4050         for flag in $(EXTRA_HOST_FLAGS); do \
4051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4052         done; \
4053         echo "Doing dvi in bison" ; \
4054         (cd bison && \
4055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4057                   "RANLIB=$${RANLIB}" \
4058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4059                   dvi) \
4060           || exit 1
4061
4062
4063 .PHONY: maybe-TAGS-bison TAGS-bison
4064 maybe-TAGS-bison:
4065
4066 TAGS-bison: \
4067     configure-bison 
4068         @[ -f ./bison/Makefile ] || exit 0; \
4069         r=`${PWD_COMMAND}`; export r; \
4070         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071         $(SET_LIB_PATH) \
4072         for flag in $(EXTRA_HOST_FLAGS); do \
4073           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4074         done; \
4075         echo "Doing TAGS in bison" ; \
4076         (cd bison && \
4077           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079                   "RANLIB=$${RANLIB}" \
4080                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4081                   TAGS) \
4082           || exit 1
4083
4084
4085 .PHONY: maybe-install-info-bison install-info-bison
4086 maybe-install-info-bison:
4087
4088 install-info-bison: \
4089     configure-bison \
4090     info-bison 
4091         @[ -f ./bison/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 bison" ; \
4099         (cd bison && \
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
4108 .PHONY: maybe-installcheck-bison installcheck-bison
4109 maybe-installcheck-bison:
4110
4111 installcheck-bison: \
4112     configure-bison 
4113         @[ -f ./bison/Makefile ] || exit 0; \
4114         r=`${PWD_COMMAND}`; export r; \
4115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4116         $(SET_LIB_PATH) \
4117         for flag in $(EXTRA_HOST_FLAGS); do \
4118           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4119         done; \
4120         echo "Doing installcheck in bison" ; \
4121         (cd bison && \
4122           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4123                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4124                   "RANLIB=$${RANLIB}" \
4125                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4126                   installcheck) \
4127           || exit 1
4128
4129
4130 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4131 maybe-mostlyclean-bison:
4132
4133 mostlyclean-bison: 
4134         @[ -f ./bison/Makefile ] || exit 0; \
4135         r=`${PWD_COMMAND}`; export r; \
4136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137         $(SET_LIB_PATH) \
4138         for flag in $(EXTRA_HOST_FLAGS); do \
4139           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4140         done; \
4141         echo "Doing mostlyclean in bison" ; \
4142         (cd bison && \
4143           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4144                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4145                   "RANLIB=$${RANLIB}" \
4146                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4147                   mostlyclean) \
4148           || exit 1
4149
4150
4151 .PHONY: maybe-clean-bison clean-bison
4152 maybe-clean-bison:
4153
4154 clean-bison: 
4155         @[ -f ./bison/Makefile ] || exit 0; \
4156         r=`${PWD_COMMAND}`; export r; \
4157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158         $(SET_LIB_PATH) \
4159         for flag in $(EXTRA_HOST_FLAGS); do \
4160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4161         done; \
4162         echo "Doing clean in bison" ; \
4163         (cd bison && \
4164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4166                   "RANLIB=$${RANLIB}" \
4167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4168                   clean) \
4169           || exit 1
4170
4171
4172 .PHONY: maybe-distclean-bison distclean-bison
4173 maybe-distclean-bison:
4174
4175 distclean-bison: 
4176         @[ -f ./bison/Makefile ] || exit 0; \
4177         r=`${PWD_COMMAND}`; export r; \
4178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4179         $(SET_LIB_PATH) \
4180         for flag in $(EXTRA_HOST_FLAGS); do \
4181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4182         done; \
4183         echo "Doing distclean in bison" ; \
4184         (cd bison && \
4185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4187                   "RANLIB=$${RANLIB}" \
4188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4189                   distclean) \
4190           || exit 1
4191
4192
4193 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4194 maybe-maintainer-clean-bison:
4195
4196 maintainer-clean-bison: 
4197         @[ -f ./bison/Makefile ] || exit 0; \
4198         r=`${PWD_COMMAND}`; export r; \
4199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200         $(SET_LIB_PATH) \
4201         for flag in $(EXTRA_HOST_FLAGS); do \
4202           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4203         done; \
4204         echo "Doing maintainer-clean in bison" ; \
4205         (cd bison && \
4206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4208                   "RANLIB=$${RANLIB}" \
4209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4210                   maintainer-clean) \
4211           || exit 1
4212
4213
4214
4215 .PHONY: configure-byacc maybe-configure-byacc
4216 maybe-configure-byacc:
4217 configure-byacc:
4218         @test ! -f byacc/Makefile || exit 0; \
4219         [ -d byacc ] || mkdir byacc; \
4220         r=`${PWD_COMMAND}`; export r; \
4221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4222         CC="$(CC)"; export CC; \
4223         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4224         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4225         CXX="$(CXX)"; export CXX; \
4226         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4227         AR="$(AR)"; export AR; \
4228         AS="$(AS)"; export AS; \
4229         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4230         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4231         LD="$(LD)"; export LD; \
4232         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4233         NM="$(NM)"; export NM; \
4234         RANLIB="$(RANLIB)"; export RANLIB; \
4235         WINDRES="$(WINDRES)"; export WINDRES; \
4236         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4237         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4238         echo Configuring in byacc; \
4239         cd byacc || exit 1; \
4240         case $(srcdir) in \
4241           \.) \
4242             srcdiroption="--srcdir=."; \
4243             libsrcdir=".";; \
4244           /* | [A-Za-z]:[\\/]*) \
4245             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4246             libsrcdir="$$s/byacc";; \
4247           *) \
4248             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4249             libsrcdir="$$s/byacc";; \
4250         esac; \
4251         $(SHELL) $${libsrcdir}/configure \
4252           $(HOST_CONFIGARGS) $${srcdiroption} \
4253           || exit 1
4254
4255 .PHONY: all-byacc maybe-all-byacc
4256 maybe-all-byacc:
4257 all-byacc: configure-byacc
4258         @r=`${PWD_COMMAND}`; export r; \
4259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260         $(SET_LIB_PATH) \
4261         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4262
4263 .PHONY: check-byacc maybe-check-byacc
4264 maybe-check-byacc:
4265
4266 # This module is only tested in a native toolchain.
4267 check-byacc:
4268         @if [ '$(host)' = '$(target)' ] ; then \
4269           r=`${PWD_COMMAND}`; export r; \
4270           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4271           $(SET_LIB_PATH) \
4272           (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4273         fi
4274
4275
4276 .PHONY: install-byacc maybe-install-byacc
4277 maybe-install-byacc:
4278
4279 install-byacc: installdirs
4280         @r=`${PWD_COMMAND}`; export r; \
4281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282         $(SET_LIB_PATH) \
4283         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4284
4285
4286 # Other targets (info, dvi, etc.)
4287
4288 .PHONY: maybe-info-byacc info-byacc
4289 maybe-info-byacc:
4290
4291 info-byacc: \
4292     configure-byacc 
4293         @[ -f ./byacc/Makefile ] || exit 0; \
4294         r=`${PWD_COMMAND}`; export r; \
4295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4296         $(SET_LIB_PATH) \
4297         for flag in $(EXTRA_HOST_FLAGS); do \
4298           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4299         done; \
4300         echo "Doing info in byacc" ; \
4301         (cd byacc && \
4302           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4303                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4304                   "RANLIB=$${RANLIB}" \
4305                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4306                   info) \
4307           || exit 1
4308
4309
4310 .PHONY: maybe-dvi-byacc dvi-byacc
4311 maybe-dvi-byacc:
4312
4313 dvi-byacc: \
4314     configure-byacc 
4315         @[ -f ./byacc/Makefile ] || exit 0; \
4316         r=`${PWD_COMMAND}`; export r; \
4317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4318         $(SET_LIB_PATH) \
4319         for flag in $(EXTRA_HOST_FLAGS); do \
4320           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4321         done; \
4322         echo "Doing dvi in byacc" ; \
4323         (cd byacc && \
4324           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4325                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4326                   "RANLIB=$${RANLIB}" \
4327                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4328                   dvi) \
4329           || exit 1
4330
4331
4332 .PHONY: maybe-TAGS-byacc TAGS-byacc
4333 maybe-TAGS-byacc:
4334
4335 TAGS-byacc: \
4336     configure-byacc 
4337         @[ -f ./byacc/Makefile ] || exit 0; \
4338         r=`${PWD_COMMAND}`; export r; \
4339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340         $(SET_LIB_PATH) \
4341         for flag in $(EXTRA_HOST_FLAGS); do \
4342           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4343         done; \
4344         echo "Doing TAGS in byacc" ; \
4345         (cd byacc && \
4346           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4347                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4348                   "RANLIB=$${RANLIB}" \
4349                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4350                   TAGS) \
4351           || exit 1
4352
4353
4354 .PHONY: maybe-install-info-byacc install-info-byacc
4355 maybe-install-info-byacc:
4356
4357 install-info-byacc: \
4358     configure-byacc \
4359     info-byacc 
4360         @[ -f ./byacc/Makefile ] || exit 0; \
4361         r=`${PWD_COMMAND}`; export r; \
4362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363         $(SET_LIB_PATH) \
4364         for flag in $(EXTRA_HOST_FLAGS); do \
4365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4366         done; \
4367         echo "Doing install-info in byacc" ; \
4368         (cd byacc && \
4369           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4370                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4371                   "RANLIB=$${RANLIB}" \
4372                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4373                   install-info) \
4374           || exit 1
4375
4376
4377 .PHONY: maybe-installcheck-byacc installcheck-byacc
4378 maybe-installcheck-byacc:
4379
4380 installcheck-byacc: \
4381     configure-byacc 
4382         @[ -f ./byacc/Makefile ] || exit 0; \
4383         r=`${PWD_COMMAND}`; export r; \
4384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4385         $(SET_LIB_PATH) \
4386         for flag in $(EXTRA_HOST_FLAGS); do \
4387           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4388         done; \
4389         echo "Doing installcheck in byacc" ; \
4390         (cd byacc && \
4391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4393                   "RANLIB=$${RANLIB}" \
4394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4395                   installcheck) \
4396           || exit 1
4397
4398
4399 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4400 maybe-mostlyclean-byacc:
4401
4402 mostlyclean-byacc: 
4403         @[ -f ./byacc/Makefile ] || exit 0; \
4404         r=`${PWD_COMMAND}`; export r; \
4405         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406         $(SET_LIB_PATH) \
4407         for flag in $(EXTRA_HOST_FLAGS); do \
4408           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4409         done; \
4410         echo "Doing mostlyclean in byacc" ; \
4411         (cd byacc && \
4412           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414                   "RANLIB=$${RANLIB}" \
4415                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4416                   mostlyclean) \
4417           || exit 1
4418
4419
4420 .PHONY: maybe-clean-byacc clean-byacc
4421 maybe-clean-byacc:
4422
4423 clean-byacc: 
4424         @[ -f ./byacc/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 clean in byacc" ; \
4432         (cd byacc && \
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                   clean) \
4438           || exit 1
4439
4440
4441 .PHONY: maybe-distclean-byacc distclean-byacc
4442 maybe-distclean-byacc:
4443
4444 distclean-byacc: 
4445         @[ -f ./byacc/Makefile ] || exit 0; \
4446         r=`${PWD_COMMAND}`; export r; \
4447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4448         $(SET_LIB_PATH) \
4449         for flag in $(EXTRA_HOST_FLAGS); do \
4450           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4451         done; \
4452         echo "Doing distclean in byacc" ; \
4453         (cd byacc && \
4454           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4455                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4456                   "RANLIB=$${RANLIB}" \
4457                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4458                   distclean) \
4459           || exit 1
4460
4461
4462 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4463 maybe-maintainer-clean-byacc:
4464
4465 maintainer-clean-byacc: 
4466         @[ -f ./byacc/Makefile ] || exit 0; \
4467         r=`${PWD_COMMAND}`; export r; \
4468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4469         $(SET_LIB_PATH) \
4470         for flag in $(EXTRA_HOST_FLAGS); do \
4471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472         done; \
4473         echo "Doing maintainer-clean in byacc" ; \
4474         (cd byacc && \
4475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4477                   "RANLIB=$${RANLIB}" \
4478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4479                   maintainer-clean) \
4480           || exit 1
4481
4482
4483
4484 .PHONY: configure-bzip2 maybe-configure-bzip2
4485 maybe-configure-bzip2:
4486 configure-bzip2:
4487         @test ! -f bzip2/Makefile || exit 0; \
4488         [ -d bzip2 ] || mkdir bzip2; \
4489         r=`${PWD_COMMAND}`; export r; \
4490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491         CC="$(CC)"; export CC; \
4492         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4493         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4494         CXX="$(CXX)"; export CXX; \
4495         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4496         AR="$(AR)"; export AR; \
4497         AS="$(AS)"; export AS; \
4498         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4499         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4500         LD="$(LD)"; export LD; \
4501         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4502         NM="$(NM)"; export NM; \
4503         RANLIB="$(RANLIB)"; export RANLIB; \
4504         WINDRES="$(WINDRES)"; export WINDRES; \
4505         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4506         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4507         echo Configuring in bzip2; \
4508         cd bzip2 || exit 1; \
4509         case $(srcdir) in \
4510           \.) \
4511             srcdiroption="--srcdir=."; \
4512             libsrcdir=".";; \
4513           /* | [A-Za-z]:[\\/]*) \
4514             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4515             libsrcdir="$$s/bzip2";; \
4516           *) \
4517             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4518             libsrcdir="$$s/bzip2";; \
4519         esac; \
4520         $(SHELL) $${libsrcdir}/configure \
4521           $(HOST_CONFIGARGS) $${srcdiroption} \
4522           || exit 1
4523
4524 .PHONY: all-bzip2 maybe-all-bzip2
4525 maybe-all-bzip2:
4526 all-bzip2: configure-bzip2
4527         @r=`${PWD_COMMAND}`; export r; \
4528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4529         $(SET_LIB_PATH) \
4530         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4531
4532 .PHONY: check-bzip2 maybe-check-bzip2
4533 maybe-check-bzip2:
4534
4535 check-bzip2:
4536         @r=`${PWD_COMMAND}`; export r; \
4537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538         $(SET_LIB_PATH) \
4539         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4540
4541
4542 .PHONY: install-bzip2 maybe-install-bzip2
4543 maybe-install-bzip2:
4544
4545 install-bzip2: installdirs
4546         @r=`${PWD_COMMAND}`; export r; \
4547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548         $(SET_LIB_PATH) \
4549         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4550
4551
4552 # Other targets (info, dvi, etc.)
4553
4554 .PHONY: maybe-info-bzip2 info-bzip2
4555 maybe-info-bzip2:
4556
4557 info-bzip2: \
4558     configure-bzip2 
4559         @[ -f ./bzip2/Makefile ] || exit 0; \
4560         r=`${PWD_COMMAND}`; export r; \
4561         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562         $(SET_LIB_PATH) \
4563         for flag in $(EXTRA_HOST_FLAGS); do \
4564           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4565         done; \
4566         echo "Doing info in bzip2" ; \
4567         (cd bzip2 && \
4568           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4569                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4570                   "RANLIB=$${RANLIB}" \
4571                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4572                   info) \
4573           || exit 1
4574
4575
4576 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4577 maybe-dvi-bzip2:
4578
4579 dvi-bzip2: \
4580     configure-bzip2 
4581         @[ -f ./bzip2/Makefile ] || exit 0; \
4582         r=`${PWD_COMMAND}`; export r; \
4583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4584         $(SET_LIB_PATH) \
4585         for flag in $(EXTRA_HOST_FLAGS); do \
4586           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4587         done; \
4588         echo "Doing dvi in bzip2" ; \
4589         (cd bzip2 && \
4590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4592                   "RANLIB=$${RANLIB}" \
4593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4594                   dvi) \
4595           || exit 1
4596
4597
4598 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4599 maybe-TAGS-bzip2:
4600
4601 TAGS-bzip2: \
4602     configure-bzip2 
4603         @[ -f ./bzip2/Makefile ] || exit 0; \
4604         r=`${PWD_COMMAND}`; export r; \
4605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4606         $(SET_LIB_PATH) \
4607         for flag in $(EXTRA_HOST_FLAGS); do \
4608           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4609         done; \
4610         echo "Doing TAGS in bzip2" ; \
4611         (cd bzip2 && \
4612           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4613                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4614                   "RANLIB=$${RANLIB}" \
4615                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4616                   TAGS) \
4617           || exit 1
4618
4619
4620 .PHONY: maybe-install-info-bzip2 install-info-bzip2
4621 maybe-install-info-bzip2:
4622
4623 install-info-bzip2: \
4624     configure-bzip2 \
4625     info-bzip2 
4626         @[ -f ./bzip2/Makefile ] || exit 0; \
4627         r=`${PWD_COMMAND}`; export r; \
4628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629         $(SET_LIB_PATH) \
4630         for flag in $(EXTRA_HOST_FLAGS); do \
4631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4632         done; \
4633         echo "Doing install-info in bzip2" ; \
4634         (cd bzip2 && \
4635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4637                   "RANLIB=$${RANLIB}" \
4638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4639                   install-info) \
4640           || exit 1
4641
4642
4643 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
4644 maybe-installcheck-bzip2:
4645
4646 installcheck-bzip2: \
4647     configure-bzip2 
4648         @[ -f ./bzip2/Makefile ] || exit 0; \
4649         r=`${PWD_COMMAND}`; export r; \
4650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4651         $(SET_LIB_PATH) \
4652         for flag in $(EXTRA_HOST_FLAGS); do \
4653           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4654         done; \
4655         echo "Doing installcheck in bzip2" ; \
4656         (cd bzip2 && \
4657           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4658                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4659                   "RANLIB=$${RANLIB}" \
4660                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4661                   installcheck) \
4662           || exit 1
4663
4664
4665 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
4666 maybe-mostlyclean-bzip2:
4667
4668 mostlyclean-bzip2: 
4669         @[ -f ./bzip2/Makefile ] || exit 0; \
4670         r=`${PWD_COMMAND}`; export r; \
4671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672         $(SET_LIB_PATH) \
4673         for flag in $(EXTRA_HOST_FLAGS); do \
4674           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4675         done; \
4676         echo "Doing mostlyclean in bzip2" ; \
4677         (cd bzip2 && \
4678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4680                   "RANLIB=$${RANLIB}" \
4681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4682                   mostlyclean) \
4683           || exit 1
4684
4685
4686 .PHONY: maybe-clean-bzip2 clean-bzip2
4687 maybe-clean-bzip2:
4688
4689 clean-bzip2: 
4690         @[ -f ./bzip2/Makefile ] || exit 0; \
4691         r=`${PWD_COMMAND}`; export r; \
4692         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4693         $(SET_LIB_PATH) \
4694         for flag in $(EXTRA_HOST_FLAGS); do \
4695           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4696         done; \
4697         echo "Doing clean in bzip2" ; \
4698         (cd bzip2 && \
4699           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4700                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4701                   "RANLIB=$${RANLIB}" \
4702                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4703                   clean) \
4704           || exit 1
4705
4706
4707 .PHONY: maybe-distclean-bzip2 distclean-bzip2
4708 maybe-distclean-bzip2:
4709
4710 distclean-bzip2: 
4711         @[ -f ./bzip2/Makefile ] || exit 0; \
4712         r=`${PWD_COMMAND}`; export r; \
4713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714         $(SET_LIB_PATH) \
4715         for flag in $(EXTRA_HOST_FLAGS); do \
4716           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4717         done; \
4718         echo "Doing distclean in bzip2" ; \
4719         (cd bzip2 && \
4720           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4721                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4722                   "RANLIB=$${RANLIB}" \
4723                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4724                   distclean) \
4725           || exit 1
4726
4727
4728 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
4729 maybe-maintainer-clean-bzip2:
4730
4731 maintainer-clean-bzip2: 
4732         @[ -f ./bzip2/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 maintainer-clean in bzip2" ; \
4740         (cd bzip2 && \
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                   maintainer-clean) \
4746           || exit 1
4747
4748
4749
4750 .PHONY: configure-dejagnu maybe-configure-dejagnu
4751 maybe-configure-dejagnu:
4752 configure-dejagnu:
4753         @test ! -f dejagnu/Makefile || exit 0; \
4754         [ -d dejagnu ] || mkdir dejagnu; \
4755         r=`${PWD_COMMAND}`; export r; \
4756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4757         CC="$(CC)"; export CC; \
4758         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4759         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4760         CXX="$(CXX)"; export CXX; \
4761         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4762         AR="$(AR)"; export AR; \
4763         AS="$(AS)"; export AS; \
4764         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4765         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4766         LD="$(LD)"; export LD; \
4767         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4768         NM="$(NM)"; export NM; \
4769         RANLIB="$(RANLIB)"; export RANLIB; \
4770         WINDRES="$(WINDRES)"; export WINDRES; \
4771         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4772         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4773         echo Configuring in dejagnu; \
4774         cd dejagnu || exit 1; \
4775         case $(srcdir) in \
4776           \.) \
4777             srcdiroption="--srcdir=."; \
4778             libsrcdir=".";; \
4779           /* | [A-Za-z]:[\\/]*) \
4780             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
4781             libsrcdir="$$s/dejagnu";; \
4782           *) \
4783             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
4784             libsrcdir="$$s/dejagnu";; \
4785         esac; \
4786         $(SHELL) $${libsrcdir}/configure \
4787           $(HOST_CONFIGARGS) $${srcdiroption} \
4788           || exit 1
4789
4790 .PHONY: all-dejagnu maybe-all-dejagnu
4791 maybe-all-dejagnu:
4792 all-dejagnu: configure-dejagnu
4793         @r=`${PWD_COMMAND}`; export r; \
4794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4795         $(SET_LIB_PATH) \
4796         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4797
4798 .PHONY: check-dejagnu maybe-check-dejagnu
4799 maybe-check-dejagnu:
4800
4801 check-dejagnu:
4802         @r=`${PWD_COMMAND}`; export r; \
4803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4804         $(SET_LIB_PATH) \
4805         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4806
4807
4808 .PHONY: install-dejagnu maybe-install-dejagnu
4809 maybe-install-dejagnu:
4810
4811 install-dejagnu: installdirs
4812         @r=`${PWD_COMMAND}`; export r; \
4813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4814         $(SET_LIB_PATH) \
4815         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4816
4817
4818 # Other targets (info, dvi, etc.)
4819
4820 .PHONY: maybe-info-dejagnu info-dejagnu
4821 maybe-info-dejagnu:
4822
4823 info-dejagnu: \
4824     configure-dejagnu 
4825         @[ -f ./dejagnu/Makefile ] || exit 0; \
4826         r=`${PWD_COMMAND}`; export r; \
4827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4828         $(SET_LIB_PATH) \
4829         for flag in $(EXTRA_HOST_FLAGS); do \
4830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4831         done; \
4832         echo "Doing info in dejagnu" ; \
4833         (cd dejagnu && \
4834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4836                   "RANLIB=$${RANLIB}" \
4837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4838                   info) \
4839           || exit 1
4840
4841
4842 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
4843 maybe-dvi-dejagnu:
4844
4845 dvi-dejagnu: \
4846     configure-dejagnu 
4847         @[ -f ./dejagnu/Makefile ] || exit 0; \
4848         r=`${PWD_COMMAND}`; export r; \
4849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850         $(SET_LIB_PATH) \
4851         for flag in $(EXTRA_HOST_FLAGS); do \
4852           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4853         done; \
4854         echo "Doing dvi in dejagnu" ; \
4855         (cd dejagnu && \
4856           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4857                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4858                   "RANLIB=$${RANLIB}" \
4859                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4860                   dvi) \
4861           || exit 1
4862
4863
4864 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4865 maybe-TAGS-dejagnu:
4866
4867 TAGS-dejagnu: \
4868     configure-dejagnu 
4869         @[ -f ./dejagnu/Makefile ] || exit 0; \
4870         r=`${PWD_COMMAND}`; export r; \
4871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4872         $(SET_LIB_PATH) \
4873         for flag in $(EXTRA_HOST_FLAGS); do \
4874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4875         done; \
4876         echo "Doing TAGS in dejagnu" ; \
4877         (cd dejagnu && \
4878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4880                   "RANLIB=$${RANLIB}" \
4881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4882                   TAGS) \
4883           || exit 1
4884
4885
4886 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
4887 maybe-install-info-dejagnu:
4888
4889 install-info-dejagnu: \
4890     configure-dejagnu \
4891     info-dejagnu 
4892         @[ -f ./dejagnu/Makefile ] || exit 0; \
4893         r=`${PWD_COMMAND}`; export r; \
4894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4895         $(SET_LIB_PATH) \
4896         for flag in $(EXTRA_HOST_FLAGS); do \
4897           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4898         done; \
4899         echo "Doing install-info in dejagnu" ; \
4900         (cd dejagnu && \
4901           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4902                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4903                   "RANLIB=$${RANLIB}" \
4904                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4905                   install-info) \
4906           || exit 1
4907
4908
4909 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
4910 maybe-installcheck-dejagnu:
4911
4912 installcheck-dejagnu: \
4913     configure-dejagnu 
4914         @[ -f ./dejagnu/Makefile ] || exit 0; \
4915         r=`${PWD_COMMAND}`; export r; \
4916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4917         $(SET_LIB_PATH) \
4918         for flag in $(EXTRA_HOST_FLAGS); do \
4919           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4920         done; \
4921         echo "Doing installcheck in dejagnu" ; \
4922         (cd dejagnu && \
4923           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4924                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4925                   "RANLIB=$${RANLIB}" \
4926                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4927                   installcheck) \
4928           || exit 1
4929
4930
4931 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
4932 maybe-mostlyclean-dejagnu:
4933
4934 mostlyclean-dejagnu: 
4935         @[ -f ./dejagnu/Makefile ] || exit 0; \
4936         r=`${PWD_COMMAND}`; export r; \
4937         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4938         $(SET_LIB_PATH) \
4939         for flag in $(EXTRA_HOST_FLAGS); do \
4940           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4941         done; \
4942         echo "Doing mostlyclean in dejagnu" ; \
4943         (cd dejagnu && \
4944           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4945                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4946                   "RANLIB=$${RANLIB}" \
4947                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4948                   mostlyclean) \
4949           || exit 1
4950
4951
4952 .PHONY: maybe-clean-dejagnu clean-dejagnu
4953 maybe-clean-dejagnu:
4954
4955 clean-dejagnu: 
4956         @[ -f ./dejagnu/Makefile ] || exit 0; \
4957         r=`${PWD_COMMAND}`; export r; \
4958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959         $(SET_LIB_PATH) \
4960         for flag in $(EXTRA_HOST_FLAGS); do \
4961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4962         done; \
4963         echo "Doing clean in dejagnu" ; \
4964         (cd dejagnu && \
4965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4967                   "RANLIB=$${RANLIB}" \
4968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4969                   clean) \
4970           || exit 1
4971
4972
4973 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
4974 maybe-distclean-dejagnu:
4975
4976 distclean-dejagnu: 
4977         @[ -f ./dejagnu/Makefile ] || exit 0; \
4978         r=`${PWD_COMMAND}`; export r; \
4979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4980         $(SET_LIB_PATH) \
4981         for flag in $(EXTRA_HOST_FLAGS); do \
4982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4983         done; \
4984         echo "Doing distclean in dejagnu" ; \
4985         (cd dejagnu && \
4986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4988                   "RANLIB=$${RANLIB}" \
4989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4990                   distclean) \
4991           || exit 1
4992
4993
4994 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
4995 maybe-maintainer-clean-dejagnu:
4996
4997 maintainer-clean-dejagnu: 
4998         @[ -f ./dejagnu/Makefile ] || exit 0; \
4999         r=`${PWD_COMMAND}`; export r; \
5000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001         $(SET_LIB_PATH) \
5002         for flag in $(EXTRA_HOST_FLAGS); do \
5003           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5004         done; \
5005         echo "Doing maintainer-clean in dejagnu" ; \
5006         (cd dejagnu && \
5007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5009                   "RANLIB=$${RANLIB}" \
5010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5011                   maintainer-clean) \
5012           || exit 1
5013
5014
5015
5016 .PHONY: configure-diff maybe-configure-diff
5017 maybe-configure-diff:
5018 configure-diff:
5019         @test ! -f diff/Makefile || exit 0; \
5020         [ -d diff ] || mkdir diff; \
5021         r=`${PWD_COMMAND}`; export r; \
5022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023         CC="$(CC)"; export CC; \
5024         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5025         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5026         CXX="$(CXX)"; export CXX; \
5027         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5028         AR="$(AR)"; export AR; \
5029         AS="$(AS)"; export AS; \
5030         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5031         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5032         LD="$(LD)"; export LD; \
5033         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5034         NM="$(NM)"; export NM; \
5035         RANLIB="$(RANLIB)"; export RANLIB; \
5036         WINDRES="$(WINDRES)"; export WINDRES; \
5037         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5038         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5039         echo Configuring in diff; \
5040         cd diff || exit 1; \
5041         case $(srcdir) in \
5042           \.) \
5043             srcdiroption="--srcdir=."; \
5044             libsrcdir=".";; \
5045           /* | [A-Za-z]:[\\/]*) \
5046             srcdiroption="--srcdir=$(srcdir)/diff"; \
5047             libsrcdir="$$s/diff";; \
5048           *) \
5049             srcdiroption="--srcdir=../$(srcdir)/diff"; \
5050             libsrcdir="$$s/diff";; \
5051         esac; \
5052         $(SHELL) $${libsrcdir}/configure \
5053           $(HOST_CONFIGARGS) $${srcdiroption} \
5054           || exit 1
5055
5056 .PHONY: all-diff maybe-all-diff
5057 maybe-all-diff:
5058 all-diff: configure-diff
5059         @r=`${PWD_COMMAND}`; export r; \
5060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5061         $(SET_LIB_PATH) \
5062         (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5063
5064 .PHONY: check-diff maybe-check-diff
5065 maybe-check-diff:
5066
5067 check-diff:
5068         @r=`${PWD_COMMAND}`; export r; \
5069         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5070         $(SET_LIB_PATH) \
5071         (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5072
5073
5074 .PHONY: install-diff maybe-install-diff
5075 maybe-install-diff:
5076
5077 install-diff: installdirs
5078         @r=`${PWD_COMMAND}`; export r; \
5079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080         $(SET_LIB_PATH) \
5081         (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5082
5083
5084 # Other targets (info, dvi, etc.)
5085
5086 .PHONY: maybe-info-diff info-diff
5087 maybe-info-diff:
5088
5089 info-diff: \
5090     configure-diff 
5091         @[ -f ./diff/Makefile ] || exit 0; \
5092         r=`${PWD_COMMAND}`; export r; \
5093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5094         $(SET_LIB_PATH) \
5095         for flag in $(EXTRA_HOST_FLAGS); do \
5096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5097         done; \
5098         echo "Doing info in diff" ; \
5099         (cd diff && \
5100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102                   "RANLIB=$${RANLIB}" \
5103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5104                   info) \
5105           || exit 1
5106
5107
5108 .PHONY: maybe-dvi-diff dvi-diff
5109 maybe-dvi-diff:
5110
5111 dvi-diff: \
5112     configure-diff 
5113         @[ -f ./diff/Makefile ] || exit 0; \
5114         r=`${PWD_COMMAND}`; export r; \
5115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5116         $(SET_LIB_PATH) \
5117         for flag in $(EXTRA_HOST_FLAGS); do \
5118           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5119         done; \
5120         echo "Doing dvi in diff" ; \
5121         (cd diff && \
5122           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5123                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5124                   "RANLIB=$${RANLIB}" \
5125                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5126                   dvi) \
5127           || exit 1
5128
5129
5130 .PHONY: maybe-TAGS-diff TAGS-diff
5131 maybe-TAGS-diff:
5132
5133 TAGS-diff: \
5134     configure-diff 
5135         @[ -f ./diff/Makefile ] || exit 0; \
5136         r=`${PWD_COMMAND}`; export r; \
5137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5138         $(SET_LIB_PATH) \
5139         for flag in $(EXTRA_HOST_FLAGS); do \
5140           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5141         done; \
5142         echo "Doing TAGS in diff" ; \
5143         (cd diff && \
5144           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5145                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5146                   "RANLIB=$${RANLIB}" \
5147                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5148                   TAGS) \
5149           || exit 1
5150
5151
5152 .PHONY: maybe-install-info-diff install-info-diff
5153 maybe-install-info-diff:
5154
5155 install-info-diff: \
5156     configure-diff \
5157     info-diff 
5158         @[ -f ./diff/Makefile ] || exit 0; \
5159         r=`${PWD_COMMAND}`; export r; \
5160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5161         $(SET_LIB_PATH) \
5162         for flag in $(EXTRA_HOST_FLAGS); do \
5163           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5164         done; \
5165         echo "Doing install-info in diff" ; \
5166         (cd diff && \
5167           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169                   "RANLIB=$${RANLIB}" \
5170                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5171                   install-info) \
5172           || exit 1
5173
5174
5175 .PHONY: maybe-installcheck-diff installcheck-diff
5176 maybe-installcheck-diff:
5177
5178 installcheck-diff: \
5179     configure-diff 
5180         @[ -f ./diff/Makefile ] || exit 0; \
5181         r=`${PWD_COMMAND}`; export r; \
5182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183         $(SET_LIB_PATH) \
5184         for flag in $(EXTRA_HOST_FLAGS); do \
5185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5186         done; \
5187         echo "Doing installcheck in diff" ; \
5188         (cd diff && \
5189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191                   "RANLIB=$${RANLIB}" \
5192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5193                   installcheck) \
5194           || exit 1
5195
5196
5197 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5198 maybe-mostlyclean-diff:
5199
5200 mostlyclean-diff: 
5201         @[ -f ./diff/Makefile ] || exit 0; \
5202         r=`${PWD_COMMAND}`; export r; \
5203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5204         $(SET_LIB_PATH) \
5205         for flag in $(EXTRA_HOST_FLAGS); do \
5206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5207         done; \
5208         echo "Doing mostlyclean in diff" ; \
5209         (cd diff && \
5210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5212                   "RANLIB=$${RANLIB}" \
5213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5214                   mostlyclean) \
5215           || exit 1
5216
5217
5218 .PHONY: maybe-clean-diff clean-diff
5219 maybe-clean-diff:
5220
5221 clean-diff: 
5222         @[ -f ./diff/Makefile ] || exit 0; \
5223         r=`${PWD_COMMAND}`; export r; \
5224         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5225         $(SET_LIB_PATH) \
5226         for flag in $(EXTRA_HOST_FLAGS); do \
5227           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228         done; \
5229         echo "Doing clean in diff" ; \
5230         (cd diff && \
5231           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233                   "RANLIB=$${RANLIB}" \
5234                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5235                   clean) \
5236           || exit 1
5237
5238
5239 .PHONY: maybe-distclean-diff distclean-diff
5240 maybe-distclean-diff:
5241
5242 distclean-diff: 
5243         @[ -f ./diff/Makefile ] || exit 0; \
5244         r=`${PWD_COMMAND}`; export r; \
5245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246         $(SET_LIB_PATH) \
5247         for flag in $(EXTRA_HOST_FLAGS); do \
5248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5249         done; \
5250         echo "Doing distclean in diff" ; \
5251         (cd diff && \
5252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5254                   "RANLIB=$${RANLIB}" \
5255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5256                   distclean) \
5257           || exit 1
5258
5259
5260 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5261 maybe-maintainer-clean-diff:
5262
5263 maintainer-clean-diff: 
5264         @[ -f ./diff/Makefile ] || exit 0; \
5265         r=`${PWD_COMMAND}`; export r; \
5266         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5267         $(SET_LIB_PATH) \
5268         for flag in $(EXTRA_HOST_FLAGS); do \
5269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5270         done; \
5271         echo "Doing maintainer-clean in diff" ; \
5272         (cd diff && \
5273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5275                   "RANLIB=$${RANLIB}" \
5276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5277                   maintainer-clean) \
5278           || exit 1
5279
5280
5281
5282 .PHONY: configure-dosutils maybe-configure-dosutils
5283 maybe-configure-dosutils:
5284 configure-dosutils:
5285         @test ! -f dosutils/Makefile || exit 0; \
5286         [ -d dosutils ] || mkdir dosutils; \
5287         r=`${PWD_COMMAND}`; export r; \
5288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289         CC="$(CC)"; export CC; \
5290         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5291         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5292         CXX="$(CXX)"; export CXX; \
5293         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5294         AR="$(AR)"; export AR; \
5295         AS="$(AS)"; export AS; \
5296         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5297         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5298         LD="$(LD)"; export LD; \
5299         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5300         NM="$(NM)"; export NM; \
5301         RANLIB="$(RANLIB)"; export RANLIB; \
5302         WINDRES="$(WINDRES)"; export WINDRES; \
5303         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5304         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5305         echo Configuring in dosutils; \
5306         cd dosutils || exit 1; \
5307         case $(srcdir) in \
5308           \.) \
5309             srcdiroption="--srcdir=."; \
5310             libsrcdir=".";; \
5311           /* | [A-Za-z]:[\\/]*) \
5312             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5313             libsrcdir="$$s/dosutils";; \
5314           *) \
5315             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5316             libsrcdir="$$s/dosutils";; \
5317         esac; \
5318         $(SHELL) $${libsrcdir}/configure \
5319           $(HOST_CONFIGARGS) $${srcdiroption} \
5320           || exit 1
5321
5322 .PHONY: all-dosutils maybe-all-dosutils
5323 maybe-all-dosutils:
5324 all-dosutils: configure-dosutils
5325         @r=`${PWD_COMMAND}`; export r; \
5326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327         $(SET_LIB_PATH) \
5328         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5329
5330 .PHONY: check-dosutils maybe-check-dosutils
5331 maybe-check-dosutils:
5332
5333 check-dosutils:
5334
5335
5336 .PHONY: install-dosutils maybe-install-dosutils
5337 maybe-install-dosutils:
5338
5339 install-dosutils: installdirs
5340         @r=`${PWD_COMMAND}`; export r; \
5341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342         $(SET_LIB_PATH) \
5343         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5344
5345
5346 # Other targets (info, dvi, etc.)
5347
5348 .PHONY: maybe-info-dosutils info-dosutils
5349 maybe-info-dosutils:
5350
5351 info-dosutils: \
5352     configure-dosutils 
5353         @[ -f ./dosutils/Makefile ] || exit 0; \
5354         r=`${PWD_COMMAND}`; export r; \
5355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356         $(SET_LIB_PATH) \
5357         for flag in $(EXTRA_HOST_FLAGS); do \
5358           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5359         done; \
5360         echo "Doing info in dosutils" ; \
5361         (cd dosutils && \
5362           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5363                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5364                   "RANLIB=$${RANLIB}" \
5365                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5366                   info) \
5367           || exit 1
5368
5369
5370 .PHONY: maybe-dvi-dosutils dvi-dosutils
5371 maybe-dvi-dosutils:
5372
5373 dvi-dosutils: \
5374     configure-dosutils 
5375         @[ -f ./dosutils/Makefile ] || exit 0; \
5376         r=`${PWD_COMMAND}`; export r; \
5377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378         $(SET_LIB_PATH) \
5379         for flag in $(EXTRA_HOST_FLAGS); do \
5380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381         done; \
5382         echo "Doing dvi in dosutils" ; \
5383         (cd dosutils && \
5384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386                   "RANLIB=$${RANLIB}" \
5387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5388                   dvi) \
5389           || exit 1
5390
5391
5392 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5393 maybe-TAGS-dosutils:
5394
5395 TAGS-dosutils: \
5396     configure-dosutils 
5397         @[ -f ./dosutils/Makefile ] || exit 0; \
5398         r=`${PWD_COMMAND}`; export r; \
5399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400         $(SET_LIB_PATH) \
5401         for flag in $(EXTRA_HOST_FLAGS); do \
5402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5403         done; \
5404         echo "Doing TAGS in dosutils" ; \
5405         (cd dosutils && \
5406           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408                   "RANLIB=$${RANLIB}" \
5409                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5410                   TAGS) \
5411           || exit 1
5412
5413
5414 .PHONY: maybe-install-info-dosutils install-info-dosutils
5415 maybe-install-info-dosutils:
5416
5417 install-info-dosutils: \
5418     configure-dosutils \
5419     info-dosutils 
5420         @[ -f ./dosutils/Makefile ] || exit 0; \
5421         r=`${PWD_COMMAND}`; export r; \
5422         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5423         $(SET_LIB_PATH) \
5424         for flag in $(EXTRA_HOST_FLAGS); do \
5425           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5426         done; \
5427         echo "Doing install-info in dosutils" ; \
5428         (cd dosutils && \
5429           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5430                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5431                   "RANLIB=$${RANLIB}" \
5432                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5433                   install-info) \
5434           || exit 1
5435
5436
5437 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5438 maybe-installcheck-dosutils:
5439
5440 installcheck-dosutils: \
5441     configure-dosutils 
5442         @[ -f ./dosutils/Makefile ] || exit 0; \
5443         r=`${PWD_COMMAND}`; export r; \
5444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445         $(SET_LIB_PATH) \
5446         for flag in $(EXTRA_HOST_FLAGS); do \
5447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448         done; \
5449         echo "Doing installcheck in dosutils" ; \
5450         (cd dosutils && \
5451           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453                   "RANLIB=$${RANLIB}" \
5454                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5455                   installcheck) \
5456           || exit 1
5457
5458
5459 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5460 maybe-mostlyclean-dosutils:
5461
5462 mostlyclean-dosutils: 
5463         @[ -f ./dosutils/Makefile ] || exit 0; \
5464         r=`${PWD_COMMAND}`; export r; \
5465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466         $(SET_LIB_PATH) \
5467         for flag in $(EXTRA_HOST_FLAGS); do \
5468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5469         done; \
5470         echo "Doing mostlyclean in dosutils" ; \
5471         (cd dosutils && \
5472           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5473                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5474                   "RANLIB=$${RANLIB}" \
5475                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5476                   mostlyclean) \
5477           || exit 1
5478
5479
5480 .PHONY: maybe-clean-dosutils clean-dosutils
5481 maybe-clean-dosutils:
5482
5483 clean-dosutils: 
5484         @[ -f ./dosutils/Makefile ] || exit 0; \
5485         r=`${PWD_COMMAND}`; export r; \
5486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5487         $(SET_LIB_PATH) \
5488         for flag in $(EXTRA_HOST_FLAGS); do \
5489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5490         done; \
5491         echo "Doing clean in dosutils" ; \
5492         (cd dosutils && \
5493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5495                   "RANLIB=$${RANLIB}" \
5496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5497                   clean) \
5498           || exit 1
5499
5500
5501 .PHONY: maybe-distclean-dosutils distclean-dosutils
5502 maybe-distclean-dosutils:
5503
5504 distclean-dosutils: 
5505         @[ -f ./dosutils/Makefile ] || exit 0; \
5506         r=`${PWD_COMMAND}`; export r; \
5507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5508         $(SET_LIB_PATH) \
5509         for flag in $(EXTRA_HOST_FLAGS); do \
5510           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5511         done; \
5512         echo "Doing distclean in dosutils" ; \
5513         (cd dosutils && \
5514           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5515                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5516                   "RANLIB=$${RANLIB}" \
5517                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5518                   distclean) \
5519           || exit 1
5520
5521
5522 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
5523 maybe-maintainer-clean-dosutils:
5524
5525 maintainer-clean-dosutils: 
5526         @[ -f ./dosutils/Makefile ] || exit 0; \
5527         r=`${PWD_COMMAND}`; export r; \
5528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529         $(SET_LIB_PATH) \
5530         for flag in $(EXTRA_HOST_FLAGS); do \
5531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5532         done; \
5533         echo "Doing maintainer-clean in dosutils" ; \
5534         (cd dosutils && \
5535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5537                   "RANLIB=$${RANLIB}" \
5538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5539                   maintainer-clean) \
5540           || exit 1
5541
5542
5543
5544 .PHONY: configure-etc maybe-configure-etc
5545 maybe-configure-etc:
5546 configure-etc:
5547         @test ! -f etc/Makefile || exit 0; \
5548         [ -d etc ] || mkdir etc; \
5549         r=`${PWD_COMMAND}`; export r; \
5550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5551         CC="$(CC)"; export CC; \
5552         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5553         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5554         CXX="$(CXX)"; export CXX; \
5555         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5556         AR="$(AR)"; export AR; \
5557         AS="$(AS)"; export AS; \
5558         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5559         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5560         LD="$(LD)"; export LD; \
5561         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5562         NM="$(NM)"; export NM; \
5563         RANLIB="$(RANLIB)"; export RANLIB; \
5564         WINDRES="$(WINDRES)"; export WINDRES; \
5565         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5566         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5567         echo Configuring in etc; \
5568         cd etc || exit 1; \
5569         case $(srcdir) in \
5570           \.) \
5571             srcdiroption="--srcdir=."; \
5572             libsrcdir=".";; \
5573           /* | [A-Za-z]:[\\/]*) \
5574             srcdiroption="--srcdir=$(srcdir)/etc"; \
5575             libsrcdir="$$s/etc";; \
5576           *) \
5577             srcdiroption="--srcdir=../$(srcdir)/etc"; \
5578             libsrcdir="$$s/etc";; \
5579         esac; \
5580         $(SHELL) $${libsrcdir}/configure \
5581           $(HOST_CONFIGARGS) $${srcdiroption} \
5582           || exit 1
5583
5584 .PHONY: all-etc maybe-all-etc
5585 maybe-all-etc:
5586 all-etc: configure-etc
5587         @r=`${PWD_COMMAND}`; export r; \
5588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5589         $(SET_LIB_PATH) \
5590         (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
5591
5592 .PHONY: check-etc maybe-check-etc
5593 maybe-check-etc:
5594
5595 check-etc:
5596         @r=`${PWD_COMMAND}`; export r; \
5597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5598         $(SET_LIB_PATH) \
5599         (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
5600
5601
5602 .PHONY: install-etc maybe-install-etc
5603 maybe-install-etc:
5604
5605 install-etc: installdirs
5606         @r=`${PWD_COMMAND}`; export r; \
5607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5608         $(SET_LIB_PATH) \
5609         (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
5610
5611
5612 # Other targets (info, dvi, etc.)
5613
5614 .PHONY: maybe-info-etc info-etc
5615 maybe-info-etc:
5616
5617 info-etc: \
5618     configure-etc 
5619         @[ -f ./etc/Makefile ] || exit 0; \
5620         r=`${PWD_COMMAND}`; export r; \
5621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5622         $(SET_LIB_PATH) \
5623         for flag in $(EXTRA_HOST_FLAGS); do \
5624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5625         done; \
5626         echo "Doing info in etc" ; \
5627         (cd etc && \
5628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5630                   "RANLIB=$${RANLIB}" \
5631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5632                   info) \
5633           || exit 1
5634
5635
5636 .PHONY: maybe-dvi-etc dvi-etc
5637 maybe-dvi-etc:
5638
5639 dvi-etc: \
5640     configure-etc 
5641         @[ -f ./etc/Makefile ] || exit 0; \
5642         r=`${PWD_COMMAND}`; export r; \
5643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644         $(SET_LIB_PATH) \
5645         for flag in $(EXTRA_HOST_FLAGS); do \
5646           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5647         done; \
5648         echo "Doing dvi in etc" ; \
5649         (cd etc && \
5650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5652                   "RANLIB=$${RANLIB}" \
5653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5654                   dvi) \
5655           || exit 1
5656
5657
5658 .PHONY: maybe-TAGS-etc TAGS-etc
5659 maybe-TAGS-etc:
5660
5661 TAGS-etc: \
5662     configure-etc 
5663         @[ -f ./etc/Makefile ] || exit 0; \
5664         r=`${PWD_COMMAND}`; export r; \
5665         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5666         $(SET_LIB_PATH) \
5667         for flag in $(EXTRA_HOST_FLAGS); do \
5668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5669         done; \
5670         echo "Doing TAGS in etc" ; \
5671         (cd etc && \
5672           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5673                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5674                   "RANLIB=$${RANLIB}" \
5675                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5676                   TAGS) \
5677           || exit 1
5678
5679
5680 .PHONY: maybe-install-info-etc install-info-etc
5681 maybe-install-info-etc:
5682
5683 install-info-etc: \
5684     configure-etc \
5685     info-etc 
5686         @[ -f ./etc/Makefile ] || exit 0; \
5687         r=`${PWD_COMMAND}`; export r; \
5688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689         $(SET_LIB_PATH) \
5690         for flag in $(EXTRA_HOST_FLAGS); do \
5691           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692         done; \
5693         echo "Doing install-info in etc" ; \
5694         (cd etc && \
5695           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697                   "RANLIB=$${RANLIB}" \
5698                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699                   install-info) \
5700           || exit 1
5701
5702
5703 .PHONY: maybe-installcheck-etc installcheck-etc
5704 maybe-installcheck-etc:
5705
5706 installcheck-etc: \
5707     configure-etc 
5708         @[ -f ./etc/Makefile ] || exit 0; \
5709         r=`${PWD_COMMAND}`; export r; \
5710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711         $(SET_LIB_PATH) \
5712         for flag in $(EXTRA_HOST_FLAGS); do \
5713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714         done; \
5715         echo "Doing installcheck in etc" ; \
5716         (cd etc && \
5717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719                   "RANLIB=$${RANLIB}" \
5720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5721                   installcheck) \
5722           || exit 1
5723
5724
5725 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
5726 maybe-mostlyclean-etc:
5727
5728 mostlyclean-etc: 
5729         @[ -f ./etc/Makefile ] || exit 0; \
5730         r=`${PWD_COMMAND}`; export r; \
5731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5732         $(SET_LIB_PATH) \
5733         for flag in $(EXTRA_HOST_FLAGS); do \
5734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5735         done; \
5736         echo "Doing mostlyclean in etc" ; \
5737         (cd etc && \
5738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740                   "RANLIB=$${RANLIB}" \
5741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5742                   mostlyclean) \
5743           || exit 1
5744
5745
5746 .PHONY: maybe-clean-etc clean-etc
5747 maybe-clean-etc:
5748
5749 clean-etc: 
5750         @[ -f ./etc/Makefile ] || exit 0; \
5751         r=`${PWD_COMMAND}`; export r; \
5752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753         $(SET_LIB_PATH) \
5754         for flag in $(EXTRA_HOST_FLAGS); do \
5755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756         done; \
5757         echo "Doing clean in etc" ; \
5758         (cd etc && \
5759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761                   "RANLIB=$${RANLIB}" \
5762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5763                   clean) \
5764           || exit 1
5765
5766
5767 .PHONY: maybe-distclean-etc distclean-etc
5768 maybe-distclean-etc:
5769
5770 distclean-etc: 
5771         @[ -f ./etc/Makefile ] || exit 0; \
5772         r=`${PWD_COMMAND}`; export r; \
5773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774         $(SET_LIB_PATH) \
5775         for flag in $(EXTRA_HOST_FLAGS); do \
5776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777         done; \
5778         echo "Doing distclean in etc" ; \
5779         (cd etc && \
5780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782                   "RANLIB=$${RANLIB}" \
5783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5784                   distclean) \
5785           || exit 1
5786
5787
5788 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
5789 maybe-maintainer-clean-etc:
5790
5791 maintainer-clean-etc: 
5792         @[ -f ./etc/Makefile ] || exit 0; \
5793         r=`${PWD_COMMAND}`; export r; \
5794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5795         $(SET_LIB_PATH) \
5796         for flag in $(EXTRA_HOST_FLAGS); do \
5797           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5798         done; \
5799         echo "Doing maintainer-clean in etc" ; \
5800         (cd etc && \
5801           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5802                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5803                   "RANLIB=$${RANLIB}" \
5804                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5805                   maintainer-clean) \
5806           || exit 1
5807
5808
5809
5810 .PHONY: configure-fastjar maybe-configure-fastjar
5811 maybe-configure-fastjar:
5812 configure-fastjar:
5813         @test ! -f fastjar/Makefile || exit 0; \
5814         [ -d fastjar ] || mkdir fastjar; \
5815         r=`${PWD_COMMAND}`; export r; \
5816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817         CC="$(CC)"; export CC; \
5818         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5819         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5820         CXX="$(CXX)"; export CXX; \
5821         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5822         AR="$(AR)"; export AR; \
5823         AS="$(AS)"; export AS; \
5824         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5825         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5826         LD="$(LD)"; export LD; \
5827         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5828         NM="$(NM)"; export NM; \
5829         RANLIB="$(RANLIB)"; export RANLIB; \
5830         WINDRES="$(WINDRES)"; export WINDRES; \
5831         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5832         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5833         echo Configuring in fastjar; \
5834         cd fastjar || exit 1; \
5835         case $(srcdir) in \
5836           \.) \
5837             srcdiroption="--srcdir=."; \
5838             libsrcdir=".";; \
5839           /* | [A-Za-z]:[\\/]*) \
5840             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
5841             libsrcdir="$$s/fastjar";; \
5842           *) \
5843             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
5844             libsrcdir="$$s/fastjar";; \
5845         esac; \
5846         $(SHELL) $${libsrcdir}/configure \
5847           $(HOST_CONFIGARGS) $${srcdiroption} \
5848           || exit 1
5849
5850 .PHONY: all-fastjar maybe-all-fastjar
5851 maybe-all-fastjar:
5852 all-fastjar: configure-fastjar
5853         @r=`${PWD_COMMAND}`; export r; \
5854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855         $(SET_LIB_PATH) \
5856         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
5857
5858 .PHONY: check-fastjar maybe-check-fastjar
5859 maybe-check-fastjar:
5860
5861 # This module is only tested in a native toolchain.
5862 check-fastjar:
5863         @if [ '$(host)' = '$(target)' ] ; then \
5864           r=`${PWD_COMMAND}`; export r; \
5865           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5866           $(SET_LIB_PATH) \
5867           (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
5868         fi
5869
5870
5871 .PHONY: install-fastjar maybe-install-fastjar
5872 maybe-install-fastjar:
5873
5874 install-fastjar: installdirs
5875         @r=`${PWD_COMMAND}`; export r; \
5876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877         $(SET_LIB_PATH) \
5878         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
5879
5880
5881 # Other targets (info, dvi, etc.)
5882
5883 .PHONY: maybe-info-fastjar info-fastjar
5884 maybe-info-fastjar:
5885
5886 info-fastjar: \
5887     configure-fastjar 
5888         @[ -f ./fastjar/Makefile ] || exit 0; \
5889         r=`${PWD_COMMAND}`; export r; \
5890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5891         $(SET_LIB_PATH) \
5892         for flag in $(EXTRA_HOST_FLAGS); do \
5893           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5894         done; \
5895         echo "Doing info in fastjar" ; \
5896         (cd fastjar && \
5897           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5898                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5899                   "RANLIB=$${RANLIB}" \
5900                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5901                   info) \
5902           || exit 1
5903
5904
5905 .PHONY: maybe-dvi-fastjar dvi-fastjar
5906 maybe-dvi-fastjar:
5907
5908 dvi-fastjar: \
5909     configure-fastjar 
5910         @[ -f ./fastjar/Makefile ] || exit 0; \
5911         r=`${PWD_COMMAND}`; export r; \
5912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913         $(SET_LIB_PATH) \
5914         for flag in $(EXTRA_HOST_FLAGS); do \
5915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916         done; \
5917         echo "Doing dvi in fastjar" ; \
5918         (cd fastjar && \
5919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921                   "RANLIB=$${RANLIB}" \
5922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5923                   dvi) \
5924           || exit 1
5925
5926
5927 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
5928 maybe-TAGS-fastjar:
5929
5930 TAGS-fastjar: \
5931     configure-fastjar 
5932         @[ -f ./fastjar/Makefile ] || exit 0; \
5933         r=`${PWD_COMMAND}`; export r; \
5934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935         $(SET_LIB_PATH) \
5936         for flag in $(EXTRA_HOST_FLAGS); do \
5937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5938         done; \
5939         echo "Doing TAGS in fastjar" ; \
5940         (cd fastjar && \
5941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5943                   "RANLIB=$${RANLIB}" \
5944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5945                   TAGS) \
5946           || exit 1
5947
5948
5949 .PHONY: maybe-install-info-fastjar install-info-fastjar
5950 maybe-install-info-fastjar:
5951
5952 install-info-fastjar: \
5953     configure-fastjar \
5954     info-fastjar 
5955         @[ -f ./fastjar/Makefile ] || exit 0; \
5956         r=`${PWD_COMMAND}`; export r; \
5957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958         $(SET_LIB_PATH) \
5959         for flag in $(EXTRA_HOST_FLAGS); do \
5960           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961         done; \
5962         echo "Doing install-info in fastjar" ; \
5963         (cd fastjar && \
5964           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966                   "RANLIB=$${RANLIB}" \
5967                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5968                   install-info) \
5969           || exit 1
5970
5971
5972 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
5973 maybe-installcheck-fastjar:
5974
5975 installcheck-fastjar: \
5976     configure-fastjar 
5977         @[ -f ./fastjar/Makefile ] || exit 0; \
5978         r=`${PWD_COMMAND}`; export r; \
5979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5980         $(SET_LIB_PATH) \
5981         for flag in $(EXTRA_HOST_FLAGS); do \
5982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5983         done; \
5984         echo "Doing installcheck in fastjar" ; \
5985         (cd fastjar && \
5986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988                   "RANLIB=$${RANLIB}" \
5989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990                   installcheck) \
5991           || exit 1
5992
5993
5994 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
5995 maybe-mostlyclean-fastjar:
5996
5997 mostlyclean-fastjar: 
5998         @[ -f ./fastjar/Makefile ] || exit 0; \
5999         r=`${PWD_COMMAND}`; export r; \
6000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001         $(SET_LIB_PATH) \
6002         for flag in $(EXTRA_HOST_FLAGS); do \
6003           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6004         done; \
6005         echo "Doing mostlyclean in fastjar" ; \
6006         (cd fastjar && \
6007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6009                   "RANLIB=$${RANLIB}" \
6010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6011                   mostlyclean) \
6012           || exit 1
6013
6014
6015 .PHONY: maybe-clean-fastjar clean-fastjar
6016 maybe-clean-fastjar:
6017
6018 clean-fastjar: 
6019         @[ -f ./fastjar/Makefile ] || exit 0; \
6020         r=`${PWD_COMMAND}`; export r; \
6021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6022         $(SET_LIB_PATH) \
6023         for flag in $(EXTRA_HOST_FLAGS); do \
6024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6025         done; \
6026         echo "Doing clean in fastjar" ; \
6027         (cd fastjar && \
6028           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030                   "RANLIB=$${RANLIB}" \
6031                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6032                   clean) \
6033           || exit 1
6034
6035
6036 .PHONY: maybe-distclean-fastjar distclean-fastjar
6037 maybe-distclean-fastjar:
6038
6039 distclean-fastjar: 
6040         @[ -f ./fastjar/Makefile ] || exit 0; \
6041         r=`${PWD_COMMAND}`; export r; \
6042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043         $(SET_LIB_PATH) \
6044         for flag in $(EXTRA_HOST_FLAGS); do \
6045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6046         done; \
6047         echo "Doing distclean in fastjar" ; \
6048         (cd fastjar && \
6049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6051                   "RANLIB=$${RANLIB}" \
6052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6053                   distclean) \
6054           || exit 1
6055
6056
6057 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6058 maybe-maintainer-clean-fastjar:
6059
6060 maintainer-clean-fastjar: 
6061         @[ -f ./fastjar/Makefile ] || exit 0; \
6062         r=`${PWD_COMMAND}`; export r; \
6063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6064         $(SET_LIB_PATH) \
6065         for flag in $(EXTRA_HOST_FLAGS); do \
6066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6067         done; \
6068         echo "Doing maintainer-clean in fastjar" ; \
6069         (cd fastjar && \
6070           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6071                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6072                   "RANLIB=$${RANLIB}" \
6073                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6074                   maintainer-clean) \
6075           || exit 1
6076
6077
6078
6079 .PHONY: configure-fileutils maybe-configure-fileutils
6080 maybe-configure-fileutils:
6081 configure-fileutils:
6082         @test ! -f fileutils/Makefile || exit 0; \
6083         [ -d fileutils ] || mkdir fileutils; \
6084         r=`${PWD_COMMAND}`; export r; \
6085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086         CC="$(CC)"; export CC; \
6087         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6088         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6089         CXX="$(CXX)"; export CXX; \
6090         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6091         AR="$(AR)"; export AR; \
6092         AS="$(AS)"; export AS; \
6093         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6094         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6095         LD="$(LD)"; export LD; \
6096         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6097         NM="$(NM)"; export NM; \
6098         RANLIB="$(RANLIB)"; export RANLIB; \
6099         WINDRES="$(WINDRES)"; export WINDRES; \
6100         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6101         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6102         echo Configuring in fileutils; \
6103         cd fileutils || exit 1; \
6104         case $(srcdir) in \
6105           \.) \
6106             srcdiroption="--srcdir=."; \
6107             libsrcdir=".";; \
6108           /* | [A-Za-z]:[\\/]*) \
6109             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6110             libsrcdir="$$s/fileutils";; \
6111           *) \
6112             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6113             libsrcdir="$$s/fileutils";; \
6114         esac; \
6115         $(SHELL) $${libsrcdir}/configure \
6116           $(HOST_CONFIGARGS) $${srcdiroption} \
6117           || exit 1
6118
6119 .PHONY: all-fileutils maybe-all-fileutils
6120 maybe-all-fileutils:
6121 all-fileutils: configure-fileutils
6122         @r=`${PWD_COMMAND}`; export r; \
6123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124         $(SET_LIB_PATH) \
6125         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6126
6127 .PHONY: check-fileutils maybe-check-fileutils
6128 maybe-check-fileutils:
6129
6130 check-fileutils:
6131         @r=`${PWD_COMMAND}`; export r; \
6132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133         $(SET_LIB_PATH) \
6134         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6135
6136
6137 .PHONY: install-fileutils maybe-install-fileutils
6138 maybe-install-fileutils:
6139
6140 install-fileutils: installdirs
6141         @r=`${PWD_COMMAND}`; export r; \
6142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143         $(SET_LIB_PATH) \
6144         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6145
6146
6147 # Other targets (info, dvi, etc.)
6148
6149 .PHONY: maybe-info-fileutils info-fileutils
6150 maybe-info-fileutils:
6151
6152 info-fileutils: \
6153     configure-fileutils 
6154         @[ -f ./fileutils/Makefile ] || exit 0; \
6155         r=`${PWD_COMMAND}`; export r; \
6156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6157         $(SET_LIB_PATH) \
6158         for flag in $(EXTRA_HOST_FLAGS); do \
6159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6160         done; \
6161         echo "Doing info in fileutils" ; \
6162         (cd fileutils && \
6163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165                   "RANLIB=$${RANLIB}" \
6166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6167                   info) \
6168           || exit 1
6169
6170
6171 .PHONY: maybe-dvi-fileutils dvi-fileutils
6172 maybe-dvi-fileutils:
6173
6174 dvi-fileutils: \
6175     configure-fileutils 
6176         @[ -f ./fileutils/Makefile ] || exit 0; \
6177         r=`${PWD_COMMAND}`; export r; \
6178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6179         $(SET_LIB_PATH) \
6180         for flag in $(EXTRA_HOST_FLAGS); do \
6181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6182         done; \
6183         echo "Doing dvi in fileutils" ; \
6184         (cd fileutils && \
6185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187                   "RANLIB=$${RANLIB}" \
6188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189                   dvi) \
6190           || exit 1
6191
6192
6193 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6194 maybe-TAGS-fileutils:
6195
6196 TAGS-fileutils: \
6197     configure-fileutils 
6198         @[ -f ./fileutils/Makefile ] || exit 0; \
6199         r=`${PWD_COMMAND}`; export r; \
6200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201         $(SET_LIB_PATH) \
6202         for flag in $(EXTRA_HOST_FLAGS); do \
6203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204         done; \
6205         echo "Doing TAGS in fileutils" ; \
6206         (cd fileutils && \
6207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209                   "RANLIB=$${RANLIB}" \
6210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211                   TAGS) \
6212           || exit 1
6213
6214
6215 .PHONY: maybe-install-info-fileutils install-info-fileutils
6216 maybe-install-info-fileutils:
6217
6218 install-info-fileutils: \
6219     configure-fileutils \
6220     info-fileutils 
6221         @[ -f ./fileutils/Makefile ] || exit 0; \
6222         r=`${PWD_COMMAND}`; export r; \
6223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6224         $(SET_LIB_PATH) \
6225         for flag in $(EXTRA_HOST_FLAGS); do \
6226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6227         done; \
6228         echo "Doing install-info in fileutils" ; \
6229         (cd fileutils && \
6230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6232                   "RANLIB=$${RANLIB}" \
6233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6234                   install-info) \
6235           || exit 1
6236
6237
6238 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6239 maybe-installcheck-fileutils:
6240
6241 installcheck-fileutils: \
6242     configure-fileutils 
6243         @[ -f ./fileutils/Makefile ] || exit 0; \
6244         r=`${PWD_COMMAND}`; export r; \
6245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246         $(SET_LIB_PATH) \
6247         for flag in $(EXTRA_HOST_FLAGS); do \
6248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6249         done; \
6250         echo "Doing installcheck in fileutils" ; \
6251         (cd fileutils && \
6252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254                   "RANLIB=$${RANLIB}" \
6255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6256                   installcheck) \
6257           || exit 1
6258
6259
6260 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6261 maybe-mostlyclean-fileutils:
6262
6263 mostlyclean-fileutils: 
6264         @[ -f ./fileutils/Makefile ] || exit 0; \
6265         r=`${PWD_COMMAND}`; export r; \
6266         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6267         $(SET_LIB_PATH) \
6268         for flag in $(EXTRA_HOST_FLAGS); do \
6269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6270         done; \
6271         echo "Doing mostlyclean in fileutils" ; \
6272         (cd fileutils && \
6273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6275                   "RANLIB=$${RANLIB}" \
6276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6277                   mostlyclean) \
6278           || exit 1
6279
6280
6281 .PHONY: maybe-clean-fileutils clean-fileutils
6282 maybe-clean-fileutils:
6283
6284 clean-fileutils: 
6285         @[ -f ./fileutils/Makefile ] || exit 0; \
6286         r=`${PWD_COMMAND}`; export r; \
6287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6288         $(SET_LIB_PATH) \
6289         for flag in $(EXTRA_HOST_FLAGS); do \
6290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6291         done; \
6292         echo "Doing clean in fileutils" ; \
6293         (cd fileutils && \
6294           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296                   "RANLIB=$${RANLIB}" \
6297                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6298                   clean) \
6299           || exit 1
6300
6301
6302 .PHONY: maybe-distclean-fileutils distclean-fileutils
6303 maybe-distclean-fileutils:
6304
6305 distclean-fileutils: 
6306         @[ -f ./fileutils/Makefile ] || exit 0; \
6307         r=`${PWD_COMMAND}`; export r; \
6308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6309         $(SET_LIB_PATH) \
6310         for flag in $(EXTRA_HOST_FLAGS); do \
6311           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312         done; \
6313         echo "Doing distclean in fileutils" ; \
6314         (cd fileutils && \
6315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317                   "RANLIB=$${RANLIB}" \
6318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6319                   distclean) \
6320           || exit 1
6321
6322
6323 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6324 maybe-maintainer-clean-fileutils:
6325
6326 maintainer-clean-fileutils: 
6327         @[ -f ./fileutils/Makefile ] || exit 0; \
6328         r=`${PWD_COMMAND}`; export r; \
6329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330         $(SET_LIB_PATH) \
6331         for flag in $(EXTRA_HOST_FLAGS); do \
6332           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333         done; \
6334         echo "Doing maintainer-clean in fileutils" ; \
6335         (cd fileutils && \
6336           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338                   "RANLIB=$${RANLIB}" \
6339                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6340                   maintainer-clean) \
6341           || exit 1
6342
6343
6344
6345 .PHONY: configure-findutils maybe-configure-findutils
6346 maybe-configure-findutils:
6347 configure-findutils:
6348         @test ! -f findutils/Makefile || exit 0; \
6349         [ -d findutils ] || mkdir findutils; \
6350         r=`${PWD_COMMAND}`; export r; \
6351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352         CC="$(CC)"; export CC; \
6353         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6354         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6355         CXX="$(CXX)"; export CXX; \
6356         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6357         AR="$(AR)"; export AR; \
6358         AS="$(AS)"; export AS; \
6359         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6360         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6361         LD="$(LD)"; export LD; \
6362         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6363         NM="$(NM)"; export NM; \
6364         RANLIB="$(RANLIB)"; export RANLIB; \
6365         WINDRES="$(WINDRES)"; export WINDRES; \
6366         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6367         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6368         echo Configuring in findutils; \
6369         cd findutils || exit 1; \
6370         case $(srcdir) in \
6371           \.) \
6372             srcdiroption="--srcdir=."; \
6373             libsrcdir=".";; \
6374           /* | [A-Za-z]:[\\/]*) \
6375             srcdiroption="--srcdir=$(srcdir)/findutils"; \
6376             libsrcdir="$$s/findutils";; \
6377           *) \
6378             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
6379             libsrcdir="$$s/findutils";; \
6380         esac; \
6381         $(SHELL) $${libsrcdir}/configure \
6382           $(HOST_CONFIGARGS) $${srcdiroption} \
6383           || exit 1
6384
6385 .PHONY: all-findutils maybe-all-findutils
6386 maybe-all-findutils:
6387 all-findutils: configure-findutils
6388         @r=`${PWD_COMMAND}`; export r; \
6389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6390         $(SET_LIB_PATH) \
6391         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
6392
6393 .PHONY: check-findutils maybe-check-findutils
6394 maybe-check-findutils:
6395
6396 check-findutils:
6397         @r=`${PWD_COMMAND}`; export r; \
6398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399         $(SET_LIB_PATH) \
6400         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
6401
6402
6403 .PHONY: install-findutils maybe-install-findutils
6404 maybe-install-findutils:
6405
6406 install-findutils: installdirs
6407         @r=`${PWD_COMMAND}`; export r; \
6408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409         $(SET_LIB_PATH) \
6410         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
6411
6412
6413 # Other targets (info, dvi, etc.)
6414
6415 .PHONY: maybe-info-findutils info-findutils
6416 maybe-info-findutils:
6417
6418 info-findutils: \
6419     configure-findutils 
6420         @[ -f ./findutils/Makefile ] || exit 0; \
6421         r=`${PWD_COMMAND}`; export r; \
6422         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423         $(SET_LIB_PATH) \
6424         for flag in $(EXTRA_HOST_FLAGS); do \
6425           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6426         done; \
6427         echo "Doing info in findutils" ; \
6428         (cd findutils && \
6429           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6430                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6431                   "RANLIB=$${RANLIB}" \
6432                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6433                   info) \
6434           || exit 1
6435
6436
6437 .PHONY: maybe-dvi-findutils dvi-findutils
6438 maybe-dvi-findutils:
6439
6440 dvi-findutils: \
6441     configure-findutils 
6442         @[ -f ./findutils/Makefile ] || exit 0; \
6443         r=`${PWD_COMMAND}`; export r; \
6444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6445         $(SET_LIB_PATH) \
6446         for flag in $(EXTRA_HOST_FLAGS); do \
6447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6448         done; \
6449         echo "Doing dvi in findutils" ; \
6450         (cd findutils && \
6451           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6452                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6453                   "RANLIB=$${RANLIB}" \
6454                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6455                   dvi) \
6456           || exit 1
6457
6458
6459 .PHONY: maybe-TAGS-findutils TAGS-findutils
6460 maybe-TAGS-findutils:
6461
6462 TAGS-findutils: \
6463     configure-findutils 
6464         @[ -f ./findutils/Makefile ] || exit 0; \
6465         r=`${PWD_COMMAND}`; export r; \
6466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6467         $(SET_LIB_PATH) \
6468         for flag in $(EXTRA_HOST_FLAGS); do \
6469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6470         done; \
6471         echo "Doing TAGS in findutils" ; \
6472         (cd findutils && \
6473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6475                   "RANLIB=$${RANLIB}" \
6476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6477                   TAGS) \
6478           || exit 1
6479
6480
6481 .PHONY: maybe-install-info-findutils install-info-findutils
6482 maybe-install-info-findutils:
6483
6484 install-info-findutils: \
6485     configure-findutils \
6486     info-findutils 
6487         @[ -f ./findutils/Makefile ] || exit 0; \
6488         r=`${PWD_COMMAND}`; export r; \
6489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490         $(SET_LIB_PATH) \
6491         for flag in $(EXTRA_HOST_FLAGS); do \
6492           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6493         done; \
6494         echo "Doing install-info in findutils" ; \
6495         (cd findutils && \
6496           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6497                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6498                   "RANLIB=$${RANLIB}" \
6499                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6500                   install-info) \
6501           || exit 1
6502
6503
6504 .PHONY: maybe-installcheck-findutils installcheck-findutils
6505 maybe-installcheck-findutils:
6506
6507 installcheck-findutils: \
6508     configure-findutils 
6509         @[ -f ./findutils/Makefile ] || exit 0; \
6510         r=`${PWD_COMMAND}`; export r; \
6511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6512         $(SET_LIB_PATH) \
6513         for flag in $(EXTRA_HOST_FLAGS); do \
6514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6515         done; \
6516         echo "Doing installcheck in findutils" ; \
6517         (cd findutils && \
6518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6520                   "RANLIB=$${RANLIB}" \
6521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6522                   installcheck) \
6523           || exit 1
6524
6525
6526 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
6527 maybe-mostlyclean-findutils:
6528
6529 mostlyclean-findutils: 
6530         @[ -f ./findutils/Makefile ] || exit 0; \
6531         r=`${PWD_COMMAND}`; export r; \
6532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6533         $(SET_LIB_PATH) \
6534         for flag in $(EXTRA_HOST_FLAGS); do \
6535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536         done; \
6537         echo "Doing mostlyclean in findutils" ; \
6538         (cd findutils && \
6539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541                   "RANLIB=$${RANLIB}" \
6542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6543                   mostlyclean) \
6544           || exit 1
6545
6546
6547 .PHONY: maybe-clean-findutils clean-findutils
6548 maybe-clean-findutils:
6549
6550 clean-findutils: 
6551         @[ -f ./findutils/Makefile ] || exit 0; \
6552         r=`${PWD_COMMAND}`; export r; \
6553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554         $(SET_LIB_PATH) \
6555         for flag in $(EXTRA_HOST_FLAGS); do \
6556           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6557         done; \
6558         echo "Doing clean in findutils" ; \
6559         (cd findutils && \
6560           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6561                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6562                   "RANLIB=$${RANLIB}" \
6563                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6564                   clean) \
6565           || exit 1
6566
6567
6568 .PHONY: maybe-distclean-findutils distclean-findutils
6569 maybe-distclean-findutils:
6570
6571 distclean-findutils: 
6572         @[ -f ./findutils/Makefile ] || exit 0; \
6573         r=`${PWD_COMMAND}`; export r; \
6574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6575         $(SET_LIB_PATH) \
6576         for flag in $(EXTRA_HOST_FLAGS); do \
6577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6578         done; \
6579         echo "Doing distclean in findutils" ; \
6580         (cd findutils && \
6581           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6582                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6583                   "RANLIB=$${RANLIB}" \
6584                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6585                   distclean) \
6586           || exit 1
6587
6588
6589 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
6590 maybe-maintainer-clean-findutils:
6591
6592 maintainer-clean-findutils: 
6593         @[ -f ./findutils/Makefile ] || exit 0; \
6594         r=`${PWD_COMMAND}`; export r; \
6595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596         $(SET_LIB_PATH) \
6597         for flag in $(EXTRA_HOST_FLAGS); do \
6598           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6599         done; \
6600         echo "Doing maintainer-clean in findutils" ; \
6601         (cd findutils && \
6602           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604                   "RANLIB=$${RANLIB}" \
6605                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6606                   maintainer-clean) \
6607           || exit 1
6608
6609
6610
6611 .PHONY: configure-find maybe-configure-find
6612 maybe-configure-find:
6613 configure-find:
6614         @test ! -f find/Makefile || exit 0; \
6615         [ -d find ] || mkdir find; \
6616         r=`${PWD_COMMAND}`; export r; \
6617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618         CC="$(CC)"; export CC; \
6619         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6620         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6621         CXX="$(CXX)"; export CXX; \
6622         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6623         AR="$(AR)"; export AR; \
6624         AS="$(AS)"; export AS; \
6625         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6626         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6627         LD="$(LD)"; export LD; \
6628         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6629         NM="$(NM)"; export NM; \
6630         RANLIB="$(RANLIB)"; export RANLIB; \
6631         WINDRES="$(WINDRES)"; export WINDRES; \
6632         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6633         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6634         echo Configuring in find; \
6635         cd find || exit 1; \
6636         case $(srcdir) in \
6637           \.) \
6638             srcdiroption="--srcdir=."; \
6639             libsrcdir=".";; \
6640           /* | [A-Za-z]:[\\/]*) \
6641             srcdiroption="--srcdir=$(srcdir)/find"; \
6642             libsrcdir="$$s/find";; \
6643           *) \
6644             srcdiroption="--srcdir=../$(srcdir)/find"; \
6645             libsrcdir="$$s/find";; \
6646         esac; \
6647         $(SHELL) $${libsrcdir}/configure \
6648           $(HOST_CONFIGARGS) $${srcdiroption} \
6649           || exit 1
6650
6651 .PHONY: all-find maybe-all-find
6652 maybe-all-find:
6653 all-find: configure-find
6654         @r=`${PWD_COMMAND}`; export r; \
6655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6656         $(SET_LIB_PATH) \
6657         (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
6658
6659 .PHONY: check-find maybe-check-find
6660 maybe-check-find:
6661
6662 check-find:
6663         @r=`${PWD_COMMAND}`; export r; \
6664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665         $(SET_LIB_PATH) \
6666         (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
6667
6668
6669 .PHONY: install-find maybe-install-find
6670 maybe-install-find:
6671
6672 install-find: installdirs
6673         @r=`${PWD_COMMAND}`; export r; \
6674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675         $(SET_LIB_PATH) \
6676         (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
6677
6678
6679 # Other targets (info, dvi, etc.)
6680
6681 .PHONY: maybe-info-find info-find
6682 maybe-info-find:
6683
6684 info-find: \
6685     configure-find 
6686         @[ -f ./find/Makefile ] || exit 0; \
6687         r=`${PWD_COMMAND}`; export r; \
6688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6689         $(SET_LIB_PATH) \
6690         for flag in $(EXTRA_HOST_FLAGS); do \
6691           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6692         done; \
6693         echo "Doing info in find" ; \
6694         (cd find && \
6695           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697                   "RANLIB=$${RANLIB}" \
6698                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6699                   info) \
6700           || exit 1
6701
6702
6703 .PHONY: maybe-dvi-find dvi-find
6704 maybe-dvi-find:
6705
6706 dvi-find: \
6707     configure-find 
6708         @[ -f ./find/Makefile ] || exit 0; \
6709         r=`${PWD_COMMAND}`; export r; \
6710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711         $(SET_LIB_PATH) \
6712         for flag in $(EXTRA_HOST_FLAGS); do \
6713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714         done; \
6715         echo "Doing dvi in find" ; \
6716         (cd find && \
6717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719                   "RANLIB=$${RANLIB}" \
6720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6721                   dvi) \
6722           || exit 1
6723
6724
6725 .PHONY: maybe-TAGS-find TAGS-find
6726 maybe-TAGS-find:
6727
6728 TAGS-find: \
6729     configure-find 
6730         @[ -f ./find/Makefile ] || exit 0; \
6731         r=`${PWD_COMMAND}`; export r; \
6732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733         $(SET_LIB_PATH) \
6734         for flag in $(EXTRA_HOST_FLAGS); do \
6735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6736         done; \
6737         echo "Doing TAGS in find" ; \
6738         (cd find && \
6739           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6740                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6741                   "RANLIB=$${RANLIB}" \
6742                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6743                   TAGS) \
6744           || exit 1
6745
6746
6747 .PHONY: maybe-install-info-find install-info-find
6748 maybe-install-info-find:
6749
6750 install-info-find: \
6751     configure-find \
6752     info-find 
6753         @[ -f ./find/Makefile ] || exit 0; \
6754         r=`${PWD_COMMAND}`; export r; \
6755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6756         $(SET_LIB_PATH) \
6757         for flag in $(EXTRA_HOST_FLAGS); do \
6758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6759         done; \
6760         echo "Doing install-info in find" ; \
6761         (cd find && \
6762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6764                   "RANLIB=$${RANLIB}" \
6765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6766                   install-info) \
6767           || exit 1
6768
6769
6770 .PHONY: maybe-installcheck-find installcheck-find
6771 maybe-installcheck-find:
6772
6773 installcheck-find: \
6774     configure-find 
6775         @[ -f ./find/Makefile ] || exit 0; \
6776         r=`${PWD_COMMAND}`; export r; \
6777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778         $(SET_LIB_PATH) \
6779         for flag in $(EXTRA_HOST_FLAGS); do \
6780           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781         done; \
6782         echo "Doing installcheck in find" ; \
6783         (cd find && \
6784           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786                   "RANLIB=$${RANLIB}" \
6787                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6788                   installcheck) \
6789           || exit 1
6790
6791
6792 .PHONY: maybe-mostlyclean-find mostlyclean-find
6793 maybe-mostlyclean-find:
6794
6795 mostlyclean-find: 
6796         @[ -f ./find/Makefile ] || exit 0; \
6797         r=`${PWD_COMMAND}`; export r; \
6798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799         $(SET_LIB_PATH) \
6800         for flag in $(EXTRA_HOST_FLAGS); do \
6801           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6802         done; \
6803         echo "Doing mostlyclean in find" ; \
6804         (cd find && \
6805           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807                   "RANLIB=$${RANLIB}" \
6808                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6809                   mostlyclean) \
6810           || exit 1
6811
6812
6813 .PHONY: maybe-clean-find clean-find
6814 maybe-clean-find:
6815
6816 clean-find: 
6817         @[ -f ./find/Makefile ] || exit 0; \
6818         r=`${PWD_COMMAND}`; export r; \
6819         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820         $(SET_LIB_PATH) \
6821         for flag in $(EXTRA_HOST_FLAGS); do \
6822           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6823         done; \
6824         echo "Doing clean in find" ; \
6825         (cd find && \
6826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828                   "RANLIB=$${RANLIB}" \
6829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6830                   clean) \
6831           || exit 1
6832
6833
6834 .PHONY: maybe-distclean-find distclean-find
6835 maybe-distclean-find:
6836
6837 distclean-find: 
6838         @[ -f ./find/Makefile ] || exit 0; \
6839         r=`${PWD_COMMAND}`; export r; \
6840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6841         $(SET_LIB_PATH) \
6842         for flag in $(EXTRA_HOST_FLAGS); do \
6843           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6844         done; \
6845         echo "Doing distclean in find" ; \
6846         (cd find && \
6847           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6848                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6849                   "RANLIB=$${RANLIB}" \
6850                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6851                   distclean) \
6852           || exit 1
6853
6854
6855 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
6856 maybe-maintainer-clean-find:
6857
6858 maintainer-clean-find: 
6859         @[ -f ./find/Makefile ] || exit 0; \
6860         r=`${PWD_COMMAND}`; export r; \
6861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6862         $(SET_LIB_PATH) \
6863         for flag in $(EXTRA_HOST_FLAGS); do \
6864           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6865         done; \
6866         echo "Doing maintainer-clean in find" ; \
6867         (cd find && \
6868           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6869                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6870                   "RANLIB=$${RANLIB}" \
6871                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6872                   maintainer-clean) \
6873           || exit 1
6874
6875
6876
6877 .PHONY: configure-flex maybe-configure-flex
6878 maybe-configure-flex:
6879 configure-flex:
6880         @test ! -f flex/Makefile || exit 0; \
6881         [ -d flex ] || mkdir flex; \
6882         r=`${PWD_COMMAND}`; export r; \
6883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884         CC="$(CC)"; export CC; \
6885         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6886         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6887         CXX="$(CXX)"; export CXX; \
6888         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6889         AR="$(AR)"; export AR; \
6890         AS="$(AS)"; export AS; \
6891         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6892         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6893         LD="$(LD)"; export LD; \
6894         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6895         NM="$(NM)"; export NM; \
6896         RANLIB="$(RANLIB)"; export RANLIB; \
6897         WINDRES="$(WINDRES)"; export WINDRES; \
6898         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6899         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6900         echo Configuring in flex; \
6901         cd flex || exit 1; \
6902         case $(srcdir) in \
6903           \.) \
6904             srcdiroption="--srcdir=."; \
6905             libsrcdir=".";; \
6906           /* | [A-Za-z]:[\\/]*) \
6907             srcdiroption="--srcdir=$(srcdir)/flex"; \
6908             libsrcdir="$$s/flex";; \
6909           *) \
6910             srcdiroption="--srcdir=../$(srcdir)/flex"; \
6911             libsrcdir="$$s/flex";; \
6912         esac; \
6913         $(SHELL) $${libsrcdir}/configure \
6914           $(HOST_CONFIGARGS) $${srcdiroption} \
6915           || exit 1
6916
6917 .PHONY: all-flex maybe-all-flex
6918 maybe-all-flex:
6919 all-flex: configure-flex
6920         @r=`${PWD_COMMAND}`; export r; \
6921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6922         $(SET_LIB_PATH) \
6923         (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
6924
6925 .PHONY: check-flex maybe-check-flex
6926 maybe-check-flex:
6927
6928 # This module is only tested in a native toolchain.
6929 check-flex:
6930         @if [ '$(host)' = '$(target)' ] ; then \
6931           r=`${PWD_COMMAND}`; export r; \
6932           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933           $(SET_LIB_PATH) \
6934           (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
6935         fi
6936
6937
6938 .PHONY: install-flex maybe-install-flex
6939 maybe-install-flex:
6940
6941 install-flex: installdirs
6942         @r=`${PWD_COMMAND}`; export r; \
6943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944         $(SET_LIB_PATH) \
6945         (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
6946
6947
6948 # Other targets (info, dvi, etc.)
6949
6950 .PHONY: maybe-info-flex info-flex
6951 maybe-info-flex:
6952
6953 info-flex: \
6954     configure-flex 
6955         @[ -f ./flex/Makefile ] || exit 0; \
6956         r=`${PWD_COMMAND}`; export r; \
6957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6958         $(SET_LIB_PATH) \
6959         for flag in $(EXTRA_HOST_FLAGS); do \
6960           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6961         done; \
6962         echo "Doing info in flex" ; \
6963         (cd flex && \
6964           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6965                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6966                   "RANLIB=$${RANLIB}" \
6967                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6968                   info) \
6969           || exit 1
6970
6971
6972 .PHONY: maybe-dvi-flex dvi-flex
6973 maybe-dvi-flex:
6974
6975 dvi-flex: \
6976     configure-flex 
6977         @[ -f ./flex/Makefile ] || exit 0; \
6978         r=`${PWD_COMMAND}`; export r; \
6979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6980         $(SET_LIB_PATH) \
6981         for flag in $(EXTRA_HOST_FLAGS); do \
6982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6983         done; \
6984         echo "Doing dvi in flex" ; \
6985         (cd flex && \
6986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6988                   "RANLIB=$${RANLIB}" \
6989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6990                   dvi) \
6991           || exit 1
6992
6993
6994 .PHONY: maybe-TAGS-flex TAGS-flex
6995 maybe-TAGS-flex:
6996
6997 TAGS-flex: \
6998     configure-flex 
6999         @[ -f ./flex/Makefile ] || exit 0; \
7000         r=`${PWD_COMMAND}`; export r; \
7001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002         $(SET_LIB_PATH) \
7003         for flag in $(EXTRA_HOST_FLAGS); do \
7004           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7005         done; \
7006         echo "Doing TAGS in flex" ; \
7007         (cd flex && \
7008           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010                   "RANLIB=$${RANLIB}" \
7011                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7012                   TAGS) \
7013           || exit 1
7014
7015
7016 .PHONY: maybe-install-info-flex install-info-flex
7017 maybe-install-info-flex:
7018
7019 install-info-flex: \
7020     configure-flex \
7021     info-flex 
7022         @[ -f ./flex/Makefile ] || exit 0; \
7023         r=`${PWD_COMMAND}`; export r; \
7024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025         $(SET_LIB_PATH) \
7026         for flag in $(EXTRA_HOST_FLAGS); do \
7027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7028         done; \
7029         echo "Doing install-info in flex" ; \
7030         (cd flex && \
7031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7033                   "RANLIB=$${RANLIB}" \
7034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7035                   install-info) \
7036           || exit 1
7037
7038
7039 .PHONY: maybe-installcheck-flex installcheck-flex
7040 maybe-installcheck-flex:
7041
7042 installcheck-flex: \
7043     configure-flex 
7044         @[ -f ./flex/Makefile ] || exit 0; \
7045         r=`${PWD_COMMAND}`; export r; \
7046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047         $(SET_LIB_PATH) \
7048         for flag in $(EXTRA_HOST_FLAGS); do \
7049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050         done; \
7051         echo "Doing installcheck in flex" ; \
7052         (cd flex && \
7053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055                   "RANLIB=$${RANLIB}" \
7056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7057                   installcheck) \
7058           || exit 1
7059
7060
7061 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7062 maybe-mostlyclean-flex:
7063
7064 mostlyclean-flex: 
7065         @[ -f ./flex/Makefile ] || exit 0; \
7066         r=`${PWD_COMMAND}`; export r; \
7067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068         $(SET_LIB_PATH) \
7069         for flag in $(EXTRA_HOST_FLAGS); do \
7070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7071         done; \
7072         echo "Doing mostlyclean in flex" ; \
7073         (cd flex && \
7074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076                   "RANLIB=$${RANLIB}" \
7077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7078                   mostlyclean) \
7079           || exit 1
7080
7081
7082 .PHONY: maybe-clean-flex clean-flex
7083 maybe-clean-flex:
7084
7085 clean-flex: 
7086         @[ -f ./flex/Makefile ] || exit 0; \
7087         r=`${PWD_COMMAND}`; export r; \
7088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7089         $(SET_LIB_PATH) \
7090         for flag in $(EXTRA_HOST_FLAGS); do \
7091           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7092         done; \
7093         echo "Doing clean in flex" ; \
7094         (cd flex && \
7095           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7096                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7097                   "RANLIB=$${RANLIB}" \
7098                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7099                   clean) \
7100           || exit 1
7101
7102
7103 .PHONY: maybe-distclean-flex distclean-flex
7104 maybe-distclean-flex:
7105
7106 distclean-flex: 
7107         @[ -f ./flex/Makefile ] || exit 0; \
7108         r=`${PWD_COMMAND}`; export r; \
7109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110         $(SET_LIB_PATH) \
7111         for flag in $(EXTRA_HOST_FLAGS); do \
7112           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113         done; \
7114         echo "Doing distclean in flex" ; \
7115         (cd flex && \
7116           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118                   "RANLIB=$${RANLIB}" \
7119                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7120                   distclean) \
7121           || exit 1
7122
7123
7124 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7125 maybe-maintainer-clean-flex:
7126
7127 maintainer-clean-flex: 
7128         @[ -f ./flex/Makefile ] || exit 0; \
7129         r=`${PWD_COMMAND}`; export r; \
7130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131         $(SET_LIB_PATH) \
7132         for flag in $(EXTRA_HOST_FLAGS); do \
7133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134         done; \
7135         echo "Doing maintainer-clean in flex" ; \
7136         (cd flex && \
7137           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139                   "RANLIB=$${RANLIB}" \
7140                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7141                   maintainer-clean) \
7142           || exit 1
7143
7144
7145
7146 .PHONY: configure-gas maybe-configure-gas
7147 maybe-configure-gas:
7148 configure-gas:
7149         @test ! -f gas/Makefile || exit 0; \
7150         [ -d gas ] || mkdir gas; \
7151         r=`${PWD_COMMAND}`; export r; \
7152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153         CC="$(CC)"; export CC; \
7154         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7155         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7156         CXX="$(CXX)"; export CXX; \
7157         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7158         AR="$(AR)"; export AR; \
7159         AS="$(AS)"; export AS; \
7160         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7161         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7162         LD="$(LD)"; export LD; \
7163         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7164         NM="$(NM)"; export NM; \
7165         RANLIB="$(RANLIB)"; export RANLIB; \
7166         WINDRES="$(WINDRES)"; export WINDRES; \
7167         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7168         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7169         echo Configuring in gas; \
7170         cd gas || exit 1; \
7171         case $(srcdir) in \
7172           \.) \
7173             srcdiroption="--srcdir=."; \
7174             libsrcdir=".";; \
7175           /* | [A-Za-z]:[\\/]*) \
7176             srcdiroption="--srcdir=$(srcdir)/gas"; \
7177             libsrcdir="$$s/gas";; \
7178           *) \
7179             srcdiroption="--srcdir=../$(srcdir)/gas"; \
7180             libsrcdir="$$s/gas";; \
7181         esac; \
7182         $(SHELL) $${libsrcdir}/configure \
7183           $(HOST_CONFIGARGS) $${srcdiroption} \
7184           || exit 1
7185
7186 .PHONY: all-gas maybe-all-gas
7187 maybe-all-gas:
7188 all-gas: configure-gas
7189         @r=`${PWD_COMMAND}`; export r; \
7190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7191         $(SET_LIB_PATH) \
7192         (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7193
7194 .PHONY: check-gas maybe-check-gas
7195 maybe-check-gas:
7196
7197 check-gas:
7198         @r=`${PWD_COMMAND}`; export r; \
7199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7200         $(SET_LIB_PATH) \
7201         (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7202
7203
7204 .PHONY: install-gas maybe-install-gas
7205 maybe-install-gas:
7206
7207 install-gas: installdirs
7208         @r=`${PWD_COMMAND}`; export r; \
7209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210         $(SET_LIB_PATH) \
7211         (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7212
7213
7214 # Other targets (info, dvi, etc.)
7215
7216 .PHONY: maybe-info-gas info-gas
7217 maybe-info-gas:
7218
7219 info-gas: \
7220     configure-gas 
7221         @[ -f ./gas/Makefile ] || exit 0; \
7222         r=`${PWD_COMMAND}`; export r; \
7223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224         $(SET_LIB_PATH) \
7225         for flag in $(EXTRA_HOST_FLAGS); do \
7226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7227         done; \
7228         echo "Doing info in gas" ; \
7229         (cd gas && \
7230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7232                   "RANLIB=$${RANLIB}" \
7233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7234                   info) \
7235           || exit 1
7236
7237
7238 .PHONY: maybe-dvi-gas dvi-gas
7239 maybe-dvi-gas:
7240
7241 dvi-gas: \
7242     configure-gas 
7243         @[ -f ./gas/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 dvi in gas" ; \
7251         (cd gas && \
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                   dvi) \
7257           || exit 1
7258
7259
7260 .PHONY: maybe-TAGS-gas TAGS-gas
7261 maybe-TAGS-gas:
7262
7263 TAGS-gas: \
7264     configure-gas 
7265         @[ -f ./gas/Makefile ] || exit 0; \
7266         r=`${PWD_COMMAND}`; export r; \
7267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7268         $(SET_LIB_PATH) \
7269         for flag in $(EXTRA_HOST_FLAGS); do \
7270           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7271         done; \
7272         echo "Doing TAGS in gas" ; \
7273         (cd gas && \
7274           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7275                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7276                   "RANLIB=$${RANLIB}" \
7277                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7278                   TAGS) \
7279           || exit 1
7280
7281
7282 .PHONY: maybe-install-info-gas install-info-gas
7283 maybe-install-info-gas:
7284
7285 install-info-gas: \
7286     configure-gas \
7287     info-gas 
7288         @[ -f ./gas/Makefile ] || exit 0; \
7289         r=`${PWD_COMMAND}`; export r; \
7290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291         $(SET_LIB_PATH) \
7292         for flag in $(EXTRA_HOST_FLAGS); do \
7293           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7294         done; \
7295         echo "Doing install-info in gas" ; \
7296         (cd gas && \
7297           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299                   "RANLIB=$${RANLIB}" \
7300                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7301                   install-info) \
7302           || exit 1
7303
7304
7305 .PHONY: maybe-installcheck-gas installcheck-gas
7306 maybe-installcheck-gas:
7307
7308 installcheck-gas: \
7309     configure-gas 
7310         @[ -f ./gas/Makefile ] || exit 0; \
7311         r=`${PWD_COMMAND}`; export r; \
7312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313         $(SET_LIB_PATH) \
7314         for flag in $(EXTRA_HOST_FLAGS); do \
7315           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7316         done; \
7317         echo "Doing installcheck in gas" ; \
7318         (cd gas && \
7319           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7320                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7321                   "RANLIB=$${RANLIB}" \
7322                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7323                   installcheck) \
7324           || exit 1
7325
7326
7327 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
7328 maybe-mostlyclean-gas:
7329
7330 mostlyclean-gas: 
7331         @[ -f ./gas/Makefile ] || exit 0; \
7332         r=`${PWD_COMMAND}`; export r; \
7333         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7334         $(SET_LIB_PATH) \
7335         for flag in $(EXTRA_HOST_FLAGS); do \
7336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7337         done; \
7338         echo "Doing mostlyclean in gas" ; \
7339         (cd gas && \
7340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7342                   "RANLIB=$${RANLIB}" \
7343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7344                   mostlyclean) \
7345           || exit 1
7346
7347
7348 .PHONY: maybe-clean-gas clean-gas
7349 maybe-clean-gas:
7350
7351 clean-gas: 
7352         @[ -f ./gas/Makefile ] || exit 0; \
7353         r=`${PWD_COMMAND}`; export r; \
7354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7355         $(SET_LIB_PATH) \
7356         for flag in $(EXTRA_HOST_FLAGS); do \
7357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7358         done; \
7359         echo "Doing clean in gas" ; \
7360         (cd gas && \
7361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7363                   "RANLIB=$${RANLIB}" \
7364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7365                   clean) \
7366           || exit 1
7367
7368
7369 .PHONY: maybe-distclean-gas distclean-gas
7370 maybe-distclean-gas:
7371
7372 distclean-gas: 
7373         @[ -f ./gas/Makefile ] || exit 0; \
7374         r=`${PWD_COMMAND}`; export r; \
7375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376         $(SET_LIB_PATH) \
7377         for flag in $(EXTRA_HOST_FLAGS); do \
7378           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7379         done; \
7380         echo "Doing distclean in gas" ; \
7381         (cd gas && \
7382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7384                   "RANLIB=$${RANLIB}" \
7385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7386                   distclean) \
7387           || exit 1
7388
7389
7390 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
7391 maybe-maintainer-clean-gas:
7392
7393 maintainer-clean-gas: 
7394         @[ -f ./gas/Makefile ] || exit 0; \
7395         r=`${PWD_COMMAND}`; export r; \
7396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7397         $(SET_LIB_PATH) \
7398         for flag in $(EXTRA_HOST_FLAGS); do \
7399           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7400         done; \
7401         echo "Doing maintainer-clean in gas" ; \
7402         (cd gas && \
7403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7405                   "RANLIB=$${RANLIB}" \
7406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7407                   maintainer-clean) \
7408           || exit 1
7409
7410
7411
7412 .PHONY: configure-gawk maybe-configure-gawk
7413 maybe-configure-gawk:
7414 configure-gawk:
7415         @test ! -f gawk/Makefile || exit 0; \
7416         [ -d gawk ] || mkdir gawk; \
7417         r=`${PWD_COMMAND}`; export r; \
7418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419         CC="$(CC)"; export CC; \
7420         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7421         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7422         CXX="$(CXX)"; export CXX; \
7423         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7424         AR="$(AR)"; export AR; \
7425         AS="$(AS)"; export AS; \
7426         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7427         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7428         LD="$(LD)"; export LD; \
7429         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7430         NM="$(NM)"; export NM; \
7431         RANLIB="$(RANLIB)"; export RANLIB; \
7432         WINDRES="$(WINDRES)"; export WINDRES; \
7433         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7434         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7435         echo Configuring in gawk; \
7436         cd gawk || exit 1; \
7437         case $(srcdir) in \
7438           \.) \
7439             srcdiroption="--srcdir=."; \
7440             libsrcdir=".";; \
7441           /* | [A-Za-z]:[\\/]*) \
7442             srcdiroption="--srcdir=$(srcdir)/gawk"; \
7443             libsrcdir="$$s/gawk";; \
7444           *) \
7445             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
7446             libsrcdir="$$s/gawk";; \
7447         esac; \
7448         $(SHELL) $${libsrcdir}/configure \
7449           $(HOST_CONFIGARGS) $${srcdiroption} \
7450           || exit 1
7451
7452 .PHONY: all-gawk maybe-all-gawk
7453 maybe-all-gawk:
7454 all-gawk: configure-gawk
7455         @r=`${PWD_COMMAND}`; export r; \
7456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7457         $(SET_LIB_PATH) \
7458         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
7459
7460 .PHONY: check-gawk maybe-check-gawk
7461 maybe-check-gawk:
7462
7463 check-gawk:
7464         @r=`${PWD_COMMAND}`; export r; \
7465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466         $(SET_LIB_PATH) \
7467         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
7468
7469
7470 .PHONY: install-gawk maybe-install-gawk
7471 maybe-install-gawk:
7472
7473 install-gawk: installdirs
7474         @r=`${PWD_COMMAND}`; export r; \
7475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7476         $(SET_LIB_PATH) \
7477         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
7478
7479
7480 # Other targets (info, dvi, etc.)
7481
7482 .PHONY: maybe-info-gawk info-gawk
7483 maybe-info-gawk:
7484
7485 info-gawk: \
7486     configure-gawk 
7487         @[ -f ./gawk/Makefile ] || exit 0; \
7488         r=`${PWD_COMMAND}`; export r; \
7489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490         $(SET_LIB_PATH) \
7491         for flag in $(EXTRA_HOST_FLAGS); do \
7492           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493         done; \
7494         echo "Doing info in gawk" ; \
7495         (cd gawk && \
7496           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498                   "RANLIB=$${RANLIB}" \
7499                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500                   info) \
7501           || exit 1
7502
7503
7504 .PHONY: maybe-dvi-gawk dvi-gawk
7505 maybe-dvi-gawk:
7506
7507 dvi-gawk: \
7508     configure-gawk 
7509         @[ -f ./gawk/Makefile ] || exit 0; \
7510         r=`${PWD_COMMAND}`; export r; \
7511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7512         $(SET_LIB_PATH) \
7513         for flag in $(EXTRA_HOST_FLAGS); do \
7514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7515         done; \
7516         echo "Doing dvi in gawk" ; \
7517         (cd gawk && \
7518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520                   "RANLIB=$${RANLIB}" \
7521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7522                   dvi) \
7523           || exit 1
7524
7525
7526 .PHONY: maybe-TAGS-gawk TAGS-gawk
7527 maybe-TAGS-gawk:
7528
7529 TAGS-gawk: \
7530     configure-gawk 
7531         @[ -f ./gawk/Makefile ] || exit 0; \
7532         r=`${PWD_COMMAND}`; export r; \
7533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7534         $(SET_LIB_PATH) \
7535         for flag in $(EXTRA_HOST_FLAGS); do \
7536           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7537         done; \
7538         echo "Doing TAGS in gawk" ; \
7539         (cd gawk && \
7540           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7541                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7542                   "RANLIB=$${RANLIB}" \
7543                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7544                   TAGS) \
7545           || exit 1
7546
7547
7548 .PHONY: maybe-install-info-gawk install-info-gawk
7549 maybe-install-info-gawk:
7550
7551 install-info-gawk: \
7552     configure-gawk \
7553     info-gawk 
7554         @[ -f ./gawk/Makefile ] || exit 0; \
7555         r=`${PWD_COMMAND}`; export r; \
7556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7557         $(SET_LIB_PATH) \
7558         for flag in $(EXTRA_HOST_FLAGS); do \
7559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7560         done; \
7561         echo "Doing install-info in gawk" ; \
7562         (cd gawk && \
7563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7565                   "RANLIB=$${RANLIB}" \
7566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7567                   install-info) \
7568           || exit 1
7569
7570
7571 .PHONY: maybe-installcheck-gawk installcheck-gawk
7572 maybe-installcheck-gawk:
7573
7574 installcheck-gawk: \
7575     configure-gawk 
7576         @[ -f ./gawk/Makefile ] || exit 0; \
7577         r=`${PWD_COMMAND}`; export r; \
7578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579         $(SET_LIB_PATH) \
7580         for flag in $(EXTRA_HOST_FLAGS); do \
7581           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7582         done; \
7583         echo "Doing installcheck in gawk" ; \
7584         (cd gawk && \
7585           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587                   "RANLIB=$${RANLIB}" \
7588                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7589                   installcheck) \
7590           || exit 1
7591
7592
7593 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
7594 maybe-mostlyclean-gawk:
7595
7596 mostlyclean-gawk: 
7597         @[ -f ./gawk/Makefile ] || exit 0; \
7598         r=`${PWD_COMMAND}`; export r; \
7599         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7600         $(SET_LIB_PATH) \
7601         for flag in $(EXTRA_HOST_FLAGS); do \
7602           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7603         done; \
7604         echo "Doing mostlyclean in gawk" ; \
7605         (cd gawk && \
7606           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7607                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7608                   "RANLIB=$${RANLIB}" \
7609                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7610                   mostlyclean) \
7611           || exit 1
7612
7613
7614 .PHONY: maybe-clean-gawk clean-gawk
7615 maybe-clean-gawk:
7616
7617 clean-gawk: 
7618         @[ -f ./gawk/Makefile ] || exit 0; \
7619         r=`${PWD_COMMAND}`; export r; \
7620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7621         $(SET_LIB_PATH) \
7622         for flag in $(EXTRA_HOST_FLAGS); do \
7623           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7624         done; \
7625         echo "Doing clean in gawk" ; \
7626         (cd gawk && \
7627           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7628                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7629                   "RANLIB=$${RANLIB}" \
7630                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7631                   clean) \
7632           || exit 1
7633
7634
7635 .PHONY: maybe-distclean-gawk distclean-gawk
7636 maybe-distclean-gawk:
7637
7638 distclean-gawk: 
7639         @[ -f ./gawk/Makefile ] || exit 0; \
7640         r=`${PWD_COMMAND}`; export r; \
7641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642         $(SET_LIB_PATH) \
7643         for flag in $(EXTRA_HOST_FLAGS); do \
7644           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7645         done; \
7646         echo "Doing distclean in gawk" ; \
7647         (cd gawk && \
7648           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7649                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7650                   "RANLIB=$${RANLIB}" \
7651                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7652                   distclean) \
7653           || exit 1
7654
7655
7656 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
7657 maybe-maintainer-clean-gawk:
7658
7659 maintainer-clean-gawk: 
7660         @[ -f ./gawk/Makefile ] || exit 0; \
7661         r=`${PWD_COMMAND}`; export r; \
7662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7663         $(SET_LIB_PATH) \
7664         for flag in $(EXTRA_HOST_FLAGS); do \
7665           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7666         done; \
7667         echo "Doing maintainer-clean in gawk" ; \
7668         (cd gawk && \
7669           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7670                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7671                   "RANLIB=$${RANLIB}" \
7672                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7673                   maintainer-clean) \
7674           || exit 1
7675
7676
7677
7678 .PHONY: configure-gettext maybe-configure-gettext
7679 maybe-configure-gettext:
7680 configure-gettext:
7681         @test ! -f gettext/Makefile || exit 0; \
7682         [ -d gettext ] || mkdir gettext; \
7683         r=`${PWD_COMMAND}`; export r; \
7684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685         CC="$(CC)"; export CC; \
7686         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7687         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7688         CXX="$(CXX)"; export CXX; \
7689         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7690         AR="$(AR)"; export AR; \
7691         AS="$(AS)"; export AS; \
7692         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7693         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7694         LD="$(LD)"; export LD; \
7695         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7696         NM="$(NM)"; export NM; \
7697         RANLIB="$(RANLIB)"; export RANLIB; \
7698         WINDRES="$(WINDRES)"; export WINDRES; \
7699         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7700         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7701         echo Configuring in gettext; \
7702         cd gettext || exit 1; \
7703         case $(srcdir) in \
7704           \.) \
7705             srcdiroption="--srcdir=."; \
7706             libsrcdir=".";; \
7707           /* | [A-Za-z]:[\\/]*) \
7708             srcdiroption="--srcdir=$(srcdir)/gettext"; \
7709             libsrcdir="$$s/gettext";; \
7710           *) \
7711             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
7712             libsrcdir="$$s/gettext";; \
7713         esac; \
7714         $(SHELL) $${libsrcdir}/configure \
7715           $(HOST_CONFIGARGS) $${srcdiroption} \
7716           || exit 1
7717
7718 .PHONY: all-gettext maybe-all-gettext
7719 maybe-all-gettext:
7720 all-gettext: configure-gettext
7721         @r=`${PWD_COMMAND}`; export r; \
7722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7723         $(SET_LIB_PATH) \
7724         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
7725
7726 .PHONY: check-gettext maybe-check-gettext
7727 maybe-check-gettext:
7728
7729 check-gettext:
7730         @r=`${PWD_COMMAND}`; export r; \
7731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732         $(SET_LIB_PATH) \
7733         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
7734
7735
7736 .PHONY: install-gettext maybe-install-gettext
7737 maybe-install-gettext:
7738
7739 install-gettext: installdirs
7740         @r=`${PWD_COMMAND}`; export r; \
7741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7742         $(SET_LIB_PATH) \
7743         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
7744
7745
7746 # Other targets (info, dvi, etc.)
7747
7748 .PHONY: maybe-info-gettext info-gettext
7749 maybe-info-gettext:
7750
7751 info-gettext: \
7752     configure-gettext 
7753         @[ -f ./gettext/Makefile ] || exit 0; \
7754         r=`${PWD_COMMAND}`; export r; \
7755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756         $(SET_LIB_PATH) \
7757         for flag in $(EXTRA_HOST_FLAGS); do \
7758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759         done; \
7760         echo "Doing info in gettext" ; \
7761         (cd gettext && \
7762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764                   "RANLIB=$${RANLIB}" \
7765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7766                   info) \
7767           || exit 1
7768
7769
7770 .PHONY: maybe-dvi-gettext dvi-gettext
7771 maybe-dvi-gettext:
7772
7773 dvi-gettext: \
7774     configure-gettext 
7775         @[ -f ./gettext/Makefile ] || exit 0; \
7776         r=`${PWD_COMMAND}`; export r; \
7777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7778         $(SET_LIB_PATH) \
7779         for flag in $(EXTRA_HOST_FLAGS); do \
7780           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7781         done; \
7782         echo "Doing dvi in gettext" ; \
7783         (cd gettext && \
7784           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786                   "RANLIB=$${RANLIB}" \
7787                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7788                   dvi) \
7789           || exit 1
7790
7791
7792 .PHONY: maybe-TAGS-gettext TAGS-gettext
7793 maybe-TAGS-gettext:
7794
7795 TAGS-gettext: \
7796     configure-gettext 
7797         @[ -f ./gettext/Makefile ] || exit 0; \
7798         r=`${PWD_COMMAND}`; export r; \
7799         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800         $(SET_LIB_PATH) \
7801         for flag in $(EXTRA_HOST_FLAGS); do \
7802           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803         done; \
7804         echo "Doing TAGS in gettext" ; \
7805         (cd gettext && \
7806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808                   "RANLIB=$${RANLIB}" \
7809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7810                   TAGS) \
7811           || exit 1
7812
7813
7814 .PHONY: maybe-install-info-gettext install-info-gettext
7815 maybe-install-info-gettext:
7816
7817 install-info-gettext: \
7818     configure-gettext \
7819     info-gettext 
7820         @[ -f ./gettext/Makefile ] || exit 0; \
7821         r=`${PWD_COMMAND}`; export r; \
7822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7823         $(SET_LIB_PATH) \
7824         for flag in $(EXTRA_HOST_FLAGS); do \
7825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7826         done; \
7827         echo "Doing install-info in gettext" ; \
7828         (cd gettext && \
7829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7831                   "RANLIB=$${RANLIB}" \
7832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7833                   install-info) \
7834           || exit 1
7835
7836
7837 .PHONY: maybe-installcheck-gettext installcheck-gettext
7838 maybe-installcheck-gettext:
7839
7840 installcheck-gettext: \
7841     configure-gettext 
7842         @[ -f ./gettext/Makefile ] || exit 0; \
7843         r=`${PWD_COMMAND}`; export r; \
7844         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845         $(SET_LIB_PATH) \
7846         for flag in $(EXTRA_HOST_FLAGS); do \
7847           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7848         done; \
7849         echo "Doing installcheck in gettext" ; \
7850         (cd gettext && \
7851           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7852                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7853                   "RANLIB=$${RANLIB}" \
7854                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7855                   installcheck) \
7856           || exit 1
7857
7858
7859 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
7860 maybe-mostlyclean-gettext:
7861
7862 mostlyclean-gettext: 
7863         @[ -f ./gettext/Makefile ] || exit 0; \
7864         r=`${PWD_COMMAND}`; export r; \
7865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7866         $(SET_LIB_PATH) \
7867         for flag in $(EXTRA_HOST_FLAGS); do \
7868           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7869         done; \
7870         echo "Doing mostlyclean in gettext" ; \
7871         (cd gettext && \
7872           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7873                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7874                   "RANLIB=$${RANLIB}" \
7875                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7876                   mostlyclean) \
7877           || exit 1
7878
7879
7880 .PHONY: maybe-clean-gettext clean-gettext
7881 maybe-clean-gettext:
7882
7883 clean-gettext: 
7884         @[ -f ./gettext/Makefile ] || exit 0; \
7885         r=`${PWD_COMMAND}`; export r; \
7886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7887         $(SET_LIB_PATH) \
7888         for flag in $(EXTRA_HOST_FLAGS); do \
7889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7890         done; \
7891         echo "Doing clean in gettext" ; \
7892         (cd gettext && \
7893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7895                   "RANLIB=$${RANLIB}" \
7896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7897                   clean) \
7898           || exit 1
7899
7900
7901 .PHONY: maybe-distclean-gettext distclean-gettext
7902 maybe-distclean-gettext:
7903
7904 distclean-gettext: 
7905         @[ -f ./gettext/Makefile ] || exit 0; \
7906         r=`${PWD_COMMAND}`; export r; \
7907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908         $(SET_LIB_PATH) \
7909         for flag in $(EXTRA_HOST_FLAGS); do \
7910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7911         done; \
7912         echo "Doing distclean in gettext" ; \
7913         (cd gettext && \
7914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916                   "RANLIB=$${RANLIB}" \
7917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7918                   distclean) \
7919           || exit 1
7920
7921
7922 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
7923 maybe-maintainer-clean-gettext:
7924
7925 maintainer-clean-gettext: 
7926         @[ -f ./gettext/Makefile ] || exit 0; \
7927         r=`${PWD_COMMAND}`; export r; \
7928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7929         $(SET_LIB_PATH) \
7930         for flag in $(EXTRA_HOST_FLAGS); do \
7931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7932         done; \
7933         echo "Doing maintainer-clean in gettext" ; \
7934         (cd gettext && \
7935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7937                   "RANLIB=$${RANLIB}" \
7938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7939                   maintainer-clean) \
7940           || exit 1
7941
7942
7943
7944 .PHONY: configure-gnuserv maybe-configure-gnuserv
7945 maybe-configure-gnuserv:
7946 configure-gnuserv:
7947         @test ! -f gnuserv/Makefile || exit 0; \
7948         [ -d gnuserv ] || mkdir gnuserv; \
7949         r=`${PWD_COMMAND}`; export r; \
7950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951         CC="$(CC)"; export CC; \
7952         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7953         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7954         CXX="$(CXX)"; export CXX; \
7955         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7956         AR="$(AR)"; export AR; \
7957         AS="$(AS)"; export AS; \
7958         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7959         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7960         LD="$(LD)"; export LD; \
7961         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7962         NM="$(NM)"; export NM; \
7963         RANLIB="$(RANLIB)"; export RANLIB; \
7964         WINDRES="$(WINDRES)"; export WINDRES; \
7965         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7966         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7967         echo Configuring in gnuserv; \
7968         cd gnuserv || exit 1; \
7969         case $(srcdir) in \
7970           \.) \
7971             srcdiroption="--srcdir=."; \
7972             libsrcdir=".";; \
7973           /* | [A-Za-z]:[\\/]*) \
7974             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
7975             libsrcdir="$$s/gnuserv";; \
7976           *) \
7977             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
7978             libsrcdir="$$s/gnuserv";; \
7979         esac; \
7980         $(SHELL) $${libsrcdir}/configure \
7981           $(HOST_CONFIGARGS) $${srcdiroption} \
7982           || exit 1
7983
7984 .PHONY: all-gnuserv maybe-all-gnuserv
7985 maybe-all-gnuserv:
7986 all-gnuserv: configure-gnuserv
7987         @r=`${PWD_COMMAND}`; export r; \
7988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989         $(SET_LIB_PATH) \
7990         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
7991
7992 .PHONY: check-gnuserv maybe-check-gnuserv
7993 maybe-check-gnuserv:
7994
7995 check-gnuserv:
7996         @r=`${PWD_COMMAND}`; export r; \
7997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998         $(SET_LIB_PATH) \
7999         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8000
8001
8002 .PHONY: install-gnuserv maybe-install-gnuserv
8003 maybe-install-gnuserv:
8004
8005 install-gnuserv: installdirs
8006         @r=`${PWD_COMMAND}`; export r; \
8007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8008         $(SET_LIB_PATH) \
8009         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8010
8011
8012 # Other targets (info, dvi, etc.)
8013
8014 .PHONY: maybe-info-gnuserv info-gnuserv
8015 maybe-info-gnuserv:
8016
8017 info-gnuserv: \
8018     configure-gnuserv 
8019         @[ -f ./gnuserv/Makefile ] || exit 0; \
8020         r=`${PWD_COMMAND}`; export r; \
8021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022         $(SET_LIB_PATH) \
8023         for flag in $(EXTRA_HOST_FLAGS); do \
8024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8025         done; \
8026         echo "Doing info in gnuserv" ; \
8027         (cd gnuserv && \
8028           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8029                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8030                   "RANLIB=$${RANLIB}" \
8031                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8032                   info) \
8033           || exit 1
8034
8035
8036 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8037 maybe-dvi-gnuserv:
8038
8039 dvi-gnuserv: \
8040     configure-gnuserv 
8041         @[ -f ./gnuserv/Makefile ] || exit 0; \
8042         r=`${PWD_COMMAND}`; export r; \
8043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8044         $(SET_LIB_PATH) \
8045         for flag in $(EXTRA_HOST_FLAGS); do \
8046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8047         done; \
8048         echo "Doing dvi in gnuserv" ; \
8049         (cd gnuserv && \
8050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8052                   "RANLIB=$${RANLIB}" \
8053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8054                   dvi) \
8055           || exit 1
8056
8057
8058 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8059 maybe-TAGS-gnuserv:
8060
8061 TAGS-gnuserv: \
8062     configure-gnuserv 
8063         @[ -f ./gnuserv/Makefile ] || exit 0; \
8064         r=`${PWD_COMMAND}`; export r; \
8065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066         $(SET_LIB_PATH) \
8067         for flag in $(EXTRA_HOST_FLAGS); do \
8068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8069         done; \
8070         echo "Doing TAGS in gnuserv" ; \
8071         (cd gnuserv && \
8072           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074                   "RANLIB=$${RANLIB}" \
8075                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8076                   TAGS) \
8077           || exit 1
8078
8079
8080 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8081 maybe-install-info-gnuserv:
8082
8083 install-info-gnuserv: \
8084     configure-gnuserv \
8085     info-gnuserv 
8086         @[ -f ./gnuserv/Makefile ] || exit 0; \
8087         r=`${PWD_COMMAND}`; export r; \
8088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089         $(SET_LIB_PATH) \
8090         for flag in $(EXTRA_HOST_FLAGS); do \
8091           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8092         done; \
8093         echo "Doing install-info in gnuserv" ; \
8094         (cd gnuserv && \
8095           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8096                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8097                   "RANLIB=$${RANLIB}" \
8098                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8099                   install-info) \
8100           || exit 1
8101
8102
8103 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8104 maybe-installcheck-gnuserv:
8105
8106 installcheck-gnuserv: \
8107     configure-gnuserv 
8108         @[ -f ./gnuserv/Makefile ] || exit 0; \
8109         r=`${PWD_COMMAND}`; export r; \
8110         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8111         $(SET_LIB_PATH) \
8112         for flag in $(EXTRA_HOST_FLAGS); do \
8113           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8114         done; \
8115         echo "Doing installcheck in gnuserv" ; \
8116         (cd gnuserv && \
8117           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8118                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8119                   "RANLIB=$${RANLIB}" \
8120                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8121                   installcheck) \
8122           || exit 1
8123
8124
8125 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
8126 maybe-mostlyclean-gnuserv:
8127
8128 mostlyclean-gnuserv: 
8129         @[ -f ./gnuserv/Makefile ] || exit 0; \
8130         r=`${PWD_COMMAND}`; export r; \
8131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132         $(SET_LIB_PATH) \
8133         for flag in $(EXTRA_HOST_FLAGS); do \
8134           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135         done; \
8136         echo "Doing mostlyclean in gnuserv" ; \
8137         (cd gnuserv && \
8138           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140                   "RANLIB=$${RANLIB}" \
8141                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8142                   mostlyclean) \
8143           || exit 1
8144
8145
8146 .PHONY: maybe-clean-gnuserv clean-gnuserv
8147 maybe-clean-gnuserv:
8148
8149 clean-gnuserv: 
8150         @[ -f ./gnuserv/Makefile ] || exit 0; \
8151         r=`${PWD_COMMAND}`; export r; \
8152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153         $(SET_LIB_PATH) \
8154         for flag in $(EXTRA_HOST_FLAGS); do \
8155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156         done; \
8157         echo "Doing clean in gnuserv" ; \
8158         (cd gnuserv && \
8159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161                   "RANLIB=$${RANLIB}" \
8162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163                   clean) \
8164           || exit 1
8165
8166
8167 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
8168 maybe-distclean-gnuserv:
8169
8170 distclean-gnuserv: 
8171         @[ -f ./gnuserv/Makefile ] || exit 0; \
8172         r=`${PWD_COMMAND}`; export r; \
8173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8174         $(SET_LIB_PATH) \
8175         for flag in $(EXTRA_HOST_FLAGS); do \
8176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177         done; \
8178         echo "Doing distclean in gnuserv" ; \
8179         (cd gnuserv && \
8180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182                   "RANLIB=$${RANLIB}" \
8183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8184                   distclean) \
8185           || exit 1
8186
8187
8188 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
8189 maybe-maintainer-clean-gnuserv:
8190
8191 maintainer-clean-gnuserv: 
8192         @[ -f ./gnuserv/Makefile ] || exit 0; \
8193         r=`${PWD_COMMAND}`; export r; \
8194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195         $(SET_LIB_PATH) \
8196         for flag in $(EXTRA_HOST_FLAGS); do \
8197           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198         done; \
8199         echo "Doing maintainer-clean in gnuserv" ; \
8200         (cd gnuserv && \
8201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203                   "RANLIB=$${RANLIB}" \
8204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8205                   maintainer-clean) \
8206           || exit 1
8207
8208
8209
8210 .PHONY: configure-gprof maybe-configure-gprof
8211 maybe-configure-gprof:
8212 configure-gprof:
8213         @test ! -f gprof/Makefile || exit 0; \
8214         [ -d gprof ] || mkdir gprof; \
8215         r=`${PWD_COMMAND}`; export r; \
8216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8217         CC="$(CC)"; export CC; \
8218         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8219         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8220         CXX="$(CXX)"; export CXX; \
8221         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8222         AR="$(AR)"; export AR; \
8223         AS="$(AS)"; export AS; \
8224         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8225         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8226         LD="$(LD)"; export LD; \
8227         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8228         NM="$(NM)"; export NM; \
8229         RANLIB="$(RANLIB)"; export RANLIB; \
8230         WINDRES="$(WINDRES)"; export WINDRES; \
8231         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8232         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8233         echo Configuring in gprof; \
8234         cd gprof || exit 1; \
8235         case $(srcdir) in \
8236           \.) \
8237             srcdiroption="--srcdir=."; \
8238             libsrcdir=".";; \
8239           /* | [A-Za-z]:[\\/]*) \
8240             srcdiroption="--srcdir=$(srcdir)/gprof"; \
8241             libsrcdir="$$s/gprof";; \
8242           *) \
8243             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
8244             libsrcdir="$$s/gprof";; \
8245         esac; \
8246         $(SHELL) $${libsrcdir}/configure \
8247           $(HOST_CONFIGARGS) $${srcdiroption} \
8248           || exit 1
8249
8250 .PHONY: all-gprof maybe-all-gprof
8251 maybe-all-gprof:
8252 all-gprof: configure-gprof
8253         @r=`${PWD_COMMAND}`; export r; \
8254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255         $(SET_LIB_PATH) \
8256         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
8257
8258 .PHONY: check-gprof maybe-check-gprof
8259 maybe-check-gprof:
8260
8261 check-gprof:
8262         @r=`${PWD_COMMAND}`; export r; \
8263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264         $(SET_LIB_PATH) \
8265         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
8266
8267
8268 .PHONY: install-gprof maybe-install-gprof
8269 maybe-install-gprof:
8270
8271 install-gprof: installdirs
8272         @r=`${PWD_COMMAND}`; export r; \
8273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274         $(SET_LIB_PATH) \
8275         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
8276
8277
8278 # Other targets (info, dvi, etc.)
8279
8280 .PHONY: maybe-info-gprof info-gprof
8281 maybe-info-gprof:
8282
8283 info-gprof: \
8284     configure-gprof 
8285         @[ -f ./gprof/Makefile ] || exit 0; \
8286         r=`${PWD_COMMAND}`; export r; \
8287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8288         $(SET_LIB_PATH) \
8289         for flag in $(EXTRA_HOST_FLAGS); do \
8290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291         done; \
8292         echo "Doing info in gprof" ; \
8293         (cd gprof && \
8294           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296                   "RANLIB=$${RANLIB}" \
8297                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8298                   info) \
8299           || exit 1
8300
8301
8302 .PHONY: maybe-dvi-gprof dvi-gprof
8303 maybe-dvi-gprof:
8304
8305 dvi-gprof: \
8306     configure-gprof 
8307         @[ -f ./gprof/Makefile ] || exit 0; \
8308         r=`${PWD_COMMAND}`; export r; \
8309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310         $(SET_LIB_PATH) \
8311         for flag in $(EXTRA_HOST_FLAGS); do \
8312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8313         done; \
8314         echo "Doing dvi in gprof" ; \
8315         (cd gprof && \
8316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8318                   "RANLIB=$${RANLIB}" \
8319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8320                   dvi) \
8321           || exit 1
8322
8323
8324 .PHONY: maybe-TAGS-gprof TAGS-gprof
8325 maybe-TAGS-gprof:
8326
8327 TAGS-gprof: \
8328     configure-gprof 
8329         @[ -f ./gprof/Makefile ] || exit 0; \
8330         r=`${PWD_COMMAND}`; export r; \
8331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8332         $(SET_LIB_PATH) \
8333         for flag in $(EXTRA_HOST_FLAGS); do \
8334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8335         done; \
8336         echo "Doing TAGS in gprof" ; \
8337         (cd gprof && \
8338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8340                   "RANLIB=$${RANLIB}" \
8341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8342                   TAGS) \
8343           || exit 1
8344
8345
8346 .PHONY: maybe-install-info-gprof install-info-gprof
8347 maybe-install-info-gprof:
8348
8349 install-info-gprof: \
8350     configure-gprof \
8351     info-gprof 
8352         @[ -f ./gprof/Makefile ] || exit 0; \
8353         r=`${PWD_COMMAND}`; export r; \
8354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355         $(SET_LIB_PATH) \
8356         for flag in $(EXTRA_HOST_FLAGS); do \
8357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8358         done; \
8359         echo "Doing install-info in gprof" ; \
8360         (cd gprof && \
8361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8363                   "RANLIB=$${RANLIB}" \
8364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8365                   install-info) \
8366           || exit 1
8367
8368
8369 .PHONY: maybe-installcheck-gprof installcheck-gprof
8370 maybe-installcheck-gprof:
8371
8372 installcheck-gprof: \
8373     configure-gprof 
8374         @[ -f ./gprof/Makefile ] || exit 0; \
8375         r=`${PWD_COMMAND}`; export r; \
8376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377         $(SET_LIB_PATH) \
8378         for flag in $(EXTRA_HOST_FLAGS); do \
8379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8380         done; \
8381         echo "Doing installcheck in gprof" ; \
8382         (cd gprof && \
8383           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8384                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8385                   "RANLIB=$${RANLIB}" \
8386                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8387                   installcheck) \
8388           || exit 1
8389
8390
8391 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
8392 maybe-mostlyclean-gprof:
8393
8394 mostlyclean-gprof: 
8395         @[ -f ./gprof/Makefile ] || exit 0; \
8396         r=`${PWD_COMMAND}`; export r; \
8397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398         $(SET_LIB_PATH) \
8399         for flag in $(EXTRA_HOST_FLAGS); do \
8400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8401         done; \
8402         echo "Doing mostlyclean in gprof" ; \
8403         (cd gprof && \
8404           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8405                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8406                   "RANLIB=$${RANLIB}" \
8407                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8408                   mostlyclean) \
8409           || exit 1
8410
8411
8412 .PHONY: maybe-clean-gprof clean-gprof
8413 maybe-clean-gprof:
8414
8415 clean-gprof: 
8416         @[ -f ./gprof/Makefile ] || exit 0; \
8417         r=`${PWD_COMMAND}`; export r; \
8418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8419         $(SET_LIB_PATH) \
8420         for flag in $(EXTRA_HOST_FLAGS); do \
8421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8422         done; \
8423         echo "Doing clean in gprof" ; \
8424         (cd gprof && \
8425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427                   "RANLIB=$${RANLIB}" \
8428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8429                   clean) \
8430           || exit 1
8431
8432
8433 .PHONY: maybe-distclean-gprof distclean-gprof
8434 maybe-distclean-gprof:
8435
8436 distclean-gprof: 
8437         @[ -f ./gprof/Makefile ] || exit 0; \
8438         r=`${PWD_COMMAND}`; export r; \
8439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8440         $(SET_LIB_PATH) \
8441         for flag in $(EXTRA_HOST_FLAGS); do \
8442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8443         done; \
8444         echo "Doing distclean in gprof" ; \
8445         (cd gprof && \
8446           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8447                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8448                   "RANLIB=$${RANLIB}" \
8449                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8450                   distclean) \
8451           || exit 1
8452
8453
8454 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
8455 maybe-maintainer-clean-gprof:
8456
8457 maintainer-clean-gprof: 
8458         @[ -f ./gprof/Makefile ] || exit 0; \
8459         r=`${PWD_COMMAND}`; export r; \
8460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8461         $(SET_LIB_PATH) \
8462         for flag in $(EXTRA_HOST_FLAGS); do \
8463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8464         done; \
8465         echo "Doing maintainer-clean in gprof" ; \
8466         (cd gprof && \
8467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8469                   "RANLIB=$${RANLIB}" \
8470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8471                   maintainer-clean) \
8472           || exit 1
8473
8474
8475
8476 .PHONY: configure-gzip maybe-configure-gzip
8477 maybe-configure-gzip:
8478 configure-gzip:
8479         @test ! -f gzip/Makefile || exit 0; \
8480         [ -d gzip ] || mkdir gzip; \
8481         r=`${PWD_COMMAND}`; export r; \
8482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483         CC="$(CC)"; export CC; \
8484         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8485         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8486         CXX="$(CXX)"; export CXX; \
8487         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8488         AR="$(AR)"; export AR; \
8489         AS="$(AS)"; export AS; \
8490         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8491         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8492         LD="$(LD)"; export LD; \
8493         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8494         NM="$(NM)"; export NM; \
8495         RANLIB="$(RANLIB)"; export RANLIB; \
8496         WINDRES="$(WINDRES)"; export WINDRES; \
8497         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8498         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8499         echo Configuring in gzip; \
8500         cd gzip || exit 1; \
8501         case $(srcdir) in \
8502           \.) \
8503             srcdiroption="--srcdir=."; \
8504             libsrcdir=".";; \
8505           /* | [A-Za-z]:[\\/]*) \
8506             srcdiroption="--srcdir=$(srcdir)/gzip"; \
8507             libsrcdir="$$s/gzip";; \
8508           *) \
8509             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
8510             libsrcdir="$$s/gzip";; \
8511         esac; \
8512         $(SHELL) $${libsrcdir}/configure \
8513           $(HOST_CONFIGARGS) $${srcdiroption} \
8514           || exit 1
8515
8516 .PHONY: all-gzip maybe-all-gzip
8517 maybe-all-gzip:
8518 all-gzip: configure-gzip
8519         @r=`${PWD_COMMAND}`; export r; \
8520         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8521         $(SET_LIB_PATH) \
8522         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
8523
8524 .PHONY: check-gzip maybe-check-gzip
8525 maybe-check-gzip:
8526
8527 check-gzip:
8528         @r=`${PWD_COMMAND}`; export r; \
8529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8530         $(SET_LIB_PATH) \
8531         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
8532
8533
8534 .PHONY: install-gzip maybe-install-gzip
8535 maybe-install-gzip:
8536
8537 install-gzip: installdirs
8538         @r=`${PWD_COMMAND}`; export r; \
8539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8540         $(SET_LIB_PATH) \
8541         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
8542
8543
8544 # Other targets (info, dvi, etc.)
8545
8546 .PHONY: maybe-info-gzip info-gzip
8547 maybe-info-gzip:
8548
8549 info-gzip: \
8550     configure-gzip 
8551         @[ -f ./gzip/Makefile ] || exit 0; \
8552         r=`${PWD_COMMAND}`; export r; \
8553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554         $(SET_LIB_PATH) \
8555         for flag in $(EXTRA_HOST_FLAGS); do \
8556           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557         done; \
8558         echo "Doing info in gzip" ; \
8559         (cd gzip && \
8560           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562                   "RANLIB=$${RANLIB}" \
8563                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8564                   info) \
8565           || exit 1
8566
8567
8568 .PHONY: maybe-dvi-gzip dvi-gzip
8569 maybe-dvi-gzip:
8570
8571 dvi-gzip: \
8572     configure-gzip 
8573         @[ -f ./gzip/Makefile ] || exit 0; \
8574         r=`${PWD_COMMAND}`; export r; \
8575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576         $(SET_LIB_PATH) \
8577         for flag in $(EXTRA_HOST_FLAGS); do \
8578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579         done; \
8580         echo "Doing dvi in gzip" ; \
8581         (cd gzip && \
8582           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584                   "RANLIB=$${RANLIB}" \
8585                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8586                   dvi) \
8587           || exit 1
8588
8589
8590 .PHONY: maybe-TAGS-gzip TAGS-gzip
8591 maybe-TAGS-gzip:
8592
8593 TAGS-gzip: \
8594     configure-gzip 
8595         @[ -f ./gzip/Makefile ] || exit 0; \
8596         r=`${PWD_COMMAND}`; export r; \
8597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8598         $(SET_LIB_PATH) \
8599         for flag in $(EXTRA_HOST_FLAGS); do \
8600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8601         done; \
8602         echo "Doing TAGS in gzip" ; \
8603         (cd gzip && \
8604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606                   "RANLIB=$${RANLIB}" \
8607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8608                   TAGS) \
8609           || exit 1
8610
8611
8612 .PHONY: maybe-install-info-gzip install-info-gzip
8613 maybe-install-info-gzip:
8614
8615 install-info-gzip: \
8616     configure-gzip \
8617     info-gzip 
8618         @[ -f ./gzip/Makefile ] || exit 0; \
8619         r=`${PWD_COMMAND}`; export r; \
8620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621         $(SET_LIB_PATH) \
8622         for flag in $(EXTRA_HOST_FLAGS); do \
8623           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8624         done; \
8625         echo "Doing install-info in gzip" ; \
8626         (cd gzip && \
8627           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8628                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8629                   "RANLIB=$${RANLIB}" \
8630                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8631                   install-info) \
8632           || exit 1
8633
8634
8635 .PHONY: maybe-installcheck-gzip installcheck-gzip
8636 maybe-installcheck-gzip:
8637
8638 installcheck-gzip: \
8639     configure-gzip 
8640         @[ -f ./gzip/Makefile ] || exit 0; \
8641         r=`${PWD_COMMAND}`; export r; \
8642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8643         $(SET_LIB_PATH) \
8644         for flag in $(EXTRA_HOST_FLAGS); do \
8645           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8646         done; \
8647         echo "Doing installcheck in gzip" ; \
8648         (cd gzip && \
8649           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8650                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8651                   "RANLIB=$${RANLIB}" \
8652                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8653                   installcheck) \
8654           || exit 1
8655
8656
8657 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
8658 maybe-mostlyclean-gzip:
8659
8660 mostlyclean-gzip: 
8661         @[ -f ./gzip/Makefile ] || exit 0; \
8662         r=`${PWD_COMMAND}`; export r; \
8663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664         $(SET_LIB_PATH) \
8665         for flag in $(EXTRA_HOST_FLAGS); do \
8666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667         done; \
8668         echo "Doing mostlyclean in gzip" ; \
8669         (cd gzip && \
8670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672                   "RANLIB=$${RANLIB}" \
8673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8674                   mostlyclean) \
8675           || exit 1
8676
8677
8678 .PHONY: maybe-clean-gzip clean-gzip
8679 maybe-clean-gzip:
8680
8681 clean-gzip: 
8682         @[ -f ./gzip/Makefile ] || exit 0; \
8683         r=`${PWD_COMMAND}`; export r; \
8684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8685         $(SET_LIB_PATH) \
8686         for flag in $(EXTRA_HOST_FLAGS); do \
8687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8688         done; \
8689         echo "Doing clean in gzip" ; \
8690         (cd gzip && \
8691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8693                   "RANLIB=$${RANLIB}" \
8694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8695                   clean) \
8696           || exit 1
8697
8698
8699 .PHONY: maybe-distclean-gzip distclean-gzip
8700 maybe-distclean-gzip:
8701
8702 distclean-gzip: 
8703         @[ -f ./gzip/Makefile ] || exit 0; \
8704         r=`${PWD_COMMAND}`; export r; \
8705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706         $(SET_LIB_PATH) \
8707         for flag in $(EXTRA_HOST_FLAGS); do \
8708           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709         done; \
8710         echo "Doing distclean in gzip" ; \
8711         (cd gzip && \
8712           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714                   "RANLIB=$${RANLIB}" \
8715                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716                   distclean) \
8717           || exit 1
8718
8719
8720 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
8721 maybe-maintainer-clean-gzip:
8722
8723 maintainer-clean-gzip: 
8724         @[ -f ./gzip/Makefile ] || exit 0; \
8725         r=`${PWD_COMMAND}`; export r; \
8726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727         $(SET_LIB_PATH) \
8728         for flag in $(EXTRA_HOST_FLAGS); do \
8729           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8730         done; \
8731         echo "Doing maintainer-clean in gzip" ; \
8732         (cd gzip && \
8733           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8734                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8735                   "RANLIB=$${RANLIB}" \
8736                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8737                   maintainer-clean) \
8738           || exit 1
8739
8740
8741
8742 .PHONY: configure-hello maybe-configure-hello
8743 maybe-configure-hello:
8744 configure-hello:
8745         @test ! -f hello/Makefile || exit 0; \
8746         [ -d hello ] || mkdir hello; \
8747         r=`${PWD_COMMAND}`; export r; \
8748         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749         CC="$(CC)"; export CC; \
8750         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8751         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8752         CXX="$(CXX)"; export CXX; \
8753         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8754         AR="$(AR)"; export AR; \
8755         AS="$(AS)"; export AS; \
8756         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8757         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8758         LD="$(LD)"; export LD; \
8759         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8760         NM="$(NM)"; export NM; \
8761         RANLIB="$(RANLIB)"; export RANLIB; \
8762         WINDRES="$(WINDRES)"; export WINDRES; \
8763         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8764         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8765         echo Configuring in hello; \
8766         cd hello || exit 1; \
8767         case $(srcdir) in \
8768           \.) \
8769             srcdiroption="--srcdir=."; \
8770             libsrcdir=".";; \
8771           /* | [A-Za-z]:[\\/]*) \
8772             srcdiroption="--srcdir=$(srcdir)/hello"; \
8773             libsrcdir="$$s/hello";; \
8774           *) \
8775             srcdiroption="--srcdir=../$(srcdir)/hello"; \
8776             libsrcdir="$$s/hello";; \
8777         esac; \
8778         $(SHELL) $${libsrcdir}/configure \
8779           $(HOST_CONFIGARGS) $${srcdiroption} \
8780           || exit 1
8781
8782 .PHONY: all-hello maybe-all-hello
8783 maybe-all-hello:
8784 all-hello: configure-hello
8785         @r=`${PWD_COMMAND}`; export r; \
8786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787         $(SET_LIB_PATH) \
8788         (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
8789
8790 .PHONY: check-hello maybe-check-hello
8791 maybe-check-hello:
8792
8793 check-hello:
8794         @r=`${PWD_COMMAND}`; export r; \
8795         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8796         $(SET_LIB_PATH) \
8797         (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
8798
8799
8800 .PHONY: install-hello maybe-install-hello
8801 maybe-install-hello:
8802
8803 install-hello: installdirs
8804         @r=`${PWD_COMMAND}`; export r; \
8805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8806         $(SET_LIB_PATH) \
8807         (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
8808
8809
8810 # Other targets (info, dvi, etc.)
8811
8812 .PHONY: maybe-info-hello info-hello
8813 maybe-info-hello:
8814
8815 info-hello: \
8816     configure-hello 
8817         @[ -f ./hello/Makefile ] || exit 0; \
8818         r=`${PWD_COMMAND}`; export r; \
8819         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8820         $(SET_LIB_PATH) \
8821         for flag in $(EXTRA_HOST_FLAGS); do \
8822           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8823         done; \
8824         echo "Doing info in hello" ; \
8825         (cd hello && \
8826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8828                   "RANLIB=$${RANLIB}" \
8829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8830                   info) \
8831           || exit 1
8832
8833
8834 .PHONY: maybe-dvi-hello dvi-hello
8835 maybe-dvi-hello:
8836
8837 dvi-hello: \
8838     configure-hello 
8839         @[ -f ./hello/Makefile ] || exit 0; \
8840         r=`${PWD_COMMAND}`; export r; \
8841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842         $(SET_LIB_PATH) \
8843         for flag in $(EXTRA_HOST_FLAGS); do \
8844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8845         done; \
8846         echo "Doing dvi in hello" ; \
8847         (cd hello && \
8848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8850                   "RANLIB=$${RANLIB}" \
8851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8852                   dvi) \
8853           || exit 1
8854
8855
8856 .PHONY: maybe-TAGS-hello TAGS-hello
8857 maybe-TAGS-hello:
8858
8859 TAGS-hello: \
8860     configure-hello 
8861         @[ -f ./hello/Makefile ] || exit 0; \
8862         r=`${PWD_COMMAND}`; export r; \
8863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864         $(SET_LIB_PATH) \
8865         for flag in $(EXTRA_HOST_FLAGS); do \
8866           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867         done; \
8868         echo "Doing TAGS in hello" ; \
8869         (cd hello && \
8870           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872                   "RANLIB=$${RANLIB}" \
8873                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8874                   TAGS) \
8875           || exit 1
8876
8877
8878 .PHONY: maybe-install-info-hello install-info-hello
8879 maybe-install-info-hello:
8880
8881 install-info-hello: \
8882     configure-hello \
8883     info-hello 
8884         @[ -f ./hello/Makefile ] || exit 0; \
8885         r=`${PWD_COMMAND}`; export r; \
8886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887         $(SET_LIB_PATH) \
8888         for flag in $(EXTRA_HOST_FLAGS); do \
8889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8890         done; \
8891         echo "Doing install-info in hello" ; \
8892         (cd hello && \
8893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895                   "RANLIB=$${RANLIB}" \
8896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8897                   install-info) \
8898           || exit 1
8899
8900
8901 .PHONY: maybe-installcheck-hello installcheck-hello
8902 maybe-installcheck-hello:
8903
8904 installcheck-hello: \
8905     configure-hello 
8906         @[ -f ./hello/Makefile ] || exit 0; \
8907         r=`${PWD_COMMAND}`; export r; \
8908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909         $(SET_LIB_PATH) \
8910         for flag in $(EXTRA_HOST_FLAGS); do \
8911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8912         done; \
8913         echo "Doing installcheck in hello" ; \
8914         (cd hello && \
8915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917                   "RANLIB=$${RANLIB}" \
8918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8919                   installcheck) \
8920           || exit 1
8921
8922
8923 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
8924 maybe-mostlyclean-hello:
8925
8926 mostlyclean-hello: 
8927         @[ -f ./hello/Makefile ] || exit 0; \
8928         r=`${PWD_COMMAND}`; export r; \
8929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930         $(SET_LIB_PATH) \
8931         for flag in $(EXTRA_HOST_FLAGS); do \
8932           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8933         done; \
8934         echo "Doing mostlyclean in hello" ; \
8935         (cd hello && \
8936           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8937                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8938                   "RANLIB=$${RANLIB}" \
8939                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8940                   mostlyclean) \
8941           || exit 1
8942
8943
8944 .PHONY: maybe-clean-hello clean-hello
8945 maybe-clean-hello:
8946
8947 clean-hello: 
8948         @[ -f ./hello/Makefile ] || exit 0; \
8949         r=`${PWD_COMMAND}`; export r; \
8950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8951         $(SET_LIB_PATH) \
8952         for flag in $(EXTRA_HOST_FLAGS); do \
8953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8954         done; \
8955         echo "Doing clean in hello" ; \
8956         (cd hello && \
8957           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959                   "RANLIB=$${RANLIB}" \
8960                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8961                   clean) \
8962           || exit 1
8963
8964
8965 .PHONY: maybe-distclean-hello distclean-hello
8966 maybe-distclean-hello:
8967
8968 distclean-hello: 
8969         @[ -f ./hello/Makefile ] || exit 0; \
8970         r=`${PWD_COMMAND}`; export r; \
8971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8972         $(SET_LIB_PATH) \
8973         for flag in $(EXTRA_HOST_FLAGS); do \
8974           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8975         done; \
8976         echo "Doing distclean in hello" ; \
8977         (cd hello && \
8978           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8979                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8980                   "RANLIB=$${RANLIB}" \
8981                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8982                   distclean) \
8983           || exit 1
8984
8985
8986 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
8987 maybe-maintainer-clean-hello:
8988
8989 maintainer-clean-hello: 
8990         @[ -f ./hello/Makefile ] || exit 0; \
8991         r=`${PWD_COMMAND}`; export r; \
8992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993         $(SET_LIB_PATH) \
8994         for flag in $(EXTRA_HOST_FLAGS); do \
8995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8996         done; \
8997         echo "Doing maintainer-clean in hello" ; \
8998         (cd hello && \
8999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9001                   "RANLIB=$${RANLIB}" \
9002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9003                   maintainer-clean) \
9004           || exit 1
9005
9006
9007
9008 .PHONY: configure-indent maybe-configure-indent
9009 maybe-configure-indent:
9010 configure-indent:
9011         @test ! -f indent/Makefile || exit 0; \
9012         [ -d indent ] || mkdir indent; \
9013         r=`${PWD_COMMAND}`; export r; \
9014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015         CC="$(CC)"; export CC; \
9016         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9017         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9018         CXX="$(CXX)"; export CXX; \
9019         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9020         AR="$(AR)"; export AR; \
9021         AS="$(AS)"; export AS; \
9022         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9023         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9024         LD="$(LD)"; export LD; \
9025         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9026         NM="$(NM)"; export NM; \
9027         RANLIB="$(RANLIB)"; export RANLIB; \
9028         WINDRES="$(WINDRES)"; export WINDRES; \
9029         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9030         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9031         echo Configuring in indent; \
9032         cd indent || exit 1; \
9033         case $(srcdir) in \
9034           \.) \
9035             srcdiroption="--srcdir=."; \
9036             libsrcdir=".";; \
9037           /* | [A-Za-z]:[\\/]*) \
9038             srcdiroption="--srcdir=$(srcdir)/indent"; \
9039             libsrcdir="$$s/indent";; \
9040           *) \
9041             srcdiroption="--srcdir=../$(srcdir)/indent"; \
9042             libsrcdir="$$s/indent";; \
9043         esac; \
9044         $(SHELL) $${libsrcdir}/configure \
9045           $(HOST_CONFIGARGS) $${srcdiroption} \
9046           || exit 1
9047
9048 .PHONY: all-indent maybe-all-indent
9049 maybe-all-indent:
9050 all-indent: configure-indent
9051         @r=`${PWD_COMMAND}`; export r; \
9052         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053         $(SET_LIB_PATH) \
9054         (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
9055
9056 .PHONY: check-indent maybe-check-indent
9057 maybe-check-indent:
9058
9059 check-indent:
9060         @r=`${PWD_COMMAND}`; export r; \
9061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9062         $(SET_LIB_PATH) \
9063         (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
9064
9065
9066 .PHONY: install-indent maybe-install-indent
9067 maybe-install-indent:
9068
9069 install-indent: installdirs
9070         @r=`${PWD_COMMAND}`; export r; \
9071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9072         $(SET_LIB_PATH) \
9073         (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
9074
9075
9076 # Other targets (info, dvi, etc.)
9077
9078 .PHONY: maybe-info-indent info-indent
9079 maybe-info-indent:
9080
9081 info-indent: \
9082     configure-indent 
9083         @[ -f ./indent/Makefile ] || exit 0; \
9084         r=`${PWD_COMMAND}`; export r; \
9085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086         $(SET_LIB_PATH) \
9087         for flag in $(EXTRA_HOST_FLAGS); do \
9088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9089         done; \
9090         echo "Doing info in indent" ; \
9091         (cd indent && \
9092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9094                   "RANLIB=$${RANLIB}" \
9095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9096                   info) \
9097           || exit 1
9098
9099
9100 .PHONY: maybe-dvi-indent dvi-indent
9101 maybe-dvi-indent:
9102
9103 dvi-indent: \
9104     configure-indent 
9105         @[ -f ./indent/Makefile ] || exit 0; \
9106         r=`${PWD_COMMAND}`; export r; \
9107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108         $(SET_LIB_PATH) \
9109         for flag in $(EXTRA_HOST_FLAGS); do \
9110           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111         done; \
9112         echo "Doing dvi in indent" ; \
9113         (cd indent && \
9114           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116                   "RANLIB=$${RANLIB}" \
9117                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118                   dvi) \
9119           || exit 1
9120
9121
9122 .PHONY: maybe-TAGS-indent TAGS-indent
9123 maybe-TAGS-indent:
9124
9125 TAGS-indent: \
9126     configure-indent 
9127         @[ -f ./indent/Makefile ] || exit 0; \
9128         r=`${PWD_COMMAND}`; export r; \
9129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130         $(SET_LIB_PATH) \
9131         for flag in $(EXTRA_HOST_FLAGS); do \
9132           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9133         done; \
9134         echo "Doing TAGS in indent" ; \
9135         (cd indent && \
9136           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9137                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9138                   "RANLIB=$${RANLIB}" \
9139                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9140                   TAGS) \
9141           || exit 1
9142
9143
9144 .PHONY: maybe-install-info-indent install-info-indent
9145 maybe-install-info-indent:
9146
9147 install-info-indent: \
9148     configure-indent \
9149     info-indent 
9150         @[ -f ./indent/Makefile ] || exit 0; \
9151         r=`${PWD_COMMAND}`; export r; \
9152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153         $(SET_LIB_PATH) \
9154         for flag in $(EXTRA_HOST_FLAGS); do \
9155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156         done; \
9157         echo "Doing install-info in indent" ; \
9158         (cd indent && \
9159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161                   "RANLIB=$${RANLIB}" \
9162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9163                   install-info) \
9164           || exit 1
9165
9166
9167 .PHONY: maybe-installcheck-indent installcheck-indent
9168 maybe-installcheck-indent:
9169
9170 installcheck-indent: \
9171     configure-indent 
9172         @[ -f ./indent/Makefile ] || exit 0; \
9173         r=`${PWD_COMMAND}`; export r; \
9174         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9175         $(SET_LIB_PATH) \
9176         for flag in $(EXTRA_HOST_FLAGS); do \
9177           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9178         done; \
9179         echo "Doing installcheck in indent" ; \
9180         (cd indent && \
9181           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183                   "RANLIB=$${RANLIB}" \
9184                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9185                   installcheck) \
9186           || exit 1
9187
9188
9189 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
9190 maybe-mostlyclean-indent:
9191
9192 mostlyclean-indent: 
9193         @[ -f ./indent/Makefile ] || exit 0; \
9194         r=`${PWD_COMMAND}`; export r; \
9195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196         $(SET_LIB_PATH) \
9197         for flag in $(EXTRA_HOST_FLAGS); do \
9198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9199         done; \
9200         echo "Doing mostlyclean in indent" ; \
9201         (cd indent && \
9202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9204                   "RANLIB=$${RANLIB}" \
9205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9206                   mostlyclean) \
9207           || exit 1
9208
9209
9210 .PHONY: maybe-clean-indent clean-indent
9211 maybe-clean-indent:
9212
9213 clean-indent: 
9214         @[ -f ./indent/Makefile ] || exit 0; \
9215         r=`${PWD_COMMAND}`; export r; \
9216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217         $(SET_LIB_PATH) \
9218         for flag in $(EXTRA_HOST_FLAGS); do \
9219           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9220         done; \
9221         echo "Doing clean in indent" ; \
9222         (cd indent && \
9223           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9224                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9225                   "RANLIB=$${RANLIB}" \
9226                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9227                   clean) \
9228           || exit 1
9229
9230
9231 .PHONY: maybe-distclean-indent distclean-indent
9232 maybe-distclean-indent:
9233
9234 distclean-indent: 
9235         @[ -f ./indent/Makefile ] || exit 0; \
9236         r=`${PWD_COMMAND}`; export r; \
9237         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9238         $(SET_LIB_PATH) \
9239         for flag in $(EXTRA_HOST_FLAGS); do \
9240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9241         done; \
9242         echo "Doing distclean in indent" ; \
9243         (cd indent && \
9244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9246                   "RANLIB=$${RANLIB}" \
9247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9248                   distclean) \
9249           || exit 1
9250
9251
9252 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
9253 maybe-maintainer-clean-indent:
9254
9255 maintainer-clean-indent: 
9256         @[ -f ./indent/Makefile ] || exit 0; \
9257         r=`${PWD_COMMAND}`; export r; \
9258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259         $(SET_LIB_PATH) \
9260         for flag in $(EXTRA_HOST_FLAGS); do \
9261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9262         done; \
9263         echo "Doing maintainer-clean in indent" ; \
9264         (cd indent && \
9265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9267                   "RANLIB=$${RANLIB}" \
9268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9269                   maintainer-clean) \
9270           || exit 1
9271
9272
9273
9274 .PHONY: configure-intl maybe-configure-intl
9275 maybe-configure-intl:
9276 configure-intl:
9277         @test ! -f intl/Makefile || exit 0; \
9278         [ -d intl ] || mkdir intl; \
9279         r=`${PWD_COMMAND}`; export r; \
9280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281         CC="$(CC)"; export CC; \
9282         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9283         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9284         CXX="$(CXX)"; export CXX; \
9285         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9286         AR="$(AR)"; export AR; \
9287         AS="$(AS)"; export AS; \
9288         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9289         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9290         LD="$(LD)"; export LD; \
9291         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9292         NM="$(NM)"; export NM; \
9293         RANLIB="$(RANLIB)"; export RANLIB; \
9294         WINDRES="$(WINDRES)"; export WINDRES; \
9295         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9296         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9297         echo Configuring in intl; \
9298         cd intl || exit 1; \
9299         case $(srcdir) in \
9300           \.) \
9301             srcdiroption="--srcdir=."; \
9302             libsrcdir=".";; \
9303           /* | [A-Za-z]:[\\/]*) \
9304             srcdiroption="--srcdir=$(srcdir)/intl"; \
9305             libsrcdir="$$s/intl";; \
9306           *) \
9307             srcdiroption="--srcdir=../$(srcdir)/intl"; \
9308             libsrcdir="$$s/intl";; \
9309         esac; \
9310         $(SHELL) $${libsrcdir}/configure \
9311           $(HOST_CONFIGARGS) $${srcdiroption} \
9312           || exit 1
9313
9314 .PHONY: all-intl maybe-all-intl
9315 maybe-all-intl:
9316 all-intl: configure-intl
9317         @r=`${PWD_COMMAND}`; export r; \
9318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9319         $(SET_LIB_PATH) \
9320         (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
9321
9322 .PHONY: check-intl maybe-check-intl
9323 maybe-check-intl:
9324
9325 check-intl:
9326         @r=`${PWD_COMMAND}`; export r; \
9327         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328         $(SET_LIB_PATH) \
9329         (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
9330
9331
9332 .PHONY: install-intl maybe-install-intl
9333 maybe-install-intl:
9334
9335 install-intl: installdirs
9336         @r=`${PWD_COMMAND}`; export r; \
9337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338         $(SET_LIB_PATH) \
9339         (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
9340
9341
9342 # Other targets (info, dvi, etc.)
9343
9344 .PHONY: maybe-info-intl info-intl
9345 maybe-info-intl:
9346
9347 info-intl: \
9348     configure-intl 
9349         @[ -f ./intl/Makefile ] || exit 0; \
9350         r=`${PWD_COMMAND}`; export r; \
9351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352         $(SET_LIB_PATH) \
9353         for flag in $(EXTRA_HOST_FLAGS); do \
9354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355         done; \
9356         echo "Doing info in intl" ; \
9357         (cd intl && \
9358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360                   "RANLIB=$${RANLIB}" \
9361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9362                   info) \
9363           || exit 1
9364
9365
9366 .PHONY: maybe-dvi-intl dvi-intl
9367 maybe-dvi-intl:
9368
9369 dvi-intl: \
9370     configure-intl 
9371         @[ -f ./intl/Makefile ] || exit 0; \
9372         r=`${PWD_COMMAND}`; export r; \
9373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374         $(SET_LIB_PATH) \
9375         for flag in $(EXTRA_HOST_FLAGS); do \
9376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9377         done; \
9378         echo "Doing dvi in intl" ; \
9379         (cd intl && \
9380           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9381                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9382                   "RANLIB=$${RANLIB}" \
9383                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9384                   dvi) \
9385           || exit 1
9386
9387
9388 .PHONY: maybe-TAGS-intl TAGS-intl
9389 maybe-TAGS-intl:
9390
9391 TAGS-intl: \
9392     configure-intl 
9393         @[ -f ./intl/Makefile ] || exit 0; \
9394         r=`${PWD_COMMAND}`; export r; \
9395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396         $(SET_LIB_PATH) \
9397         for flag in $(EXTRA_HOST_FLAGS); do \
9398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9399         done; \
9400         echo "Doing TAGS in intl" ; \
9401         (cd intl && \
9402           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9403                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9404                   "RANLIB=$${RANLIB}" \
9405                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9406                   TAGS) \
9407           || exit 1
9408
9409
9410 .PHONY: maybe-install-info-intl install-info-intl
9411 maybe-install-info-intl:
9412
9413 install-info-intl: \
9414     configure-intl \
9415     info-intl 
9416         @[ -f ./intl/Makefile ] || exit 0; \
9417         r=`${PWD_COMMAND}`; export r; \
9418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9419         $(SET_LIB_PATH) \
9420         for flag in $(EXTRA_HOST_FLAGS); do \
9421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9422         done; \
9423         echo "Doing install-info in intl" ; \
9424         (cd intl && \
9425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9427                   "RANLIB=$${RANLIB}" \
9428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9429                   install-info) \
9430           || exit 1
9431
9432
9433 .PHONY: maybe-installcheck-intl installcheck-intl
9434 maybe-installcheck-intl:
9435
9436 installcheck-intl: \
9437     configure-intl 
9438         @[ -f ./intl/Makefile ] || exit 0; \
9439         r=`${PWD_COMMAND}`; export r; \
9440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9441         $(SET_LIB_PATH) \
9442         for flag in $(EXTRA_HOST_FLAGS); do \
9443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9444         done; \
9445         echo "Doing installcheck in intl" ; \
9446         (cd intl && \
9447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9449                   "RANLIB=$${RANLIB}" \
9450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9451                   installcheck) \
9452           || exit 1
9453
9454
9455 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
9456 maybe-mostlyclean-intl:
9457
9458 mostlyclean-intl: 
9459         @[ -f ./intl/Makefile ] || exit 0; \
9460         r=`${PWD_COMMAND}`; export r; \
9461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462         $(SET_LIB_PATH) \
9463         for flag in $(EXTRA_HOST_FLAGS); do \
9464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9465         done; \
9466         echo "Doing mostlyclean in intl" ; \
9467         (cd intl && \
9468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9470                   "RANLIB=$${RANLIB}" \
9471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9472                   mostlyclean) \
9473           || exit 1
9474
9475
9476 .PHONY: maybe-clean-intl clean-intl
9477 maybe-clean-intl:
9478
9479 clean-intl: 
9480         @[ -f ./intl/Makefile ] || exit 0; \
9481         r=`${PWD_COMMAND}`; export r; \
9482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9483         $(SET_LIB_PATH) \
9484         for flag in $(EXTRA_HOST_FLAGS); do \
9485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9486         done; \
9487         echo "Doing clean in intl" ; \
9488         (cd intl && \
9489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491                   "RANLIB=$${RANLIB}" \
9492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9493                   clean) \
9494           || exit 1
9495
9496
9497 .PHONY: maybe-distclean-intl distclean-intl
9498 maybe-distclean-intl:
9499
9500 distclean-intl: 
9501         @[ -f ./intl/Makefile ] || exit 0; \
9502         r=`${PWD_COMMAND}`; export r; \
9503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504         $(SET_LIB_PATH) \
9505         for flag in $(EXTRA_HOST_FLAGS); do \
9506           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9507         done; \
9508         echo "Doing distclean in intl" ; \
9509         (cd intl && \
9510           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9511                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9512                   "RANLIB=$${RANLIB}" \
9513                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9514                   distclean) \
9515           || exit 1
9516
9517
9518 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
9519 maybe-maintainer-clean-intl:
9520
9521 maintainer-clean-intl: 
9522         @[ -f ./intl/Makefile ] || exit 0; \
9523         r=`${PWD_COMMAND}`; export r; \
9524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525         $(SET_LIB_PATH) \
9526         for flag in $(EXTRA_HOST_FLAGS); do \
9527           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9528         done; \
9529         echo "Doing maintainer-clean in intl" ; \
9530         (cd intl && \
9531           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9532                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9533                   "RANLIB=$${RANLIB}" \
9534                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9535                   maintainer-clean) \
9536           || exit 1
9537
9538
9539
9540 .PHONY: configure-tcl maybe-configure-tcl
9541 maybe-configure-tcl:
9542 configure-tcl:
9543         @test ! -f tcl/Makefile || exit 0; \
9544         [ -d tcl ] || mkdir tcl; \
9545         r=`${PWD_COMMAND}`; export r; \
9546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547         CC="$(CC)"; export CC; \
9548         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9549         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9550         CXX="$(CXX)"; export CXX; \
9551         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9552         AR="$(AR)"; export AR; \
9553         AS="$(AS)"; export AS; \
9554         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9555         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9556         LD="$(LD)"; export LD; \
9557         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9558         NM="$(NM)"; export NM; \
9559         RANLIB="$(RANLIB)"; export RANLIB; \
9560         WINDRES="$(WINDRES)"; export WINDRES; \
9561         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9562         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9563         echo Configuring in tcl; \
9564         cd tcl || exit 1; \
9565         case $(srcdir) in \
9566           \.) \
9567             srcdiroption="--srcdir=."; \
9568             libsrcdir=".";; \
9569           /* | [A-Za-z]:[\\/]*) \
9570             srcdiroption="--srcdir=$(srcdir)/tcl"; \
9571             libsrcdir="$$s/tcl";; \
9572           *) \
9573             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
9574             libsrcdir="$$s/tcl";; \
9575         esac; \
9576         $(SHELL) $${libsrcdir}/configure \
9577           $(HOST_CONFIGARGS) $${srcdiroption} \
9578           || exit 1
9579
9580 .PHONY: all-tcl maybe-all-tcl
9581 maybe-all-tcl:
9582 all-tcl: configure-tcl
9583         @r=`${PWD_COMMAND}`; export r; \
9584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585         $(SET_LIB_PATH) \
9586         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
9587
9588 .PHONY: check-tcl maybe-check-tcl
9589 maybe-check-tcl:
9590
9591 check-tcl:
9592         @r=`${PWD_COMMAND}`; export r; \
9593         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9594         $(SET_LIB_PATH) \
9595         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
9596
9597
9598 .PHONY: install-tcl maybe-install-tcl
9599 maybe-install-tcl:
9600
9601 install-tcl: installdirs
9602         @r=`${PWD_COMMAND}`; export r; \
9603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9604         $(SET_LIB_PATH) \
9605         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
9606
9607
9608 # Other targets (info, dvi, etc.)
9609
9610 .PHONY: maybe-info-tcl info-tcl
9611 maybe-info-tcl:
9612
9613 info-tcl: \
9614     configure-tcl 
9615         @[ -f ./tcl/Makefile ] || exit 0; \
9616         r=`${PWD_COMMAND}`; export r; \
9617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618         $(SET_LIB_PATH) \
9619         for flag in $(EXTRA_HOST_FLAGS); do \
9620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621         done; \
9622         echo "Doing info in tcl" ; \
9623         (cd tcl && \
9624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626                   "RANLIB=$${RANLIB}" \
9627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9628                   info) \
9629           || exit 1
9630
9631
9632 .PHONY: maybe-dvi-tcl dvi-tcl
9633 maybe-dvi-tcl:
9634
9635 dvi-tcl: \
9636     configure-tcl 
9637         @[ -f ./tcl/Makefile ] || exit 0; \
9638         r=`${PWD_COMMAND}`; export r; \
9639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640         $(SET_LIB_PATH) \
9641         for flag in $(EXTRA_HOST_FLAGS); do \
9642           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9643         done; \
9644         echo "Doing dvi in tcl" ; \
9645         (cd tcl && \
9646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9648                   "RANLIB=$${RANLIB}" \
9649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9650                   dvi) \
9651           || exit 1
9652
9653
9654 .PHONY: maybe-TAGS-tcl TAGS-tcl
9655 maybe-TAGS-tcl:
9656
9657 TAGS-tcl: \
9658     configure-tcl 
9659         @[ -f ./tcl/Makefile ] || exit 0; \
9660         r=`${PWD_COMMAND}`; export r; \
9661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9662         $(SET_LIB_PATH) \
9663         for flag in $(EXTRA_HOST_FLAGS); do \
9664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9665         done; \
9666         echo "Doing TAGS in tcl" ; \
9667         (cd tcl && \
9668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670                   "RANLIB=$${RANLIB}" \
9671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9672                   TAGS) \
9673           || exit 1
9674
9675
9676 .PHONY: maybe-install-info-tcl install-info-tcl
9677 maybe-install-info-tcl:
9678
9679 install-info-tcl: \
9680     configure-tcl \
9681     info-tcl 
9682         @[ -f ./tcl/Makefile ] || exit 0; \
9683         r=`${PWD_COMMAND}`; export r; \
9684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685         $(SET_LIB_PATH) \
9686         for flag in $(EXTRA_HOST_FLAGS); do \
9687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9688         done; \
9689         echo "Doing install-info in tcl" ; \
9690         (cd tcl && \
9691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693                   "RANLIB=$${RANLIB}" \
9694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9695                   install-info) \
9696           || exit 1
9697
9698
9699 .PHONY: maybe-installcheck-tcl installcheck-tcl
9700 maybe-installcheck-tcl:
9701
9702 installcheck-tcl: \
9703     configure-tcl 
9704         @[ -f ./tcl/Makefile ] || exit 0; \
9705         r=`${PWD_COMMAND}`; export r; \
9706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707         $(SET_LIB_PATH) \
9708         for flag in $(EXTRA_HOST_FLAGS); do \
9709           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710         done; \
9711         echo "Doing installcheck in tcl" ; \
9712         (cd tcl && \
9713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715                   "RANLIB=$${RANLIB}" \
9716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9717                   installcheck) \
9718           || exit 1
9719
9720
9721 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
9722 maybe-mostlyclean-tcl:
9723
9724 # tcl doesn't support mostlyclean.
9725 mostlyclean-tcl:
9726
9727
9728 .PHONY: maybe-clean-tcl clean-tcl
9729 maybe-clean-tcl:
9730
9731 clean-tcl: 
9732         @[ -f ./tcl/Makefile ] || exit 0; \
9733         r=`${PWD_COMMAND}`; export r; \
9734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9735         $(SET_LIB_PATH) \
9736         for flag in $(EXTRA_HOST_FLAGS); do \
9737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9738         done; \
9739         echo "Doing clean in tcl" ; \
9740         (cd tcl && \
9741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743                   "RANLIB=$${RANLIB}" \
9744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9745                   clean) \
9746           || exit 1
9747
9748
9749 .PHONY: maybe-distclean-tcl distclean-tcl
9750 maybe-distclean-tcl:
9751
9752 distclean-tcl: 
9753         @[ -f ./tcl/Makefile ] || exit 0; \
9754         r=`${PWD_COMMAND}`; export r; \
9755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756         $(SET_LIB_PATH) \
9757         for flag in $(EXTRA_HOST_FLAGS); do \
9758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9759         done; \
9760         echo "Doing distclean in tcl" ; \
9761         (cd tcl && \
9762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9764                   "RANLIB=$${RANLIB}" \
9765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9766                   distclean) \
9767           || exit 1
9768
9769
9770 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
9771 maybe-maintainer-clean-tcl:
9772
9773 maintainer-clean-tcl: 
9774         @[ -f ./tcl/Makefile ] || exit 0; \
9775         r=`${PWD_COMMAND}`; export r; \
9776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777         $(SET_LIB_PATH) \
9778         for flag in $(EXTRA_HOST_FLAGS); do \
9779           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780         done; \
9781         echo "Doing maintainer-clean in tcl" ; \
9782         (cd tcl && \
9783           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785                   "RANLIB=$${RANLIB}" \
9786                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9787                   maintainer-clean) \
9788           || exit 1
9789
9790
9791
9792 .PHONY: configure-itcl maybe-configure-itcl
9793 maybe-configure-itcl:
9794 configure-itcl:
9795         @test ! -f itcl/Makefile || exit 0; \
9796         [ -d itcl ] || mkdir itcl; \
9797         r=`${PWD_COMMAND}`; export r; \
9798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9799         CC="$(CC)"; export CC; \
9800         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9801         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9802         CXX="$(CXX)"; export CXX; \
9803         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9804         AR="$(AR)"; export AR; \
9805         AS="$(AS)"; export AS; \
9806         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9807         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9808         LD="$(LD)"; export LD; \
9809         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9810         NM="$(NM)"; export NM; \
9811         RANLIB="$(RANLIB)"; export RANLIB; \
9812         WINDRES="$(WINDRES)"; export WINDRES; \
9813         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9814         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9815         echo Configuring in itcl; \
9816         cd itcl || exit 1; \
9817         case $(srcdir) in \
9818           \.) \
9819             srcdiroption="--srcdir=."; \
9820             libsrcdir=".";; \
9821           /* | [A-Za-z]:[\\/]*) \
9822             srcdiroption="--srcdir=$(srcdir)/itcl"; \
9823             libsrcdir="$$s/itcl";; \
9824           *) \
9825             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
9826             libsrcdir="$$s/itcl";; \
9827         esac; \
9828         $(SHELL) $${libsrcdir}/configure \
9829           $(HOST_CONFIGARGS) $${srcdiroption} \
9830           || exit 1
9831
9832 .PHONY: all-itcl maybe-all-itcl
9833 maybe-all-itcl:
9834 all-itcl: configure-itcl
9835         @r=`${PWD_COMMAND}`; export r; \
9836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837         $(SET_LIB_PATH) \
9838         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
9839
9840 .PHONY: check-itcl maybe-check-itcl
9841 maybe-check-itcl:
9842
9843 check-itcl:
9844         @r=`${PWD_COMMAND}`; export r; \
9845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9846         $(SET_LIB_PATH) \
9847         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
9848
9849
9850 .PHONY: install-itcl maybe-install-itcl
9851 maybe-install-itcl:
9852
9853 install-itcl: installdirs
9854         @r=`${PWD_COMMAND}`; export r; \
9855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856         $(SET_LIB_PATH) \
9857         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
9858
9859
9860 # Other targets (info, dvi, etc.)
9861
9862 .PHONY: maybe-info-itcl info-itcl
9863 maybe-info-itcl:
9864
9865 info-itcl: \
9866     configure-itcl 
9867         @[ -f ./itcl/Makefile ] || exit 0; \
9868         r=`${PWD_COMMAND}`; export r; \
9869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870         $(SET_LIB_PATH) \
9871         for flag in $(EXTRA_HOST_FLAGS); do \
9872           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873         done; \
9874         echo "Doing info in itcl" ; \
9875         (cd itcl && \
9876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9878                   "RANLIB=$${RANLIB}" \
9879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9880                   info) \
9881           || exit 1
9882
9883
9884 .PHONY: maybe-dvi-itcl dvi-itcl
9885 maybe-dvi-itcl:
9886
9887 dvi-itcl: \
9888     configure-itcl 
9889         @[ -f ./itcl/Makefile ] || exit 0; \
9890         r=`${PWD_COMMAND}`; export r; \
9891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892         $(SET_LIB_PATH) \
9893         for flag in $(EXTRA_HOST_FLAGS); do \
9894           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9895         done; \
9896         echo "Doing dvi in itcl" ; \
9897         (cd itcl && \
9898           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9899                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9900                   "RANLIB=$${RANLIB}" \
9901                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9902                   dvi) \
9903           || exit 1
9904
9905
9906 .PHONY: maybe-TAGS-itcl TAGS-itcl
9907 maybe-TAGS-itcl:
9908
9909 TAGS-itcl: \
9910     configure-itcl 
9911         @[ -f ./itcl/Makefile ] || exit 0; \
9912         r=`${PWD_COMMAND}`; export r; \
9913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9914         $(SET_LIB_PATH) \
9915         for flag in $(EXTRA_HOST_FLAGS); do \
9916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917         done; \
9918         echo "Doing TAGS in itcl" ; \
9919         (cd itcl && \
9920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922                   "RANLIB=$${RANLIB}" \
9923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924                   TAGS) \
9925           || exit 1
9926
9927
9928 .PHONY: maybe-install-info-itcl install-info-itcl
9929 maybe-install-info-itcl:
9930
9931 install-info-itcl: \
9932     configure-itcl \
9933     info-itcl 
9934         @[ -f ./itcl/Makefile ] || exit 0; \
9935         r=`${PWD_COMMAND}`; export r; \
9936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9937         $(SET_LIB_PATH) \
9938         for flag in $(EXTRA_HOST_FLAGS); do \
9939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9940         done; \
9941         echo "Doing install-info in itcl" ; \
9942         (cd itcl && \
9943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945                   "RANLIB=$${RANLIB}" \
9946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9947                   install-info) \
9948           || exit 1
9949
9950
9951 .PHONY: maybe-installcheck-itcl installcheck-itcl
9952 maybe-installcheck-itcl:
9953
9954 installcheck-itcl: \
9955     configure-itcl 
9956         @[ -f ./itcl/Makefile ] || exit 0; \
9957         r=`${PWD_COMMAND}`; export r; \
9958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959         $(SET_LIB_PATH) \
9960         for flag in $(EXTRA_HOST_FLAGS); do \
9961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9962         done; \
9963         echo "Doing installcheck in itcl" ; \
9964         (cd itcl && \
9965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9967                   "RANLIB=$${RANLIB}" \
9968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9969                   installcheck) \
9970           || exit 1
9971
9972
9973 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
9974 maybe-mostlyclean-itcl:
9975
9976 mostlyclean-itcl: 
9977         @[ -f ./itcl/Makefile ] || exit 0; \
9978         r=`${PWD_COMMAND}`; export r; \
9979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980         $(SET_LIB_PATH) \
9981         for flag in $(EXTRA_HOST_FLAGS); do \
9982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9983         done; \
9984         echo "Doing mostlyclean in itcl" ; \
9985         (cd itcl && \
9986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9988                   "RANLIB=$${RANLIB}" \
9989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9990                   mostlyclean) \
9991           || exit 1
9992
9993
9994 .PHONY: maybe-clean-itcl clean-itcl
9995 maybe-clean-itcl:
9996
9997 clean-itcl: 
9998         @[ -f ./itcl/Makefile ] || exit 0; \
9999         r=`${PWD_COMMAND}`; export r; \
10000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001         $(SET_LIB_PATH) \
10002         for flag in $(EXTRA_HOST_FLAGS); do \
10003           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004         done; \
10005         echo "Doing clean in itcl" ; \
10006         (cd itcl && \
10007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009                   "RANLIB=$${RANLIB}" \
10010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011                   clean) \
10012           || exit 1
10013
10014
10015 .PHONY: maybe-distclean-itcl distclean-itcl
10016 maybe-distclean-itcl:
10017
10018 distclean-itcl: 
10019         @[ -f ./itcl/Makefile ] || exit 0; \
10020         r=`${PWD_COMMAND}`; export r; \
10021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10022         $(SET_LIB_PATH) \
10023         for flag in $(EXTRA_HOST_FLAGS); do \
10024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10025         done; \
10026         echo "Doing distclean in itcl" ; \
10027         (cd itcl && \
10028           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10029                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10030                   "RANLIB=$${RANLIB}" \
10031                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10032                   distclean) \
10033           || exit 1
10034
10035
10036 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
10037 maybe-maintainer-clean-itcl:
10038
10039 maintainer-clean-itcl: 
10040         @[ -f ./itcl/Makefile ] || exit 0; \
10041         r=`${PWD_COMMAND}`; export r; \
10042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10043         $(SET_LIB_PATH) \
10044         for flag in $(EXTRA_HOST_FLAGS); do \
10045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10046         done; \
10047         echo "Doing maintainer-clean in itcl" ; \
10048         (cd itcl && \
10049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10051                   "RANLIB=$${RANLIB}" \
10052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10053                   maintainer-clean) \
10054           || exit 1
10055
10056
10057
10058 .PHONY: configure-ld maybe-configure-ld
10059 maybe-configure-ld:
10060 configure-ld:
10061         @test ! -f ld/Makefile || exit 0; \
10062         [ -d ld ] || mkdir ld; \
10063         r=`${PWD_COMMAND}`; export r; \
10064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065         CC="$(CC)"; export CC; \
10066         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10067         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10068         CXX="$(CXX)"; export CXX; \
10069         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10070         AR="$(AR)"; export AR; \
10071         AS="$(AS)"; export AS; \
10072         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10073         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10074         LD="$(LD)"; export LD; \
10075         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10076         NM="$(NM)"; export NM; \
10077         RANLIB="$(RANLIB)"; export RANLIB; \
10078         WINDRES="$(WINDRES)"; export WINDRES; \
10079         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10080         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10081         echo Configuring in ld; \
10082         cd ld || exit 1; \
10083         case $(srcdir) in \
10084           \.) \
10085             srcdiroption="--srcdir=."; \
10086             libsrcdir=".";; \
10087           /* | [A-Za-z]:[\\/]*) \
10088             srcdiroption="--srcdir=$(srcdir)/ld"; \
10089             libsrcdir="$$s/ld";; \
10090           *) \
10091             srcdiroption="--srcdir=../$(srcdir)/ld"; \
10092             libsrcdir="$$s/ld";; \
10093         esac; \
10094         $(SHELL) $${libsrcdir}/configure \
10095           $(HOST_CONFIGARGS) $${srcdiroption} \
10096           || exit 1
10097
10098 .PHONY: all-ld maybe-all-ld
10099 maybe-all-ld:
10100 all-ld: configure-ld
10101         @r=`${PWD_COMMAND}`; export r; \
10102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10103         $(SET_LIB_PATH) \
10104         (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
10105
10106 .PHONY: check-ld maybe-check-ld
10107 maybe-check-ld:
10108
10109 check-ld:
10110         @r=`${PWD_COMMAND}`; export r; \
10111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112         $(SET_LIB_PATH) \
10113         (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
10114
10115
10116 .PHONY: install-ld maybe-install-ld
10117 maybe-install-ld:
10118
10119 install-ld: installdirs
10120         @r=`${PWD_COMMAND}`; export r; \
10121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122         $(SET_LIB_PATH) \
10123         (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
10124
10125
10126 # Other targets (info, dvi, etc.)
10127
10128 .PHONY: maybe-info-ld info-ld
10129 maybe-info-ld:
10130
10131 info-ld: \
10132     configure-ld 
10133         @[ -f ./ld/Makefile ] || exit 0; \
10134         r=`${PWD_COMMAND}`; export r; \
10135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136         $(SET_LIB_PATH) \
10137         for flag in $(EXTRA_HOST_FLAGS); do \
10138           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139         done; \
10140         echo "Doing info in ld" ; \
10141         (cd ld && \
10142           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144                   "RANLIB=$${RANLIB}" \
10145                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10146                   info) \
10147           || exit 1
10148
10149
10150 .PHONY: maybe-dvi-ld dvi-ld
10151 maybe-dvi-ld:
10152
10153 dvi-ld: \
10154     configure-ld 
10155         @[ -f ./ld/Makefile ] || exit 0; \
10156         r=`${PWD_COMMAND}`; export r; \
10157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158         $(SET_LIB_PATH) \
10159         for flag in $(EXTRA_HOST_FLAGS); do \
10160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10161         done; \
10162         echo "Doing dvi in ld" ; \
10163         (cd ld && \
10164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10166                   "RANLIB=$${RANLIB}" \
10167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10168                   dvi) \
10169           || exit 1
10170
10171
10172 .PHONY: maybe-TAGS-ld TAGS-ld
10173 maybe-TAGS-ld:
10174
10175 TAGS-ld: \
10176     configure-ld 
10177         @[ -f ./ld/Makefile ] || exit 0; \
10178         r=`${PWD_COMMAND}`; export r; \
10179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10180         $(SET_LIB_PATH) \
10181         for flag in $(EXTRA_HOST_FLAGS); do \
10182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10183         done; \
10184         echo "Doing TAGS in ld" ; \
10185         (cd ld && \
10186           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10187                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10188                   "RANLIB=$${RANLIB}" \
10189                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10190                   TAGS) \
10191           || exit 1
10192
10193
10194 .PHONY: maybe-install-info-ld install-info-ld
10195 maybe-install-info-ld:
10196
10197 install-info-ld: \
10198     configure-ld \
10199     info-ld 
10200         @[ -f ./ld/Makefile ] || exit 0; \
10201         r=`${PWD_COMMAND}`; export r; \
10202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10203         $(SET_LIB_PATH) \
10204         for flag in $(EXTRA_HOST_FLAGS); do \
10205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10206         done; \
10207         echo "Doing install-info in ld" ; \
10208         (cd ld && \
10209           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10210                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10211                   "RANLIB=$${RANLIB}" \
10212                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10213                   install-info) \
10214           || exit 1
10215
10216
10217 .PHONY: maybe-installcheck-ld installcheck-ld
10218 maybe-installcheck-ld:
10219
10220 installcheck-ld: \
10221     configure-ld 
10222         @[ -f ./ld/Makefile ] || exit 0; \
10223         r=`${PWD_COMMAND}`; export r; \
10224         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225         $(SET_LIB_PATH) \
10226         for flag in $(EXTRA_HOST_FLAGS); do \
10227           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10228         done; \
10229         echo "Doing installcheck in ld" ; \
10230         (cd ld && \
10231           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233                   "RANLIB=$${RANLIB}" \
10234                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10235                   installcheck) \
10236           || exit 1
10237
10238
10239 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10240 maybe-mostlyclean-ld:
10241
10242 mostlyclean-ld: 
10243         @[ -f ./ld/Makefile ] || exit 0; \
10244         r=`${PWD_COMMAND}`; export r; \
10245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10246         $(SET_LIB_PATH) \
10247         for flag in $(EXTRA_HOST_FLAGS); do \
10248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10249         done; \
10250         echo "Doing mostlyclean in ld" ; \
10251         (cd ld && \
10252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10254                   "RANLIB=$${RANLIB}" \
10255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10256                   mostlyclean) \
10257           || exit 1
10258
10259
10260 .PHONY: maybe-clean-ld clean-ld
10261 maybe-clean-ld:
10262
10263 clean-ld: 
10264         @[ -f ./ld/Makefile ] || exit 0; \
10265         r=`${PWD_COMMAND}`; export r; \
10266         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10267         $(SET_LIB_PATH) \
10268         for flag in $(EXTRA_HOST_FLAGS); do \
10269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10270         done; \
10271         echo "Doing clean in ld" ; \
10272         (cd ld && \
10273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275                   "RANLIB=$${RANLIB}" \
10276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10277                   clean) \
10278           || exit 1
10279
10280
10281 .PHONY: maybe-distclean-ld distclean-ld
10282 maybe-distclean-ld:
10283
10284 distclean-ld: 
10285         @[ -f ./ld/Makefile ] || exit 0; \
10286         r=`${PWD_COMMAND}`; export r; \
10287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10288         $(SET_LIB_PATH) \
10289         for flag in $(EXTRA_HOST_FLAGS); do \
10290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10291         done; \
10292         echo "Doing distclean in ld" ; \
10293         (cd ld && \
10294           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296                   "RANLIB=$${RANLIB}" \
10297                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10298                   distclean) \
10299           || exit 1
10300
10301
10302 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
10303 maybe-maintainer-clean-ld:
10304
10305 maintainer-clean-ld: 
10306         @[ -f ./ld/Makefile ] || exit 0; \
10307         r=`${PWD_COMMAND}`; export r; \
10308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309         $(SET_LIB_PATH) \
10310         for flag in $(EXTRA_HOST_FLAGS); do \
10311           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10312         done; \
10313         echo "Doing maintainer-clean in ld" ; \
10314         (cd ld && \
10315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10317                   "RANLIB=$${RANLIB}" \
10318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10319                   maintainer-clean) \
10320           || exit 1
10321
10322
10323
10324 .PHONY: configure-libgui maybe-configure-libgui
10325 maybe-configure-libgui:
10326 configure-libgui:
10327         @test ! -f libgui/Makefile || exit 0; \
10328         [ -d libgui ] || mkdir libgui; \
10329         r=`${PWD_COMMAND}`; export r; \
10330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331         CC="$(CC)"; export CC; \
10332         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10333         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10334         CXX="$(CXX)"; export CXX; \
10335         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10336         AR="$(AR)"; export AR; \
10337         AS="$(AS)"; export AS; \
10338         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10339         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10340         LD="$(LD)"; export LD; \
10341         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10342         NM="$(NM)"; export NM; \
10343         RANLIB="$(RANLIB)"; export RANLIB; \
10344         WINDRES="$(WINDRES)"; export WINDRES; \
10345         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10346         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10347         echo Configuring in libgui; \
10348         cd libgui || exit 1; \
10349         case $(srcdir) in \
10350           \.) \
10351             srcdiroption="--srcdir=."; \
10352             libsrcdir=".";; \
10353           /* | [A-Za-z]:[\\/]*) \
10354             srcdiroption="--srcdir=$(srcdir)/libgui"; \
10355             libsrcdir="$$s/libgui";; \
10356           *) \
10357             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
10358             libsrcdir="$$s/libgui";; \
10359         esac; \
10360         $(SHELL) $${libsrcdir}/configure \
10361           $(HOST_CONFIGARGS) $${srcdiroption} \
10362           || exit 1
10363
10364 .PHONY: all-libgui maybe-all-libgui
10365 maybe-all-libgui:
10366 all-libgui: configure-libgui
10367         @r=`${PWD_COMMAND}`; export r; \
10368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369         $(SET_LIB_PATH) \
10370         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
10371
10372 .PHONY: check-libgui maybe-check-libgui
10373 maybe-check-libgui:
10374
10375 check-libgui:
10376         @r=`${PWD_COMMAND}`; export r; \
10377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10378         $(SET_LIB_PATH) \
10379         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
10380
10381
10382 .PHONY: install-libgui maybe-install-libgui
10383 maybe-install-libgui:
10384
10385 install-libgui: installdirs
10386         @r=`${PWD_COMMAND}`; export r; \
10387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10388         $(SET_LIB_PATH) \
10389         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
10390
10391
10392 # Other targets (info, dvi, etc.)
10393
10394 .PHONY: maybe-info-libgui info-libgui
10395 maybe-info-libgui:
10396
10397 info-libgui: \
10398     configure-libgui 
10399         @[ -f ./libgui/Makefile ] || exit 0; \
10400         r=`${PWD_COMMAND}`; export r; \
10401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402         $(SET_LIB_PATH) \
10403         for flag in $(EXTRA_HOST_FLAGS); do \
10404           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10405         done; \
10406         echo "Doing info in libgui" ; \
10407         (cd libgui && \
10408           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10409                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10410                   "RANLIB=$${RANLIB}" \
10411                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10412                   info) \
10413           || exit 1
10414
10415
10416 .PHONY: maybe-dvi-libgui dvi-libgui
10417 maybe-dvi-libgui:
10418
10419 dvi-libgui: \
10420     configure-libgui 
10421         @[ -f ./libgui/Makefile ] || exit 0; \
10422         r=`${PWD_COMMAND}`; export r; \
10423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10424         $(SET_LIB_PATH) \
10425         for flag in $(EXTRA_HOST_FLAGS); do \
10426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10427         done; \
10428         echo "Doing dvi in libgui" ; \
10429         (cd libgui && \
10430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10432                   "RANLIB=$${RANLIB}" \
10433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10434                   dvi) \
10435           || exit 1
10436
10437
10438 .PHONY: maybe-TAGS-libgui TAGS-libgui
10439 maybe-TAGS-libgui:
10440
10441 TAGS-libgui: \
10442     configure-libgui 
10443         @[ -f ./libgui/Makefile ] || exit 0; \
10444         r=`${PWD_COMMAND}`; export r; \
10445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10446         $(SET_LIB_PATH) \
10447         for flag in $(EXTRA_HOST_FLAGS); do \
10448           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10449         done; \
10450         echo "Doing TAGS in libgui" ; \
10451         (cd libgui && \
10452           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10453                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10454                   "RANLIB=$${RANLIB}" \
10455                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10456                   TAGS) \
10457           || exit 1
10458
10459
10460 .PHONY: maybe-install-info-libgui install-info-libgui
10461 maybe-install-info-libgui:
10462
10463 install-info-libgui: \
10464     configure-libgui \
10465     info-libgui 
10466         @[ -f ./libgui/Makefile ] || exit 0; \
10467         r=`${PWD_COMMAND}`; export r; \
10468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10469         $(SET_LIB_PATH) \
10470         for flag in $(EXTRA_HOST_FLAGS); do \
10471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10472         done; \
10473         echo "Doing install-info in libgui" ; \
10474         (cd libgui && \
10475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10477                   "RANLIB=$${RANLIB}" \
10478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10479                   install-info) \
10480           || exit 1
10481
10482
10483 .PHONY: maybe-installcheck-libgui installcheck-libgui
10484 maybe-installcheck-libgui:
10485
10486 installcheck-libgui: \
10487     configure-libgui 
10488         @[ -f ./libgui/Makefile ] || exit 0; \
10489         r=`${PWD_COMMAND}`; export r; \
10490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491         $(SET_LIB_PATH) \
10492         for flag in $(EXTRA_HOST_FLAGS); do \
10493           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10494         done; \
10495         echo "Doing installcheck in libgui" ; \
10496         (cd libgui && \
10497           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10498                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10499                   "RANLIB=$${RANLIB}" \
10500                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10501                   installcheck) \
10502           || exit 1
10503
10504
10505 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10506 maybe-mostlyclean-libgui:
10507
10508 mostlyclean-libgui: 
10509         @[ -f ./libgui/Makefile ] || exit 0; \
10510         r=`${PWD_COMMAND}`; export r; \
10511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10512         $(SET_LIB_PATH) \
10513         for flag in $(EXTRA_HOST_FLAGS); do \
10514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10515         done; \
10516         echo "Doing mostlyclean in libgui" ; \
10517         (cd libgui && \
10518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10520                   "RANLIB=$${RANLIB}" \
10521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10522                   mostlyclean) \
10523           || exit 1
10524
10525
10526 .PHONY: maybe-clean-libgui clean-libgui
10527 maybe-clean-libgui:
10528
10529 clean-libgui: 
10530         @[ -f ./libgui/Makefile ] || exit 0; \
10531         r=`${PWD_COMMAND}`; export r; \
10532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533         $(SET_LIB_PATH) \
10534         for flag in $(EXTRA_HOST_FLAGS); do \
10535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10536         done; \
10537         echo "Doing clean in libgui" ; \
10538         (cd libgui && \
10539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10541                   "RANLIB=$${RANLIB}" \
10542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10543                   clean) \
10544           || exit 1
10545
10546
10547 .PHONY: maybe-distclean-libgui distclean-libgui
10548 maybe-distclean-libgui:
10549
10550 distclean-libgui: 
10551         @[ -f ./libgui/Makefile ] || exit 0; \
10552         r=`${PWD_COMMAND}`; export r; \
10553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554         $(SET_LIB_PATH) \
10555         for flag in $(EXTRA_HOST_FLAGS); do \
10556           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10557         done; \
10558         echo "Doing distclean in libgui" ; \
10559         (cd libgui && \
10560           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10561                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10562                   "RANLIB=$${RANLIB}" \
10563                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10564                   distclean) \
10565           || exit 1
10566
10567
10568 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
10569 maybe-maintainer-clean-libgui:
10570
10571 maintainer-clean-libgui: 
10572         @[ -f ./libgui/Makefile ] || exit 0; \
10573         r=`${PWD_COMMAND}`; export r; \
10574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10575         $(SET_LIB_PATH) \
10576         for flag in $(EXTRA_HOST_FLAGS); do \
10577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10578         done; \
10579         echo "Doing maintainer-clean in libgui" ; \
10580         (cd libgui && \
10581           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10582                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10583                   "RANLIB=$${RANLIB}" \
10584                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10585                   maintainer-clean) \
10586           || exit 1
10587
10588
10589
10590 .PHONY: configure-libbanshee maybe-configure-libbanshee
10591 maybe-configure-libbanshee:
10592 configure-libbanshee:
10593         @test ! -f libbanshee/Makefile || exit 0; \
10594         [ -d libbanshee ] || mkdir libbanshee; \
10595         r=`${PWD_COMMAND}`; export r; \
10596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597         CC="$(CC)"; export CC; \
10598         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10599         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10600         CXX="$(CXX)"; export CXX; \
10601         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10602         AR="$(AR)"; export AR; \
10603         AS="$(AS)"; export AS; \
10604         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10605         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10606         LD="$(LD)"; export LD; \
10607         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10608         NM="$(NM)"; export NM; \
10609         RANLIB="$(RANLIB)"; export RANLIB; \
10610         WINDRES="$(WINDRES)"; export WINDRES; \
10611         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10612         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10613         echo Configuring in libbanshee; \
10614         cd libbanshee || exit 1; \
10615         case $(srcdir) in \
10616           \.) \
10617             srcdiroption="--srcdir=."; \
10618             libsrcdir=".";; \
10619           /* | [A-Za-z]:[\\/]*) \
10620             srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
10621             libsrcdir="$$s/libbanshee";; \
10622           *) \
10623             srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
10624             libsrcdir="$$s/libbanshee";; \
10625         esac; \
10626         $(SHELL) $${libsrcdir}/configure \
10627           $(HOST_CONFIGARGS) $${srcdiroption} \
10628           || exit 1
10629
10630 .PHONY: all-libbanshee maybe-all-libbanshee
10631 maybe-all-libbanshee:
10632 all-libbanshee: configure-libbanshee
10633         @r=`${PWD_COMMAND}`; export r; \
10634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10635         $(SET_LIB_PATH) \
10636         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
10637
10638 .PHONY: check-libbanshee maybe-check-libbanshee
10639 maybe-check-libbanshee:
10640
10641 check-libbanshee:
10642         @r=`${PWD_COMMAND}`; export r; \
10643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10644         $(SET_LIB_PATH) \
10645         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
10646
10647
10648 .PHONY: install-libbanshee maybe-install-libbanshee
10649 maybe-install-libbanshee:
10650
10651 install-libbanshee:
10652
10653
10654 # Other targets (info, dvi, etc.)
10655
10656 .PHONY: maybe-info-libbanshee info-libbanshee
10657 maybe-info-libbanshee:
10658
10659 info-libbanshee: \
10660     configure-libbanshee 
10661         @[ -f ./libbanshee/Makefile ] || exit 0; \
10662         r=`${PWD_COMMAND}`; export r; \
10663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10664         $(SET_LIB_PATH) \
10665         for flag in $(EXTRA_HOST_FLAGS); do \
10666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10667         done; \
10668         echo "Doing info in libbanshee" ; \
10669         (cd libbanshee && \
10670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10672                   "RANLIB=$${RANLIB}" \
10673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10674                   info) \
10675           || exit 1
10676
10677
10678 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
10679 maybe-dvi-libbanshee:
10680
10681 dvi-libbanshee: \
10682     configure-libbanshee 
10683         @[ -f ./libbanshee/Makefile ] || exit 0; \
10684         r=`${PWD_COMMAND}`; export r; \
10685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10686         $(SET_LIB_PATH) \
10687         for flag in $(EXTRA_HOST_FLAGS); do \
10688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10689         done; \
10690         echo "Doing dvi in libbanshee" ; \
10691         (cd libbanshee && \
10692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10694                   "RANLIB=$${RANLIB}" \
10695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10696                   dvi) \
10697           || exit 1
10698
10699
10700 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
10701 maybe-TAGS-libbanshee:
10702
10703 TAGS-libbanshee: \
10704     configure-libbanshee 
10705         @[ -f ./libbanshee/Makefile ] || exit 0; \
10706         r=`${PWD_COMMAND}`; export r; \
10707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10708         $(SET_LIB_PATH) \
10709         for flag in $(EXTRA_HOST_FLAGS); do \
10710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10711         done; \
10712         echo "Doing TAGS in libbanshee" ; \
10713         (cd libbanshee && \
10714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10716                   "RANLIB=$${RANLIB}" \
10717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10718                   TAGS) \
10719           || exit 1
10720
10721
10722 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
10723 maybe-install-info-libbanshee:
10724
10725 install-info-libbanshee: \
10726     configure-libbanshee \
10727     info-libbanshee 
10728         @[ -f ./libbanshee/Makefile ] || exit 0; \
10729         r=`${PWD_COMMAND}`; export r; \
10730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731         $(SET_LIB_PATH) \
10732         for flag in $(EXTRA_HOST_FLAGS); do \
10733           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10734         done; \
10735         echo "Doing install-info in libbanshee" ; \
10736         (cd libbanshee && \
10737           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10738                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10739                   "RANLIB=$${RANLIB}" \
10740                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10741                   install-info) \
10742           || exit 1
10743
10744
10745 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
10746 maybe-installcheck-libbanshee:
10747
10748 installcheck-libbanshee: \
10749     configure-libbanshee 
10750         @[ -f ./libbanshee/Makefile ] || exit 0; \
10751         r=`${PWD_COMMAND}`; export r; \
10752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753         $(SET_LIB_PATH) \
10754         for flag in $(EXTRA_HOST_FLAGS); do \
10755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10756         done; \
10757         echo "Doing installcheck in libbanshee" ; \
10758         (cd libbanshee && \
10759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761                   "RANLIB=$${RANLIB}" \
10762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10763                   installcheck) \
10764           || exit 1
10765
10766
10767 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
10768 maybe-mostlyclean-libbanshee:
10769
10770 mostlyclean-libbanshee: 
10771         @[ -f ./libbanshee/Makefile ] || exit 0; \
10772         r=`${PWD_COMMAND}`; export r; \
10773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10774         $(SET_LIB_PATH) \
10775         for flag in $(EXTRA_HOST_FLAGS); do \
10776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10777         done; \
10778         echo "Doing mostlyclean in libbanshee" ; \
10779         (cd libbanshee && \
10780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10782                   "RANLIB=$${RANLIB}" \
10783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10784                   mostlyclean) \
10785           || exit 1
10786
10787
10788 .PHONY: maybe-clean-libbanshee clean-libbanshee
10789 maybe-clean-libbanshee:
10790
10791 clean-libbanshee: 
10792         @[ -f ./libbanshee/Makefile ] || exit 0; \
10793         r=`${PWD_COMMAND}`; export r; \
10794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10795         $(SET_LIB_PATH) \
10796         for flag in $(EXTRA_HOST_FLAGS); do \
10797           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10798         done; \
10799         echo "Doing clean in libbanshee" ; \
10800         (cd libbanshee && \
10801           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10802                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10803                   "RANLIB=$${RANLIB}" \
10804                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10805                   clean) \
10806           || exit 1
10807
10808
10809 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
10810 maybe-distclean-libbanshee:
10811
10812 distclean-libbanshee: 
10813         @[ -f ./libbanshee/Makefile ] || exit 0; \
10814         r=`${PWD_COMMAND}`; export r; \
10815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816         $(SET_LIB_PATH) \
10817         for flag in $(EXTRA_HOST_FLAGS); do \
10818           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819         done; \
10820         echo "Doing distclean in libbanshee" ; \
10821         (cd libbanshee && \
10822           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824                   "RANLIB=$${RANLIB}" \
10825                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10826                   distclean) \
10827           || exit 1
10828
10829
10830 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
10831 maybe-maintainer-clean-libbanshee:
10832
10833 maintainer-clean-libbanshee: 
10834         @[ -f ./libbanshee/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 maintainer-clean in libbanshee" ; \
10842         (cd libbanshee && \
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                   maintainer-clean) \
10848           || exit 1
10849
10850
10851
10852 .PHONY: configure-libiberty maybe-configure-libiberty
10853 maybe-configure-libiberty:
10854 configure-libiberty:
10855         @test ! -f libiberty/Makefile || exit 0; \
10856         [ -d libiberty ] || mkdir libiberty; \
10857         r=`${PWD_COMMAND}`; export r; \
10858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10859         CC="$(CC)"; export CC; \
10860         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10861         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10862         CXX="$(CXX)"; export CXX; \
10863         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10864         AR="$(AR)"; export AR; \
10865         AS="$(AS)"; export AS; \
10866         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10867         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10868         LD="$(LD)"; export LD; \
10869         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10870         NM="$(NM)"; export NM; \
10871         RANLIB="$(RANLIB)"; export RANLIB; \
10872         WINDRES="$(WINDRES)"; export WINDRES; \
10873         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10874         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10875         echo Configuring in libiberty; \
10876         cd libiberty || exit 1; \
10877         case $(srcdir) in \
10878           \.) \
10879             srcdiroption="--srcdir=."; \
10880             libsrcdir=".";; \
10881           /* | [A-Za-z]:[\\/]*) \
10882             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
10883             libsrcdir="$$s/libiberty";; \
10884           *) \
10885             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
10886             libsrcdir="$$s/libiberty";; \
10887         esac; \
10888         $(SHELL) $${libsrcdir}/configure \
10889           $(HOST_CONFIGARGS) $${srcdiroption} \
10890           || exit 1
10891
10892 .PHONY: all-libiberty maybe-all-libiberty
10893 maybe-all-libiberty:
10894 all-libiberty: configure-libiberty
10895         @r=`${PWD_COMMAND}`; export r; \
10896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897         $(SET_LIB_PATH) \
10898         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
10899
10900 .PHONY: check-libiberty maybe-check-libiberty
10901 maybe-check-libiberty:
10902
10903 check-libiberty:
10904         @r=`${PWD_COMMAND}`; export r; \
10905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906         $(SET_LIB_PATH) \
10907         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
10908
10909
10910 .PHONY: install-libiberty maybe-install-libiberty
10911 maybe-install-libiberty:
10912
10913 install-libiberty: installdirs
10914         @r=`${PWD_COMMAND}`; export r; \
10915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916         $(SET_LIB_PATH) \
10917         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
10918
10919
10920 # Other targets (info, dvi, etc.)
10921
10922 .PHONY: maybe-info-libiberty info-libiberty
10923 maybe-info-libiberty:
10924
10925 info-libiberty: \
10926     configure-libiberty 
10927         @[ -f ./libiberty/Makefile ] || exit 0; \
10928         r=`${PWD_COMMAND}`; export r; \
10929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930         $(SET_LIB_PATH) \
10931         for flag in $(EXTRA_HOST_FLAGS); do \
10932           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933         done; \
10934         echo "Doing info in libiberty" ; \
10935         (cd libiberty && \
10936           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938                   "RANLIB=$${RANLIB}" \
10939                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10940                   info) \
10941           || exit 1
10942
10943
10944 .PHONY: maybe-dvi-libiberty dvi-libiberty
10945 maybe-dvi-libiberty:
10946
10947 dvi-libiberty: \
10948     configure-libiberty 
10949         @[ -f ./libiberty/Makefile ] || exit 0; \
10950         r=`${PWD_COMMAND}`; export r; \
10951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10952         $(SET_LIB_PATH) \
10953         for flag in $(EXTRA_HOST_FLAGS); do \
10954           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10955         done; \
10956         echo "Doing dvi in libiberty" ; \
10957         (cd libiberty && \
10958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10960                   "RANLIB=$${RANLIB}" \
10961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10962                   dvi) \
10963           || exit 1
10964
10965
10966 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
10967 maybe-TAGS-libiberty:
10968
10969 TAGS-libiberty: \
10970     configure-libiberty 
10971         @[ -f ./libiberty/Makefile ] || exit 0; \
10972         r=`${PWD_COMMAND}`; export r; \
10973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974         $(SET_LIB_PATH) \
10975         for flag in $(EXTRA_HOST_FLAGS); do \
10976           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10977         done; \
10978         echo "Doing TAGS in libiberty" ; \
10979         (cd libiberty && \
10980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10982                   "RANLIB=$${RANLIB}" \
10983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10984                   TAGS) \
10985           || exit 1
10986
10987
10988 .PHONY: maybe-install-info-libiberty install-info-libiberty
10989 maybe-install-info-libiberty:
10990
10991 install-info-libiberty: \
10992     configure-libiberty \
10993     info-libiberty 
10994         @[ -f ./libiberty/Makefile ] || exit 0; \
10995         r=`${PWD_COMMAND}`; export r; \
10996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997         $(SET_LIB_PATH) \
10998         for flag in $(EXTRA_HOST_FLAGS); do \
10999           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11000         done; \
11001         echo "Doing install-info in libiberty" ; \
11002         (cd libiberty && \
11003           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11004                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11005                   "RANLIB=$${RANLIB}" \
11006                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11007                   install-info) \
11008           || exit 1
11009
11010
11011 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
11012 maybe-installcheck-libiberty:
11013
11014 installcheck-libiberty: \
11015     configure-libiberty 
11016         @[ -f ./libiberty/Makefile ] || exit 0; \
11017         r=`${PWD_COMMAND}`; export r; \
11018         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11019         $(SET_LIB_PATH) \
11020         for flag in $(EXTRA_HOST_FLAGS); do \
11021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11022         done; \
11023         echo "Doing installcheck in libiberty" ; \
11024         (cd libiberty && \
11025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11027                   "RANLIB=$${RANLIB}" \
11028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11029                   installcheck) \
11030           || exit 1
11031
11032
11033 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
11034 maybe-mostlyclean-libiberty:
11035
11036 mostlyclean-libiberty: 
11037         @[ -f ./libiberty/Makefile ] || exit 0; \
11038         r=`${PWD_COMMAND}`; export r; \
11039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11040         $(SET_LIB_PATH) \
11041         for flag in $(EXTRA_HOST_FLAGS); do \
11042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043         done; \
11044         echo "Doing mostlyclean in libiberty" ; \
11045         (cd libiberty && \
11046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048                   "RANLIB=$${RANLIB}" \
11049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11050                   mostlyclean) \
11051           || exit 1
11052
11053
11054 .PHONY: maybe-clean-libiberty clean-libiberty
11055 maybe-clean-libiberty:
11056
11057 clean-libiberty: 
11058         @[ -f ./libiberty/Makefile ] || exit 0; \
11059         r=`${PWD_COMMAND}`; export r; \
11060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061         $(SET_LIB_PATH) \
11062         for flag in $(EXTRA_HOST_FLAGS); do \
11063           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11064         done; \
11065         echo "Doing clean in libiberty" ; \
11066         (cd libiberty && \
11067           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069                   "RANLIB=$${RANLIB}" \
11070                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11071                   clean) \
11072           || exit 1
11073
11074
11075 .PHONY: maybe-distclean-libiberty distclean-libiberty
11076 maybe-distclean-libiberty:
11077
11078 distclean-libiberty: 
11079         @[ -f ./libiberty/Makefile ] || exit 0; \
11080         r=`${PWD_COMMAND}`; export r; \
11081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082         $(SET_LIB_PATH) \
11083         for flag in $(EXTRA_HOST_FLAGS); do \
11084           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11085         done; \
11086         echo "Doing distclean in libiberty" ; \
11087         (cd libiberty && \
11088           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090                   "RANLIB=$${RANLIB}" \
11091                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11092                   distclean) \
11093           || exit 1
11094
11095
11096 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
11097 maybe-maintainer-clean-libiberty:
11098
11099 maintainer-clean-libiberty: 
11100         @[ -f ./libiberty/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 maintainer-clean in libiberty" ; \
11108         (cd libiberty && \
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                   maintainer-clean) \
11114           || exit 1
11115
11116
11117
11118 .PHONY: configure-libtool maybe-configure-libtool
11119 maybe-configure-libtool:
11120 configure-libtool:
11121         @test ! -f libtool/Makefile || exit 0; \
11122         [ -d libtool ] || mkdir libtool; \
11123         r=`${PWD_COMMAND}`; export r; \
11124         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125         CC="$(CC)"; export CC; \
11126         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11127         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11128         CXX="$(CXX)"; export CXX; \
11129         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11130         AR="$(AR)"; export AR; \
11131         AS="$(AS)"; export AS; \
11132         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11133         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11134         LD="$(LD)"; export LD; \
11135         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11136         NM="$(NM)"; export NM; \
11137         RANLIB="$(RANLIB)"; export RANLIB; \
11138         WINDRES="$(WINDRES)"; export WINDRES; \
11139         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11140         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11141         echo Configuring in libtool; \
11142         cd libtool || exit 1; \
11143         case $(srcdir) in \
11144           \.) \
11145             srcdiroption="--srcdir=."; \
11146             libsrcdir=".";; \
11147           /* | [A-Za-z]:[\\/]*) \
11148             srcdiroption="--srcdir=$(srcdir)/libtool"; \
11149             libsrcdir="$$s/libtool";; \
11150           *) \
11151             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
11152             libsrcdir="$$s/libtool";; \
11153         esac; \
11154         $(SHELL) $${libsrcdir}/configure \
11155           $(HOST_CONFIGARGS) $${srcdiroption} \
11156           || exit 1
11157
11158 .PHONY: all-libtool maybe-all-libtool
11159 maybe-all-libtool:
11160 all-libtool: configure-libtool
11161         @r=`${PWD_COMMAND}`; export r; \
11162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11163         $(SET_LIB_PATH) \
11164         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
11165
11166 .PHONY: check-libtool maybe-check-libtool
11167 maybe-check-libtool:
11168
11169 check-libtool:
11170         @r=`${PWD_COMMAND}`; export r; \
11171         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172         $(SET_LIB_PATH) \
11173         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
11174
11175
11176 .PHONY: install-libtool maybe-install-libtool
11177 maybe-install-libtool:
11178
11179 install-libtool: installdirs
11180         @r=`${PWD_COMMAND}`; export r; \
11181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11182         $(SET_LIB_PATH) \
11183         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
11184
11185
11186 # Other targets (info, dvi, etc.)
11187
11188 .PHONY: maybe-info-libtool info-libtool
11189 maybe-info-libtool:
11190
11191 info-libtool: \
11192     configure-libtool 
11193         @[ -f ./libtool/Makefile ] || exit 0; \
11194         r=`${PWD_COMMAND}`; export r; \
11195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11196         $(SET_LIB_PATH) \
11197         for flag in $(EXTRA_HOST_FLAGS); do \
11198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11199         done; \
11200         echo "Doing info in libtool" ; \
11201         (cd libtool && \
11202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11204                   "RANLIB=$${RANLIB}" \
11205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11206                   info) \
11207           || exit 1
11208
11209
11210 .PHONY: maybe-dvi-libtool dvi-libtool
11211 maybe-dvi-libtool:
11212
11213 dvi-libtool: \
11214     configure-libtool 
11215         @[ -f ./libtool/Makefile ] || exit 0; \
11216         r=`${PWD_COMMAND}`; export r; \
11217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11218         $(SET_LIB_PATH) \
11219         for flag in $(EXTRA_HOST_FLAGS); do \
11220           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11221         done; \
11222         echo "Doing dvi in libtool" ; \
11223         (cd libtool && \
11224           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11225                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11226                   "RANLIB=$${RANLIB}" \
11227                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11228                   dvi) \
11229           || exit 1
11230
11231
11232 .PHONY: maybe-TAGS-libtool TAGS-libtool
11233 maybe-TAGS-libtool:
11234
11235 TAGS-libtool: \
11236     configure-libtool 
11237         @[ -f ./libtool/Makefile ] || exit 0; \
11238         r=`${PWD_COMMAND}`; export r; \
11239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240         $(SET_LIB_PATH) \
11241         for flag in $(EXTRA_HOST_FLAGS); do \
11242           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11243         done; \
11244         echo "Doing TAGS in libtool" ; \
11245         (cd libtool && \
11246           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11247                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11248                   "RANLIB=$${RANLIB}" \
11249                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11250                   TAGS) \
11251           || exit 1
11252
11253
11254 .PHONY: maybe-install-info-libtool install-info-libtool
11255 maybe-install-info-libtool:
11256
11257 install-info-libtool: \
11258     configure-libtool \
11259     info-libtool 
11260         @[ -f ./libtool/Makefile ] || exit 0; \
11261         r=`${PWD_COMMAND}`; export r; \
11262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263         $(SET_LIB_PATH) \
11264         for flag in $(EXTRA_HOST_FLAGS); do \
11265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11266         done; \
11267         echo "Doing install-info in libtool" ; \
11268         (cd libtool && \
11269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11271                   "RANLIB=$${RANLIB}" \
11272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11273                   install-info) \
11274           || exit 1
11275
11276
11277 .PHONY: maybe-installcheck-libtool installcheck-libtool
11278 maybe-installcheck-libtool:
11279
11280 installcheck-libtool: \
11281     configure-libtool 
11282         @[ -f ./libtool/Makefile ] || exit 0; \
11283         r=`${PWD_COMMAND}`; export r; \
11284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11285         $(SET_LIB_PATH) \
11286         for flag in $(EXTRA_HOST_FLAGS); do \
11287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11288         done; \
11289         echo "Doing installcheck in libtool" ; \
11290         (cd libtool && \
11291           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11292                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11293                   "RANLIB=$${RANLIB}" \
11294                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11295                   installcheck) \
11296           || exit 1
11297
11298
11299 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
11300 maybe-mostlyclean-libtool:
11301
11302 mostlyclean-libtool: 
11303         @[ -f ./libtool/Makefile ] || exit 0; \
11304         r=`${PWD_COMMAND}`; export r; \
11305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11306         $(SET_LIB_PATH) \
11307         for flag in $(EXTRA_HOST_FLAGS); do \
11308           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11309         done; \
11310         echo "Doing mostlyclean in libtool" ; \
11311         (cd libtool && \
11312           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11313                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11314                   "RANLIB=$${RANLIB}" \
11315                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11316                   mostlyclean) \
11317           || exit 1
11318
11319
11320 .PHONY: maybe-clean-libtool clean-libtool
11321 maybe-clean-libtool:
11322
11323 clean-libtool: 
11324         @[ -f ./libtool/Makefile ] || exit 0; \
11325         r=`${PWD_COMMAND}`; export r; \
11326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327         $(SET_LIB_PATH) \
11328         for flag in $(EXTRA_HOST_FLAGS); do \
11329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330         done; \
11331         echo "Doing clean in libtool" ; \
11332         (cd libtool && \
11333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335                   "RANLIB=$${RANLIB}" \
11336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11337                   clean) \
11338           || exit 1
11339
11340
11341 .PHONY: maybe-distclean-libtool distclean-libtool
11342 maybe-distclean-libtool:
11343
11344 distclean-libtool: 
11345         @[ -f ./libtool/Makefile ] || exit 0; \
11346         r=`${PWD_COMMAND}`; export r; \
11347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11348         $(SET_LIB_PATH) \
11349         for flag in $(EXTRA_HOST_FLAGS); do \
11350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11351         done; \
11352         echo "Doing distclean in libtool" ; \
11353         (cd libtool && \
11354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11356                   "RANLIB=$${RANLIB}" \
11357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11358                   distclean) \
11359           || exit 1
11360
11361
11362 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
11363 maybe-maintainer-clean-libtool:
11364
11365 maintainer-clean-libtool: 
11366         @[ -f ./libtool/Makefile ] || exit 0; \
11367         r=`${PWD_COMMAND}`; export r; \
11368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11369         $(SET_LIB_PATH) \
11370         for flag in $(EXTRA_HOST_FLAGS); do \
11371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11372         done; \
11373         echo "Doing maintainer-clean in libtool" ; \
11374         (cd libtool && \
11375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377                   "RANLIB=$${RANLIB}" \
11378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11379                   maintainer-clean) \
11380           || exit 1
11381
11382
11383
11384 .PHONY: configure-m4 maybe-configure-m4
11385 maybe-configure-m4:
11386 configure-m4:
11387         @test ! -f m4/Makefile || exit 0; \
11388         [ -d m4 ] || mkdir m4; \
11389         r=`${PWD_COMMAND}`; export r; \
11390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391         CC="$(CC)"; export CC; \
11392         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11393         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11394         CXX="$(CXX)"; export CXX; \
11395         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11396         AR="$(AR)"; export AR; \
11397         AS="$(AS)"; export AS; \
11398         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11399         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11400         LD="$(LD)"; export LD; \
11401         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11402         NM="$(NM)"; export NM; \
11403         RANLIB="$(RANLIB)"; export RANLIB; \
11404         WINDRES="$(WINDRES)"; export WINDRES; \
11405         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11406         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11407         echo Configuring in m4; \
11408         cd m4 || exit 1; \
11409         case $(srcdir) in \
11410           \.) \
11411             srcdiroption="--srcdir=."; \
11412             libsrcdir=".";; \
11413           /* | [A-Za-z]:[\\/]*) \
11414             srcdiroption="--srcdir=$(srcdir)/m4"; \
11415             libsrcdir="$$s/m4";; \
11416           *) \
11417             srcdiroption="--srcdir=../$(srcdir)/m4"; \
11418             libsrcdir="$$s/m4";; \
11419         esac; \
11420         $(SHELL) $${libsrcdir}/configure \
11421           $(HOST_CONFIGARGS) $${srcdiroption} \
11422           || exit 1
11423
11424 .PHONY: all-m4 maybe-all-m4
11425 maybe-all-m4:
11426 all-m4: configure-m4
11427         @r=`${PWD_COMMAND}`; export r; \
11428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429         $(SET_LIB_PATH) \
11430         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
11431
11432 .PHONY: check-m4 maybe-check-m4
11433 maybe-check-m4:
11434
11435 check-m4:
11436         @r=`${PWD_COMMAND}`; export r; \
11437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11438         $(SET_LIB_PATH) \
11439         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
11440
11441
11442 .PHONY: install-m4 maybe-install-m4
11443 maybe-install-m4:
11444
11445 install-m4: installdirs
11446         @r=`${PWD_COMMAND}`; export r; \
11447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11448         $(SET_LIB_PATH) \
11449         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
11450
11451
11452 # Other targets (info, dvi, etc.)
11453
11454 .PHONY: maybe-info-m4 info-m4
11455 maybe-info-m4:
11456
11457 info-m4: \
11458     configure-m4 
11459         @[ -f ./m4/Makefile ] || exit 0; \
11460         r=`${PWD_COMMAND}`; export r; \
11461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11462         $(SET_LIB_PATH) \
11463         for flag in $(EXTRA_HOST_FLAGS); do \
11464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11465         done; \
11466         echo "Doing info in m4" ; \
11467         (cd m4 && \
11468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11470                   "RANLIB=$${RANLIB}" \
11471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11472                   info) \
11473           || exit 1
11474
11475
11476 .PHONY: maybe-dvi-m4 dvi-m4
11477 maybe-dvi-m4:
11478
11479 dvi-m4: \
11480     configure-m4 
11481         @[ -f ./m4/Makefile ] || exit 0; \
11482         r=`${PWD_COMMAND}`; export r; \
11483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11484         $(SET_LIB_PATH) \
11485         for flag in $(EXTRA_HOST_FLAGS); do \
11486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487         done; \
11488         echo "Doing dvi in m4" ; \
11489         (cd m4 && \
11490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492                   "RANLIB=$${RANLIB}" \
11493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494                   dvi) \
11495           || exit 1
11496
11497
11498 .PHONY: maybe-TAGS-m4 TAGS-m4
11499 maybe-TAGS-m4:
11500
11501 TAGS-m4: \
11502     configure-m4 
11503         @[ -f ./m4/Makefile ] || exit 0; \
11504         r=`${PWD_COMMAND}`; export r; \
11505         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506         $(SET_LIB_PATH) \
11507         for flag in $(EXTRA_HOST_FLAGS); do \
11508           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509         done; \
11510         echo "Doing TAGS in m4" ; \
11511         (cd m4 && \
11512           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514                   "RANLIB=$${RANLIB}" \
11515                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11516                   TAGS) \
11517           || exit 1
11518
11519
11520 .PHONY: maybe-install-info-m4 install-info-m4
11521 maybe-install-info-m4:
11522
11523 install-info-m4: \
11524     configure-m4 \
11525     info-m4 
11526         @[ -f ./m4/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 install-info in m4" ; \
11534         (cd m4 && \
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                   install-info) \
11540           || exit 1
11541
11542
11543 .PHONY: maybe-installcheck-m4 installcheck-m4
11544 maybe-installcheck-m4:
11545
11546 installcheck-m4: \
11547     configure-m4 
11548         @[ -f ./m4/Makefile ] || exit 0; \
11549         r=`${PWD_COMMAND}`; export r; \
11550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11551         $(SET_LIB_PATH) \
11552         for flag in $(EXTRA_HOST_FLAGS); do \
11553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11554         done; \
11555         echo "Doing installcheck in m4" ; \
11556         (cd m4 && \
11557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11559                   "RANLIB=$${RANLIB}" \
11560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11561                   installcheck) \
11562           || exit 1
11563
11564
11565 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11566 maybe-mostlyclean-m4:
11567
11568 mostlyclean-m4: 
11569         @[ -f ./m4/Makefile ] || exit 0; \
11570         r=`${PWD_COMMAND}`; export r; \
11571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572         $(SET_LIB_PATH) \
11573         for flag in $(EXTRA_HOST_FLAGS); do \
11574           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11575         done; \
11576         echo "Doing mostlyclean in m4" ; \
11577         (cd m4 && \
11578           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11579                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11580                   "RANLIB=$${RANLIB}" \
11581                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11582                   mostlyclean) \
11583           || exit 1
11584
11585
11586 .PHONY: maybe-clean-m4 clean-m4
11587 maybe-clean-m4:
11588
11589 clean-m4: 
11590         @[ -f ./m4/Makefile ] || exit 0; \
11591         r=`${PWD_COMMAND}`; export r; \
11592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593         $(SET_LIB_PATH) \
11594         for flag in $(EXTRA_HOST_FLAGS); do \
11595           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11596         done; \
11597         echo "Doing clean in m4" ; \
11598         (cd m4 && \
11599           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11600                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11601                   "RANLIB=$${RANLIB}" \
11602                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11603                   clean) \
11604           || exit 1
11605
11606
11607 .PHONY: maybe-distclean-m4 distclean-m4
11608 maybe-distclean-m4:
11609
11610 distclean-m4: 
11611         @[ -f ./m4/Makefile ] || exit 0; \
11612         r=`${PWD_COMMAND}`; export r; \
11613         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11614         $(SET_LIB_PATH) \
11615         for flag in $(EXTRA_HOST_FLAGS); do \
11616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11617         done; \
11618         echo "Doing distclean in m4" ; \
11619         (cd m4 && \
11620           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11621                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11622                   "RANLIB=$${RANLIB}" \
11623                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11624                   distclean) \
11625           || exit 1
11626
11627
11628 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
11629 maybe-maintainer-clean-m4:
11630
11631 maintainer-clean-m4: 
11632         @[ -f ./m4/Makefile ] || exit 0; \
11633         r=`${PWD_COMMAND}`; export r; \
11634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11635         $(SET_LIB_PATH) \
11636         for flag in $(EXTRA_HOST_FLAGS); do \
11637           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11638         done; \
11639         echo "Doing maintainer-clean in m4" ; \
11640         (cd m4 && \
11641           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11642                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11643                   "RANLIB=$${RANLIB}" \
11644                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11645                   maintainer-clean) \
11646           || exit 1
11647
11648
11649
11650 .PHONY: configure-make maybe-configure-make
11651 maybe-configure-make:
11652 configure-make:
11653         @test ! -f make/Makefile || exit 0; \
11654         [ -d make ] || mkdir make; \
11655         r=`${PWD_COMMAND}`; export r; \
11656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657         CC="$(CC)"; export CC; \
11658         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11659         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11660         CXX="$(CXX)"; export CXX; \
11661         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11662         AR="$(AR)"; export AR; \
11663         AS="$(AS)"; export AS; \
11664         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11665         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11666         LD="$(LD)"; export LD; \
11667         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11668         NM="$(NM)"; export NM; \
11669         RANLIB="$(RANLIB)"; export RANLIB; \
11670         WINDRES="$(WINDRES)"; export WINDRES; \
11671         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11672         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11673         echo Configuring in make; \
11674         cd make || exit 1; \
11675         case $(srcdir) in \
11676           \.) \
11677             srcdiroption="--srcdir=."; \
11678             libsrcdir=".";; \
11679           /* | [A-Za-z]:[\\/]*) \
11680             srcdiroption="--srcdir=$(srcdir)/make"; \
11681             libsrcdir="$$s/make";; \
11682           *) \
11683             srcdiroption="--srcdir=../$(srcdir)/make"; \
11684             libsrcdir="$$s/make";; \
11685         esac; \
11686         $(SHELL) $${libsrcdir}/configure \
11687           $(HOST_CONFIGARGS) $${srcdiroption} \
11688           || exit 1
11689
11690 .PHONY: all-make maybe-all-make
11691 maybe-all-make:
11692 all-make: configure-make
11693         @r=`${PWD_COMMAND}`; export r; \
11694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11695         $(SET_LIB_PATH) \
11696         (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
11697
11698 .PHONY: check-make maybe-check-make
11699 maybe-check-make:
11700
11701 check-make:
11702         @r=`${PWD_COMMAND}`; export r; \
11703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704         $(SET_LIB_PATH) \
11705         (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
11706
11707
11708 .PHONY: install-make maybe-install-make
11709 maybe-install-make:
11710
11711 install-make: installdirs
11712         @r=`${PWD_COMMAND}`; export r; \
11713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714         $(SET_LIB_PATH) \
11715         (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
11716
11717
11718 # Other targets (info, dvi, etc.)
11719
11720 .PHONY: maybe-info-make info-make
11721 maybe-info-make:
11722
11723 info-make: \
11724     configure-make 
11725         @[ -f ./make/Makefile ] || exit 0; \
11726         r=`${PWD_COMMAND}`; export r; \
11727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11728         $(SET_LIB_PATH) \
11729         for flag in $(EXTRA_HOST_FLAGS); do \
11730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11731         done; \
11732         echo "Doing info in make" ; \
11733         (cd make && \
11734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11736                   "RANLIB=$${RANLIB}" \
11737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11738                   info) \
11739           || exit 1
11740
11741
11742 .PHONY: maybe-dvi-make dvi-make
11743 maybe-dvi-make:
11744
11745 dvi-make: \
11746     configure-make 
11747         @[ -f ./make/Makefile ] || exit 0; \
11748         r=`${PWD_COMMAND}`; export r; \
11749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11750         $(SET_LIB_PATH) \
11751         for flag in $(EXTRA_HOST_FLAGS); do \
11752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11753         done; \
11754         echo "Doing dvi in make" ; \
11755         (cd make && \
11756           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11757                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11758                   "RANLIB=$${RANLIB}" \
11759                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11760                   dvi) \
11761           || exit 1
11762
11763
11764 .PHONY: maybe-TAGS-make TAGS-make
11765 maybe-TAGS-make:
11766
11767 TAGS-make: \
11768     configure-make 
11769         @[ -f ./make/Makefile ] || exit 0; \
11770         r=`${PWD_COMMAND}`; export r; \
11771         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11772         $(SET_LIB_PATH) \
11773         for flag in $(EXTRA_HOST_FLAGS); do \
11774           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11775         done; \
11776         echo "Doing TAGS in make" ; \
11777         (cd make && \
11778           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11779                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11780                   "RANLIB=$${RANLIB}" \
11781                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11782                   TAGS) \
11783           || exit 1
11784
11785
11786 .PHONY: maybe-install-info-make install-info-make
11787 maybe-install-info-make:
11788
11789 install-info-make: \
11790     configure-make \
11791     info-make 
11792         @[ -f ./make/Makefile ] || exit 0; \
11793         r=`${PWD_COMMAND}`; export r; \
11794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11795         $(SET_LIB_PATH) \
11796         for flag in $(EXTRA_HOST_FLAGS); do \
11797           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11798         done; \
11799         echo "Doing install-info in make" ; \
11800         (cd make && \
11801           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11802                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11803                   "RANLIB=$${RANLIB}" \
11804                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11805                   install-info) \
11806           || exit 1
11807
11808
11809 .PHONY: maybe-installcheck-make installcheck-make
11810 maybe-installcheck-make:
11811
11812 installcheck-make: \
11813     configure-make 
11814         @[ -f ./make/Makefile ] || exit 0; \
11815         r=`${PWD_COMMAND}`; export r; \
11816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11817         $(SET_LIB_PATH) \
11818         for flag in $(EXTRA_HOST_FLAGS); do \
11819           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11820         done; \
11821         echo "Doing installcheck in make" ; \
11822         (cd make && \
11823           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11824                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11825                   "RANLIB=$${RANLIB}" \
11826                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11827                   installcheck) \
11828           || exit 1
11829
11830
11831 .PHONY: maybe-mostlyclean-make mostlyclean-make
11832 maybe-mostlyclean-make:
11833
11834 mostlyclean-make: 
11835         @[ -f ./make/Makefile ] || exit 0; \
11836         r=`${PWD_COMMAND}`; export r; \
11837         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11838         $(SET_LIB_PATH) \
11839         for flag in $(EXTRA_HOST_FLAGS); do \
11840           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11841         done; \
11842         echo "Doing mostlyclean in make" ; \
11843         (cd make && \
11844           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11845                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11846                   "RANLIB=$${RANLIB}" \
11847                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11848                   mostlyclean) \
11849           || exit 1
11850
11851
11852 .PHONY: maybe-clean-make clean-make
11853 maybe-clean-make:
11854
11855 clean-make: 
11856         @[ -f ./make/Makefile ] || exit 0; \
11857         r=`${PWD_COMMAND}`; export r; \
11858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859         $(SET_LIB_PATH) \
11860         for flag in $(EXTRA_HOST_FLAGS); do \
11861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11862         done; \
11863         echo "Doing clean in make" ; \
11864         (cd make && \
11865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11867                   "RANLIB=$${RANLIB}" \
11868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11869                   clean) \
11870           || exit 1
11871
11872
11873 .PHONY: maybe-distclean-make distclean-make
11874 maybe-distclean-make:
11875
11876 distclean-make: 
11877         @[ -f ./make/Makefile ] || exit 0; \
11878         r=`${PWD_COMMAND}`; export r; \
11879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11880         $(SET_LIB_PATH) \
11881         for flag in $(EXTRA_HOST_FLAGS); do \
11882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11883         done; \
11884         echo "Doing distclean in make" ; \
11885         (cd make && \
11886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11888                   "RANLIB=$${RANLIB}" \
11889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11890                   distclean) \
11891           || exit 1
11892
11893
11894 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
11895 maybe-maintainer-clean-make:
11896
11897 maintainer-clean-make: 
11898         @[ -f ./make/Makefile ] || exit 0; \
11899         r=`${PWD_COMMAND}`; export r; \
11900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901         $(SET_LIB_PATH) \
11902         for flag in $(EXTRA_HOST_FLAGS); do \
11903           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904         done; \
11905         echo "Doing maintainer-clean in make" ; \
11906         (cd make && \
11907           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909                   "RANLIB=$${RANLIB}" \
11910                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11911                   maintainer-clean) \
11912           || exit 1
11913
11914
11915
11916 .PHONY: configure-mmalloc maybe-configure-mmalloc
11917 maybe-configure-mmalloc:
11918 configure-mmalloc:
11919         @test ! -f mmalloc/Makefile || exit 0; \
11920         [ -d mmalloc ] || mkdir mmalloc; \
11921         r=`${PWD_COMMAND}`; export r; \
11922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11923         CC="$(CC)"; export CC; \
11924         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11925         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11926         CXX="$(CXX)"; export CXX; \
11927         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11928         AR="$(AR)"; export AR; \
11929         AS="$(AS)"; export AS; \
11930         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11931         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11932         LD="$(LD)"; export LD; \
11933         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11934         NM="$(NM)"; export NM; \
11935         RANLIB="$(RANLIB)"; export RANLIB; \
11936         WINDRES="$(WINDRES)"; export WINDRES; \
11937         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11938         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11939         echo Configuring in mmalloc; \
11940         cd mmalloc || exit 1; \
11941         case $(srcdir) in \
11942           \.) \
11943             srcdiroption="--srcdir=."; \
11944             libsrcdir=".";; \
11945           /* | [A-Za-z]:[\\/]*) \
11946             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
11947             libsrcdir="$$s/mmalloc";; \
11948           *) \
11949             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
11950             libsrcdir="$$s/mmalloc";; \
11951         esac; \
11952         $(SHELL) $${libsrcdir}/configure \
11953           $(HOST_CONFIGARGS) $${srcdiroption} \
11954           || exit 1
11955
11956 .PHONY: all-mmalloc maybe-all-mmalloc
11957 maybe-all-mmalloc:
11958 all-mmalloc: configure-mmalloc
11959         @r=`${PWD_COMMAND}`; export r; \
11960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11961         $(SET_LIB_PATH) \
11962         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
11963
11964 .PHONY: check-mmalloc maybe-check-mmalloc
11965 maybe-check-mmalloc:
11966
11967 check-mmalloc:
11968
11969
11970 .PHONY: install-mmalloc maybe-install-mmalloc
11971 maybe-install-mmalloc:
11972
11973 install-mmalloc: installdirs
11974         @r=`${PWD_COMMAND}`; export r; \
11975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976         $(SET_LIB_PATH) \
11977         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
11978
11979
11980 # Other targets (info, dvi, etc.)
11981
11982 .PHONY: maybe-info-mmalloc info-mmalloc
11983 maybe-info-mmalloc:
11984
11985 info-mmalloc: \
11986     configure-mmalloc 
11987         @[ -f ./mmalloc/Makefile ] || exit 0; \
11988         r=`${PWD_COMMAND}`; export r; \
11989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990         $(SET_LIB_PATH) \
11991         for flag in $(EXTRA_HOST_FLAGS); do \
11992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11993         done; \
11994         echo "Doing info in mmalloc" ; \
11995         (cd mmalloc && \
11996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11998                   "RANLIB=$${RANLIB}" \
11999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12000                   info) \
12001           || exit 1
12002
12003
12004 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
12005 maybe-dvi-mmalloc:
12006
12007 dvi-mmalloc: \
12008     configure-mmalloc 
12009         @[ -f ./mmalloc/Makefile ] || exit 0; \
12010         r=`${PWD_COMMAND}`; export r; \
12011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12012         $(SET_LIB_PATH) \
12013         for flag in $(EXTRA_HOST_FLAGS); do \
12014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12015         done; \
12016         echo "Doing dvi in mmalloc" ; \
12017         (cd mmalloc && \
12018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020                   "RANLIB=$${RANLIB}" \
12021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12022                   dvi) \
12023           || exit 1
12024
12025
12026 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
12027 maybe-TAGS-mmalloc:
12028
12029 TAGS-mmalloc: \
12030     configure-mmalloc 
12031         @[ -f ./mmalloc/Makefile ] || exit 0; \
12032         r=`${PWD_COMMAND}`; export r; \
12033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034         $(SET_LIB_PATH) \
12035         for flag in $(EXTRA_HOST_FLAGS); do \
12036           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12037         done; \
12038         echo "Doing TAGS in mmalloc" ; \
12039         (cd mmalloc && \
12040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042                   "RANLIB=$${RANLIB}" \
12043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12044                   TAGS) \
12045           || exit 1
12046
12047
12048 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
12049 maybe-install-info-mmalloc:
12050
12051 install-info-mmalloc: \
12052     configure-mmalloc \
12053     info-mmalloc 
12054         @[ -f ./mmalloc/Makefile ] || exit 0; \
12055         r=`${PWD_COMMAND}`; export r; \
12056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12057         $(SET_LIB_PATH) \
12058         for flag in $(EXTRA_HOST_FLAGS); do \
12059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12060         done; \
12061         echo "Doing install-info in mmalloc" ; \
12062         (cd mmalloc && \
12063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12065                   "RANLIB=$${RANLIB}" \
12066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12067                   install-info) \
12068           || exit 1
12069
12070
12071 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
12072 maybe-installcheck-mmalloc:
12073
12074 installcheck-mmalloc: \
12075     configure-mmalloc 
12076         @[ -f ./mmalloc/Makefile ] || exit 0; \
12077         r=`${PWD_COMMAND}`; export r; \
12078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079         $(SET_LIB_PATH) \
12080         for flag in $(EXTRA_HOST_FLAGS); do \
12081           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082         done; \
12083         echo "Doing installcheck in mmalloc" ; \
12084         (cd mmalloc && \
12085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087                   "RANLIB=$${RANLIB}" \
12088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12089                   installcheck) \
12090           || exit 1
12091
12092
12093 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
12094 maybe-mostlyclean-mmalloc:
12095
12096 mostlyclean-mmalloc: 
12097         @[ -f ./mmalloc/Makefile ] || exit 0; \
12098         r=`${PWD_COMMAND}`; export r; \
12099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100         $(SET_LIB_PATH) \
12101         for flag in $(EXTRA_HOST_FLAGS); do \
12102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12103         done; \
12104         echo "Doing mostlyclean in mmalloc" ; \
12105         (cd mmalloc && \
12106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108                   "RANLIB=$${RANLIB}" \
12109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12110                   mostlyclean) \
12111           || exit 1
12112
12113
12114 .PHONY: maybe-clean-mmalloc clean-mmalloc
12115 maybe-clean-mmalloc:
12116
12117 clean-mmalloc: 
12118         @[ -f ./mmalloc/Makefile ] || exit 0; \
12119         r=`${PWD_COMMAND}`; export r; \
12120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12121         $(SET_LIB_PATH) \
12122         for flag in $(EXTRA_HOST_FLAGS); do \
12123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12124         done; \
12125         echo "Doing clean in mmalloc" ; \
12126         (cd mmalloc && \
12127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12129                   "RANLIB=$${RANLIB}" \
12130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12131                   clean) \
12132           || exit 1
12133
12134
12135 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
12136 maybe-distclean-mmalloc:
12137
12138 distclean-mmalloc: 
12139         @[ -f ./mmalloc/Makefile ] || exit 0; \
12140         r=`${PWD_COMMAND}`; export r; \
12141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12142         $(SET_LIB_PATH) \
12143         for flag in $(EXTRA_HOST_FLAGS); do \
12144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12145         done; \
12146         echo "Doing distclean in mmalloc" ; \
12147         (cd mmalloc && \
12148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12150                   "RANLIB=$${RANLIB}" \
12151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12152                   distclean) \
12153           || exit 1
12154
12155
12156 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
12157 maybe-maintainer-clean-mmalloc:
12158
12159 maintainer-clean-mmalloc: 
12160         @[ -f ./mmalloc/Makefile ] || exit 0; \
12161         r=`${PWD_COMMAND}`; export r; \
12162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12163         $(SET_LIB_PATH) \
12164         for flag in $(EXTRA_HOST_FLAGS); do \
12165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12166         done; \
12167         echo "Doing maintainer-clean in mmalloc" ; \
12168         (cd mmalloc && \
12169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12171                   "RANLIB=$${RANLIB}" \
12172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12173                   maintainer-clean) \
12174           || exit 1
12175
12176
12177
12178 .PHONY: configure-patch maybe-configure-patch
12179 maybe-configure-patch:
12180 configure-patch:
12181         @test ! -f patch/Makefile || exit 0; \
12182         [ -d patch ] || mkdir patch; \
12183         r=`${PWD_COMMAND}`; export r; \
12184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185         CC="$(CC)"; export CC; \
12186         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12187         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12188         CXX="$(CXX)"; export CXX; \
12189         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12190         AR="$(AR)"; export AR; \
12191         AS="$(AS)"; export AS; \
12192         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12193         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12194         LD="$(LD)"; export LD; \
12195         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12196         NM="$(NM)"; export NM; \
12197         RANLIB="$(RANLIB)"; export RANLIB; \
12198         WINDRES="$(WINDRES)"; export WINDRES; \
12199         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12200         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12201         echo Configuring in patch; \
12202         cd patch || exit 1; \
12203         case $(srcdir) in \
12204           \.) \
12205             srcdiroption="--srcdir=."; \
12206             libsrcdir=".";; \
12207           /* | [A-Za-z]:[\\/]*) \
12208             srcdiroption="--srcdir=$(srcdir)/patch"; \
12209             libsrcdir="$$s/patch";; \
12210           *) \
12211             srcdiroption="--srcdir=../$(srcdir)/patch"; \
12212             libsrcdir="$$s/patch";; \
12213         esac; \
12214         $(SHELL) $${libsrcdir}/configure \
12215           $(HOST_CONFIGARGS) $${srcdiroption} \
12216           || exit 1
12217
12218 .PHONY: all-patch maybe-all-patch
12219 maybe-all-patch:
12220 all-patch: configure-patch
12221         @r=`${PWD_COMMAND}`; export r; \
12222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223         $(SET_LIB_PATH) \
12224         (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
12225
12226 .PHONY: check-patch maybe-check-patch
12227 maybe-check-patch:
12228
12229 check-patch:
12230         @r=`${PWD_COMMAND}`; export r; \
12231         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232         $(SET_LIB_PATH) \
12233         (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
12234
12235
12236 .PHONY: install-patch maybe-install-patch
12237 maybe-install-patch:
12238
12239 install-patch: installdirs
12240         @r=`${PWD_COMMAND}`; export r; \
12241         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242         $(SET_LIB_PATH) \
12243         (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
12244
12245
12246 # Other targets (info, dvi, etc.)
12247
12248 .PHONY: maybe-info-patch info-patch
12249 maybe-info-patch:
12250
12251 info-patch: \
12252     configure-patch 
12253         @[ -f ./patch/Makefile ] || exit 0; \
12254         r=`${PWD_COMMAND}`; export r; \
12255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256         $(SET_LIB_PATH) \
12257         for flag in $(EXTRA_HOST_FLAGS); do \
12258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12259         done; \
12260         echo "Doing info in patch" ; \
12261         (cd patch && \
12262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12264                   "RANLIB=$${RANLIB}" \
12265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12266                   info) \
12267           || exit 1
12268
12269
12270 .PHONY: maybe-dvi-patch dvi-patch
12271 maybe-dvi-patch:
12272
12273 dvi-patch: \
12274     configure-patch 
12275         @[ -f ./patch/Makefile ] || exit 0; \
12276         r=`${PWD_COMMAND}`; export r; \
12277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12278         $(SET_LIB_PATH) \
12279         for flag in $(EXTRA_HOST_FLAGS); do \
12280           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12281         done; \
12282         echo "Doing dvi in patch" ; \
12283         (cd patch && \
12284           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286                   "RANLIB=$${RANLIB}" \
12287                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288                   dvi) \
12289           || exit 1
12290
12291
12292 .PHONY: maybe-TAGS-patch TAGS-patch
12293 maybe-TAGS-patch:
12294
12295 TAGS-patch: \
12296     configure-patch 
12297         @[ -f ./patch/Makefile ] || exit 0; \
12298         r=`${PWD_COMMAND}`; export r; \
12299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12300         $(SET_LIB_PATH) \
12301         for flag in $(EXTRA_HOST_FLAGS); do \
12302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12303         done; \
12304         echo "Doing TAGS in patch" ; \
12305         (cd patch && \
12306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12308                   "RANLIB=$${RANLIB}" \
12309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12310                   TAGS) \
12311           || exit 1
12312
12313
12314 .PHONY: maybe-install-info-patch install-info-patch
12315 maybe-install-info-patch:
12316
12317 install-info-patch: \
12318     configure-patch \
12319     info-patch 
12320         @[ -f ./patch/Makefile ] || exit 0; \
12321         r=`${PWD_COMMAND}`; export r; \
12322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12323         $(SET_LIB_PATH) \
12324         for flag in $(EXTRA_HOST_FLAGS); do \
12325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12326         done; \
12327         echo "Doing install-info in patch" ; \
12328         (cd patch && \
12329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12331                   "RANLIB=$${RANLIB}" \
12332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12333                   install-info) \
12334           || exit 1
12335
12336
12337 .PHONY: maybe-installcheck-patch installcheck-patch
12338 maybe-installcheck-patch:
12339
12340 installcheck-patch: \
12341     configure-patch 
12342         @[ -f ./patch/Makefile ] || exit 0; \
12343         r=`${PWD_COMMAND}`; export r; \
12344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12345         $(SET_LIB_PATH) \
12346         for flag in $(EXTRA_HOST_FLAGS); do \
12347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12348         done; \
12349         echo "Doing installcheck in patch" ; \
12350         (cd patch && \
12351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12353                   "RANLIB=$${RANLIB}" \
12354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12355                   installcheck) \
12356           || exit 1
12357
12358
12359 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
12360 maybe-mostlyclean-patch:
12361
12362 mostlyclean-patch: 
12363         @[ -f ./patch/Makefile ] || exit 0; \
12364         r=`${PWD_COMMAND}`; export r; \
12365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12366         $(SET_LIB_PATH) \
12367         for flag in $(EXTRA_HOST_FLAGS); do \
12368           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12369         done; \
12370         echo "Doing mostlyclean in patch" ; \
12371         (cd patch && \
12372           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374                   "RANLIB=$${RANLIB}" \
12375                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12376                   mostlyclean) \
12377           || exit 1
12378
12379
12380 .PHONY: maybe-clean-patch clean-patch
12381 maybe-clean-patch:
12382
12383 clean-patch: 
12384         @[ -f ./patch/Makefile ] || exit 0; \
12385         r=`${PWD_COMMAND}`; export r; \
12386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12387         $(SET_LIB_PATH) \
12388         for flag in $(EXTRA_HOST_FLAGS); do \
12389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12390         done; \
12391         echo "Doing clean in patch" ; \
12392         (cd patch && \
12393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12395                   "RANLIB=$${RANLIB}" \
12396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12397                   clean) \
12398           || exit 1
12399
12400
12401 .PHONY: maybe-distclean-patch distclean-patch
12402 maybe-distclean-patch:
12403
12404 distclean-patch: 
12405         @[ -f ./patch/Makefile ] || exit 0; \
12406         r=`${PWD_COMMAND}`; export r; \
12407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408         $(SET_LIB_PATH) \
12409         for flag in $(EXTRA_HOST_FLAGS); do \
12410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411         done; \
12412         echo "Doing distclean in patch" ; \
12413         (cd patch && \
12414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416                   "RANLIB=$${RANLIB}" \
12417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418                   distclean) \
12419           || exit 1
12420
12421
12422 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
12423 maybe-maintainer-clean-patch:
12424
12425 maintainer-clean-patch: 
12426         @[ -f ./patch/Makefile ] || exit 0; \
12427         r=`${PWD_COMMAND}`; export r; \
12428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12429         $(SET_LIB_PATH) \
12430         for flag in $(EXTRA_HOST_FLAGS); do \
12431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12432         done; \
12433         echo "Doing maintainer-clean in patch" ; \
12434         (cd patch && \
12435           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12436                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12437                   "RANLIB=$${RANLIB}" \
12438                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12439                   maintainer-clean) \
12440           || exit 1
12441
12442
12443
12444 .PHONY: configure-perl maybe-configure-perl
12445 maybe-configure-perl:
12446 configure-perl:
12447         @test ! -f perl/Makefile || exit 0; \
12448         [ -d perl ] || mkdir perl; \
12449         r=`${PWD_COMMAND}`; export r; \
12450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451         CC="$(CC)"; export CC; \
12452         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12453         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12454         CXX="$(CXX)"; export CXX; \
12455         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12456         AR="$(AR)"; export AR; \
12457         AS="$(AS)"; export AS; \
12458         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12459         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12460         LD="$(LD)"; export LD; \
12461         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12462         NM="$(NM)"; export NM; \
12463         RANLIB="$(RANLIB)"; export RANLIB; \
12464         WINDRES="$(WINDRES)"; export WINDRES; \
12465         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12466         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12467         echo Configuring in perl; \
12468         cd perl || exit 1; \
12469         case $(srcdir) in \
12470           \.) \
12471             srcdiroption="--srcdir=."; \
12472             libsrcdir=".";; \
12473           /* | [A-Za-z]:[\\/]*) \
12474             srcdiroption="--srcdir=$(srcdir)/perl"; \
12475             libsrcdir="$$s/perl";; \
12476           *) \
12477             srcdiroption="--srcdir=../$(srcdir)/perl"; \
12478             libsrcdir="$$s/perl";; \
12479         esac; \
12480         $(SHELL) $${libsrcdir}/configure \
12481           $(HOST_CONFIGARGS) $${srcdiroption} \
12482           || exit 1
12483
12484 .PHONY: all-perl maybe-all-perl
12485 maybe-all-perl:
12486 all-perl: configure-perl
12487         @r=`${PWD_COMMAND}`; export r; \
12488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489         $(SET_LIB_PATH) \
12490         (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
12491
12492 .PHONY: check-perl maybe-check-perl
12493 maybe-check-perl:
12494
12495 check-perl:
12496         @r=`${PWD_COMMAND}`; export r; \
12497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12498         $(SET_LIB_PATH) \
12499         (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
12500
12501
12502 .PHONY: install-perl maybe-install-perl
12503 maybe-install-perl:
12504
12505 install-perl: installdirs
12506         @r=`${PWD_COMMAND}`; export r; \
12507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12508         $(SET_LIB_PATH) \
12509         (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
12510
12511
12512 # Other targets (info, dvi, etc.)
12513
12514 .PHONY: maybe-info-perl info-perl
12515 maybe-info-perl:
12516
12517 info-perl: \
12518     configure-perl 
12519         @[ -f ./perl/Makefile ] || exit 0; \
12520         r=`${PWD_COMMAND}`; export r; \
12521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522         $(SET_LIB_PATH) \
12523         for flag in $(EXTRA_HOST_FLAGS); do \
12524           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12525         done; \
12526         echo "Doing info in perl" ; \
12527         (cd perl && \
12528           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12529                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12530                   "RANLIB=$${RANLIB}" \
12531                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12532                   info) \
12533           || exit 1
12534
12535
12536 .PHONY: maybe-dvi-perl dvi-perl
12537 maybe-dvi-perl:
12538
12539 dvi-perl: \
12540     configure-perl 
12541         @[ -f ./perl/Makefile ] || exit 0; \
12542         r=`${PWD_COMMAND}`; export r; \
12543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12544         $(SET_LIB_PATH) \
12545         for flag in $(EXTRA_HOST_FLAGS); do \
12546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547         done; \
12548         echo "Doing dvi in perl" ; \
12549         (cd perl && \
12550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552                   "RANLIB=$${RANLIB}" \
12553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12554                   dvi) \
12555           || exit 1
12556
12557
12558 .PHONY: maybe-TAGS-perl TAGS-perl
12559 maybe-TAGS-perl:
12560
12561 TAGS-perl: \
12562     configure-perl 
12563         @[ -f ./perl/Makefile ] || exit 0; \
12564         r=`${PWD_COMMAND}`; export r; \
12565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566         $(SET_LIB_PATH) \
12567         for flag in $(EXTRA_HOST_FLAGS); do \
12568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12569         done; \
12570         echo "Doing TAGS in perl" ; \
12571         (cd perl && \
12572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574                   "RANLIB=$${RANLIB}" \
12575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12576                   TAGS) \
12577           || exit 1
12578
12579
12580 .PHONY: maybe-install-info-perl install-info-perl
12581 maybe-install-info-perl:
12582
12583 install-info-perl: \
12584     configure-perl \
12585     info-perl 
12586         @[ -f ./perl/Makefile ] || exit 0; \
12587         r=`${PWD_COMMAND}`; export r; \
12588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12589         $(SET_LIB_PATH) \
12590         for flag in $(EXTRA_HOST_FLAGS); do \
12591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12592         done; \
12593         echo "Doing install-info in perl" ; \
12594         (cd perl && \
12595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12597                   "RANLIB=$${RANLIB}" \
12598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12599                   install-info) \
12600           || exit 1
12601
12602
12603 .PHONY: maybe-installcheck-perl installcheck-perl
12604 maybe-installcheck-perl:
12605
12606 installcheck-perl: \
12607     configure-perl 
12608         @[ -f ./perl/Makefile ] || exit 0; \
12609         r=`${PWD_COMMAND}`; export r; \
12610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611         $(SET_LIB_PATH) \
12612         for flag in $(EXTRA_HOST_FLAGS); do \
12613           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12614         done; \
12615         echo "Doing installcheck in perl" ; \
12616         (cd perl && \
12617           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12618                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12619                   "RANLIB=$${RANLIB}" \
12620                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12621                   installcheck) \
12622           || exit 1
12623
12624
12625 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
12626 maybe-mostlyclean-perl:
12627
12628 mostlyclean-perl: 
12629         @[ -f ./perl/Makefile ] || exit 0; \
12630         r=`${PWD_COMMAND}`; export r; \
12631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12632         $(SET_LIB_PATH) \
12633         for flag in $(EXTRA_HOST_FLAGS); do \
12634           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12635         done; \
12636         echo "Doing mostlyclean in perl" ; \
12637         (cd perl && \
12638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12640                   "RANLIB=$${RANLIB}" \
12641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12642                   mostlyclean) \
12643           || exit 1
12644
12645
12646 .PHONY: maybe-clean-perl clean-perl
12647 maybe-clean-perl:
12648
12649 clean-perl: 
12650         @[ -f ./perl/Makefile ] || exit 0; \
12651         r=`${PWD_COMMAND}`; export r; \
12652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12653         $(SET_LIB_PATH) \
12654         for flag in $(EXTRA_HOST_FLAGS); do \
12655           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12656         done; \
12657         echo "Doing clean in perl" ; \
12658         (cd perl && \
12659           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12660                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12661                   "RANLIB=$${RANLIB}" \
12662                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12663                   clean) \
12664           || exit 1
12665
12666
12667 .PHONY: maybe-distclean-perl distclean-perl
12668 maybe-distclean-perl:
12669
12670 distclean-perl: 
12671         @[ -f ./perl/Makefile ] || exit 0; \
12672         r=`${PWD_COMMAND}`; export r; \
12673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674         $(SET_LIB_PATH) \
12675         for flag in $(EXTRA_HOST_FLAGS); do \
12676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12677         done; \
12678         echo "Doing distclean in perl" ; \
12679         (cd perl && \
12680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12682                   "RANLIB=$${RANLIB}" \
12683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12684                   distclean) \
12685           || exit 1
12686
12687
12688 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
12689 maybe-maintainer-clean-perl:
12690
12691 maintainer-clean-perl: 
12692         @[ -f ./perl/Makefile ] || exit 0; \
12693         r=`${PWD_COMMAND}`; export r; \
12694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695         $(SET_LIB_PATH) \
12696         for flag in $(EXTRA_HOST_FLAGS); do \
12697           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12698         done; \
12699         echo "Doing maintainer-clean in perl" ; \
12700         (cd perl && \
12701           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703                   "RANLIB=$${RANLIB}" \
12704                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12705                   maintainer-clean) \
12706           || exit 1
12707
12708
12709
12710 .PHONY: configure-prms maybe-configure-prms
12711 maybe-configure-prms:
12712 configure-prms:
12713         @test ! -f prms/Makefile || exit 0; \
12714         [ -d prms ] || mkdir prms; \
12715         r=`${PWD_COMMAND}`; export r; \
12716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717         CC="$(CC)"; export CC; \
12718         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12719         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12720         CXX="$(CXX)"; export CXX; \
12721         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12722         AR="$(AR)"; export AR; \
12723         AS="$(AS)"; export AS; \
12724         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12725         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12726         LD="$(LD)"; export LD; \
12727         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12728         NM="$(NM)"; export NM; \
12729         RANLIB="$(RANLIB)"; export RANLIB; \
12730         WINDRES="$(WINDRES)"; export WINDRES; \
12731         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12732         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12733         echo Configuring in prms; \
12734         cd prms || exit 1; \
12735         case $(srcdir) in \
12736           \.) \
12737             srcdiroption="--srcdir=."; \
12738             libsrcdir=".";; \
12739           /* | [A-Za-z]:[\\/]*) \
12740             srcdiroption="--srcdir=$(srcdir)/prms"; \
12741             libsrcdir="$$s/prms";; \
12742           *) \
12743             srcdiroption="--srcdir=../$(srcdir)/prms"; \
12744             libsrcdir="$$s/prms";; \
12745         esac; \
12746         $(SHELL) $${libsrcdir}/configure \
12747           $(HOST_CONFIGARGS) $${srcdiroption} \
12748           || exit 1
12749
12750 .PHONY: all-prms maybe-all-prms
12751 maybe-all-prms:
12752 all-prms: configure-prms
12753         @r=`${PWD_COMMAND}`; export r; \
12754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755         $(SET_LIB_PATH) \
12756         (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
12757
12758 .PHONY: check-prms maybe-check-prms
12759 maybe-check-prms:
12760
12761 check-prms:
12762         @r=`${PWD_COMMAND}`; export r; \
12763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12764         $(SET_LIB_PATH) \
12765         (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
12766
12767
12768 .PHONY: install-prms maybe-install-prms
12769 maybe-install-prms:
12770
12771 install-prms: installdirs
12772         @r=`${PWD_COMMAND}`; export r; \
12773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774         $(SET_LIB_PATH) \
12775         (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
12776
12777
12778 # Other targets (info, dvi, etc.)
12779
12780 .PHONY: maybe-info-prms info-prms
12781 maybe-info-prms:
12782
12783 info-prms: \
12784     configure-prms 
12785         @[ -f ./prms/Makefile ] || exit 0; \
12786         r=`${PWD_COMMAND}`; export r; \
12787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12788         $(SET_LIB_PATH) \
12789         for flag in $(EXTRA_HOST_FLAGS); do \
12790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12791         done; \
12792         echo "Doing info in prms" ; \
12793         (cd prms && \
12794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12796                   "RANLIB=$${RANLIB}" \
12797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12798                   info) \
12799           || exit 1
12800
12801
12802 .PHONY: maybe-dvi-prms dvi-prms
12803 maybe-dvi-prms:
12804
12805 dvi-prms: \
12806     configure-prms 
12807         @[ -f ./prms/Makefile ] || exit 0; \
12808         r=`${PWD_COMMAND}`; export r; \
12809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12810         $(SET_LIB_PATH) \
12811         for flag in $(EXTRA_HOST_FLAGS); do \
12812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813         done; \
12814         echo "Doing dvi in prms" ; \
12815         (cd prms && \
12816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818                   "RANLIB=$${RANLIB}" \
12819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12820                   dvi) \
12821           || exit 1
12822
12823
12824 .PHONY: maybe-TAGS-prms TAGS-prms
12825 maybe-TAGS-prms:
12826
12827 TAGS-prms: \
12828     configure-prms 
12829         @[ -f ./prms/Makefile ] || exit 0; \
12830         r=`${PWD_COMMAND}`; export r; \
12831         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832         $(SET_LIB_PATH) \
12833         for flag in $(EXTRA_HOST_FLAGS); do \
12834           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835         done; \
12836         echo "Doing TAGS in prms" ; \
12837         (cd prms && \
12838           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840                   "RANLIB=$${RANLIB}" \
12841                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12842                   TAGS) \
12843           || exit 1
12844
12845
12846 .PHONY: maybe-install-info-prms install-info-prms
12847 maybe-install-info-prms:
12848
12849 install-info-prms: \
12850     configure-prms \
12851     info-prms 
12852         @[ -f ./prms/Makefile ] || exit 0; \
12853         r=`${PWD_COMMAND}`; export r; \
12854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12855         $(SET_LIB_PATH) \
12856         for flag in $(EXTRA_HOST_FLAGS); do \
12857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12858         done; \
12859         echo "Doing install-info in prms" ; \
12860         (cd prms && \
12861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12863                   "RANLIB=$${RANLIB}" \
12864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12865                   install-info) \
12866           || exit 1
12867
12868
12869 .PHONY: maybe-installcheck-prms installcheck-prms
12870 maybe-installcheck-prms:
12871
12872 installcheck-prms: \
12873     configure-prms 
12874         @[ -f ./prms/Makefile ] || exit 0; \
12875         r=`${PWD_COMMAND}`; export r; \
12876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12877         $(SET_LIB_PATH) \
12878         for flag in $(EXTRA_HOST_FLAGS); do \
12879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12880         done; \
12881         echo "Doing installcheck in prms" ; \
12882         (cd prms && \
12883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12885                   "RANLIB=$${RANLIB}" \
12886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12887                   installcheck) \
12888           || exit 1
12889
12890
12891 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
12892 maybe-mostlyclean-prms:
12893
12894 mostlyclean-prms: 
12895         @[ -f ./prms/Makefile ] || exit 0; \
12896         r=`${PWD_COMMAND}`; export r; \
12897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898         $(SET_LIB_PATH) \
12899         for flag in $(EXTRA_HOST_FLAGS); do \
12900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12901         done; \
12902         echo "Doing mostlyclean in prms" ; \
12903         (cd prms && \
12904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906                   "RANLIB=$${RANLIB}" \
12907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12908                   mostlyclean) \
12909           || exit 1
12910
12911
12912 .PHONY: maybe-clean-prms clean-prms
12913 maybe-clean-prms:
12914
12915 clean-prms: 
12916         @[ -f ./prms/Makefile ] || exit 0; \
12917         r=`${PWD_COMMAND}`; export r; \
12918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919         $(SET_LIB_PATH) \
12920         for flag in $(EXTRA_HOST_FLAGS); do \
12921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12922         done; \
12923         echo "Doing clean in prms" ; \
12924         (cd prms && \
12925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12927                   "RANLIB=$${RANLIB}" \
12928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12929                   clean) \
12930           || exit 1
12931
12932
12933 .PHONY: maybe-distclean-prms distclean-prms
12934 maybe-distclean-prms:
12935
12936 distclean-prms: 
12937         @[ -f ./prms/Makefile ] || exit 0; \
12938         r=`${PWD_COMMAND}`; export r; \
12939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940         $(SET_LIB_PATH) \
12941         for flag in $(EXTRA_HOST_FLAGS); do \
12942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12943         done; \
12944         echo "Doing distclean in prms" ; \
12945         (cd prms && \
12946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12948                   "RANLIB=$${RANLIB}" \
12949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12950                   distclean) \
12951           || exit 1
12952
12953
12954 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
12955 maybe-maintainer-clean-prms:
12956
12957 maintainer-clean-prms: 
12958         @[ -f ./prms/Makefile ] || exit 0; \
12959         r=`${PWD_COMMAND}`; export r; \
12960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12961         $(SET_LIB_PATH) \
12962         for flag in $(EXTRA_HOST_FLAGS); do \
12963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12964         done; \
12965         echo "Doing maintainer-clean in prms" ; \
12966         (cd prms && \
12967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12969                   "RANLIB=$${RANLIB}" \
12970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12971                   maintainer-clean) \
12972           || exit 1
12973
12974
12975
12976 .PHONY: configure-rcs maybe-configure-rcs
12977 maybe-configure-rcs:
12978 configure-rcs:
12979         @test ! -f rcs/Makefile || exit 0; \
12980         [ -d rcs ] || mkdir rcs; \
12981         r=`${PWD_COMMAND}`; export r; \
12982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983         CC="$(CC)"; export CC; \
12984         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12985         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12986         CXX="$(CXX)"; export CXX; \
12987         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12988         AR="$(AR)"; export AR; \
12989         AS="$(AS)"; export AS; \
12990         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12991         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12992         LD="$(LD)"; export LD; \
12993         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12994         NM="$(NM)"; export NM; \
12995         RANLIB="$(RANLIB)"; export RANLIB; \
12996         WINDRES="$(WINDRES)"; export WINDRES; \
12997         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12998         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12999         echo Configuring in rcs; \
13000         cd rcs || exit 1; \
13001         case $(srcdir) in \
13002           \.) \
13003             srcdiroption="--srcdir=."; \
13004             libsrcdir=".";; \
13005           /* | [A-Za-z]:[\\/]*) \
13006             srcdiroption="--srcdir=$(srcdir)/rcs"; \
13007             libsrcdir="$$s/rcs";; \
13008           *) \
13009             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
13010             libsrcdir="$$s/rcs";; \
13011         esac; \
13012         $(SHELL) $${libsrcdir}/configure \
13013           $(HOST_CONFIGARGS) $${srcdiroption} \
13014           || exit 1
13015
13016 .PHONY: all-rcs maybe-all-rcs
13017 maybe-all-rcs:
13018 all-rcs: configure-rcs
13019         @r=`${PWD_COMMAND}`; export r; \
13020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021         $(SET_LIB_PATH) \
13022         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
13023
13024 .PHONY: check-rcs maybe-check-rcs
13025 maybe-check-rcs:
13026
13027 check-rcs:
13028         @r=`${PWD_COMMAND}`; export r; \
13029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13030         $(SET_LIB_PATH) \
13031         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
13032
13033
13034 .PHONY: install-rcs maybe-install-rcs
13035 maybe-install-rcs:
13036
13037 install-rcs: installdirs
13038         @r=`${PWD_COMMAND}`; export r; \
13039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040         $(SET_LIB_PATH) \
13041         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
13042
13043
13044 # Other targets (info, dvi, etc.)
13045
13046 .PHONY: maybe-info-rcs info-rcs
13047 maybe-info-rcs:
13048
13049 info-rcs: \
13050     configure-rcs 
13051         @[ -f ./rcs/Makefile ] || exit 0; \
13052         r=`${PWD_COMMAND}`; export r; \
13053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054         $(SET_LIB_PATH) \
13055         for flag in $(EXTRA_HOST_FLAGS); do \
13056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13057         done; \
13058         echo "Doing info in rcs" ; \
13059         (cd rcs && \
13060           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13061                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13062                   "RANLIB=$${RANLIB}" \
13063                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13064                   info) \
13065           || exit 1
13066
13067
13068 .PHONY: maybe-dvi-rcs dvi-rcs
13069 maybe-dvi-rcs:
13070
13071 dvi-rcs: \
13072     configure-rcs 
13073         @[ -f ./rcs/Makefile ] || exit 0; \
13074         r=`${PWD_COMMAND}`; export r; \
13075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13076         $(SET_LIB_PATH) \
13077         for flag in $(EXTRA_HOST_FLAGS); do \
13078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13079         done; \
13080         echo "Doing dvi in rcs" ; \
13081         (cd rcs && \
13082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13084                   "RANLIB=$${RANLIB}" \
13085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13086                   dvi) \
13087           || exit 1
13088
13089
13090 .PHONY: maybe-TAGS-rcs TAGS-rcs
13091 maybe-TAGS-rcs:
13092
13093 TAGS-rcs: \
13094     configure-rcs 
13095         @[ -f ./rcs/Makefile ] || exit 0; \
13096         r=`${PWD_COMMAND}`; export r; \
13097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098         $(SET_LIB_PATH) \
13099         for flag in $(EXTRA_HOST_FLAGS); do \
13100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13101         done; \
13102         echo "Doing TAGS in rcs" ; \
13103         (cd rcs && \
13104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13106                   "RANLIB=$${RANLIB}" \
13107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13108                   TAGS) \
13109           || exit 1
13110
13111
13112 .PHONY: maybe-install-info-rcs install-info-rcs
13113 maybe-install-info-rcs:
13114
13115 install-info-rcs: \
13116     configure-rcs \
13117     info-rcs 
13118         @[ -f ./rcs/Makefile ] || exit 0; \
13119         r=`${PWD_COMMAND}`; export r; \
13120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13121         $(SET_LIB_PATH) \
13122         for flag in $(EXTRA_HOST_FLAGS); do \
13123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13124         done; \
13125         echo "Doing install-info in rcs" ; \
13126         (cd rcs && \
13127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13129                   "RANLIB=$${RANLIB}" \
13130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13131                   install-info) \
13132           || exit 1
13133
13134
13135 .PHONY: maybe-installcheck-rcs installcheck-rcs
13136 maybe-installcheck-rcs:
13137
13138 installcheck-rcs: \
13139     configure-rcs 
13140         @[ -f ./rcs/Makefile ] || exit 0; \
13141         r=`${PWD_COMMAND}`; export r; \
13142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13143         $(SET_LIB_PATH) \
13144         for flag in $(EXTRA_HOST_FLAGS); do \
13145           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13146         done; \
13147         echo "Doing installcheck in rcs" ; \
13148         (cd rcs && \
13149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13151                   "RANLIB=$${RANLIB}" \
13152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13153                   installcheck) \
13154           || exit 1
13155
13156
13157 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
13158 maybe-mostlyclean-rcs:
13159
13160 mostlyclean-rcs: 
13161         @[ -f ./rcs/Makefile ] || exit 0; \
13162         r=`${PWD_COMMAND}`; export r; \
13163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13164         $(SET_LIB_PATH) \
13165         for flag in $(EXTRA_HOST_FLAGS); do \
13166           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13167         done; \
13168         echo "Doing mostlyclean in rcs" ; \
13169         (cd rcs && \
13170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13172                   "RANLIB=$${RANLIB}" \
13173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13174                   mostlyclean) \
13175           || exit 1
13176
13177
13178 .PHONY: maybe-clean-rcs clean-rcs
13179 maybe-clean-rcs:
13180
13181 clean-rcs: 
13182         @[ -f ./rcs/Makefile ] || exit 0; \
13183         r=`${PWD_COMMAND}`; export r; \
13184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185         $(SET_LIB_PATH) \
13186         for flag in $(EXTRA_HOST_FLAGS); do \
13187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188         done; \
13189         echo "Doing clean in rcs" ; \
13190         (cd rcs && \
13191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193                   "RANLIB=$${RANLIB}" \
13194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13195                   clean) \
13196           || exit 1
13197
13198
13199 .PHONY: maybe-distclean-rcs distclean-rcs
13200 maybe-distclean-rcs:
13201
13202 distclean-rcs: 
13203         @[ -f ./rcs/Makefile ] || exit 0; \
13204         r=`${PWD_COMMAND}`; export r; \
13205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206         $(SET_LIB_PATH) \
13207         for flag in $(EXTRA_HOST_FLAGS); do \
13208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13209         done; \
13210         echo "Doing distclean in rcs" ; \
13211         (cd rcs && \
13212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13214                   "RANLIB=$${RANLIB}" \
13215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13216                   distclean) \
13217           || exit 1
13218
13219
13220 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
13221 maybe-maintainer-clean-rcs:
13222
13223 maintainer-clean-rcs: 
13224         @[ -f ./rcs/Makefile ] || exit 0; \
13225         r=`${PWD_COMMAND}`; export r; \
13226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13227         $(SET_LIB_PATH) \
13228         for flag in $(EXTRA_HOST_FLAGS); do \
13229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13230         done; \
13231         echo "Doing maintainer-clean in rcs" ; \
13232         (cd rcs && \
13233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13235                   "RANLIB=$${RANLIB}" \
13236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13237                   maintainer-clean) \
13238           || exit 1
13239
13240
13241
13242 .PHONY: configure-readline maybe-configure-readline
13243 maybe-configure-readline:
13244 configure-readline:
13245         @test ! -f readline/Makefile || exit 0; \
13246         [ -d readline ] || mkdir readline; \
13247         r=`${PWD_COMMAND}`; export r; \
13248         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249         CC="$(CC)"; export CC; \
13250         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13251         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13252         CXX="$(CXX)"; export CXX; \
13253         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13254         AR="$(AR)"; export AR; \
13255         AS="$(AS)"; export AS; \
13256         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13257         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13258         LD="$(LD)"; export LD; \
13259         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13260         NM="$(NM)"; export NM; \
13261         RANLIB="$(RANLIB)"; export RANLIB; \
13262         WINDRES="$(WINDRES)"; export WINDRES; \
13263         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13264         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13265         echo Configuring in readline; \
13266         cd readline || exit 1; \
13267         case $(srcdir) in \
13268           \.) \
13269             srcdiroption="--srcdir=."; \
13270             libsrcdir=".";; \
13271           /* | [A-Za-z]:[\\/]*) \
13272             srcdiroption="--srcdir=$(srcdir)/readline"; \
13273             libsrcdir="$$s/readline";; \
13274           *) \
13275             srcdiroption="--srcdir=../$(srcdir)/readline"; \
13276             libsrcdir="$$s/readline";; \
13277         esac; \
13278         $(SHELL) $${libsrcdir}/configure \
13279           $(HOST_CONFIGARGS) $${srcdiroption} \
13280           || exit 1
13281
13282 .PHONY: all-readline maybe-all-readline
13283 maybe-all-readline:
13284 all-readline: configure-readline
13285         @r=`${PWD_COMMAND}`; export r; \
13286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287         $(SET_LIB_PATH) \
13288         (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
13289
13290 .PHONY: check-readline maybe-check-readline
13291 maybe-check-readline:
13292
13293 check-readline:
13294         @r=`${PWD_COMMAND}`; export r; \
13295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296         $(SET_LIB_PATH) \
13297         (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
13298
13299
13300 .PHONY: install-readline maybe-install-readline
13301 maybe-install-readline:
13302
13303 install-readline: installdirs
13304         @r=`${PWD_COMMAND}`; export r; \
13305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13306         $(SET_LIB_PATH) \
13307         (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
13308
13309
13310 # Other targets (info, dvi, etc.)
13311
13312 .PHONY: maybe-info-readline info-readline
13313 maybe-info-readline:
13314
13315 info-readline: \
13316     configure-readline 
13317         @[ -f ./readline/Makefile ] || exit 0; \
13318         r=`${PWD_COMMAND}`; export r; \
13319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13320         $(SET_LIB_PATH) \
13321         for flag in $(EXTRA_HOST_FLAGS); do \
13322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13323         done; \
13324         echo "Doing info in readline" ; \
13325         (cd readline && \
13326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13328                   "RANLIB=$${RANLIB}" \
13329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13330                   info) \
13331           || exit 1
13332
13333
13334 .PHONY: maybe-dvi-readline dvi-readline
13335 maybe-dvi-readline:
13336
13337 dvi-readline: \
13338     configure-readline 
13339         @[ -f ./readline/Makefile ] || exit 0; \
13340         r=`${PWD_COMMAND}`; export r; \
13341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342         $(SET_LIB_PATH) \
13343         for flag in $(EXTRA_HOST_FLAGS); do \
13344           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345         done; \
13346         echo "Doing dvi in readline" ; \
13347         (cd readline && \
13348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350                   "RANLIB=$${RANLIB}" \
13351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13352                   dvi) \
13353           || exit 1
13354
13355
13356 .PHONY: maybe-TAGS-readline TAGS-readline
13357 maybe-TAGS-readline:
13358
13359 TAGS-readline: \
13360     configure-readline 
13361         @[ -f ./readline/Makefile ] || exit 0; \
13362         r=`${PWD_COMMAND}`; export r; \
13363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364         $(SET_LIB_PATH) \
13365         for flag in $(EXTRA_HOST_FLAGS); do \
13366           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367         done; \
13368         echo "Doing TAGS in readline" ; \
13369         (cd readline && \
13370           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372                   "RANLIB=$${RANLIB}" \
13373                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13374                   TAGS) \
13375           || exit 1
13376
13377
13378 .PHONY: maybe-install-info-readline install-info-readline
13379 maybe-install-info-readline:
13380
13381 install-info-readline: \
13382     configure-readline \
13383     info-readline 
13384         @[ -f ./readline/Makefile ] || exit 0; \
13385         r=`${PWD_COMMAND}`; export r; \
13386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13387         $(SET_LIB_PATH) \
13388         for flag in $(EXTRA_HOST_FLAGS); do \
13389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13390         done; \
13391         echo "Doing install-info in readline" ; \
13392         (cd readline && \
13393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13395                   "RANLIB=$${RANLIB}" \
13396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13397                   install-info) \
13398           || exit 1
13399
13400
13401 .PHONY: maybe-installcheck-readline installcheck-readline
13402 maybe-installcheck-readline:
13403
13404 installcheck-readline: \
13405     configure-readline 
13406         @[ -f ./readline/Makefile ] || exit 0; \
13407         r=`${PWD_COMMAND}`; export r; \
13408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409         $(SET_LIB_PATH) \
13410         for flag in $(EXTRA_HOST_FLAGS); do \
13411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13412         done; \
13413         echo "Doing installcheck in readline" ; \
13414         (cd readline && \
13415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13417                   "RANLIB=$${RANLIB}" \
13418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13419                   installcheck) \
13420           || exit 1
13421
13422
13423 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
13424 maybe-mostlyclean-readline:
13425
13426 mostlyclean-readline: 
13427         @[ -f ./readline/Makefile ] || exit 0; \
13428         r=`${PWD_COMMAND}`; export r; \
13429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13430         $(SET_LIB_PATH) \
13431         for flag in $(EXTRA_HOST_FLAGS); do \
13432           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13433         done; \
13434         echo "Doing mostlyclean in readline" ; \
13435         (cd readline && \
13436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13438                   "RANLIB=$${RANLIB}" \
13439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13440                   mostlyclean) \
13441           || exit 1
13442
13443
13444 .PHONY: maybe-clean-readline clean-readline
13445 maybe-clean-readline:
13446
13447 clean-readline: 
13448         @[ -f ./readline/Makefile ] || exit 0; \
13449         r=`${PWD_COMMAND}`; export r; \
13450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451         $(SET_LIB_PATH) \
13452         for flag in $(EXTRA_HOST_FLAGS); do \
13453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454         done; \
13455         echo "Doing clean in readline" ; \
13456         (cd readline && \
13457           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13458                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13459                   "RANLIB=$${RANLIB}" \
13460                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13461                   clean) \
13462           || exit 1
13463
13464
13465 .PHONY: maybe-distclean-readline distclean-readline
13466 maybe-distclean-readline:
13467
13468 distclean-readline: 
13469         @[ -f ./readline/Makefile ] || exit 0; \
13470         r=`${PWD_COMMAND}`; export r; \
13471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13472         $(SET_LIB_PATH) \
13473         for flag in $(EXTRA_HOST_FLAGS); do \
13474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13475         done; \
13476         echo "Doing distclean in readline" ; \
13477         (cd readline && \
13478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13480                   "RANLIB=$${RANLIB}" \
13481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13482                   distclean) \
13483           || exit 1
13484
13485
13486 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
13487 maybe-maintainer-clean-readline:
13488
13489 maintainer-clean-readline: 
13490         @[ -f ./readline/Makefile ] || exit 0; \
13491         r=`${PWD_COMMAND}`; export r; \
13492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13493         $(SET_LIB_PATH) \
13494         for flag in $(EXTRA_HOST_FLAGS); do \
13495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13496         done; \
13497         echo "Doing maintainer-clean in readline" ; \
13498         (cd readline && \
13499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13501                   "RANLIB=$${RANLIB}" \
13502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13503                   maintainer-clean) \
13504           || exit 1
13505
13506
13507
13508 .PHONY: configure-release maybe-configure-release
13509 maybe-configure-release:
13510 configure-release:
13511         @test ! -f release/Makefile || exit 0; \
13512         [ -d release ] || mkdir release; \
13513         r=`${PWD_COMMAND}`; export r; \
13514         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515         CC="$(CC)"; export CC; \
13516         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13517         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13518         CXX="$(CXX)"; export CXX; \
13519         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13520         AR="$(AR)"; export AR; \
13521         AS="$(AS)"; export AS; \
13522         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13523         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13524         LD="$(LD)"; export LD; \
13525         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13526         NM="$(NM)"; export NM; \
13527         RANLIB="$(RANLIB)"; export RANLIB; \
13528         WINDRES="$(WINDRES)"; export WINDRES; \
13529         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13530         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13531         echo Configuring in release; \
13532         cd release || exit 1; \
13533         case $(srcdir) in \
13534           \.) \
13535             srcdiroption="--srcdir=."; \
13536             libsrcdir=".";; \
13537           /* | [A-Za-z]:[\\/]*) \
13538             srcdiroption="--srcdir=$(srcdir)/release"; \
13539             libsrcdir="$$s/release";; \
13540           *) \
13541             srcdiroption="--srcdir=../$(srcdir)/release"; \
13542             libsrcdir="$$s/release";; \
13543         esac; \
13544         $(SHELL) $${libsrcdir}/configure \
13545           $(HOST_CONFIGARGS) $${srcdiroption} \
13546           || exit 1
13547
13548 .PHONY: all-release maybe-all-release
13549 maybe-all-release:
13550 all-release: configure-release
13551         @r=`${PWD_COMMAND}`; export r; \
13552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553         $(SET_LIB_PATH) \
13554         (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
13555
13556 .PHONY: check-release maybe-check-release
13557 maybe-check-release:
13558
13559 check-release:
13560
13561
13562 .PHONY: install-release maybe-install-release
13563 maybe-install-release:
13564
13565 install-release:
13566
13567
13568 # Other targets (info, dvi, etc.)
13569
13570 .PHONY: maybe-info-release info-release
13571 maybe-info-release:
13572
13573 info-release: \
13574     configure-release 
13575         @[ -f ./release/Makefile ] || exit 0; \
13576         r=`${PWD_COMMAND}`; export r; \
13577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578         $(SET_LIB_PATH) \
13579         for flag in $(EXTRA_HOST_FLAGS); do \
13580           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581         done; \
13582         echo "Doing info in release" ; \
13583         (cd release && \
13584           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586                   "RANLIB=$${RANLIB}" \
13587                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588                   info) \
13589           || exit 1
13590
13591
13592 .PHONY: maybe-dvi-release dvi-release
13593 maybe-dvi-release:
13594
13595 dvi-release: \
13596     configure-release 
13597         @[ -f ./release/Makefile ] || exit 0; \
13598         r=`${PWD_COMMAND}`; export r; \
13599         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600         $(SET_LIB_PATH) \
13601         for flag in $(EXTRA_HOST_FLAGS); do \
13602           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13603         done; \
13604         echo "Doing dvi in release" ; \
13605         (cd release && \
13606           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13607                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13608                   "RANLIB=$${RANLIB}" \
13609                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13610                   dvi) \
13611           || exit 1
13612
13613
13614 .PHONY: maybe-TAGS-release TAGS-release
13615 maybe-TAGS-release:
13616
13617 TAGS-release: \
13618     configure-release 
13619         @[ -f ./release/Makefile ] || exit 0; \
13620         r=`${PWD_COMMAND}`; export r; \
13621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13622         $(SET_LIB_PATH) \
13623         for flag in $(EXTRA_HOST_FLAGS); do \
13624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13625         done; \
13626         echo "Doing TAGS in release" ; \
13627         (cd release && \
13628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630                   "RANLIB=$${RANLIB}" \
13631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13632                   TAGS) \
13633           || exit 1
13634
13635
13636 .PHONY: maybe-install-info-release install-info-release
13637 maybe-install-info-release:
13638
13639 install-info-release: \
13640     configure-release \
13641     info-release 
13642         @[ -f ./release/Makefile ] || exit 0; \
13643         r=`${PWD_COMMAND}`; export r; \
13644         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13645         $(SET_LIB_PATH) \
13646         for flag in $(EXTRA_HOST_FLAGS); do \
13647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13648         done; \
13649         echo "Doing install-info in release" ; \
13650         (cd release && \
13651           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13652                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13653                   "RANLIB=$${RANLIB}" \
13654                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13655                   install-info) \
13656           || exit 1
13657
13658
13659 .PHONY: maybe-installcheck-release installcheck-release
13660 maybe-installcheck-release:
13661
13662 installcheck-release: \
13663     configure-release 
13664         @[ -f ./release/Makefile ] || exit 0; \
13665         r=`${PWD_COMMAND}`; export r; \
13666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13667         $(SET_LIB_PATH) \
13668         for flag in $(EXTRA_HOST_FLAGS); do \
13669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13670         done; \
13671         echo "Doing installcheck in release" ; \
13672         (cd release && \
13673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13675                   "RANLIB=$${RANLIB}" \
13676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13677                   installcheck) \
13678           || exit 1
13679
13680
13681 .PHONY: maybe-mostlyclean-release mostlyclean-release
13682 maybe-mostlyclean-release:
13683
13684 mostlyclean-release: 
13685         @[ -f ./release/Makefile ] || exit 0; \
13686         r=`${PWD_COMMAND}`; export r; \
13687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688         $(SET_LIB_PATH) \
13689         for flag in $(EXTRA_HOST_FLAGS); do \
13690           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13691         done; \
13692         echo "Doing mostlyclean in release" ; \
13693         (cd release && \
13694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696                   "RANLIB=$${RANLIB}" \
13697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13698                   mostlyclean) \
13699           || exit 1
13700
13701
13702 .PHONY: maybe-clean-release clean-release
13703 maybe-clean-release:
13704
13705 clean-release: 
13706         @[ -f ./release/Makefile ] || exit 0; \
13707         r=`${PWD_COMMAND}`; export r; \
13708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709         $(SET_LIB_PATH) \
13710         for flag in $(EXTRA_HOST_FLAGS); do \
13711           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13712         done; \
13713         echo "Doing clean in release" ; \
13714         (cd release && \
13715           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717                   "RANLIB=$${RANLIB}" \
13718                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13719                   clean) \
13720           || exit 1
13721
13722
13723 .PHONY: maybe-distclean-release distclean-release
13724 maybe-distclean-release:
13725
13726 distclean-release: 
13727         @[ -f ./release/Makefile ] || exit 0; \
13728         r=`${PWD_COMMAND}`; export r; \
13729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730         $(SET_LIB_PATH) \
13731         for flag in $(EXTRA_HOST_FLAGS); do \
13732           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13733         done; \
13734         echo "Doing distclean in release" ; \
13735         (cd release && \
13736           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13737                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13738                   "RANLIB=$${RANLIB}" \
13739                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13740                   distclean) \
13741           || exit 1
13742
13743
13744 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
13745 maybe-maintainer-clean-release:
13746
13747 maintainer-clean-release: 
13748         @[ -f ./release/Makefile ] || exit 0; \
13749         r=`${PWD_COMMAND}`; export r; \
13750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13751         $(SET_LIB_PATH) \
13752         for flag in $(EXTRA_HOST_FLAGS); do \
13753           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13754         done; \
13755         echo "Doing maintainer-clean in release" ; \
13756         (cd release && \
13757           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13758                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13759                   "RANLIB=$${RANLIB}" \
13760                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13761                   maintainer-clean) \
13762           || exit 1
13763
13764
13765
13766 .PHONY: configure-recode maybe-configure-recode
13767 maybe-configure-recode:
13768 configure-recode:
13769         @test ! -f recode/Makefile || exit 0; \
13770         [ -d recode ] || mkdir recode; \
13771         r=`${PWD_COMMAND}`; export r; \
13772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13773         CC="$(CC)"; export CC; \
13774         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13775         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13776         CXX="$(CXX)"; export CXX; \
13777         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13778         AR="$(AR)"; export AR; \
13779         AS="$(AS)"; export AS; \
13780         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13781         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13782         LD="$(LD)"; export LD; \
13783         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13784         NM="$(NM)"; export NM; \
13785         RANLIB="$(RANLIB)"; export RANLIB; \
13786         WINDRES="$(WINDRES)"; export WINDRES; \
13787         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13788         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13789         echo Configuring in recode; \
13790         cd recode || exit 1; \
13791         case $(srcdir) in \
13792           \.) \
13793             srcdiroption="--srcdir=."; \
13794             libsrcdir=".";; \
13795           /* | [A-Za-z]:[\\/]*) \
13796             srcdiroption="--srcdir=$(srcdir)/recode"; \
13797             libsrcdir="$$s/recode";; \
13798           *) \
13799             srcdiroption="--srcdir=../$(srcdir)/recode"; \
13800             libsrcdir="$$s/recode";; \
13801         esac; \
13802         $(SHELL) $${libsrcdir}/configure \
13803           $(HOST_CONFIGARGS) $${srcdiroption} \
13804           || exit 1
13805
13806 .PHONY: all-recode maybe-all-recode
13807 maybe-all-recode:
13808 all-recode: configure-recode
13809         @r=`${PWD_COMMAND}`; export r; \
13810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811         $(SET_LIB_PATH) \
13812         (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
13813
13814 .PHONY: check-recode maybe-check-recode
13815 maybe-check-recode:
13816
13817 check-recode:
13818         @r=`${PWD_COMMAND}`; export r; \
13819         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13820         $(SET_LIB_PATH) \
13821         (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
13822
13823
13824 .PHONY: install-recode maybe-install-recode
13825 maybe-install-recode:
13826
13827 install-recode: installdirs
13828         @r=`${PWD_COMMAND}`; export r; \
13829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830         $(SET_LIB_PATH) \
13831         (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
13832
13833
13834 # Other targets (info, dvi, etc.)
13835
13836 .PHONY: maybe-info-recode info-recode
13837 maybe-info-recode:
13838
13839 info-recode: \
13840     configure-recode 
13841         @[ -f ./recode/Makefile ] || exit 0; \
13842         r=`${PWD_COMMAND}`; export r; \
13843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844         $(SET_LIB_PATH) \
13845         for flag in $(EXTRA_HOST_FLAGS); do \
13846           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13847         done; \
13848         echo "Doing info in recode" ; \
13849         (cd recode && \
13850           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13851                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13852                   "RANLIB=$${RANLIB}" \
13853                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13854                   info) \
13855           || exit 1
13856
13857
13858 .PHONY: maybe-dvi-recode dvi-recode
13859 maybe-dvi-recode:
13860
13861 dvi-recode: \
13862     configure-recode 
13863         @[ -f ./recode/Makefile ] || exit 0; \
13864         r=`${PWD_COMMAND}`; export r; \
13865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13866         $(SET_LIB_PATH) \
13867         for flag in $(EXTRA_HOST_FLAGS); do \
13868           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13869         done; \
13870         echo "Doing dvi in recode" ; \
13871         (cd recode && \
13872           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13873                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13874                   "RANLIB=$${RANLIB}" \
13875                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13876                   dvi) \
13877           || exit 1
13878
13879
13880 .PHONY: maybe-TAGS-recode TAGS-recode
13881 maybe-TAGS-recode:
13882
13883 TAGS-recode: \
13884     configure-recode 
13885         @[ -f ./recode/Makefile ] || exit 0; \
13886         r=`${PWD_COMMAND}`; export r; \
13887         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13888         $(SET_LIB_PATH) \
13889         for flag in $(EXTRA_HOST_FLAGS); do \
13890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13891         done; \
13892         echo "Doing TAGS in recode" ; \
13893         (cd recode && \
13894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13896                   "RANLIB=$${RANLIB}" \
13897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13898                   TAGS) \
13899           || exit 1
13900
13901
13902 .PHONY: maybe-install-info-recode install-info-recode
13903 maybe-install-info-recode:
13904
13905 install-info-recode: \
13906     configure-recode \
13907     info-recode 
13908         @[ -f ./recode/Makefile ] || exit 0; \
13909         r=`${PWD_COMMAND}`; export r; \
13910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13911         $(SET_LIB_PATH) \
13912         for flag in $(EXTRA_HOST_FLAGS); do \
13913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13914         done; \
13915         echo "Doing install-info in recode" ; \
13916         (cd recode && \
13917           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919                   "RANLIB=$${RANLIB}" \
13920                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921                   install-info) \
13922           || exit 1
13923
13924
13925 .PHONY: maybe-installcheck-recode installcheck-recode
13926 maybe-installcheck-recode:
13927
13928 installcheck-recode: \
13929     configure-recode 
13930         @[ -f ./recode/Makefile ] || exit 0; \
13931         r=`${PWD_COMMAND}`; export r; \
13932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13933         $(SET_LIB_PATH) \
13934         for flag in $(EXTRA_HOST_FLAGS); do \
13935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13936         done; \
13937         echo "Doing installcheck in recode" ; \
13938         (cd recode && \
13939           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13940                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13941                   "RANLIB=$${RANLIB}" \
13942                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13943                   installcheck) \
13944           || exit 1
13945
13946
13947 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
13948 maybe-mostlyclean-recode:
13949
13950 mostlyclean-recode: 
13951         @[ -f ./recode/Makefile ] || exit 0; \
13952         r=`${PWD_COMMAND}`; export r; \
13953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13954         $(SET_LIB_PATH) \
13955         for flag in $(EXTRA_HOST_FLAGS); do \
13956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13957         done; \
13958         echo "Doing mostlyclean in recode" ; \
13959         (cd recode && \
13960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13962                   "RANLIB=$${RANLIB}" \
13963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13964                   mostlyclean) \
13965           || exit 1
13966
13967
13968 .PHONY: maybe-clean-recode clean-recode
13969 maybe-clean-recode:
13970
13971 clean-recode: 
13972         @[ -f ./recode/Makefile ] || exit 0; \
13973         r=`${PWD_COMMAND}`; export r; \
13974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13975         $(SET_LIB_PATH) \
13976         for flag in $(EXTRA_HOST_FLAGS); do \
13977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13978         done; \
13979         echo "Doing clean in recode" ; \
13980         (cd recode && \
13981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13983                   "RANLIB=$${RANLIB}" \
13984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13985                   clean) \
13986           || exit 1
13987
13988
13989 .PHONY: maybe-distclean-recode distclean-recode
13990 maybe-distclean-recode:
13991
13992 distclean-recode: 
13993         @[ -f ./recode/Makefile ] || exit 0; \
13994         r=`${PWD_COMMAND}`; export r; \
13995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13996         $(SET_LIB_PATH) \
13997         for flag in $(EXTRA_HOST_FLAGS); do \
13998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13999         done; \
14000         echo "Doing distclean in recode" ; \
14001         (cd recode && \
14002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14004                   "RANLIB=$${RANLIB}" \
14005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14006                   distclean) \
14007           || exit 1
14008
14009
14010 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
14011 maybe-maintainer-clean-recode:
14012
14013 maintainer-clean-recode: 
14014         @[ -f ./recode/Makefile ] || exit 0; \
14015         r=`${PWD_COMMAND}`; export r; \
14016         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14017         $(SET_LIB_PATH) \
14018         for flag in $(EXTRA_HOST_FLAGS); do \
14019           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14020         done; \
14021         echo "Doing maintainer-clean in recode" ; \
14022         (cd recode && \
14023           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14024                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14025                   "RANLIB=$${RANLIB}" \
14026                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14027                   maintainer-clean) \
14028           || exit 1
14029
14030
14031
14032 .PHONY: configure-sed maybe-configure-sed
14033 maybe-configure-sed:
14034 configure-sed:
14035         @test ! -f sed/Makefile || exit 0; \
14036         [ -d sed ] || mkdir sed; \
14037         r=`${PWD_COMMAND}`; export r; \
14038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039         CC="$(CC)"; export CC; \
14040         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14041         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14042         CXX="$(CXX)"; export CXX; \
14043         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14044         AR="$(AR)"; export AR; \
14045         AS="$(AS)"; export AS; \
14046         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14047         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14048         LD="$(LD)"; export LD; \
14049         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14050         NM="$(NM)"; export NM; \
14051         RANLIB="$(RANLIB)"; export RANLIB; \
14052         WINDRES="$(WINDRES)"; export WINDRES; \
14053         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14054         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14055         echo Configuring in sed; \
14056         cd sed || exit 1; \
14057         case $(srcdir) in \
14058           \.) \
14059             srcdiroption="--srcdir=."; \
14060             libsrcdir=".";; \
14061           /* | [A-Za-z]:[\\/]*) \
14062             srcdiroption="--srcdir=$(srcdir)/sed"; \
14063             libsrcdir="$$s/sed";; \
14064           *) \
14065             srcdiroption="--srcdir=../$(srcdir)/sed"; \
14066             libsrcdir="$$s/sed";; \
14067         esac; \
14068         $(SHELL) $${libsrcdir}/configure \
14069           $(HOST_CONFIGARGS) $${srcdiroption} \
14070           || exit 1
14071
14072 .PHONY: all-sed maybe-all-sed
14073 maybe-all-sed:
14074 all-sed: configure-sed
14075         @r=`${PWD_COMMAND}`; export r; \
14076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077         $(SET_LIB_PATH) \
14078         (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
14079
14080 .PHONY: check-sed maybe-check-sed
14081 maybe-check-sed:
14082
14083 check-sed:
14084         @r=`${PWD_COMMAND}`; export r; \
14085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086         $(SET_LIB_PATH) \
14087         (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
14088
14089
14090 .PHONY: install-sed maybe-install-sed
14091 maybe-install-sed:
14092
14093 install-sed: installdirs
14094         @r=`${PWD_COMMAND}`; export r; \
14095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14096         $(SET_LIB_PATH) \
14097         (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
14098
14099
14100 # Other targets (info, dvi, etc.)
14101
14102 .PHONY: maybe-info-sed info-sed
14103 maybe-info-sed:
14104
14105 info-sed: \
14106     configure-sed 
14107         @[ -f ./sed/Makefile ] || exit 0; \
14108         r=`${PWD_COMMAND}`; export r; \
14109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14110         $(SET_LIB_PATH) \
14111         for flag in $(EXTRA_HOST_FLAGS); do \
14112           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14113         done; \
14114         echo "Doing info in sed" ; \
14115         (cd sed && \
14116           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14117                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14118                   "RANLIB=$${RANLIB}" \
14119                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14120                   info) \
14121           || exit 1
14122
14123
14124 .PHONY: maybe-dvi-sed dvi-sed
14125 maybe-dvi-sed:
14126
14127 dvi-sed: \
14128     configure-sed 
14129         @[ -f ./sed/Makefile ] || exit 0; \
14130         r=`${PWD_COMMAND}`; export r; \
14131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14132         $(SET_LIB_PATH) \
14133         for flag in $(EXTRA_HOST_FLAGS); do \
14134           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14135         done; \
14136         echo "Doing dvi in sed" ; \
14137         (cd sed && \
14138           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14139                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14140                   "RANLIB=$${RANLIB}" \
14141                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14142                   dvi) \
14143           || exit 1
14144
14145
14146 .PHONY: maybe-TAGS-sed TAGS-sed
14147 maybe-TAGS-sed:
14148
14149 TAGS-sed: \
14150     configure-sed 
14151         @[ -f ./sed/Makefile ] || exit 0; \
14152         r=`${PWD_COMMAND}`; export r; \
14153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154         $(SET_LIB_PATH) \
14155         for flag in $(EXTRA_HOST_FLAGS); do \
14156           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157         done; \
14158         echo "Doing TAGS in sed" ; \
14159         (cd sed && \
14160           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162                   "RANLIB=$${RANLIB}" \
14163                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164                   TAGS) \
14165           || exit 1
14166
14167
14168 .PHONY: maybe-install-info-sed install-info-sed
14169 maybe-install-info-sed:
14170
14171 install-info-sed: \
14172     configure-sed \
14173     info-sed 
14174         @[ -f ./sed/Makefile ] || exit 0; \
14175         r=`${PWD_COMMAND}`; export r; \
14176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177         $(SET_LIB_PATH) \
14178         for flag in $(EXTRA_HOST_FLAGS); do \
14179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14180         done; \
14181         echo "Doing install-info in sed" ; \
14182         (cd sed && \
14183           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14184                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14185                   "RANLIB=$${RANLIB}" \
14186                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14187                   install-info) \
14188           || exit 1
14189
14190
14191 .PHONY: maybe-installcheck-sed installcheck-sed
14192 maybe-installcheck-sed:
14193
14194 installcheck-sed: \
14195     configure-sed 
14196         @[ -f ./sed/Makefile ] || exit 0; \
14197         r=`${PWD_COMMAND}`; export r; \
14198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14199         $(SET_LIB_PATH) \
14200         for flag in $(EXTRA_HOST_FLAGS); do \
14201           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14202         done; \
14203         echo "Doing installcheck in sed" ; \
14204         (cd sed && \
14205           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14206                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14207                   "RANLIB=$${RANLIB}" \
14208                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14209                   installcheck) \
14210           || exit 1
14211
14212
14213 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
14214 maybe-mostlyclean-sed:
14215
14216 mostlyclean-sed: 
14217         @[ -f ./sed/Makefile ] || exit 0; \
14218         r=`${PWD_COMMAND}`; export r; \
14219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14220         $(SET_LIB_PATH) \
14221         for flag in $(EXTRA_HOST_FLAGS); do \
14222           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14223         done; \
14224         echo "Doing mostlyclean in sed" ; \
14225         (cd sed && \
14226           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228                   "RANLIB=$${RANLIB}" \
14229                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14230                   mostlyclean) \
14231           || exit 1
14232
14233
14234 .PHONY: maybe-clean-sed clean-sed
14235 maybe-clean-sed:
14236
14237 clean-sed: 
14238         @[ -f ./sed/Makefile ] || exit 0; \
14239         r=`${PWD_COMMAND}`; export r; \
14240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241         $(SET_LIB_PATH) \
14242         for flag in $(EXTRA_HOST_FLAGS); do \
14243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14244         done; \
14245         echo "Doing clean in sed" ; \
14246         (cd sed && \
14247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249                   "RANLIB=$${RANLIB}" \
14250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14251                   clean) \
14252           || exit 1
14253
14254
14255 .PHONY: maybe-distclean-sed distclean-sed
14256 maybe-distclean-sed:
14257
14258 distclean-sed: 
14259         @[ -f ./sed/Makefile ] || exit 0; \
14260         r=`${PWD_COMMAND}`; export r; \
14261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14262         $(SET_LIB_PATH) \
14263         for flag in $(EXTRA_HOST_FLAGS); do \
14264           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14265         done; \
14266         echo "Doing distclean in sed" ; \
14267         (cd sed && \
14268           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14269                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14270                   "RANLIB=$${RANLIB}" \
14271                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14272                   distclean) \
14273           || exit 1
14274
14275
14276 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
14277 maybe-maintainer-clean-sed:
14278
14279 maintainer-clean-sed: 
14280         @[ -f ./sed/Makefile ] || exit 0; \
14281         r=`${PWD_COMMAND}`; export r; \
14282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283         $(SET_LIB_PATH) \
14284         for flag in $(EXTRA_HOST_FLAGS); do \
14285           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286         done; \
14287         echo "Doing maintainer-clean in sed" ; \
14288         (cd sed && \
14289           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291                   "RANLIB=$${RANLIB}" \
14292                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293                   maintainer-clean) \
14294           || exit 1
14295
14296
14297
14298 .PHONY: configure-send-pr maybe-configure-send-pr
14299 maybe-configure-send-pr:
14300 configure-send-pr:
14301         @test ! -f send-pr/Makefile || exit 0; \
14302         [ -d send-pr ] || mkdir send-pr; \
14303         r=`${PWD_COMMAND}`; export r; \
14304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305         CC="$(CC)"; export CC; \
14306         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14307         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14308         CXX="$(CXX)"; export CXX; \
14309         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14310         AR="$(AR)"; export AR; \
14311         AS="$(AS)"; export AS; \
14312         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14313         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14314         LD="$(LD)"; export LD; \
14315         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14316         NM="$(NM)"; export NM; \
14317         RANLIB="$(RANLIB)"; export RANLIB; \
14318         WINDRES="$(WINDRES)"; export WINDRES; \
14319         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14320         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14321         echo Configuring in send-pr; \
14322         cd send-pr || exit 1; \
14323         case $(srcdir) in \
14324           \.) \
14325             srcdiroption="--srcdir=."; \
14326             libsrcdir=".";; \
14327           /* | [A-Za-z]:[\\/]*) \
14328             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
14329             libsrcdir="$$s/send-pr";; \
14330           *) \
14331             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
14332             libsrcdir="$$s/send-pr";; \
14333         esac; \
14334         $(SHELL) $${libsrcdir}/configure \
14335           $(HOST_CONFIGARGS) $${srcdiroption} \
14336           || exit 1
14337
14338 .PHONY: all-send-pr maybe-all-send-pr
14339 maybe-all-send-pr:
14340 all-send-pr: configure-send-pr
14341         @r=`${PWD_COMMAND}`; export r; \
14342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343         $(SET_LIB_PATH) \
14344         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
14345
14346 .PHONY: check-send-pr maybe-check-send-pr
14347 maybe-check-send-pr:
14348
14349 check-send-pr:
14350         @r=`${PWD_COMMAND}`; export r; \
14351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352         $(SET_LIB_PATH) \
14353         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
14354
14355
14356 .PHONY: install-send-pr maybe-install-send-pr
14357 maybe-install-send-pr:
14358
14359 install-send-pr: installdirs
14360         @r=`${PWD_COMMAND}`; export r; \
14361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14362         $(SET_LIB_PATH) \
14363         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
14364
14365
14366 # Other targets (info, dvi, etc.)
14367
14368 .PHONY: maybe-info-send-pr info-send-pr
14369 maybe-info-send-pr:
14370
14371 info-send-pr: \
14372     configure-send-pr 
14373         @[ -f ./send-pr/Makefile ] || exit 0; \
14374         r=`${PWD_COMMAND}`; export r; \
14375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14376         $(SET_LIB_PATH) \
14377         for flag in $(EXTRA_HOST_FLAGS); do \
14378           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14379         done; \
14380         echo "Doing info in send-pr" ; \
14381         (cd send-pr && \
14382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14384                   "RANLIB=$${RANLIB}" \
14385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14386                   info) \
14387           || exit 1
14388
14389
14390 .PHONY: maybe-dvi-send-pr dvi-send-pr
14391 maybe-dvi-send-pr:
14392
14393 dvi-send-pr: \
14394     configure-send-pr 
14395         @[ -f ./send-pr/Makefile ] || exit 0; \
14396         r=`${PWD_COMMAND}`; export r; \
14397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14398         $(SET_LIB_PATH) \
14399         for flag in $(EXTRA_HOST_FLAGS); do \
14400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14401         done; \
14402         echo "Doing dvi in send-pr" ; \
14403         (cd send-pr && \
14404           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14405                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14406                   "RANLIB=$${RANLIB}" \
14407                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14408                   dvi) \
14409           || exit 1
14410
14411
14412 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
14413 maybe-TAGS-send-pr:
14414
14415 TAGS-send-pr: \
14416     configure-send-pr 
14417         @[ -f ./send-pr/Makefile ] || exit 0; \
14418         r=`${PWD_COMMAND}`; export r; \
14419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14420         $(SET_LIB_PATH) \
14421         for flag in $(EXTRA_HOST_FLAGS); do \
14422           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14423         done; \
14424         echo "Doing TAGS in send-pr" ; \
14425         (cd send-pr && \
14426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14428                   "RANLIB=$${RANLIB}" \
14429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14430                   TAGS) \
14431           || exit 1
14432
14433
14434 .PHONY: maybe-install-info-send-pr install-info-send-pr
14435 maybe-install-info-send-pr:
14436
14437 install-info-send-pr: \
14438     configure-send-pr \
14439     info-send-pr 
14440         @[ -f ./send-pr/Makefile ] || exit 0; \
14441         r=`${PWD_COMMAND}`; export r; \
14442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443         $(SET_LIB_PATH) \
14444         for flag in $(EXTRA_HOST_FLAGS); do \
14445           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14446         done; \
14447         echo "Doing install-info in send-pr" ; \
14448         (cd send-pr && \
14449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14451                   "RANLIB=$${RANLIB}" \
14452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14453                   install-info) \
14454           || exit 1
14455
14456
14457 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
14458 maybe-installcheck-send-pr:
14459
14460 installcheck-send-pr: \
14461     configure-send-pr 
14462         @[ -f ./send-pr/Makefile ] || exit 0; \
14463         r=`${PWD_COMMAND}`; export r; \
14464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14465         $(SET_LIB_PATH) \
14466         for flag in $(EXTRA_HOST_FLAGS); do \
14467           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14468         done; \
14469         echo "Doing installcheck in send-pr" ; \
14470         (cd send-pr && \
14471           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14472                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14473                   "RANLIB=$${RANLIB}" \
14474                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14475                   installcheck) \
14476           || exit 1
14477
14478
14479 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
14480 maybe-mostlyclean-send-pr:
14481
14482 mostlyclean-send-pr: 
14483         @[ -f ./send-pr/Makefile ] || exit 0; \
14484         r=`${PWD_COMMAND}`; export r; \
14485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486         $(SET_LIB_PATH) \
14487         for flag in $(EXTRA_HOST_FLAGS); do \
14488           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14489         done; \
14490         echo "Doing mostlyclean in send-pr" ; \
14491         (cd send-pr && \
14492           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14493                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14494                   "RANLIB=$${RANLIB}" \
14495                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14496                   mostlyclean) \
14497           || exit 1
14498
14499
14500 .PHONY: maybe-clean-send-pr clean-send-pr
14501 maybe-clean-send-pr:
14502
14503 clean-send-pr: 
14504         @[ -f ./send-pr/Makefile ] || exit 0; \
14505         r=`${PWD_COMMAND}`; export r; \
14506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507         $(SET_LIB_PATH) \
14508         for flag in $(EXTRA_HOST_FLAGS); do \
14509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14510         done; \
14511         echo "Doing clean in send-pr" ; \
14512         (cd send-pr && \
14513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14515                   "RANLIB=$${RANLIB}" \
14516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14517                   clean) \
14518           || exit 1
14519
14520
14521 .PHONY: maybe-distclean-send-pr distclean-send-pr
14522 maybe-distclean-send-pr:
14523
14524 distclean-send-pr: 
14525         @[ -f ./send-pr/Makefile ] || exit 0; \
14526         r=`${PWD_COMMAND}`; export r; \
14527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528         $(SET_LIB_PATH) \
14529         for flag in $(EXTRA_HOST_FLAGS); do \
14530           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531         done; \
14532         echo "Doing distclean in send-pr" ; \
14533         (cd send-pr && \
14534           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14535                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14536                   "RANLIB=$${RANLIB}" \
14537                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14538                   distclean) \
14539           || exit 1
14540
14541
14542 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
14543 maybe-maintainer-clean-send-pr:
14544
14545 maintainer-clean-send-pr: 
14546         @[ -f ./send-pr/Makefile ] || exit 0; \
14547         r=`${PWD_COMMAND}`; export r; \
14548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14549         $(SET_LIB_PATH) \
14550         for flag in $(EXTRA_HOST_FLAGS); do \
14551           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14552         done; \
14553         echo "Doing maintainer-clean in send-pr" ; \
14554         (cd send-pr && \
14555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14557                   "RANLIB=$${RANLIB}" \
14558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14559                   maintainer-clean) \
14560           || exit 1
14561
14562
14563
14564 .PHONY: configure-shellutils maybe-configure-shellutils
14565 maybe-configure-shellutils:
14566 configure-shellutils:
14567         @test ! -f shellutils/Makefile || exit 0; \
14568         [ -d shellutils ] || mkdir shellutils; \
14569         r=`${PWD_COMMAND}`; export r; \
14570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14571         CC="$(CC)"; export CC; \
14572         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14573         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14574         CXX="$(CXX)"; export CXX; \
14575         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14576         AR="$(AR)"; export AR; \
14577         AS="$(AS)"; export AS; \
14578         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14579         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14580         LD="$(LD)"; export LD; \
14581         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14582         NM="$(NM)"; export NM; \
14583         RANLIB="$(RANLIB)"; export RANLIB; \
14584         WINDRES="$(WINDRES)"; export WINDRES; \
14585         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14586         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14587         echo Configuring in shellutils; \
14588         cd shellutils || exit 1; \
14589         case $(srcdir) in \
14590           \.) \
14591             srcdiroption="--srcdir=."; \
14592             libsrcdir=".";; \
14593           /* | [A-Za-z]:[\\/]*) \
14594             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
14595             libsrcdir="$$s/shellutils";; \
14596           *) \
14597             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
14598             libsrcdir="$$s/shellutils";; \
14599         esac; \
14600         $(SHELL) $${libsrcdir}/configure \
14601           $(HOST_CONFIGARGS) $${srcdiroption} \
14602           || exit 1
14603
14604 .PHONY: all-shellutils maybe-all-shellutils
14605 maybe-all-shellutils:
14606 all-shellutils: configure-shellutils
14607         @r=`${PWD_COMMAND}`; export r; \
14608         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609         $(SET_LIB_PATH) \
14610         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
14611
14612 .PHONY: check-shellutils maybe-check-shellutils
14613 maybe-check-shellutils:
14614
14615 check-shellutils:
14616         @r=`${PWD_COMMAND}`; export r; \
14617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14618         $(SET_LIB_PATH) \
14619         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
14620
14621
14622 .PHONY: install-shellutils maybe-install-shellutils
14623 maybe-install-shellutils:
14624
14625 install-shellutils: installdirs
14626         @r=`${PWD_COMMAND}`; export r; \
14627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628         $(SET_LIB_PATH) \
14629         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
14630
14631
14632 # Other targets (info, dvi, etc.)
14633
14634 .PHONY: maybe-info-shellutils info-shellutils
14635 maybe-info-shellutils:
14636
14637 info-shellutils: \
14638     configure-shellutils 
14639         @[ -f ./shellutils/Makefile ] || exit 0; \
14640         r=`${PWD_COMMAND}`; export r; \
14641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642         $(SET_LIB_PATH) \
14643         for flag in $(EXTRA_HOST_FLAGS); do \
14644           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14645         done; \
14646         echo "Doing info in shellutils" ; \
14647         (cd shellutils && \
14648           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14649                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14650                   "RANLIB=$${RANLIB}" \
14651                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14652                   info) \
14653           || exit 1
14654
14655
14656 .PHONY: maybe-dvi-shellutils dvi-shellutils
14657 maybe-dvi-shellutils:
14658
14659 dvi-shellutils: \
14660     configure-shellutils 
14661         @[ -f ./shellutils/Makefile ] || exit 0; \
14662         r=`${PWD_COMMAND}`; export r; \
14663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14664         $(SET_LIB_PATH) \
14665         for flag in $(EXTRA_HOST_FLAGS); do \
14666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14667         done; \
14668         echo "Doing dvi in shellutils" ; \
14669         (cd shellutils && \
14670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14672                   "RANLIB=$${RANLIB}" \
14673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14674                   dvi) \
14675           || exit 1
14676
14677
14678 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
14679 maybe-TAGS-shellutils:
14680
14681 TAGS-shellutils: \
14682     configure-shellutils 
14683         @[ -f ./shellutils/Makefile ] || exit 0; \
14684         r=`${PWD_COMMAND}`; export r; \
14685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14686         $(SET_LIB_PATH) \
14687         for flag in $(EXTRA_HOST_FLAGS); do \
14688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14689         done; \
14690         echo "Doing TAGS in shellutils" ; \
14691         (cd shellutils && \
14692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14694                   "RANLIB=$${RANLIB}" \
14695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14696                   TAGS) \
14697           || exit 1
14698
14699
14700 .PHONY: maybe-install-info-shellutils install-info-shellutils
14701 maybe-install-info-shellutils:
14702
14703 install-info-shellutils: \
14704     configure-shellutils \
14705     info-shellutils 
14706         @[ -f ./shellutils/Makefile ] || exit 0; \
14707         r=`${PWD_COMMAND}`; export r; \
14708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14709         $(SET_LIB_PATH) \
14710         for flag in $(EXTRA_HOST_FLAGS); do \
14711           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14712         done; \
14713         echo "Doing install-info in shellutils" ; \
14714         (cd shellutils && \
14715           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14716                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14717                   "RANLIB=$${RANLIB}" \
14718                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14719                   install-info) \
14720           || exit 1
14721
14722
14723 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
14724 maybe-installcheck-shellutils:
14725
14726 installcheck-shellutils: \
14727     configure-shellutils 
14728         @[ -f ./shellutils/Makefile ] || exit 0; \
14729         r=`${PWD_COMMAND}`; export r; \
14730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731         $(SET_LIB_PATH) \
14732         for flag in $(EXTRA_HOST_FLAGS); do \
14733           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14734         done; \
14735         echo "Doing installcheck in shellutils" ; \
14736         (cd shellutils && \
14737           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14738                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14739                   "RANLIB=$${RANLIB}" \
14740                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14741                   installcheck) \
14742           || exit 1
14743
14744
14745 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
14746 maybe-mostlyclean-shellutils:
14747
14748 mostlyclean-shellutils: 
14749         @[ -f ./shellutils/Makefile ] || exit 0; \
14750         r=`${PWD_COMMAND}`; export r; \
14751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14752         $(SET_LIB_PATH) \
14753         for flag in $(EXTRA_HOST_FLAGS); do \
14754           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14755         done; \
14756         echo "Doing mostlyclean in shellutils" ; \
14757         (cd shellutils && \
14758           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14759                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14760                   "RANLIB=$${RANLIB}" \
14761                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14762                   mostlyclean) \
14763           || exit 1
14764
14765
14766 .PHONY: maybe-clean-shellutils clean-shellutils
14767 maybe-clean-shellutils:
14768
14769 clean-shellutils: 
14770         @[ -f ./shellutils/Makefile ] || exit 0; \
14771         r=`${PWD_COMMAND}`; export r; \
14772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773         $(SET_LIB_PATH) \
14774         for flag in $(EXTRA_HOST_FLAGS); do \
14775           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14776         done; \
14777         echo "Doing clean in shellutils" ; \
14778         (cd shellutils && \
14779           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14780                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14781                   "RANLIB=$${RANLIB}" \
14782                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14783                   clean) \
14784           || exit 1
14785
14786
14787 .PHONY: maybe-distclean-shellutils distclean-shellutils
14788 maybe-distclean-shellutils:
14789
14790 distclean-shellutils: 
14791         @[ -f ./shellutils/Makefile ] || exit 0; \
14792         r=`${PWD_COMMAND}`; export r; \
14793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794         $(SET_LIB_PATH) \
14795         for flag in $(EXTRA_HOST_FLAGS); do \
14796           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14797         done; \
14798         echo "Doing distclean in shellutils" ; \
14799         (cd shellutils && \
14800           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14801                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14802                   "RANLIB=$${RANLIB}" \
14803                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14804                   distclean) \
14805           || exit 1
14806
14807
14808 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
14809 maybe-maintainer-clean-shellutils:
14810
14811 maintainer-clean-shellutils: 
14812         @[ -f ./shellutils/Makefile ] || exit 0; \
14813         r=`${PWD_COMMAND}`; export r; \
14814         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815         $(SET_LIB_PATH) \
14816         for flag in $(EXTRA_HOST_FLAGS); do \
14817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14818         done; \
14819         echo "Doing maintainer-clean in shellutils" ; \
14820         (cd shellutils && \
14821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823                   "RANLIB=$${RANLIB}" \
14824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14825                   maintainer-clean) \
14826           || exit 1
14827
14828
14829
14830 .PHONY: configure-sid maybe-configure-sid
14831 maybe-configure-sid:
14832 configure-sid:
14833         @test ! -f sid/Makefile || exit 0; \
14834         [ -d sid ] || mkdir sid; \
14835         r=`${PWD_COMMAND}`; export r; \
14836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14837         CC="$(CC)"; export CC; \
14838         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14839         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14840         CXX="$(CXX)"; export CXX; \
14841         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14842         AR="$(AR)"; export AR; \
14843         AS="$(AS)"; export AS; \
14844         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14845         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14846         LD="$(LD)"; export LD; \
14847         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14848         NM="$(NM)"; export NM; \
14849         RANLIB="$(RANLIB)"; export RANLIB; \
14850         WINDRES="$(WINDRES)"; export WINDRES; \
14851         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14852         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14853         echo Configuring in sid; \
14854         cd sid || exit 1; \
14855         case $(srcdir) in \
14856           \.) \
14857             srcdiroption="--srcdir=."; \
14858             libsrcdir=".";; \
14859           /* | [A-Za-z]:[\\/]*) \
14860             srcdiroption="--srcdir=$(srcdir)/sid"; \
14861             libsrcdir="$$s/sid";; \
14862           *) \
14863             srcdiroption="--srcdir=../$(srcdir)/sid"; \
14864             libsrcdir="$$s/sid";; \
14865         esac; \
14866         $(SHELL) $${libsrcdir}/configure \
14867           $(HOST_CONFIGARGS) $${srcdiroption} \
14868           || exit 1
14869
14870 .PHONY: all-sid maybe-all-sid
14871 maybe-all-sid:
14872 all-sid: configure-sid
14873         @r=`${PWD_COMMAND}`; export r; \
14874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14875         $(SET_LIB_PATH) \
14876         (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
14877
14878 .PHONY: check-sid maybe-check-sid
14879 maybe-check-sid:
14880
14881 check-sid:
14882         @r=`${PWD_COMMAND}`; export r; \
14883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14884         $(SET_LIB_PATH) \
14885         (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
14886
14887
14888 .PHONY: install-sid maybe-install-sid
14889 maybe-install-sid:
14890
14891 install-sid: installdirs
14892         @r=`${PWD_COMMAND}`; export r; \
14893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894         $(SET_LIB_PATH) \
14895         (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
14896
14897
14898 # Other targets (info, dvi, etc.)
14899
14900 .PHONY: maybe-info-sid info-sid
14901 maybe-info-sid:
14902
14903 info-sid: \
14904     configure-sid 
14905         @[ -f ./sid/Makefile ] || exit 0; \
14906         r=`${PWD_COMMAND}`; export r; \
14907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14908         $(SET_LIB_PATH) \
14909         for flag in $(EXTRA_HOST_FLAGS); do \
14910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14911         done; \
14912         echo "Doing info in sid" ; \
14913         (cd sid && \
14914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14916                   "RANLIB=$${RANLIB}" \
14917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14918                   info) \
14919           || exit 1
14920
14921
14922 .PHONY: maybe-dvi-sid dvi-sid
14923 maybe-dvi-sid:
14924
14925 dvi-sid: \
14926     configure-sid 
14927         @[ -f ./sid/Makefile ] || exit 0; \
14928         r=`${PWD_COMMAND}`; export r; \
14929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930         $(SET_LIB_PATH) \
14931         for flag in $(EXTRA_HOST_FLAGS); do \
14932           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14933         done; \
14934         echo "Doing dvi in sid" ; \
14935         (cd sid && \
14936           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14937                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14938                   "RANLIB=$${RANLIB}" \
14939                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14940                   dvi) \
14941           || exit 1
14942
14943
14944 .PHONY: maybe-TAGS-sid TAGS-sid
14945 maybe-TAGS-sid:
14946
14947 TAGS-sid: \
14948     configure-sid 
14949         @[ -f ./sid/Makefile ] || exit 0; \
14950         r=`${PWD_COMMAND}`; export r; \
14951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952         $(SET_LIB_PATH) \
14953         for flag in $(EXTRA_HOST_FLAGS); do \
14954           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955         done; \
14956         echo "Doing TAGS in sid" ; \
14957         (cd sid && \
14958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960                   "RANLIB=$${RANLIB}" \
14961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14962                   TAGS) \
14963           || exit 1
14964
14965
14966 .PHONY: maybe-install-info-sid install-info-sid
14967 maybe-install-info-sid:
14968
14969 install-info-sid: \
14970     configure-sid \
14971     info-sid 
14972         @[ -f ./sid/Makefile ] || exit 0; \
14973         r=`${PWD_COMMAND}`; export r; \
14974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14975         $(SET_LIB_PATH) \
14976         for flag in $(EXTRA_HOST_FLAGS); do \
14977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14978         done; \
14979         echo "Doing install-info in sid" ; \
14980         (cd sid && \
14981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14983                   "RANLIB=$${RANLIB}" \
14984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14985                   install-info) \
14986           || exit 1
14987
14988
14989 .PHONY: maybe-installcheck-sid installcheck-sid
14990 maybe-installcheck-sid:
14991
14992 installcheck-sid: \
14993     configure-sid 
14994         @[ -f ./sid/Makefile ] || exit 0; \
14995         r=`${PWD_COMMAND}`; export r; \
14996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14997         $(SET_LIB_PATH) \
14998         for flag in $(EXTRA_HOST_FLAGS); do \
14999           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15000         done; \
15001         echo "Doing installcheck in sid" ; \
15002         (cd sid && \
15003           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15004                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15005                   "RANLIB=$${RANLIB}" \
15006                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15007                   installcheck) \
15008           || exit 1
15009
15010
15011 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
15012 maybe-mostlyclean-sid:
15013
15014 mostlyclean-sid: 
15015         @[ -f ./sid/Makefile ] || exit 0; \
15016         r=`${PWD_COMMAND}`; export r; \
15017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15018         $(SET_LIB_PATH) \
15019         for flag in $(EXTRA_HOST_FLAGS); do \
15020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15021         done; \
15022         echo "Doing mostlyclean in sid" ; \
15023         (cd sid && \
15024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15026                   "RANLIB=$${RANLIB}" \
15027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15028                   mostlyclean) \
15029           || exit 1
15030
15031
15032 .PHONY: maybe-clean-sid clean-sid
15033 maybe-clean-sid:
15034
15035 clean-sid: 
15036         @[ -f ./sid/Makefile ] || exit 0; \
15037         r=`${PWD_COMMAND}`; export r; \
15038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15039         $(SET_LIB_PATH) \
15040         for flag in $(EXTRA_HOST_FLAGS); do \
15041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15042         done; \
15043         echo "Doing clean in sid" ; \
15044         (cd sid && \
15045           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15046                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15047                   "RANLIB=$${RANLIB}" \
15048                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15049                   clean) \
15050           || exit 1
15051
15052
15053 .PHONY: maybe-distclean-sid distclean-sid
15054 maybe-distclean-sid:
15055
15056 distclean-sid: 
15057         @[ -f ./sid/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 distclean in sid" ; \
15065         (cd sid && \
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                   distclean) \
15071           || exit 1
15072
15073
15074 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
15075 maybe-maintainer-clean-sid:
15076
15077 maintainer-clean-sid: 
15078         @[ -f ./sid/Makefile ] || exit 0; \
15079         r=`${PWD_COMMAND}`; export r; \
15080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15081         $(SET_LIB_PATH) \
15082         for flag in $(EXTRA_HOST_FLAGS); do \
15083           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15084         done; \
15085         echo "Doing maintainer-clean in sid" ; \
15086         (cd sid && \
15087           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15088                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15089                   "RANLIB=$${RANLIB}" \
15090                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15091                   maintainer-clean) \
15092           || exit 1
15093
15094
15095
15096 .PHONY: configure-sim maybe-configure-sim
15097 maybe-configure-sim:
15098 configure-sim:
15099         @test ! -f sim/Makefile || exit 0; \
15100         [ -d sim ] || mkdir sim; \
15101         r=`${PWD_COMMAND}`; export r; \
15102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103         CC="$(CC)"; export CC; \
15104         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15105         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15106         CXX="$(CXX)"; export CXX; \
15107         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15108         AR="$(AR)"; export AR; \
15109         AS="$(AS)"; export AS; \
15110         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15111         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15112         LD="$(LD)"; export LD; \
15113         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15114         NM="$(NM)"; export NM; \
15115         RANLIB="$(RANLIB)"; export RANLIB; \
15116         WINDRES="$(WINDRES)"; export WINDRES; \
15117         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15118         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15119         echo Configuring in sim; \
15120         cd sim || exit 1; \
15121         case $(srcdir) in \
15122           \.) \
15123             srcdiroption="--srcdir=."; \
15124             libsrcdir=".";; \
15125           /* | [A-Za-z]:[\\/]*) \
15126             srcdiroption="--srcdir=$(srcdir)/sim"; \
15127             libsrcdir="$$s/sim";; \
15128           *) \
15129             srcdiroption="--srcdir=../$(srcdir)/sim"; \
15130             libsrcdir="$$s/sim";; \
15131         esac; \
15132         $(SHELL) $${libsrcdir}/configure \
15133           $(HOST_CONFIGARGS) $${srcdiroption} \
15134           || exit 1
15135
15136 .PHONY: all-sim maybe-all-sim
15137 maybe-all-sim:
15138 all-sim: configure-sim
15139         @r=`${PWD_COMMAND}`; export r; \
15140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15141         $(SET_LIB_PATH) \
15142         (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
15143
15144 .PHONY: check-sim maybe-check-sim
15145 maybe-check-sim:
15146
15147 check-sim:
15148         @r=`${PWD_COMMAND}`; export r; \
15149         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15150         $(SET_LIB_PATH) \
15151         (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
15152
15153
15154 .PHONY: install-sim maybe-install-sim
15155 maybe-install-sim:
15156
15157 install-sim: installdirs
15158         @r=`${PWD_COMMAND}`; export r; \
15159         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15160         $(SET_LIB_PATH) \
15161         (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
15162
15163
15164 # Other targets (info, dvi, etc.)
15165
15166 .PHONY: maybe-info-sim info-sim
15167 maybe-info-sim:
15168
15169 info-sim: \
15170     configure-sim 
15171         @[ -f ./sim/Makefile ] || exit 0; \
15172         r=`${PWD_COMMAND}`; export r; \
15173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174         $(SET_LIB_PATH) \
15175         for flag in $(EXTRA_HOST_FLAGS); do \
15176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15177         done; \
15178         echo "Doing info in sim" ; \
15179         (cd sim && \
15180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15182                   "RANLIB=$${RANLIB}" \
15183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15184                   info) \
15185           || exit 1
15186
15187
15188 .PHONY: maybe-dvi-sim dvi-sim
15189 maybe-dvi-sim:
15190
15191 dvi-sim: \
15192     configure-sim 
15193         @[ -f ./sim/Makefile ] || exit 0; \
15194         r=`${PWD_COMMAND}`; export r; \
15195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15196         $(SET_LIB_PATH) \
15197         for flag in $(EXTRA_HOST_FLAGS); do \
15198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15199         done; \
15200         echo "Doing dvi in sim" ; \
15201         (cd sim && \
15202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15204                   "RANLIB=$${RANLIB}" \
15205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15206                   dvi) \
15207           || exit 1
15208
15209
15210 .PHONY: maybe-TAGS-sim TAGS-sim
15211 maybe-TAGS-sim:
15212
15213 TAGS-sim: \
15214     configure-sim 
15215         @[ -f ./sim/Makefile ] || exit 0; \
15216         r=`${PWD_COMMAND}`; export r; \
15217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218         $(SET_LIB_PATH) \
15219         for flag in $(EXTRA_HOST_FLAGS); do \
15220           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221         done; \
15222         echo "Doing TAGS in sim" ; \
15223         (cd sim && \
15224           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226                   "RANLIB=$${RANLIB}" \
15227                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15228                   TAGS) \
15229           || exit 1
15230
15231
15232 .PHONY: maybe-install-info-sim install-info-sim
15233 maybe-install-info-sim:
15234
15235 install-info-sim: \
15236     configure-sim \
15237     info-sim 
15238         @[ -f ./sim/Makefile ] || exit 0; \
15239         r=`${PWD_COMMAND}`; export r; \
15240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15241         $(SET_LIB_PATH) \
15242         for flag in $(EXTRA_HOST_FLAGS); do \
15243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15244         done; \
15245         echo "Doing install-info in sim" ; \
15246         (cd sim && \
15247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15249                   "RANLIB=$${RANLIB}" \
15250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15251                   install-info) \
15252           || exit 1
15253
15254
15255 .PHONY: maybe-installcheck-sim installcheck-sim
15256 maybe-installcheck-sim:
15257
15258 installcheck-sim: \
15259     configure-sim 
15260         @[ -f ./sim/Makefile ] || exit 0; \
15261         r=`${PWD_COMMAND}`; export r; \
15262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15263         $(SET_LIB_PATH) \
15264         for flag in $(EXTRA_HOST_FLAGS); do \
15265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15266         done; \
15267         echo "Doing installcheck in sim" ; \
15268         (cd sim && \
15269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271                   "RANLIB=$${RANLIB}" \
15272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15273                   installcheck) \
15274           || exit 1
15275
15276
15277 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
15278 maybe-mostlyclean-sim:
15279
15280 mostlyclean-sim: 
15281         @[ -f ./sim/Makefile ] || exit 0; \
15282         r=`${PWD_COMMAND}`; export r; \
15283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15284         $(SET_LIB_PATH) \
15285         for flag in $(EXTRA_HOST_FLAGS); do \
15286           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15287         done; \
15288         echo "Doing mostlyclean in sim" ; \
15289         (cd sim && \
15290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15292                   "RANLIB=$${RANLIB}" \
15293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15294                   mostlyclean) \
15295           || exit 1
15296
15297
15298 .PHONY: maybe-clean-sim clean-sim
15299 maybe-clean-sim:
15300
15301 clean-sim: 
15302         @[ -f ./sim/Makefile ] || exit 0; \
15303         r=`${PWD_COMMAND}`; export r; \
15304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15305         $(SET_LIB_PATH) \
15306         for flag in $(EXTRA_HOST_FLAGS); do \
15307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15308         done; \
15309         echo "Doing clean in sim" ; \
15310         (cd sim && \
15311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15313                   "RANLIB=$${RANLIB}" \
15314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15315                   clean) \
15316           || exit 1
15317
15318
15319 .PHONY: maybe-distclean-sim distclean-sim
15320 maybe-distclean-sim:
15321
15322 distclean-sim: 
15323         @[ -f ./sim/Makefile ] || exit 0; \
15324         r=`${PWD_COMMAND}`; export r; \
15325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15326         $(SET_LIB_PATH) \
15327         for flag in $(EXTRA_HOST_FLAGS); do \
15328           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15329         done; \
15330         echo "Doing distclean in sim" ; \
15331         (cd sim && \
15332           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15333                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15334                   "RANLIB=$${RANLIB}" \
15335                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15336                   distclean) \
15337           || exit 1
15338
15339
15340 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
15341 maybe-maintainer-clean-sim:
15342
15343 maintainer-clean-sim: 
15344         @[ -f ./sim/Makefile ] || exit 0; \
15345         r=`${PWD_COMMAND}`; export r; \
15346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347         $(SET_LIB_PATH) \
15348         for flag in $(EXTRA_HOST_FLAGS); do \
15349           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350         done; \
15351         echo "Doing maintainer-clean in sim" ; \
15352         (cd sim && \
15353           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355                   "RANLIB=$${RANLIB}" \
15356                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357                   maintainer-clean) \
15358           || exit 1
15359
15360
15361
15362 .PHONY: configure-tar maybe-configure-tar
15363 maybe-configure-tar:
15364 configure-tar:
15365         @test ! -f tar/Makefile || exit 0; \
15366         [ -d tar ] || mkdir tar; \
15367         r=`${PWD_COMMAND}`; export r; \
15368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15369         CC="$(CC)"; export CC; \
15370         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15371         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15372         CXX="$(CXX)"; export CXX; \
15373         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15374         AR="$(AR)"; export AR; \
15375         AS="$(AS)"; export AS; \
15376         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15377         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15378         LD="$(LD)"; export LD; \
15379         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15380         NM="$(NM)"; export NM; \
15381         RANLIB="$(RANLIB)"; export RANLIB; \
15382         WINDRES="$(WINDRES)"; export WINDRES; \
15383         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15384         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15385         echo Configuring in tar; \
15386         cd tar || exit 1; \
15387         case $(srcdir) in \
15388           \.) \
15389             srcdiroption="--srcdir=."; \
15390             libsrcdir=".";; \
15391           /* | [A-Za-z]:[\\/]*) \
15392             srcdiroption="--srcdir=$(srcdir)/tar"; \
15393             libsrcdir="$$s/tar";; \
15394           *) \
15395             srcdiroption="--srcdir=../$(srcdir)/tar"; \
15396             libsrcdir="$$s/tar";; \
15397         esac; \
15398         $(SHELL) $${libsrcdir}/configure \
15399           $(HOST_CONFIGARGS) $${srcdiroption} \
15400           || exit 1
15401
15402 .PHONY: all-tar maybe-all-tar
15403 maybe-all-tar:
15404 all-tar: configure-tar
15405         @r=`${PWD_COMMAND}`; export r; \
15406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407         $(SET_LIB_PATH) \
15408         (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
15409
15410 .PHONY: check-tar maybe-check-tar
15411 maybe-check-tar:
15412
15413 check-tar:
15414         @r=`${PWD_COMMAND}`; export r; \
15415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15416         $(SET_LIB_PATH) \
15417         (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
15418
15419
15420 .PHONY: install-tar maybe-install-tar
15421 maybe-install-tar:
15422
15423 install-tar: installdirs
15424         @r=`${PWD_COMMAND}`; export r; \
15425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426         $(SET_LIB_PATH) \
15427         (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
15428
15429
15430 # Other targets (info, dvi, etc.)
15431
15432 .PHONY: maybe-info-tar info-tar
15433 maybe-info-tar:
15434
15435 info-tar: \
15436     configure-tar 
15437         @[ -f ./tar/Makefile ] || exit 0; \
15438         r=`${PWD_COMMAND}`; export r; \
15439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440         $(SET_LIB_PATH) \
15441         for flag in $(EXTRA_HOST_FLAGS); do \
15442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15443         done; \
15444         echo "Doing info in tar" ; \
15445         (cd tar && \
15446           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15447                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15448                   "RANLIB=$${RANLIB}" \
15449                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15450                   info) \
15451           || exit 1
15452
15453
15454 .PHONY: maybe-dvi-tar dvi-tar
15455 maybe-dvi-tar:
15456
15457 dvi-tar: \
15458     configure-tar 
15459         @[ -f ./tar/Makefile ] || exit 0; \
15460         r=`${PWD_COMMAND}`; export r; \
15461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462         $(SET_LIB_PATH) \
15463         for flag in $(EXTRA_HOST_FLAGS); do \
15464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15465         done; \
15466         echo "Doing dvi in tar" ; \
15467         (cd tar && \
15468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15470                   "RANLIB=$${RANLIB}" \
15471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15472                   dvi) \
15473           || exit 1
15474
15475
15476 .PHONY: maybe-TAGS-tar TAGS-tar
15477 maybe-TAGS-tar:
15478
15479 TAGS-tar: \
15480     configure-tar 
15481         @[ -f ./tar/Makefile ] || exit 0; \
15482         r=`${PWD_COMMAND}`; export r; \
15483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484         $(SET_LIB_PATH) \
15485         for flag in $(EXTRA_HOST_FLAGS); do \
15486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15487         done; \
15488         echo "Doing TAGS in tar" ; \
15489         (cd tar && \
15490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492                   "RANLIB=$${RANLIB}" \
15493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15494                   TAGS) \
15495           || exit 1
15496
15497
15498 .PHONY: maybe-install-info-tar install-info-tar
15499 maybe-install-info-tar:
15500
15501 install-info-tar: \
15502     configure-tar \
15503     info-tar 
15504         @[ -f ./tar/Makefile ] || exit 0; \
15505         r=`${PWD_COMMAND}`; export r; \
15506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15507         $(SET_LIB_PATH) \
15508         for flag in $(EXTRA_HOST_FLAGS); do \
15509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15510         done; \
15511         echo "Doing install-info in tar" ; \
15512         (cd tar && \
15513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15515                   "RANLIB=$${RANLIB}" \
15516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15517                   install-info) \
15518           || exit 1
15519
15520
15521 .PHONY: maybe-installcheck-tar installcheck-tar
15522 maybe-installcheck-tar:
15523
15524 installcheck-tar: \
15525     configure-tar 
15526         @[ -f ./tar/Makefile ] || exit 0; \
15527         r=`${PWD_COMMAND}`; export r; \
15528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15529         $(SET_LIB_PATH) \
15530         for flag in $(EXTRA_HOST_FLAGS); do \
15531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15532         done; \
15533         echo "Doing installcheck in tar" ; \
15534         (cd tar && \
15535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15537                   "RANLIB=$${RANLIB}" \
15538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15539                   installcheck) \
15540           || exit 1
15541
15542
15543 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
15544 maybe-mostlyclean-tar:
15545
15546 mostlyclean-tar: 
15547         @[ -f ./tar/Makefile ] || exit 0; \
15548         r=`${PWD_COMMAND}`; export r; \
15549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15550         $(SET_LIB_PATH) \
15551         for flag in $(EXTRA_HOST_FLAGS); do \
15552           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15553         done; \
15554         echo "Doing mostlyclean in tar" ; \
15555         (cd tar && \
15556           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15557                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15558                   "RANLIB=$${RANLIB}" \
15559                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15560                   mostlyclean) \
15561           || exit 1
15562
15563
15564 .PHONY: maybe-clean-tar clean-tar
15565 maybe-clean-tar:
15566
15567 clean-tar: 
15568         @[ -f ./tar/Makefile ] || exit 0; \
15569         r=`${PWD_COMMAND}`; export r; \
15570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15571         $(SET_LIB_PATH) \
15572         for flag in $(EXTRA_HOST_FLAGS); do \
15573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15574         done; \
15575         echo "Doing clean in tar" ; \
15576         (cd tar && \
15577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15579                   "RANLIB=$${RANLIB}" \
15580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15581                   clean) \
15582           || exit 1
15583
15584
15585 .PHONY: maybe-distclean-tar distclean-tar
15586 maybe-distclean-tar:
15587
15588 distclean-tar: 
15589         @[ -f ./tar/Makefile ] || exit 0; \
15590         r=`${PWD_COMMAND}`; export r; \
15591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15592         $(SET_LIB_PATH) \
15593         for flag in $(EXTRA_HOST_FLAGS); do \
15594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15595         done; \
15596         echo "Doing distclean in tar" ; \
15597         (cd tar && \
15598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15600                   "RANLIB=$${RANLIB}" \
15601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15602                   distclean) \
15603           || exit 1
15604
15605
15606 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
15607 maybe-maintainer-clean-tar:
15608
15609 maintainer-clean-tar: 
15610         @[ -f ./tar/Makefile ] || exit 0; \
15611         r=`${PWD_COMMAND}`; export r; \
15612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15613         $(SET_LIB_PATH) \
15614         for flag in $(EXTRA_HOST_FLAGS); do \
15615           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15616         done; \
15617         echo "Doing maintainer-clean in tar" ; \
15618         (cd tar && \
15619           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15620                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15621                   "RANLIB=$${RANLIB}" \
15622                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15623                   maintainer-clean) \
15624           || exit 1
15625
15626
15627
15628 .PHONY: configure-texinfo maybe-configure-texinfo
15629 maybe-configure-texinfo:
15630 configure-texinfo:
15631         @test ! -f texinfo/Makefile || exit 0; \
15632         [ -d texinfo ] || mkdir texinfo; \
15633         r=`${PWD_COMMAND}`; export r; \
15634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15635         CC="$(CC)"; export CC; \
15636         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15637         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15638         CXX="$(CXX)"; export CXX; \
15639         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15640         AR="$(AR)"; export AR; \
15641         AS="$(AS)"; export AS; \
15642         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15643         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15644         LD="$(LD)"; export LD; \
15645         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15646         NM="$(NM)"; export NM; \
15647         RANLIB="$(RANLIB)"; export RANLIB; \
15648         WINDRES="$(WINDRES)"; export WINDRES; \
15649         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15650         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15651         echo Configuring in texinfo; \
15652         cd texinfo || exit 1; \
15653         case $(srcdir) in \
15654           \.) \
15655             srcdiroption="--srcdir=."; \
15656             libsrcdir=".";; \
15657           /* | [A-Za-z]:[\\/]*) \
15658             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
15659             libsrcdir="$$s/texinfo";; \
15660           *) \
15661             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
15662             libsrcdir="$$s/texinfo";; \
15663         esac; \
15664         $(SHELL) $${libsrcdir}/configure \
15665           $(HOST_CONFIGARGS) $${srcdiroption} \
15666           || exit 1
15667
15668 .PHONY: all-texinfo maybe-all-texinfo
15669 maybe-all-texinfo:
15670 all-texinfo: configure-texinfo
15671         @r=`${PWD_COMMAND}`; export r; \
15672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15673         $(SET_LIB_PATH) \
15674         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
15675
15676 .PHONY: check-texinfo maybe-check-texinfo
15677 maybe-check-texinfo:
15678
15679 check-texinfo:
15680         @r=`${PWD_COMMAND}`; export r; \
15681         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15682         $(SET_LIB_PATH) \
15683         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
15684
15685
15686 .PHONY: install-texinfo maybe-install-texinfo
15687 maybe-install-texinfo:
15688
15689 install-texinfo:
15690
15691
15692 # Other targets (info, dvi, etc.)
15693
15694 .PHONY: maybe-info-texinfo info-texinfo
15695 maybe-info-texinfo:
15696
15697 info-texinfo: \
15698     configure-texinfo 
15699         @[ -f ./texinfo/Makefile ] || exit 0; \
15700         r=`${PWD_COMMAND}`; export r; \
15701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15702         $(SET_LIB_PATH) \
15703         for flag in $(EXTRA_HOST_FLAGS); do \
15704           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15705         done; \
15706         echo "Doing info in texinfo" ; \
15707         (cd texinfo && \
15708           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710                   "RANLIB=$${RANLIB}" \
15711                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15712                   info) \
15713           || exit 1
15714
15715
15716 .PHONY: maybe-dvi-texinfo dvi-texinfo
15717 maybe-dvi-texinfo:
15718
15719 dvi-texinfo: \
15720     configure-texinfo 
15721         @[ -f ./texinfo/Makefile ] || exit 0; \
15722         r=`${PWD_COMMAND}`; export r; \
15723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724         $(SET_LIB_PATH) \
15725         for flag in $(EXTRA_HOST_FLAGS); do \
15726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727         done; \
15728         echo "Doing dvi in texinfo" ; \
15729         (cd texinfo && \
15730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732                   "RANLIB=$${RANLIB}" \
15733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15734                   dvi) \
15735           || exit 1
15736
15737
15738 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
15739 maybe-TAGS-texinfo:
15740
15741 TAGS-texinfo: \
15742     configure-texinfo 
15743         @[ -f ./texinfo/Makefile ] || exit 0; \
15744         r=`${PWD_COMMAND}`; export r; \
15745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15746         $(SET_LIB_PATH) \
15747         for flag in $(EXTRA_HOST_FLAGS); do \
15748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15749         done; \
15750         echo "Doing TAGS in texinfo" ; \
15751         (cd texinfo && \
15752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15754                   "RANLIB=$${RANLIB}" \
15755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15756                   TAGS) \
15757           || exit 1
15758
15759
15760 .PHONY: maybe-install-info-texinfo install-info-texinfo
15761 maybe-install-info-texinfo:
15762
15763 install-info-texinfo: \
15764     configure-texinfo \
15765     info-texinfo 
15766         @[ -f ./texinfo/Makefile ] || exit 0; \
15767         r=`${PWD_COMMAND}`; export r; \
15768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15769         $(SET_LIB_PATH) \
15770         for flag in $(EXTRA_HOST_FLAGS); do \
15771           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15772         done; \
15773         echo "Doing install-info in texinfo" ; \
15774         (cd texinfo && \
15775           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15776                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15777                   "RANLIB=$${RANLIB}" \
15778                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15779                   install-info) \
15780           || exit 1
15781
15782
15783 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
15784 maybe-installcheck-texinfo:
15785
15786 installcheck-texinfo: \
15787     configure-texinfo 
15788         @[ -f ./texinfo/Makefile ] || exit 0; \
15789         r=`${PWD_COMMAND}`; export r; \
15790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15791         $(SET_LIB_PATH) \
15792         for flag in $(EXTRA_HOST_FLAGS); do \
15793           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15794         done; \
15795         echo "Doing installcheck in texinfo" ; \
15796         (cd texinfo && \
15797           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15798                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15799                   "RANLIB=$${RANLIB}" \
15800                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15801                   installcheck) \
15802           || exit 1
15803
15804
15805 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
15806 maybe-mostlyclean-texinfo:
15807
15808 mostlyclean-texinfo: 
15809         @[ -f ./texinfo/Makefile ] || exit 0; \
15810         r=`${PWD_COMMAND}`; export r; \
15811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812         $(SET_LIB_PATH) \
15813         for flag in $(EXTRA_HOST_FLAGS); do \
15814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15815         done; \
15816         echo "Doing mostlyclean in texinfo" ; \
15817         (cd texinfo && \
15818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15820                   "RANLIB=$${RANLIB}" \
15821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15822                   mostlyclean) \
15823           || exit 1
15824
15825
15826 .PHONY: maybe-clean-texinfo clean-texinfo
15827 maybe-clean-texinfo:
15828
15829 clean-texinfo: 
15830         @[ -f ./texinfo/Makefile ] || exit 0; \
15831         r=`${PWD_COMMAND}`; export r; \
15832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833         $(SET_LIB_PATH) \
15834         for flag in $(EXTRA_HOST_FLAGS); do \
15835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15836         done; \
15837         echo "Doing clean in texinfo" ; \
15838         (cd texinfo && \
15839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15841                   "RANLIB=$${RANLIB}" \
15842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15843                   clean) \
15844           || exit 1
15845
15846
15847 .PHONY: maybe-distclean-texinfo distclean-texinfo
15848 maybe-distclean-texinfo:
15849
15850 distclean-texinfo: 
15851         @[ -f ./texinfo/Makefile ] || exit 0; \
15852         r=`${PWD_COMMAND}`; export r; \
15853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854         $(SET_LIB_PATH) \
15855         for flag in $(EXTRA_HOST_FLAGS); do \
15856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15857         done; \
15858         echo "Doing distclean in texinfo" ; \
15859         (cd texinfo && \
15860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15862                   "RANLIB=$${RANLIB}" \
15863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15864                   distclean) \
15865           || exit 1
15866
15867
15868 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
15869 maybe-maintainer-clean-texinfo:
15870
15871 maintainer-clean-texinfo: 
15872         @[ -f ./texinfo/Makefile ] || exit 0; \
15873         r=`${PWD_COMMAND}`; export r; \
15874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875         $(SET_LIB_PATH) \
15876         for flag in $(EXTRA_HOST_FLAGS); do \
15877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878         done; \
15879         echo "Doing maintainer-clean in texinfo" ; \
15880         (cd texinfo && \
15881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883                   "RANLIB=$${RANLIB}" \
15884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885                   maintainer-clean) \
15886           || exit 1
15887
15888
15889
15890 .PHONY: configure-textutils maybe-configure-textutils
15891 maybe-configure-textutils:
15892 configure-textutils:
15893         @test ! -f textutils/Makefile || exit 0; \
15894         [ -d textutils ] || mkdir textutils; \
15895         r=`${PWD_COMMAND}`; export r; \
15896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15897         CC="$(CC)"; export CC; \
15898         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15899         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15900         CXX="$(CXX)"; export CXX; \
15901         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15902         AR="$(AR)"; export AR; \
15903         AS="$(AS)"; export AS; \
15904         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15905         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15906         LD="$(LD)"; export LD; \
15907         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15908         NM="$(NM)"; export NM; \
15909         RANLIB="$(RANLIB)"; export RANLIB; \
15910         WINDRES="$(WINDRES)"; export WINDRES; \
15911         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15912         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15913         echo Configuring in textutils; \
15914         cd textutils || exit 1; \
15915         case $(srcdir) in \
15916           \.) \
15917             srcdiroption="--srcdir=."; \
15918             libsrcdir=".";; \
15919           /* | [A-Za-z]:[\\/]*) \
15920             srcdiroption="--srcdir=$(srcdir)/textutils"; \
15921             libsrcdir="$$s/textutils";; \
15922           *) \
15923             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
15924             libsrcdir="$$s/textutils";; \
15925         esac; \
15926         $(SHELL) $${libsrcdir}/configure \
15927           $(HOST_CONFIGARGS) $${srcdiroption} \
15928           || exit 1
15929
15930 .PHONY: all-textutils maybe-all-textutils
15931 maybe-all-textutils:
15932 all-textutils: configure-textutils
15933         @r=`${PWD_COMMAND}`; export r; \
15934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935         $(SET_LIB_PATH) \
15936         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
15937
15938 .PHONY: check-textutils maybe-check-textutils
15939 maybe-check-textutils:
15940
15941 check-textutils:
15942         @r=`${PWD_COMMAND}`; export r; \
15943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15944         $(SET_LIB_PATH) \
15945         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
15946
15947
15948 .PHONY: install-textutils maybe-install-textutils
15949 maybe-install-textutils:
15950
15951 install-textutils: installdirs
15952         @r=`${PWD_COMMAND}`; export r; \
15953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954         $(SET_LIB_PATH) \
15955         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
15956
15957
15958 # Other targets (info, dvi, etc.)
15959
15960 .PHONY: maybe-info-textutils info-textutils
15961 maybe-info-textutils:
15962
15963 info-textutils: \
15964     configure-textutils 
15965         @[ -f ./textutils/Makefile ] || exit 0; \
15966         r=`${PWD_COMMAND}`; export r; \
15967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968         $(SET_LIB_PATH) \
15969         for flag in $(EXTRA_HOST_FLAGS); do \
15970           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15971         done; \
15972         echo "Doing info in textutils" ; \
15973         (cd textutils && \
15974           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15975                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15976                   "RANLIB=$${RANLIB}" \
15977                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15978                   info) \
15979           || exit 1
15980
15981
15982 .PHONY: maybe-dvi-textutils dvi-textutils
15983 maybe-dvi-textutils:
15984
15985 dvi-textutils: \
15986     configure-textutils 
15987         @[ -f ./textutils/Makefile ] || exit 0; \
15988         r=`${PWD_COMMAND}`; export r; \
15989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990         $(SET_LIB_PATH) \
15991         for flag in $(EXTRA_HOST_FLAGS); do \
15992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15993         done; \
15994         echo "Doing dvi in textutils" ; \
15995         (cd textutils && \
15996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998                   "RANLIB=$${RANLIB}" \
15999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16000                   dvi) \
16001           || exit 1
16002
16003
16004 .PHONY: maybe-TAGS-textutils TAGS-textutils
16005 maybe-TAGS-textutils:
16006
16007 TAGS-textutils: \
16008     configure-textutils 
16009         @[ -f ./textutils/Makefile ] || exit 0; \
16010         r=`${PWD_COMMAND}`; export r; \
16011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012         $(SET_LIB_PATH) \
16013         for flag in $(EXTRA_HOST_FLAGS); do \
16014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16015         done; \
16016         echo "Doing TAGS in textutils" ; \
16017         (cd textutils && \
16018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020                   "RANLIB=$${RANLIB}" \
16021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16022                   TAGS) \
16023           || exit 1
16024
16025
16026 .PHONY: maybe-install-info-textutils install-info-textutils
16027 maybe-install-info-textutils:
16028
16029 install-info-textutils: \
16030     configure-textutils \
16031     info-textutils 
16032         @[ -f ./textutils/Makefile ] || exit 0; \
16033         r=`${PWD_COMMAND}`; export r; \
16034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16035         $(SET_LIB_PATH) \
16036         for flag in $(EXTRA_HOST_FLAGS); do \
16037           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16038         done; \
16039         echo "Doing install-info in textutils" ; \
16040         (cd textutils && \
16041           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16042                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16043                   "RANLIB=$${RANLIB}" \
16044                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16045                   install-info) \
16046           || exit 1
16047
16048
16049 .PHONY: maybe-installcheck-textutils installcheck-textutils
16050 maybe-installcheck-textutils:
16051
16052 installcheck-textutils: \
16053     configure-textutils 
16054         @[ -f ./textutils/Makefile ] || exit 0; \
16055         r=`${PWD_COMMAND}`; export r; \
16056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16057         $(SET_LIB_PATH) \
16058         for flag in $(EXTRA_HOST_FLAGS); do \
16059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16060         done; \
16061         echo "Doing installcheck in textutils" ; \
16062         (cd textutils && \
16063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16065                   "RANLIB=$${RANLIB}" \
16066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16067                   installcheck) \
16068           || exit 1
16069
16070
16071 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
16072 maybe-mostlyclean-textutils:
16073
16074 mostlyclean-textutils: 
16075         @[ -f ./textutils/Makefile ] || exit 0; \
16076         r=`${PWD_COMMAND}`; export r; \
16077         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16078         $(SET_LIB_PATH) \
16079         for flag in $(EXTRA_HOST_FLAGS); do \
16080           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16081         done; \
16082         echo "Doing mostlyclean in textutils" ; \
16083         (cd textutils && \
16084           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16085                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16086                   "RANLIB=$${RANLIB}" \
16087                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16088                   mostlyclean) \
16089           || exit 1
16090
16091
16092 .PHONY: maybe-clean-textutils clean-textutils
16093 maybe-clean-textutils:
16094
16095 clean-textutils: 
16096         @[ -f ./textutils/Makefile ] || exit 0; \
16097         r=`${PWD_COMMAND}`; export r; \
16098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099         $(SET_LIB_PATH) \
16100         for flag in $(EXTRA_HOST_FLAGS); do \
16101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16102         done; \
16103         echo "Doing clean in textutils" ; \
16104         (cd textutils && \
16105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16107                   "RANLIB=$${RANLIB}" \
16108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16109                   clean) \
16110           || exit 1
16111
16112
16113 .PHONY: maybe-distclean-textutils distclean-textutils
16114 maybe-distclean-textutils:
16115
16116 distclean-textutils: 
16117         @[ -f ./textutils/Makefile ] || exit 0; \
16118         r=`${PWD_COMMAND}`; export r; \
16119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120         $(SET_LIB_PATH) \
16121         for flag in $(EXTRA_HOST_FLAGS); do \
16122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16123         done; \
16124         echo "Doing distclean in textutils" ; \
16125         (cd textutils && \
16126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16128                   "RANLIB=$${RANLIB}" \
16129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16130                   distclean) \
16131           || exit 1
16132
16133
16134 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16135 maybe-maintainer-clean-textutils:
16136
16137 maintainer-clean-textutils: 
16138         @[ -f ./textutils/Makefile ] || exit 0; \
16139         r=`${PWD_COMMAND}`; export r; \
16140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141         $(SET_LIB_PATH) \
16142         for flag in $(EXTRA_HOST_FLAGS); do \
16143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16144         done; \
16145         echo "Doing maintainer-clean in textutils" ; \
16146         (cd textutils && \
16147           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16148                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16149                   "RANLIB=$${RANLIB}" \
16150                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16151                   maintainer-clean) \
16152           || exit 1
16153
16154
16155
16156 .PHONY: configure-time maybe-configure-time
16157 maybe-configure-time:
16158 configure-time:
16159         @test ! -f time/Makefile || exit 0; \
16160         [ -d time ] || mkdir time; \
16161         r=`${PWD_COMMAND}`; export r; \
16162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163         CC="$(CC)"; export CC; \
16164         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16165         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16166         CXX="$(CXX)"; export CXX; \
16167         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16168         AR="$(AR)"; export AR; \
16169         AS="$(AS)"; export AS; \
16170         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16171         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16172         LD="$(LD)"; export LD; \
16173         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16174         NM="$(NM)"; export NM; \
16175         RANLIB="$(RANLIB)"; export RANLIB; \
16176         WINDRES="$(WINDRES)"; export WINDRES; \
16177         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16178         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16179         echo Configuring in time; \
16180         cd time || exit 1; \
16181         case $(srcdir) in \
16182           \.) \
16183             srcdiroption="--srcdir=."; \
16184             libsrcdir=".";; \
16185           /* | [A-Za-z]:[\\/]*) \
16186             srcdiroption="--srcdir=$(srcdir)/time"; \
16187             libsrcdir="$$s/time";; \
16188           *) \
16189             srcdiroption="--srcdir=../$(srcdir)/time"; \
16190             libsrcdir="$$s/time";; \
16191         esac; \
16192         $(SHELL) $${libsrcdir}/configure \
16193           $(HOST_CONFIGARGS) $${srcdiroption} \
16194           || exit 1
16195
16196 .PHONY: all-time maybe-all-time
16197 maybe-all-time:
16198 all-time: configure-time
16199         @r=`${PWD_COMMAND}`; export r; \
16200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201         $(SET_LIB_PATH) \
16202         (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
16203
16204 .PHONY: check-time maybe-check-time
16205 maybe-check-time:
16206
16207 check-time:
16208         @r=`${PWD_COMMAND}`; export r; \
16209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16210         $(SET_LIB_PATH) \
16211         (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
16212
16213
16214 .PHONY: install-time maybe-install-time
16215 maybe-install-time:
16216
16217 install-time: installdirs
16218         @r=`${PWD_COMMAND}`; export r; \
16219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220         $(SET_LIB_PATH) \
16221         (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
16222
16223
16224 # Other targets (info, dvi, etc.)
16225
16226 .PHONY: maybe-info-time info-time
16227 maybe-info-time:
16228
16229 info-time: \
16230     configure-time 
16231         @[ -f ./time/Makefile ] || exit 0; \
16232         r=`${PWD_COMMAND}`; export r; \
16233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16234         $(SET_LIB_PATH) \
16235         for flag in $(EXTRA_HOST_FLAGS); do \
16236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16237         done; \
16238         echo "Doing info in time" ; \
16239         (cd time && \
16240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16242                   "RANLIB=$${RANLIB}" \
16243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16244                   info) \
16245           || exit 1
16246
16247
16248 .PHONY: maybe-dvi-time dvi-time
16249 maybe-dvi-time:
16250
16251 dvi-time: \
16252     configure-time 
16253         @[ -f ./time/Makefile ] || exit 0; \
16254         r=`${PWD_COMMAND}`; export r; \
16255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16256         $(SET_LIB_PATH) \
16257         for flag in $(EXTRA_HOST_FLAGS); do \
16258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16259         done; \
16260         echo "Doing dvi in time" ; \
16261         (cd time && \
16262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264                   "RANLIB=$${RANLIB}" \
16265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16266                   dvi) \
16267           || exit 1
16268
16269
16270 .PHONY: maybe-TAGS-time TAGS-time
16271 maybe-TAGS-time:
16272
16273 TAGS-time: \
16274     configure-time 
16275         @[ -f ./time/Makefile ] || exit 0; \
16276         r=`${PWD_COMMAND}`; export r; \
16277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16278         $(SET_LIB_PATH) \
16279         for flag in $(EXTRA_HOST_FLAGS); do \
16280           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16281         done; \
16282         echo "Doing TAGS in time" ; \
16283         (cd time && \
16284           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16285                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16286                   "RANLIB=$${RANLIB}" \
16287                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16288                   TAGS) \
16289           || exit 1
16290
16291
16292 .PHONY: maybe-install-info-time install-info-time
16293 maybe-install-info-time:
16294
16295 install-info-time: \
16296     configure-time \
16297     info-time 
16298         @[ -f ./time/Makefile ] || exit 0; \
16299         r=`${PWD_COMMAND}`; export r; \
16300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16301         $(SET_LIB_PATH) \
16302         for flag in $(EXTRA_HOST_FLAGS); do \
16303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16304         done; \
16305         echo "Doing install-info in time" ; \
16306         (cd time && \
16307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16309                   "RANLIB=$${RANLIB}" \
16310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16311                   install-info) \
16312           || exit 1
16313
16314
16315 .PHONY: maybe-installcheck-time installcheck-time
16316 maybe-installcheck-time:
16317
16318 installcheck-time: \
16319     configure-time 
16320         @[ -f ./time/Makefile ] || exit 0; \
16321         r=`${PWD_COMMAND}`; export r; \
16322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16323         $(SET_LIB_PATH) \
16324         for flag in $(EXTRA_HOST_FLAGS); do \
16325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16326         done; \
16327         echo "Doing installcheck in time" ; \
16328         (cd time && \
16329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16331                   "RANLIB=$${RANLIB}" \
16332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16333                   installcheck) \
16334           || exit 1
16335
16336
16337 .PHONY: maybe-mostlyclean-time mostlyclean-time
16338 maybe-mostlyclean-time:
16339
16340 mostlyclean-time: 
16341         @[ -f ./time/Makefile ] || exit 0; \
16342         r=`${PWD_COMMAND}`; export r; \
16343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344         $(SET_LIB_PATH) \
16345         for flag in $(EXTRA_HOST_FLAGS); do \
16346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16347         done; \
16348         echo "Doing mostlyclean in time" ; \
16349         (cd time && \
16350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16352                   "RANLIB=$${RANLIB}" \
16353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16354                   mostlyclean) \
16355           || exit 1
16356
16357
16358 .PHONY: maybe-clean-time clean-time
16359 maybe-clean-time:
16360
16361 clean-time: 
16362         @[ -f ./time/Makefile ] || exit 0; \
16363         r=`${PWD_COMMAND}`; export r; \
16364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365         $(SET_LIB_PATH) \
16366         for flag in $(EXTRA_HOST_FLAGS); do \
16367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16368         done; \
16369         echo "Doing clean in time" ; \
16370         (cd time && \
16371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16373                   "RANLIB=$${RANLIB}" \
16374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16375                   clean) \
16376           || exit 1
16377
16378
16379 .PHONY: maybe-distclean-time distclean-time
16380 maybe-distclean-time:
16381
16382 distclean-time: 
16383         @[ -f ./time/Makefile ] || exit 0; \
16384         r=`${PWD_COMMAND}`; export r; \
16385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16386         $(SET_LIB_PATH) \
16387         for flag in $(EXTRA_HOST_FLAGS); do \
16388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16389         done; \
16390         echo "Doing distclean in time" ; \
16391         (cd time && \
16392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16394                   "RANLIB=$${RANLIB}" \
16395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16396                   distclean) \
16397           || exit 1
16398
16399
16400 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16401 maybe-maintainer-clean-time:
16402
16403 maintainer-clean-time: 
16404         @[ -f ./time/Makefile ] || exit 0; \
16405         r=`${PWD_COMMAND}`; export r; \
16406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16407         $(SET_LIB_PATH) \
16408         for flag in $(EXTRA_HOST_FLAGS); do \
16409           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16410         done; \
16411         echo "Doing maintainer-clean in time" ; \
16412         (cd time && \
16413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16415                   "RANLIB=$${RANLIB}" \
16416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16417                   maintainer-clean) \
16418           || exit 1
16419
16420
16421
16422 .PHONY: configure-uudecode maybe-configure-uudecode
16423 maybe-configure-uudecode:
16424 configure-uudecode:
16425         @test ! -f uudecode/Makefile || exit 0; \
16426         [ -d uudecode ] || mkdir uudecode; \
16427         r=`${PWD_COMMAND}`; export r; \
16428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429         CC="$(CC)"; export CC; \
16430         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16431         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16432         CXX="$(CXX)"; export CXX; \
16433         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16434         AR="$(AR)"; export AR; \
16435         AS="$(AS)"; export AS; \
16436         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16437         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16438         LD="$(LD)"; export LD; \
16439         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16440         NM="$(NM)"; export NM; \
16441         RANLIB="$(RANLIB)"; export RANLIB; \
16442         WINDRES="$(WINDRES)"; export WINDRES; \
16443         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16444         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16445         echo Configuring in uudecode; \
16446         cd uudecode || exit 1; \
16447         case $(srcdir) in \
16448           \.) \
16449             srcdiroption="--srcdir=."; \
16450             libsrcdir=".";; \
16451           /* | [A-Za-z]:[\\/]*) \
16452             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
16453             libsrcdir="$$s/uudecode";; \
16454           *) \
16455             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
16456             libsrcdir="$$s/uudecode";; \
16457         esac; \
16458         $(SHELL) $${libsrcdir}/configure \
16459           $(HOST_CONFIGARGS) $${srcdiroption} \
16460           || exit 1
16461
16462 .PHONY: all-uudecode maybe-all-uudecode
16463 maybe-all-uudecode:
16464 all-uudecode: configure-uudecode
16465         @r=`${PWD_COMMAND}`; export r; \
16466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467         $(SET_LIB_PATH) \
16468         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
16469
16470 .PHONY: check-uudecode maybe-check-uudecode
16471 maybe-check-uudecode:
16472
16473 check-uudecode:
16474         @r=`${PWD_COMMAND}`; export r; \
16475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476         $(SET_LIB_PATH) \
16477         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
16478
16479
16480 .PHONY: install-uudecode maybe-install-uudecode
16481 maybe-install-uudecode:
16482
16483 install-uudecode: installdirs
16484         @r=`${PWD_COMMAND}`; export r; \
16485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16486         $(SET_LIB_PATH) \
16487         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
16488
16489
16490 # Other targets (info, dvi, etc.)
16491
16492 .PHONY: maybe-info-uudecode info-uudecode
16493 maybe-info-uudecode:
16494
16495 info-uudecode: \
16496     configure-uudecode 
16497         @[ -f ./uudecode/Makefile ] || exit 0; \
16498         r=`${PWD_COMMAND}`; export r; \
16499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500         $(SET_LIB_PATH) \
16501         for flag in $(EXTRA_HOST_FLAGS); do \
16502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16503         done; \
16504         echo "Doing info in uudecode" ; \
16505         (cd uudecode && \
16506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16508                   "RANLIB=$${RANLIB}" \
16509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16510                   info) \
16511           || exit 1
16512
16513
16514 .PHONY: maybe-dvi-uudecode dvi-uudecode
16515 maybe-dvi-uudecode:
16516
16517 dvi-uudecode: \
16518     configure-uudecode 
16519         @[ -f ./uudecode/Makefile ] || exit 0; \
16520         r=`${PWD_COMMAND}`; export r; \
16521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16522         $(SET_LIB_PATH) \
16523         for flag in $(EXTRA_HOST_FLAGS); do \
16524           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16525         done; \
16526         echo "Doing dvi in uudecode" ; \
16527         (cd uudecode && \
16528           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16529                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16530                   "RANLIB=$${RANLIB}" \
16531                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16532                   dvi) \
16533           || exit 1
16534
16535
16536 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
16537 maybe-TAGS-uudecode:
16538
16539 TAGS-uudecode: \
16540     configure-uudecode 
16541         @[ -f ./uudecode/Makefile ] || exit 0; \
16542         r=`${PWD_COMMAND}`; export r; \
16543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544         $(SET_LIB_PATH) \
16545         for flag in $(EXTRA_HOST_FLAGS); do \
16546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547         done; \
16548         echo "Doing TAGS in uudecode" ; \
16549         (cd uudecode && \
16550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552                   "RANLIB=$${RANLIB}" \
16553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16554                   TAGS) \
16555           || exit 1
16556
16557
16558 .PHONY: maybe-install-info-uudecode install-info-uudecode
16559 maybe-install-info-uudecode:
16560
16561 install-info-uudecode: \
16562     configure-uudecode \
16563     info-uudecode 
16564         @[ -f ./uudecode/Makefile ] || exit 0; \
16565         r=`${PWD_COMMAND}`; export r; \
16566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567         $(SET_LIB_PATH) \
16568         for flag in $(EXTRA_HOST_FLAGS); do \
16569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16570         done; \
16571         echo "Doing install-info in uudecode" ; \
16572         (cd uudecode && \
16573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575                   "RANLIB=$${RANLIB}" \
16576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16577                   install-info) \
16578           || exit 1
16579
16580
16581 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
16582 maybe-installcheck-uudecode:
16583
16584 installcheck-uudecode: \
16585     configure-uudecode 
16586         @[ -f ./uudecode/Makefile ] || exit 0; \
16587         r=`${PWD_COMMAND}`; export r; \
16588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589         $(SET_LIB_PATH) \
16590         for flag in $(EXTRA_HOST_FLAGS); do \
16591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592         done; \
16593         echo "Doing installcheck in uudecode" ; \
16594         (cd uudecode && \
16595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597                   "RANLIB=$${RANLIB}" \
16598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599                   installcheck) \
16600           || exit 1
16601
16602
16603 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
16604 maybe-mostlyclean-uudecode:
16605
16606 mostlyclean-uudecode: 
16607         @[ -f ./uudecode/Makefile ] || exit 0; \
16608         r=`${PWD_COMMAND}`; export r; \
16609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16610         $(SET_LIB_PATH) \
16611         for flag in $(EXTRA_HOST_FLAGS); do \
16612           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16613         done; \
16614         echo "Doing mostlyclean in uudecode" ; \
16615         (cd uudecode && \
16616           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16617                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16618                   "RANLIB=$${RANLIB}" \
16619                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16620                   mostlyclean) \
16621           || exit 1
16622
16623
16624 .PHONY: maybe-clean-uudecode clean-uudecode
16625 maybe-clean-uudecode:
16626
16627 clean-uudecode: 
16628         @[ -f ./uudecode/Makefile ] || exit 0; \
16629         r=`${PWD_COMMAND}`; export r; \
16630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16631         $(SET_LIB_PATH) \
16632         for flag in $(EXTRA_HOST_FLAGS); do \
16633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16634         done; \
16635         echo "Doing clean in uudecode" ; \
16636         (cd uudecode && \
16637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16639                   "RANLIB=$${RANLIB}" \
16640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16641                   clean) \
16642           || exit 1
16643
16644
16645 .PHONY: maybe-distclean-uudecode distclean-uudecode
16646 maybe-distclean-uudecode:
16647
16648 distclean-uudecode: 
16649         @[ -f ./uudecode/Makefile ] || exit 0; \
16650         r=`${PWD_COMMAND}`; export r; \
16651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16652         $(SET_LIB_PATH) \
16653         for flag in $(EXTRA_HOST_FLAGS); do \
16654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16655         done; \
16656         echo "Doing distclean in uudecode" ; \
16657         (cd uudecode && \
16658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16660                   "RANLIB=$${RANLIB}" \
16661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16662                   distclean) \
16663           || exit 1
16664
16665
16666 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16667 maybe-maintainer-clean-uudecode:
16668
16669 maintainer-clean-uudecode: 
16670         @[ -f ./uudecode/Makefile ] || exit 0; \
16671         r=`${PWD_COMMAND}`; export r; \
16672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16673         $(SET_LIB_PATH) \
16674         for flag in $(EXTRA_HOST_FLAGS); do \
16675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16676         done; \
16677         echo "Doing maintainer-clean in uudecode" ; \
16678         (cd uudecode && \
16679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16681                   "RANLIB=$${RANLIB}" \
16682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16683                   maintainer-clean) \
16684           || exit 1
16685
16686
16687
16688 .PHONY: configure-wdiff maybe-configure-wdiff
16689 maybe-configure-wdiff:
16690 configure-wdiff:
16691         @test ! -f wdiff/Makefile || exit 0; \
16692         [ -d wdiff ] || mkdir wdiff; \
16693         r=`${PWD_COMMAND}`; export r; \
16694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695         CC="$(CC)"; export CC; \
16696         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16697         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16698         CXX="$(CXX)"; export CXX; \
16699         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16700         AR="$(AR)"; export AR; \
16701         AS="$(AS)"; export AS; \
16702         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16703         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16704         LD="$(LD)"; export LD; \
16705         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16706         NM="$(NM)"; export NM; \
16707         RANLIB="$(RANLIB)"; export RANLIB; \
16708         WINDRES="$(WINDRES)"; export WINDRES; \
16709         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16710         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16711         echo Configuring in wdiff; \
16712         cd wdiff || exit 1; \
16713         case $(srcdir) in \
16714           \.) \
16715             srcdiroption="--srcdir=."; \
16716             libsrcdir=".";; \
16717           /* | [A-Za-z]:[\\/]*) \
16718             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
16719             libsrcdir="$$s/wdiff";; \
16720           *) \
16721             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
16722             libsrcdir="$$s/wdiff";; \
16723         esac; \
16724         $(SHELL) $${libsrcdir}/configure \
16725           $(HOST_CONFIGARGS) $${srcdiroption} \
16726           || exit 1
16727
16728 .PHONY: all-wdiff maybe-all-wdiff
16729 maybe-all-wdiff:
16730 all-wdiff: configure-wdiff
16731         @r=`${PWD_COMMAND}`; export r; \
16732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16733         $(SET_LIB_PATH) \
16734         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
16735
16736 .PHONY: check-wdiff maybe-check-wdiff
16737 maybe-check-wdiff:
16738
16739 check-wdiff:
16740         @r=`${PWD_COMMAND}`; export r; \
16741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16742         $(SET_LIB_PATH) \
16743         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
16744
16745
16746 .PHONY: install-wdiff maybe-install-wdiff
16747 maybe-install-wdiff:
16748
16749 install-wdiff: installdirs
16750         @r=`${PWD_COMMAND}`; export r; \
16751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16752         $(SET_LIB_PATH) \
16753         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
16754
16755
16756 # Other targets (info, dvi, etc.)
16757
16758 .PHONY: maybe-info-wdiff info-wdiff
16759 maybe-info-wdiff:
16760
16761 info-wdiff: \
16762     configure-wdiff 
16763         @[ -f ./wdiff/Makefile ] || exit 0; \
16764         r=`${PWD_COMMAND}`; export r; \
16765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766         $(SET_LIB_PATH) \
16767         for flag in $(EXTRA_HOST_FLAGS); do \
16768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16769         done; \
16770         echo "Doing info in wdiff" ; \
16771         (cd wdiff && \
16772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16774                   "RANLIB=$${RANLIB}" \
16775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16776                   info) \
16777           || exit 1
16778
16779
16780 .PHONY: maybe-dvi-wdiff dvi-wdiff
16781 maybe-dvi-wdiff:
16782
16783 dvi-wdiff: \
16784     configure-wdiff 
16785         @[ -f ./wdiff/Makefile ] || exit 0; \
16786         r=`${PWD_COMMAND}`; export r; \
16787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16788         $(SET_LIB_PATH) \
16789         for flag in $(EXTRA_HOST_FLAGS); do \
16790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16791         done; \
16792         echo "Doing dvi in wdiff" ; \
16793         (cd wdiff && \
16794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16796                   "RANLIB=$${RANLIB}" \
16797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16798                   dvi) \
16799           || exit 1
16800
16801
16802 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
16803 maybe-TAGS-wdiff:
16804
16805 TAGS-wdiff: \
16806     configure-wdiff 
16807         @[ -f ./wdiff/Makefile ] || exit 0; \
16808         r=`${PWD_COMMAND}`; export r; \
16809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16810         $(SET_LIB_PATH) \
16811         for flag in $(EXTRA_HOST_FLAGS); do \
16812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16813         done; \
16814         echo "Doing TAGS in wdiff" ; \
16815         (cd wdiff && \
16816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16818                   "RANLIB=$${RANLIB}" \
16819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16820                   TAGS) \
16821           || exit 1
16822
16823
16824 .PHONY: maybe-install-info-wdiff install-info-wdiff
16825 maybe-install-info-wdiff:
16826
16827 install-info-wdiff: \
16828     configure-wdiff \
16829     info-wdiff 
16830         @[ -f ./wdiff/Makefile ] || exit 0; \
16831         r=`${PWD_COMMAND}`; export r; \
16832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16833         $(SET_LIB_PATH) \
16834         for flag in $(EXTRA_HOST_FLAGS); do \
16835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16836         done; \
16837         echo "Doing install-info in wdiff" ; \
16838         (cd wdiff && \
16839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16841                   "RANLIB=$${RANLIB}" \
16842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16843                   install-info) \
16844           || exit 1
16845
16846
16847 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
16848 maybe-installcheck-wdiff:
16849
16850 installcheck-wdiff: \
16851     configure-wdiff 
16852         @[ -f ./wdiff/Makefile ] || exit 0; \
16853         r=`${PWD_COMMAND}`; export r; \
16854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855         $(SET_LIB_PATH) \
16856         for flag in $(EXTRA_HOST_FLAGS); do \
16857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16858         done; \
16859         echo "Doing installcheck in wdiff" ; \
16860         (cd wdiff && \
16861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16863                   "RANLIB=$${RANLIB}" \
16864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16865                   installcheck) \
16866           || exit 1
16867
16868
16869 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
16870 maybe-mostlyclean-wdiff:
16871
16872 mostlyclean-wdiff: 
16873         @[ -f ./wdiff/Makefile ] || exit 0; \
16874         r=`${PWD_COMMAND}`; export r; \
16875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876         $(SET_LIB_PATH) \
16877         for flag in $(EXTRA_HOST_FLAGS); do \
16878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879         done; \
16880         echo "Doing mostlyclean in wdiff" ; \
16881         (cd wdiff && \
16882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884                   "RANLIB=$${RANLIB}" \
16885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16886                   mostlyclean) \
16887           || exit 1
16888
16889
16890 .PHONY: maybe-clean-wdiff clean-wdiff
16891 maybe-clean-wdiff:
16892
16893 clean-wdiff: 
16894         @[ -f ./wdiff/Makefile ] || exit 0; \
16895         r=`${PWD_COMMAND}`; export r; \
16896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16897         $(SET_LIB_PATH) \
16898         for flag in $(EXTRA_HOST_FLAGS); do \
16899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16900         done; \
16901         echo "Doing clean in wdiff" ; \
16902         (cd wdiff && \
16903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905                   "RANLIB=$${RANLIB}" \
16906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16907                   clean) \
16908           || exit 1
16909
16910
16911 .PHONY: maybe-distclean-wdiff distclean-wdiff
16912 maybe-distclean-wdiff:
16913
16914 distclean-wdiff: 
16915         @[ -f ./wdiff/Makefile ] || exit 0; \
16916         r=`${PWD_COMMAND}`; export r; \
16917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16918         $(SET_LIB_PATH) \
16919         for flag in $(EXTRA_HOST_FLAGS); do \
16920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16921         done; \
16922         echo "Doing distclean in wdiff" ; \
16923         (cd wdiff && \
16924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16926                   "RANLIB=$${RANLIB}" \
16927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16928                   distclean) \
16929           || exit 1
16930
16931
16932 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16933 maybe-maintainer-clean-wdiff:
16934
16935 maintainer-clean-wdiff: 
16936         @[ -f ./wdiff/Makefile ] || exit 0; \
16937         r=`${PWD_COMMAND}`; export r; \
16938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16939         $(SET_LIB_PATH) \
16940         for flag in $(EXTRA_HOST_FLAGS); do \
16941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16942         done; \
16943         echo "Doing maintainer-clean in wdiff" ; \
16944         (cd wdiff && \
16945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16947                   "RANLIB=$${RANLIB}" \
16948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16949                   maintainer-clean) \
16950           || exit 1
16951
16952
16953
16954 .PHONY: configure-zip maybe-configure-zip
16955 maybe-configure-zip:
16956 configure-zip:
16957         @test ! -f zip/Makefile || exit 0; \
16958         [ -d zip ] || mkdir zip; \
16959         r=`${PWD_COMMAND}`; export r; \
16960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961         CC="$(CC)"; export CC; \
16962         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16963         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16964         CXX="$(CXX)"; export CXX; \
16965         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16966         AR="$(AR)"; export AR; \
16967         AS="$(AS)"; export AS; \
16968         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16969         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16970         LD="$(LD)"; export LD; \
16971         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16972         NM="$(NM)"; export NM; \
16973         RANLIB="$(RANLIB)"; export RANLIB; \
16974         WINDRES="$(WINDRES)"; export WINDRES; \
16975         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16976         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16977         echo Configuring in zip; \
16978         cd zip || exit 1; \
16979         case $(srcdir) in \
16980           \.) \
16981             srcdiroption="--srcdir=."; \
16982             libsrcdir=".";; \
16983           /* | [A-Za-z]:[\\/]*) \
16984             srcdiroption="--srcdir=$(srcdir)/zip"; \
16985             libsrcdir="$$s/zip";; \
16986           *) \
16987             srcdiroption="--srcdir=../$(srcdir)/zip"; \
16988             libsrcdir="$$s/zip";; \
16989         esac; \
16990         $(SHELL) $${libsrcdir}/configure \
16991           $(HOST_CONFIGARGS) $${srcdiroption} \
16992           || exit 1
16993
16994 .PHONY: all-zip maybe-all-zip
16995 maybe-all-zip:
16996 all-zip: configure-zip
16997         @r=`${PWD_COMMAND}`; export r; \
16998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999         $(SET_LIB_PATH) \
17000         (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
17001
17002 .PHONY: check-zip maybe-check-zip
17003 maybe-check-zip:
17004
17005 # This module is only tested in a native toolchain.
17006 check-zip:
17007         @if [ '$(host)' = '$(target)' ] ; then \
17008           r=`${PWD_COMMAND}`; export r; \
17009           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010           $(SET_LIB_PATH) \
17011           (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
17012         fi
17013
17014
17015 .PHONY: install-zip maybe-install-zip
17016 maybe-install-zip:
17017
17018 install-zip: installdirs
17019         @r=`${PWD_COMMAND}`; export r; \
17020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021         $(SET_LIB_PATH) \
17022         (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
17023
17024
17025 # Other targets (info, dvi, etc.)
17026
17027 .PHONY: maybe-info-zip info-zip
17028 maybe-info-zip:
17029
17030 info-zip: \
17031     configure-zip 
17032         @[ -f ./zip/Makefile ] || exit 0; \
17033         r=`${PWD_COMMAND}`; export r; \
17034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035         $(SET_LIB_PATH) \
17036         for flag in $(EXTRA_HOST_FLAGS); do \
17037           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17038         done; \
17039         echo "Doing info in zip" ; \
17040         (cd zip && \
17041           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17042                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17043                   "RANLIB=$${RANLIB}" \
17044                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17045                   info) \
17046           || exit 1
17047
17048
17049 .PHONY: maybe-dvi-zip dvi-zip
17050 maybe-dvi-zip:
17051
17052 dvi-zip: \
17053     configure-zip 
17054         @[ -f ./zip/Makefile ] || exit 0; \
17055         r=`${PWD_COMMAND}`; export r; \
17056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17057         $(SET_LIB_PATH) \
17058         for flag in $(EXTRA_HOST_FLAGS); do \
17059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17060         done; \
17061         echo "Doing dvi in zip" ; \
17062         (cd zip && \
17063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17065                   "RANLIB=$${RANLIB}" \
17066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17067                   dvi) \
17068           || exit 1
17069
17070
17071 .PHONY: maybe-TAGS-zip TAGS-zip
17072 maybe-TAGS-zip:
17073
17074 TAGS-zip: \
17075     configure-zip 
17076         @[ -f ./zip/Makefile ] || exit 0; \
17077         r=`${PWD_COMMAND}`; export r; \
17078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079         $(SET_LIB_PATH) \
17080         for flag in $(EXTRA_HOST_FLAGS); do \
17081           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17082         done; \
17083         echo "Doing TAGS in zip" ; \
17084         (cd zip && \
17085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17087                   "RANLIB=$${RANLIB}" \
17088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17089                   TAGS) \
17090           || exit 1
17091
17092
17093 .PHONY: maybe-install-info-zip install-info-zip
17094 maybe-install-info-zip:
17095
17096 install-info-zip: \
17097     configure-zip \
17098     info-zip 
17099         @[ -f ./zip/Makefile ] || exit 0; \
17100         r=`${PWD_COMMAND}`; export r; \
17101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17102         $(SET_LIB_PATH) \
17103         for flag in $(EXTRA_HOST_FLAGS); do \
17104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17105         done; \
17106         echo "Doing install-info in zip" ; \
17107         (cd zip && \
17108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17110                   "RANLIB=$${RANLIB}" \
17111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17112                   install-info) \
17113           || exit 1
17114
17115
17116 .PHONY: maybe-installcheck-zip installcheck-zip
17117 maybe-installcheck-zip:
17118
17119 installcheck-zip: \
17120     configure-zip 
17121         @[ -f ./zip/Makefile ] || exit 0; \
17122         r=`${PWD_COMMAND}`; export r; \
17123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17124         $(SET_LIB_PATH) \
17125         for flag in $(EXTRA_HOST_FLAGS); do \
17126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17127         done; \
17128         echo "Doing installcheck in zip" ; \
17129         (cd zip && \
17130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17132                   "RANLIB=$${RANLIB}" \
17133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17134                   installcheck) \
17135           || exit 1
17136
17137
17138 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
17139 maybe-mostlyclean-zip:
17140
17141 mostlyclean-zip: 
17142         @[ -f ./zip/Makefile ] || exit 0; \
17143         r=`${PWD_COMMAND}`; export r; \
17144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145         $(SET_LIB_PATH) \
17146         for flag in $(EXTRA_HOST_FLAGS); do \
17147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17148         done; \
17149         echo "Doing mostlyclean in zip" ; \
17150         (cd zip && \
17151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17153                   "RANLIB=$${RANLIB}" \
17154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17155                   mostlyclean) \
17156           || exit 1
17157
17158
17159 .PHONY: maybe-clean-zip clean-zip
17160 maybe-clean-zip:
17161
17162 clean-zip: 
17163         @[ -f ./zip/Makefile ] || exit 0; \
17164         r=`${PWD_COMMAND}`; export r; \
17165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166         $(SET_LIB_PATH) \
17167         for flag in $(EXTRA_HOST_FLAGS); do \
17168           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17169         done; \
17170         echo "Doing clean in zip" ; \
17171         (cd zip && \
17172           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17173                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17174                   "RANLIB=$${RANLIB}" \
17175                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17176                   clean) \
17177           || exit 1
17178
17179
17180 .PHONY: maybe-distclean-zip distclean-zip
17181 maybe-distclean-zip:
17182
17183 distclean-zip: 
17184         @[ -f ./zip/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 distclean in zip" ; \
17192         (cd zip && \
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                   distclean) \
17198           || exit 1
17199
17200
17201 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
17202 maybe-maintainer-clean-zip:
17203
17204 maintainer-clean-zip: 
17205         @[ -f ./zip/Makefile ] || exit 0; \
17206         r=`${PWD_COMMAND}`; export r; \
17207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208         $(SET_LIB_PATH) \
17209         for flag in $(EXTRA_HOST_FLAGS); do \
17210           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17211         done; \
17212         echo "Doing maintainer-clean in zip" ; \
17213         (cd zip && \
17214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17216                   "RANLIB=$${RANLIB}" \
17217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17218                   maintainer-clean) \
17219           || exit 1
17220
17221
17222
17223 .PHONY: configure-zlib maybe-configure-zlib
17224 maybe-configure-zlib:
17225 configure-zlib:
17226         @test ! -f zlib/Makefile || exit 0; \
17227         [ -d zlib ] || mkdir zlib; \
17228         r=`${PWD_COMMAND}`; export r; \
17229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17230         CC="$(CC)"; export CC; \
17231         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17232         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17233         CXX="$(CXX)"; export CXX; \
17234         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17235         AR="$(AR)"; export AR; \
17236         AS="$(AS)"; export AS; \
17237         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17238         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17239         LD="$(LD)"; export LD; \
17240         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17241         NM="$(NM)"; export NM; \
17242         RANLIB="$(RANLIB)"; export RANLIB; \
17243         WINDRES="$(WINDRES)"; export WINDRES; \
17244         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17245         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17246         echo Configuring in zlib; \
17247         cd zlib || exit 1; \
17248         case $(srcdir) in \
17249           \.) \
17250             srcdiroption="--srcdir=."; \
17251             libsrcdir=".";; \
17252           /* | [A-Za-z]:[\\/]*) \
17253             srcdiroption="--srcdir=$(srcdir)/zlib"; \
17254             libsrcdir="$$s/zlib";; \
17255           *) \
17256             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
17257             libsrcdir="$$s/zlib";; \
17258         esac; \
17259         $(SHELL) $${libsrcdir}/configure \
17260           $(HOST_CONFIGARGS) $${srcdiroption} \
17261           || exit 1
17262
17263 .PHONY: all-zlib maybe-all-zlib
17264 maybe-all-zlib:
17265 all-zlib: configure-zlib
17266         @r=`${PWD_COMMAND}`; export r; \
17267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268         $(SET_LIB_PATH) \
17269         (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
17270
17271 .PHONY: check-zlib maybe-check-zlib
17272 maybe-check-zlib:
17273
17274 check-zlib:
17275
17276
17277 .PHONY: install-zlib maybe-install-zlib
17278 maybe-install-zlib:
17279
17280 install-zlib:
17281
17282
17283 # Other targets (info, dvi, etc.)
17284
17285 .PHONY: maybe-info-zlib info-zlib
17286 maybe-info-zlib:
17287
17288 info-zlib: \
17289     configure-zlib 
17290         @[ -f ./zlib/Makefile ] || exit 0; \
17291         r=`${PWD_COMMAND}`; export r; \
17292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17293         $(SET_LIB_PATH) \
17294         for flag in $(EXTRA_HOST_FLAGS); do \
17295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17296         done; \
17297         echo "Doing info in zlib" ; \
17298         (cd zlib && \
17299           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17300                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17301                   "RANLIB=$${RANLIB}" \
17302                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17303                   info) \
17304           || exit 1
17305
17306
17307 .PHONY: maybe-dvi-zlib dvi-zlib
17308 maybe-dvi-zlib:
17309
17310 dvi-zlib: \
17311     configure-zlib 
17312         @[ -f ./zlib/Makefile ] || exit 0; \
17313         r=`${PWD_COMMAND}`; export r; \
17314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315         $(SET_LIB_PATH) \
17316         for flag in $(EXTRA_HOST_FLAGS); do \
17317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17318         done; \
17319         echo "Doing dvi in zlib" ; \
17320         (cd zlib && \
17321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323                   "RANLIB=$${RANLIB}" \
17324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17325                   dvi) \
17326           || exit 1
17327
17328
17329 .PHONY: maybe-TAGS-zlib TAGS-zlib
17330 maybe-TAGS-zlib:
17331
17332 TAGS-zlib: \
17333     configure-zlib 
17334         @[ -f ./zlib/Makefile ] || exit 0; \
17335         r=`${PWD_COMMAND}`; export r; \
17336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337         $(SET_LIB_PATH) \
17338         for flag in $(EXTRA_HOST_FLAGS); do \
17339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17340         done; \
17341         echo "Doing TAGS in zlib" ; \
17342         (cd zlib && \
17343           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17344                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17345                   "RANLIB=$${RANLIB}" \
17346                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17347                   TAGS) \
17348           || exit 1
17349
17350
17351 .PHONY: maybe-install-info-zlib install-info-zlib
17352 maybe-install-info-zlib:
17353
17354 install-info-zlib: \
17355     configure-zlib \
17356     info-zlib 
17357         @[ -f ./zlib/Makefile ] || exit 0; \
17358         r=`${PWD_COMMAND}`; export r; \
17359         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17360         $(SET_LIB_PATH) \
17361         for flag in $(EXTRA_HOST_FLAGS); do \
17362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17363         done; \
17364         echo "Doing install-info in zlib" ; \
17365         (cd zlib && \
17366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17368                   "RANLIB=$${RANLIB}" \
17369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17370                   install-info) \
17371           || exit 1
17372
17373
17374 .PHONY: maybe-installcheck-zlib installcheck-zlib
17375 maybe-installcheck-zlib:
17376
17377 installcheck-zlib: \
17378     configure-zlib 
17379         @[ -f ./zlib/Makefile ] || exit 0; \
17380         r=`${PWD_COMMAND}`; export r; \
17381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382         $(SET_LIB_PATH) \
17383         for flag in $(EXTRA_HOST_FLAGS); do \
17384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17385         done; \
17386         echo "Doing installcheck in zlib" ; \
17387         (cd zlib && \
17388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390                   "RANLIB=$${RANLIB}" \
17391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17392                   installcheck) \
17393           || exit 1
17394
17395
17396 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
17397 maybe-mostlyclean-zlib:
17398
17399 mostlyclean-zlib: 
17400         @[ -f ./zlib/Makefile ] || exit 0; \
17401         r=`${PWD_COMMAND}`; export r; \
17402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17403         $(SET_LIB_PATH) \
17404         for flag in $(EXTRA_HOST_FLAGS); do \
17405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17406         done; \
17407         echo "Doing mostlyclean in zlib" ; \
17408         (cd zlib && \
17409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17411                   "RANLIB=$${RANLIB}" \
17412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17413                   mostlyclean) \
17414           || exit 1
17415
17416
17417 .PHONY: maybe-clean-zlib clean-zlib
17418 maybe-clean-zlib:
17419
17420 clean-zlib: 
17421         @[ -f ./zlib/Makefile ] || exit 0; \
17422         r=`${PWD_COMMAND}`; export r; \
17423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17424         $(SET_LIB_PATH) \
17425         for flag in $(EXTRA_HOST_FLAGS); do \
17426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17427         done; \
17428         echo "Doing clean in zlib" ; \
17429         (cd zlib && \
17430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17432                   "RANLIB=$${RANLIB}" \
17433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17434                   clean) \
17435           || exit 1
17436
17437
17438 .PHONY: maybe-distclean-zlib distclean-zlib
17439 maybe-distclean-zlib:
17440
17441 distclean-zlib: 
17442         @[ -f ./zlib/Makefile ] || exit 0; \
17443         r=`${PWD_COMMAND}`; export r; \
17444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17445         $(SET_LIB_PATH) \
17446         for flag in $(EXTRA_HOST_FLAGS); do \
17447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17448         done; \
17449         echo "Doing distclean in zlib" ; \
17450         (cd zlib && \
17451           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17452                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17453                   "RANLIB=$${RANLIB}" \
17454                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17455                   distclean) \
17456           || exit 1
17457
17458
17459 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
17460 maybe-maintainer-clean-zlib:
17461
17462 maintainer-clean-zlib: 
17463         @[ -f ./zlib/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 maintainer-clean in zlib" ; \
17471         (cd zlib && \
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                   maintainer-clean) \
17477           || exit 1
17478
17479
17480
17481 .PHONY: configure-gdb maybe-configure-gdb
17482 maybe-configure-gdb:
17483 configure-gdb:
17484         @test ! -f gdb/Makefile || exit 0; \
17485         [ -d gdb ] || mkdir gdb; \
17486         r=`${PWD_COMMAND}`; export r; \
17487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488         CC="$(CC)"; export CC; \
17489         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17490         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17491         CXX="$(CXX)"; export CXX; \
17492         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17493         AR="$(AR)"; export AR; \
17494         AS="$(AS)"; export AS; \
17495         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17496         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17497         LD="$(LD)"; export LD; \
17498         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17499         NM="$(NM)"; export NM; \
17500         RANLIB="$(RANLIB)"; export RANLIB; \
17501         WINDRES="$(WINDRES)"; export WINDRES; \
17502         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17503         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17504         echo Configuring in gdb; \
17505         cd gdb || exit 1; \
17506         case $(srcdir) in \
17507           \.) \
17508             srcdiroption="--srcdir=."; \
17509             libsrcdir=".";; \
17510           /* | [A-Za-z]:[\\/]*) \
17511             srcdiroption="--srcdir=$(srcdir)/gdb"; \
17512             libsrcdir="$$s/gdb";; \
17513           *) \
17514             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
17515             libsrcdir="$$s/gdb";; \
17516         esac; \
17517         $(SHELL) $${libsrcdir}/configure \
17518           $(HOST_CONFIGARGS) $${srcdiroption} \
17519           || exit 1
17520
17521 .PHONY: all-gdb maybe-all-gdb
17522 maybe-all-gdb:
17523 all-gdb: configure-gdb
17524         @r=`${PWD_COMMAND}`; export r; \
17525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526         $(SET_LIB_PATH) \
17527         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17528
17529 .PHONY: check-gdb maybe-check-gdb
17530 maybe-check-gdb:
17531
17532 check-gdb:
17533         @r=`${PWD_COMMAND}`; export r; \
17534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17535         $(SET_LIB_PATH) \
17536         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17537
17538
17539 .PHONY: install-gdb maybe-install-gdb
17540 maybe-install-gdb:
17541
17542 install-gdb: installdirs
17543         @r=`${PWD_COMMAND}`; export r; \
17544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17545         $(SET_LIB_PATH) \
17546         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17547
17548
17549 # Other targets (info, dvi, etc.)
17550
17551 .PHONY: maybe-info-gdb info-gdb
17552 maybe-info-gdb:
17553
17554 info-gdb: \
17555     configure-gdb 
17556         @[ -f ./gdb/Makefile ] || exit 0; \
17557         r=`${PWD_COMMAND}`; export r; \
17558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17559         $(SET_LIB_PATH) \
17560         for flag in $(EXTRA_HOST_FLAGS); do \
17561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17562         done; \
17563         echo "Doing info in gdb" ; \
17564         (cd gdb && \
17565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17567                   "RANLIB=$${RANLIB}" \
17568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17569                   info) \
17570           || exit 1
17571
17572
17573 .PHONY: maybe-dvi-gdb dvi-gdb
17574 maybe-dvi-gdb:
17575
17576 dvi-gdb: \
17577     configure-gdb 
17578         @[ -f ./gdb/Makefile ] || exit 0; \
17579         r=`${PWD_COMMAND}`; export r; \
17580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581         $(SET_LIB_PATH) \
17582         for flag in $(EXTRA_HOST_FLAGS); do \
17583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17584         done; \
17585         echo "Doing dvi in gdb" ; \
17586         (cd gdb && \
17587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589                   "RANLIB=$${RANLIB}" \
17590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17591                   dvi) \
17592           || exit 1
17593
17594
17595 .PHONY: maybe-TAGS-gdb TAGS-gdb
17596 maybe-TAGS-gdb:
17597
17598 TAGS-gdb: \
17599     configure-gdb 
17600         @[ -f ./gdb/Makefile ] || exit 0; \
17601         r=`${PWD_COMMAND}`; export r; \
17602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603         $(SET_LIB_PATH) \
17604         for flag in $(EXTRA_HOST_FLAGS); do \
17605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606         done; \
17607         echo "Doing TAGS in gdb" ; \
17608         (cd gdb && \
17609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611                   "RANLIB=$${RANLIB}" \
17612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17613                   TAGS) \
17614           || exit 1
17615
17616
17617 .PHONY: maybe-install-info-gdb install-info-gdb
17618 maybe-install-info-gdb:
17619
17620 install-info-gdb: \
17621     configure-gdb \
17622     info-gdb 
17623         @[ -f ./gdb/Makefile ] || exit 0; \
17624         r=`${PWD_COMMAND}`; export r; \
17625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626         $(SET_LIB_PATH) \
17627         for flag in $(EXTRA_HOST_FLAGS); do \
17628           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629         done; \
17630         echo "Doing install-info in gdb" ; \
17631         (cd gdb && \
17632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634                   "RANLIB=$${RANLIB}" \
17635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17636                   install-info) \
17637           || exit 1
17638
17639
17640 .PHONY: maybe-installcheck-gdb installcheck-gdb
17641 maybe-installcheck-gdb:
17642
17643 installcheck-gdb: \
17644     configure-gdb 
17645         @[ -f ./gdb/Makefile ] || exit 0; \
17646         r=`${PWD_COMMAND}`; export r; \
17647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17648         $(SET_LIB_PATH) \
17649         for flag in $(EXTRA_HOST_FLAGS); do \
17650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17651         done; \
17652         echo "Doing installcheck in gdb" ; \
17653         (cd gdb && \
17654           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656                   "RANLIB=$${RANLIB}" \
17657                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17658                   installcheck) \
17659           || exit 1
17660
17661
17662 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
17663 maybe-mostlyclean-gdb:
17664
17665 mostlyclean-gdb: 
17666         @[ -f ./gdb/Makefile ] || exit 0; \
17667         r=`${PWD_COMMAND}`; export r; \
17668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17669         $(SET_LIB_PATH) \
17670         for flag in $(EXTRA_HOST_FLAGS); do \
17671           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17672         done; \
17673         echo "Doing mostlyclean in gdb" ; \
17674         (cd gdb && \
17675           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677                   "RANLIB=$${RANLIB}" \
17678                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17679                   mostlyclean) \
17680           || exit 1
17681
17682
17683 .PHONY: maybe-clean-gdb clean-gdb
17684 maybe-clean-gdb:
17685
17686 clean-gdb: 
17687         @[ -f ./gdb/Makefile ] || exit 0; \
17688         r=`${PWD_COMMAND}`; export r; \
17689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17690         $(SET_LIB_PATH) \
17691         for flag in $(EXTRA_HOST_FLAGS); do \
17692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17693         done; \
17694         echo "Doing clean in gdb" ; \
17695         (cd gdb && \
17696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17698                   "RANLIB=$${RANLIB}" \
17699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17700                   clean) \
17701           || exit 1
17702
17703
17704 .PHONY: maybe-distclean-gdb distclean-gdb
17705 maybe-distclean-gdb:
17706
17707 distclean-gdb: 
17708         @[ -f ./gdb/Makefile ] || exit 0; \
17709         r=`${PWD_COMMAND}`; export r; \
17710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17711         $(SET_LIB_PATH) \
17712         for flag in $(EXTRA_HOST_FLAGS); do \
17713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17714         done; \
17715         echo "Doing distclean in gdb" ; \
17716         (cd gdb && \
17717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17719                   "RANLIB=$${RANLIB}" \
17720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17721                   distclean) \
17722           || exit 1
17723
17724
17725 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
17726 maybe-maintainer-clean-gdb:
17727
17728 maintainer-clean-gdb: 
17729         @[ -f ./gdb/Makefile ] || exit 0; \
17730         r=`${PWD_COMMAND}`; export r; \
17731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17732         $(SET_LIB_PATH) \
17733         for flag in $(EXTRA_HOST_FLAGS); do \
17734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17735         done; \
17736         echo "Doing maintainer-clean in gdb" ; \
17737         (cd gdb && \
17738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17740                   "RANLIB=$${RANLIB}" \
17741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17742                   maintainer-clean) \
17743           || exit 1
17744
17745
17746
17747 .PHONY: configure-expect maybe-configure-expect
17748 maybe-configure-expect:
17749 configure-expect:
17750         @test ! -f expect/Makefile || exit 0; \
17751         [ -d expect ] || mkdir expect; \
17752         r=`${PWD_COMMAND}`; export r; \
17753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754         CC="$(CC)"; export CC; \
17755         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17756         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17757         CXX="$(CXX)"; export CXX; \
17758         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17759         AR="$(AR)"; export AR; \
17760         AS="$(AS)"; export AS; \
17761         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17762         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17763         LD="$(LD)"; export LD; \
17764         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17765         NM="$(NM)"; export NM; \
17766         RANLIB="$(RANLIB)"; export RANLIB; \
17767         WINDRES="$(WINDRES)"; export WINDRES; \
17768         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17769         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17770         echo Configuring in expect; \
17771         cd expect || exit 1; \
17772         case $(srcdir) in \
17773           \.) \
17774             srcdiroption="--srcdir=."; \
17775             libsrcdir=".";; \
17776           /* | [A-Za-z]:[\\/]*) \
17777             srcdiroption="--srcdir=$(srcdir)/expect"; \
17778             libsrcdir="$$s/expect";; \
17779           *) \
17780             srcdiroption="--srcdir=../$(srcdir)/expect"; \
17781             libsrcdir="$$s/expect";; \
17782         esac; \
17783         $(SHELL) $${libsrcdir}/configure \
17784           $(HOST_CONFIGARGS) $${srcdiroption} \
17785           || exit 1
17786
17787 .PHONY: all-expect maybe-all-expect
17788 maybe-all-expect:
17789 all-expect: configure-expect
17790         @r=`${PWD_COMMAND}`; export r; \
17791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792         $(SET_LIB_PATH) \
17793         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17794
17795 .PHONY: check-expect maybe-check-expect
17796 maybe-check-expect:
17797
17798 check-expect:
17799         @r=`${PWD_COMMAND}`; export r; \
17800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801         $(SET_LIB_PATH) \
17802         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17803
17804
17805 .PHONY: install-expect maybe-install-expect
17806 maybe-install-expect:
17807
17808 install-expect: installdirs
17809         @r=`${PWD_COMMAND}`; export r; \
17810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17811         $(SET_LIB_PATH) \
17812         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17813
17814
17815 # Other targets (info, dvi, etc.)
17816
17817 .PHONY: maybe-info-expect info-expect
17818 maybe-info-expect:
17819
17820 info-expect: \
17821     configure-expect 
17822         @[ -f ./expect/Makefile ] || exit 0; \
17823         r=`${PWD_COMMAND}`; export r; \
17824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825         $(SET_LIB_PATH) \
17826         for flag in $(EXTRA_HOST_FLAGS); do \
17827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17828         done; \
17829         echo "Doing info in expect" ; \
17830         (cd expect && \
17831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17833                   "RANLIB=$${RANLIB}" \
17834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17835                   info) \
17836           || exit 1
17837
17838
17839 .PHONY: maybe-dvi-expect dvi-expect
17840 maybe-dvi-expect:
17841
17842 dvi-expect: \
17843     configure-expect 
17844         @[ -f ./expect/Makefile ] || exit 0; \
17845         r=`${PWD_COMMAND}`; export r; \
17846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17847         $(SET_LIB_PATH) \
17848         for flag in $(EXTRA_HOST_FLAGS); do \
17849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17850         done; \
17851         echo "Doing dvi in expect" ; \
17852         (cd expect && \
17853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17855                   "RANLIB=$${RANLIB}" \
17856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17857                   dvi) \
17858           || exit 1
17859
17860
17861 .PHONY: maybe-TAGS-expect TAGS-expect
17862 maybe-TAGS-expect:
17863
17864 TAGS-expect: \
17865     configure-expect 
17866         @[ -f ./expect/Makefile ] || exit 0; \
17867         r=`${PWD_COMMAND}`; export r; \
17868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869         $(SET_LIB_PATH) \
17870         for flag in $(EXTRA_HOST_FLAGS); do \
17871           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872         done; \
17873         echo "Doing TAGS in expect" ; \
17874         (cd expect && \
17875           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877                   "RANLIB=$${RANLIB}" \
17878                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17879                   TAGS) \
17880           || exit 1
17881
17882
17883 .PHONY: maybe-install-info-expect install-info-expect
17884 maybe-install-info-expect:
17885
17886 install-info-expect: \
17887     configure-expect \
17888     info-expect 
17889         @[ -f ./expect/Makefile ] || exit 0; \
17890         r=`${PWD_COMMAND}`; export r; \
17891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892         $(SET_LIB_PATH) \
17893         for flag in $(EXTRA_HOST_FLAGS); do \
17894           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17895         done; \
17896         echo "Doing install-info in expect" ; \
17897         (cd expect && \
17898           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17899                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17900                   "RANLIB=$${RANLIB}" \
17901                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17902                   install-info) \
17903           || exit 1
17904
17905
17906 .PHONY: maybe-installcheck-expect installcheck-expect
17907 maybe-installcheck-expect:
17908
17909 installcheck-expect: \
17910     configure-expect 
17911         @[ -f ./expect/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 installcheck in expect" ; \
17919         (cd expect && \
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                   installcheck) \
17925           || exit 1
17926
17927
17928 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
17929 maybe-mostlyclean-expect:
17930
17931 mostlyclean-expect: 
17932         @[ -f ./expect/Makefile ] || exit 0; \
17933         r=`${PWD_COMMAND}`; export r; \
17934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17935         $(SET_LIB_PATH) \
17936         for flag in $(EXTRA_HOST_FLAGS); do \
17937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17938         done; \
17939         echo "Doing mostlyclean in expect" ; \
17940         (cd expect && \
17941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17943                   "RANLIB=$${RANLIB}" \
17944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17945                   mostlyclean) \
17946           || exit 1
17947
17948
17949 .PHONY: maybe-clean-expect clean-expect
17950 maybe-clean-expect:
17951
17952 clean-expect: 
17953         @[ -f ./expect/Makefile ] || exit 0; \
17954         r=`${PWD_COMMAND}`; export r; \
17955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956         $(SET_LIB_PATH) \
17957         for flag in $(EXTRA_HOST_FLAGS); do \
17958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17959         done; \
17960         echo "Doing clean in expect" ; \
17961         (cd expect && \
17962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17964                   "RANLIB=$${RANLIB}" \
17965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17966                   clean) \
17967           || exit 1
17968
17969
17970 .PHONY: maybe-distclean-expect distclean-expect
17971 maybe-distclean-expect:
17972
17973 distclean-expect: 
17974         @[ -f ./expect/Makefile ] || exit 0; \
17975         r=`${PWD_COMMAND}`; export r; \
17976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977         $(SET_LIB_PATH) \
17978         for flag in $(EXTRA_HOST_FLAGS); do \
17979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17980         done; \
17981         echo "Doing distclean in expect" ; \
17982         (cd expect && \
17983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985                   "RANLIB=$${RANLIB}" \
17986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17987                   distclean) \
17988           || exit 1
17989
17990
17991 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
17992 maybe-maintainer-clean-expect:
17993
17994 maintainer-clean-expect: 
17995         @[ -f ./expect/Makefile ] || exit 0; \
17996         r=`${PWD_COMMAND}`; export r; \
17997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998         $(SET_LIB_PATH) \
17999         for flag in $(EXTRA_HOST_FLAGS); do \
18000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001         done; \
18002         echo "Doing maintainer-clean in expect" ; \
18003         (cd expect && \
18004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006                   "RANLIB=$${RANLIB}" \
18007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008                   maintainer-clean) \
18009           || exit 1
18010
18011
18012
18013 .PHONY: configure-guile maybe-configure-guile
18014 maybe-configure-guile:
18015 configure-guile:
18016         @test ! -f guile/Makefile || exit 0; \
18017         [ -d guile ] || mkdir guile; \
18018         r=`${PWD_COMMAND}`; export r; \
18019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18020         CC="$(CC)"; export CC; \
18021         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18022         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18023         CXX="$(CXX)"; export CXX; \
18024         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18025         AR="$(AR)"; export AR; \
18026         AS="$(AS)"; export AS; \
18027         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18028         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18029         LD="$(LD)"; export LD; \
18030         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18031         NM="$(NM)"; export NM; \
18032         RANLIB="$(RANLIB)"; export RANLIB; \
18033         WINDRES="$(WINDRES)"; export WINDRES; \
18034         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18035         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18036         echo Configuring in guile; \
18037         cd guile || exit 1; \
18038         case $(srcdir) in \
18039           \.) \
18040             srcdiroption="--srcdir=."; \
18041             libsrcdir=".";; \
18042           /* | [A-Za-z]:[\\/]*) \
18043             srcdiroption="--srcdir=$(srcdir)/guile"; \
18044             libsrcdir="$$s/guile";; \
18045           *) \
18046             srcdiroption="--srcdir=../$(srcdir)/guile"; \
18047             libsrcdir="$$s/guile";; \
18048         esac; \
18049         $(SHELL) $${libsrcdir}/configure \
18050           $(HOST_CONFIGARGS) $${srcdiroption} \
18051           || exit 1
18052
18053 .PHONY: all-guile maybe-all-guile
18054 maybe-all-guile:
18055 all-guile: configure-guile
18056         @r=`${PWD_COMMAND}`; export r; \
18057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058         $(SET_LIB_PATH) \
18059         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18060
18061 .PHONY: check-guile maybe-check-guile
18062 maybe-check-guile:
18063
18064 check-guile:
18065         @r=`${PWD_COMMAND}`; export r; \
18066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067         $(SET_LIB_PATH) \
18068         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18069
18070
18071 .PHONY: install-guile maybe-install-guile
18072 maybe-install-guile:
18073
18074 install-guile: installdirs
18075         @r=`${PWD_COMMAND}`; export r; \
18076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077         $(SET_LIB_PATH) \
18078         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18079
18080
18081 # Other targets (info, dvi, etc.)
18082
18083 .PHONY: maybe-info-guile info-guile
18084 maybe-info-guile:
18085
18086 info-guile: \
18087     configure-guile 
18088         @[ -f ./guile/Makefile ] || exit 0; \
18089         r=`${PWD_COMMAND}`; export r; \
18090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18091         $(SET_LIB_PATH) \
18092         for flag in $(EXTRA_HOST_FLAGS); do \
18093           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18094         done; \
18095         echo "Doing info in guile" ; \
18096         (cd guile && \
18097           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18098                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18099                   "RANLIB=$${RANLIB}" \
18100                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18101                   info) \
18102           || exit 1
18103
18104
18105 .PHONY: maybe-dvi-guile dvi-guile
18106 maybe-dvi-guile:
18107
18108 dvi-guile: \
18109     configure-guile 
18110         @[ -f ./guile/Makefile ] || exit 0; \
18111         r=`${PWD_COMMAND}`; export r; \
18112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113         $(SET_LIB_PATH) \
18114         for flag in $(EXTRA_HOST_FLAGS); do \
18115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18116         done; \
18117         echo "Doing dvi in guile" ; \
18118         (cd guile && \
18119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18121                   "RANLIB=$${RANLIB}" \
18122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18123                   dvi) \
18124           || exit 1
18125
18126
18127 .PHONY: maybe-TAGS-guile TAGS-guile
18128 maybe-TAGS-guile:
18129
18130 TAGS-guile: \
18131     configure-guile 
18132         @[ -f ./guile/Makefile ] || exit 0; \
18133         r=`${PWD_COMMAND}`; export r; \
18134         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18135         $(SET_LIB_PATH) \
18136         for flag in $(EXTRA_HOST_FLAGS); do \
18137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18138         done; \
18139         echo "Doing TAGS in guile" ; \
18140         (cd guile && \
18141           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18142                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18143                   "RANLIB=$${RANLIB}" \
18144                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18145                   TAGS) \
18146           || exit 1
18147
18148
18149 .PHONY: maybe-install-info-guile install-info-guile
18150 maybe-install-info-guile:
18151
18152 install-info-guile: \
18153     configure-guile \
18154     info-guile 
18155         @[ -f ./guile/Makefile ] || exit 0; \
18156         r=`${PWD_COMMAND}`; export r; \
18157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158         $(SET_LIB_PATH) \
18159         for flag in $(EXTRA_HOST_FLAGS); do \
18160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161         done; \
18162         echo "Doing install-info in guile" ; \
18163         (cd guile && \
18164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166                   "RANLIB=$${RANLIB}" \
18167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18168                   install-info) \
18169           || exit 1
18170
18171
18172 .PHONY: maybe-installcheck-guile installcheck-guile
18173 maybe-installcheck-guile:
18174
18175 installcheck-guile: \
18176     configure-guile 
18177         @[ -f ./guile/Makefile ] || exit 0; \
18178         r=`${PWD_COMMAND}`; export r; \
18179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18180         $(SET_LIB_PATH) \
18181         for flag in $(EXTRA_HOST_FLAGS); do \
18182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18183         done; \
18184         echo "Doing installcheck in guile" ; \
18185         (cd guile && \
18186           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18187                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18188                   "RANLIB=$${RANLIB}" \
18189                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18190                   installcheck) \
18191           || exit 1
18192
18193
18194 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
18195 maybe-mostlyclean-guile:
18196
18197 mostlyclean-guile: 
18198         @[ -f ./guile/Makefile ] || exit 0; \
18199         r=`${PWD_COMMAND}`; export r; \
18200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201         $(SET_LIB_PATH) \
18202         for flag in $(EXTRA_HOST_FLAGS); do \
18203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18204         done; \
18205         echo "Doing mostlyclean in guile" ; \
18206         (cd guile && \
18207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18209                   "RANLIB=$${RANLIB}" \
18210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18211                   mostlyclean) \
18212           || exit 1
18213
18214
18215 .PHONY: maybe-clean-guile clean-guile
18216 maybe-clean-guile:
18217
18218 clean-guile: 
18219         @[ -f ./guile/Makefile ] || exit 0; \
18220         r=`${PWD_COMMAND}`; export r; \
18221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222         $(SET_LIB_PATH) \
18223         for flag in $(EXTRA_HOST_FLAGS); do \
18224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18225         done; \
18226         echo "Doing clean in guile" ; \
18227         (cd guile && \
18228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230                   "RANLIB=$${RANLIB}" \
18231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232                   clean) \
18233           || exit 1
18234
18235
18236 .PHONY: maybe-distclean-guile distclean-guile
18237 maybe-distclean-guile:
18238
18239 distclean-guile: 
18240         @[ -f ./guile/Makefile ] || exit 0; \
18241         r=`${PWD_COMMAND}`; export r; \
18242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243         $(SET_LIB_PATH) \
18244         for flag in $(EXTRA_HOST_FLAGS); do \
18245           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18246         done; \
18247         echo "Doing distclean in guile" ; \
18248         (cd guile && \
18249           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251                   "RANLIB=$${RANLIB}" \
18252                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18253                   distclean) \
18254           || exit 1
18255
18256
18257 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
18258 maybe-maintainer-clean-guile:
18259
18260 maintainer-clean-guile: 
18261         @[ -f ./guile/Makefile ] || exit 0; \
18262         r=`${PWD_COMMAND}`; export r; \
18263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264         $(SET_LIB_PATH) \
18265         for flag in $(EXTRA_HOST_FLAGS); do \
18266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18267         done; \
18268         echo "Doing maintainer-clean in guile" ; \
18269         (cd guile && \
18270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18272                   "RANLIB=$${RANLIB}" \
18273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18274                   maintainer-clean) \
18275           || exit 1
18276
18277
18278
18279 .PHONY: configure-tk maybe-configure-tk
18280 maybe-configure-tk:
18281 configure-tk:
18282         @test ! -f tk/Makefile || exit 0; \
18283         [ -d tk ] || mkdir tk; \
18284         r=`${PWD_COMMAND}`; export r; \
18285         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286         CC="$(CC)"; export CC; \
18287         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18288         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18289         CXX="$(CXX)"; export CXX; \
18290         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18291         AR="$(AR)"; export AR; \
18292         AS="$(AS)"; export AS; \
18293         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18294         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18295         LD="$(LD)"; export LD; \
18296         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18297         NM="$(NM)"; export NM; \
18298         RANLIB="$(RANLIB)"; export RANLIB; \
18299         WINDRES="$(WINDRES)"; export WINDRES; \
18300         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18301         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18302         echo Configuring in tk; \
18303         cd tk || exit 1; \
18304         case $(srcdir) in \
18305           \.) \
18306             srcdiroption="--srcdir=."; \
18307             libsrcdir=".";; \
18308           /* | [A-Za-z]:[\\/]*) \
18309             srcdiroption="--srcdir=$(srcdir)/tk"; \
18310             libsrcdir="$$s/tk";; \
18311           *) \
18312             srcdiroption="--srcdir=../$(srcdir)/tk"; \
18313             libsrcdir="$$s/tk";; \
18314         esac; \
18315         $(SHELL) $${libsrcdir}/configure \
18316           $(HOST_CONFIGARGS) $${srcdiroption} \
18317           || exit 1
18318
18319 .PHONY: all-tk maybe-all-tk
18320 maybe-all-tk:
18321 all-tk: configure-tk
18322         @r=`${PWD_COMMAND}`; export r; \
18323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324         $(SET_LIB_PATH) \
18325         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18326
18327 .PHONY: check-tk maybe-check-tk
18328 maybe-check-tk:
18329
18330 check-tk:
18331         @r=`${PWD_COMMAND}`; export r; \
18332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333         $(SET_LIB_PATH) \
18334         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18335
18336
18337 .PHONY: install-tk maybe-install-tk
18338 maybe-install-tk:
18339
18340 install-tk: installdirs
18341         @r=`${PWD_COMMAND}`; export r; \
18342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343         $(SET_LIB_PATH) \
18344         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18345
18346
18347 # Other targets (info, dvi, etc.)
18348
18349 .PHONY: maybe-info-tk info-tk
18350 maybe-info-tk:
18351
18352 info-tk: \
18353     configure-tk 
18354         @[ -f ./tk/Makefile ] || exit 0; \
18355         r=`${PWD_COMMAND}`; export r; \
18356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18357         $(SET_LIB_PATH) \
18358         for flag in $(EXTRA_HOST_FLAGS); do \
18359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18360         done; \
18361         echo "Doing info in tk" ; \
18362         (cd tk && \
18363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18365                   "RANLIB=$${RANLIB}" \
18366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18367                   info) \
18368           || exit 1
18369
18370
18371 .PHONY: maybe-dvi-tk dvi-tk
18372 maybe-dvi-tk:
18373
18374 dvi-tk: \
18375     configure-tk 
18376         @[ -f ./tk/Makefile ] || exit 0; \
18377         r=`${PWD_COMMAND}`; export r; \
18378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379         $(SET_LIB_PATH) \
18380         for flag in $(EXTRA_HOST_FLAGS); do \
18381           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18382         done; \
18383         echo "Doing dvi in tk" ; \
18384         (cd tk && \
18385           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387                   "RANLIB=$${RANLIB}" \
18388                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18389                   dvi) \
18390           || exit 1
18391
18392
18393 .PHONY: maybe-TAGS-tk TAGS-tk
18394 maybe-TAGS-tk:
18395
18396 TAGS-tk: \
18397     configure-tk 
18398         @[ -f ./tk/Makefile ] || exit 0; \
18399         r=`${PWD_COMMAND}`; export r; \
18400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18401         $(SET_LIB_PATH) \
18402         for flag in $(EXTRA_HOST_FLAGS); do \
18403           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18404         done; \
18405         echo "Doing TAGS in tk" ; \
18406         (cd tk && \
18407           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18408                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18409                   "RANLIB=$${RANLIB}" \
18410                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18411                   TAGS) \
18412           || exit 1
18413
18414
18415 .PHONY: maybe-install-info-tk install-info-tk
18416 maybe-install-info-tk:
18417
18418 install-info-tk: \
18419     configure-tk \
18420     info-tk 
18421         @[ -f ./tk/Makefile ] || exit 0; \
18422         r=`${PWD_COMMAND}`; export r; \
18423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18424         $(SET_LIB_PATH) \
18425         for flag in $(EXTRA_HOST_FLAGS); do \
18426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18427         done; \
18428         echo "Doing install-info in tk" ; \
18429         (cd tk && \
18430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18432                   "RANLIB=$${RANLIB}" \
18433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18434                   install-info) \
18435           || exit 1
18436
18437
18438 .PHONY: maybe-installcheck-tk installcheck-tk
18439 maybe-installcheck-tk:
18440
18441 installcheck-tk: \
18442     configure-tk 
18443         @[ -f ./tk/Makefile ] || exit 0; \
18444         r=`${PWD_COMMAND}`; export r; \
18445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18446         $(SET_LIB_PATH) \
18447         for flag in $(EXTRA_HOST_FLAGS); do \
18448           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18449         done; \
18450         echo "Doing installcheck in tk" ; \
18451         (cd tk && \
18452           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18453                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18454                   "RANLIB=$${RANLIB}" \
18455                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18456                   installcheck) \
18457           || exit 1
18458
18459
18460 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
18461 maybe-mostlyclean-tk:
18462
18463 mostlyclean-tk: 
18464         @[ -f ./tk/Makefile ] || exit 0; \
18465         r=`${PWD_COMMAND}`; export r; \
18466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467         $(SET_LIB_PATH) \
18468         for flag in $(EXTRA_HOST_FLAGS); do \
18469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470         done; \
18471         echo "Doing mostlyclean in tk" ; \
18472         (cd tk && \
18473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475                   "RANLIB=$${RANLIB}" \
18476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18477                   mostlyclean) \
18478           || exit 1
18479
18480
18481 .PHONY: maybe-clean-tk clean-tk
18482 maybe-clean-tk:
18483
18484 clean-tk: 
18485         @[ -f ./tk/Makefile ] || exit 0; \
18486         r=`${PWD_COMMAND}`; export r; \
18487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488         $(SET_LIB_PATH) \
18489         for flag in $(EXTRA_HOST_FLAGS); do \
18490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491         done; \
18492         echo "Doing clean in tk" ; \
18493         (cd tk && \
18494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496                   "RANLIB=$${RANLIB}" \
18497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18498                   clean) \
18499           || exit 1
18500
18501
18502 .PHONY: maybe-distclean-tk distclean-tk
18503 maybe-distclean-tk:
18504
18505 distclean-tk: 
18506         @[ -f ./tk/Makefile ] || exit 0; \
18507         r=`${PWD_COMMAND}`; export r; \
18508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509         $(SET_LIB_PATH) \
18510         for flag in $(EXTRA_HOST_FLAGS); do \
18511           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18512         done; \
18513         echo "Doing distclean in tk" ; \
18514         (cd tk && \
18515           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18516                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18517                   "RANLIB=$${RANLIB}" \
18518                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18519                   distclean) \
18520           || exit 1
18521
18522
18523 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
18524 maybe-maintainer-clean-tk:
18525
18526 maintainer-clean-tk: 
18527         @[ -f ./tk/Makefile ] || exit 0; \
18528         r=`${PWD_COMMAND}`; export r; \
18529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530         $(SET_LIB_PATH) \
18531         for flag in $(EXTRA_HOST_FLAGS); do \
18532           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533         done; \
18534         echo "Doing maintainer-clean in tk" ; \
18535         (cd tk && \
18536           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538                   "RANLIB=$${RANLIB}" \
18539                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18540                   maintainer-clean) \
18541           || exit 1
18542
18543
18544
18545 .PHONY: configure-tix maybe-configure-tix
18546 maybe-configure-tix:
18547 configure-tix:
18548         @test ! -f tix/Makefile || exit 0; \
18549         [ -d tix ] || mkdir tix; \
18550         r=`${PWD_COMMAND}`; export r; \
18551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18552         CC="$(CC)"; export CC; \
18553         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18554         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18555         CXX="$(CXX)"; export CXX; \
18556         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18557         AR="$(AR)"; export AR; \
18558         AS="$(AS)"; export AS; \
18559         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18560         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18561         LD="$(LD)"; export LD; \
18562         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18563         NM="$(NM)"; export NM; \
18564         RANLIB="$(RANLIB)"; export RANLIB; \
18565         WINDRES="$(WINDRES)"; export WINDRES; \
18566         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18567         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18568         echo Configuring in tix; \
18569         cd tix || exit 1; \
18570         case $(srcdir) in \
18571           \.) \
18572             srcdiroption="--srcdir=."; \
18573             libsrcdir=".";; \
18574           /* | [A-Za-z]:[\\/]*) \
18575             srcdiroption="--srcdir=$(srcdir)/tix"; \
18576             libsrcdir="$$s/tix";; \
18577           *) \
18578             srcdiroption="--srcdir=../$(srcdir)/tix"; \
18579             libsrcdir="$$s/tix";; \
18580         esac; \
18581         $(SHELL) $${libsrcdir}/configure \
18582           $(HOST_CONFIGARGS) $${srcdiroption} \
18583           || exit 1
18584
18585 .PHONY: all-tix maybe-all-tix
18586 maybe-all-tix:
18587 all-tix: configure-tix
18588         @r=`${PWD_COMMAND}`; export r; \
18589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590         $(SET_LIB_PATH) \
18591         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18592
18593 .PHONY: check-tix maybe-check-tix
18594 maybe-check-tix:
18595
18596 check-tix:
18597         @r=`${PWD_COMMAND}`; export r; \
18598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18599         $(SET_LIB_PATH) \
18600         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18601
18602
18603 .PHONY: install-tix maybe-install-tix
18604 maybe-install-tix:
18605
18606 install-tix: installdirs
18607         @r=`${PWD_COMMAND}`; export r; \
18608         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609         $(SET_LIB_PATH) \
18610         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18611
18612
18613 # Other targets (info, dvi, etc.)
18614
18615 .PHONY: maybe-info-tix info-tix
18616 maybe-info-tix:
18617
18618 info-tix: \
18619     configure-tix 
18620         @[ -f ./tix/Makefile ] || exit 0; \
18621         r=`${PWD_COMMAND}`; export r; \
18622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623         $(SET_LIB_PATH) \
18624         for flag in $(EXTRA_HOST_FLAGS); do \
18625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18626         done; \
18627         echo "Doing info in tix" ; \
18628         (cd tix && \
18629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18631                   "RANLIB=$${RANLIB}" \
18632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18633                   info) \
18634           || exit 1
18635
18636
18637 .PHONY: maybe-dvi-tix dvi-tix
18638 maybe-dvi-tix:
18639
18640 dvi-tix: \
18641     configure-tix 
18642         @[ -f ./tix/Makefile ] || exit 0; \
18643         r=`${PWD_COMMAND}`; export r; \
18644         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18645         $(SET_LIB_PATH) \
18646         for flag in $(EXTRA_HOST_FLAGS); do \
18647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18648         done; \
18649         echo "Doing dvi in tix" ; \
18650         (cd tix && \
18651           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18652                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18653                   "RANLIB=$${RANLIB}" \
18654                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18655                   dvi) \
18656           || exit 1
18657
18658
18659 .PHONY: maybe-TAGS-tix TAGS-tix
18660 maybe-TAGS-tix:
18661
18662 TAGS-tix: \
18663     configure-tix 
18664         @[ -f ./tix/Makefile ] || exit 0; \
18665         r=`${PWD_COMMAND}`; export r; \
18666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18667         $(SET_LIB_PATH) \
18668         for flag in $(EXTRA_HOST_FLAGS); do \
18669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18670         done; \
18671         echo "Doing TAGS in tix" ; \
18672         (cd tix && \
18673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675                   "RANLIB=$${RANLIB}" \
18676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18677                   TAGS) \
18678           || exit 1
18679
18680
18681 .PHONY: maybe-install-info-tix install-info-tix
18682 maybe-install-info-tix:
18683
18684 install-info-tix: \
18685     configure-tix \
18686     info-tix 
18687         @[ -f ./tix/Makefile ] || exit 0; \
18688         r=`${PWD_COMMAND}`; export r; \
18689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690         $(SET_LIB_PATH) \
18691         for flag in $(EXTRA_HOST_FLAGS); do \
18692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18693         done; \
18694         echo "Doing install-info in tix" ; \
18695         (cd tix && \
18696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18698                   "RANLIB=$${RANLIB}" \
18699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18700                   install-info) \
18701           || exit 1
18702
18703
18704 .PHONY: maybe-installcheck-tix installcheck-tix
18705 maybe-installcheck-tix:
18706
18707 installcheck-tix: \
18708     configure-tix 
18709         @[ -f ./tix/Makefile ] || exit 0; \
18710         r=`${PWD_COMMAND}`; export r; \
18711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712         $(SET_LIB_PATH) \
18713         for flag in $(EXTRA_HOST_FLAGS); do \
18714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715         done; \
18716         echo "Doing installcheck in tix" ; \
18717         (cd tix && \
18718           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720                   "RANLIB=$${RANLIB}" \
18721                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722                   installcheck) \
18723           || exit 1
18724
18725
18726 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
18727 maybe-mostlyclean-tix:
18728
18729 mostlyclean-tix: 
18730         @[ -f ./tix/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 mostlyclean in tix" ; \
18738         (cd tix && \
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                   mostlyclean) \
18744           || exit 1
18745
18746
18747 .PHONY: maybe-clean-tix clean-tix
18748 maybe-clean-tix:
18749
18750 clean-tix: 
18751         @[ -f ./tix/Makefile ] || exit 0; \
18752         r=`${PWD_COMMAND}`; export r; \
18753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18754         $(SET_LIB_PATH) \
18755         for flag in $(EXTRA_HOST_FLAGS); do \
18756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18757         done; \
18758         echo "Doing clean in tix" ; \
18759         (cd tix && \
18760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762                   "RANLIB=$${RANLIB}" \
18763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764                   clean) \
18765           || exit 1
18766
18767
18768 .PHONY: maybe-distclean-tix distclean-tix
18769 maybe-distclean-tix:
18770
18771 distclean-tix: 
18772         @[ -f ./tix/Makefile ] || exit 0; \
18773         r=`${PWD_COMMAND}`; export r; \
18774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18775         $(SET_LIB_PATH) \
18776         for flag in $(EXTRA_HOST_FLAGS); do \
18777           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18778         done; \
18779         echo "Doing distclean in tix" ; \
18780         (cd tix && \
18781           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18782                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18783                   "RANLIB=$${RANLIB}" \
18784                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18785                   distclean) \
18786           || exit 1
18787
18788
18789 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
18790 maybe-maintainer-clean-tix:
18791
18792 maintainer-clean-tix: 
18793         @[ -f ./tix/Makefile ] || exit 0; \
18794         r=`${PWD_COMMAND}`; export r; \
18795         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796         $(SET_LIB_PATH) \
18797         for flag in $(EXTRA_HOST_FLAGS); do \
18798           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18799         done; \
18800         echo "Doing maintainer-clean in tix" ; \
18801         (cd tix && \
18802           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18803                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18804                   "RANLIB=$${RANLIB}" \
18805                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18806                   maintainer-clean) \
18807           || exit 1
18808
18809
18810
18811 .PHONY: configure-libtermcap maybe-configure-libtermcap
18812 maybe-configure-libtermcap:
18813 configure-libtermcap:
18814         @test ! -f libtermcap/Makefile || exit 0; \
18815         [ -d libtermcap ] || mkdir libtermcap; \
18816         r=`${PWD_COMMAND}`; export r; \
18817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818         CC="$(CC)"; export CC; \
18819         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18820         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18821         CXX="$(CXX)"; export CXX; \
18822         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18823         AR="$(AR)"; export AR; \
18824         AS="$(AS)"; export AS; \
18825         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18826         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18827         LD="$(LD)"; export LD; \
18828         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18829         NM="$(NM)"; export NM; \
18830         RANLIB="$(RANLIB)"; export RANLIB; \
18831         WINDRES="$(WINDRES)"; export WINDRES; \
18832         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18833         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18834         echo Configuring in libtermcap; \
18835         cd libtermcap || exit 1; \
18836         case $(srcdir) in \
18837           \.) \
18838             srcdiroption="--srcdir=."; \
18839             libsrcdir=".";; \
18840           /* | [A-Za-z]:[\\/]*) \
18841             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
18842             libsrcdir="$$s/libtermcap";; \
18843           *) \
18844             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
18845             libsrcdir="$$s/libtermcap";; \
18846         esac; \
18847         $(SHELL) $${libsrcdir}/configure \
18848           $(HOST_CONFIGARGS) $${srcdiroption} \
18849           || exit 1
18850
18851 .PHONY: all-libtermcap maybe-all-libtermcap
18852 maybe-all-libtermcap:
18853 all-libtermcap: configure-libtermcap
18854         @r=`${PWD_COMMAND}`; export r; \
18855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856         $(SET_LIB_PATH) \
18857         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
18858
18859 .PHONY: check-libtermcap maybe-check-libtermcap
18860 maybe-check-libtermcap:
18861
18862 check-libtermcap:
18863
18864
18865 .PHONY: install-libtermcap maybe-install-libtermcap
18866 maybe-install-libtermcap:
18867
18868 install-libtermcap: installdirs
18869         @r=`${PWD_COMMAND}`; export r; \
18870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871         $(SET_LIB_PATH) \
18872         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
18873
18874
18875 # Other targets (info, dvi, etc.)
18876
18877 .PHONY: maybe-info-libtermcap info-libtermcap
18878 maybe-info-libtermcap:
18879
18880 info-libtermcap: \
18881     configure-libtermcap 
18882         @[ -f ./libtermcap/Makefile ] || exit 0; \
18883         r=`${PWD_COMMAND}`; export r; \
18884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18885         $(SET_LIB_PATH) \
18886         for flag in $(EXTRA_HOST_FLAGS); do \
18887           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18888         done; \
18889         echo "Doing info in libtermcap" ; \
18890         (cd libtermcap && \
18891           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18892                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18893                   "RANLIB=$${RANLIB}" \
18894                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18895                   info) \
18896           || exit 1
18897
18898
18899 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
18900 maybe-dvi-libtermcap:
18901
18902 dvi-libtermcap: \
18903     configure-libtermcap 
18904         @[ -f ./libtermcap/Makefile ] || exit 0; \
18905         r=`${PWD_COMMAND}`; export r; \
18906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18907         $(SET_LIB_PATH) \
18908         for flag in $(EXTRA_HOST_FLAGS); do \
18909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18910         done; \
18911         echo "Doing dvi in libtermcap" ; \
18912         (cd libtermcap && \
18913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18915                   "RANLIB=$${RANLIB}" \
18916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18917                   dvi) \
18918           || exit 1
18919
18920
18921 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
18922 maybe-TAGS-libtermcap:
18923
18924 TAGS-libtermcap: \
18925     configure-libtermcap 
18926         @[ -f ./libtermcap/Makefile ] || exit 0; \
18927         r=`${PWD_COMMAND}`; export r; \
18928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18929         $(SET_LIB_PATH) \
18930         for flag in $(EXTRA_HOST_FLAGS); do \
18931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18932         done; \
18933         echo "Doing TAGS in libtermcap" ; \
18934         (cd libtermcap && \
18935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18937                   "RANLIB=$${RANLIB}" \
18938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18939                   TAGS) \
18940           || exit 1
18941
18942
18943 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
18944 maybe-install-info-libtermcap:
18945
18946 install-info-libtermcap: \
18947     configure-libtermcap \
18948     info-libtermcap 
18949         @[ -f ./libtermcap/Makefile ] || exit 0; \
18950         r=`${PWD_COMMAND}`; export r; \
18951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952         $(SET_LIB_PATH) \
18953         for flag in $(EXTRA_HOST_FLAGS); do \
18954           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18955         done; \
18956         echo "Doing install-info in libtermcap" ; \
18957         (cd libtermcap && \
18958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18960                   "RANLIB=$${RANLIB}" \
18961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18962                   install-info) \
18963           || exit 1
18964
18965
18966 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
18967 maybe-installcheck-libtermcap:
18968
18969 installcheck-libtermcap: \
18970     configure-libtermcap 
18971         @[ -f ./libtermcap/Makefile ] || exit 0; \
18972         r=`${PWD_COMMAND}`; export r; \
18973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974         $(SET_LIB_PATH) \
18975         for flag in $(EXTRA_HOST_FLAGS); do \
18976           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977         done; \
18978         echo "Doing installcheck in libtermcap" ; \
18979         (cd libtermcap && \
18980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18982                   "RANLIB=$${RANLIB}" \
18983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18984                   installcheck) \
18985           || exit 1
18986
18987
18988 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
18989 maybe-mostlyclean-libtermcap:
18990
18991 # libtermcap doesn't support mostlyclean.
18992 mostlyclean-libtermcap:
18993
18994
18995 .PHONY: maybe-clean-libtermcap clean-libtermcap
18996 maybe-clean-libtermcap:
18997
18998 # libtermcap doesn't support clean.
18999 clean-libtermcap:
19000
19001
19002 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
19003 maybe-distclean-libtermcap:
19004
19005 # libtermcap doesn't support distclean.
19006 distclean-libtermcap:
19007
19008
19009 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
19010 maybe-maintainer-clean-libtermcap:
19011
19012 # libtermcap doesn't support maintainer-clean.
19013 maintainer-clean-libtermcap:
19014
19015
19016
19017 .PHONY: configure-utils maybe-configure-utils
19018 maybe-configure-utils:
19019 configure-utils:
19020         @test ! -f utils/Makefile || exit 0; \
19021         [ -d utils ] || mkdir utils; \
19022         r=`${PWD_COMMAND}`; export r; \
19023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024         CC="$(CC)"; export CC; \
19025         CFLAGS="$(CFLAGS)"; export CFLAGS; \
19026         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19027         CXX="$(CXX)"; export CXX; \
19028         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19029         AR="$(AR)"; export AR; \
19030         AS="$(AS)"; export AS; \
19031         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19032         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19033         LD="$(LD)"; export LD; \
19034         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19035         NM="$(NM)"; export NM; \
19036         RANLIB="$(RANLIB)"; export RANLIB; \
19037         WINDRES="$(WINDRES)"; export WINDRES; \
19038         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19039         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19040         echo Configuring in utils; \
19041         cd utils || exit 1; \
19042         case $(srcdir) in \
19043           \.) \
19044             srcdiroption="--srcdir=."; \
19045             libsrcdir=".";; \
19046           /* | [A-Za-z]:[\\/]*) \
19047             srcdiroption="--srcdir=$(srcdir)/utils"; \
19048             libsrcdir="$$s/utils";; \
19049           *) \
19050             srcdiroption="--srcdir=../$(srcdir)/utils"; \
19051             libsrcdir="$$s/utils";; \
19052         esac; \
19053         $(SHELL) $${libsrcdir}/configure \
19054           $(HOST_CONFIGARGS) $${srcdiroption} \
19055           || exit 1
19056
19057 .PHONY: all-utils maybe-all-utils
19058 maybe-all-utils:
19059 all-utils: configure-utils
19060         @r=`${PWD_COMMAND}`; export r; \
19061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19062         $(SET_LIB_PATH) \
19063         (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
19064
19065 .PHONY: check-utils maybe-check-utils
19066 maybe-check-utils:
19067
19068 check-utils:
19069
19070
19071 .PHONY: install-utils maybe-install-utils
19072 maybe-install-utils:
19073
19074 install-utils: installdirs
19075         @r=`${PWD_COMMAND}`; export r; \
19076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077         $(SET_LIB_PATH) \
19078         (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
19079
19080
19081 # Other targets (info, dvi, etc.)
19082
19083 .PHONY: maybe-info-utils info-utils
19084 maybe-info-utils:
19085
19086 info-utils: \
19087     configure-utils 
19088         @[ -f ./utils/Makefile ] || exit 0; \
19089         r=`${PWD_COMMAND}`; export r; \
19090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091         $(SET_LIB_PATH) \
19092         for flag in $(EXTRA_HOST_FLAGS); do \
19093           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19094         done; \
19095         echo "Doing info in utils" ; \
19096         (cd utils && \
19097           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19098                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19099                   "RANLIB=$${RANLIB}" \
19100                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19101                   info) \
19102           || exit 1
19103
19104
19105 .PHONY: maybe-dvi-utils dvi-utils
19106 maybe-dvi-utils:
19107
19108 dvi-utils: \
19109     configure-utils 
19110         @[ -f ./utils/Makefile ] || exit 0; \
19111         r=`${PWD_COMMAND}`; export r; \
19112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113         $(SET_LIB_PATH) \
19114         for flag in $(EXTRA_HOST_FLAGS); do \
19115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19116         done; \
19117         echo "Doing dvi in utils" ; \
19118         (cd utils && \
19119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19121                   "RANLIB=$${RANLIB}" \
19122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19123                   dvi) \
19124           || exit 1
19125
19126
19127 .PHONY: maybe-TAGS-utils TAGS-utils
19128 maybe-TAGS-utils:
19129
19130 TAGS-utils: \
19131     configure-utils 
19132         @[ -f ./utils/Makefile ] || exit 0; \
19133         r=`${PWD_COMMAND}`; export r; \
19134         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19135         $(SET_LIB_PATH) \
19136         for flag in $(EXTRA_HOST_FLAGS); do \
19137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19138         done; \
19139         echo "Doing TAGS in utils" ; \
19140         (cd utils && \
19141           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19142                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19143                   "RANLIB=$${RANLIB}" \
19144                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19145                   TAGS) \
19146           || exit 1
19147
19148
19149 .PHONY: maybe-install-info-utils install-info-utils
19150 maybe-install-info-utils:
19151
19152 install-info-utils: \
19153     configure-utils \
19154     info-utils 
19155         @[ -f ./utils/Makefile ] || exit 0; \
19156         r=`${PWD_COMMAND}`; export r; \
19157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158         $(SET_LIB_PATH) \
19159         for flag in $(EXTRA_HOST_FLAGS); do \
19160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19161         done; \
19162         echo "Doing install-info in utils" ; \
19163         (cd utils && \
19164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19166                   "RANLIB=$${RANLIB}" \
19167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19168                   install-info) \
19169           || exit 1
19170
19171
19172 .PHONY: maybe-installcheck-utils installcheck-utils
19173 maybe-installcheck-utils:
19174
19175 installcheck-utils: \
19176     configure-utils 
19177         @[ -f ./utils/Makefile ] || exit 0; \
19178         r=`${PWD_COMMAND}`; export r; \
19179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19180         $(SET_LIB_PATH) \
19181         for flag in $(EXTRA_HOST_FLAGS); do \
19182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19183         done; \
19184         echo "Doing installcheck in utils" ; \
19185         (cd utils && \
19186           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19187                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19188                   "RANLIB=$${RANLIB}" \
19189                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19190                   installcheck) \
19191           || exit 1
19192
19193
19194 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
19195 maybe-mostlyclean-utils:
19196
19197 mostlyclean-utils: 
19198         @[ -f ./utils/Makefile ] || exit 0; \
19199         r=`${PWD_COMMAND}`; export r; \
19200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201         $(SET_LIB_PATH) \
19202         for flag in $(EXTRA_HOST_FLAGS); do \
19203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19204         done; \
19205         echo "Doing mostlyclean in utils" ; \
19206         (cd utils && \
19207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209                   "RANLIB=$${RANLIB}" \
19210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19211                   mostlyclean) \
19212           || exit 1
19213
19214
19215 .PHONY: maybe-clean-utils clean-utils
19216 maybe-clean-utils:
19217
19218 clean-utils: 
19219         @[ -f ./utils/Makefile ] || exit 0; \
19220         r=`${PWD_COMMAND}`; export r; \
19221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19222         $(SET_LIB_PATH) \
19223         for flag in $(EXTRA_HOST_FLAGS); do \
19224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19225         done; \
19226         echo "Doing clean in utils" ; \
19227         (cd utils && \
19228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19230                   "RANLIB=$${RANLIB}" \
19231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19232                   clean) \
19233           || exit 1
19234
19235
19236 .PHONY: maybe-distclean-utils distclean-utils
19237 maybe-distclean-utils:
19238
19239 distclean-utils: 
19240         @[ -f ./utils/Makefile ] || exit 0; \
19241         r=`${PWD_COMMAND}`; export r; \
19242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243         $(SET_LIB_PATH) \
19244         for flag in $(EXTRA_HOST_FLAGS); do \
19245           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19246         done; \
19247         echo "Doing distclean in utils" ; \
19248         (cd utils && \
19249           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19250                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19251                   "RANLIB=$${RANLIB}" \
19252                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19253                   distclean) \
19254           || exit 1
19255
19256
19257 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
19258 maybe-maintainer-clean-utils:
19259
19260 maintainer-clean-utils: 
19261         @[ -f ./utils/Makefile ] || exit 0; \
19262         r=`${PWD_COMMAND}`; export r; \
19263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264         $(SET_LIB_PATH) \
19265         for flag in $(EXTRA_HOST_FLAGS); do \
19266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19267         done; \
19268         echo "Doing maintainer-clean in utils" ; \
19269         (cd utils && \
19270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19272                   "RANLIB=$${RANLIB}" \
19273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19274                   maintainer-clean) \
19275           || exit 1
19276
19277
19278
19279
19280 # ---------------------------------------
19281 # Modules which run on the target machine
19282 # ---------------------------------------
19283
19284 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
19285 maybe-configure-target-libstdc++-v3:
19286
19287 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19288 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
19289         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
19290         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
19291         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
19292
19293 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
19294         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
19295         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
19296         r=`${PWD_COMMAND}`; export r; \
19297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19298         $(SET_LIB_PATH) \
19299         AR="$(AR_FOR_TARGET)"; export AR; \
19300         AS="$(AS_FOR_TARGET)"; export AS; \
19301         CC="$(CC_FOR_TARGET)"; export CC; \
19302         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19303         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19304         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19305         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
19306         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
19307         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19308         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19309         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19310         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19311         LD="$(LD_FOR_TARGET)"; export LD; \
19312         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19313         NM="$(NM_FOR_TARGET)"; export NM; \
19314         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19315         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19316         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
19317         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
19318         case $(srcdir) in \
19319           /* | [A-Za-z]:[\\/]*) \
19320             topdir=$(srcdir) ;; \
19321           *) \
19322             case "$(TARGET_SUBDIR)" in \
19323               .) topdir="../$(srcdir)" ;; \
19324               *) topdir="../../$(srcdir)" ;; \
19325             esac ;; \
19326         esac; \
19327           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
19328           libsrcdir="$$s/libstdc++-v3"; \
19329         rm -f no-such-file || : ; \
19330         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19331           $(TARGET_CONFIGARGS) $${srcdiroption} \
19332           --with-target-subdir="$(TARGET_SUBDIR)" \
19333           || exit 1
19334
19335 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
19336 maybe-all-target-libstdc++-v3:
19337 all-target-libstdc++-v3: configure-target-libstdc++-v3
19338         @r=`${PWD_COMMAND}`; export r; \
19339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19340         $(SET_LIB_PATH) \
19341         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19342           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
19343
19344 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
19345 maybe-check-target-libstdc++-v3:
19346
19347 check-target-libstdc++-v3:
19348         @r=`${PWD_COMMAND}`; export r; \
19349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19350         $(SET_LIB_PATH) \
19351         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19352           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
19353
19354
19355 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
19356 maybe-install-target-libstdc++-v3:
19357
19358 install-target-libstdc++-v3: installdirs
19359         @r=`${PWD_COMMAND}`; export r; \
19360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361         $(SET_LIB_PATH) \
19362         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19363           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19364
19365
19366 # Other targets (info, dvi, etc.)
19367
19368 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
19369 maybe-info-target-libstdc++-v3:
19370
19371 info-target-libstdc++-v3: \
19372     configure-target-libstdc++-v3 
19373         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19374         r=`${PWD_COMMAND}`; export r; \
19375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19376         $(SET_LIB_PATH) \
19377         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19378         for flag in $(EXTRA_TARGET_FLAGS); do \
19379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19380         done; \
19381         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19384                   "RANLIB=$${RANLIB}" \
19385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19386                   info) \
19387           || exit 1
19388
19389
19390 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
19391 maybe-dvi-target-libstdc++-v3:
19392
19393 dvi-target-libstdc++-v3: \
19394     configure-target-libstdc++-v3 
19395         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19396         r=`${PWD_COMMAND}`; export r; \
19397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398         $(SET_LIB_PATH) \
19399         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19400         for flag in $(EXTRA_TARGET_FLAGS); do \
19401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19402         done; \
19403         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19404           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19405                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19406                   "RANLIB=$${RANLIB}" \
19407                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19408                   dvi) \
19409           || exit 1
19410
19411
19412 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
19413 maybe-TAGS-target-libstdc++-v3:
19414
19415 TAGS-target-libstdc++-v3: \
19416     configure-target-libstdc++-v3 
19417         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19418         r=`${PWD_COMMAND}`; export r; \
19419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420         $(SET_LIB_PATH) \
19421         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19422         for flag in $(EXTRA_TARGET_FLAGS); do \
19423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19424         done; \
19425         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19428                   "RANLIB=$${RANLIB}" \
19429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19430                   TAGS) \
19431           || exit 1
19432
19433
19434 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
19435 maybe-install-info-target-libstdc++-v3:
19436
19437 install-info-target-libstdc++-v3: \
19438     configure-target-libstdc++-v3 \
19439     info-target-libstdc++-v3 
19440         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19441         r=`${PWD_COMMAND}`; export r; \
19442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19443         $(SET_LIB_PATH) \
19444         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19445         for flag in $(EXTRA_TARGET_FLAGS); do \
19446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19447         done; \
19448         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19451                   "RANLIB=$${RANLIB}" \
19452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19453                   install-info) \
19454           || exit 1
19455
19456
19457 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
19458 maybe-installcheck-target-libstdc++-v3:
19459
19460 installcheck-target-libstdc++-v3: \
19461     configure-target-libstdc++-v3 
19462         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19463         r=`${PWD_COMMAND}`; export r; \
19464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19465         $(SET_LIB_PATH) \
19466         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19467         for flag in $(EXTRA_TARGET_FLAGS); do \
19468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19469         done; \
19470         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19471           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19472                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19473                   "RANLIB=$${RANLIB}" \
19474                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19475                   installcheck) \
19476           || exit 1
19477
19478
19479 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
19480 maybe-mostlyclean-target-libstdc++-v3:
19481
19482 mostlyclean-target-libstdc++-v3: 
19483         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19484         r=`${PWD_COMMAND}`; export r; \
19485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486         $(SET_LIB_PATH) \
19487         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19488         for flag in $(EXTRA_TARGET_FLAGS); do \
19489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19490         done; \
19491         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19492           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19493                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19494                   "RANLIB=$${RANLIB}" \
19495                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19496                   mostlyclean) \
19497           || exit 1
19498
19499
19500 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
19501 maybe-clean-target-libstdc++-v3:
19502
19503 clean-target-libstdc++-v3: 
19504         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19505         r=`${PWD_COMMAND}`; export r; \
19506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19507         $(SET_LIB_PATH) \
19508         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19509         for flag in $(EXTRA_TARGET_FLAGS); do \
19510           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19511         done; \
19512         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19515                   "RANLIB=$${RANLIB}" \
19516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19517                   clean) \
19518           || exit 1
19519
19520
19521 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
19522 maybe-distclean-target-libstdc++-v3:
19523
19524 distclean-target-libstdc++-v3: 
19525         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19526         r=`${PWD_COMMAND}`; export r; \
19527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528         $(SET_LIB_PATH) \
19529         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19530         for flag in $(EXTRA_TARGET_FLAGS); do \
19531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19532         done; \
19533         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19534           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536                   "RANLIB=$${RANLIB}" \
19537                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19538                   distclean) \
19539           || exit 1
19540
19541
19542 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
19543 maybe-maintainer-clean-target-libstdc++-v3:
19544
19545 maintainer-clean-target-libstdc++-v3: 
19546         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19547         r=`${PWD_COMMAND}`; export r; \
19548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19549         $(SET_LIB_PATH) \
19550         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19551         for flag in $(EXTRA_TARGET_FLAGS); do \
19552           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19553         done; \
19554         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557                   "RANLIB=$${RANLIB}" \
19558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19559                   maintainer-clean) \
19560           || exit 1
19561
19562
19563
19564 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
19565 maybe-configure-target-libmudflap:
19566
19567 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19568 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
19569         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
19570         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
19571         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
19572
19573 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
19574         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
19575         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
19576         r=`${PWD_COMMAND}`; export r; \
19577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578         $(SET_LIB_PATH) \
19579         AR="$(AR_FOR_TARGET)"; export AR; \
19580         AS="$(AS_FOR_TARGET)"; export AS; \
19581         CC="$(CC_FOR_TARGET)"; export CC; \
19582         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19583         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19584         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19585         CXX="$(CXX_FOR_TARGET)"; export CXX; \
19586         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19587         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19588         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19589         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19590         LD="$(LD_FOR_TARGET)"; export LD; \
19591         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19592         NM="$(NM_FOR_TARGET)"; export NM; \
19593         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19594         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19595         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
19596         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
19597         case $(srcdir) in \
19598           /* | [A-Za-z]:[\\/]*) \
19599             topdir=$(srcdir) ;; \
19600           *) \
19601             case "$(TARGET_SUBDIR)" in \
19602               .) topdir="../$(srcdir)" ;; \
19603               *) topdir="../../$(srcdir)" ;; \
19604             esac ;; \
19605         esac; \
19606           srcdiroption="--srcdir=$${topdir}/libmudflap"; \
19607           libsrcdir="$$s/libmudflap"; \
19608         rm -f no-such-file || : ; \
19609         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19610           $(TARGET_CONFIGARGS) $${srcdiroption} \
19611           --with-target-subdir="$(TARGET_SUBDIR)" \
19612           || exit 1
19613
19614 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
19615 maybe-all-target-libmudflap:
19616 all-target-libmudflap: configure-target-libmudflap
19617         @r=`${PWD_COMMAND}`; export r; \
19618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19619         $(SET_LIB_PATH) \
19620         (cd $(TARGET_SUBDIR)/libmudflap && \
19621           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
19622
19623 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
19624 maybe-check-target-libmudflap:
19625
19626 check-target-libmudflap:
19627         @r=`${PWD_COMMAND}`; export r; \
19628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19629         $(SET_LIB_PATH) \
19630         (cd $(TARGET_SUBDIR)/libmudflap && \
19631           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
19632
19633
19634 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
19635 maybe-install-target-libmudflap:
19636
19637 install-target-libmudflap: installdirs
19638         @r=`${PWD_COMMAND}`; export r; \
19639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19640         $(SET_LIB_PATH) \
19641         (cd $(TARGET_SUBDIR)/libmudflap && \
19642           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19643
19644
19645 # Other targets (info, dvi, etc.)
19646
19647 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
19648 maybe-info-target-libmudflap:
19649
19650 info-target-libmudflap: \
19651     configure-target-libmudflap 
19652         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19653         r=`${PWD_COMMAND}`; export r; \
19654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655         $(SET_LIB_PATH) \
19656         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
19657         for flag in $(EXTRA_TARGET_FLAGS); do \
19658           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19659         done; \
19660         (cd $(TARGET_SUBDIR)/libmudflap && \
19661           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19662                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19663                   "RANLIB=$${RANLIB}" \
19664                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19665                   info) \
19666           || exit 1
19667
19668
19669 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
19670 maybe-dvi-target-libmudflap:
19671
19672 dvi-target-libmudflap: \
19673     configure-target-libmudflap 
19674         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19675         r=`${PWD_COMMAND}`; export r; \
19676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19677         $(SET_LIB_PATH) \
19678         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
19679         for flag in $(EXTRA_TARGET_FLAGS); do \
19680           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19681         done; \
19682         (cd $(TARGET_SUBDIR)/libmudflap && \
19683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19685                   "RANLIB=$${RANLIB}" \
19686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19687                   dvi) \
19688           || exit 1
19689
19690
19691 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
19692 maybe-TAGS-target-libmudflap:
19693
19694 TAGS-target-libmudflap: \
19695     configure-target-libmudflap 
19696         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19697         r=`${PWD_COMMAND}`; export r; \
19698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699         $(SET_LIB_PATH) \
19700         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
19701         for flag in $(EXTRA_TARGET_FLAGS); do \
19702           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19703         done; \
19704         (cd $(TARGET_SUBDIR)/libmudflap && \
19705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707                   "RANLIB=$${RANLIB}" \
19708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19709                   TAGS) \
19710           || exit 1
19711
19712
19713 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
19714 maybe-install-info-target-libmudflap:
19715
19716 install-info-target-libmudflap: \
19717     configure-target-libmudflap \
19718     info-target-libmudflap 
19719         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19720         r=`${PWD_COMMAND}`; export r; \
19721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722         $(SET_LIB_PATH) \
19723         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
19724         for flag in $(EXTRA_TARGET_FLAGS); do \
19725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19726         done; \
19727         (cd $(TARGET_SUBDIR)/libmudflap && \
19728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19730                   "RANLIB=$${RANLIB}" \
19731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19732                   install-info) \
19733           || exit 1
19734
19735
19736 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
19737 maybe-installcheck-target-libmudflap:
19738
19739 installcheck-target-libmudflap: \
19740     configure-target-libmudflap 
19741         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19742         r=`${PWD_COMMAND}`; export r; \
19743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744         $(SET_LIB_PATH) \
19745         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
19746         for flag in $(EXTRA_TARGET_FLAGS); do \
19747           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19748         done; \
19749         (cd $(TARGET_SUBDIR)/libmudflap && \
19750           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19751                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19752                   "RANLIB=$${RANLIB}" \
19753                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19754                   installcheck) \
19755           || exit 1
19756
19757
19758 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
19759 maybe-mostlyclean-target-libmudflap:
19760
19761 mostlyclean-target-libmudflap: 
19762         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19763         r=`${PWD_COMMAND}`; export r; \
19764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765         $(SET_LIB_PATH) \
19766         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
19767         for flag in $(EXTRA_TARGET_FLAGS); do \
19768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19769         done; \
19770         (cd $(TARGET_SUBDIR)/libmudflap && \
19771           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19772                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19773                   "RANLIB=$${RANLIB}" \
19774                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19775                   mostlyclean) \
19776           || exit 1
19777
19778
19779 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
19780 maybe-clean-target-libmudflap:
19781
19782 clean-target-libmudflap: 
19783         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19784         r=`${PWD_COMMAND}`; export r; \
19785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19786         $(SET_LIB_PATH) \
19787         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
19788         for flag in $(EXTRA_TARGET_FLAGS); do \
19789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19790         done; \
19791         (cd $(TARGET_SUBDIR)/libmudflap && \
19792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19794                   "RANLIB=$${RANLIB}" \
19795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19796                   clean) \
19797           || exit 1
19798
19799
19800 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
19801 maybe-distclean-target-libmudflap:
19802
19803 distclean-target-libmudflap: 
19804         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19805         r=`${PWD_COMMAND}`; export r; \
19806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807         $(SET_LIB_PATH) \
19808         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
19809         for flag in $(EXTRA_TARGET_FLAGS); do \
19810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19811         done; \
19812         (cd $(TARGET_SUBDIR)/libmudflap && \
19813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815                   "RANLIB=$${RANLIB}" \
19816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817                   distclean) \
19818           || exit 1
19819
19820
19821 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
19822 maybe-maintainer-clean-target-libmudflap:
19823
19824 maintainer-clean-target-libmudflap: 
19825         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19826         r=`${PWD_COMMAND}`; export r; \
19827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828         $(SET_LIB_PATH) \
19829         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
19830         for flag in $(EXTRA_TARGET_FLAGS); do \
19831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19832         done; \
19833         (cd $(TARGET_SUBDIR)/libmudflap && \
19834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19836                   "RANLIB=$${RANLIB}" \
19837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19838                   maintainer-clean) \
19839           || exit 1
19840
19841
19842
19843 .PHONY: configure-target-newlib maybe-configure-target-newlib
19844 maybe-configure-target-newlib:
19845
19846 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19847 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
19848         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19849         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
19850         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
19851
19852 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
19853         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
19854         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19855         r=`${PWD_COMMAND}`; export r; \
19856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857         $(SET_LIB_PATH) \
19858         AR="$(AR_FOR_TARGET)"; export AR; \
19859         AS="$(AS_FOR_TARGET)"; export AS; \
19860         CC="$(CC_FOR_TARGET)"; export CC; \
19861         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19862         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19863         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19864         CXX="$(CXX_FOR_TARGET)"; export CXX; \
19865         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19866         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19867         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19868         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19869         LD="$(LD_FOR_TARGET)"; export LD; \
19870         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19871         NM="$(NM_FOR_TARGET)"; export NM; \
19872         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19873         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19874         echo Configuring in $(TARGET_SUBDIR)/newlib; \
19875         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
19876         case $(srcdir) in \
19877           /* | [A-Za-z]:[\\/]*) \
19878             topdir=$(srcdir) ;; \
19879           *) \
19880             case "$(TARGET_SUBDIR)" in \
19881               .) topdir="../$(srcdir)" ;; \
19882               *) topdir="../../$(srcdir)" ;; \
19883             esac ;; \
19884         esac; \
19885           srcdiroption="--srcdir=$${topdir}/newlib"; \
19886           libsrcdir="$$s/newlib"; \
19887         rm -f no-such-file || : ; \
19888         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19889           $(TARGET_CONFIGARGS) $${srcdiroption} \
19890           --with-target-subdir="$(TARGET_SUBDIR)" \
19891           || exit 1
19892
19893 .PHONY: all-target-newlib maybe-all-target-newlib
19894 maybe-all-target-newlib:
19895 all-target-newlib: configure-target-newlib
19896         @r=`${PWD_COMMAND}`; export r; \
19897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898         $(SET_LIB_PATH) \
19899         (cd $(TARGET_SUBDIR)/newlib && \
19900           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
19901
19902 .PHONY: check-target-newlib maybe-check-target-newlib
19903 maybe-check-target-newlib:
19904
19905 check-target-newlib:
19906         @r=`${PWD_COMMAND}`; export r; \
19907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19908         $(SET_LIB_PATH) \
19909         (cd $(TARGET_SUBDIR)/newlib && \
19910           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
19911
19912
19913 .PHONY: install-target-newlib maybe-install-target-newlib
19914 maybe-install-target-newlib:
19915
19916 install-target-newlib: installdirs
19917         @r=`${PWD_COMMAND}`; export r; \
19918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919         $(SET_LIB_PATH) \
19920         (cd $(TARGET_SUBDIR)/newlib && \
19921           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19922
19923
19924 # Other targets (info, dvi, etc.)
19925
19926 .PHONY: maybe-info-target-newlib info-target-newlib
19927 maybe-info-target-newlib:
19928
19929 info-target-newlib: \
19930     configure-target-newlib 
19931         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19932         r=`${PWD_COMMAND}`; export r; \
19933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934         $(SET_LIB_PATH) \
19935         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
19936         for flag in $(EXTRA_TARGET_FLAGS); do \
19937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19938         done; \
19939         (cd $(TARGET_SUBDIR)/newlib && \
19940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19942                   "RANLIB=$${RANLIB}" \
19943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19944                   info) \
19945           || exit 1
19946
19947
19948 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
19949 maybe-dvi-target-newlib:
19950
19951 dvi-target-newlib: \
19952     configure-target-newlib 
19953         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19954         r=`${PWD_COMMAND}`; export r; \
19955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19956         $(SET_LIB_PATH) \
19957         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
19958         for flag in $(EXTRA_TARGET_FLAGS); do \
19959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19960         done; \
19961         (cd $(TARGET_SUBDIR)/newlib && \
19962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964                   "RANLIB=$${RANLIB}" \
19965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19966                   dvi) \
19967           || exit 1
19968
19969
19970 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
19971 maybe-TAGS-target-newlib:
19972
19973 TAGS-target-newlib: \
19974     configure-target-newlib 
19975         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19976         r=`${PWD_COMMAND}`; export r; \
19977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19978         $(SET_LIB_PATH) \
19979         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
19980         for flag in $(EXTRA_TARGET_FLAGS); do \
19981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982         done; \
19983         (cd $(TARGET_SUBDIR)/newlib && \
19984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19986                   "RANLIB=$${RANLIB}" \
19987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19988                   TAGS) \
19989           || exit 1
19990
19991
19992 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
19993 maybe-install-info-target-newlib:
19994
19995 install-info-target-newlib: \
19996     configure-target-newlib \
19997     info-target-newlib 
19998         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19999         r=`${PWD_COMMAND}`; export r; \
20000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20001         $(SET_LIB_PATH) \
20002         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
20003         for flag in $(EXTRA_TARGET_FLAGS); do \
20004           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20005         done; \
20006         (cd $(TARGET_SUBDIR)/newlib && \
20007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20009                   "RANLIB=$${RANLIB}" \
20010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20011                   install-info) \
20012           || exit 1
20013
20014
20015 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
20016 maybe-installcheck-target-newlib:
20017
20018 installcheck-target-newlib: \
20019     configure-target-newlib 
20020         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20021         r=`${PWD_COMMAND}`; export r; \
20022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20023         $(SET_LIB_PATH) \
20024         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
20025         for flag in $(EXTRA_TARGET_FLAGS); do \
20026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20027         done; \
20028         (cd $(TARGET_SUBDIR)/newlib && \
20029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20031                   "RANLIB=$${RANLIB}" \
20032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20033                   installcheck) \
20034           || exit 1
20035
20036
20037 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
20038 maybe-mostlyclean-target-newlib:
20039
20040 mostlyclean-target-newlib: 
20041         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20042         r=`${PWD_COMMAND}`; export r; \
20043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044         $(SET_LIB_PATH) \
20045         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
20046         for flag in $(EXTRA_TARGET_FLAGS); do \
20047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20048         done; \
20049         (cd $(TARGET_SUBDIR)/newlib && \
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                   mostlyclean) \
20055           || exit 1
20056
20057
20058 .PHONY: maybe-clean-target-newlib clean-target-newlib
20059 maybe-clean-target-newlib:
20060
20061 clean-target-newlib: 
20062         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20063         r=`${PWD_COMMAND}`; export r; \
20064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065         $(SET_LIB_PATH) \
20066         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
20067         for flag in $(EXTRA_TARGET_FLAGS); do \
20068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20069         done; \
20070         (cd $(TARGET_SUBDIR)/newlib && \
20071           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20072                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20073                   "RANLIB=$${RANLIB}" \
20074                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20075                   clean) \
20076           || exit 1
20077
20078
20079 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
20080 maybe-distclean-target-newlib:
20081
20082 distclean-target-newlib: 
20083         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20084         r=`${PWD_COMMAND}`; export r; \
20085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086         $(SET_LIB_PATH) \
20087         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
20088         for flag in $(EXTRA_TARGET_FLAGS); do \
20089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20090         done; \
20091         (cd $(TARGET_SUBDIR)/newlib && \
20092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094                   "RANLIB=$${RANLIB}" \
20095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20096                   distclean) \
20097           || exit 1
20098
20099
20100 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
20101 maybe-maintainer-clean-target-newlib:
20102
20103 maintainer-clean-target-newlib: 
20104         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20105         r=`${PWD_COMMAND}`; export r; \
20106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107         $(SET_LIB_PATH) \
20108         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
20109         for flag in $(EXTRA_TARGET_FLAGS); do \
20110           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20111         done; \
20112         (cd $(TARGET_SUBDIR)/newlib && \
20113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115                   "RANLIB=$${RANLIB}" \
20116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20117                   maintainer-clean) \
20118           || exit 1
20119
20120
20121
20122 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
20123 maybe-configure-target-libgfortran:
20124
20125 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20126 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
20127         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
20128         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
20129         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
20130
20131 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
20132         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
20133         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
20134         r=`${PWD_COMMAND}`; export r; \
20135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136         $(SET_LIB_PATH) \
20137         AR="$(AR_FOR_TARGET)"; export AR; \
20138         AS="$(AS_FOR_TARGET)"; export AS; \
20139         CC="$(CC_FOR_TARGET)"; export CC; \
20140         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20141         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20142         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20143         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20144         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20145         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20146         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20147         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20148         LD="$(LD_FOR_TARGET)"; export LD; \
20149         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20150         NM="$(NM_FOR_TARGET)"; export NM; \
20151         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20152         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20153         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
20154         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
20155         case $(srcdir) in \
20156           /* | [A-Za-z]:[\\/]*) \
20157             topdir=$(srcdir) ;; \
20158           *) \
20159             case "$(TARGET_SUBDIR)" in \
20160               .) topdir="../$(srcdir)" ;; \
20161               *) topdir="../../$(srcdir)" ;; \
20162             esac ;; \
20163         esac; \
20164           srcdiroption="--srcdir=$${topdir}/libgfortran"; \
20165           libsrcdir="$$s/libgfortran"; \
20166         rm -f no-such-file || : ; \
20167         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20168           $(TARGET_CONFIGARGS) $${srcdiroption} \
20169           --with-target-subdir="$(TARGET_SUBDIR)" \
20170           || exit 1
20171
20172 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
20173 maybe-all-target-libgfortran:
20174 all-target-libgfortran: configure-target-libgfortran
20175         @r=`${PWD_COMMAND}`; export r; \
20176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20177         $(SET_LIB_PATH) \
20178         (cd $(TARGET_SUBDIR)/libgfortran && \
20179           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20180
20181 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
20182 maybe-check-target-libgfortran:
20183
20184 check-target-libgfortran:
20185         @r=`${PWD_COMMAND}`; export r; \
20186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187         $(SET_LIB_PATH) \
20188         (cd $(TARGET_SUBDIR)/libgfortran && \
20189           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
20190
20191
20192 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
20193 maybe-install-target-libgfortran:
20194
20195 install-target-libgfortran: installdirs
20196         @r=`${PWD_COMMAND}`; export r; \
20197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20198         $(SET_LIB_PATH) \
20199         (cd $(TARGET_SUBDIR)/libgfortran && \
20200           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20201
20202
20203 # Other targets (info, dvi, etc.)
20204
20205 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
20206 maybe-info-target-libgfortran:
20207
20208 info-target-libgfortran: \
20209     configure-target-libgfortran 
20210         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20211         r=`${PWD_COMMAND}`; export r; \
20212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213         $(SET_LIB_PATH) \
20214         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
20215         for flag in $(EXTRA_TARGET_FLAGS); do \
20216           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20217         done; \
20218         (cd $(TARGET_SUBDIR)/libgfortran && \
20219           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20220                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20221                   "RANLIB=$${RANLIB}" \
20222                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20223                   info) \
20224           || exit 1
20225
20226
20227 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
20228 maybe-dvi-target-libgfortran:
20229
20230 dvi-target-libgfortran: \
20231     configure-target-libgfortran 
20232         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20233         r=`${PWD_COMMAND}`; export r; \
20234         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235         $(SET_LIB_PATH) \
20236         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
20237         for flag in $(EXTRA_TARGET_FLAGS); do \
20238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239         done; \
20240         (cd $(TARGET_SUBDIR)/libgfortran && \
20241           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243                   "RANLIB=$${RANLIB}" \
20244                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245                   dvi) \
20246           || exit 1
20247
20248
20249 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
20250 maybe-TAGS-target-libgfortran:
20251
20252 TAGS-target-libgfortran: \
20253     configure-target-libgfortran 
20254         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20255         r=`${PWD_COMMAND}`; export r; \
20256         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20257         $(SET_LIB_PATH) \
20258         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
20259         for flag in $(EXTRA_TARGET_FLAGS); do \
20260           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20261         done; \
20262         (cd $(TARGET_SUBDIR)/libgfortran && \
20263           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20264                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20265                   "RANLIB=$${RANLIB}" \
20266                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20267                   TAGS) \
20268           || exit 1
20269
20270
20271 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
20272 maybe-install-info-target-libgfortran:
20273
20274 install-info-target-libgfortran: \
20275     configure-target-libgfortran \
20276     info-target-libgfortran 
20277         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20278         r=`${PWD_COMMAND}`; export r; \
20279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20280         $(SET_LIB_PATH) \
20281         echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
20282         for flag in $(EXTRA_TARGET_FLAGS); do \
20283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20284         done; \
20285         (cd $(TARGET_SUBDIR)/libgfortran && \
20286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288                   "RANLIB=$${RANLIB}" \
20289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20290                   install-info) \
20291           || exit 1
20292
20293
20294 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
20295 maybe-installcheck-target-libgfortran:
20296
20297 installcheck-target-libgfortran: \
20298     configure-target-libgfortran 
20299         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20300         r=`${PWD_COMMAND}`; export r; \
20301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302         $(SET_LIB_PATH) \
20303         echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
20304         for flag in $(EXTRA_TARGET_FLAGS); do \
20305           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20306         done; \
20307         (cd $(TARGET_SUBDIR)/libgfortran && \
20308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20310                   "RANLIB=$${RANLIB}" \
20311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20312                   installcheck) \
20313           || exit 1
20314
20315
20316 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
20317 maybe-mostlyclean-target-libgfortran:
20318
20319 mostlyclean-target-libgfortran: 
20320         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20321         r=`${PWD_COMMAND}`; export r; \
20322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20323         $(SET_LIB_PATH) \
20324         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
20325         for flag in $(EXTRA_TARGET_FLAGS); do \
20326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20327         done; \
20328         (cd $(TARGET_SUBDIR)/libgfortran && \
20329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20331                   "RANLIB=$${RANLIB}" \
20332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20333                   mostlyclean) \
20334           || exit 1
20335
20336
20337 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
20338 maybe-clean-target-libgfortran:
20339
20340 clean-target-libgfortran: 
20341         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20342         r=`${PWD_COMMAND}`; export r; \
20343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20344         $(SET_LIB_PATH) \
20345         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
20346         for flag in $(EXTRA_TARGET_FLAGS); do \
20347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20348         done; \
20349         (cd $(TARGET_SUBDIR)/libgfortran && \
20350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20352                   "RANLIB=$${RANLIB}" \
20353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20354                   clean) \
20355           || exit 1
20356
20357
20358 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
20359 maybe-distclean-target-libgfortran:
20360
20361 distclean-target-libgfortran: 
20362         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20363         r=`${PWD_COMMAND}`; export r; \
20364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365         $(SET_LIB_PATH) \
20366         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
20367         for flag in $(EXTRA_TARGET_FLAGS); do \
20368           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20369         done; \
20370         (cd $(TARGET_SUBDIR)/libgfortran && \
20371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373                   "RANLIB=$${RANLIB}" \
20374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375                   distclean) \
20376           || exit 1
20377
20378
20379 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
20380 maybe-maintainer-clean-target-libgfortran:
20381
20382 maintainer-clean-target-libgfortran: 
20383         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20384         r=`${PWD_COMMAND}`; export r; \
20385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386         $(SET_LIB_PATH) \
20387         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
20388         for flag in $(EXTRA_TARGET_FLAGS); do \
20389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20390         done; \
20391         (cd $(TARGET_SUBDIR)/libgfortran && \
20392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20394                   "RANLIB=$${RANLIB}" \
20395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20396                   maintainer-clean) \
20397           || exit 1
20398
20399
20400
20401 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
20402 maybe-configure-target-libobjc:
20403
20404 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20405 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
20406         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
20407         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
20408         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
20409
20410 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
20411         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
20412         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
20413         r=`${PWD_COMMAND}`; export r; \
20414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415         $(SET_LIB_PATH) \
20416         AR="$(AR_FOR_TARGET)"; export AR; \
20417         AS="$(AS_FOR_TARGET)"; export AS; \
20418         CC="$(CC_FOR_TARGET)"; export CC; \
20419         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20420         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20421         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20422         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20423         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20424         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20425         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20426         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20427         LD="$(LD_FOR_TARGET)"; export LD; \
20428         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20429         NM="$(NM_FOR_TARGET)"; export NM; \
20430         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20431         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20432         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
20433         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
20434         case $(srcdir) in \
20435           /* | [A-Za-z]:[\\/]*) \
20436             topdir=$(srcdir) ;; \
20437           *) \
20438             case "$(TARGET_SUBDIR)" in \
20439               .) topdir="../$(srcdir)" ;; \
20440               *) topdir="../../$(srcdir)" ;; \
20441             esac ;; \
20442         esac; \
20443           srcdiroption="--srcdir=$${topdir}/libobjc"; \
20444           libsrcdir="$$s/libobjc"; \
20445         rm -f no-such-file || : ; \
20446         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20447           $(TARGET_CONFIGARGS) $${srcdiroption} \
20448           --with-target-subdir="$(TARGET_SUBDIR)" \
20449           || exit 1
20450
20451 .PHONY: all-target-libobjc maybe-all-target-libobjc
20452 maybe-all-target-libobjc:
20453 all-target-libobjc: configure-target-libobjc
20454         @r=`${PWD_COMMAND}`; export r; \
20455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20456         $(SET_LIB_PATH) \
20457         (cd $(TARGET_SUBDIR)/libobjc && \
20458           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20459
20460 .PHONY: check-target-libobjc maybe-check-target-libobjc
20461 maybe-check-target-libobjc:
20462
20463 check-target-libobjc:
20464         @r=`${PWD_COMMAND}`; export r; \
20465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20466         $(SET_LIB_PATH) \
20467         (cd $(TARGET_SUBDIR)/libobjc && \
20468           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
20469
20470
20471 .PHONY: install-target-libobjc maybe-install-target-libobjc
20472 maybe-install-target-libobjc:
20473
20474 install-target-libobjc: installdirs
20475         @r=`${PWD_COMMAND}`; export r; \
20476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20477         $(SET_LIB_PATH) \
20478         (cd $(TARGET_SUBDIR)/libobjc && \
20479           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20480
20481
20482 # Other targets (info, dvi, etc.)
20483
20484 .PHONY: maybe-info-target-libobjc info-target-libobjc
20485 maybe-info-target-libobjc:
20486
20487 info-target-libobjc: \
20488     configure-target-libobjc 
20489         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20490         r=`${PWD_COMMAND}`; export r; \
20491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20492         $(SET_LIB_PATH) \
20493         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
20494         for flag in $(EXTRA_TARGET_FLAGS); do \
20495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20496         done; \
20497         (cd $(TARGET_SUBDIR)/libobjc && \
20498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20500                   "RANLIB=$${RANLIB}" \
20501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20502                   info) \
20503           || exit 1
20504
20505
20506 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
20507 maybe-dvi-target-libobjc:
20508
20509 dvi-target-libobjc: \
20510     configure-target-libobjc 
20511         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20512         r=`${PWD_COMMAND}`; export r; \
20513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20514         $(SET_LIB_PATH) \
20515         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
20516         for flag in $(EXTRA_TARGET_FLAGS); do \
20517           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518         done; \
20519         (cd $(TARGET_SUBDIR)/libobjc && \
20520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20522                   "RANLIB=$${RANLIB}" \
20523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20524                   dvi) \
20525           || exit 1
20526
20527
20528 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
20529 maybe-TAGS-target-libobjc:
20530
20531 TAGS-target-libobjc: \
20532     configure-target-libobjc 
20533         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20534         r=`${PWD_COMMAND}`; export r; \
20535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536         $(SET_LIB_PATH) \
20537         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
20538         for flag in $(EXTRA_TARGET_FLAGS); do \
20539           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20540         done; \
20541         (cd $(TARGET_SUBDIR)/libobjc && \
20542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20544                   "RANLIB=$${RANLIB}" \
20545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20546                   TAGS) \
20547           || exit 1
20548
20549
20550 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
20551 maybe-install-info-target-libobjc:
20552
20553 install-info-target-libobjc: \
20554     configure-target-libobjc \
20555     info-target-libobjc 
20556         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20557         r=`${PWD_COMMAND}`; export r; \
20558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20559         $(SET_LIB_PATH) \
20560         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
20561         for flag in $(EXTRA_TARGET_FLAGS); do \
20562           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20563         done; \
20564         (cd $(TARGET_SUBDIR)/libobjc && \
20565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20567                   "RANLIB=$${RANLIB}" \
20568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20569                   install-info) \
20570           || exit 1
20571
20572
20573 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
20574 maybe-installcheck-target-libobjc:
20575
20576 installcheck-target-libobjc: \
20577     configure-target-libobjc 
20578         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20579         r=`${PWD_COMMAND}`; export r; \
20580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581         $(SET_LIB_PATH) \
20582         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
20583         for flag in $(EXTRA_TARGET_FLAGS); do \
20584           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20585         done; \
20586         (cd $(TARGET_SUBDIR)/libobjc && \
20587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20589                   "RANLIB=$${RANLIB}" \
20590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20591                   installcheck) \
20592           || exit 1
20593
20594
20595 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
20596 maybe-mostlyclean-target-libobjc:
20597
20598 mostlyclean-target-libobjc: 
20599         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20600         r=`${PWD_COMMAND}`; export r; \
20601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20602         $(SET_LIB_PATH) \
20603         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
20604         for flag in $(EXTRA_TARGET_FLAGS); do \
20605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20606         done; \
20607         (cd $(TARGET_SUBDIR)/libobjc && \
20608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20610                   "RANLIB=$${RANLIB}" \
20611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20612                   mostlyclean) \
20613           || exit 1
20614
20615
20616 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
20617 maybe-clean-target-libobjc:
20618
20619 clean-target-libobjc: 
20620         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20621         r=`${PWD_COMMAND}`; export r; \
20622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20623         $(SET_LIB_PATH) \
20624         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
20625         for flag in $(EXTRA_TARGET_FLAGS); do \
20626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20627         done; \
20628         (cd $(TARGET_SUBDIR)/libobjc && \
20629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20631                   "RANLIB=$${RANLIB}" \
20632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20633                   clean) \
20634           || exit 1
20635
20636
20637 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
20638 maybe-distclean-target-libobjc:
20639
20640 distclean-target-libobjc: 
20641         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20642         r=`${PWD_COMMAND}`; export r; \
20643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20644         $(SET_LIB_PATH) \
20645         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
20646         for flag in $(EXTRA_TARGET_FLAGS); do \
20647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20648         done; \
20649         (cd $(TARGET_SUBDIR)/libobjc && \
20650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20652                   "RANLIB=$${RANLIB}" \
20653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20654                   distclean) \
20655           || exit 1
20656
20657
20658 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
20659 maybe-maintainer-clean-target-libobjc:
20660
20661 maintainer-clean-target-libobjc: 
20662         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20663         r=`${PWD_COMMAND}`; export r; \
20664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665         $(SET_LIB_PATH) \
20666         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
20667         for flag in $(EXTRA_TARGET_FLAGS); do \
20668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20669         done; \
20670         (cd $(TARGET_SUBDIR)/libobjc && \
20671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20673                   "RANLIB=$${RANLIB}" \
20674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20675                   maintainer-clean) \
20676           || exit 1
20677
20678
20679
20680 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
20681 maybe-configure-target-libtermcap:
20682
20683 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20684 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
20685         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20686         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
20687         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
20688
20689 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
20690         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
20691         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20692         r=`${PWD_COMMAND}`; export r; \
20693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694         $(SET_LIB_PATH) \
20695         AR="$(AR_FOR_TARGET)"; export AR; \
20696         AS="$(AS_FOR_TARGET)"; export AS; \
20697         CC="$(CC_FOR_TARGET)"; export CC; \
20698         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20699         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20700         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20701         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20702         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20703         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20704         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20705         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20706         LD="$(LD_FOR_TARGET)"; export LD; \
20707         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20708         NM="$(NM_FOR_TARGET)"; export NM; \
20709         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20710         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20711         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
20712         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
20713         case $(srcdir) in \
20714           /* | [A-Za-z]:[\\/]*) \
20715             topdir=$(srcdir) ;; \
20716           *) \
20717             case "$(TARGET_SUBDIR)" in \
20718               .) topdir="../$(srcdir)" ;; \
20719               *) topdir="../../$(srcdir)" ;; \
20720             esac ;; \
20721         esac; \
20722         if [ "$(srcdir)" = "." ] ; then \
20723           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
20724             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
20725               if [ -f Makefile ]; then \
20726                 if $(MAKE) distclean; then \
20727                   true; \
20728                 else \
20729                   exit 1; \
20730                 fi; \
20731               else \
20732                 true; \
20733               fi; \
20734             else \
20735               exit 1; \
20736             fi; \
20737           else \
20738             true; \
20739           fi; \
20740           srcdiroption="--srcdir=."; \
20741           libsrcdir="."; \
20742         else \
20743           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
20744           libsrcdir="$$s/libtermcap"; \
20745         fi; \
20746         rm -f no-such-file || : ; \
20747         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20748           $(TARGET_CONFIGARGS) $${srcdiroption} \
20749           --with-target-subdir="$(TARGET_SUBDIR)" \
20750           || exit 1
20751
20752 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
20753 maybe-all-target-libtermcap:
20754 all-target-libtermcap: configure-target-libtermcap
20755         @r=`${PWD_COMMAND}`; export r; \
20756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757         $(SET_LIB_PATH) \
20758         (cd $(TARGET_SUBDIR)/libtermcap && \
20759           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20760
20761 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
20762 maybe-check-target-libtermcap:
20763
20764 # Dummy target for uncheckable module.
20765 check-target-libtermcap:
20766
20767
20768 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
20769 maybe-install-target-libtermcap:
20770
20771 install-target-libtermcap: installdirs
20772         @r=`${PWD_COMMAND}`; export r; \
20773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20774         $(SET_LIB_PATH) \
20775         (cd $(TARGET_SUBDIR)/libtermcap && \
20776           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20777
20778
20779 # Other targets (info, dvi, etc.)
20780
20781 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
20782 maybe-info-target-libtermcap:
20783
20784 info-target-libtermcap: \
20785     configure-target-libtermcap 
20786         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20787         r=`${PWD_COMMAND}`; export r; \
20788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20789         $(SET_LIB_PATH) \
20790         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
20791         for flag in $(EXTRA_TARGET_FLAGS); do \
20792           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20793         done; \
20794         (cd $(TARGET_SUBDIR)/libtermcap && \
20795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20797                   "RANLIB=$${RANLIB}" \
20798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20799                   info) \
20800           || exit 1
20801
20802
20803 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
20804 maybe-dvi-target-libtermcap:
20805
20806 dvi-target-libtermcap: \
20807     configure-target-libtermcap 
20808         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20809         r=`${PWD_COMMAND}`; export r; \
20810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20811         $(SET_LIB_PATH) \
20812         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
20813         for flag in $(EXTRA_TARGET_FLAGS); do \
20814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20815         done; \
20816         (cd $(TARGET_SUBDIR)/libtermcap && \
20817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20819                   "RANLIB=$${RANLIB}" \
20820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20821                   dvi) \
20822           || exit 1
20823
20824
20825 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
20826 maybe-TAGS-target-libtermcap:
20827
20828 TAGS-target-libtermcap: \
20829     configure-target-libtermcap 
20830         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20831         r=`${PWD_COMMAND}`; export r; \
20832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833         $(SET_LIB_PATH) \
20834         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
20835         for flag in $(EXTRA_TARGET_FLAGS); do \
20836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20837         done; \
20838         (cd $(TARGET_SUBDIR)/libtermcap && \
20839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20841                   "RANLIB=$${RANLIB}" \
20842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20843                   TAGS) \
20844           || exit 1
20845
20846
20847 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
20848 maybe-install-info-target-libtermcap:
20849
20850 install-info-target-libtermcap: \
20851     configure-target-libtermcap \
20852     info-target-libtermcap 
20853         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20854         r=`${PWD_COMMAND}`; export r; \
20855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856         $(SET_LIB_PATH) \
20857         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
20858         for flag in $(EXTRA_TARGET_FLAGS); do \
20859           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20860         done; \
20861         (cd $(TARGET_SUBDIR)/libtermcap && \
20862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864                   "RANLIB=$${RANLIB}" \
20865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20866                   install-info) \
20867           || exit 1
20868
20869
20870 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
20871 maybe-installcheck-target-libtermcap:
20872
20873 installcheck-target-libtermcap: \
20874     configure-target-libtermcap 
20875         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20876         r=`${PWD_COMMAND}`; export r; \
20877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20878         $(SET_LIB_PATH) \
20879         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
20880         for flag in $(EXTRA_TARGET_FLAGS); do \
20881           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20882         done; \
20883         (cd $(TARGET_SUBDIR)/libtermcap && \
20884           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20885                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20886                   "RANLIB=$${RANLIB}" \
20887                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20888                   installcheck) \
20889           || exit 1
20890
20891
20892 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
20893 maybe-mostlyclean-target-libtermcap:
20894
20895 # libtermcap doesn't support mostlyclean.
20896 mostlyclean-target-libtermcap:
20897
20898
20899 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
20900 maybe-clean-target-libtermcap:
20901
20902 # libtermcap doesn't support clean.
20903 clean-target-libtermcap:
20904
20905
20906 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
20907 maybe-distclean-target-libtermcap:
20908
20909 # libtermcap doesn't support distclean.
20910 distclean-target-libtermcap:
20911
20912
20913 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
20914 maybe-maintainer-clean-target-libtermcap:
20915
20916 # libtermcap doesn't support maintainer-clean.
20917 maintainer-clean-target-libtermcap:
20918
20919
20920
20921 .PHONY: configure-target-winsup maybe-configure-target-winsup
20922 maybe-configure-target-winsup:
20923
20924 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20925 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
20926         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20927         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
20928         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
20929
20930 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
20931         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
20932         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20933         r=`${PWD_COMMAND}`; export r; \
20934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935         $(SET_LIB_PATH) \
20936         AR="$(AR_FOR_TARGET)"; export AR; \
20937         AS="$(AS_FOR_TARGET)"; export AS; \
20938         CC="$(CC_FOR_TARGET)"; export CC; \
20939         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20940         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20941         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20942         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20943         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20944         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20945         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20946         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20947         LD="$(LD_FOR_TARGET)"; export LD; \
20948         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20949         NM="$(NM_FOR_TARGET)"; export NM; \
20950         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20951         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20952         echo Configuring in $(TARGET_SUBDIR)/winsup; \
20953         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
20954         case $(srcdir) in \
20955           /* | [A-Za-z]:[\\/]*) \
20956             topdir=$(srcdir) ;; \
20957           *) \
20958             case "$(TARGET_SUBDIR)" in \
20959               .) topdir="../$(srcdir)" ;; \
20960               *) topdir="../../$(srcdir)" ;; \
20961             esac ;; \
20962         esac; \
20963           srcdiroption="--srcdir=$${topdir}/winsup"; \
20964           libsrcdir="$$s/winsup"; \
20965         rm -f no-such-file || : ; \
20966         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20967           $(TARGET_CONFIGARGS) $${srcdiroption} \
20968           --with-target-subdir="$(TARGET_SUBDIR)" \
20969           || exit 1
20970
20971 .PHONY: all-target-winsup maybe-all-target-winsup
20972 maybe-all-target-winsup:
20973 all-target-winsup: configure-target-winsup
20974         @r=`${PWD_COMMAND}`; export r; \
20975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976         $(SET_LIB_PATH) \
20977         (cd $(TARGET_SUBDIR)/winsup && \
20978           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20979
20980 .PHONY: check-target-winsup maybe-check-target-winsup
20981 maybe-check-target-winsup:
20982
20983 check-target-winsup:
20984         @r=`${PWD_COMMAND}`; export r; \
20985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986         $(SET_LIB_PATH) \
20987         (cd $(TARGET_SUBDIR)/winsup && \
20988           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
20989
20990
20991 .PHONY: install-target-winsup maybe-install-target-winsup
20992 maybe-install-target-winsup:
20993
20994 install-target-winsup: installdirs
20995         @r=`${PWD_COMMAND}`; export r; \
20996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20997         $(SET_LIB_PATH) \
20998         (cd $(TARGET_SUBDIR)/winsup && \
20999           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21000
21001
21002 # Other targets (info, dvi, etc.)
21003
21004 .PHONY: maybe-info-target-winsup info-target-winsup
21005 maybe-info-target-winsup:
21006
21007 info-target-winsup: \
21008     configure-target-winsup 
21009         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21010         r=`${PWD_COMMAND}`; export r; \
21011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21012         $(SET_LIB_PATH) \
21013         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
21014         for flag in $(EXTRA_TARGET_FLAGS); do \
21015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21016         done; \
21017         (cd $(TARGET_SUBDIR)/winsup && \
21018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21020                   "RANLIB=$${RANLIB}" \
21021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21022                   info) \
21023           || exit 1
21024
21025
21026 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
21027 maybe-dvi-target-winsup:
21028
21029 dvi-target-winsup: \
21030     configure-target-winsup 
21031         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21032         r=`${PWD_COMMAND}`; export r; \
21033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21034         $(SET_LIB_PATH) \
21035         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
21036         for flag in $(EXTRA_TARGET_FLAGS); do \
21037           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21038         done; \
21039         (cd $(TARGET_SUBDIR)/winsup && \
21040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21042                   "RANLIB=$${RANLIB}" \
21043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21044                   dvi) \
21045           || exit 1
21046
21047
21048 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
21049 maybe-TAGS-target-winsup:
21050
21051 TAGS-target-winsup: \
21052     configure-target-winsup 
21053         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21054         r=`${PWD_COMMAND}`; export r; \
21055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056         $(SET_LIB_PATH) \
21057         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
21058         for flag in $(EXTRA_TARGET_FLAGS); do \
21059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060         done; \
21061         (cd $(TARGET_SUBDIR)/winsup && \
21062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064                   "RANLIB=$${RANLIB}" \
21065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21066                   TAGS) \
21067           || exit 1
21068
21069
21070 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
21071 maybe-install-info-target-winsup:
21072
21073 install-info-target-winsup: \
21074     configure-target-winsup \
21075     info-target-winsup 
21076         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21077         r=`${PWD_COMMAND}`; export r; \
21078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079         $(SET_LIB_PATH) \
21080         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
21081         for flag in $(EXTRA_TARGET_FLAGS); do \
21082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21083         done; \
21084         (cd $(TARGET_SUBDIR)/winsup && \
21085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21087                   "RANLIB=$${RANLIB}" \
21088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21089                   install-info) \
21090           || exit 1
21091
21092
21093 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
21094 maybe-installcheck-target-winsup:
21095
21096 installcheck-target-winsup: \
21097     configure-target-winsup 
21098         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21099         r=`${PWD_COMMAND}`; export r; \
21100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21101         $(SET_LIB_PATH) \
21102         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
21103         for flag in $(EXTRA_TARGET_FLAGS); do \
21104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21105         done; \
21106         (cd $(TARGET_SUBDIR)/winsup && \
21107           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21108                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21109                   "RANLIB=$${RANLIB}" \
21110                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21111                   installcheck) \
21112           || exit 1
21113
21114
21115 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
21116 maybe-mostlyclean-target-winsup:
21117
21118 mostlyclean-target-winsup: 
21119         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21120         r=`${PWD_COMMAND}`; export r; \
21121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122         $(SET_LIB_PATH) \
21123         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
21124         for flag in $(EXTRA_TARGET_FLAGS); do \
21125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21126         done; \
21127         (cd $(TARGET_SUBDIR)/winsup && \
21128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130                   "RANLIB=$${RANLIB}" \
21131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132                   mostlyclean) \
21133           || exit 1
21134
21135
21136 .PHONY: maybe-clean-target-winsup clean-target-winsup
21137 maybe-clean-target-winsup:
21138
21139 clean-target-winsup: 
21140         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21141         r=`${PWD_COMMAND}`; export r; \
21142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143         $(SET_LIB_PATH) \
21144         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
21145         for flag in $(EXTRA_TARGET_FLAGS); do \
21146           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147         done; \
21148         (cd $(TARGET_SUBDIR)/winsup && \
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                   clean) \
21154           || exit 1
21155
21156
21157 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
21158 maybe-distclean-target-winsup:
21159
21160 distclean-target-winsup: 
21161         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21162         r=`${PWD_COMMAND}`; export r; \
21163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21164         $(SET_LIB_PATH) \
21165         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
21166         for flag in $(EXTRA_TARGET_FLAGS); do \
21167           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21168         done; \
21169         (cd $(TARGET_SUBDIR)/winsup && \
21170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21172                   "RANLIB=$${RANLIB}" \
21173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21174                   distclean) \
21175           || exit 1
21176
21177
21178 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
21179 maybe-maintainer-clean-target-winsup:
21180
21181 maintainer-clean-target-winsup: 
21182         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21183         r=`${PWD_COMMAND}`; export r; \
21184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185         $(SET_LIB_PATH) \
21186         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
21187         for flag in $(EXTRA_TARGET_FLAGS); do \
21188           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21189         done; \
21190         (cd $(TARGET_SUBDIR)/winsup && \
21191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193                   "RANLIB=$${RANLIB}" \
21194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21195                   maintainer-clean) \
21196           || exit 1
21197
21198
21199
21200 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
21201 maybe-configure-target-libgloss:
21202
21203 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21204 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
21205         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
21206         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
21207         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
21208
21209 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
21210         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
21211         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
21212         r=`${PWD_COMMAND}`; export r; \
21213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214         $(SET_LIB_PATH) \
21215         AR="$(AR_FOR_TARGET)"; export AR; \
21216         AS="$(AS_FOR_TARGET)"; export AS; \
21217         CC="$(CC_FOR_TARGET)"; export CC; \
21218         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21219         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21220         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21221         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21222         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21223         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21224         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21225         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21226         LD="$(LD_FOR_TARGET)"; export LD; \
21227         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21228         NM="$(NM_FOR_TARGET)"; export NM; \
21229         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21230         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21231         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
21232         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
21233         case $(srcdir) in \
21234           /* | [A-Za-z]:[\\/]*) \
21235             topdir=$(srcdir) ;; \
21236           *) \
21237             case "$(TARGET_SUBDIR)" in \
21238               .) topdir="../$(srcdir)" ;; \
21239               *) topdir="../../$(srcdir)" ;; \
21240             esac ;; \
21241         esac; \
21242           srcdiroption="--srcdir=$${topdir}/libgloss"; \
21243           libsrcdir="$$s/libgloss"; \
21244         rm -f no-such-file || : ; \
21245         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21246           $(TARGET_CONFIGARGS) $${srcdiroption} \
21247           --with-target-subdir="$(TARGET_SUBDIR)" \
21248           || exit 1
21249
21250 .PHONY: all-target-libgloss maybe-all-target-libgloss
21251 maybe-all-target-libgloss:
21252 all-target-libgloss: configure-target-libgloss
21253         @r=`${PWD_COMMAND}`; export r; \
21254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255         $(SET_LIB_PATH) \
21256         (cd $(TARGET_SUBDIR)/libgloss && \
21257           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21258
21259 .PHONY: check-target-libgloss maybe-check-target-libgloss
21260 maybe-check-target-libgloss:
21261
21262 # Dummy target for uncheckable module.
21263 check-target-libgloss:
21264
21265
21266 .PHONY: install-target-libgloss maybe-install-target-libgloss
21267 maybe-install-target-libgloss:
21268
21269 install-target-libgloss: installdirs
21270         @r=`${PWD_COMMAND}`; export r; \
21271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21272         $(SET_LIB_PATH) \
21273         (cd $(TARGET_SUBDIR)/libgloss && \
21274           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21275
21276
21277 # Other targets (info, dvi, etc.)
21278
21279 .PHONY: maybe-info-target-libgloss info-target-libgloss
21280 maybe-info-target-libgloss:
21281
21282 info-target-libgloss: \
21283     configure-target-libgloss 
21284         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21285         r=`${PWD_COMMAND}`; export r; \
21286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287         $(SET_LIB_PATH) \
21288         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
21289         for flag in $(EXTRA_TARGET_FLAGS); do \
21290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21291         done; \
21292         (cd $(TARGET_SUBDIR)/libgloss && \
21293           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21294                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21295                   "RANLIB=$${RANLIB}" \
21296                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21297                   info) \
21298           || exit 1
21299
21300
21301 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
21302 maybe-dvi-target-libgloss:
21303
21304 dvi-target-libgloss: \
21305     configure-target-libgloss 
21306         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21307         r=`${PWD_COMMAND}`; export r; \
21308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309         $(SET_LIB_PATH) \
21310         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
21311         for flag in $(EXTRA_TARGET_FLAGS); do \
21312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21313         done; \
21314         (cd $(TARGET_SUBDIR)/libgloss && \
21315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317                   "RANLIB=$${RANLIB}" \
21318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21319                   dvi) \
21320           || exit 1
21321
21322
21323 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
21324 maybe-TAGS-target-libgloss:
21325
21326 TAGS-target-libgloss: \
21327     configure-target-libgloss 
21328         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21329         r=`${PWD_COMMAND}`; export r; \
21330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331         $(SET_LIB_PATH) \
21332         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
21333         for flag in $(EXTRA_TARGET_FLAGS); do \
21334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21335         done; \
21336         (cd $(TARGET_SUBDIR)/libgloss && \
21337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21339                   "RANLIB=$${RANLIB}" \
21340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21341                   TAGS) \
21342           || exit 1
21343
21344
21345 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
21346 maybe-install-info-target-libgloss:
21347
21348 install-info-target-libgloss: \
21349     configure-target-libgloss \
21350     info-target-libgloss 
21351         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21352         r=`${PWD_COMMAND}`; export r; \
21353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354         $(SET_LIB_PATH) \
21355         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
21356         for flag in $(EXTRA_TARGET_FLAGS); do \
21357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21358         done; \
21359         (cd $(TARGET_SUBDIR)/libgloss && \
21360           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362                   "RANLIB=$${RANLIB}" \
21363                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21364                   install-info) \
21365           || exit 1
21366
21367
21368 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
21369 maybe-installcheck-target-libgloss:
21370
21371 installcheck-target-libgloss: \
21372     configure-target-libgloss 
21373         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21374         r=`${PWD_COMMAND}`; export r; \
21375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21376         $(SET_LIB_PATH) \
21377         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
21378         for flag in $(EXTRA_TARGET_FLAGS); do \
21379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380         done; \
21381         (cd $(TARGET_SUBDIR)/libgloss && \
21382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21384                   "RANLIB=$${RANLIB}" \
21385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21386                   installcheck) \
21387           || exit 1
21388
21389
21390 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
21391 maybe-mostlyclean-target-libgloss:
21392
21393 mostlyclean-target-libgloss: 
21394         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21395         r=`${PWD_COMMAND}`; export r; \
21396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21397         $(SET_LIB_PATH) \
21398         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
21399         for flag in $(EXTRA_TARGET_FLAGS); do \
21400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21401         done; \
21402         (cd $(TARGET_SUBDIR)/libgloss && \
21403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21405                   "RANLIB=$${RANLIB}" \
21406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21407                   mostlyclean) \
21408           || exit 1
21409
21410
21411 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
21412 maybe-clean-target-libgloss:
21413
21414 clean-target-libgloss: 
21415         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21416         r=`${PWD_COMMAND}`; export r; \
21417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418         $(SET_LIB_PATH) \
21419         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
21420         for flag in $(EXTRA_TARGET_FLAGS); do \
21421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422         done; \
21423         (cd $(TARGET_SUBDIR)/libgloss && \
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                   clean) \
21429           || exit 1
21430
21431
21432 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
21433 maybe-distclean-target-libgloss:
21434
21435 distclean-target-libgloss: 
21436         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21437         r=`${PWD_COMMAND}`; export r; \
21438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21439         $(SET_LIB_PATH) \
21440         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
21441         for flag in $(EXTRA_TARGET_FLAGS); do \
21442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21443         done; \
21444         (cd $(TARGET_SUBDIR)/libgloss && \
21445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21447                   "RANLIB=$${RANLIB}" \
21448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21449                   distclean) \
21450           || exit 1
21451
21452
21453 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
21454 maybe-maintainer-clean-target-libgloss:
21455
21456 maintainer-clean-target-libgloss: 
21457         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21458         r=`${PWD_COMMAND}`; export r; \
21459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21460         $(SET_LIB_PATH) \
21461         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
21462         for flag in $(EXTRA_TARGET_FLAGS); do \
21463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464         done; \
21465         (cd $(TARGET_SUBDIR)/libgloss && \
21466           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21467                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21468                   "RANLIB=$${RANLIB}" \
21469                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21470                   maintainer-clean) \
21471           || exit 1
21472
21473
21474
21475 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
21476 maybe-configure-target-libiberty:
21477
21478 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21479 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
21480         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
21481         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
21482         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
21483
21484 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
21485         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
21486         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
21487         r=`${PWD_COMMAND}`; export r; \
21488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21489         $(SET_LIB_PATH) \
21490         AR="$(AR_FOR_TARGET)"; export AR; \
21491         AS="$(AS_FOR_TARGET)"; export AS; \
21492         CC="$(CC_FOR_TARGET)"; export CC; \
21493         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21494         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21495         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21496         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21497         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21498         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21499         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21500         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21501         LD="$(LD_FOR_TARGET)"; export LD; \
21502         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21503         NM="$(NM_FOR_TARGET)"; export NM; \
21504         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21505         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21506         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
21507         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
21508         case $(srcdir) in \
21509           /* | [A-Za-z]:[\\/]*) \
21510             topdir=$(srcdir) ;; \
21511           *) \
21512             case "$(TARGET_SUBDIR)" in \
21513               .) topdir="../$(srcdir)" ;; \
21514               *) topdir="../../$(srcdir)" ;; \
21515             esac ;; \
21516         esac; \
21517           srcdiroption="--srcdir=$${topdir}/libiberty"; \
21518           libsrcdir="$$s/libiberty"; \
21519         rm -f no-such-file || : ; \
21520         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21521           $(TARGET_CONFIGARGS) $${srcdiroption} \
21522           --with-target-subdir="$(TARGET_SUBDIR)" \
21523           || exit 1
21524
21525 .PHONY: all-target-libiberty maybe-all-target-libiberty
21526 maybe-all-target-libiberty:
21527 all-target-libiberty: configure-target-libiberty
21528         @r=`${PWD_COMMAND}`; export r; \
21529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21530         $(SET_LIB_PATH) \
21531         (cd $(TARGET_SUBDIR)/libiberty && \
21532           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21533
21534 .PHONY: check-target-libiberty maybe-check-target-libiberty
21535 maybe-check-target-libiberty:
21536
21537 check-target-libiberty:
21538         @r=`${PWD_COMMAND}`; export r; \
21539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21540         $(SET_LIB_PATH) \
21541         (cd $(TARGET_SUBDIR)/libiberty && \
21542           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
21543
21544
21545 .PHONY: install-target-libiberty maybe-install-target-libiberty
21546 maybe-install-target-libiberty:
21547
21548 install-target-libiberty: installdirs
21549         @r=`${PWD_COMMAND}`; export r; \
21550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551         $(SET_LIB_PATH) \
21552         (cd $(TARGET_SUBDIR)/libiberty && \
21553           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21554
21555
21556 # Other targets (info, dvi, etc.)
21557
21558 .PHONY: maybe-info-target-libiberty info-target-libiberty
21559 maybe-info-target-libiberty:
21560
21561 info-target-libiberty: \
21562     configure-target-libiberty 
21563         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21564         r=`${PWD_COMMAND}`; export r; \
21565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566         $(SET_LIB_PATH) \
21567         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
21568         for flag in $(EXTRA_TARGET_FLAGS); do \
21569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21570         done; \
21571         (cd $(TARGET_SUBDIR)/libiberty && \
21572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21574                   "RANLIB=$${RANLIB}" \
21575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21576                   info) \
21577           || exit 1
21578
21579
21580 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
21581 maybe-dvi-target-libiberty:
21582
21583 dvi-target-libiberty: \
21584     configure-target-libiberty 
21585         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21586         r=`${PWD_COMMAND}`; export r; \
21587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21588         $(SET_LIB_PATH) \
21589         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
21590         for flag in $(EXTRA_TARGET_FLAGS); do \
21591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21592         done; \
21593         (cd $(TARGET_SUBDIR)/libiberty && \
21594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21596                   "RANLIB=$${RANLIB}" \
21597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21598                   dvi) \
21599           || exit 1
21600
21601
21602 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
21603 maybe-TAGS-target-libiberty:
21604
21605 TAGS-target-libiberty: \
21606     configure-target-libiberty 
21607         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21608         r=`${PWD_COMMAND}`; export r; \
21609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610         $(SET_LIB_PATH) \
21611         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
21612         for flag in $(EXTRA_TARGET_FLAGS); do \
21613           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614         done; \
21615         (cd $(TARGET_SUBDIR)/libiberty && \
21616           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21617                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21618                   "RANLIB=$${RANLIB}" \
21619                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21620                   TAGS) \
21621           || exit 1
21622
21623
21624 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
21625 maybe-install-info-target-libiberty:
21626
21627 install-info-target-libiberty: \
21628     configure-target-libiberty \
21629     info-target-libiberty 
21630         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21631         r=`${PWD_COMMAND}`; export r; \
21632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633         $(SET_LIB_PATH) \
21634         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
21635         for flag in $(EXTRA_TARGET_FLAGS); do \
21636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21637         done; \
21638         (cd $(TARGET_SUBDIR)/libiberty && \
21639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21641                   "RANLIB=$${RANLIB}" \
21642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21643                   install-info) \
21644           || exit 1
21645
21646
21647 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
21648 maybe-installcheck-target-libiberty:
21649
21650 installcheck-target-libiberty: \
21651     configure-target-libiberty 
21652         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21653         r=`${PWD_COMMAND}`; export r; \
21654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655         $(SET_LIB_PATH) \
21656         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
21657         for flag in $(EXTRA_TARGET_FLAGS); do \
21658           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659         done; \
21660         (cd $(TARGET_SUBDIR)/libiberty && \
21661           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663                   "RANLIB=$${RANLIB}" \
21664                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665                   installcheck) \
21666           || exit 1
21667
21668
21669 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
21670 maybe-mostlyclean-target-libiberty:
21671
21672 mostlyclean-target-libiberty: 
21673         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21674         r=`${PWD_COMMAND}`; export r; \
21675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676         $(SET_LIB_PATH) \
21677         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
21678         for flag in $(EXTRA_TARGET_FLAGS); do \
21679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21680         done; \
21681         (cd $(TARGET_SUBDIR)/libiberty && \
21682           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21683                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21684                   "RANLIB=$${RANLIB}" \
21685                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21686                   mostlyclean) \
21687           || exit 1
21688
21689
21690 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
21691 maybe-clean-target-libiberty:
21692
21693 clean-target-libiberty: 
21694         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21695         r=`${PWD_COMMAND}`; export r; \
21696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21697         $(SET_LIB_PATH) \
21698         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
21699         for flag in $(EXTRA_TARGET_FLAGS); do \
21700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21701         done; \
21702         (cd $(TARGET_SUBDIR)/libiberty && \
21703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705                   "RANLIB=$${RANLIB}" \
21706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21707                   clean) \
21708           || exit 1
21709
21710
21711 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
21712 maybe-distclean-target-libiberty:
21713
21714 distclean-target-libiberty: 
21715         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21716         r=`${PWD_COMMAND}`; export r; \
21717         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718         $(SET_LIB_PATH) \
21719         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
21720         for flag in $(EXTRA_TARGET_FLAGS); do \
21721           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21722         done; \
21723         (cd $(TARGET_SUBDIR)/libiberty && \
21724           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726                   "RANLIB=$${RANLIB}" \
21727                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21728                   distclean) \
21729           || exit 1
21730
21731
21732 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
21733 maybe-maintainer-clean-target-libiberty:
21734
21735 maintainer-clean-target-libiberty: 
21736         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21737         r=`${PWD_COMMAND}`; export r; \
21738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739         $(SET_LIB_PATH) \
21740         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
21741         for flag in $(EXTRA_TARGET_FLAGS); do \
21742           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21743         done; \
21744         (cd $(TARGET_SUBDIR)/libiberty && \
21745           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21746                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21747                   "RANLIB=$${RANLIB}" \
21748                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21749                   maintainer-clean) \
21750           || exit 1
21751
21752
21753
21754 .PHONY: configure-target-gperf maybe-configure-target-gperf
21755 maybe-configure-target-gperf:
21756
21757 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21758 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
21759         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21760         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
21761         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
21762
21763 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
21764         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
21765         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21766         r=`${PWD_COMMAND}`; export r; \
21767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21768         $(SET_LIB_PATH) \
21769         AR="$(AR_FOR_TARGET)"; export AR; \
21770         AS="$(AS_FOR_TARGET)"; export AS; \
21771         CC="$(CC_FOR_TARGET)"; export CC; \
21772         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21773         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21774         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21775         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21776         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21777         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21778         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21779         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21780         LD="$(LD_FOR_TARGET)"; export LD; \
21781         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21782         NM="$(NM_FOR_TARGET)"; export NM; \
21783         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21784         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21785         echo Configuring in $(TARGET_SUBDIR)/gperf; \
21786         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
21787         case $(srcdir) in \
21788           /* | [A-Za-z]:[\\/]*) \
21789             topdir=$(srcdir) ;; \
21790           *) \
21791             case "$(TARGET_SUBDIR)" in \
21792               .) topdir="../$(srcdir)" ;; \
21793               *) topdir="../../$(srcdir)" ;; \
21794             esac ;; \
21795         esac; \
21796           srcdiroption="--srcdir=$${topdir}/gperf"; \
21797           libsrcdir="$$s/gperf"; \
21798         rm -f no-such-file || : ; \
21799         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21800           $(TARGET_CONFIGARGS) $${srcdiroption} \
21801           --with-target-subdir="$(TARGET_SUBDIR)" \
21802           || exit 1
21803
21804 .PHONY: all-target-gperf maybe-all-target-gperf
21805 maybe-all-target-gperf:
21806 all-target-gperf: configure-target-gperf
21807         @r=`${PWD_COMMAND}`; export r; \
21808         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809         $(SET_LIB_PATH) \
21810         (cd $(TARGET_SUBDIR)/gperf && \
21811           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21812
21813 .PHONY: check-target-gperf maybe-check-target-gperf
21814 maybe-check-target-gperf:
21815
21816 check-target-gperf:
21817         @r=`${PWD_COMMAND}`; export r; \
21818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819         $(SET_LIB_PATH) \
21820         (cd $(TARGET_SUBDIR)/gperf && \
21821           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
21822
21823
21824 .PHONY: install-target-gperf maybe-install-target-gperf
21825 maybe-install-target-gperf:
21826
21827 install-target-gperf: installdirs
21828         @r=`${PWD_COMMAND}`; export r; \
21829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830         $(SET_LIB_PATH) \
21831         (cd $(TARGET_SUBDIR)/gperf && \
21832           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21833
21834
21835 # Other targets (info, dvi, etc.)
21836
21837 .PHONY: maybe-info-target-gperf info-target-gperf
21838 maybe-info-target-gperf:
21839
21840 info-target-gperf: \
21841     configure-target-gperf 
21842         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21843         r=`${PWD_COMMAND}`; export r; \
21844         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21845         $(SET_LIB_PATH) \
21846         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
21847         for flag in $(EXTRA_TARGET_FLAGS); do \
21848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21849         done; \
21850         (cd $(TARGET_SUBDIR)/gperf && \
21851           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21852                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21853                   "RANLIB=$${RANLIB}" \
21854                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21855                   info) \
21856           || exit 1
21857
21858
21859 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
21860 maybe-dvi-target-gperf:
21861
21862 dvi-target-gperf: \
21863     configure-target-gperf 
21864         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21865         r=`${PWD_COMMAND}`; export r; \
21866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21867         $(SET_LIB_PATH) \
21868         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
21869         for flag in $(EXTRA_TARGET_FLAGS); do \
21870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21871         done; \
21872         (cd $(TARGET_SUBDIR)/gperf && \
21873           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21874                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21875                   "RANLIB=$${RANLIB}" \
21876                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21877                   dvi) \
21878           || exit 1
21879
21880
21881 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
21882 maybe-TAGS-target-gperf:
21883
21884 TAGS-target-gperf: \
21885     configure-target-gperf 
21886         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21887         r=`${PWD_COMMAND}`; export r; \
21888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889         $(SET_LIB_PATH) \
21890         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
21891         for flag in $(EXTRA_TARGET_FLAGS); do \
21892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21893         done; \
21894         (cd $(TARGET_SUBDIR)/gperf && \
21895           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897                   "RANLIB=$${RANLIB}" \
21898                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21899                   TAGS) \
21900           || exit 1
21901
21902
21903 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
21904 maybe-install-info-target-gperf:
21905
21906 install-info-target-gperf: \
21907     configure-target-gperf \
21908     info-target-gperf 
21909         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21910         r=`${PWD_COMMAND}`; export r; \
21911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21912         $(SET_LIB_PATH) \
21913         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
21914         for flag in $(EXTRA_TARGET_FLAGS); do \
21915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21916         done; \
21917         (cd $(TARGET_SUBDIR)/gperf && \
21918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21920                   "RANLIB=$${RANLIB}" \
21921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21922                   install-info) \
21923           || exit 1
21924
21925
21926 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
21927 maybe-installcheck-target-gperf:
21928
21929 installcheck-target-gperf: \
21930     configure-target-gperf 
21931         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21932         r=`${PWD_COMMAND}`; export r; \
21933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21934         $(SET_LIB_PATH) \
21935         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
21936         for flag in $(EXTRA_TARGET_FLAGS); do \
21937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21938         done; \
21939         (cd $(TARGET_SUBDIR)/gperf && \
21940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21942                   "RANLIB=$${RANLIB}" \
21943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21944                   installcheck) \
21945           || exit 1
21946
21947
21948 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
21949 maybe-mostlyclean-target-gperf:
21950
21951 mostlyclean-target-gperf: 
21952         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21953         r=`${PWD_COMMAND}`; export r; \
21954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955         $(SET_LIB_PATH) \
21956         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
21957         for flag in $(EXTRA_TARGET_FLAGS); do \
21958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959         done; \
21960         (cd $(TARGET_SUBDIR)/gperf && \
21961           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21962                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21963                   "RANLIB=$${RANLIB}" \
21964                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21965                   mostlyclean) \
21966           || exit 1
21967
21968
21969 .PHONY: maybe-clean-target-gperf clean-target-gperf
21970 maybe-clean-target-gperf:
21971
21972 clean-target-gperf: 
21973         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21974         r=`${PWD_COMMAND}`; export r; \
21975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976         $(SET_LIB_PATH) \
21977         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
21978         for flag in $(EXTRA_TARGET_FLAGS); do \
21979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21980         done; \
21981         (cd $(TARGET_SUBDIR)/gperf && \
21982           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984                   "RANLIB=$${RANLIB}" \
21985                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21986                   clean) \
21987           || exit 1
21988
21989
21990 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
21991 maybe-distclean-target-gperf:
21992
21993 distclean-target-gperf: 
21994         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21995         r=`${PWD_COMMAND}`; export r; \
21996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21997         $(SET_LIB_PATH) \
21998         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
21999         for flag in $(EXTRA_TARGET_FLAGS); do \
22000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22001         done; \
22002         (cd $(TARGET_SUBDIR)/gperf && \
22003           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22004                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22005                   "RANLIB=$${RANLIB}" \
22006                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22007                   distclean) \
22008           || exit 1
22009
22010
22011 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
22012 maybe-maintainer-clean-target-gperf:
22013
22014 maintainer-clean-target-gperf: 
22015         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
22016         r=`${PWD_COMMAND}`; export r; \
22017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018         $(SET_LIB_PATH) \
22019         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
22020         for flag in $(EXTRA_TARGET_FLAGS); do \
22021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22022         done; \
22023         (cd $(TARGET_SUBDIR)/gperf && \
22024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22026                   "RANLIB=$${RANLIB}" \
22027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22028                   maintainer-clean) \
22029           || exit 1
22030
22031
22032
22033 .PHONY: configure-target-examples maybe-configure-target-examples
22034 maybe-configure-target-examples:
22035
22036 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22037 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22038         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
22039         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22040         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22041
22042 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22043         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22044         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
22045         r=`${PWD_COMMAND}`; export r; \
22046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047         $(SET_LIB_PATH) \
22048         AR="$(AR_FOR_TARGET)"; export AR; \
22049         AS="$(AS_FOR_TARGET)"; export AS; \
22050         CC="$(CC_FOR_TARGET)"; export CC; \
22051         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22052         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22053         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22054         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22055         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22056         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22057         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22058         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22059         LD="$(LD_FOR_TARGET)"; export LD; \
22060         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22061         NM="$(NM_FOR_TARGET)"; export NM; \
22062         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22063         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22064         echo Configuring in $(TARGET_SUBDIR)/examples; \
22065         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22066         case $(srcdir) in \
22067           /* | [A-Za-z]:[\\/]*) \
22068             topdir=$(srcdir) ;; \
22069           *) \
22070             case "$(TARGET_SUBDIR)" in \
22071               .) topdir="../$(srcdir)" ;; \
22072               *) topdir="../../$(srcdir)" ;; \
22073             esac ;; \
22074         esac; \
22075           srcdiroption="--srcdir=$${topdir}/examples"; \
22076           libsrcdir="$$s/examples"; \
22077         rm -f no-such-file || : ; \
22078         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22079           $(TARGET_CONFIGARGS) $${srcdiroption} \
22080           --with-target-subdir="$(TARGET_SUBDIR)" \
22081           || exit 1
22082
22083 .PHONY: all-target-examples maybe-all-target-examples
22084 maybe-all-target-examples:
22085 all-target-examples: configure-target-examples
22086         @r=`${PWD_COMMAND}`; export r; \
22087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088         $(SET_LIB_PATH) \
22089         (cd $(TARGET_SUBDIR)/examples && \
22090           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22091
22092 .PHONY: check-target-examples maybe-check-target-examples
22093 maybe-check-target-examples:
22094
22095 # Dummy target for uncheckable module.
22096 check-target-examples:
22097
22098
22099 .PHONY: install-target-examples maybe-install-target-examples
22100 maybe-install-target-examples:
22101
22102 # Dummy target for uninstallable.
22103 install-target-examples:
22104
22105
22106 # Other targets (info, dvi, etc.)
22107
22108 .PHONY: maybe-info-target-examples info-target-examples
22109 maybe-info-target-examples:
22110
22111 info-target-examples: \
22112     configure-target-examples 
22113         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22114         r=`${PWD_COMMAND}`; export r; \
22115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22116         $(SET_LIB_PATH) \
22117         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
22118         for flag in $(EXTRA_TARGET_FLAGS); do \
22119           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22120         done; \
22121         (cd $(TARGET_SUBDIR)/examples && \
22122           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22123                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22124                   "RANLIB=$${RANLIB}" \
22125                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22126                   info) \
22127           || exit 1
22128
22129
22130 .PHONY: maybe-dvi-target-examples dvi-target-examples
22131 maybe-dvi-target-examples:
22132
22133 dvi-target-examples: \
22134     configure-target-examples 
22135         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22136         r=`${PWD_COMMAND}`; export r; \
22137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22138         $(SET_LIB_PATH) \
22139         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
22140         for flag in $(EXTRA_TARGET_FLAGS); do \
22141           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22142         done; \
22143         (cd $(TARGET_SUBDIR)/examples && \
22144           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22145                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22146                   "RANLIB=$${RANLIB}" \
22147                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22148                   dvi) \
22149           || exit 1
22150
22151
22152 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
22153 maybe-TAGS-target-examples:
22154
22155 TAGS-target-examples: \
22156     configure-target-examples 
22157         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22158         r=`${PWD_COMMAND}`; export r; \
22159         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160         $(SET_LIB_PATH) \
22161         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
22162         for flag in $(EXTRA_TARGET_FLAGS); do \
22163           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22164         done; \
22165         (cd $(TARGET_SUBDIR)/examples && \
22166           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168                   "RANLIB=$${RANLIB}" \
22169                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22170                   TAGS) \
22171           || exit 1
22172
22173
22174 .PHONY: maybe-install-info-target-examples install-info-target-examples
22175 maybe-install-info-target-examples:
22176
22177 install-info-target-examples: \
22178     configure-target-examples \
22179     info-target-examples 
22180         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22181         r=`${PWD_COMMAND}`; export r; \
22182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22183         $(SET_LIB_PATH) \
22184         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
22185         for flag in $(EXTRA_TARGET_FLAGS); do \
22186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22187         done; \
22188         (cd $(TARGET_SUBDIR)/examples && \
22189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22191                   "RANLIB=$${RANLIB}" \
22192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22193                   install-info) \
22194           || exit 1
22195
22196
22197 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
22198 maybe-installcheck-target-examples:
22199
22200 installcheck-target-examples: \
22201     configure-target-examples 
22202         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22203         r=`${PWD_COMMAND}`; export r; \
22204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205         $(SET_LIB_PATH) \
22206         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
22207         for flag in $(EXTRA_TARGET_FLAGS); do \
22208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22209         done; \
22210         (cd $(TARGET_SUBDIR)/examples && \
22211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22213                   "RANLIB=$${RANLIB}" \
22214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22215                   installcheck) \
22216           || exit 1
22217
22218
22219 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
22220 maybe-mostlyclean-target-examples:
22221
22222 mostlyclean-target-examples: 
22223         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22224         r=`${PWD_COMMAND}`; export r; \
22225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226         $(SET_LIB_PATH) \
22227         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
22228         for flag in $(EXTRA_TARGET_FLAGS); do \
22229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22230         done; \
22231         (cd $(TARGET_SUBDIR)/examples && \
22232           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22233                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22234                   "RANLIB=$${RANLIB}" \
22235                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22236                   mostlyclean) \
22237           || exit 1
22238
22239
22240 .PHONY: maybe-clean-target-examples clean-target-examples
22241 maybe-clean-target-examples:
22242
22243 clean-target-examples: 
22244         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22245         r=`${PWD_COMMAND}`; export r; \
22246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247         $(SET_LIB_PATH) \
22248         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
22249         for flag in $(EXTRA_TARGET_FLAGS); do \
22250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22251         done; \
22252         (cd $(TARGET_SUBDIR)/examples && \
22253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255                   "RANLIB=$${RANLIB}" \
22256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22257                   clean) \
22258           || exit 1
22259
22260
22261 .PHONY: maybe-distclean-target-examples distclean-target-examples
22262 maybe-distclean-target-examples:
22263
22264 distclean-target-examples: 
22265         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22266         r=`${PWD_COMMAND}`; export r; \
22267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268         $(SET_LIB_PATH) \
22269         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
22270         for flag in $(EXTRA_TARGET_FLAGS); do \
22271           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22272         done; \
22273         (cd $(TARGET_SUBDIR)/examples && \
22274           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276                   "RANLIB=$${RANLIB}" \
22277                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22278                   distclean) \
22279           || exit 1
22280
22281
22282 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
22283 maybe-maintainer-clean-target-examples:
22284
22285 maintainer-clean-target-examples: 
22286         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22287         r=`${PWD_COMMAND}`; export r; \
22288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289         $(SET_LIB_PATH) \
22290         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
22291         for flag in $(EXTRA_TARGET_FLAGS); do \
22292           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22293         done; \
22294         (cd $(TARGET_SUBDIR)/examples && \
22295           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22296                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22297                   "RANLIB=$${RANLIB}" \
22298                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22299                   maintainer-clean) \
22300           || exit 1
22301
22302
22303
22304 .PHONY: configure-target-libffi maybe-configure-target-libffi
22305 maybe-configure-target-libffi:
22306
22307 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22308 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
22309         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
22310         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
22311         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
22312
22313 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22314         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
22315         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
22316         r=`${PWD_COMMAND}`; export r; \
22317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318         $(SET_LIB_PATH) \
22319         AR="$(AR_FOR_TARGET)"; export AR; \
22320         AS="$(AS_FOR_TARGET)"; export AS; \
22321         CC="$(CC_FOR_TARGET)"; export CC; \
22322         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22323         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22324         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22325         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22326         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22327         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22328         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22329         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22330         LD="$(LD_FOR_TARGET)"; export LD; \
22331         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22332         NM="$(NM_FOR_TARGET)"; export NM; \
22333         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22334         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22335         echo Configuring in $(TARGET_SUBDIR)/libffi; \
22336         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
22337         case $(srcdir) in \
22338           /* | [A-Za-z]:[\\/]*) \
22339             topdir=$(srcdir) ;; \
22340           *) \
22341             case "$(TARGET_SUBDIR)" in \
22342               .) topdir="../$(srcdir)" ;; \
22343               *) topdir="../../$(srcdir)" ;; \
22344             esac ;; \
22345         esac; \
22346           srcdiroption="--srcdir=$${topdir}/libffi"; \
22347           libsrcdir="$$s/libffi"; \
22348         rm -f no-such-file || : ; \
22349         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22350           $(TARGET_CONFIGARGS) $${srcdiroption} \
22351           --with-target-subdir="$(TARGET_SUBDIR)" \
22352           || exit 1
22353
22354 .PHONY: all-target-libffi maybe-all-target-libffi
22355 maybe-all-target-libffi:
22356 all-target-libffi: configure-target-libffi
22357         @r=`${PWD_COMMAND}`; export r; \
22358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22359         $(SET_LIB_PATH) \
22360         (cd $(TARGET_SUBDIR)/libffi && \
22361           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22362
22363 .PHONY: check-target-libffi maybe-check-target-libffi
22364 maybe-check-target-libffi:
22365
22366 check-target-libffi:
22367         @r=`${PWD_COMMAND}`; export r; \
22368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369         $(SET_LIB_PATH) \
22370         (cd $(TARGET_SUBDIR)/libffi && \
22371           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22372
22373
22374 .PHONY: install-target-libffi maybe-install-target-libffi
22375 maybe-install-target-libffi:
22376
22377 install-target-libffi: installdirs
22378         @r=`${PWD_COMMAND}`; export r; \
22379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380         $(SET_LIB_PATH) \
22381         (cd $(TARGET_SUBDIR)/libffi && \
22382           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22383
22384
22385 # Other targets (info, dvi, etc.)
22386
22387 .PHONY: maybe-info-target-libffi info-target-libffi
22388 maybe-info-target-libffi:
22389
22390 info-target-libffi: \
22391     configure-target-libffi 
22392         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22393         r=`${PWD_COMMAND}`; export r; \
22394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395         $(SET_LIB_PATH) \
22396         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
22397         for flag in $(EXTRA_TARGET_FLAGS); do \
22398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22399         done; \
22400         (cd $(TARGET_SUBDIR)/libffi && \
22401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403                   "RANLIB=$${RANLIB}" \
22404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22405                   info) \
22406           || exit 1
22407
22408
22409 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
22410 maybe-dvi-target-libffi:
22411
22412 dvi-target-libffi: \
22413     configure-target-libffi 
22414         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22415         r=`${PWD_COMMAND}`; export r; \
22416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417         $(SET_LIB_PATH) \
22418         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
22419         for flag in $(EXTRA_TARGET_FLAGS); do \
22420           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421         done; \
22422         (cd $(TARGET_SUBDIR)/libffi && \
22423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425                   "RANLIB=$${RANLIB}" \
22426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22427                   dvi) \
22428           || exit 1
22429
22430
22431 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
22432 maybe-TAGS-target-libffi:
22433
22434 TAGS-target-libffi: \
22435     configure-target-libffi 
22436         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22437         r=`${PWD_COMMAND}`; export r; \
22438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22439         $(SET_LIB_PATH) \
22440         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
22441         for flag in $(EXTRA_TARGET_FLAGS); do \
22442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22443         done; \
22444         (cd $(TARGET_SUBDIR)/libffi && \
22445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22447                   "RANLIB=$${RANLIB}" \
22448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22449                   TAGS) \
22450           || exit 1
22451
22452
22453 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
22454 maybe-install-info-target-libffi:
22455
22456 install-info-target-libffi: \
22457     configure-target-libffi \
22458     info-target-libffi 
22459         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22460         r=`${PWD_COMMAND}`; export r; \
22461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22462         $(SET_LIB_PATH) \
22463         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
22464         for flag in $(EXTRA_TARGET_FLAGS); do \
22465           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22466         done; \
22467         (cd $(TARGET_SUBDIR)/libffi && \
22468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22470                   "RANLIB=$${RANLIB}" \
22471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22472                   install-info) \
22473           || exit 1
22474
22475
22476 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
22477 maybe-installcheck-target-libffi:
22478
22479 installcheck-target-libffi: \
22480     configure-target-libffi 
22481         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22482         r=`${PWD_COMMAND}`; export r; \
22483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22484         $(SET_LIB_PATH) \
22485         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
22486         for flag in $(EXTRA_TARGET_FLAGS); do \
22487           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22488         done; \
22489         (cd $(TARGET_SUBDIR)/libffi && \
22490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22492                   "RANLIB=$${RANLIB}" \
22493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22494                   installcheck) \
22495           || exit 1
22496
22497
22498 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
22499 maybe-mostlyclean-target-libffi:
22500
22501 mostlyclean-target-libffi: 
22502         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22503         r=`${PWD_COMMAND}`; export r; \
22504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22505         $(SET_LIB_PATH) \
22506         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
22507         for flag in $(EXTRA_TARGET_FLAGS); do \
22508           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22509         done; \
22510         (cd $(TARGET_SUBDIR)/libffi && \
22511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22513                   "RANLIB=$${RANLIB}" \
22514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22515                   mostlyclean) \
22516           || exit 1
22517
22518
22519 .PHONY: maybe-clean-target-libffi clean-target-libffi
22520 maybe-clean-target-libffi:
22521
22522 clean-target-libffi: 
22523         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22524         r=`${PWD_COMMAND}`; export r; \
22525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22526         $(SET_LIB_PATH) \
22527         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
22528         for flag in $(EXTRA_TARGET_FLAGS); do \
22529           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22530         done; \
22531         (cd $(TARGET_SUBDIR)/libffi && \
22532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22534                   "RANLIB=$${RANLIB}" \
22535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22536                   clean) \
22537           || exit 1
22538
22539
22540 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
22541 maybe-distclean-target-libffi:
22542
22543 distclean-target-libffi: 
22544         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22545         r=`${PWD_COMMAND}`; export r; \
22546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22547         $(SET_LIB_PATH) \
22548         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
22549         for flag in $(EXTRA_TARGET_FLAGS); do \
22550           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22551         done; \
22552         (cd $(TARGET_SUBDIR)/libffi && \
22553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555                   "RANLIB=$${RANLIB}" \
22556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22557                   distclean) \
22558           || exit 1
22559
22560
22561 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
22562 maybe-maintainer-clean-target-libffi:
22563
22564 maintainer-clean-target-libffi: 
22565         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22566         r=`${PWD_COMMAND}`; export r; \
22567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568         $(SET_LIB_PATH) \
22569         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
22570         for flag in $(EXTRA_TARGET_FLAGS); do \
22571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572         done; \
22573         (cd $(TARGET_SUBDIR)/libffi && \
22574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22576                   "RANLIB=$${RANLIB}" \
22577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22578                   maintainer-clean) \
22579           || exit 1
22580
22581
22582
22583 .PHONY: configure-target-libjava maybe-configure-target-libjava
22584 maybe-configure-target-libjava:
22585
22586 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22587 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
22588         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
22589         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
22590         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
22591
22592 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
22593         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
22594         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
22595         r=`${PWD_COMMAND}`; export r; \
22596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597         $(SET_LIB_PATH) \
22598         AR="$(AR_FOR_TARGET)"; export AR; \
22599         AS="$(AS_FOR_TARGET)"; export AS; \
22600         CC="$(CC_FOR_TARGET)"; export CC; \
22601         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22602         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22603         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22604         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
22605         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
22606         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22607         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22608         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22609         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22610         LD="$(LD_FOR_TARGET)"; export LD; \
22611         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22612         NM="$(NM_FOR_TARGET)"; export NM; \
22613         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22614         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22615         echo Configuring in $(TARGET_SUBDIR)/libjava; \
22616         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
22617         case $(srcdir) in \
22618           /* | [A-Za-z]:[\\/]*) \
22619             topdir=$(srcdir) ;; \
22620           *) \
22621             case "$(TARGET_SUBDIR)" in \
22622               .) topdir="../$(srcdir)" ;; \
22623               *) topdir="../../$(srcdir)" ;; \
22624             esac ;; \
22625         esac; \
22626           srcdiroption="--srcdir=$${topdir}/libjava"; \
22627           libsrcdir="$$s/libjava"; \
22628         rm -f no-such-file || : ; \
22629         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22630           $(TARGET_CONFIGARGS) $${srcdiroption} \
22631           --with-target-subdir="$(TARGET_SUBDIR)" \
22632           || exit 1
22633
22634 .PHONY: all-target-libjava maybe-all-target-libjava
22635 maybe-all-target-libjava:
22636 all-target-libjava: configure-target-libjava
22637         @r=`${PWD_COMMAND}`; export r; \
22638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639         $(SET_LIB_PATH) \
22640         (cd $(TARGET_SUBDIR)/libjava && \
22641           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
22642
22643 .PHONY: check-target-libjava maybe-check-target-libjava
22644 maybe-check-target-libjava:
22645
22646 check-target-libjava:
22647         @r=`${PWD_COMMAND}`; export r; \
22648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649         $(SET_LIB_PATH) \
22650         (cd $(TARGET_SUBDIR)/libjava && \
22651           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
22652
22653
22654 .PHONY: install-target-libjava maybe-install-target-libjava
22655 maybe-install-target-libjava:
22656
22657 install-target-libjava: installdirs
22658         @r=`${PWD_COMMAND}`; export r; \
22659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22660         $(SET_LIB_PATH) \
22661         (cd $(TARGET_SUBDIR)/libjava && \
22662           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22663
22664
22665 # Other targets (info, dvi, etc.)
22666
22667 .PHONY: maybe-info-target-libjava info-target-libjava
22668 maybe-info-target-libjava:
22669
22670 info-target-libjava: \
22671     configure-target-libjava 
22672         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22673         r=`${PWD_COMMAND}`; export r; \
22674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22675         $(SET_LIB_PATH) \
22676         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
22677         for flag in $(EXTRA_TARGET_FLAGS); do \
22678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22679         done; \
22680         (cd $(TARGET_SUBDIR)/libjava && \
22681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22683                   "RANLIB=$${RANLIB}" \
22684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22685                   info) \
22686           || exit 1
22687
22688
22689 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
22690 maybe-dvi-target-libjava:
22691
22692 dvi-target-libjava: \
22693     configure-target-libjava 
22694         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22695         r=`${PWD_COMMAND}`; export r; \
22696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697         $(SET_LIB_PATH) \
22698         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
22699         for flag in $(EXTRA_TARGET_FLAGS); do \
22700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22701         done; \
22702         (cd $(TARGET_SUBDIR)/libjava && \
22703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22705                   "RANLIB=$${RANLIB}" \
22706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22707                   dvi) \
22708           || exit 1
22709
22710
22711 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
22712 maybe-TAGS-target-libjava:
22713
22714 TAGS-target-libjava: \
22715     configure-target-libjava 
22716         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22717         r=`${PWD_COMMAND}`; export r; \
22718         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22719         $(SET_LIB_PATH) \
22720         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
22721         for flag in $(EXTRA_TARGET_FLAGS); do \
22722           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723         done; \
22724         (cd $(TARGET_SUBDIR)/libjava && \
22725           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22726                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22727                   "RANLIB=$${RANLIB}" \
22728                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22729                   TAGS) \
22730           || exit 1
22731
22732
22733 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
22734 maybe-install-info-target-libjava:
22735
22736 install-info-target-libjava: \
22737     configure-target-libjava \
22738     info-target-libjava 
22739         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22740         r=`${PWD_COMMAND}`; export r; \
22741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22742         $(SET_LIB_PATH) \
22743         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
22744         for flag in $(EXTRA_TARGET_FLAGS); do \
22745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22746         done; \
22747         (cd $(TARGET_SUBDIR)/libjava && \
22748           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22749                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22750                   "RANLIB=$${RANLIB}" \
22751                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22752                   install-info) \
22753           || exit 1
22754
22755
22756 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
22757 maybe-installcheck-target-libjava:
22758
22759 installcheck-target-libjava: \
22760     configure-target-libjava 
22761         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22762         r=`${PWD_COMMAND}`; export r; \
22763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22764         $(SET_LIB_PATH) \
22765         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
22766         for flag in $(EXTRA_TARGET_FLAGS); do \
22767           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768         done; \
22769         (cd $(TARGET_SUBDIR)/libjava && \
22770           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22771                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22772                   "RANLIB=$${RANLIB}" \
22773                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22774                   installcheck) \
22775           || exit 1
22776
22777
22778 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
22779 maybe-mostlyclean-target-libjava:
22780
22781 mostlyclean-target-libjava: 
22782         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22783         r=`${PWD_COMMAND}`; export r; \
22784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785         $(SET_LIB_PATH) \
22786         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
22787         for flag in $(EXTRA_TARGET_FLAGS); do \
22788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789         done; \
22790         (cd $(TARGET_SUBDIR)/libjava && \
22791           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793                   "RANLIB=$${RANLIB}" \
22794                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22795                   mostlyclean) \
22796           || exit 1
22797
22798
22799 .PHONY: maybe-clean-target-libjava clean-target-libjava
22800 maybe-clean-target-libjava:
22801
22802 clean-target-libjava: 
22803         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22804         r=`${PWD_COMMAND}`; export r; \
22805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22806         $(SET_LIB_PATH) \
22807         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
22808         for flag in $(EXTRA_TARGET_FLAGS); do \
22809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22810         done; \
22811         (cd $(TARGET_SUBDIR)/libjava && \
22812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22814                   "RANLIB=$${RANLIB}" \
22815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22816                   clean) \
22817           || exit 1
22818
22819
22820 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
22821 maybe-distclean-target-libjava:
22822
22823 distclean-target-libjava: 
22824         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22825         r=`${PWD_COMMAND}`; export r; \
22826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827         $(SET_LIB_PATH) \
22828         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
22829         for flag in $(EXTRA_TARGET_FLAGS); do \
22830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22831         done; \
22832         (cd $(TARGET_SUBDIR)/libjava && \
22833           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835                   "RANLIB=$${RANLIB}" \
22836                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837                   distclean) \
22838           || exit 1
22839
22840
22841 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
22842 maybe-maintainer-clean-target-libjava:
22843
22844 maintainer-clean-target-libjava: 
22845         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22846         r=`${PWD_COMMAND}`; export r; \
22847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848         $(SET_LIB_PATH) \
22849         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
22850         for flag in $(EXTRA_TARGET_FLAGS); do \
22851           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22852         done; \
22853         (cd $(TARGET_SUBDIR)/libjava && \
22854           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856                   "RANLIB=$${RANLIB}" \
22857                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22858                   maintainer-clean) \
22859           || exit 1
22860
22861
22862
22863 .PHONY: configure-target-zlib maybe-configure-target-zlib
22864 maybe-configure-target-zlib:
22865
22866 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22867 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
22868         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22869         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
22870         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
22871
22872 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
22873         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
22874         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22875         r=`${PWD_COMMAND}`; export r; \
22876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22877         $(SET_LIB_PATH) \
22878         AR="$(AR_FOR_TARGET)"; export AR; \
22879         AS="$(AS_FOR_TARGET)"; export AS; \
22880         CC="$(CC_FOR_TARGET)"; export CC; \
22881         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22882         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22883         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22884         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22885         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22886         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22887         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22888         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22889         LD="$(LD_FOR_TARGET)"; export LD; \
22890         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22891         NM="$(NM_FOR_TARGET)"; export NM; \
22892         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22893         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22894         echo Configuring in $(TARGET_SUBDIR)/zlib; \
22895         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
22896         case $(srcdir) in \
22897           /* | [A-Za-z]:[\\/]*) \
22898             topdir=$(srcdir) ;; \
22899           *) \
22900             case "$(TARGET_SUBDIR)" in \
22901               .) topdir="../$(srcdir)" ;; \
22902               *) topdir="../../$(srcdir)" ;; \
22903             esac ;; \
22904         esac; \
22905         if [ "$(srcdir)" = "." ] ; then \
22906           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22907             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
22908               if [ -f Makefile ]; then \
22909                 if $(MAKE) distclean; then \
22910                   true; \
22911                 else \
22912                   exit 1; \
22913                 fi; \
22914               else \
22915                 true; \
22916               fi; \
22917             else \
22918               exit 1; \
22919             fi; \
22920           else \
22921             true; \
22922           fi; \
22923           srcdiroption="--srcdir=."; \
22924           libsrcdir="."; \
22925         else \
22926           srcdiroption="--srcdir=$${topdir}/zlib"; \
22927           libsrcdir="$$s/zlib"; \
22928         fi; \
22929         rm -f no-such-file || : ; \
22930         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22931           $(TARGET_CONFIGARGS) $${srcdiroption} \
22932           --with-target-subdir="$(TARGET_SUBDIR)" \
22933           || exit 1
22934
22935 .PHONY: all-target-zlib maybe-all-target-zlib
22936 maybe-all-target-zlib:
22937 all-target-zlib: configure-target-zlib
22938         @r=`${PWD_COMMAND}`; export r; \
22939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22940         $(SET_LIB_PATH) \
22941         (cd $(TARGET_SUBDIR)/zlib && \
22942           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22943
22944 .PHONY: check-target-zlib maybe-check-target-zlib
22945 maybe-check-target-zlib:
22946
22947 check-target-zlib:
22948         @r=`${PWD_COMMAND}`; export r; \
22949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950         $(SET_LIB_PATH) \
22951         (cd $(TARGET_SUBDIR)/zlib && \
22952           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22953
22954
22955 .PHONY: install-target-zlib maybe-install-target-zlib
22956 maybe-install-target-zlib:
22957
22958 install-target-zlib: installdirs
22959         @r=`${PWD_COMMAND}`; export r; \
22960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22961         $(SET_LIB_PATH) \
22962         (cd $(TARGET_SUBDIR)/zlib && \
22963           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22964
22965
22966 # Other targets (info, dvi, etc.)
22967
22968 .PHONY: maybe-info-target-zlib info-target-zlib
22969 maybe-info-target-zlib:
22970
22971 info-target-zlib: \
22972     configure-target-zlib 
22973         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22974         r=`${PWD_COMMAND}`; export r; \
22975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976         $(SET_LIB_PATH) \
22977         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
22978         for flag in $(EXTRA_TARGET_FLAGS); do \
22979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22980         done; \
22981         (cd $(TARGET_SUBDIR)/zlib && \
22982           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984                   "RANLIB=$${RANLIB}" \
22985                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22986                   info) \
22987           || exit 1
22988
22989
22990 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
22991 maybe-dvi-target-zlib:
22992
22993 dvi-target-zlib: \
22994     configure-target-zlib 
22995         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22996         r=`${PWD_COMMAND}`; export r; \
22997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22998         $(SET_LIB_PATH) \
22999         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
23000         for flag in $(EXTRA_TARGET_FLAGS); do \
23001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002         done; \
23003         (cd $(TARGET_SUBDIR)/zlib && \
23004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23006                   "RANLIB=$${RANLIB}" \
23007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23008                   dvi) \
23009           || exit 1
23010
23011
23012 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
23013 maybe-TAGS-target-zlib:
23014
23015 TAGS-target-zlib: \
23016     configure-target-zlib 
23017         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23018         r=`${PWD_COMMAND}`; export r; \
23019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23020         $(SET_LIB_PATH) \
23021         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
23022         for flag in $(EXTRA_TARGET_FLAGS); do \
23023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23024         done; \
23025         (cd $(TARGET_SUBDIR)/zlib && \
23026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23028                   "RANLIB=$${RANLIB}" \
23029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23030                   TAGS) \
23031           || exit 1
23032
23033
23034 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
23035 maybe-install-info-target-zlib:
23036
23037 install-info-target-zlib: \
23038     configure-target-zlib \
23039     info-target-zlib 
23040         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23041         r=`${PWD_COMMAND}`; export r; \
23042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23043         $(SET_LIB_PATH) \
23044         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
23045         for flag in $(EXTRA_TARGET_FLAGS); do \
23046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23047         done; \
23048         (cd $(TARGET_SUBDIR)/zlib && \
23049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23051                   "RANLIB=$${RANLIB}" \
23052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23053                   install-info) \
23054           || exit 1
23055
23056
23057 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
23058 maybe-installcheck-target-zlib:
23059
23060 installcheck-target-zlib: \
23061     configure-target-zlib 
23062         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23063         r=`${PWD_COMMAND}`; export r; \
23064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065         $(SET_LIB_PATH) \
23066         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
23067         for flag in $(EXTRA_TARGET_FLAGS); do \
23068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23069         done; \
23070         (cd $(TARGET_SUBDIR)/zlib && \
23071           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23072                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23073                   "RANLIB=$${RANLIB}" \
23074                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23075                   installcheck) \
23076           || exit 1
23077
23078
23079 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
23080 maybe-mostlyclean-target-zlib:
23081
23082 mostlyclean-target-zlib: 
23083         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23084         r=`${PWD_COMMAND}`; export r; \
23085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23086         $(SET_LIB_PATH) \
23087         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
23088         for flag in $(EXTRA_TARGET_FLAGS); do \
23089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23090         done; \
23091         (cd $(TARGET_SUBDIR)/zlib && \
23092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23094                   "RANLIB=$${RANLIB}" \
23095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23096                   mostlyclean) \
23097           || exit 1
23098
23099
23100 .PHONY: maybe-clean-target-zlib clean-target-zlib
23101 maybe-clean-target-zlib:
23102
23103 clean-target-zlib: 
23104         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23105         r=`${PWD_COMMAND}`; export r; \
23106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23107         $(SET_LIB_PATH) \
23108         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
23109         for flag in $(EXTRA_TARGET_FLAGS); do \
23110           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23111         done; \
23112         (cd $(TARGET_SUBDIR)/zlib && \
23113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23115                   "RANLIB=$${RANLIB}" \
23116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23117                   clean) \
23118           || exit 1
23119
23120
23121 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
23122 maybe-distclean-target-zlib:
23123
23124 distclean-target-zlib: 
23125         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23126         r=`${PWD_COMMAND}`; export r; \
23127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128         $(SET_LIB_PATH) \
23129         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
23130         for flag in $(EXTRA_TARGET_FLAGS); do \
23131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23132         done; \
23133         (cd $(TARGET_SUBDIR)/zlib && \
23134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136                   "RANLIB=$${RANLIB}" \
23137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23138                   distclean) \
23139           || exit 1
23140
23141
23142 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
23143 maybe-maintainer-clean-target-zlib:
23144
23145 maintainer-clean-target-zlib: 
23146         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23147         r=`${PWD_COMMAND}`; export r; \
23148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149         $(SET_LIB_PATH) \
23150         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
23151         for flag in $(EXTRA_TARGET_FLAGS); do \
23152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153         done; \
23154         (cd $(TARGET_SUBDIR)/zlib && \
23155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157                   "RANLIB=$${RANLIB}" \
23158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23159                   maintainer-clean) \
23160           || exit 1
23161
23162
23163
23164 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23165 maybe-configure-target-boehm-gc:
23166
23167 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23168 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23169         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
23170         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23171         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23172
23173 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23174         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23175         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
23176         r=`${PWD_COMMAND}`; export r; \
23177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178         $(SET_LIB_PATH) \
23179         AR="$(AR_FOR_TARGET)"; export AR; \
23180         AS="$(AS_FOR_TARGET)"; export AS; \
23181         CC="$(CC_FOR_TARGET)"; export CC; \
23182         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23183         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23184         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23185         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23186         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23187         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23188         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23189         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23190         LD="$(LD_FOR_TARGET)"; export LD; \
23191         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23192         NM="$(NM_FOR_TARGET)"; export NM; \
23193         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23194         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23195         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23196         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23197         case $(srcdir) in \
23198           /* | [A-Za-z]:[\\/]*) \
23199             topdir=$(srcdir) ;; \
23200           *) \
23201             case "$(TARGET_SUBDIR)" in \
23202               .) topdir="../$(srcdir)" ;; \
23203               *) topdir="../../$(srcdir)" ;; \
23204             esac ;; \
23205         esac; \
23206           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23207           libsrcdir="$$s/boehm-gc"; \
23208         rm -f no-such-file || : ; \
23209         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23210           $(TARGET_CONFIGARGS) $${srcdiroption} \
23211           --with-target-subdir="$(TARGET_SUBDIR)" \
23212           || exit 1
23213
23214 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23215 maybe-all-target-boehm-gc:
23216 all-target-boehm-gc: configure-target-boehm-gc
23217         @r=`${PWD_COMMAND}`; export r; \
23218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219         $(SET_LIB_PATH) \
23220         (cd $(TARGET_SUBDIR)/boehm-gc && \
23221           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23222
23223 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23224 maybe-check-target-boehm-gc:
23225
23226 check-target-boehm-gc:
23227         @r=`${PWD_COMMAND}`; export r; \
23228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229         $(SET_LIB_PATH) \
23230         (cd $(TARGET_SUBDIR)/boehm-gc && \
23231           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23232
23233
23234 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23235 maybe-install-target-boehm-gc:
23236
23237 install-target-boehm-gc: installdirs
23238         @r=`${PWD_COMMAND}`; export r; \
23239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23240         $(SET_LIB_PATH) \
23241         (cd $(TARGET_SUBDIR)/boehm-gc && \
23242           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23243
23244
23245 # Other targets (info, dvi, etc.)
23246
23247 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
23248 maybe-info-target-boehm-gc:
23249
23250 info-target-boehm-gc: \
23251     configure-target-boehm-gc 
23252         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23253         r=`${PWD_COMMAND}`; export r; \
23254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255         $(SET_LIB_PATH) \
23256         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
23257         for flag in $(EXTRA_TARGET_FLAGS); do \
23258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23259         done; \
23260         (cd $(TARGET_SUBDIR)/boehm-gc && \
23261           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23262                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23263                   "RANLIB=$${RANLIB}" \
23264                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23265                   info) \
23266           || exit 1
23267
23268
23269 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
23270 maybe-dvi-target-boehm-gc:
23271
23272 dvi-target-boehm-gc: \
23273     configure-target-boehm-gc 
23274         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23275         r=`${PWD_COMMAND}`; export r; \
23276         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277         $(SET_LIB_PATH) \
23278         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
23279         for flag in $(EXTRA_TARGET_FLAGS); do \
23280           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23281         done; \
23282         (cd $(TARGET_SUBDIR)/boehm-gc && \
23283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285                   "RANLIB=$${RANLIB}" \
23286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23287                   dvi) \
23288           || exit 1
23289
23290
23291 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
23292 maybe-TAGS-target-boehm-gc:
23293
23294 TAGS-target-boehm-gc: \
23295     configure-target-boehm-gc 
23296         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23297         r=`${PWD_COMMAND}`; export r; \
23298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299         $(SET_LIB_PATH) \
23300         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
23301         for flag in $(EXTRA_TARGET_FLAGS); do \
23302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23303         done; \
23304         (cd $(TARGET_SUBDIR)/boehm-gc && \
23305           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23306                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23307                   "RANLIB=$${RANLIB}" \
23308                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23309                   TAGS) \
23310           || exit 1
23311
23312
23313 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
23314 maybe-install-info-target-boehm-gc:
23315
23316 install-info-target-boehm-gc: \
23317     configure-target-boehm-gc \
23318     info-target-boehm-gc 
23319         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23320         r=`${PWD_COMMAND}`; export r; \
23321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23322         $(SET_LIB_PATH) \
23323         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
23324         for flag in $(EXTRA_TARGET_FLAGS); do \
23325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23326         done; \
23327         (cd $(TARGET_SUBDIR)/boehm-gc && \
23328           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23329                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23330                   "RANLIB=$${RANLIB}" \
23331                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23332                   install-info) \
23333           || exit 1
23334
23335
23336 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
23337 maybe-installcheck-target-boehm-gc:
23338
23339 installcheck-target-boehm-gc: \
23340     configure-target-boehm-gc 
23341         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23342         r=`${PWD_COMMAND}`; export r; \
23343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23344         $(SET_LIB_PATH) \
23345         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
23346         for flag in $(EXTRA_TARGET_FLAGS); do \
23347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23348         done; \
23349         (cd $(TARGET_SUBDIR)/boehm-gc && \
23350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23352                   "RANLIB=$${RANLIB}" \
23353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23354                   installcheck) \
23355           || exit 1
23356
23357
23358 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
23359 maybe-mostlyclean-target-boehm-gc:
23360
23361 mostlyclean-target-boehm-gc: 
23362         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23363         r=`${PWD_COMMAND}`; export r; \
23364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365         $(SET_LIB_PATH) \
23366         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
23367         for flag in $(EXTRA_TARGET_FLAGS); do \
23368           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23369         done; \
23370         (cd $(TARGET_SUBDIR)/boehm-gc && \
23371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23373                   "RANLIB=$${RANLIB}" \
23374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23375                   mostlyclean) \
23376           || exit 1
23377
23378
23379 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
23380 maybe-clean-target-boehm-gc:
23381
23382 clean-target-boehm-gc: 
23383         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23384         r=`${PWD_COMMAND}`; export r; \
23385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386         $(SET_LIB_PATH) \
23387         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
23388         for flag in $(EXTRA_TARGET_FLAGS); do \
23389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23390         done; \
23391         (cd $(TARGET_SUBDIR)/boehm-gc && \
23392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394                   "RANLIB=$${RANLIB}" \
23395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23396                   clean) \
23397           || exit 1
23398
23399
23400 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
23401 maybe-distclean-target-boehm-gc:
23402
23403 distclean-target-boehm-gc: 
23404         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23405         r=`${PWD_COMMAND}`; export r; \
23406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407         $(SET_LIB_PATH) \
23408         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
23409         for flag in $(EXTRA_TARGET_FLAGS); do \
23410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23411         done; \
23412         (cd $(TARGET_SUBDIR)/boehm-gc && \
23413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23415                   "RANLIB=$${RANLIB}" \
23416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23417                   distclean) \
23418           || exit 1
23419
23420
23421 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
23422 maybe-maintainer-clean-target-boehm-gc:
23423
23424 maintainer-clean-target-boehm-gc: 
23425         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23426         r=`${PWD_COMMAND}`; export r; \
23427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23428         $(SET_LIB_PATH) \
23429         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
23430         for flag in $(EXTRA_TARGET_FLAGS); do \
23431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432         done; \
23433         (cd $(TARGET_SUBDIR)/boehm-gc && \
23434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436                   "RANLIB=$${RANLIB}" \
23437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438                   maintainer-clean) \
23439           || exit 1
23440
23441
23442
23443 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23444 maybe-configure-target-qthreads:
23445
23446 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23447 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23448         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
23449         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23450         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23451
23452 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23453         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23454         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
23455         r=`${PWD_COMMAND}`; export r; \
23456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23457         $(SET_LIB_PATH) \
23458         AR="$(AR_FOR_TARGET)"; export AR; \
23459         AS="$(AS_FOR_TARGET)"; export AS; \
23460         CC="$(CC_FOR_TARGET)"; export CC; \
23461         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23462         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23463         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23464         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23465         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23466         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23467         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23468         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23469         LD="$(LD_FOR_TARGET)"; export LD; \
23470         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23471         NM="$(NM_FOR_TARGET)"; export NM; \
23472         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23473         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23474         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23475         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23476         case $(srcdir) in \
23477           /* | [A-Za-z]:[\\/]*) \
23478             topdir=$(srcdir) ;; \
23479           *) \
23480             case "$(TARGET_SUBDIR)" in \
23481               .) topdir="../$(srcdir)" ;; \
23482               *) topdir="../../$(srcdir)" ;; \
23483             esac ;; \
23484         esac; \
23485           srcdiroption="--srcdir=$${topdir}/qthreads"; \
23486           libsrcdir="$$s/qthreads"; \
23487         rm -f no-such-file || : ; \
23488         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23489           $(TARGET_CONFIGARGS) $${srcdiroption} \
23490           --with-target-subdir="$(TARGET_SUBDIR)" \
23491           || exit 1
23492
23493 .PHONY: all-target-qthreads maybe-all-target-qthreads
23494 maybe-all-target-qthreads:
23495 all-target-qthreads: configure-target-qthreads
23496         @r=`${PWD_COMMAND}`; export r; \
23497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23498         $(SET_LIB_PATH) \
23499         (cd $(TARGET_SUBDIR)/qthreads && \
23500           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23501
23502 .PHONY: check-target-qthreads maybe-check-target-qthreads
23503 maybe-check-target-qthreads:
23504
23505 check-target-qthreads:
23506         @r=`${PWD_COMMAND}`; export r; \
23507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508         $(SET_LIB_PATH) \
23509         (cd $(TARGET_SUBDIR)/qthreads && \
23510           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23511
23512
23513 .PHONY: install-target-qthreads maybe-install-target-qthreads
23514 maybe-install-target-qthreads:
23515
23516 install-target-qthreads: installdirs
23517         @r=`${PWD_COMMAND}`; export r; \
23518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519         $(SET_LIB_PATH) \
23520         (cd $(TARGET_SUBDIR)/qthreads && \
23521           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23522
23523
23524 # Other targets (info, dvi, etc.)
23525
23526 .PHONY: maybe-info-target-qthreads info-target-qthreads
23527 maybe-info-target-qthreads:
23528
23529 info-target-qthreads: \
23530     configure-target-qthreads 
23531         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23532         r=`${PWD_COMMAND}`; export r; \
23533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534         $(SET_LIB_PATH) \
23535         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
23536         for flag in $(EXTRA_TARGET_FLAGS); do \
23537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23538         done; \
23539         (cd $(TARGET_SUBDIR)/qthreads && \
23540           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23541                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23542                   "RANLIB=$${RANLIB}" \
23543                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23544                   info) \
23545           || exit 1
23546
23547
23548 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
23549 maybe-dvi-target-qthreads:
23550
23551 dvi-target-qthreads: \
23552     configure-target-qthreads 
23553         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23554         r=`${PWD_COMMAND}`; export r; \
23555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556         $(SET_LIB_PATH) \
23557         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
23558         for flag in $(EXTRA_TARGET_FLAGS); do \
23559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23560         done; \
23561         (cd $(TARGET_SUBDIR)/qthreads && \
23562           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564                   "RANLIB=$${RANLIB}" \
23565                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23566                   dvi) \
23567           || exit 1
23568
23569
23570 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
23571 maybe-TAGS-target-qthreads:
23572
23573 TAGS-target-qthreads: \
23574     configure-target-qthreads 
23575         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23576         r=`${PWD_COMMAND}`; export r; \
23577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23578         $(SET_LIB_PATH) \
23579         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
23580         for flag in $(EXTRA_TARGET_FLAGS); do \
23581           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23582         done; \
23583         (cd $(TARGET_SUBDIR)/qthreads && \
23584           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23585                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23586                   "RANLIB=$${RANLIB}" \
23587                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23588                   TAGS) \
23589           || exit 1
23590
23591
23592 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
23593 maybe-install-info-target-qthreads:
23594
23595 install-info-target-qthreads: \
23596     configure-target-qthreads \
23597     info-target-qthreads 
23598         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23599         r=`${PWD_COMMAND}`; export r; \
23600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23601         $(SET_LIB_PATH) \
23602         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
23603         for flag in $(EXTRA_TARGET_FLAGS); do \
23604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23605         done; \
23606         (cd $(TARGET_SUBDIR)/qthreads && \
23607           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23608                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23609                   "RANLIB=$${RANLIB}" \
23610                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23611                   install-info) \
23612           || exit 1
23613
23614
23615 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
23616 maybe-installcheck-target-qthreads:
23617
23618 installcheck-target-qthreads: \
23619     configure-target-qthreads 
23620         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23621         r=`${PWD_COMMAND}`; export r; \
23622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623         $(SET_LIB_PATH) \
23624         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
23625         for flag in $(EXTRA_TARGET_FLAGS); do \
23626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23627         done; \
23628         (cd $(TARGET_SUBDIR)/qthreads && \
23629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23631                   "RANLIB=$${RANLIB}" \
23632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23633                   installcheck) \
23634           || exit 1
23635
23636
23637 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
23638 maybe-mostlyclean-target-qthreads:
23639
23640 mostlyclean-target-qthreads: 
23641         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23642         r=`${PWD_COMMAND}`; export r; \
23643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644         $(SET_LIB_PATH) \
23645         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
23646         for flag in $(EXTRA_TARGET_FLAGS); do \
23647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23648         done; \
23649         (cd $(TARGET_SUBDIR)/qthreads && \
23650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23652                   "RANLIB=$${RANLIB}" \
23653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23654                   mostlyclean) \
23655           || exit 1
23656
23657
23658 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
23659 maybe-clean-target-qthreads:
23660
23661 clean-target-qthreads: 
23662         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23663         r=`${PWD_COMMAND}`; export r; \
23664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23665         $(SET_LIB_PATH) \
23666         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
23667         for flag in $(EXTRA_TARGET_FLAGS); do \
23668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23669         done; \
23670         (cd $(TARGET_SUBDIR)/qthreads && \
23671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23673                   "RANLIB=$${RANLIB}" \
23674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23675                   clean) \
23676           || exit 1
23677
23678
23679 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
23680 maybe-distclean-target-qthreads:
23681
23682 distclean-target-qthreads: 
23683         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23684         r=`${PWD_COMMAND}`; export r; \
23685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23686         $(SET_LIB_PATH) \
23687         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
23688         for flag in $(EXTRA_TARGET_FLAGS); do \
23689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23690         done; \
23691         (cd $(TARGET_SUBDIR)/qthreads && \
23692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23694                   "RANLIB=$${RANLIB}" \
23695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23696                   distclean) \
23697           || exit 1
23698
23699
23700 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
23701 maybe-maintainer-clean-target-qthreads:
23702
23703 maintainer-clean-target-qthreads: 
23704         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23705         r=`${PWD_COMMAND}`; export r; \
23706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23707         $(SET_LIB_PATH) \
23708         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
23709         for flag in $(EXTRA_TARGET_FLAGS); do \
23710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711         done; \
23712         (cd $(TARGET_SUBDIR)/qthreads && \
23713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23715                   "RANLIB=$${RANLIB}" \
23716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23717                   maintainer-clean) \
23718           || exit 1
23719
23720
23721
23722 .PHONY: configure-target-rda maybe-configure-target-rda
23723 maybe-configure-target-rda:
23724
23725 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23726 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23727         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23728         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23729         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23730
23731 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23732         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23733         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23734         r=`${PWD_COMMAND}`; export r; \
23735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23736         $(SET_LIB_PATH) \
23737         AR="$(AR_FOR_TARGET)"; export AR; \
23738         AS="$(AS_FOR_TARGET)"; export AS; \
23739         CC="$(CC_FOR_TARGET)"; export CC; \
23740         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23741         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23742         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23743         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23744         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23745         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23746         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23747         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23748         LD="$(LD_FOR_TARGET)"; export LD; \
23749         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23750         NM="$(NM_FOR_TARGET)"; export NM; \
23751         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23752         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23753         echo Configuring in $(TARGET_SUBDIR)/rda; \
23754         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23755         case $(srcdir) in \
23756           /* | [A-Za-z]:[\\/]*) \
23757             topdir=$(srcdir) ;; \
23758           *) \
23759             case "$(TARGET_SUBDIR)" in \
23760               .) topdir="../$(srcdir)" ;; \
23761               *) topdir="../../$(srcdir)" ;; \
23762             esac ;; \
23763         esac; \
23764           srcdiroption="--srcdir=$${topdir}/rda"; \
23765           libsrcdir="$$s/rda"; \
23766         rm -f no-such-file || : ; \
23767         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23768           $(TARGET_CONFIGARGS) $${srcdiroption} \
23769           --with-target-subdir="$(TARGET_SUBDIR)" \
23770           || exit 1
23771
23772 .PHONY: all-target-rda maybe-all-target-rda
23773 maybe-all-target-rda:
23774 all-target-rda: configure-target-rda
23775         @r=`${PWD_COMMAND}`; export r; \
23776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23777         $(SET_LIB_PATH) \
23778         (cd $(TARGET_SUBDIR)/rda && \
23779           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23780
23781 .PHONY: check-target-rda maybe-check-target-rda
23782 maybe-check-target-rda:
23783
23784 check-target-rda:
23785         @r=`${PWD_COMMAND}`; export r; \
23786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23787         $(SET_LIB_PATH) \
23788         (cd $(TARGET_SUBDIR)/rda && \
23789           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23790
23791
23792 .PHONY: install-target-rda maybe-install-target-rda
23793 maybe-install-target-rda:
23794
23795 install-target-rda: installdirs
23796         @r=`${PWD_COMMAND}`; export r; \
23797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23798         $(SET_LIB_PATH) \
23799         (cd $(TARGET_SUBDIR)/rda && \
23800           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23801
23802
23803 # Other targets (info, dvi, etc.)
23804
23805 .PHONY: maybe-info-target-rda info-target-rda
23806 maybe-info-target-rda:
23807
23808 info-target-rda: \
23809     configure-target-rda 
23810         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23811         r=`${PWD_COMMAND}`; export r; \
23812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23813         $(SET_LIB_PATH) \
23814         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
23815         for flag in $(EXTRA_TARGET_FLAGS); do \
23816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817         done; \
23818         (cd $(TARGET_SUBDIR)/rda && \
23819           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23820                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23821                   "RANLIB=$${RANLIB}" \
23822                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23823                   info) \
23824           || exit 1
23825
23826
23827 .PHONY: maybe-dvi-target-rda dvi-target-rda
23828 maybe-dvi-target-rda:
23829
23830 dvi-target-rda: \
23831     configure-target-rda 
23832         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23833         r=`${PWD_COMMAND}`; export r; \
23834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23835         $(SET_LIB_PATH) \
23836         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
23837         for flag in $(EXTRA_TARGET_FLAGS); do \
23838           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839         done; \
23840         (cd $(TARGET_SUBDIR)/rda && \
23841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23843                   "RANLIB=$${RANLIB}" \
23844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23845                   dvi) \
23846           || exit 1
23847
23848
23849 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
23850 maybe-TAGS-target-rda:
23851
23852 TAGS-target-rda: \
23853     configure-target-rda 
23854         @[ -f $(TARGET_SUBDIR)/rda/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)/rda" ; \
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)/rda && \
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
23871 .PHONY: maybe-install-info-target-rda install-info-target-rda
23872 maybe-install-info-target-rda:
23873
23874 install-info-target-rda: \
23875     configure-target-rda \
23876     info-target-rda 
23877         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23878         r=`${PWD_COMMAND}`; export r; \
23879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23880         $(SET_LIB_PATH) \
23881         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
23882         for flag in $(EXTRA_TARGET_FLAGS); do \
23883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884         done; \
23885         (cd $(TARGET_SUBDIR)/rda && \
23886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23888                   "RANLIB=$${RANLIB}" \
23889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23890                   install-info) \
23891           || exit 1
23892
23893
23894 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
23895 maybe-installcheck-target-rda:
23896
23897 installcheck-target-rda: \
23898     configure-target-rda 
23899         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23900         r=`${PWD_COMMAND}`; export r; \
23901         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902         $(SET_LIB_PATH) \
23903         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
23904         for flag in $(EXTRA_TARGET_FLAGS); do \
23905           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23906         done; \
23907         (cd $(TARGET_SUBDIR)/rda && \
23908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23910                   "RANLIB=$${RANLIB}" \
23911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23912                   installcheck) \
23913           || exit 1
23914
23915
23916 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
23917 maybe-mostlyclean-target-rda:
23918
23919 mostlyclean-target-rda: 
23920         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23921         r=`${PWD_COMMAND}`; export r; \
23922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23923         $(SET_LIB_PATH) \
23924         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
23925         for flag in $(EXTRA_TARGET_FLAGS); do \
23926           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23927         done; \
23928         (cd $(TARGET_SUBDIR)/rda && \
23929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23931                   "RANLIB=$${RANLIB}" \
23932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23933                   mostlyclean) \
23934           || exit 1
23935
23936
23937 .PHONY: maybe-clean-target-rda clean-target-rda
23938 maybe-clean-target-rda:
23939
23940 clean-target-rda: 
23941         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23942         r=`${PWD_COMMAND}`; export r; \
23943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23944         $(SET_LIB_PATH) \
23945         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
23946         for flag in $(EXTRA_TARGET_FLAGS); do \
23947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23948         done; \
23949         (cd $(TARGET_SUBDIR)/rda && \
23950           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23951                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23952                   "RANLIB=$${RANLIB}" \
23953                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23954                   clean) \
23955           || exit 1
23956
23957
23958 .PHONY: maybe-distclean-target-rda distclean-target-rda
23959 maybe-distclean-target-rda:
23960
23961 distclean-target-rda: 
23962         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23963         r=`${PWD_COMMAND}`; export r; \
23964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965         $(SET_LIB_PATH) \
23966         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
23967         for flag in $(EXTRA_TARGET_FLAGS); do \
23968           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23969         done; \
23970         (cd $(TARGET_SUBDIR)/rda && \
23971           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23972                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23973                   "RANLIB=$${RANLIB}" \
23974                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23975                   distclean) \
23976           || exit 1
23977
23978
23979 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
23980 maybe-maintainer-clean-target-rda:
23981
23982 maintainer-clean-target-rda: 
23983         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23984         r=`${PWD_COMMAND}`; export r; \
23985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986         $(SET_LIB_PATH) \
23987         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
23988         for flag in $(EXTRA_TARGET_FLAGS); do \
23989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23990         done; \
23991         (cd $(TARGET_SUBDIR)/rda && \
23992           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23993                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23994                   "RANLIB=$${RANLIB}" \
23995                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23996                   maintainer-clean) \
23997           || exit 1
23998
23999
24000
24001 .PHONY: configure-target-libada maybe-configure-target-libada
24002 maybe-configure-target-libada:
24003
24004 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24005 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
24006         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
24007         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
24008         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
24009
24010 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
24011         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
24012         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
24013         r=`${PWD_COMMAND}`; export r; \
24014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015         $(SET_LIB_PATH) \
24016         AR="$(AR_FOR_TARGET)"; export AR; \
24017         AS="$(AS_FOR_TARGET)"; export AS; \
24018         CC="$(CC_FOR_TARGET)"; export CC; \
24019         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24020         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24021         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24022         CXX="$(CXX_FOR_TARGET)"; export CXX; \
24023         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24024         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24025         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24026         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24027         LD="$(LD_FOR_TARGET)"; export LD; \
24028         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24029         NM="$(NM_FOR_TARGET)"; export NM; \
24030         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24031         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24032         echo Configuring in $(TARGET_SUBDIR)/libada; \
24033         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
24034         case $(srcdir) in \
24035           /* | [A-Za-z]:[\\/]*) \
24036             topdir=$(srcdir) ;; \
24037           *) \
24038             case "$(TARGET_SUBDIR)" in \
24039               .) topdir="../$(srcdir)" ;; \
24040               *) topdir="../../$(srcdir)" ;; \
24041             esac ;; \
24042         esac; \
24043           srcdiroption="--srcdir=$${topdir}/libada"; \
24044           libsrcdir="$$s/libada"; \
24045         rm -f no-such-file || : ; \
24046         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24047           $(TARGET_CONFIGARGS) $${srcdiroption} \
24048           --with-target-subdir="$(TARGET_SUBDIR)" \
24049           || exit 1
24050
24051 .PHONY: all-target-libada maybe-all-target-libada
24052 maybe-all-target-libada:
24053 all-target-libada: configure-target-libada
24054         @r=`${PWD_COMMAND}`; export r; \
24055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056         $(SET_LIB_PATH) \
24057         (cd $(TARGET_SUBDIR)/libada && \
24058           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
24059
24060 .PHONY: check-target-libada maybe-check-target-libada
24061 maybe-check-target-libada:
24062
24063 check-target-libada:
24064         @r=`${PWD_COMMAND}`; export r; \
24065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066         $(SET_LIB_PATH) \
24067         (cd $(TARGET_SUBDIR)/libada && \
24068           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
24069
24070
24071 .PHONY: install-target-libada maybe-install-target-libada
24072 maybe-install-target-libada:
24073
24074 install-target-libada: installdirs
24075         @r=`${PWD_COMMAND}`; export r; \
24076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24077         $(SET_LIB_PATH) \
24078         (cd $(TARGET_SUBDIR)/libada && \
24079           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24080
24081
24082 # Other targets (info, dvi, etc.)
24083
24084 .PHONY: maybe-info-target-libada info-target-libada
24085 maybe-info-target-libada:
24086
24087 info-target-libada: \
24088     configure-target-libada 
24089         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24090         r=`${PWD_COMMAND}`; export r; \
24091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24092         $(SET_LIB_PATH) \
24093         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
24094         for flag in $(EXTRA_TARGET_FLAGS); do \
24095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24096         done; \
24097         (cd $(TARGET_SUBDIR)/libada && \
24098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24100                   "RANLIB=$${RANLIB}" \
24101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24102                   info) \
24103           || exit 1
24104
24105
24106 .PHONY: maybe-dvi-target-libada dvi-target-libada
24107 maybe-dvi-target-libada:
24108
24109 dvi-target-libada: \
24110     configure-target-libada 
24111         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24112         r=`${PWD_COMMAND}`; export r; \
24113         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114         $(SET_LIB_PATH) \
24115         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
24116         for flag in $(EXTRA_TARGET_FLAGS); do \
24117           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118         done; \
24119         (cd $(TARGET_SUBDIR)/libada && \
24120           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122                   "RANLIB=$${RANLIB}" \
24123                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24124                   dvi) \
24125           || exit 1
24126
24127
24128 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
24129 maybe-TAGS-target-libada:
24130
24131 TAGS-target-libada: \
24132     configure-target-libada 
24133         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24134         r=`${PWD_COMMAND}`; export r; \
24135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24136         $(SET_LIB_PATH) \
24137         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
24138         for flag in $(EXTRA_TARGET_FLAGS); do \
24139           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24140         done; \
24141         (cd $(TARGET_SUBDIR)/libada && \
24142           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144                   "RANLIB=$${RANLIB}" \
24145                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24146                   TAGS) \
24147           || exit 1
24148
24149
24150 .PHONY: maybe-install-info-target-libada install-info-target-libada
24151 maybe-install-info-target-libada:
24152
24153 install-info-target-libada: \
24154     configure-target-libada \
24155     info-target-libada 
24156         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24157         r=`${PWD_COMMAND}`; export r; \
24158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24159         $(SET_LIB_PATH) \
24160         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
24161         for flag in $(EXTRA_TARGET_FLAGS); do \
24162           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24163         done; \
24164         (cd $(TARGET_SUBDIR)/libada && \
24165           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24166                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24167                   "RANLIB=$${RANLIB}" \
24168                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24169                   install-info) \
24170           || exit 1
24171
24172
24173 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
24174 maybe-installcheck-target-libada:
24175
24176 installcheck-target-libada: \
24177     configure-target-libada 
24178         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24179         r=`${PWD_COMMAND}`; export r; \
24180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24181         $(SET_LIB_PATH) \
24182         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
24183         for flag in $(EXTRA_TARGET_FLAGS); do \
24184           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24185         done; \
24186         (cd $(TARGET_SUBDIR)/libada && \
24187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24189                   "RANLIB=$${RANLIB}" \
24190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24191                   installcheck) \
24192           || exit 1
24193
24194
24195 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
24196 maybe-mostlyclean-target-libada:
24197
24198 mostlyclean-target-libada: 
24199         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24200         r=`${PWD_COMMAND}`; export r; \
24201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202         $(SET_LIB_PATH) \
24203         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
24204         for flag in $(EXTRA_TARGET_FLAGS); do \
24205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24206         done; \
24207         (cd $(TARGET_SUBDIR)/libada && \
24208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24210                   "RANLIB=$${RANLIB}" \
24211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24212                   mostlyclean) \
24213           || exit 1
24214
24215
24216 .PHONY: maybe-clean-target-libada clean-target-libada
24217 maybe-clean-target-libada:
24218
24219 clean-target-libada: 
24220         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24221         r=`${PWD_COMMAND}`; export r; \
24222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223         $(SET_LIB_PATH) \
24224         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
24225         for flag in $(EXTRA_TARGET_FLAGS); do \
24226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227         done; \
24228         (cd $(TARGET_SUBDIR)/libada && \
24229           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231                   "RANLIB=$${RANLIB}" \
24232                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24233                   clean) \
24234           || exit 1
24235
24236
24237 .PHONY: maybe-distclean-target-libada distclean-target-libada
24238 maybe-distclean-target-libada:
24239
24240 distclean-target-libada: 
24241         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24242         r=`${PWD_COMMAND}`; export r; \
24243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24244         $(SET_LIB_PATH) \
24245         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
24246         for flag in $(EXTRA_TARGET_FLAGS); do \
24247           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24248         done; \
24249         (cd $(TARGET_SUBDIR)/libada && \
24250           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24251                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24252                   "RANLIB=$${RANLIB}" \
24253                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24254                   distclean) \
24255           || exit 1
24256
24257
24258 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
24259 maybe-maintainer-clean-target-libada:
24260
24261 maintainer-clean-target-libada: 
24262         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24263         r=`${PWD_COMMAND}`; export r; \
24264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24265         $(SET_LIB_PATH) \
24266         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
24267         for flag in $(EXTRA_TARGET_FLAGS); do \
24268           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24269         done; \
24270         (cd $(TARGET_SUBDIR)/libada && \
24271           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24272                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24273                   "RANLIB=$${RANLIB}" \
24274                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24275                   maintainer-clean) \
24276           || exit 1
24277
24278
24279
24280
24281 # ----------
24282 # GCC module
24283 # ----------
24284
24285 # Unfortunately, while gcc _should_ be a host module,
24286 # libgcc is a target module, and gen* programs are
24287 # build modules.  So GCC is a sort of hybrid.
24288
24289 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
24290 # Don't use shared host config.cache, as it will confuse later
24291 # directories; GCC wants slightly different values for some
24292 # precious variables.  *sigh*
24293
24294 # We must skip configuring if toplevel bootstrap is going.
24295 .PHONY: configure-gcc maybe-configure-gcc
24296 maybe-configure-gcc:
24297 configure-gcc:
24298         @test ! -f gcc/Makefile || exit 0; \
24299         [ -f stage_last ] && exit 0; \
24300         [ -d gcc ] || mkdir gcc; \
24301         r=`${PWD_COMMAND}`; export r; \
24302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303         CC="$(CC)"; export CC; \
24304         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24305         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24306         CXX="$(CXX)"; export CXX; \
24307         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24308         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24309         AR="$(AR)"; export AR; \
24310         AS="$(AS)"; export AS; \
24311         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24312         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24313         LD="$(LD)"; export LD; \
24314         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24315         NM="$(NM)"; export NM; \
24316         RANLIB="$(RANLIB)"; export RANLIB; \
24317         WINDRES="$(WINDRES)"; export WINDRES; \
24318         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24319         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24320         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
24321         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
24322         echo Configuring in gcc; \
24323         cd gcc || exit 1; \
24324         case $(srcdir) in \
24325           \.) \
24326             srcdiroption="--srcdir=."; \
24327             libsrcdir=".";; \
24328           /* | [A-Za-z]:[\\/]*) \
24329             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24330             libsrcdir="$$s/gcc";; \
24331           *) \
24332             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24333             libsrcdir="$$s/gcc";; \
24334         esac; \
24335         $(SHELL) $${libsrcdir}/configure \
24336           $(HOST_CONFIGARGS) $${srcdiroption} \
24337           || exit 1
24338
24339 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
24340 # causes trouble.  This wart will be fixed eventually by moving
24341 # the bootstrap behavior to this file.
24342 .PHONY: all-gcc maybe-all-gcc
24343 maybe-all-gcc:
24344 all-gcc: configure-gcc
24345         r=`${PWD_COMMAND}`; export r; \
24346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347         if [ -f stage_last ] ; then \
24348           true ; \
24349         elif [ -f gcc/stage_last ] ; then \
24350           $(SET_LIB_PATH) \
24351           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
24352         else \
24353           $(SET_LIB_PATH) \
24354           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
24355         fi
24356
24357 # Building GCC uses some tools for rebuilding "source" files
24358 # like texinfo, bison/byacc, etc.  So we must depend on those.
24359 #
24360 # While building GCC, it may be necessary to run various target
24361 # programs like the assembler, linker, etc.  So we depend on
24362 # those too.
24363 #
24364 # In theory, on an SMP all those dependencies can be resolved
24365 # in parallel.
24366 #
24367 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
24368 .PHONY: $(GCC_STRAP_TARGETS)
24369 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
24370         @r=`${PWD_COMMAND}`; export r; \
24371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372         $(SET_LIB_PATH) \
24373         echo "Bootstrapping the compiler"; \
24374         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
24375         @r=`${PWD_COMMAND}`; export r; \
24376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24377         case "$@" in \
24378           *bootstrap4-lean ) \
24379             msg="Comparing stage3 and stage4 of the compiler"; \
24380             compare=compare3-lean ;; \
24381           *bootstrap4 ) \
24382             msg="Comparing stage3 and stage4 of the compiler"; \
24383             compare=compare3 ;; \
24384           *-lean ) \
24385             msg="Comparing stage2 and stage3 of the compiler"; \
24386             compare=compare-lean ;; \
24387           * ) \
24388             msg="Comparing stage2 and stage3 of the compiler"; \
24389             compare=compare ;; \
24390         esac; \
24391         $(SET_LIB_PATH) \
24392         echo "$$msg"; \
24393         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
24394         @r=`${PWD_COMMAND}`; export r; \
24395         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24396         $(SET_LIB_PATH) \
24397         echo "Building runtime libraries"; \
24398         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
24399
24400 profiledbootstrap: all-bootstrap configure-gcc
24401         @r=`${PWD_COMMAND}`; export r; \
24402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403         $(SET_LIB_PATH) \
24404         echo "Bootstrapping the compiler"; \
24405         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
24406         @r=`${PWD_COMMAND}`; export r; \
24407         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24408         $(SET_LIB_PATH) \
24409         echo "Building runtime libraries and training compiler"; \
24410         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
24411         @r=`${PWD_COMMAND}`; export r; \
24412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24413         $(SET_LIB_PATH) \
24414         echo "Building feedback based compiler"; \
24415         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
24416
24417 .PHONY: cross
24418 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
24419         @r=`${PWD_COMMAND}`; export r; \
24420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24421         $(SET_LIB_PATH) \
24422         echo "Building the C and C++ compiler"; \
24423         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
24424         @r=`${PWD_COMMAND}`; export r; \
24425         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24426         $(SET_LIB_PATH) \
24427         echo "Building runtime libraries"; \
24428         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
24429           LANGUAGES="c c++" all
24430
24431 .PHONY: check-gcc maybe-check-gcc
24432 maybe-check-gcc:
24433 check-gcc:
24434         @if [ -f ./gcc/Makefile ] ; then \
24435           r=`${PWD_COMMAND}`; export r; \
24436           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437           $(SET_LIB_PATH) \
24438           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
24439         else \
24440           true; \
24441         fi
24442
24443 .PHONY: check-gcc-c++
24444 check-gcc-c++:
24445         @if [ -f ./gcc/Makefile ] ; then \
24446           r=`${PWD_COMMAND}`; export r; \
24447           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24448           $(SET_LIB_PATH) \
24449           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
24450         else \
24451           true; \
24452         fi
24453
24454 .PHONY: check-c++
24455 check-c++: check-target-libstdc++-v3 check-gcc-c++
24456
24457 .PHONY: install-gcc maybe-install-gcc
24458 maybe-install-gcc:
24459 install-gcc:
24460         @if [ -f ./gcc/Makefile ] ; then \
24461           r=`${PWD_COMMAND}`; export r; \
24462           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24463           $(SET_LIB_PATH) \
24464           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
24465         else \
24466           true; \
24467         fi
24468
24469 # Install the gcc headers files, but not the fixed include files,
24470 # which Cygnus is not allowed to distribute.  This rule is very
24471 # dependent on the workings of the gcc Makefile.in.
24472 .PHONY: gcc-no-fixedincludes
24473 gcc-no-fixedincludes:
24474         @if [ -f ./gcc/Makefile ]; then \
24475           rm -rf gcc/tmp-include; \
24476           mv gcc/include gcc/tmp-include 2>/dev/null; \
24477           mkdir gcc/include; \
24478           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
24479           touch gcc/stmp-fixinc gcc/include/fixed; \
24480           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
24481           r=`${PWD_COMMAND}`; export r; \
24482           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24483           $(SET_LIB_PATH) \
24484           (cd ./gcc && \
24485            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
24486           rm -rf gcc/include; \
24487           mv gcc/tmp-include gcc/include 2>/dev/null; \
24488         else true; fi
24489
24490 # Other targets (dvi, info, etc.)
24491
24492 .PHONY: maybe-info-gcc info-gcc
24493 maybe-info-gcc:
24494 info-gcc: \
24495     configure-gcc 
24496         @[ -f ./gcc/Makefile ] || exit 0; \
24497         r=`${PWD_COMMAND}`; export r; \
24498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499         $(SET_LIB_PATH) \
24500         for flag in $(EXTRA_GCC_FLAGS); do \
24501           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24502         done; \
24503         echo "Doing info in gcc" ; \
24504         (cd gcc && \
24505           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24506                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24507                   "RANLIB=$${RANLIB}" \
24508                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24509                   info) \
24510           || exit 1
24511
24512
24513 .PHONY: maybe-dvi-gcc dvi-gcc
24514 maybe-dvi-gcc:
24515 dvi-gcc: \
24516     configure-gcc 
24517         @[ -f ./gcc/Makefile ] || exit 0; \
24518         r=`${PWD_COMMAND}`; export r; \
24519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520         $(SET_LIB_PATH) \
24521         for flag in $(EXTRA_GCC_FLAGS); do \
24522           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24523         done; \
24524         echo "Doing dvi in gcc" ; \
24525         (cd gcc && \
24526           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528                   "RANLIB=$${RANLIB}" \
24529                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24530                   dvi) \
24531           || exit 1
24532
24533
24534 .PHONY: maybe-TAGS-gcc TAGS-gcc
24535 maybe-TAGS-gcc:
24536 TAGS-gcc: \
24537     configure-gcc 
24538         @[ -f ./gcc/Makefile ] || exit 0; \
24539         r=`${PWD_COMMAND}`; export r; \
24540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541         $(SET_LIB_PATH) \
24542         for flag in $(EXTRA_GCC_FLAGS); do \
24543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24544         done; \
24545         echo "Doing TAGS in gcc" ; \
24546         (cd gcc && \
24547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24549                   "RANLIB=$${RANLIB}" \
24550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24551                   TAGS) \
24552           || exit 1
24553
24554
24555 .PHONY: maybe-install-info-gcc install-info-gcc
24556 maybe-install-info-gcc:
24557 install-info-gcc: \
24558     configure-gcc \
24559     info-gcc 
24560         @[ -f ./gcc/Makefile ] || exit 0; \
24561         r=`${PWD_COMMAND}`; export r; \
24562         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563         $(SET_LIB_PATH) \
24564         for flag in $(EXTRA_GCC_FLAGS); do \
24565           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24566         done; \
24567         echo "Doing install-info in gcc" ; \
24568         (cd gcc && \
24569           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571                   "RANLIB=$${RANLIB}" \
24572                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24573                   install-info) \
24574           || exit 1
24575
24576
24577 .PHONY: maybe-installcheck-gcc installcheck-gcc
24578 maybe-installcheck-gcc:
24579 installcheck-gcc: \
24580     configure-gcc 
24581         @[ -f ./gcc/Makefile ] || exit 0; \
24582         r=`${PWD_COMMAND}`; export r; \
24583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584         $(SET_LIB_PATH) \
24585         for flag in $(EXTRA_GCC_FLAGS); do \
24586           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24587         done; \
24588         echo "Doing installcheck in gcc" ; \
24589         (cd gcc && \
24590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592                   "RANLIB=$${RANLIB}" \
24593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24594                   installcheck) \
24595           || exit 1
24596
24597
24598 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
24599 maybe-mostlyclean-gcc:
24600 mostlyclean-gcc: 
24601         @[ -f ./gcc/Makefile ] || exit 0; \
24602         r=`${PWD_COMMAND}`; export r; \
24603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604         $(SET_LIB_PATH) \
24605         for flag in $(EXTRA_GCC_FLAGS); do \
24606           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24607         done; \
24608         echo "Doing mostlyclean in gcc" ; \
24609         (cd gcc && \
24610           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24611                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24612                   "RANLIB=$${RANLIB}" \
24613                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24614                   mostlyclean) \
24615           || exit 1
24616
24617
24618 .PHONY: maybe-clean-gcc clean-gcc
24619 maybe-clean-gcc:
24620 clean-gcc: 
24621         @[ -f ./gcc/Makefile ] || exit 0; \
24622         r=`${PWD_COMMAND}`; export r; \
24623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624         $(SET_LIB_PATH) \
24625         for flag in $(EXTRA_GCC_FLAGS); do \
24626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24627         done; \
24628         echo "Doing clean in gcc" ; \
24629         (cd gcc && \
24630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24632                   "RANLIB=$${RANLIB}" \
24633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24634                   clean) \
24635           || exit 1
24636
24637
24638 .PHONY: maybe-distclean-gcc distclean-gcc
24639 maybe-distclean-gcc:
24640 distclean-gcc: 
24641         @[ -f ./gcc/Makefile ] || exit 0; \
24642         r=`${PWD_COMMAND}`; export r; \
24643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644         $(SET_LIB_PATH) \
24645         for flag in $(EXTRA_GCC_FLAGS); do \
24646           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647         done; \
24648         echo "Doing distclean in gcc" ; \
24649         (cd gcc && \
24650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652                   "RANLIB=$${RANLIB}" \
24653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24654                   distclean) \
24655           || exit 1
24656
24657
24658 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
24659 maybe-maintainer-clean-gcc:
24660 maintainer-clean-gcc: 
24661         @[ -f ./gcc/Makefile ] || exit 0; \
24662         r=`${PWD_COMMAND}`; export r; \
24663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664         $(SET_LIB_PATH) \
24665         for flag in $(EXTRA_GCC_FLAGS); do \
24666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24667         done; \
24668         echo "Doing maintainer-clean in gcc" ; \
24669         (cd gcc && \
24670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24672                   "RANLIB=$${RANLIB}" \
24673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24674                   maintainer-clean) \
24675           || exit 1
24676
24677
24678
24679 # ---------------------
24680 # GCC bootstrap support
24681 # ---------------------
24682
24683 # We name the directories for the various stages "stage1-gcc",
24684 # "stage2-gcc","stage3-gcc", etc.  
24685 # Unfortunately, the 'compare' process will fail (on debugging information)
24686 # if any directory names are different!
24687 # So in the building rule for each stage, we relocate them before and after.
24688 # The current one is 'gcc', while the previous one is 'prev-gcc'.  (The
24689 # current one must be 'gcc' for now because the scripts in that directory
24690 # assume it.)
24691 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
24692 # libraries can find it.  Ick!
24693
24694 # Bugs: This is almost certainly not parallel-make safe.
24695
24696 # 'touch' doesn't work right on some platforms.
24697 STAMP = echo timestamp > 
24698
24699 # Only build the C compiler for stage1, because that is the only one that
24700 # we can guarantee will build with the native compiler, and also it is the
24701 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
24702 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
24703 # overrideable (for a bootstrap build stage1 also builds gcc.info).
24704
24705 STAGE1_CFLAGS=@stage1_cflags@
24706 STAGE1_LANGUAGES=@stage1_languages@
24707
24708 # For stage 1:
24709 # * We force-disable intermodule optimizations, even if
24710 #   --enable-intermodule was passed, since the installed compiler probably
24711 #   can't handle them.  Luckily, autoconf always respects
24712 #   the last argument when conflicting --enable arguments are passed.
24713 # * Likewise, we force-disable coverage flags, since the installed compiler
24714 #   probably has never heard of them.
24715 # * We build only C (and possibly Ada).
24716 configure-stage1-gcc:
24717         echo configure-stage1-gcc > stage_last ; \
24718         if [ -f stage1-gcc/Makefile ] ; then \
24719           $(STAMP) configure-stage1-gcc ; \
24720           exit 0; \
24721         else \
24722           true ; \
24723         fi ; \
24724         [ -d stage1-gcc ] || mkdir stage1-gcc; \
24725         mv stage1-gcc gcc ; \
24726         r=`${PWD_COMMAND}`; export r; \
24727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24728         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24729         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24730         CC="$(CC)"; export CC; \
24731         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24732         CXX="$(CXX)"; export CXX; \
24733         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24734         AR="$(AR)"; export AR; \
24735         AS="$(AS)"; export AS; \
24736         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24737         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24738         LD="$(LD)"; export LD; \
24739         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24740         NM="$(NM)"; export NM; \
24741         RANLIB="$(RANLIB)"; export RANLIB; \
24742         WINDRES="$(WINDRES)"; export WINDRES; \
24743         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24744         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24745         echo Configuring stage 1 in gcc; \
24746         cd gcc || exit 1; \
24747         case $(srcdir) in \
24748           \.) \
24749             srcdiroption="--srcdir=."; \
24750             libsrcdir=".";; \
24751           /* | [A-Za-z]:[\\/]*) \
24752             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24753             libsrcdir="$$s/gcc";; \
24754           *) \
24755             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24756             libsrcdir="$$s/gcc";; \
24757         esac; \
24758         $(SHELL) $${libsrcdir}/configure \
24759           $(HOST_CONFIGARGS) $${srcdiroption} \
24760           --disable-intermodule --disable-coverage \
24761           --enable-languages="$(STAGE1_LANGUAGES)"; \
24762         cd .. ; \
24763         mv gcc stage1-gcc ; \
24764         $(STAMP) configure-stage1-gcc
24765
24766 # Real targets act phony if they depend on phony targets; this hack
24767 # prevents gratuitous rebuilding of stage 1.
24768 prebootstrap:
24769         $(MAKE) all-bootstrap
24770         $(STAMP) prebootstrap
24771
24772 all-stage1-gcc: configure-stage1-gcc prebootstrap
24773         echo all-stage1-gcc > stage_last ; \
24774         r=`${PWD_COMMAND}`; export r; \
24775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24776         mv stage1-gcc gcc ; \
24777         cd gcc && \
24778         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24779                 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc ; \
24780         result=$$? ; \
24781         cd .. ; \
24782         mv gcc stage1-gcc ; \
24783         exit $$result
24784
24785 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
24786 # Possibly pass --enable-werror-always (depending on --enable-werror);
24787 # that's what @stage2_werror_flag@ is for
24788 configure-stage2-gcc: all-stage1-gcc
24789         echo configure-stage2-gcc > stage_last ; \
24790         if [ -f stage2-gcc/Makefile ] ; then \
24791           $(STAMP) configure-stage2-gcc ; \
24792           exit 0; \
24793         else \
24794           true ; \
24795         fi ; \
24796         [ -d stage2-gcc ] || mkdir stage2-gcc; \
24797         mv stage2-gcc gcc ; \
24798         mv stage1-gcc prev-gcc ; \
24799         r=`${PWD_COMMAND}`; export r; \
24800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24801         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24802         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24803         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24804         CXX="$(CXX)"; export CXX; \
24805         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24806         AR="$(AR)"; export AR; \
24807         AS="$(AS)"; export AS; \
24808         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24809         LD="$(LD)"; export LD; \
24810         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24811         NM="$(NM)"; export NM; \
24812         RANLIB="$(RANLIB)"; export RANLIB; \
24813         WINDRES="$(WINDRES)"; export WINDRES; \
24814         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24815         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24816         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24817         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24818         echo Configuring stage 2 in gcc; \
24819         cd gcc || exit 1; \
24820         case $(srcdir) in \
24821           \.) \
24822             srcdiroption="--srcdir=."; \
24823             libsrcdir=".";; \
24824           /* | [A-Za-z]:[\\/]*) \
24825             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24826             libsrcdir="$$s/gcc";; \
24827           *) \
24828             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24829             libsrcdir="$$s/gcc";; \
24830         esac; \
24831         $(SHELL) $${libsrcdir}/configure \
24832           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24833         cd .. ; \
24834         mv gcc stage2-gcc ; \
24835         mv prev-gcc stage1-gcc ; \
24836         $(STAMP) configure-stage2-gcc
24837
24838 # Flags to pass to stage2 and later makes.
24839 BOOT_CFLAGS= -g -O2
24840 POSTSTAGE1_FLAGS_TO_PASS = \
24841         CFLAGS="$(BOOT_CFLAGS)" \
24842         ADAC="\$$(CC)"
24843
24844 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
24845         echo all-stage2-gcc > stage_last ; \
24846         r=`${PWD_COMMAND}`; export r; \
24847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24848         mv stage2-gcc gcc ; \
24849         mv stage1-gcc prev-gcc ; \
24850         cd gcc && \
24851         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24852                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24853                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24854                 STAGE_PREFIX=$$r/prev-gcc/ \
24855                 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage2-gcc ; \
24856         result=$$? ; \
24857         cd .. ; \
24858         mv prev-gcc stage1-gcc ; \
24859         mv gcc stage2-gcc ; \
24860         exit $$result
24861
24862 configure-stage3-gcc: all-stage2-gcc
24863         echo configure-stage3-gcc > stage_last ; \
24864         if [ -f stage3-gcc/Makefile ] ; then \
24865           $(STAMP) configure-stage3-gcc ; \
24866           exit 0; \
24867         else \
24868           true ; \
24869         fi ; \
24870         [ -d stage3-gcc ] || mkdir stage3-gcc; \
24871         mv stage3-gcc gcc ; \
24872         mv stage2-gcc prev-gcc ; \
24873         r=`${PWD_COMMAND}`; export r; \
24874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24876         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24877         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24878         CXX="$(CXX)"; export CXX; \
24879         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24880         AR="$(AR)"; export AR; \
24881         AS="$(AS)"; export AS; \
24882         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24883         LD="$(LD)"; export LD; \
24884         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24885         NM="$(NM)"; export NM; \
24886         RANLIB="$(RANLIB)"; export RANLIB; \
24887         WINDRES="$(WINDRES)"; export WINDRES; \
24888         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24889         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24890         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24891         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24892         echo Configuring stage 3 in gcc; \
24893         cd gcc || exit 1; \
24894         case $(srcdir) in \
24895           \.) \
24896             srcdiroption="--srcdir=."; \
24897             libsrcdir=".";; \
24898           /* | [A-Za-z]:[\\/]*) \
24899             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24900             libsrcdir="$$s/gcc";; \
24901           *) \
24902             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24903             libsrcdir="$$s/gcc";; \
24904         esac; \
24905         $(SHELL) $${libsrcdir}/configure \
24906           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24907         cd .. ; \
24908         mv gcc stage3-gcc ; \
24909         mv prev-gcc stage2-gcc ; \
24910         $(STAMP) configure-stage3-gcc
24911
24912 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
24913         echo all-stage3-gcc > stage_last ; \
24914         r=`${PWD_COMMAND}`; export r; \
24915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24916         mv stage2-gcc prev-gcc ; \
24917         mv stage3-gcc gcc ; \
24918         cd gcc && \
24919         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24920                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24921                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24922                 STAGE_PREFIX=$$r/prev-gcc/ \
24923                 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage3-gcc \
24924         result=$$? ; \
24925         cd .. ; \
24926         mv prev-gcc stage2-gcc ; \
24927         mv gcc stage3-gcc ; \
24928         exit $$result
24929
24930 # We only want to compare .o files, so set this!
24931 objext = .o
24932
24933 compare: all-stage3-gcc
24934         r=`${PWD_COMMAND}`; export r; \
24935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24936         rm -f .bad_compare ; \
24937         cd stage3-gcc; \
24938         files=`find . -name "*$(objext)" -print` ; \
24939         cd .. ; \
24940         for file in $${files} ; do \
24941           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
24942           @do_compare@ > /dev/null 2>&1; \
24943           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
24944         done ; \
24945         if [ -f .bad_compare ]; then \
24946           echo "Bootstrap comparison failure!"; \
24947           cat .bad_compare; \
24948           exit 1; \
24949         else \
24950           true; \
24951         fi ; \
24952         $(STAMP) compare
24953
24954 .PHONY: new-bootstrap
24955 # This target exists so that everything can be made in one pass.
24956 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
24957 # this to work.
24958 new-bootstrap: compare
24959         mv stage3-gcc gcc ; \
24960         $(MAKE) all ; \
24961         mv gcc stage3-gcc
24962
24963 new-cleanstrap:
24964         rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc \
24965           configure-stage2-gcc all-stage2-gcc stage2-gcc \
24966           configure-stage3-gcc all-stage3-gcc stage3-gcc \
24967           compare
24968         $(MAKE) new-bootstrap
24969
24970 new-restage1:
24971         rm -rf all-stage1-gcc \
24972           configure-stage2-gcc all-stage2-gcc stage2-gcc \
24973           configure-stage3-gcc all-stage3-gcc stage3-gcc \
24974           compare
24975         $(MAKE) all-stage1-gcc
24976
24977 new-restage2: all-stage1-gcc
24978         rm -rf all-stage2-gcc \
24979           configure-stage3-gcc all-stage3-gcc stage3-gcc \
24980           compare
24981         $(MAKE) all-stage2-gcc
24982
24983 new-restage3: all-stage2-gcc
24984         rm -rf all-stage3-gcc compare
24985         $(MAKE) compare
24986
24987 # --------------------------------------
24988 # Dependencies between different modules
24989 # --------------------------------------
24990
24991 # There are two types of dependencies here: 'hard' dependencies, where one
24992 # module simply won't build without the other; and 'soft' dependencies, where
24993 # if the depended-on module is missing, the depending module will do without
24994 # or find a substitute somewhere (perhaps installed).  Soft dependencies
24995 # are specified by depending on a 'maybe-' target.  If you're not sure,
24996 # it's safer to use a soft dependency.
24997
24998 # Host modules specific to gcc.
24999 # GCC needs to identify certain tools.
25000 # GCC also needs the information exported by the intl configure script.
25001 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
25002 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
25003 # This is a slightly kludgy method of getting dependencies on 
25004 # all-build-libiberty correct; it would be better to build it every time.
25005 all-gcc: maybe-all-build-libiberty maybe-all-libbanshee
25006 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 
25007
25008 # Host modules specific to gdb.
25009 # GDB needs to know that the simulator is being built.
25010 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
25011 GDB_TK = @GDB_TK@
25012 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)
25013 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
25014 configure-libgui: maybe-configure-tcl maybe-configure-tk
25015 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
25016
25017 # Host modules specific to binutils.
25018 configure-bfd: configure-libiberty
25019 all-bfd: maybe-all-libiberty maybe-all-intl
25020 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
25021 # We put install-opcodes before install-binutils because the installed
25022 # binutils might be on PATH, and they might need the shared opcodes
25023 # library.
25024 install-binutils: maybe-install-opcodes
25025 # libopcodes depends on libbfd
25026 install-opcodes: maybe-install-bfd
25027 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
25028 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
25029 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
25030 all-opcodes: maybe-all-bfd maybe-all-libiberty
25031
25032 # Other host modules in the 'src' repository.
25033 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
25034 configure-expect: maybe-configure-tcl maybe-configure-tk
25035 all-expect: maybe-all-tcl maybe-all-tk
25036 configure-itcl: maybe-configure-tcl maybe-configure-tk
25037 all-itcl: maybe-all-tcl maybe-all-tk
25038 # We put install-tcl before install-itcl because itcl wants to run a
25039 # program on installation which uses the Tcl libraries.
25040 install-itcl: maybe-install-tcl
25041 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
25042 install-sid: maybe-install-tcl maybe-install-tk
25043 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
25044 configure-tk: maybe-configure-tcl
25045 all-tk: maybe-all-tcl
25046 configure-tix: maybe-configure-tcl maybe-configure-tk
25047 all-tix: maybe-all-tcl maybe-all-tk
25048 all-texinfo: maybe-all-libiberty
25049
25050 # Other host modules.  Warning, these are not well tested.
25051 all-autoconf: maybe-all-m4 maybe-all-texinfo
25052 all-automake: maybe-all-m4 maybe-all-texinfo
25053 all-bison: maybe-all-texinfo
25054 all-diff: maybe-all-libiberty
25055 all-fastjar: maybe-all-zlib maybe-all-libiberty
25056 all-fileutils: maybe-all-libiberty
25057 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
25058 all-gzip: maybe-all-libiberty
25059 all-hello: maybe-all-libiberty
25060 all-m4: maybe-all-libiberty maybe-all-texinfo
25061 all-make: maybe-all-libiberty maybe-all-intl
25062 all-patch: maybe-all-libiberty
25063 all-prms: maybe-all-libiberty
25064 all-recode: maybe-all-libiberty
25065 all-sed: maybe-all-libiberty
25066 all-send-pr: maybe-all-prms
25067 all-tar: maybe-all-libiberty
25068 all-uudecode: maybe-all-libiberty
25069
25070 ALL_GCC = maybe-all-gcc
25071 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
25072 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
25073
25074 # Target modules specific to gcc.
25075 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
25076 configure-target-fastjar: maybe-configure-target-zlib
25077 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
25078 configure-target-libada: $(ALL_GCC_C)
25079 configure-target-libgfortran: $(ALL_GCC_C)
25080 configure-target-libffi: $(ALL_GCC_C) 
25081 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
25082 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
25083 configure-target-libobjc: $(ALL_GCC_C)
25084 all-target-libobjc: maybe-all-target-libiberty
25085 configure-target-libstdc++-v3: $(ALL_GCC_C)
25086 all-target-libstdc++-v3: maybe-all-target-libiberty
25087 configure-target-zlib: $(ALL_GCC_C)
25088
25089 # Target modules in the 'src' repository.
25090 configure-target-examples: $(ALL_GCC_C)
25091 configure-target-libgloss: $(ALL_GCC)
25092 all-target-libgloss: maybe-configure-target-newlib
25093 configure-target-libiberty: $(ALL_GCC)
25094 configure-target-libtermcap: $(ALL_GCC_C)
25095 configure-target-newlib: $(ALL_GCC)
25096 configure-target-rda: $(ALL_GCC_C)
25097 configure-target-winsup: $(ALL_GCC_C)
25098 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
25099
25100 # Other target modules.  Warning, these are not well tested.
25101 configure-target-gperf: $(ALL_GCC_CXX)
25102 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
25103 configure-target-qthreads: $(ALL_GCC_C)
25104
25105 # Dependencies of maybe-foo on foo.  These are used because, for example,
25106 # all-gcc only depends on all-gas if gas is present and being configured.
25107 @maybe_dependencies@
25108
25109 # Serialization dependencies.  Host configures don't work well in parallel to
25110 # each other, due to contention over config.cache.  Target configures and 
25111 # build configures are similar.
25112 @serialization_dependencies@
25113
25114 # --------------------------------
25115 # Regenerating top level configury
25116 # --------------------------------
25117
25118 # Multilib.out tells target dirs what multilibs they should build.
25119 # There is really only one copy.  We use the 'timestamp' method to
25120 # work around various timestamp bugs on some systems.
25121 # We use move-if-change so that it's only considered updated when it
25122 # actually changes, because it has to depend on a phony target.
25123 multilib.out: maybe-all-gcc
25124         @r=`${PWD_COMMAND}`; export r; \
25125         echo "Checking multilib configuration..."; \
25126         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
25127         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
25128
25129 # Rebuilding Makefile.in, using autogen.
25130 AUTOGEN = autogen
25131 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
25132         cd $(srcdir) && $(AUTOGEN) Makefile.def
25133
25134 # Rebuilding Makefile.
25135 Makefile: $(srcdir)/Makefile.in config.status
25136         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
25137
25138 config.status: configure $(gcc_version_trigger)
25139         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
25140
25141 # Rebuilding configure.
25142 AUTOCONF = autoconf
25143 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
25144         cd $(srcdir) && $(AUTOCONF)
25145
25146 # ------------------------------
25147 # Special directives to GNU Make
25148 # ------------------------------
25149
25150 # Don't pass command-line variables to submakes.
25151 .NOEXPORT:
25152 MAKEOVERRIDES=
25153
25154 # end of Makefile.in