Fix LDFLAGS related configure errors.
[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
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 # ----------------------------------------------
128 # Programs producing files for the BUILD machine
129 # ----------------------------------------------
130
131 SHELL = @config_shell@
132
133 # pwd command to use.  Allow user to override default by setting PWDCMD in
134 # the environment to account for automounters.  The make variable must not
135 # be called PWDCMD, otherwise the value set here is passed to make
136 # subprocesses and overrides the setting from the user's environment.
137 # Don't use PWD since it is a common shell environment variable and we
138 # don't want to corrupt it.
139 PWD_COMMAND = $${PWDCMD-pwd}
140
141 # compilers to use to create programs which must be run in the build
142 # environment.
143 CC_FOR_BUILD = @CC_FOR_BUILD@
144 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
145
146 CXX_FOR_BUILD = $(CXX)
147
148 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
149 # here so that they can be overridden by Makefile fragments.
150 BUILD_PREFIX = @BUILD_PREFIX@
151 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
152
153 BISON=@BISON@
154 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
155             echo $$r/bison/bison -L $$s/bison/ ; \
156          else \
157             echo bison ; \
158          fi`
159
160 DEFAULT_YACC = @DEFAULT_YACC@
161 YACC=@YACC@
162 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
163             echo $$r/bison/bison -y -L $$s/bison/ ; \
164         elif [ -f $$r/byacc/byacc ] ; then \
165             echo $$r/byacc/byacc ; \
166         else \
167             echo ${DEFAULT_YACC} ; \
168         fi`
169
170 DEFAULT_LEX = @DEFAULT_LEX@
171 LEX=@LEX@
172 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
173         then echo $$r/flex/flex ; \
174         else echo ${DEFAULT_LEX} ; fi`
175
176 DEFAULT_M4 = @DEFAULT_M4@
177 M4 = `if [ -f $$r/m4/m4 ] ; \
178         then echo $$r/m4/m4 ; \
179         else echo ${DEFAULT_M4} ; fi`
180
181 # For an installed makeinfo, we require it to be from texinfo 4.2 or
182 # higher, else we use the "missing" dummy.
183 MAKEINFO=@MAKEINFO@
184 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
185         then echo $$r/texinfo/makeinfo/makeinfo ; \
186         else if (makeinfo --version \
187           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
188         then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
189
190 # This just becomes part of the MAKEINFO definition passed down to
191 # sub-makes.  It lets flags be given on the command line while still
192 # using the makeinfo from the object tree.
193 # (Default to avoid splitting info files by setting the threshold high.)
194 MAKEINFOFLAGS = --split-size=5000000
195
196 EXPECT = `if [ -f $$r/expect/expect ] ; \
197         then echo $$r/expect/expect ; \
198         else echo expect ; fi`
199
200 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
201         then echo $$s/dejagnu/runtest ; \
202         else echo runtest ; fi`
203
204 # ---------------------------------------------
205 # Programs producing files for the HOST machine
206 # ---------------------------------------------
207
208 # This is the list of directories that may be needed in RPATH_ENVVAR
209 # so that programs built for the host machine work.
210 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
211
212 AS = @AS@
213
214 AR = @AR@
215 AR_FLAGS = rc
216
217 CC = @CC@
218 CFLAGS = @CFLAGS@
219 LIBCFLAGS = $(CFLAGS)
220
221 CXX = @CXX@
222 CXXFLAGS = @CXXFLAGS@
223 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
224
225 DLLTOOL = @DLLTOOL@
226
227 NM = @NM@
228
229 LD = @LD@
230 LDFLAGS = 
231
232 RANLIB = @RANLIB@
233
234 WINDRES = @WINDRES@
235
236 PICFLAG = 
237
238 # -----------------------------------------------
239 # Programs producing files for the TARGET machine
240 # -----------------------------------------------
241
242 # This is the list of directories that may be needed in RPATH_ENVVAR
243 # so that prorgams built for the target machine work.
244 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
245
246 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
247
248 AR_FOR_TARGET=@AR_FOR_TARGET@
249 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
250 USUAL_AR_FOR_TARGET = ` \
251   if [ -f $$r/binutils/ar ] ; then \
252     echo $$r/binutils/ar ; \
253   else \
254     if [ '$(host)' = '$(target)' ] ; then \
255       echo $(AR); \
256     else \
257       echo $(CONFIGURED_AR_FOR_TARGET) ; \
258     fi; \
259   fi`
260
261 AS_FOR_TARGET=@AS_FOR_TARGET@
262 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
263 USUAL_AS_FOR_TARGET = ` \
264   if [ -f $$r/gas/as-new ] ; then \
265     echo $$r/gas/as-new ; \
266   elif [ -f $$r/gcc/xgcc ]; then \
267     $(CC_FOR_TARGET) -print-prog-name=as ; \
268   else \
269     if [ '$(host)' = '$(target)' ] ; then \
270       echo $(AS); \
271     else \
272       echo $(CONFIGURED_AS_FOR_TARGET) ; \
273     fi; \
274   fi`
275
276 CC_FOR_TARGET = @CC_FOR_TARGET@
277 # During gcc bootstrap, if we use some random cc for stage1 then
278 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
279 # (which we know are built with gcc) are built with optimizations so
280 # prepend -O2 when setting CFLAGS_FOR_TARGET.
281 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
282 # If GCC_FOR_TARGET is not overriden on the command line, then this
283 # variable is passed down to the gcc Makefile, where it is used to
284 # build libgcc2.a.  We define it here so that it can itself be
285 # overridden on the command line.
286 GCC_FOR_TARGET=@GCC_FOR_TARGET@
287 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
288 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
289
290 CXX_FOR_TARGET = @CXX_FOR_TARGET@
291 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
292 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
293 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
294 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
295 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
296
297 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
298 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
299 USUAL_DLLTOOL_FOR_TARGET = ` \
300   if [ -f $$r/binutils/dlltool ] ; then \
301     echo $$r/binutils/dlltool ; \
302   else \
303     if [ '$(host)' = '$(target)' ] ; then \
304       echo $(DLLTOOL); \
305     else \
306       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
307     fi; \
308   fi`
309
310 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
311
312 LD_FOR_TARGET=@LD_FOR_TARGET@
313 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
314 USUAL_LD_FOR_TARGET = ` \
315   if [ -f $$r/ld/ld-new ] ; then \
316     echo $$r/ld/ld-new ; \
317   elif [ -f $$r/gcc/xgcc ]; then \
318     $(CC_FOR_TARGET) -print-prog-name=ld ; \
319   else \
320     if [ '$(host)' = '$(target)' ] ; then \
321       echo $(LD); \
322     else \
323       echo $(CONFIGURED_LD_FOR_TARGET) ; \
324     fi; \
325   fi`
326
327 LDFLAGS_FOR_TARGET = 
328
329 NM_FOR_TARGET=@NM_FOR_TARGET@
330 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
331 USUAL_NM_FOR_TARGET = ` \
332   if [ -f $$r/binutils/nm-new ] ; then \
333     echo $$r/binutils/nm-new ; \
334   elif [ -f $$r/gcc/xgcc ]; then \
335     $(CC_FOR_TARGET) -print-prog-name=nm ; \
336   else \
337     if [ '$(host)' = '$(target)' ] ; then \
338       echo $(NM); \
339     else \
340       echo $(CONFIGURED_NM_FOR_TARGET) ; \
341     fi; \
342   fi`
343
344 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
345 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
346 USUAL_RANLIB_FOR_TARGET = ` \
347   if [ -f $$r/binutils/ranlib ] ; then \
348     echo $$r/binutils/ranlib ; \
349   else \
350     if [ '$(host)' = '$(target)' ] ; then \
351       if [ x'$(RANLIB)' != x ]; then \
352          echo $(RANLIB); \
353       else \
354          echo ranlib; \
355       fi; \
356     else \
357       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
358     fi; \
359   fi`
360
361 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
362 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
363 USUAL_WINDRES_FOR_TARGET = ` \
364   if [ -f $$r/binutils/windres ] ; then \
365     echo $$r/binutils/windres ; \
366   else \
367     if [ '$(host)' = '$(target)' ] ; then \
368       echo $(WINDRES); \
369     else \
370       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
371     fi; \
372   fi`
373
374 PICFLAG_FOR_TARGET = 
375
376 # ------------------------------------
377 # Miscellaneous targets and flag lists
378 # ------------------------------------
379
380 # The first rule in the file had better be this one.  Don't put any above it.
381 # This lives here to allow makefile fragments to contain dependencies.
382 all: all.normal
383 .PHONY: all
384
385 #### host and target specific makefile fragments come in here.
386 @target_makefile_frag@
387 @alphaieee_frag@
388 @ospace_frag@
389 @host_makefile_frag@
390 ###
391
392 # Flags to pass down to all sub-makes.
393 BASE_FLAGS_TO_PASS = \
394         "DESTDIR=$(DESTDIR)" \
395         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
396         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
397         "bindir=$(bindir)" \
398         "datadir=$(datadir)" \
399         "exec_prefix=$(exec_prefix)" \
400         "includedir=$(includedir)" \
401         "infodir=$(infodir)" \
402         "libdir=$(libdir)" \
403         "libexecdir=$(libexecdir)" \
404         "lispdir=$(lispdir)" \
405         "libstdcxx_incdir=$(libstdcxx_incdir)" \
406         "libsubdir=$(libsubdir)" \
407         "localstatedir=$(localstatedir)" \
408         "mandir=$(mandir)" \
409         "oldincludedir=$(oldincludedir)" \
410         "prefix=$(prefix)" \
411         "sbindir=$(sbindir)" \
412         "sharedstatedir=$(sharedstatedir)" \
413         "sysconfdir=$(sysconfdir)" \
414         "tooldir=$(tooldir)" \
415         "build_tooldir=$(build_tooldir)" \
416         "gxx_include_dir=$(gxx_include_dir)" \
417         "gcc_version=$(gcc_version)" \
418         "gcc_version_trigger=$(gcc_version_trigger)" \
419         "target_alias=$(target_alias)" \
420         "BISON=$(BISON)" \
421         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
422         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
423         "EXPECT=$(EXPECT)" \
424         "INSTALL=$(INSTALL)" \
425         "INSTALL_DATA=$(INSTALL_DATA)" \
426         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
427         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
428         "LEX=$(LEX)" \
429         "M4=$(M4)" \
430         "MAKE=$(MAKE)" \
431         "RUNTEST=$(RUNTEST)" \
432         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
433         "SHELL=$(SHELL)" \
434         "YACC=$(YACC)" \
435         "AR_FLAGS=$(AR_FLAGS)" \
436         "CFLAGS=$(CFLAGS)" \
437         "CXXFLAGS=$(CXXFLAGS)" \
438         "LDFLAGS=$(LDFLAGS)" \
439         "LIBCFLAGS=$(LIBCFLAGS)" \
440         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
441         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
442         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
443         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
444         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
445         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
446         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
447         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
448         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
449         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
450         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
451         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
452         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
453         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
454         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
455         "CONFIG_SHELL=$(SHELL)" \
456         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
457
458 # For any flags above that may contain shell code that varies from one
459 # target library to another.  When doing recursive invocations of the
460 # top-level Makefile, we don't want the outer make to evaluate them,
461 # so we pass these variables down unchanged.  They must not contain
462 # single nor double quotes.
463 RECURSE_FLAGS = \
464         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
465         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
466
467 # Flags to pass down to most sub-makes, in which we're building with
468 # the host environment.
469 EXTRA_HOST_FLAGS = \
470         'AR=$(AR)' \
471         'AS=$(AS)' \
472         'CC=$(CC)' \
473         'CXX=$(CXX)' \
474         'DLLTOOL=$(DLLTOOL)' \
475         'LD=$(LD)' \
476         'NM=$(NM)' \
477         'RANLIB=$(RANLIB)' \
478         'WINDRES=$(WINDRES)'
479
480 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
481
482 # Flags that are concerned with the location of the X11 include files
483 # and library files
484 #
485 # NOTE: until the top-level is getting the values via autoconf, it only
486 # causes problems to have this top-level Makefile overriding the autoconf-set
487 # values in child directories.  Only variables that don't conflict with
488 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
489 #
490 X11_FLAGS_TO_PASS = \
491         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
492         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
493
494 # Flags to pass down to makes which are built with the target environment.
495 # The double $ decreases the length of the command line; the variables
496 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
497 EXTRA_TARGET_FLAGS = \
498         'AR=$$(AR_FOR_TARGET)' \
499         'AS=$$(AS_FOR_TARGET)' \
500         'CC=$$(CC_FOR_TARGET)' \
501         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
502         'CXX=$$(CXX_FOR_TARGET)' \
503         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
504         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
505         'LD=$$(LD_FOR_TARGET)' \
506         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
507         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
508         'NM=$$(NM_FOR_TARGET)' \
509         'RANLIB=$$(RANLIB_FOR_TARGET)' \
510         'WINDRES=$$(WINDRES_FOR_TARGET)'
511
512 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
513
514 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
515 # unfortunately needs the native compiler and the target ar and
516 # ranlib.
517 # If any variables are added here, they must be added to do-*, below.
518 # The BUILD_* variables are a special case, which are used for the gcc
519 # cross-building scheme.
520 EXTRA_GCC_FLAGS = \
521         'BUILD_PREFIX=$(BUILD_PREFIX)' \
522         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
523         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
524         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
525         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
526         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
527         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
528         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
529         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
530         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
531         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
534
535 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
536
537 .PHONY: configure-host
538 configure-host: maybe-configure-gcc  \
539     maybe-configure-ash \
540     maybe-configure-autoconf \
541     maybe-configure-automake \
542     maybe-configure-bash \
543     maybe-configure-bfd \
544     maybe-configure-opcodes \
545     maybe-configure-binutils \
546     maybe-configure-bison \
547     maybe-configure-byacc \
548     maybe-configure-bzip2 \
549     maybe-configure-dejagnu \
550     maybe-configure-diff \
551     maybe-configure-dosutils \
552     maybe-configure-etc \
553     maybe-configure-fastjar \
554     maybe-configure-fileutils \
555     maybe-configure-findutils \
556     maybe-configure-find \
557     maybe-configure-flex \
558     maybe-configure-gas \
559     maybe-configure-gawk \
560     maybe-configure-gettext \
561     maybe-configure-gnuserv \
562     maybe-configure-gprof \
563     maybe-configure-gzip \
564     maybe-configure-hello \
565     maybe-configure-indent \
566     maybe-configure-intl \
567     maybe-configure-tcl \
568     maybe-configure-itcl \
569     maybe-configure-ld \
570     maybe-configure-libgui \
571     maybe-configure-libiberty \
572     maybe-configure-libtool \
573     maybe-configure-m4 \
574     maybe-configure-make \
575     maybe-configure-mmalloc \
576     maybe-configure-patch \
577     maybe-configure-perl \
578     maybe-configure-prms \
579     maybe-configure-rcs \
580     maybe-configure-readline \
581     maybe-configure-release \
582     maybe-configure-recode \
583     maybe-configure-sed \
584     maybe-configure-send-pr \
585     maybe-configure-shellutils \
586     maybe-configure-sid \
587     maybe-configure-sim \
588     maybe-configure-tar \
589     maybe-configure-texinfo \
590     maybe-configure-textutils \
591     maybe-configure-time \
592     maybe-configure-uudecode \
593     maybe-configure-wdiff \
594     maybe-configure-zip \
595     maybe-configure-zlib \
596     maybe-configure-gdb \
597     maybe-configure-expect \
598     maybe-configure-guile \
599     maybe-configure-tk \
600     maybe-configure-tix \
601     maybe-configure-libtermcap \
602     maybe-configure-utils
603 .PHONY: configure-target
604 configure-target:  \
605     maybe-configure-target-libstdc++-v3 \
606     maybe-configure-target-newlib \
607     maybe-configure-target-libf2c \
608     maybe-configure-target-libobjc \
609     maybe-configure-target-libtermcap \
610     maybe-configure-target-winsup \
611     maybe-configure-target-libgloss \
612     maybe-configure-target-libiberty \
613     maybe-configure-target-gperf \
614     maybe-configure-target-examples \
615     maybe-configure-target-libffi \
616     maybe-configure-target-libjava \
617     maybe-configure-target-zlib \
618     maybe-configure-target-boehm-gc \
619     maybe-configure-target-qthreads \
620     maybe-configure-target-rda \
621     maybe-configure-target-libada
622
623 # The target built for a native build.
624 .PHONY: all.normal
625 all.normal: @all_build_modules@ all-host all-target
626
627 .PHONY: all-host
628 all-host: maybe-all-gcc  \
629     maybe-all-ash \
630     maybe-all-autoconf \
631     maybe-all-automake \
632     maybe-all-bash \
633     maybe-all-bfd \
634     maybe-all-opcodes \
635     maybe-all-binutils \
636     maybe-all-bison \
637     maybe-all-byacc \
638     maybe-all-bzip2 \
639     maybe-all-dejagnu \
640     maybe-all-diff \
641     maybe-all-dosutils \
642     maybe-all-etc \
643     maybe-all-fastjar \
644     maybe-all-fileutils \
645     maybe-all-findutils \
646     maybe-all-find \
647     maybe-all-flex \
648     maybe-all-gas \
649     maybe-all-gawk \
650     maybe-all-gettext \
651     maybe-all-gnuserv \
652     maybe-all-gprof \
653     maybe-all-gzip \
654     maybe-all-hello \
655     maybe-all-indent \
656     maybe-all-intl \
657     maybe-all-tcl \
658     maybe-all-itcl \
659     maybe-all-ld \
660     maybe-all-libgui \
661     maybe-all-libiberty \
662     maybe-all-libtool \
663     maybe-all-m4 \
664     maybe-all-make \
665     maybe-all-mmalloc \
666     maybe-all-patch \
667     maybe-all-perl \
668     maybe-all-prms \
669     maybe-all-rcs \
670     maybe-all-readline \
671     maybe-all-release \
672     maybe-all-recode \
673     maybe-all-sed \
674     maybe-all-send-pr \
675     maybe-all-shellutils \
676     maybe-all-sid \
677     maybe-all-sim \
678     maybe-all-tar \
679     maybe-all-texinfo \
680     maybe-all-textutils \
681     maybe-all-time \
682     maybe-all-uudecode \
683     maybe-all-wdiff \
684     maybe-all-zip \
685     maybe-all-zlib \
686     maybe-all-gdb \
687     maybe-all-expect \
688     maybe-all-guile \
689     maybe-all-tk \
690     maybe-all-tix \
691     maybe-all-libtermcap \
692     maybe-all-utils
693 .PHONY: all-target
694 all-target:  \
695     maybe-all-target-libstdc++-v3 \
696     maybe-all-target-newlib \
697     maybe-all-target-libf2c \
698     maybe-all-target-libobjc \
699     maybe-all-target-libtermcap \
700     maybe-all-target-winsup \
701     maybe-all-target-libgloss \
702     maybe-all-target-libiberty \
703     maybe-all-target-gperf \
704     maybe-all-target-examples \
705     maybe-all-target-libffi \
706     maybe-all-target-libjava \
707     maybe-all-target-zlib \
708     maybe-all-target-boehm-gc \
709     maybe-all-target-qthreads \
710     maybe-all-target-rda \
711     maybe-all-target-libada
712
713 # Do a target for all the subdirectories.  A ``make do-X'' will do a
714 # ``make X'' in all subdirectories (because, in general, there is a
715 # dependency (below) of X upon do-X, a ``make X'' will also do this,
716 # but it may do additional work as well).
717
718 .PHONY: do-info
719 do-info: info-host info-target
720
721 .PHONY: info-host
722 info-host: maybe-info-gcc  \
723     maybe-info-ash \
724     maybe-info-autoconf \
725     maybe-info-automake \
726     maybe-info-bash \
727     maybe-info-bfd \
728     maybe-info-opcodes \
729     maybe-info-binutils \
730     maybe-info-bison \
731     maybe-info-byacc \
732     maybe-info-bzip2 \
733     maybe-info-dejagnu \
734     maybe-info-diff \
735     maybe-info-dosutils \
736     maybe-info-etc \
737     maybe-info-fastjar \
738     maybe-info-fileutils \
739     maybe-info-findutils \
740     maybe-info-find \
741     maybe-info-flex \
742     maybe-info-gas \
743     maybe-info-gawk \
744     maybe-info-gettext \
745     maybe-info-gnuserv \
746     maybe-info-gprof \
747     maybe-info-gzip \
748     maybe-info-hello \
749     maybe-info-indent \
750     maybe-info-intl \
751     maybe-info-tcl \
752     maybe-info-itcl \
753     maybe-info-ld \
754     maybe-info-libgui \
755     maybe-info-libiberty \
756     maybe-info-libtool \
757     maybe-info-m4 \
758     maybe-info-make \
759     maybe-info-mmalloc \
760     maybe-info-patch \
761     maybe-info-perl \
762     maybe-info-prms \
763     maybe-info-rcs \
764     maybe-info-readline \
765     maybe-info-release \
766     maybe-info-recode \
767     maybe-info-sed \
768     maybe-info-send-pr \
769     maybe-info-shellutils \
770     maybe-info-sid \
771     maybe-info-sim \
772     maybe-info-tar \
773     maybe-info-texinfo \
774     maybe-info-textutils \
775     maybe-info-time \
776     maybe-info-uudecode \
777     maybe-info-wdiff \
778     maybe-info-zip \
779     maybe-info-zlib \
780     maybe-info-gdb \
781     maybe-info-expect \
782     maybe-info-guile \
783     maybe-info-tk \
784     maybe-info-tix \
785     maybe-info-libtermcap \
786     maybe-info-utils
787
788 .PHONY: info-target
789 info-target:  \
790     maybe-info-target-libstdc++-v3 \
791     maybe-info-target-newlib \
792     maybe-info-target-libf2c \
793     maybe-info-target-libobjc \
794     maybe-info-target-libtermcap \
795     maybe-info-target-winsup \
796     maybe-info-target-libgloss \
797     maybe-info-target-libiberty \
798     maybe-info-target-gperf \
799     maybe-info-target-examples \
800     maybe-info-target-libffi \
801     maybe-info-target-libjava \
802     maybe-info-target-zlib \
803     maybe-info-target-boehm-gc \
804     maybe-info-target-qthreads \
805     maybe-info-target-rda \
806     maybe-info-target-libada
807
808 .PHONY: do-dvi
809 do-dvi: dvi-host dvi-target
810
811 .PHONY: dvi-host
812 dvi-host: maybe-dvi-gcc  \
813     maybe-dvi-ash \
814     maybe-dvi-autoconf \
815     maybe-dvi-automake \
816     maybe-dvi-bash \
817     maybe-dvi-bfd \
818     maybe-dvi-opcodes \
819     maybe-dvi-binutils \
820     maybe-dvi-bison \
821     maybe-dvi-byacc \
822     maybe-dvi-bzip2 \
823     maybe-dvi-dejagnu \
824     maybe-dvi-diff \
825     maybe-dvi-dosutils \
826     maybe-dvi-etc \
827     maybe-dvi-fastjar \
828     maybe-dvi-fileutils \
829     maybe-dvi-findutils \
830     maybe-dvi-find \
831     maybe-dvi-flex \
832     maybe-dvi-gas \
833     maybe-dvi-gawk \
834     maybe-dvi-gettext \
835     maybe-dvi-gnuserv \
836     maybe-dvi-gprof \
837     maybe-dvi-gzip \
838     maybe-dvi-hello \
839     maybe-dvi-indent \
840     maybe-dvi-intl \
841     maybe-dvi-tcl \
842     maybe-dvi-itcl \
843     maybe-dvi-ld \
844     maybe-dvi-libgui \
845     maybe-dvi-libiberty \
846     maybe-dvi-libtool \
847     maybe-dvi-m4 \
848     maybe-dvi-make \
849     maybe-dvi-mmalloc \
850     maybe-dvi-patch \
851     maybe-dvi-perl \
852     maybe-dvi-prms \
853     maybe-dvi-rcs \
854     maybe-dvi-readline \
855     maybe-dvi-release \
856     maybe-dvi-recode \
857     maybe-dvi-sed \
858     maybe-dvi-send-pr \
859     maybe-dvi-shellutils \
860     maybe-dvi-sid \
861     maybe-dvi-sim \
862     maybe-dvi-tar \
863     maybe-dvi-texinfo \
864     maybe-dvi-textutils \
865     maybe-dvi-time \
866     maybe-dvi-uudecode \
867     maybe-dvi-wdiff \
868     maybe-dvi-zip \
869     maybe-dvi-zlib \
870     maybe-dvi-gdb \
871     maybe-dvi-expect \
872     maybe-dvi-guile \
873     maybe-dvi-tk \
874     maybe-dvi-tix \
875     maybe-dvi-libtermcap \
876     maybe-dvi-utils
877
878 .PHONY: dvi-target
879 dvi-target:  \
880     maybe-dvi-target-libstdc++-v3 \
881     maybe-dvi-target-newlib \
882     maybe-dvi-target-libf2c \
883     maybe-dvi-target-libobjc \
884     maybe-dvi-target-libtermcap \
885     maybe-dvi-target-winsup \
886     maybe-dvi-target-libgloss \
887     maybe-dvi-target-libiberty \
888     maybe-dvi-target-gperf \
889     maybe-dvi-target-examples \
890     maybe-dvi-target-libffi \
891     maybe-dvi-target-libjava \
892     maybe-dvi-target-zlib \
893     maybe-dvi-target-boehm-gc \
894     maybe-dvi-target-qthreads \
895     maybe-dvi-target-rda \
896     maybe-dvi-target-libada
897
898 .PHONY: do-TAGS
899 do-TAGS: TAGS-host TAGS-target
900
901 .PHONY: TAGS-host
902 TAGS-host: maybe-TAGS-gcc  \
903     maybe-TAGS-ash \
904     maybe-TAGS-autoconf \
905     maybe-TAGS-automake \
906     maybe-TAGS-bash \
907     maybe-TAGS-bfd \
908     maybe-TAGS-opcodes \
909     maybe-TAGS-binutils \
910     maybe-TAGS-bison \
911     maybe-TAGS-byacc \
912     maybe-TAGS-bzip2 \
913     maybe-TAGS-dejagnu \
914     maybe-TAGS-diff \
915     maybe-TAGS-dosutils \
916     maybe-TAGS-etc \
917     maybe-TAGS-fastjar \
918     maybe-TAGS-fileutils \
919     maybe-TAGS-findutils \
920     maybe-TAGS-find \
921     maybe-TAGS-flex \
922     maybe-TAGS-gas \
923     maybe-TAGS-gawk \
924     maybe-TAGS-gettext \
925     maybe-TAGS-gnuserv \
926     maybe-TAGS-gprof \
927     maybe-TAGS-gzip \
928     maybe-TAGS-hello \
929     maybe-TAGS-indent \
930     maybe-TAGS-intl \
931     maybe-TAGS-tcl \
932     maybe-TAGS-itcl \
933     maybe-TAGS-ld \
934     maybe-TAGS-libgui \
935     maybe-TAGS-libiberty \
936     maybe-TAGS-libtool \
937     maybe-TAGS-m4 \
938     maybe-TAGS-make \
939     maybe-TAGS-mmalloc \
940     maybe-TAGS-patch \
941     maybe-TAGS-perl \
942     maybe-TAGS-prms \
943     maybe-TAGS-rcs \
944     maybe-TAGS-readline \
945     maybe-TAGS-release \
946     maybe-TAGS-recode \
947     maybe-TAGS-sed \
948     maybe-TAGS-send-pr \
949     maybe-TAGS-shellutils \
950     maybe-TAGS-sid \
951     maybe-TAGS-sim \
952     maybe-TAGS-tar \
953     maybe-TAGS-texinfo \
954     maybe-TAGS-textutils \
955     maybe-TAGS-time \
956     maybe-TAGS-uudecode \
957     maybe-TAGS-wdiff \
958     maybe-TAGS-zip \
959     maybe-TAGS-zlib \
960     maybe-TAGS-gdb \
961     maybe-TAGS-expect \
962     maybe-TAGS-guile \
963     maybe-TAGS-tk \
964     maybe-TAGS-tix \
965     maybe-TAGS-libtermcap \
966     maybe-TAGS-utils
967
968 .PHONY: TAGS-target
969 TAGS-target:  \
970     maybe-TAGS-target-libstdc++-v3 \
971     maybe-TAGS-target-newlib \
972     maybe-TAGS-target-libf2c \
973     maybe-TAGS-target-libobjc \
974     maybe-TAGS-target-libtermcap \
975     maybe-TAGS-target-winsup \
976     maybe-TAGS-target-libgloss \
977     maybe-TAGS-target-libiberty \
978     maybe-TAGS-target-gperf \
979     maybe-TAGS-target-examples \
980     maybe-TAGS-target-libffi \
981     maybe-TAGS-target-libjava \
982     maybe-TAGS-target-zlib \
983     maybe-TAGS-target-boehm-gc \
984     maybe-TAGS-target-qthreads \
985     maybe-TAGS-target-rda \
986     maybe-TAGS-target-libada
987
988 .PHONY: do-install-info
989 do-install-info: install-info-host install-info-target
990
991 .PHONY: install-info-host
992 install-info-host: maybe-install-info-gcc  \
993     maybe-install-info-ash \
994     maybe-install-info-autoconf \
995     maybe-install-info-automake \
996     maybe-install-info-bash \
997     maybe-install-info-bfd \
998     maybe-install-info-opcodes \
999     maybe-install-info-binutils \
1000     maybe-install-info-bison \
1001     maybe-install-info-byacc \
1002     maybe-install-info-bzip2 \
1003     maybe-install-info-dejagnu \
1004     maybe-install-info-diff \
1005     maybe-install-info-dosutils \
1006     maybe-install-info-etc \
1007     maybe-install-info-fastjar \
1008     maybe-install-info-fileutils \
1009     maybe-install-info-findutils \
1010     maybe-install-info-find \
1011     maybe-install-info-flex \
1012     maybe-install-info-gas \
1013     maybe-install-info-gawk \
1014     maybe-install-info-gettext \
1015     maybe-install-info-gnuserv \
1016     maybe-install-info-gprof \
1017     maybe-install-info-gzip \
1018     maybe-install-info-hello \
1019     maybe-install-info-indent \
1020     maybe-install-info-intl \
1021     maybe-install-info-tcl \
1022     maybe-install-info-itcl \
1023     maybe-install-info-ld \
1024     maybe-install-info-libgui \
1025     maybe-install-info-libiberty \
1026     maybe-install-info-libtool \
1027     maybe-install-info-m4 \
1028     maybe-install-info-make \
1029     maybe-install-info-mmalloc \
1030     maybe-install-info-patch \
1031     maybe-install-info-perl \
1032     maybe-install-info-prms \
1033     maybe-install-info-rcs \
1034     maybe-install-info-readline \
1035     maybe-install-info-release \
1036     maybe-install-info-recode \
1037     maybe-install-info-sed \
1038     maybe-install-info-send-pr \
1039     maybe-install-info-shellutils \
1040     maybe-install-info-sid \
1041     maybe-install-info-sim \
1042     maybe-install-info-tar \
1043     maybe-install-info-texinfo \
1044     maybe-install-info-textutils \
1045     maybe-install-info-time \
1046     maybe-install-info-uudecode \
1047     maybe-install-info-wdiff \
1048     maybe-install-info-zip \
1049     maybe-install-info-zlib \
1050     maybe-install-info-gdb \
1051     maybe-install-info-expect \
1052     maybe-install-info-guile \
1053     maybe-install-info-tk \
1054     maybe-install-info-tix \
1055     maybe-install-info-libtermcap \
1056     maybe-install-info-utils
1057
1058 .PHONY: install-info-target
1059 install-info-target:  \
1060     maybe-install-info-target-libstdc++-v3 \
1061     maybe-install-info-target-newlib \
1062     maybe-install-info-target-libf2c \
1063     maybe-install-info-target-libobjc \
1064     maybe-install-info-target-libtermcap \
1065     maybe-install-info-target-winsup \
1066     maybe-install-info-target-libgloss \
1067     maybe-install-info-target-libiberty \
1068     maybe-install-info-target-gperf \
1069     maybe-install-info-target-examples \
1070     maybe-install-info-target-libffi \
1071     maybe-install-info-target-libjava \
1072     maybe-install-info-target-zlib \
1073     maybe-install-info-target-boehm-gc \
1074     maybe-install-info-target-qthreads \
1075     maybe-install-info-target-rda \
1076     maybe-install-info-target-libada
1077
1078 .PHONY: do-installcheck
1079 do-installcheck: installcheck-host installcheck-target
1080
1081 .PHONY: installcheck-host
1082 installcheck-host: maybe-installcheck-gcc  \
1083     maybe-installcheck-ash \
1084     maybe-installcheck-autoconf \
1085     maybe-installcheck-automake \
1086     maybe-installcheck-bash \
1087     maybe-installcheck-bfd \
1088     maybe-installcheck-opcodes \
1089     maybe-installcheck-binutils \
1090     maybe-installcheck-bison \
1091     maybe-installcheck-byacc \
1092     maybe-installcheck-bzip2 \
1093     maybe-installcheck-dejagnu \
1094     maybe-installcheck-diff \
1095     maybe-installcheck-dosutils \
1096     maybe-installcheck-etc \
1097     maybe-installcheck-fastjar \
1098     maybe-installcheck-fileutils \
1099     maybe-installcheck-findutils \
1100     maybe-installcheck-find \
1101     maybe-installcheck-flex \
1102     maybe-installcheck-gas \
1103     maybe-installcheck-gawk \
1104     maybe-installcheck-gettext \
1105     maybe-installcheck-gnuserv \
1106     maybe-installcheck-gprof \
1107     maybe-installcheck-gzip \
1108     maybe-installcheck-hello \
1109     maybe-installcheck-indent \
1110     maybe-installcheck-intl \
1111     maybe-installcheck-tcl \
1112     maybe-installcheck-itcl \
1113     maybe-installcheck-ld \
1114     maybe-installcheck-libgui \
1115     maybe-installcheck-libiberty \
1116     maybe-installcheck-libtool \
1117     maybe-installcheck-m4 \
1118     maybe-installcheck-make \
1119     maybe-installcheck-mmalloc \
1120     maybe-installcheck-patch \
1121     maybe-installcheck-perl \
1122     maybe-installcheck-prms \
1123     maybe-installcheck-rcs \
1124     maybe-installcheck-readline \
1125     maybe-installcheck-release \
1126     maybe-installcheck-recode \
1127     maybe-installcheck-sed \
1128     maybe-installcheck-send-pr \
1129     maybe-installcheck-shellutils \
1130     maybe-installcheck-sid \
1131     maybe-installcheck-sim \
1132     maybe-installcheck-tar \
1133     maybe-installcheck-texinfo \
1134     maybe-installcheck-textutils \
1135     maybe-installcheck-time \
1136     maybe-installcheck-uudecode \
1137     maybe-installcheck-wdiff \
1138     maybe-installcheck-zip \
1139     maybe-installcheck-zlib \
1140     maybe-installcheck-gdb \
1141     maybe-installcheck-expect \
1142     maybe-installcheck-guile \
1143     maybe-installcheck-tk \
1144     maybe-installcheck-tix \
1145     maybe-installcheck-libtermcap \
1146     maybe-installcheck-utils
1147
1148 .PHONY: installcheck-target
1149 installcheck-target:  \
1150     maybe-installcheck-target-libstdc++-v3 \
1151     maybe-installcheck-target-newlib \
1152     maybe-installcheck-target-libf2c \
1153     maybe-installcheck-target-libobjc \
1154     maybe-installcheck-target-libtermcap \
1155     maybe-installcheck-target-winsup \
1156     maybe-installcheck-target-libgloss \
1157     maybe-installcheck-target-libiberty \
1158     maybe-installcheck-target-gperf \
1159     maybe-installcheck-target-examples \
1160     maybe-installcheck-target-libffi \
1161     maybe-installcheck-target-libjava \
1162     maybe-installcheck-target-zlib \
1163     maybe-installcheck-target-boehm-gc \
1164     maybe-installcheck-target-qthreads \
1165     maybe-installcheck-target-rda \
1166     maybe-installcheck-target-libada
1167
1168 .PHONY: do-mostlyclean
1169 do-mostlyclean: mostlyclean-host mostlyclean-target
1170
1171 .PHONY: mostlyclean-host
1172 mostlyclean-host: maybe-mostlyclean-gcc  \
1173     maybe-mostlyclean-ash \
1174     maybe-mostlyclean-autoconf \
1175     maybe-mostlyclean-automake \
1176     maybe-mostlyclean-bash \
1177     maybe-mostlyclean-bfd \
1178     maybe-mostlyclean-opcodes \
1179     maybe-mostlyclean-binutils \
1180     maybe-mostlyclean-bison \
1181     maybe-mostlyclean-byacc \
1182     maybe-mostlyclean-bzip2 \
1183     maybe-mostlyclean-dejagnu \
1184     maybe-mostlyclean-diff \
1185     maybe-mostlyclean-dosutils \
1186     maybe-mostlyclean-etc \
1187     maybe-mostlyclean-fastjar \
1188     maybe-mostlyclean-fileutils \
1189     maybe-mostlyclean-findutils \
1190     maybe-mostlyclean-find \
1191     maybe-mostlyclean-flex \
1192     maybe-mostlyclean-gas \
1193     maybe-mostlyclean-gawk \
1194     maybe-mostlyclean-gettext \
1195     maybe-mostlyclean-gnuserv \
1196     maybe-mostlyclean-gprof \
1197     maybe-mostlyclean-gzip \
1198     maybe-mostlyclean-hello \
1199     maybe-mostlyclean-indent \
1200     maybe-mostlyclean-intl \
1201     maybe-mostlyclean-tcl \
1202     maybe-mostlyclean-itcl \
1203     maybe-mostlyclean-ld \
1204     maybe-mostlyclean-libgui \
1205     maybe-mostlyclean-libiberty \
1206     maybe-mostlyclean-libtool \
1207     maybe-mostlyclean-m4 \
1208     maybe-mostlyclean-make \
1209     maybe-mostlyclean-mmalloc \
1210     maybe-mostlyclean-patch \
1211     maybe-mostlyclean-perl \
1212     maybe-mostlyclean-prms \
1213     maybe-mostlyclean-rcs \
1214     maybe-mostlyclean-readline \
1215     maybe-mostlyclean-release \
1216     maybe-mostlyclean-recode \
1217     maybe-mostlyclean-sed \
1218     maybe-mostlyclean-send-pr \
1219     maybe-mostlyclean-shellutils \
1220     maybe-mostlyclean-sid \
1221     maybe-mostlyclean-sim \
1222     maybe-mostlyclean-tar \
1223     maybe-mostlyclean-texinfo \
1224     maybe-mostlyclean-textutils \
1225     maybe-mostlyclean-time \
1226     maybe-mostlyclean-uudecode \
1227     maybe-mostlyclean-wdiff \
1228     maybe-mostlyclean-zip \
1229     maybe-mostlyclean-zlib \
1230     maybe-mostlyclean-gdb \
1231     maybe-mostlyclean-expect \
1232     maybe-mostlyclean-guile \
1233     maybe-mostlyclean-tk \
1234     maybe-mostlyclean-tix \
1235     maybe-mostlyclean-libtermcap \
1236     maybe-mostlyclean-utils
1237
1238 .PHONY: mostlyclean-target
1239 mostlyclean-target:  \
1240     maybe-mostlyclean-target-libstdc++-v3 \
1241     maybe-mostlyclean-target-newlib \
1242     maybe-mostlyclean-target-libf2c \
1243     maybe-mostlyclean-target-libobjc \
1244     maybe-mostlyclean-target-libtermcap \
1245     maybe-mostlyclean-target-winsup \
1246     maybe-mostlyclean-target-libgloss \
1247     maybe-mostlyclean-target-libiberty \
1248     maybe-mostlyclean-target-gperf \
1249     maybe-mostlyclean-target-examples \
1250     maybe-mostlyclean-target-libffi \
1251     maybe-mostlyclean-target-libjava \
1252     maybe-mostlyclean-target-zlib \
1253     maybe-mostlyclean-target-boehm-gc \
1254     maybe-mostlyclean-target-qthreads \
1255     maybe-mostlyclean-target-rda \
1256     maybe-mostlyclean-target-libada
1257
1258 .PHONY: do-clean
1259 do-clean: clean-host clean-target
1260
1261 .PHONY: clean-host
1262 clean-host: maybe-clean-gcc  \
1263     maybe-clean-ash \
1264     maybe-clean-autoconf \
1265     maybe-clean-automake \
1266     maybe-clean-bash \
1267     maybe-clean-bfd \
1268     maybe-clean-opcodes \
1269     maybe-clean-binutils \
1270     maybe-clean-bison \
1271     maybe-clean-byacc \
1272     maybe-clean-bzip2 \
1273     maybe-clean-dejagnu \
1274     maybe-clean-diff \
1275     maybe-clean-dosutils \
1276     maybe-clean-etc \
1277     maybe-clean-fastjar \
1278     maybe-clean-fileutils \
1279     maybe-clean-findutils \
1280     maybe-clean-find \
1281     maybe-clean-flex \
1282     maybe-clean-gas \
1283     maybe-clean-gawk \
1284     maybe-clean-gettext \
1285     maybe-clean-gnuserv \
1286     maybe-clean-gprof \
1287     maybe-clean-gzip \
1288     maybe-clean-hello \
1289     maybe-clean-indent \
1290     maybe-clean-intl \
1291     maybe-clean-tcl \
1292     maybe-clean-itcl \
1293     maybe-clean-ld \
1294     maybe-clean-libgui \
1295     maybe-clean-libiberty \
1296     maybe-clean-libtool \
1297     maybe-clean-m4 \
1298     maybe-clean-make \
1299     maybe-clean-mmalloc \
1300     maybe-clean-patch \
1301     maybe-clean-perl \
1302     maybe-clean-prms \
1303     maybe-clean-rcs \
1304     maybe-clean-readline \
1305     maybe-clean-release \
1306     maybe-clean-recode \
1307     maybe-clean-sed \
1308     maybe-clean-send-pr \
1309     maybe-clean-shellutils \
1310     maybe-clean-sid \
1311     maybe-clean-sim \
1312     maybe-clean-tar \
1313     maybe-clean-texinfo \
1314     maybe-clean-textutils \
1315     maybe-clean-time \
1316     maybe-clean-uudecode \
1317     maybe-clean-wdiff \
1318     maybe-clean-zip \
1319     maybe-clean-zlib \
1320     maybe-clean-gdb \
1321     maybe-clean-expect \
1322     maybe-clean-guile \
1323     maybe-clean-tk \
1324     maybe-clean-tix \
1325     maybe-clean-libtermcap \
1326     maybe-clean-utils
1327
1328 .PHONY: clean-target
1329 clean-target:  \
1330     maybe-clean-target-libstdc++-v3 \
1331     maybe-clean-target-newlib \
1332     maybe-clean-target-libf2c \
1333     maybe-clean-target-libobjc \
1334     maybe-clean-target-libtermcap \
1335     maybe-clean-target-winsup \
1336     maybe-clean-target-libgloss \
1337     maybe-clean-target-libiberty \
1338     maybe-clean-target-gperf \
1339     maybe-clean-target-examples \
1340     maybe-clean-target-libffi \
1341     maybe-clean-target-libjava \
1342     maybe-clean-target-zlib \
1343     maybe-clean-target-boehm-gc \
1344     maybe-clean-target-qthreads \
1345     maybe-clean-target-rda \
1346     maybe-clean-target-libada
1347
1348 .PHONY: do-distclean
1349 do-distclean: distclean-host distclean-target
1350
1351 .PHONY: distclean-host
1352 distclean-host: maybe-distclean-gcc  \
1353     maybe-distclean-ash \
1354     maybe-distclean-autoconf \
1355     maybe-distclean-automake \
1356     maybe-distclean-bash \
1357     maybe-distclean-bfd \
1358     maybe-distclean-opcodes \
1359     maybe-distclean-binutils \
1360     maybe-distclean-bison \
1361     maybe-distclean-byacc \
1362     maybe-distclean-bzip2 \
1363     maybe-distclean-dejagnu \
1364     maybe-distclean-diff \
1365     maybe-distclean-dosutils \
1366     maybe-distclean-etc \
1367     maybe-distclean-fastjar \
1368     maybe-distclean-fileutils \
1369     maybe-distclean-findutils \
1370     maybe-distclean-find \
1371     maybe-distclean-flex \
1372     maybe-distclean-gas \
1373     maybe-distclean-gawk \
1374     maybe-distclean-gettext \
1375     maybe-distclean-gnuserv \
1376     maybe-distclean-gprof \
1377     maybe-distclean-gzip \
1378     maybe-distclean-hello \
1379     maybe-distclean-indent \
1380     maybe-distclean-intl \
1381     maybe-distclean-tcl \
1382     maybe-distclean-itcl \
1383     maybe-distclean-ld \
1384     maybe-distclean-libgui \
1385     maybe-distclean-libiberty \
1386     maybe-distclean-libtool \
1387     maybe-distclean-m4 \
1388     maybe-distclean-make \
1389     maybe-distclean-mmalloc \
1390     maybe-distclean-patch \
1391     maybe-distclean-perl \
1392     maybe-distclean-prms \
1393     maybe-distclean-rcs \
1394     maybe-distclean-readline \
1395     maybe-distclean-release \
1396     maybe-distclean-recode \
1397     maybe-distclean-sed \
1398     maybe-distclean-send-pr \
1399     maybe-distclean-shellutils \
1400     maybe-distclean-sid \
1401     maybe-distclean-sim \
1402     maybe-distclean-tar \
1403     maybe-distclean-texinfo \
1404     maybe-distclean-textutils \
1405     maybe-distclean-time \
1406     maybe-distclean-uudecode \
1407     maybe-distclean-wdiff \
1408     maybe-distclean-zip \
1409     maybe-distclean-zlib \
1410     maybe-distclean-gdb \
1411     maybe-distclean-expect \
1412     maybe-distclean-guile \
1413     maybe-distclean-tk \
1414     maybe-distclean-tix \
1415     maybe-distclean-libtermcap \
1416     maybe-distclean-utils
1417
1418 .PHONY: distclean-target
1419 distclean-target:  \
1420     maybe-distclean-target-libstdc++-v3 \
1421     maybe-distclean-target-newlib \
1422     maybe-distclean-target-libf2c \
1423     maybe-distclean-target-libobjc \
1424     maybe-distclean-target-libtermcap \
1425     maybe-distclean-target-winsup \
1426     maybe-distclean-target-libgloss \
1427     maybe-distclean-target-libiberty \
1428     maybe-distclean-target-gperf \
1429     maybe-distclean-target-examples \
1430     maybe-distclean-target-libffi \
1431     maybe-distclean-target-libjava \
1432     maybe-distclean-target-zlib \
1433     maybe-distclean-target-boehm-gc \
1434     maybe-distclean-target-qthreads \
1435     maybe-distclean-target-rda \
1436     maybe-distclean-target-libada
1437
1438 .PHONY: do-maintainer-clean
1439 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1440
1441 .PHONY: maintainer-clean-host
1442 maintainer-clean-host: maybe-maintainer-clean-gcc  \
1443     maybe-maintainer-clean-ash \
1444     maybe-maintainer-clean-autoconf \
1445     maybe-maintainer-clean-automake \
1446     maybe-maintainer-clean-bash \
1447     maybe-maintainer-clean-bfd \
1448     maybe-maintainer-clean-opcodes \
1449     maybe-maintainer-clean-binutils \
1450     maybe-maintainer-clean-bison \
1451     maybe-maintainer-clean-byacc \
1452     maybe-maintainer-clean-bzip2 \
1453     maybe-maintainer-clean-dejagnu \
1454     maybe-maintainer-clean-diff \
1455     maybe-maintainer-clean-dosutils \
1456     maybe-maintainer-clean-etc \
1457     maybe-maintainer-clean-fastjar \
1458     maybe-maintainer-clean-fileutils \
1459     maybe-maintainer-clean-findutils \
1460     maybe-maintainer-clean-find \
1461     maybe-maintainer-clean-flex \
1462     maybe-maintainer-clean-gas \
1463     maybe-maintainer-clean-gawk \
1464     maybe-maintainer-clean-gettext \
1465     maybe-maintainer-clean-gnuserv \
1466     maybe-maintainer-clean-gprof \
1467     maybe-maintainer-clean-gzip \
1468     maybe-maintainer-clean-hello \
1469     maybe-maintainer-clean-indent \
1470     maybe-maintainer-clean-intl \
1471     maybe-maintainer-clean-tcl \
1472     maybe-maintainer-clean-itcl \
1473     maybe-maintainer-clean-ld \
1474     maybe-maintainer-clean-libgui \
1475     maybe-maintainer-clean-libiberty \
1476     maybe-maintainer-clean-libtool \
1477     maybe-maintainer-clean-m4 \
1478     maybe-maintainer-clean-make \
1479     maybe-maintainer-clean-mmalloc \
1480     maybe-maintainer-clean-patch \
1481     maybe-maintainer-clean-perl \
1482     maybe-maintainer-clean-prms \
1483     maybe-maintainer-clean-rcs \
1484     maybe-maintainer-clean-readline \
1485     maybe-maintainer-clean-release \
1486     maybe-maintainer-clean-recode \
1487     maybe-maintainer-clean-sed \
1488     maybe-maintainer-clean-send-pr \
1489     maybe-maintainer-clean-shellutils \
1490     maybe-maintainer-clean-sid \
1491     maybe-maintainer-clean-sim \
1492     maybe-maintainer-clean-tar \
1493     maybe-maintainer-clean-texinfo \
1494     maybe-maintainer-clean-textutils \
1495     maybe-maintainer-clean-time \
1496     maybe-maintainer-clean-uudecode \
1497     maybe-maintainer-clean-wdiff \
1498     maybe-maintainer-clean-zip \
1499     maybe-maintainer-clean-zlib \
1500     maybe-maintainer-clean-gdb \
1501     maybe-maintainer-clean-expect \
1502     maybe-maintainer-clean-guile \
1503     maybe-maintainer-clean-tk \
1504     maybe-maintainer-clean-tix \
1505     maybe-maintainer-clean-libtermcap \
1506     maybe-maintainer-clean-utils
1507
1508 .PHONY: maintainer-clean-target
1509 maintainer-clean-target:  \
1510     maybe-maintainer-clean-target-libstdc++-v3 \
1511     maybe-maintainer-clean-target-newlib \
1512     maybe-maintainer-clean-target-libf2c \
1513     maybe-maintainer-clean-target-libobjc \
1514     maybe-maintainer-clean-target-libtermcap \
1515     maybe-maintainer-clean-target-winsup \
1516     maybe-maintainer-clean-target-libgloss \
1517     maybe-maintainer-clean-target-libiberty \
1518     maybe-maintainer-clean-target-gperf \
1519     maybe-maintainer-clean-target-examples \
1520     maybe-maintainer-clean-target-libffi \
1521     maybe-maintainer-clean-target-libjava \
1522     maybe-maintainer-clean-target-zlib \
1523     maybe-maintainer-clean-target-boehm-gc \
1524     maybe-maintainer-clean-target-qthreads \
1525     maybe-maintainer-clean-target-rda \
1526     maybe-maintainer-clean-target-libada
1527
1528
1529 # Here are the targets which correspond to the do-X targets.
1530
1531 .PHONY: info installcheck dvi install-info
1532 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1533 .PHONY: local-clean local-distclean local-maintainer-clean
1534 info: do-info
1535 installcheck: do-installcheck
1536 dvi: do-dvi
1537
1538 # Make sure makeinfo is built before we do a `make info', if we're
1539 # in fact building texinfo.
1540 do-info: maybe-all-texinfo
1541
1542 install-info: do-install-info dir.info
1543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1544         if [ -f dir.info ] ; then \
1545           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1546         else true ; fi
1547
1548 local-clean:
1549         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1550
1551 local-distclean:
1552         -rm -f Makefile config.status config.cache mh-frag mt-frag
1553         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1554         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1555           rm -rf $(TARGET_SUBDIR); \
1556         else true; fi
1557         -rm -rf $(BUILD_SUBDIR)
1558         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1559         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1560         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1561         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1562         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1563
1564 local-maintainer-clean:
1565         @echo "This command is intended for maintainers to use;"
1566         @echo "it deletes files that may require special tools to rebuild."
1567
1568 clean: do-clean local-clean
1569 mostlyclean: do-mostlyclean local-clean
1570 distclean: do-distclean local-clean local-distclean
1571 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1572 maintainer-clean: local-distclean
1573 realclean: maintainer-clean
1574
1575 # Extra dependency for clean-target, owing to the mixed nature of gcc
1576 clean-target: clean-target-libgcc
1577 clean-target-libgcc:
1578         test ! -d gcc/libgcc || \
1579         (cd gcc/libgcc && find . -type d -print) | \
1580         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1581         -rm -rf gcc/libgcc
1582
1583 # Check target.
1584
1585 .PHONY: check do-check
1586 check: do-check
1587
1588 # Only include modules actually being configured and built.
1589 do-check: maybe-check-gcc  \
1590     maybe-check-ash \
1591     maybe-check-autoconf \
1592     maybe-check-automake \
1593     maybe-check-bash \
1594     maybe-check-bfd \
1595     maybe-check-opcodes \
1596     maybe-check-binutils \
1597     maybe-check-bison \
1598     maybe-check-byacc \
1599     maybe-check-bzip2 \
1600     maybe-check-dejagnu \
1601     maybe-check-diff \
1602     maybe-check-dosutils \
1603     maybe-check-etc \
1604     maybe-check-fastjar \
1605     maybe-check-fileutils \
1606     maybe-check-findutils \
1607     maybe-check-find \
1608     maybe-check-flex \
1609     maybe-check-gas \
1610     maybe-check-gawk \
1611     maybe-check-gettext \
1612     maybe-check-gnuserv \
1613     maybe-check-gprof \
1614     maybe-check-gzip \
1615     maybe-check-hello \
1616     maybe-check-indent \
1617     maybe-check-intl \
1618     maybe-check-tcl \
1619     maybe-check-itcl \
1620     maybe-check-ld \
1621     maybe-check-libgui \
1622     maybe-check-libiberty \
1623     maybe-check-libtool \
1624     maybe-check-m4 \
1625     maybe-check-make \
1626     maybe-check-mmalloc \
1627     maybe-check-patch \
1628     maybe-check-perl \
1629     maybe-check-prms \
1630     maybe-check-rcs \
1631     maybe-check-readline \
1632     maybe-check-release \
1633     maybe-check-recode \
1634     maybe-check-sed \
1635     maybe-check-send-pr \
1636     maybe-check-shellutils \
1637     maybe-check-sid \
1638     maybe-check-sim \
1639     maybe-check-tar \
1640     maybe-check-texinfo \
1641     maybe-check-textutils \
1642     maybe-check-time \
1643     maybe-check-uudecode \
1644     maybe-check-wdiff \
1645     maybe-check-zip \
1646     maybe-check-zlib \
1647     maybe-check-gdb \
1648     maybe-check-expect \
1649     maybe-check-guile \
1650     maybe-check-tk \
1651     maybe-check-tix \
1652     maybe-check-libtermcap \
1653     maybe-check-utils \
1654     maybe-check-target-libstdc++-v3 \
1655     maybe-check-target-newlib \
1656     maybe-check-target-libf2c \
1657     maybe-check-target-libobjc \
1658     maybe-check-target-libtermcap \
1659     maybe-check-target-winsup \
1660     maybe-check-target-libgloss \
1661     maybe-check-target-libiberty \
1662     maybe-check-target-gperf \
1663     maybe-check-target-examples \
1664     maybe-check-target-libffi \
1665     maybe-check-target-libjava \
1666     maybe-check-target-zlib \
1667     maybe-check-target-boehm-gc \
1668     maybe-check-target-qthreads \
1669     maybe-check-target-rda \
1670     maybe-check-target-libada
1671
1672 # Automated reporting of test results.
1673
1674 warning.log: build.log
1675         $(srcdir)/contrib/warn_summary build.log > $@
1676
1677 mail-report.log:
1678         if test x'$(BOOT_CFLAGS)' != x''; then \
1679             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1680         fi; \
1681         $(srcdir)/contrib/test_summary -t >$@
1682         chmod +x $@
1683         echo If you really want to send e-mail, run ./$@ now
1684
1685 mail-report-with-warnings.log: warning.log
1686         if test x'$(BOOT_CFLAGS)' != x''; then \
1687             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1688         fi; \
1689         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1690         chmod +x $@
1691         echo If you really want to send e-mail, run ./$@ now
1692
1693 # Installation targets.
1694
1695 .PHONY: install uninstall
1696 install: installdirs install-host install-target
1697
1698 .PHONY: install-host-nogcc
1699 install-host-nogcc:  \
1700     maybe-install-ash \
1701     maybe-install-autoconf \
1702     maybe-install-automake \
1703     maybe-install-bash \
1704     maybe-install-bfd \
1705     maybe-install-opcodes \
1706     maybe-install-binutils \
1707     maybe-install-bison \
1708     maybe-install-byacc \
1709     maybe-install-bzip2 \
1710     maybe-install-dejagnu \
1711     maybe-install-diff \
1712     maybe-install-dosutils \
1713     maybe-install-etc \
1714     maybe-install-fastjar \
1715     maybe-install-fileutils \
1716     maybe-install-findutils \
1717     maybe-install-find \
1718     maybe-install-flex \
1719     maybe-install-gas \
1720     maybe-install-gawk \
1721     maybe-install-gettext \
1722     maybe-install-gnuserv \
1723     maybe-install-gprof \
1724     maybe-install-gzip \
1725     maybe-install-hello \
1726     maybe-install-indent \
1727     maybe-install-intl \
1728     maybe-install-tcl \
1729     maybe-install-itcl \
1730     maybe-install-ld \
1731     maybe-install-libgui \
1732     maybe-install-libiberty \
1733     maybe-install-libtool \
1734     maybe-install-m4 \
1735     maybe-install-make \
1736     maybe-install-mmalloc \
1737     maybe-install-patch \
1738     maybe-install-perl \
1739     maybe-install-prms \
1740     maybe-install-rcs \
1741     maybe-install-readline \
1742     maybe-install-release \
1743     maybe-install-recode \
1744     maybe-install-sed \
1745     maybe-install-send-pr \
1746     maybe-install-shellutils \
1747     maybe-install-sid \
1748     maybe-install-sim \
1749     maybe-install-tar \
1750     maybe-install-texinfo \
1751     maybe-install-textutils \
1752     maybe-install-time \
1753     maybe-install-uudecode \
1754     maybe-install-wdiff \
1755     maybe-install-zip \
1756     maybe-install-zlib \
1757     maybe-install-gdb \
1758     maybe-install-expect \
1759     maybe-install-guile \
1760     maybe-install-tk \
1761     maybe-install-tix \
1762     maybe-install-libtermcap \
1763     maybe-install-utils
1764
1765 .PHONY: install-host
1766 install-host: maybe-install-gcc  \
1767     maybe-install-ash \
1768     maybe-install-autoconf \
1769     maybe-install-automake \
1770     maybe-install-bash \
1771     maybe-install-bfd \
1772     maybe-install-opcodes \
1773     maybe-install-binutils \
1774     maybe-install-bison \
1775     maybe-install-byacc \
1776     maybe-install-bzip2 \
1777     maybe-install-dejagnu \
1778     maybe-install-diff \
1779     maybe-install-dosutils \
1780     maybe-install-etc \
1781     maybe-install-fastjar \
1782     maybe-install-fileutils \
1783     maybe-install-findutils \
1784     maybe-install-find \
1785     maybe-install-flex \
1786     maybe-install-gas \
1787     maybe-install-gawk \
1788     maybe-install-gettext \
1789     maybe-install-gnuserv \
1790     maybe-install-gprof \
1791     maybe-install-gzip \
1792     maybe-install-hello \
1793     maybe-install-indent \
1794     maybe-install-intl \
1795     maybe-install-tcl \
1796     maybe-install-itcl \
1797     maybe-install-ld \
1798     maybe-install-libgui \
1799     maybe-install-libiberty \
1800     maybe-install-libtool \
1801     maybe-install-m4 \
1802     maybe-install-make \
1803     maybe-install-mmalloc \
1804     maybe-install-patch \
1805     maybe-install-perl \
1806     maybe-install-prms \
1807     maybe-install-rcs \
1808     maybe-install-readline \
1809     maybe-install-release \
1810     maybe-install-recode \
1811     maybe-install-sed \
1812     maybe-install-send-pr \
1813     maybe-install-shellutils \
1814     maybe-install-sid \
1815     maybe-install-sim \
1816     maybe-install-tar \
1817     maybe-install-texinfo \
1818     maybe-install-textutils \
1819     maybe-install-time \
1820     maybe-install-uudecode \
1821     maybe-install-wdiff \
1822     maybe-install-zip \
1823     maybe-install-zlib \
1824     maybe-install-gdb \
1825     maybe-install-expect \
1826     maybe-install-guile \
1827     maybe-install-tk \
1828     maybe-install-tix \
1829     maybe-install-libtermcap \
1830     maybe-install-utils
1831
1832 .PHONY: install-target
1833 install-target:  \
1834     maybe-install-target-libstdc++-v3 \
1835     maybe-install-target-newlib \
1836     maybe-install-target-libf2c \
1837     maybe-install-target-libobjc \
1838     maybe-install-target-libtermcap \
1839     maybe-install-target-winsup \
1840     maybe-install-target-libgloss \
1841     maybe-install-target-libiberty \
1842     maybe-install-target-gperf \
1843     maybe-install-target-examples \
1844     maybe-install-target-libffi \
1845     maybe-install-target-libjava \
1846     maybe-install-target-zlib \
1847     maybe-install-target-boehm-gc \
1848     maybe-install-target-qthreads \
1849     maybe-install-target-rda \
1850     maybe-install-target-libada
1851
1852 uninstall:
1853         @echo "the uninstall target is not supported in this tree"
1854
1855 .PHONY: install.all
1856 install.all: install-no-fixedincludes
1857         @if [ -f ./gcc/Makefile ] ; then \
1858                 r=`${PWD_COMMAND}` ; export r ; \
1859                 $(SET_LIB_PATH) \
1860                 (cd ./gcc && \
1861                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1862         else \
1863                 true ; \
1864         fi
1865
1866 # install-no-fixedincludes is used because Cygnus can not distribute
1867 # the fixed header files.
1868 .PHONY: install-no-fixedincludes
1869 install-no-fixedincludes: installdirs install-host-nogcc \
1870         install-target gcc-no-fixedincludes
1871
1872 ### other supporting targets
1873
1874 MAKEDIRS= \
1875         $(DESTDIR)$(prefix) \
1876         $(DESTDIR)$(exec_prefix)
1877 .PHONY: installdirs
1878 installdirs: mkinstalldirs
1879         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1880
1881 dir.info: do-install-info
1882         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1883           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1884           mv -f dir.info.new dir.info ; \
1885         else true ; \
1886         fi
1887
1888 dist:
1889         @echo "Building a full distribution of this tree isn't done"
1890         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
1891
1892 etags tags: TAGS
1893
1894 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
1895 # ability to use several tags files at once, so there is probably no need
1896 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
1897 # (if we felt like it) have this Makefile write a piece of elisp which
1898 # the user could load to tell emacs19 where all the TAGS files we just
1899 # built are.
1900 TAGS: do-TAGS
1901
1902 # --------------------------------------
1903 # Modules which run on the build machine
1904 # --------------------------------------
1905
1906 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1907 maybe-configure-build-libiberty:
1908 configure-build-libiberty:
1909         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1910         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1911         r=`${PWD_COMMAND}`; export r; \
1912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1913         AR="$(AR_FOR_BUILD)"; export AR; \
1914         AS="$(AS_FOR_BUILD)"; export AS; \
1915         CC="$(CC_FOR_BUILD)"; export CC; \
1916         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1917         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1918         CXX="$(CXX_FOR_BUILD)"; export CXX; \
1919         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1920         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1921         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1922         LD="$(LD_FOR_BUILD)"; export LD; \
1923         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1924         NM="$(NM_FOR_BUILD)"; export NM; \
1925         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1926         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1927         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1928         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1929         case $(srcdir) in \
1930           /* | [A-Za-z]:[\\/]*) \
1931             topdir=$(srcdir) ;; \
1932           *) \
1933             case "$(BUILD_SUBDIR)" in \
1934               .) topdir="../$(srcdir)" ;; \
1935               *) topdir="../../$(srcdir)" ;; \
1936             esac ;; \
1937         esac; \
1938         if [ "$(srcdir)" = "." ] ; then \
1939           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1940             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1941               if [ -f Makefile ]; then \
1942                 if $(MAKE) distclean; then \
1943                   true; \
1944                 else \
1945                   exit 1; \
1946                 fi; \
1947               else \
1948                 true; \
1949               fi; \
1950             else \
1951               exit 1; \
1952             fi; \
1953           else \
1954             true; \
1955           fi; \
1956           srcdiroption="--srcdir=."; \
1957           libsrcdir="."; \
1958         else \
1959           srcdiroption="--srcdir=$${topdir}/libiberty"; \
1960           libsrcdir="$$s/libiberty"; \
1961         fi; \
1962         rm -f no-such-file || : ; \
1963         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1964           $(BUILD_CONFIGARGS) $${srcdiroption} \
1965           --with-build-subdir="$(BUILD_SUBDIR)" \
1966           || exit 1
1967
1968 .PHONY: all-build-libiberty maybe-all-build-libiberty
1969 maybe-all-build-libiberty:
1970 all-build-libiberty: configure-build-libiberty
1971         @r=`${PWD_COMMAND}`; export r; \
1972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1973         (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
1974
1975
1976 # --------------------------------------
1977 # Modules which run on the host machine
1978 # --------------------------------------
1979
1980 .PHONY: configure-ash maybe-configure-ash
1981 maybe-configure-ash:
1982 configure-ash:
1983         @test ! -f ash/Makefile || exit 0; \
1984         [ -d ash ] || mkdir ash; \
1985         r=`${PWD_COMMAND}`; export r; \
1986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1987         CC="$(CC)"; export CC; \
1988         CFLAGS="$(CFLAGS)"; export CFLAGS; \
1989         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1990         CXX="$(CXX)"; export CXX; \
1991         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1992         AR="$(AR)"; export AR; \
1993         AS="$(AS)"; export AS; \
1994         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1995         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1996         LD="$(LD)"; export LD; \
1997         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
1998         NM="$(NM)"; export NM; \
1999         RANLIB="$(RANLIB)"; export RANLIB; \
2000         WINDRES="$(WINDRES)"; export WINDRES; \
2001         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2002         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2003         echo Configuring in ash; \
2004         cd ash || exit 1; \
2005         case $(srcdir) in \
2006           \.) \
2007             srcdiroption="--srcdir=."; \
2008             libsrcdir=".";; \
2009           /* | [A-Za-z]:[\\/]*) \
2010             srcdiroption="--srcdir=$(srcdir)/ash"; \
2011             libsrcdir="$$s/ash";; \
2012           *) \
2013             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2014             libsrcdir="$$s/ash";; \
2015         esac; \
2016         $(SHELL) $${libsrcdir}/configure \
2017           $(HOST_CONFIGARGS) $${srcdiroption} \
2018           || exit 1
2019
2020 .PHONY: all-ash maybe-all-ash
2021 maybe-all-ash:
2022 all-ash: configure-ash
2023         @r=`${PWD_COMMAND}`; export r; \
2024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2025         $(SET_LIB_PATH) \
2026         (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2027
2028 .PHONY: check-ash maybe-check-ash
2029 maybe-check-ash:
2030
2031 check-ash:
2032         @r=`${PWD_COMMAND}`; export r; \
2033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2034         $(SET_LIB_PATH) \
2035         (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2036
2037
2038 .PHONY: install-ash maybe-install-ash
2039 maybe-install-ash:
2040
2041 install-ash: installdirs
2042         @r=`${PWD_COMMAND}`; export r; \
2043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2044         $(SET_LIB_PATH) \
2045         (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2046
2047
2048 # Other targets (info, dvi, etc.)
2049
2050 .PHONY: maybe-info-ash info-ash
2051 maybe-info-ash:
2052
2053 info-ash: \
2054     configure-ash 
2055         @[ -f ./ash/Makefile ] || exit 0; \
2056         r=`${PWD_COMMAND}`; export r; \
2057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2058         $(SET_LIB_PATH) \
2059         for flag in $(EXTRA_HOST_FLAGS); do \
2060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2061         done; \
2062         echo "Doing info in ash" ; \
2063         (cd ash && \
2064           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2065                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2066                   "RANLIB=$${RANLIB}" \
2067                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2068                   info) \
2069           || exit 1
2070
2071
2072 .PHONY: maybe-dvi-ash dvi-ash
2073 maybe-dvi-ash:
2074
2075 dvi-ash: \
2076     configure-ash 
2077         @[ -f ./ash/Makefile ] || exit 0; \
2078         r=`${PWD_COMMAND}`; export r; \
2079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2080         $(SET_LIB_PATH) \
2081         for flag in $(EXTRA_HOST_FLAGS); do \
2082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2083         done; \
2084         echo "Doing dvi in ash" ; \
2085         (cd ash && \
2086           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2087                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2088                   "RANLIB=$${RANLIB}" \
2089                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2090                   dvi) \
2091           || exit 1
2092
2093
2094 .PHONY: maybe-TAGS-ash TAGS-ash
2095 maybe-TAGS-ash:
2096
2097 TAGS-ash: \
2098     configure-ash 
2099         @[ -f ./ash/Makefile ] || exit 0; \
2100         r=`${PWD_COMMAND}`; export r; \
2101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2102         $(SET_LIB_PATH) \
2103         for flag in $(EXTRA_HOST_FLAGS); do \
2104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2105         done; \
2106         echo "Doing TAGS in ash" ; \
2107         (cd ash && \
2108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2110                   "RANLIB=$${RANLIB}" \
2111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2112                   TAGS) \
2113           || exit 1
2114
2115
2116 .PHONY: maybe-install-info-ash install-info-ash
2117 maybe-install-info-ash:
2118
2119 install-info-ash: \
2120     configure-ash \
2121     info-ash 
2122         @[ -f ./ash/Makefile ] || exit 0; \
2123         r=`${PWD_COMMAND}`; export r; \
2124         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2125         $(SET_LIB_PATH) \
2126         for flag in $(EXTRA_HOST_FLAGS); do \
2127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2128         done; \
2129         echo "Doing install-info in ash" ; \
2130         (cd ash && \
2131           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2132                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2133                   "RANLIB=$${RANLIB}" \
2134                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2135                   install-info) \
2136           || exit 1
2137
2138
2139 .PHONY: maybe-installcheck-ash installcheck-ash
2140 maybe-installcheck-ash:
2141
2142 installcheck-ash: \
2143     configure-ash 
2144         @[ -f ./ash/Makefile ] || exit 0; \
2145         r=`${PWD_COMMAND}`; export r; \
2146         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2147         $(SET_LIB_PATH) \
2148         for flag in $(EXTRA_HOST_FLAGS); do \
2149           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2150         done; \
2151         echo "Doing installcheck in ash" ; \
2152         (cd ash && \
2153           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2154                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2155                   "RANLIB=$${RANLIB}" \
2156                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2157                   installcheck) \
2158           || exit 1
2159
2160
2161 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2162 maybe-mostlyclean-ash:
2163
2164 mostlyclean-ash: 
2165         @[ -f ./ash/Makefile ] || exit 0; \
2166         r=`${PWD_COMMAND}`; export r; \
2167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2168         $(SET_LIB_PATH) \
2169         for flag in $(EXTRA_HOST_FLAGS); do \
2170           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2171         done; \
2172         echo "Doing mostlyclean in ash" ; \
2173         (cd ash && \
2174           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2175                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2176                   "RANLIB=$${RANLIB}" \
2177                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2178                   mostlyclean) \
2179           || exit 1
2180
2181
2182 .PHONY: maybe-clean-ash clean-ash
2183 maybe-clean-ash:
2184
2185 clean-ash: 
2186         @[ -f ./ash/Makefile ] || exit 0; \
2187         r=`${PWD_COMMAND}`; export r; \
2188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189         $(SET_LIB_PATH) \
2190         for flag in $(EXTRA_HOST_FLAGS); do \
2191           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2192         done; \
2193         echo "Doing clean in ash" ; \
2194         (cd ash && \
2195           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2196                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2197                   "RANLIB=$${RANLIB}" \
2198                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2199                   clean) \
2200           || exit 1
2201
2202
2203 .PHONY: maybe-distclean-ash distclean-ash
2204 maybe-distclean-ash:
2205
2206 distclean-ash: 
2207         @[ -f ./ash/Makefile ] || exit 0; \
2208         r=`${PWD_COMMAND}`; export r; \
2209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2210         $(SET_LIB_PATH) \
2211         for flag in $(EXTRA_HOST_FLAGS); do \
2212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2213         done; \
2214         echo "Doing distclean in ash" ; \
2215         (cd ash && \
2216           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2217                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2218                   "RANLIB=$${RANLIB}" \
2219                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2220                   distclean) \
2221           || exit 1
2222
2223
2224 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2225 maybe-maintainer-clean-ash:
2226
2227 maintainer-clean-ash: 
2228         @[ -f ./ash/Makefile ] || exit 0; \
2229         r=`${PWD_COMMAND}`; export r; \
2230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2231         $(SET_LIB_PATH) \
2232         for flag in $(EXTRA_HOST_FLAGS); do \
2233           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2234         done; \
2235         echo "Doing maintainer-clean in ash" ; \
2236         (cd ash && \
2237           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2238                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2239                   "RANLIB=$${RANLIB}" \
2240                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2241                   maintainer-clean) \
2242           || exit 1
2243
2244
2245
2246 .PHONY: configure-autoconf maybe-configure-autoconf
2247 maybe-configure-autoconf:
2248 configure-autoconf:
2249         @test ! -f autoconf/Makefile || exit 0; \
2250         [ -d autoconf ] || mkdir autoconf; \
2251         r=`${PWD_COMMAND}`; export r; \
2252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2253         CC="$(CC)"; export CC; \
2254         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2255         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2256         CXX="$(CXX)"; export CXX; \
2257         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2258         AR="$(AR)"; export AR; \
2259         AS="$(AS)"; export AS; \
2260         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2261         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2262         LD="$(LD)"; export LD; \
2263         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2264         NM="$(NM)"; export NM; \
2265         RANLIB="$(RANLIB)"; export RANLIB; \
2266         WINDRES="$(WINDRES)"; export WINDRES; \
2267         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2268         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2269         echo Configuring in autoconf; \
2270         cd autoconf || exit 1; \
2271         case $(srcdir) in \
2272           \.) \
2273             srcdiroption="--srcdir=."; \
2274             libsrcdir=".";; \
2275           /* | [A-Za-z]:[\\/]*) \
2276             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2277             libsrcdir="$$s/autoconf";; \
2278           *) \
2279             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2280             libsrcdir="$$s/autoconf";; \
2281         esac; \
2282         $(SHELL) $${libsrcdir}/configure \
2283           $(HOST_CONFIGARGS) $${srcdiroption} \
2284           || exit 1
2285
2286 .PHONY: all-autoconf maybe-all-autoconf
2287 maybe-all-autoconf:
2288 all-autoconf: configure-autoconf
2289         @r=`${PWD_COMMAND}`; export r; \
2290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291         $(SET_LIB_PATH) \
2292         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2293
2294 .PHONY: check-autoconf maybe-check-autoconf
2295 maybe-check-autoconf:
2296
2297 check-autoconf:
2298         @r=`${PWD_COMMAND}`; export r; \
2299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2300         $(SET_LIB_PATH) \
2301         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2302
2303
2304 .PHONY: install-autoconf maybe-install-autoconf
2305 maybe-install-autoconf:
2306
2307 install-autoconf: installdirs
2308         @r=`${PWD_COMMAND}`; export r; \
2309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310         $(SET_LIB_PATH) \
2311         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2312
2313
2314 # Other targets (info, dvi, etc.)
2315
2316 .PHONY: maybe-info-autoconf info-autoconf
2317 maybe-info-autoconf:
2318
2319 info-autoconf: \
2320     configure-autoconf 
2321         @[ -f ./autoconf/Makefile ] || exit 0; \
2322         r=`${PWD_COMMAND}`; export r; \
2323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324         $(SET_LIB_PATH) \
2325         for flag in $(EXTRA_HOST_FLAGS); do \
2326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2327         done; \
2328         echo "Doing info in autoconf" ; \
2329         (cd autoconf && \
2330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2332                   "RANLIB=$${RANLIB}" \
2333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2334                   info) \
2335           || exit 1
2336
2337
2338 .PHONY: maybe-dvi-autoconf dvi-autoconf
2339 maybe-dvi-autoconf:
2340
2341 dvi-autoconf: \
2342     configure-autoconf 
2343         @[ -f ./autoconf/Makefile ] || exit 0; \
2344         r=`${PWD_COMMAND}`; export r; \
2345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346         $(SET_LIB_PATH) \
2347         for flag in $(EXTRA_HOST_FLAGS); do \
2348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2349         done; \
2350         echo "Doing dvi in autoconf" ; \
2351         (cd autoconf && \
2352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2354                   "RANLIB=$${RANLIB}" \
2355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2356                   dvi) \
2357           || exit 1
2358
2359
2360 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2361 maybe-TAGS-autoconf:
2362
2363 TAGS-autoconf: \
2364     configure-autoconf 
2365         @[ -f ./autoconf/Makefile ] || exit 0; \
2366         r=`${PWD_COMMAND}`; export r; \
2367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2368         $(SET_LIB_PATH) \
2369         for flag in $(EXTRA_HOST_FLAGS); do \
2370           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2371         done; \
2372         echo "Doing TAGS in autoconf" ; \
2373         (cd autoconf && \
2374           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2375                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2376                   "RANLIB=$${RANLIB}" \
2377                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2378                   TAGS) \
2379           || exit 1
2380
2381
2382 .PHONY: maybe-install-info-autoconf install-info-autoconf
2383 maybe-install-info-autoconf:
2384
2385 install-info-autoconf: \
2386     configure-autoconf \
2387     info-autoconf 
2388         @[ -f ./autoconf/Makefile ] || exit 0; \
2389         r=`${PWD_COMMAND}`; export r; \
2390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2391         $(SET_LIB_PATH) \
2392         for flag in $(EXTRA_HOST_FLAGS); do \
2393           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2394         done; \
2395         echo "Doing install-info in autoconf" ; \
2396         (cd autoconf && \
2397           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2398                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2399                   "RANLIB=$${RANLIB}" \
2400                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2401                   install-info) \
2402           || exit 1
2403
2404
2405 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2406 maybe-installcheck-autoconf:
2407
2408 installcheck-autoconf: \
2409     configure-autoconf 
2410         @[ -f ./autoconf/Makefile ] || exit 0; \
2411         r=`${PWD_COMMAND}`; export r; \
2412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2413         $(SET_LIB_PATH) \
2414         for flag in $(EXTRA_HOST_FLAGS); do \
2415           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2416         done; \
2417         echo "Doing installcheck in autoconf" ; \
2418         (cd autoconf && \
2419           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2420                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2421                   "RANLIB=$${RANLIB}" \
2422                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2423                   installcheck) \
2424           || exit 1
2425
2426
2427 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2428 maybe-mostlyclean-autoconf:
2429
2430 mostlyclean-autoconf: 
2431         @[ -f ./autoconf/Makefile ] || exit 0; \
2432         r=`${PWD_COMMAND}`; export r; \
2433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434         $(SET_LIB_PATH) \
2435         for flag in $(EXTRA_HOST_FLAGS); do \
2436           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2437         done; \
2438         echo "Doing mostlyclean in autoconf" ; \
2439         (cd autoconf && \
2440           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2441                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2442                   "RANLIB=$${RANLIB}" \
2443                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2444                   mostlyclean) \
2445           || exit 1
2446
2447
2448 .PHONY: maybe-clean-autoconf clean-autoconf
2449 maybe-clean-autoconf:
2450
2451 clean-autoconf: 
2452         @[ -f ./autoconf/Makefile ] || exit 0; \
2453         r=`${PWD_COMMAND}`; export r; \
2454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2455         $(SET_LIB_PATH) \
2456         for flag in $(EXTRA_HOST_FLAGS); do \
2457           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2458         done; \
2459         echo "Doing clean in autoconf" ; \
2460         (cd autoconf && \
2461           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2462                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2463                   "RANLIB=$${RANLIB}" \
2464                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2465                   clean) \
2466           || exit 1
2467
2468
2469 .PHONY: maybe-distclean-autoconf distclean-autoconf
2470 maybe-distclean-autoconf:
2471
2472 distclean-autoconf: 
2473         @[ -f ./autoconf/Makefile ] || exit 0; \
2474         r=`${PWD_COMMAND}`; export r; \
2475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2476         $(SET_LIB_PATH) \
2477         for flag in $(EXTRA_HOST_FLAGS); do \
2478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2479         done; \
2480         echo "Doing distclean in autoconf" ; \
2481         (cd autoconf && \
2482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2484                   "RANLIB=$${RANLIB}" \
2485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2486                   distclean) \
2487           || exit 1
2488
2489
2490 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2491 maybe-maintainer-clean-autoconf:
2492
2493 maintainer-clean-autoconf: 
2494         @[ -f ./autoconf/Makefile ] || exit 0; \
2495         r=`${PWD_COMMAND}`; export r; \
2496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2497         $(SET_LIB_PATH) \
2498         for flag in $(EXTRA_HOST_FLAGS); do \
2499           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2500         done; \
2501         echo "Doing maintainer-clean in autoconf" ; \
2502         (cd autoconf && \
2503           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2504                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2505                   "RANLIB=$${RANLIB}" \
2506                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2507                   maintainer-clean) \
2508           || exit 1
2509
2510
2511
2512 .PHONY: configure-automake maybe-configure-automake
2513 maybe-configure-automake:
2514 configure-automake:
2515         @test ! -f automake/Makefile || exit 0; \
2516         [ -d automake ] || mkdir automake; \
2517         r=`${PWD_COMMAND}`; export r; \
2518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519         CC="$(CC)"; export CC; \
2520         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2521         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2522         CXX="$(CXX)"; export CXX; \
2523         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2524         AR="$(AR)"; export AR; \
2525         AS="$(AS)"; export AS; \
2526         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2527         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2528         LD="$(LD)"; export LD; \
2529         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2530         NM="$(NM)"; export NM; \
2531         RANLIB="$(RANLIB)"; export RANLIB; \
2532         WINDRES="$(WINDRES)"; export WINDRES; \
2533         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2534         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2535         echo Configuring in automake; \
2536         cd automake || exit 1; \
2537         case $(srcdir) in \
2538           \.) \
2539             srcdiroption="--srcdir=."; \
2540             libsrcdir=".";; \
2541           /* | [A-Za-z]:[\\/]*) \
2542             srcdiroption="--srcdir=$(srcdir)/automake"; \
2543             libsrcdir="$$s/automake";; \
2544           *) \
2545             srcdiroption="--srcdir=../$(srcdir)/automake"; \
2546             libsrcdir="$$s/automake";; \
2547         esac; \
2548         $(SHELL) $${libsrcdir}/configure \
2549           $(HOST_CONFIGARGS) $${srcdiroption} \
2550           || exit 1
2551
2552 .PHONY: all-automake maybe-all-automake
2553 maybe-all-automake:
2554 all-automake: configure-automake
2555         @r=`${PWD_COMMAND}`; export r; \
2556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2557         $(SET_LIB_PATH) \
2558         (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2559
2560 .PHONY: check-automake maybe-check-automake
2561 maybe-check-automake:
2562
2563 check-automake:
2564         @r=`${PWD_COMMAND}`; export r; \
2565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566         $(SET_LIB_PATH) \
2567         (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2568
2569
2570 .PHONY: install-automake maybe-install-automake
2571 maybe-install-automake:
2572
2573 install-automake: installdirs
2574         @r=`${PWD_COMMAND}`; export r; \
2575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576         $(SET_LIB_PATH) \
2577         (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2578
2579
2580 # Other targets (info, dvi, etc.)
2581
2582 .PHONY: maybe-info-automake info-automake
2583 maybe-info-automake:
2584
2585 info-automake: \
2586     configure-automake 
2587         @[ -f ./automake/Makefile ] || exit 0; \
2588         r=`${PWD_COMMAND}`; export r; \
2589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590         $(SET_LIB_PATH) \
2591         for flag in $(EXTRA_HOST_FLAGS); do \
2592           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2593         done; \
2594         echo "Doing info in automake" ; \
2595         (cd automake && \
2596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2598                   "RANLIB=$${RANLIB}" \
2599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2600                   info) \
2601           || exit 1
2602
2603
2604 .PHONY: maybe-dvi-automake dvi-automake
2605 maybe-dvi-automake:
2606
2607 dvi-automake: \
2608     configure-automake 
2609         @[ -f ./automake/Makefile ] || exit 0; \
2610         r=`${PWD_COMMAND}`; export r; \
2611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2612         $(SET_LIB_PATH) \
2613         for flag in $(EXTRA_HOST_FLAGS); do \
2614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2615         done; \
2616         echo "Doing dvi in automake" ; \
2617         (cd automake && \
2618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620                   "RANLIB=$${RANLIB}" \
2621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2622                   dvi) \
2623           || exit 1
2624
2625
2626 .PHONY: maybe-TAGS-automake TAGS-automake
2627 maybe-TAGS-automake:
2628
2629 TAGS-automake: \
2630     configure-automake 
2631         @[ -f ./automake/Makefile ] || exit 0; \
2632         r=`${PWD_COMMAND}`; export r; \
2633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2634         $(SET_LIB_PATH) \
2635         for flag in $(EXTRA_HOST_FLAGS); do \
2636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2637         done; \
2638         echo "Doing TAGS in automake" ; \
2639         (cd automake && \
2640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2642                   "RANLIB=$${RANLIB}" \
2643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2644                   TAGS) \
2645           || exit 1
2646
2647
2648 .PHONY: maybe-install-info-automake install-info-automake
2649 maybe-install-info-automake:
2650
2651 install-info-automake: \
2652     configure-automake \
2653     info-automake 
2654         @[ -f ./automake/Makefile ] || exit 0; \
2655         r=`${PWD_COMMAND}`; export r; \
2656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2657         $(SET_LIB_PATH) \
2658         for flag in $(EXTRA_HOST_FLAGS); do \
2659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2660         done; \
2661         echo "Doing install-info in automake" ; \
2662         (cd automake && \
2663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2665                   "RANLIB=$${RANLIB}" \
2666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2667                   install-info) \
2668           || exit 1
2669
2670
2671 .PHONY: maybe-installcheck-automake installcheck-automake
2672 maybe-installcheck-automake:
2673
2674 installcheck-automake: \
2675     configure-automake 
2676         @[ -f ./automake/Makefile ] || exit 0; \
2677         r=`${PWD_COMMAND}`; export r; \
2678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2679         $(SET_LIB_PATH) \
2680         for flag in $(EXTRA_HOST_FLAGS); do \
2681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2682         done; \
2683         echo "Doing installcheck in automake" ; \
2684         (cd automake && \
2685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2687                   "RANLIB=$${RANLIB}" \
2688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2689                   installcheck) \
2690           || exit 1
2691
2692
2693 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2694 maybe-mostlyclean-automake:
2695
2696 mostlyclean-automake: 
2697         @[ -f ./automake/Makefile ] || exit 0; \
2698         r=`${PWD_COMMAND}`; export r; \
2699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2700         $(SET_LIB_PATH) \
2701         for flag in $(EXTRA_HOST_FLAGS); do \
2702           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2703         done; \
2704         echo "Doing mostlyclean in automake" ; \
2705         (cd automake && \
2706           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2707                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2708                   "RANLIB=$${RANLIB}" \
2709                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2710                   mostlyclean) \
2711           || exit 1
2712
2713
2714 .PHONY: maybe-clean-automake clean-automake
2715 maybe-clean-automake:
2716
2717 clean-automake: 
2718         @[ -f ./automake/Makefile ] || exit 0; \
2719         r=`${PWD_COMMAND}`; export r; \
2720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2721         $(SET_LIB_PATH) \
2722         for flag in $(EXTRA_HOST_FLAGS); do \
2723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2724         done; \
2725         echo "Doing clean in automake" ; \
2726         (cd automake && \
2727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729                   "RANLIB=$${RANLIB}" \
2730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2731                   clean) \
2732           || exit 1
2733
2734
2735 .PHONY: maybe-distclean-automake distclean-automake
2736 maybe-distclean-automake:
2737
2738 distclean-automake: 
2739         @[ -f ./automake/Makefile ] || exit 0; \
2740         r=`${PWD_COMMAND}`; export r; \
2741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2742         $(SET_LIB_PATH) \
2743         for flag in $(EXTRA_HOST_FLAGS); do \
2744           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2745         done; \
2746         echo "Doing distclean in automake" ; \
2747         (cd automake && \
2748           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750                   "RANLIB=$${RANLIB}" \
2751                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2752                   distclean) \
2753           || exit 1
2754
2755
2756 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2757 maybe-maintainer-clean-automake:
2758
2759 maintainer-clean-automake: 
2760         @[ -f ./automake/Makefile ] || exit 0; \
2761         r=`${PWD_COMMAND}`; export r; \
2762         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2763         $(SET_LIB_PATH) \
2764         for flag in $(EXTRA_HOST_FLAGS); do \
2765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2766         done; \
2767         echo "Doing maintainer-clean in automake" ; \
2768         (cd automake && \
2769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2771                   "RANLIB=$${RANLIB}" \
2772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2773                   maintainer-clean) \
2774           || exit 1
2775
2776
2777
2778 .PHONY: configure-bash maybe-configure-bash
2779 maybe-configure-bash:
2780 configure-bash:
2781         @test ! -f bash/Makefile || exit 0; \
2782         [ -d bash ] || mkdir bash; \
2783         r=`${PWD_COMMAND}`; export r; \
2784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2785         CC="$(CC)"; export CC; \
2786         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2787         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2788         CXX="$(CXX)"; export CXX; \
2789         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2790         AR="$(AR)"; export AR; \
2791         AS="$(AS)"; export AS; \
2792         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2793         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2794         LD="$(LD)"; export LD; \
2795         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2796         NM="$(NM)"; export NM; \
2797         RANLIB="$(RANLIB)"; export RANLIB; \
2798         WINDRES="$(WINDRES)"; export WINDRES; \
2799         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2800         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2801         echo Configuring in bash; \
2802         cd bash || exit 1; \
2803         case $(srcdir) in \
2804           \.) \
2805             srcdiroption="--srcdir=."; \
2806             libsrcdir=".";; \
2807           /* | [A-Za-z]:[\\/]*) \
2808             srcdiroption="--srcdir=$(srcdir)/bash"; \
2809             libsrcdir="$$s/bash";; \
2810           *) \
2811             srcdiroption="--srcdir=../$(srcdir)/bash"; \
2812             libsrcdir="$$s/bash";; \
2813         esac; \
2814         $(SHELL) $${libsrcdir}/configure \
2815           $(HOST_CONFIGARGS) $${srcdiroption} \
2816           || exit 1
2817
2818 .PHONY: all-bash maybe-all-bash
2819 maybe-all-bash:
2820 all-bash: configure-bash
2821         @r=`${PWD_COMMAND}`; export r; \
2822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823         $(SET_LIB_PATH) \
2824         (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
2825
2826 .PHONY: check-bash maybe-check-bash
2827 maybe-check-bash:
2828
2829 check-bash:
2830         @r=`${PWD_COMMAND}`; export r; \
2831         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2832         $(SET_LIB_PATH) \
2833         (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
2834
2835
2836 .PHONY: install-bash maybe-install-bash
2837 maybe-install-bash:
2838
2839 install-bash: installdirs
2840         @r=`${PWD_COMMAND}`; export r; \
2841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2842         $(SET_LIB_PATH) \
2843         (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
2844
2845
2846 # Other targets (info, dvi, etc.)
2847
2848 .PHONY: maybe-info-bash info-bash
2849 maybe-info-bash:
2850
2851 info-bash: \
2852     configure-bash 
2853         @[ -f ./bash/Makefile ] || exit 0; \
2854         r=`${PWD_COMMAND}`; export r; \
2855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2856         $(SET_LIB_PATH) \
2857         for flag in $(EXTRA_HOST_FLAGS); do \
2858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2859         done; \
2860         echo "Doing info in bash" ; \
2861         (cd bash && \
2862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2864                   "RANLIB=$${RANLIB}" \
2865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2866                   info) \
2867           || exit 1
2868
2869
2870 .PHONY: maybe-dvi-bash dvi-bash
2871 maybe-dvi-bash:
2872
2873 dvi-bash: \
2874     configure-bash 
2875         @[ -f ./bash/Makefile ] || exit 0; \
2876         r=`${PWD_COMMAND}`; export r; \
2877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2878         $(SET_LIB_PATH) \
2879         for flag in $(EXTRA_HOST_FLAGS); do \
2880           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2881         done; \
2882         echo "Doing dvi in bash" ; \
2883         (cd bash && \
2884           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2885                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2886                   "RANLIB=$${RANLIB}" \
2887                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2888                   dvi) \
2889           || exit 1
2890
2891
2892 .PHONY: maybe-TAGS-bash TAGS-bash
2893 maybe-TAGS-bash:
2894
2895 TAGS-bash: \
2896     configure-bash 
2897         @[ -f ./bash/Makefile ] || exit 0; \
2898         r=`${PWD_COMMAND}`; export r; \
2899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900         $(SET_LIB_PATH) \
2901         for flag in $(EXTRA_HOST_FLAGS); do \
2902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2903         done; \
2904         echo "Doing TAGS in bash" ; \
2905         (cd bash && \
2906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2908                   "RANLIB=$${RANLIB}" \
2909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2910                   TAGS) \
2911           || exit 1
2912
2913
2914 .PHONY: maybe-install-info-bash install-info-bash
2915 maybe-install-info-bash:
2916
2917 install-info-bash: \
2918     configure-bash \
2919     info-bash 
2920         @[ -f ./bash/Makefile ] || exit 0; \
2921         r=`${PWD_COMMAND}`; export r; \
2922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923         $(SET_LIB_PATH) \
2924         for flag in $(EXTRA_HOST_FLAGS); do \
2925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2926         done; \
2927         echo "Doing install-info in bash" ; \
2928         (cd bash && \
2929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2931                   "RANLIB=$${RANLIB}" \
2932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2933                   install-info) \
2934           || exit 1
2935
2936
2937 .PHONY: maybe-installcheck-bash installcheck-bash
2938 maybe-installcheck-bash:
2939
2940 installcheck-bash: \
2941     configure-bash 
2942         @[ -f ./bash/Makefile ] || exit 0; \
2943         r=`${PWD_COMMAND}`; export r; \
2944         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2945         $(SET_LIB_PATH) \
2946         for flag in $(EXTRA_HOST_FLAGS); do \
2947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2948         done; \
2949         echo "Doing installcheck in bash" ; \
2950         (cd bash && \
2951           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953                   "RANLIB=$${RANLIB}" \
2954                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2955                   installcheck) \
2956           || exit 1
2957
2958
2959 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
2960 maybe-mostlyclean-bash:
2961
2962 mostlyclean-bash: 
2963         @[ -f ./bash/Makefile ] || exit 0; \
2964         r=`${PWD_COMMAND}`; export r; \
2965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2966         $(SET_LIB_PATH) \
2967         for flag in $(EXTRA_HOST_FLAGS); do \
2968           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2969         done; \
2970         echo "Doing mostlyclean in bash" ; \
2971         (cd bash && \
2972           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2973                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2974                   "RANLIB=$${RANLIB}" \
2975                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2976                   mostlyclean) \
2977           || exit 1
2978
2979
2980 .PHONY: maybe-clean-bash clean-bash
2981 maybe-clean-bash:
2982
2983 clean-bash: 
2984         @[ -f ./bash/Makefile ] || exit 0; \
2985         r=`${PWD_COMMAND}`; export r; \
2986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987         $(SET_LIB_PATH) \
2988         for flag in $(EXTRA_HOST_FLAGS); do \
2989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2990         done; \
2991         echo "Doing clean in bash" ; \
2992         (cd bash && \
2993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2995                   "RANLIB=$${RANLIB}" \
2996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2997                   clean) \
2998           || exit 1
2999
3000
3001 .PHONY: maybe-distclean-bash distclean-bash
3002 maybe-distclean-bash:
3003
3004 distclean-bash: 
3005         @[ -f ./bash/Makefile ] || exit 0; \
3006         r=`${PWD_COMMAND}`; export r; \
3007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008         $(SET_LIB_PATH) \
3009         for flag in $(EXTRA_HOST_FLAGS); do \
3010           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3011         done; \
3012         echo "Doing distclean in bash" ; \
3013         (cd bash && \
3014           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3015                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3016                   "RANLIB=$${RANLIB}" \
3017                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018                   distclean) \
3019           || exit 1
3020
3021
3022 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3023 maybe-maintainer-clean-bash:
3024
3025 maintainer-clean-bash: 
3026         @[ -f ./bash/Makefile ] || exit 0; \
3027         r=`${PWD_COMMAND}`; export r; \
3028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029         $(SET_LIB_PATH) \
3030         for flag in $(EXTRA_HOST_FLAGS); do \
3031           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3032         done; \
3033         echo "Doing maintainer-clean in bash" ; \
3034         (cd bash && \
3035           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3036                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3037                   "RANLIB=$${RANLIB}" \
3038                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3039                   maintainer-clean) \
3040           || exit 1
3041
3042
3043
3044 .PHONY: configure-bfd maybe-configure-bfd
3045 maybe-configure-bfd:
3046 configure-bfd:
3047         @test ! -f bfd/Makefile || exit 0; \
3048         [ -d bfd ] || mkdir bfd; \
3049         r=`${PWD_COMMAND}`; export r; \
3050         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3051         CC="$(CC)"; export CC; \
3052         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3053         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3054         CXX="$(CXX)"; export CXX; \
3055         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3056         AR="$(AR)"; export AR; \
3057         AS="$(AS)"; export AS; \
3058         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3059         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3060         LD="$(LD)"; export LD; \
3061         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3062         NM="$(NM)"; export NM; \
3063         RANLIB="$(RANLIB)"; export RANLIB; \
3064         WINDRES="$(WINDRES)"; export WINDRES; \
3065         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3066         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3067         echo Configuring in bfd; \
3068         cd bfd || exit 1; \
3069         case $(srcdir) in \
3070           \.) \
3071             srcdiroption="--srcdir=."; \
3072             libsrcdir=".";; \
3073           /* | [A-Za-z]:[\\/]*) \
3074             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3075             libsrcdir="$$s/bfd";; \
3076           *) \
3077             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3078             libsrcdir="$$s/bfd";; \
3079         esac; \
3080         $(SHELL) $${libsrcdir}/configure \
3081           $(HOST_CONFIGARGS) $${srcdiroption} \
3082           || exit 1
3083
3084 .PHONY: all-bfd maybe-all-bfd
3085 maybe-all-bfd:
3086 all-bfd: configure-bfd
3087         @r=`${PWD_COMMAND}`; export r; \
3088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3089         $(SET_LIB_PATH) \
3090         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3091
3092 .PHONY: check-bfd maybe-check-bfd
3093 maybe-check-bfd:
3094
3095 check-bfd:
3096         @r=`${PWD_COMMAND}`; export r; \
3097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3098         $(SET_LIB_PATH) \
3099         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3100
3101
3102 .PHONY: install-bfd maybe-install-bfd
3103 maybe-install-bfd:
3104
3105 install-bfd: installdirs
3106         @r=`${PWD_COMMAND}`; export r; \
3107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108         $(SET_LIB_PATH) \
3109         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3110
3111
3112 # Other targets (info, dvi, etc.)
3113
3114 .PHONY: maybe-info-bfd info-bfd
3115 maybe-info-bfd:
3116
3117 info-bfd: \
3118     configure-bfd 
3119         @[ -f ./bfd/Makefile ] || exit 0; \
3120         r=`${PWD_COMMAND}`; export r; \
3121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122         $(SET_LIB_PATH) \
3123         for flag in $(EXTRA_HOST_FLAGS); do \
3124           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3125         done; \
3126         echo "Doing info in bfd" ; \
3127         (cd bfd && \
3128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3130                   "RANLIB=$${RANLIB}" \
3131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3132                   info) \
3133           || exit 1
3134
3135
3136 .PHONY: maybe-dvi-bfd dvi-bfd
3137 maybe-dvi-bfd:
3138
3139 dvi-bfd: \
3140     configure-bfd 
3141         @[ -f ./bfd/Makefile ] || exit 0; \
3142         r=`${PWD_COMMAND}`; export r; \
3143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144         $(SET_LIB_PATH) \
3145         for flag in $(EXTRA_HOST_FLAGS); do \
3146           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3147         done; \
3148         echo "Doing dvi in bfd" ; \
3149         (cd bfd && \
3150           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3151                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3152                   "RANLIB=$${RANLIB}" \
3153                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3154                   dvi) \
3155           || exit 1
3156
3157
3158 .PHONY: maybe-TAGS-bfd TAGS-bfd
3159 maybe-TAGS-bfd:
3160
3161 TAGS-bfd: \
3162     configure-bfd 
3163         @[ -f ./bfd/Makefile ] || exit 0; \
3164         r=`${PWD_COMMAND}`; export r; \
3165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166         $(SET_LIB_PATH) \
3167         for flag in $(EXTRA_HOST_FLAGS); do \
3168           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3169         done; \
3170         echo "Doing TAGS in bfd" ; \
3171         (cd bfd && \
3172           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3173                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3174                   "RANLIB=$${RANLIB}" \
3175                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3176                   TAGS) \
3177           || exit 1
3178
3179
3180 .PHONY: maybe-install-info-bfd install-info-bfd
3181 maybe-install-info-bfd:
3182
3183 install-info-bfd: \
3184     configure-bfd \
3185     info-bfd 
3186         @[ -f ./bfd/Makefile ] || exit 0; \
3187         r=`${PWD_COMMAND}`; export r; \
3188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189         $(SET_LIB_PATH) \
3190         for flag in $(EXTRA_HOST_FLAGS); do \
3191           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3192         done; \
3193         echo "Doing install-info in bfd" ; \
3194         (cd bfd && \
3195           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3196                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3197                   "RANLIB=$${RANLIB}" \
3198                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3199                   install-info) \
3200           || exit 1
3201
3202
3203 .PHONY: maybe-installcheck-bfd installcheck-bfd
3204 maybe-installcheck-bfd:
3205
3206 installcheck-bfd: \
3207     configure-bfd 
3208         @[ -f ./bfd/Makefile ] || exit 0; \
3209         r=`${PWD_COMMAND}`; export r; \
3210         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211         $(SET_LIB_PATH) \
3212         for flag in $(EXTRA_HOST_FLAGS); do \
3213           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214         done; \
3215         echo "Doing installcheck in bfd" ; \
3216         (cd bfd && \
3217           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219                   "RANLIB=$${RANLIB}" \
3220                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221                   installcheck) \
3222           || exit 1
3223
3224
3225 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3226 maybe-mostlyclean-bfd:
3227
3228 mostlyclean-bfd: 
3229         @[ -f ./bfd/Makefile ] || exit 0; \
3230         r=`${PWD_COMMAND}`; export r; \
3231         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232         $(SET_LIB_PATH) \
3233         for flag in $(EXTRA_HOST_FLAGS); do \
3234           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3235         done; \
3236         echo "Doing mostlyclean in bfd" ; \
3237         (cd bfd && \
3238           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3239                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3240                   "RANLIB=$${RANLIB}" \
3241                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3242                   mostlyclean) \
3243           || exit 1
3244
3245
3246 .PHONY: maybe-clean-bfd clean-bfd
3247 maybe-clean-bfd:
3248
3249 clean-bfd: 
3250         @[ -f ./bfd/Makefile ] || exit 0; \
3251         r=`${PWD_COMMAND}`; export r; \
3252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253         $(SET_LIB_PATH) \
3254         for flag in $(EXTRA_HOST_FLAGS); do \
3255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3256         done; \
3257         echo "Doing clean in bfd" ; \
3258         (cd bfd && \
3259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3261                   "RANLIB=$${RANLIB}" \
3262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3263                   clean) \
3264           || exit 1
3265
3266
3267 .PHONY: maybe-distclean-bfd distclean-bfd
3268 maybe-distclean-bfd:
3269
3270 distclean-bfd: 
3271         @[ -f ./bfd/Makefile ] || exit 0; \
3272         r=`${PWD_COMMAND}`; export r; \
3273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3274         $(SET_LIB_PATH) \
3275         for flag in $(EXTRA_HOST_FLAGS); do \
3276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3277         done; \
3278         echo "Doing distclean in bfd" ; \
3279         (cd bfd && \
3280           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282                   "RANLIB=$${RANLIB}" \
3283                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3284                   distclean) \
3285           || exit 1
3286
3287
3288 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3289 maybe-maintainer-clean-bfd:
3290
3291 maintainer-clean-bfd: 
3292         @[ -f ./bfd/Makefile ] || exit 0; \
3293         r=`${PWD_COMMAND}`; export r; \
3294         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3295         $(SET_LIB_PATH) \
3296         for flag in $(EXTRA_HOST_FLAGS); do \
3297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3298         done; \
3299         echo "Doing maintainer-clean in bfd" ; \
3300         (cd bfd && \
3301           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3302                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3303                   "RANLIB=$${RANLIB}" \
3304                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3305                   maintainer-clean) \
3306           || exit 1
3307
3308
3309
3310 .PHONY: configure-opcodes maybe-configure-opcodes
3311 maybe-configure-opcodes:
3312 configure-opcodes:
3313         @test ! -f opcodes/Makefile || exit 0; \
3314         [ -d opcodes ] || mkdir opcodes; \
3315         r=`${PWD_COMMAND}`; export r; \
3316         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3317         CC="$(CC)"; export CC; \
3318         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3319         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3320         CXX="$(CXX)"; export CXX; \
3321         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3322         AR="$(AR)"; export AR; \
3323         AS="$(AS)"; export AS; \
3324         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3325         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3326         LD="$(LD)"; export LD; \
3327         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3328         NM="$(NM)"; export NM; \
3329         RANLIB="$(RANLIB)"; export RANLIB; \
3330         WINDRES="$(WINDRES)"; export WINDRES; \
3331         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3332         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3333         echo Configuring in opcodes; \
3334         cd opcodes || exit 1; \
3335         case $(srcdir) in \
3336           \.) \
3337             srcdiroption="--srcdir=."; \
3338             libsrcdir=".";; \
3339           /* | [A-Za-z]:[\\/]*) \
3340             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3341             libsrcdir="$$s/opcodes";; \
3342           *) \
3343             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3344             libsrcdir="$$s/opcodes";; \
3345         esac; \
3346         $(SHELL) $${libsrcdir}/configure \
3347           $(HOST_CONFIGARGS) $${srcdiroption} \
3348           || exit 1
3349
3350 .PHONY: all-opcodes maybe-all-opcodes
3351 maybe-all-opcodes:
3352 all-opcodes: configure-opcodes
3353         @r=`${PWD_COMMAND}`; export r; \
3354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355         $(SET_LIB_PATH) \
3356         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3357
3358 .PHONY: check-opcodes maybe-check-opcodes
3359 maybe-check-opcodes:
3360
3361 check-opcodes:
3362         @r=`${PWD_COMMAND}`; export r; \
3363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3364         $(SET_LIB_PATH) \
3365         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3366
3367
3368 .PHONY: install-opcodes maybe-install-opcodes
3369 maybe-install-opcodes:
3370
3371 install-opcodes: installdirs
3372         @r=`${PWD_COMMAND}`; export r; \
3373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374         $(SET_LIB_PATH) \
3375         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3376
3377
3378 # Other targets (info, dvi, etc.)
3379
3380 .PHONY: maybe-info-opcodes info-opcodes
3381 maybe-info-opcodes:
3382
3383 info-opcodes: \
3384     configure-opcodes 
3385         @[ -f ./opcodes/Makefile ] || exit 0; \
3386         r=`${PWD_COMMAND}`; export r; \
3387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3388         $(SET_LIB_PATH) \
3389         for flag in $(EXTRA_HOST_FLAGS); do \
3390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3391         done; \
3392         echo "Doing info in opcodes" ; \
3393         (cd opcodes && \
3394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3396                   "RANLIB=$${RANLIB}" \
3397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3398                   info) \
3399           || exit 1
3400
3401
3402 .PHONY: maybe-dvi-opcodes dvi-opcodes
3403 maybe-dvi-opcodes:
3404
3405 dvi-opcodes: \
3406     configure-opcodes 
3407         @[ -f ./opcodes/Makefile ] || exit 0; \
3408         r=`${PWD_COMMAND}`; export r; \
3409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3410         $(SET_LIB_PATH) \
3411         for flag in $(EXTRA_HOST_FLAGS); do \
3412           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3413         done; \
3414         echo "Doing dvi in opcodes" ; \
3415         (cd opcodes && \
3416           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3417                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3418                   "RANLIB=$${RANLIB}" \
3419                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3420                   dvi) \
3421           || exit 1
3422
3423
3424 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3425 maybe-TAGS-opcodes:
3426
3427 TAGS-opcodes: \
3428     configure-opcodes 
3429         @[ -f ./opcodes/Makefile ] || exit 0; \
3430         r=`${PWD_COMMAND}`; export r; \
3431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432         $(SET_LIB_PATH) \
3433         for flag in $(EXTRA_HOST_FLAGS); do \
3434           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435         done; \
3436         echo "Doing TAGS in opcodes" ; \
3437         (cd opcodes && \
3438           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440                   "RANLIB=$${RANLIB}" \
3441                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3442                   TAGS) \
3443           || exit 1
3444
3445
3446 .PHONY: maybe-install-info-opcodes install-info-opcodes
3447 maybe-install-info-opcodes:
3448
3449 install-info-opcodes: \
3450     configure-opcodes \
3451     info-opcodes 
3452         @[ -f ./opcodes/Makefile ] || exit 0; \
3453         r=`${PWD_COMMAND}`; export r; \
3454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455         $(SET_LIB_PATH) \
3456         for flag in $(EXTRA_HOST_FLAGS); do \
3457           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3458         done; \
3459         echo "Doing install-info in opcodes" ; \
3460         (cd opcodes && \
3461           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463                   "RANLIB=$${RANLIB}" \
3464                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3465                   install-info) \
3466           || exit 1
3467
3468
3469 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3470 maybe-installcheck-opcodes:
3471
3472 installcheck-opcodes: \
3473     configure-opcodes 
3474         @[ -f ./opcodes/Makefile ] || exit 0; \
3475         r=`${PWD_COMMAND}`; export r; \
3476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477         $(SET_LIB_PATH) \
3478         for flag in $(EXTRA_HOST_FLAGS); do \
3479           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3480         done; \
3481         echo "Doing installcheck in opcodes" ; \
3482         (cd opcodes && \
3483           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3484                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3485                   "RANLIB=$${RANLIB}" \
3486                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3487                   installcheck) \
3488           || exit 1
3489
3490
3491 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3492 maybe-mostlyclean-opcodes:
3493
3494 mostlyclean-opcodes: 
3495         @[ -f ./opcodes/Makefile ] || exit 0; \
3496         r=`${PWD_COMMAND}`; export r; \
3497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3498         $(SET_LIB_PATH) \
3499         for flag in $(EXTRA_HOST_FLAGS); do \
3500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3501         done; \
3502         echo "Doing mostlyclean in opcodes" ; \
3503         (cd opcodes && \
3504           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506                   "RANLIB=$${RANLIB}" \
3507                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3508                   mostlyclean) \
3509           || exit 1
3510
3511
3512 .PHONY: maybe-clean-opcodes clean-opcodes
3513 maybe-clean-opcodes:
3514
3515 clean-opcodes: 
3516         @[ -f ./opcodes/Makefile ] || exit 0; \
3517         r=`${PWD_COMMAND}`; export r; \
3518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3519         $(SET_LIB_PATH) \
3520         for flag in $(EXTRA_HOST_FLAGS); do \
3521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3522         done; \
3523         echo "Doing clean in opcodes" ; \
3524         (cd opcodes && \
3525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3527                   "RANLIB=$${RANLIB}" \
3528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3529                   clean) \
3530           || exit 1
3531
3532
3533 .PHONY: maybe-distclean-opcodes distclean-opcodes
3534 maybe-distclean-opcodes:
3535
3536 distclean-opcodes: 
3537         @[ -f ./opcodes/Makefile ] || exit 0; \
3538         r=`${PWD_COMMAND}`; export r; \
3539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3540         $(SET_LIB_PATH) \
3541         for flag in $(EXTRA_HOST_FLAGS); do \
3542           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3543         done; \
3544         echo "Doing distclean in opcodes" ; \
3545         (cd opcodes && \
3546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3548                   "RANLIB=$${RANLIB}" \
3549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3550                   distclean) \
3551           || exit 1
3552
3553
3554 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3555 maybe-maintainer-clean-opcodes:
3556
3557 maintainer-clean-opcodes: 
3558         @[ -f ./opcodes/Makefile ] || exit 0; \
3559         r=`${PWD_COMMAND}`; export r; \
3560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561         $(SET_LIB_PATH) \
3562         for flag in $(EXTRA_HOST_FLAGS); do \
3563           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564         done; \
3565         echo "Doing maintainer-clean in opcodes" ; \
3566         (cd opcodes && \
3567           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569                   "RANLIB=$${RANLIB}" \
3570                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3571                   maintainer-clean) \
3572           || exit 1
3573
3574
3575
3576 .PHONY: configure-binutils maybe-configure-binutils
3577 maybe-configure-binutils:
3578 configure-binutils:
3579         @test ! -f binutils/Makefile || exit 0; \
3580         [ -d binutils ] || mkdir binutils; \
3581         r=`${PWD_COMMAND}`; export r; \
3582         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583         CC="$(CC)"; export CC; \
3584         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3585         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3586         CXX="$(CXX)"; export CXX; \
3587         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3588         AR="$(AR)"; export AR; \
3589         AS="$(AS)"; export AS; \
3590         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3591         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3592         LD="$(LD)"; export LD; \
3593         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3594         NM="$(NM)"; export NM; \
3595         RANLIB="$(RANLIB)"; export RANLIB; \
3596         WINDRES="$(WINDRES)"; export WINDRES; \
3597         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3598         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3599         echo Configuring in binutils; \
3600         cd binutils || exit 1; \
3601         case $(srcdir) in \
3602           \.) \
3603             srcdiroption="--srcdir=."; \
3604             libsrcdir=".";; \
3605           /* | [A-Za-z]:[\\/]*) \
3606             srcdiroption="--srcdir=$(srcdir)/binutils"; \
3607             libsrcdir="$$s/binutils";; \
3608           *) \
3609             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3610             libsrcdir="$$s/binutils";; \
3611         esac; \
3612         $(SHELL) $${libsrcdir}/configure \
3613           $(HOST_CONFIGARGS) $${srcdiroption} \
3614           || exit 1
3615
3616 .PHONY: all-binutils maybe-all-binutils
3617 maybe-all-binutils:
3618 all-binutils: configure-binutils
3619         @r=`${PWD_COMMAND}`; export r; \
3620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3621         $(SET_LIB_PATH) \
3622         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3623
3624 .PHONY: check-binutils maybe-check-binutils
3625 maybe-check-binutils:
3626
3627 check-binutils:
3628         @r=`${PWD_COMMAND}`; export r; \
3629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630         $(SET_LIB_PATH) \
3631         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3632
3633
3634 .PHONY: install-binutils maybe-install-binutils
3635 maybe-install-binutils:
3636
3637 install-binutils: installdirs
3638         @r=`${PWD_COMMAND}`; export r; \
3639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3640         $(SET_LIB_PATH) \
3641         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
3642
3643
3644 # Other targets (info, dvi, etc.)
3645
3646 .PHONY: maybe-info-binutils info-binutils
3647 maybe-info-binutils:
3648
3649 info-binutils: \
3650     configure-binutils 
3651         @[ -f ./binutils/Makefile ] || exit 0; \
3652         r=`${PWD_COMMAND}`; export r; \
3653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3654         $(SET_LIB_PATH) \
3655         for flag in $(EXTRA_HOST_FLAGS); do \
3656           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3657         done; \
3658         echo "Doing info in binutils" ; \
3659         (cd binutils && \
3660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662                   "RANLIB=$${RANLIB}" \
3663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3664                   info) \
3665           || exit 1
3666
3667
3668 .PHONY: maybe-dvi-binutils dvi-binutils
3669 maybe-dvi-binutils:
3670
3671 dvi-binutils: \
3672     configure-binutils 
3673         @[ -f ./binutils/Makefile ] || exit 0; \
3674         r=`${PWD_COMMAND}`; export r; \
3675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676         $(SET_LIB_PATH) \
3677         for flag in $(EXTRA_HOST_FLAGS); do \
3678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3679         done; \
3680         echo "Doing dvi in binutils" ; \
3681         (cd binutils && \
3682           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3683                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3684                   "RANLIB=$${RANLIB}" \
3685                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3686                   dvi) \
3687           || exit 1
3688
3689
3690 .PHONY: maybe-TAGS-binutils TAGS-binutils
3691 maybe-TAGS-binutils:
3692
3693 TAGS-binutils: \
3694     configure-binutils 
3695         @[ -f ./binutils/Makefile ] || exit 0; \
3696         r=`${PWD_COMMAND}`; export r; \
3697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3698         $(SET_LIB_PATH) \
3699         for flag in $(EXTRA_HOST_FLAGS); do \
3700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3701         done; \
3702         echo "Doing TAGS in binutils" ; \
3703         (cd binutils && \
3704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706                   "RANLIB=$${RANLIB}" \
3707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3708                   TAGS) \
3709           || exit 1
3710
3711
3712 .PHONY: maybe-install-info-binutils install-info-binutils
3713 maybe-install-info-binutils:
3714
3715 install-info-binutils: \
3716     configure-binutils \
3717     info-binutils 
3718         @[ -f ./binutils/Makefile ] || exit 0; \
3719         r=`${PWD_COMMAND}`; export r; \
3720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3721         $(SET_LIB_PATH) \
3722         for flag in $(EXTRA_HOST_FLAGS); do \
3723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3724         done; \
3725         echo "Doing install-info in binutils" ; \
3726         (cd binutils && \
3727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3729                   "RANLIB=$${RANLIB}" \
3730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3731                   install-info) \
3732           || exit 1
3733
3734
3735 .PHONY: maybe-installcheck-binutils installcheck-binutils
3736 maybe-installcheck-binutils:
3737
3738 installcheck-binutils: \
3739     configure-binutils 
3740         @[ -f ./binutils/Makefile ] || exit 0; \
3741         r=`${PWD_COMMAND}`; export r; \
3742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3743         $(SET_LIB_PATH) \
3744         for flag in $(EXTRA_HOST_FLAGS); do \
3745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3746         done; \
3747         echo "Doing installcheck in binutils" ; \
3748         (cd binutils && \
3749           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3750                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3751                   "RANLIB=$${RANLIB}" \
3752                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3753                   installcheck) \
3754           || exit 1
3755
3756
3757 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
3758 maybe-mostlyclean-binutils:
3759
3760 mostlyclean-binutils: 
3761         @[ -f ./binutils/Makefile ] || exit 0; \
3762         r=`${PWD_COMMAND}`; export r; \
3763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764         $(SET_LIB_PATH) \
3765         for flag in $(EXTRA_HOST_FLAGS); do \
3766           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3767         done; \
3768         echo "Doing mostlyclean in binutils" ; \
3769         (cd binutils && \
3770           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3771                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3772                   "RANLIB=$${RANLIB}" \
3773                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3774                   mostlyclean) \
3775           || exit 1
3776
3777
3778 .PHONY: maybe-clean-binutils clean-binutils
3779 maybe-clean-binutils:
3780
3781 clean-binutils: 
3782         @[ -f ./binutils/Makefile ] || exit 0; \
3783         r=`${PWD_COMMAND}`; export r; \
3784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3785         $(SET_LIB_PATH) \
3786         for flag in $(EXTRA_HOST_FLAGS); do \
3787           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3788         done; \
3789         echo "Doing clean in binutils" ; \
3790         (cd binutils && \
3791           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3792                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3793                   "RANLIB=$${RANLIB}" \
3794                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3795                   clean) \
3796           || exit 1
3797
3798
3799 .PHONY: maybe-distclean-binutils distclean-binutils
3800 maybe-distclean-binutils:
3801
3802 distclean-binutils: 
3803         @[ -f ./binutils/Makefile ] || exit 0; \
3804         r=`${PWD_COMMAND}`; export r; \
3805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3806         $(SET_LIB_PATH) \
3807         for flag in $(EXTRA_HOST_FLAGS); do \
3808           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3809         done; \
3810         echo "Doing distclean in binutils" ; \
3811         (cd binutils && \
3812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814                   "RANLIB=$${RANLIB}" \
3815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816                   distclean) \
3817           || exit 1
3818
3819
3820 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
3821 maybe-maintainer-clean-binutils:
3822
3823 maintainer-clean-binutils: 
3824         @[ -f ./binutils/Makefile ] || exit 0; \
3825         r=`${PWD_COMMAND}`; export r; \
3826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827         $(SET_LIB_PATH) \
3828         for flag in $(EXTRA_HOST_FLAGS); do \
3829           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830         done; \
3831         echo "Doing maintainer-clean in binutils" ; \
3832         (cd binutils && \
3833           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835                   "RANLIB=$${RANLIB}" \
3836                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837                   maintainer-clean) \
3838           || exit 1
3839
3840
3841
3842 .PHONY: configure-bison maybe-configure-bison
3843 maybe-configure-bison:
3844 configure-bison:
3845         @test ! -f bison/Makefile || exit 0; \
3846         [ -d bison ] || mkdir bison; \
3847         r=`${PWD_COMMAND}`; export r; \
3848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3849         CC="$(CC)"; export CC; \
3850         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3851         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3852         CXX="$(CXX)"; export CXX; \
3853         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3854         AR="$(AR)"; export AR; \
3855         AS="$(AS)"; export AS; \
3856         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3857         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3858         LD="$(LD)"; export LD; \
3859         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3860         NM="$(NM)"; export NM; \
3861         RANLIB="$(RANLIB)"; export RANLIB; \
3862         WINDRES="$(WINDRES)"; export WINDRES; \
3863         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3864         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3865         echo Configuring in bison; \
3866         cd bison || exit 1; \
3867         case $(srcdir) in \
3868           \.) \
3869             srcdiroption="--srcdir=."; \
3870             libsrcdir=".";; \
3871           /* | [A-Za-z]:[\\/]*) \
3872             srcdiroption="--srcdir=$(srcdir)/bison"; \
3873             libsrcdir="$$s/bison";; \
3874           *) \
3875             srcdiroption="--srcdir=../$(srcdir)/bison"; \
3876             libsrcdir="$$s/bison";; \
3877         esac; \
3878         $(SHELL) $${libsrcdir}/configure \
3879           $(HOST_CONFIGARGS) $${srcdiroption} \
3880           || exit 1
3881
3882 .PHONY: all-bison maybe-all-bison
3883 maybe-all-bison:
3884 all-bison: configure-bison
3885         @r=`${PWD_COMMAND}`; export r; \
3886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3887         $(SET_LIB_PATH) \
3888         (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
3889
3890 .PHONY: check-bison maybe-check-bison
3891 maybe-check-bison:
3892
3893 # This module is only tested in a native toolchain.
3894 check-bison:
3895         @if [ '$(host)' = '$(target)' ] ; then \
3896           r=`${PWD_COMMAND}`; export r; \
3897           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3898           $(SET_LIB_PATH) \
3899           (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
3900         fi
3901
3902
3903 .PHONY: install-bison maybe-install-bison
3904 maybe-install-bison:
3905
3906 install-bison: installdirs
3907         @r=`${PWD_COMMAND}`; export r; \
3908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3909         $(SET_LIB_PATH) \
3910         (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
3911
3912
3913 # Other targets (info, dvi, etc.)
3914
3915 .PHONY: maybe-info-bison info-bison
3916 maybe-info-bison:
3917
3918 info-bison: \
3919     configure-bison 
3920         @[ -f ./bison/Makefile ] || exit 0; \
3921         r=`${PWD_COMMAND}`; export r; \
3922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3923         $(SET_LIB_PATH) \
3924         for flag in $(EXTRA_HOST_FLAGS); do \
3925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3926         done; \
3927         echo "Doing info in bison" ; \
3928         (cd bison && \
3929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3931                   "RANLIB=$${RANLIB}" \
3932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3933                   info) \
3934           || exit 1
3935
3936
3937 .PHONY: maybe-dvi-bison dvi-bison
3938 maybe-dvi-bison:
3939
3940 dvi-bison: \
3941     configure-bison 
3942         @[ -f ./bison/Makefile ] || exit 0; \
3943         r=`${PWD_COMMAND}`; export r; \
3944         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945         $(SET_LIB_PATH) \
3946         for flag in $(EXTRA_HOST_FLAGS); do \
3947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3948         done; \
3949         echo "Doing dvi in bison" ; \
3950         (cd bison && \
3951           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3952                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3953                   "RANLIB=$${RANLIB}" \
3954                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3955                   dvi) \
3956           || exit 1
3957
3958
3959 .PHONY: maybe-TAGS-bison TAGS-bison
3960 maybe-TAGS-bison:
3961
3962 TAGS-bison: \
3963     configure-bison 
3964         @[ -f ./bison/Makefile ] || exit 0; \
3965         r=`${PWD_COMMAND}`; export r; \
3966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3967         $(SET_LIB_PATH) \
3968         for flag in $(EXTRA_HOST_FLAGS); do \
3969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3970         done; \
3971         echo "Doing TAGS in bison" ; \
3972         (cd bison && \
3973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3975                   "RANLIB=$${RANLIB}" \
3976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3977                   TAGS) \
3978           || exit 1
3979
3980
3981 .PHONY: maybe-install-info-bison install-info-bison
3982 maybe-install-info-bison:
3983
3984 install-info-bison: \
3985     configure-bison \
3986     info-bison 
3987         @[ -f ./bison/Makefile ] || exit 0; \
3988         r=`${PWD_COMMAND}`; export r; \
3989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3990         $(SET_LIB_PATH) \
3991         for flag in $(EXTRA_HOST_FLAGS); do \
3992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3993         done; \
3994         echo "Doing install-info in bison" ; \
3995         (cd bison && \
3996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3998                   "RANLIB=$${RANLIB}" \
3999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4000                   install-info) \
4001           || exit 1
4002
4003
4004 .PHONY: maybe-installcheck-bison installcheck-bison
4005 maybe-installcheck-bison:
4006
4007 installcheck-bison: \
4008     configure-bison 
4009         @[ -f ./bison/Makefile ] || exit 0; \
4010         r=`${PWD_COMMAND}`; export r; \
4011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4012         $(SET_LIB_PATH) \
4013         for flag in $(EXTRA_HOST_FLAGS); do \
4014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4015         done; \
4016         echo "Doing installcheck in bison" ; \
4017         (cd bison && \
4018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4020                   "RANLIB=$${RANLIB}" \
4021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4022                   installcheck) \
4023           || exit 1
4024
4025
4026 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4027 maybe-mostlyclean-bison:
4028
4029 mostlyclean-bison: 
4030         @[ -f ./bison/Makefile ] || exit 0; \
4031         r=`${PWD_COMMAND}`; export r; \
4032         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033         $(SET_LIB_PATH) \
4034         for flag in $(EXTRA_HOST_FLAGS); do \
4035           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036         done; \
4037         echo "Doing mostlyclean in bison" ; \
4038         (cd bison && \
4039           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4040                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4041                   "RANLIB=$${RANLIB}" \
4042                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4043                   mostlyclean) \
4044           || exit 1
4045
4046
4047 .PHONY: maybe-clean-bison clean-bison
4048 maybe-clean-bison:
4049
4050 clean-bison: 
4051         @[ -f ./bison/Makefile ] || exit 0; \
4052         r=`${PWD_COMMAND}`; export r; \
4053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054         $(SET_LIB_PATH) \
4055         for flag in $(EXTRA_HOST_FLAGS); do \
4056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4057         done; \
4058         echo "Doing clean in bison" ; \
4059         (cd bison && \
4060           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4061                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4062                   "RANLIB=$${RANLIB}" \
4063                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4064                   clean) \
4065           || exit 1
4066
4067
4068 .PHONY: maybe-distclean-bison distclean-bison
4069 maybe-distclean-bison:
4070
4071 distclean-bison: 
4072         @[ -f ./bison/Makefile ] || exit 0; \
4073         r=`${PWD_COMMAND}`; export r; \
4074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075         $(SET_LIB_PATH) \
4076         for flag in $(EXTRA_HOST_FLAGS); do \
4077           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4078         done; \
4079         echo "Doing distclean in bison" ; \
4080         (cd bison && \
4081           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4082                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4083                   "RANLIB=$${RANLIB}" \
4084                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4085                   distclean) \
4086           || exit 1
4087
4088
4089 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4090 maybe-maintainer-clean-bison:
4091
4092 maintainer-clean-bison: 
4093         @[ -f ./bison/Makefile ] || exit 0; \
4094         r=`${PWD_COMMAND}`; export r; \
4095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4096         $(SET_LIB_PATH) \
4097         for flag in $(EXTRA_HOST_FLAGS); do \
4098           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4099         done; \
4100         echo "Doing maintainer-clean in bison" ; \
4101         (cd bison && \
4102           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4103                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4104                   "RANLIB=$${RANLIB}" \
4105                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4106                   maintainer-clean) \
4107           || exit 1
4108
4109
4110
4111 .PHONY: configure-byacc maybe-configure-byacc
4112 maybe-configure-byacc:
4113 configure-byacc:
4114         @test ! -f byacc/Makefile || exit 0; \
4115         [ -d byacc ] || mkdir byacc; \
4116         r=`${PWD_COMMAND}`; export r; \
4117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4118         CC="$(CC)"; export CC; \
4119         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4120         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4121         CXX="$(CXX)"; export CXX; \
4122         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4123         AR="$(AR)"; export AR; \
4124         AS="$(AS)"; export AS; \
4125         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4126         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4127         LD="$(LD)"; export LD; \
4128         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4129         NM="$(NM)"; export NM; \
4130         RANLIB="$(RANLIB)"; export RANLIB; \
4131         WINDRES="$(WINDRES)"; export WINDRES; \
4132         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4133         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4134         echo Configuring in byacc; \
4135         cd byacc || exit 1; \
4136         case $(srcdir) in \
4137           \.) \
4138             srcdiroption="--srcdir=."; \
4139             libsrcdir=".";; \
4140           /* | [A-Za-z]:[\\/]*) \
4141             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4142             libsrcdir="$$s/byacc";; \
4143           *) \
4144             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4145             libsrcdir="$$s/byacc";; \
4146         esac; \
4147         $(SHELL) $${libsrcdir}/configure \
4148           $(HOST_CONFIGARGS) $${srcdiroption} \
4149           || exit 1
4150
4151 .PHONY: all-byacc maybe-all-byacc
4152 maybe-all-byacc:
4153 all-byacc: configure-byacc
4154         @r=`${PWD_COMMAND}`; export r; \
4155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156         $(SET_LIB_PATH) \
4157         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4158
4159 .PHONY: check-byacc maybe-check-byacc
4160 maybe-check-byacc:
4161
4162 # This module is only tested in a native toolchain.
4163 check-byacc:
4164         @if [ '$(host)' = '$(target)' ] ; then \
4165           r=`${PWD_COMMAND}`; export r; \
4166           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4167           $(SET_LIB_PATH) \
4168           (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4169         fi
4170
4171
4172 .PHONY: install-byacc maybe-install-byacc
4173 maybe-install-byacc:
4174
4175 install-byacc: installdirs
4176         @r=`${PWD_COMMAND}`; export r; \
4177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4178         $(SET_LIB_PATH) \
4179         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4180
4181
4182 # Other targets (info, dvi, etc.)
4183
4184 .PHONY: maybe-info-byacc info-byacc
4185 maybe-info-byacc:
4186
4187 info-byacc: \
4188     configure-byacc 
4189         @[ -f ./byacc/Makefile ] || exit 0; \
4190         r=`${PWD_COMMAND}`; export r; \
4191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192         $(SET_LIB_PATH) \
4193         for flag in $(EXTRA_HOST_FLAGS); do \
4194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4195         done; \
4196         echo "Doing info in byacc" ; \
4197         (cd byacc && \
4198           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4199                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4200                   "RANLIB=$${RANLIB}" \
4201                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4202                   info) \
4203           || exit 1
4204
4205
4206 .PHONY: maybe-dvi-byacc dvi-byacc
4207 maybe-dvi-byacc:
4208
4209 dvi-byacc: \
4210     configure-byacc 
4211         @[ -f ./byacc/Makefile ] || exit 0; \
4212         r=`${PWD_COMMAND}`; export r; \
4213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4214         $(SET_LIB_PATH) \
4215         for flag in $(EXTRA_HOST_FLAGS); do \
4216           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4217         done; \
4218         echo "Doing dvi in byacc" ; \
4219         (cd byacc && \
4220           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4221                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4222                   "RANLIB=$${RANLIB}" \
4223                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4224                   dvi) \
4225           || exit 1
4226
4227
4228 .PHONY: maybe-TAGS-byacc TAGS-byacc
4229 maybe-TAGS-byacc:
4230
4231 TAGS-byacc: \
4232     configure-byacc 
4233         @[ -f ./byacc/Makefile ] || exit 0; \
4234         r=`${PWD_COMMAND}`; export r; \
4235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4236         $(SET_LIB_PATH) \
4237         for flag in $(EXTRA_HOST_FLAGS); do \
4238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4239         done; \
4240         echo "Doing TAGS in byacc" ; \
4241         (cd byacc && \
4242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4244                   "RANLIB=$${RANLIB}" \
4245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4246                   TAGS) \
4247           || exit 1
4248
4249
4250 .PHONY: maybe-install-info-byacc install-info-byacc
4251 maybe-install-info-byacc:
4252
4253 install-info-byacc: \
4254     configure-byacc \
4255     info-byacc 
4256         @[ -f ./byacc/Makefile ] || exit 0; \
4257         r=`${PWD_COMMAND}`; export r; \
4258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259         $(SET_LIB_PATH) \
4260         for flag in $(EXTRA_HOST_FLAGS); do \
4261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262         done; \
4263         echo "Doing install-info in byacc" ; \
4264         (cd byacc && \
4265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267                   "RANLIB=$${RANLIB}" \
4268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4269                   install-info) \
4270           || exit 1
4271
4272
4273 .PHONY: maybe-installcheck-byacc installcheck-byacc
4274 maybe-installcheck-byacc:
4275
4276 installcheck-byacc: \
4277     configure-byacc 
4278         @[ -f ./byacc/Makefile ] || exit 0; \
4279         r=`${PWD_COMMAND}`; export r; \
4280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4281         $(SET_LIB_PATH) \
4282         for flag in $(EXTRA_HOST_FLAGS); do \
4283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4284         done; \
4285         echo "Doing installcheck in byacc" ; \
4286         (cd byacc && \
4287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4289                   "RANLIB=$${RANLIB}" \
4290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4291                   installcheck) \
4292           || exit 1
4293
4294
4295 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4296 maybe-mostlyclean-byacc:
4297
4298 mostlyclean-byacc: 
4299         @[ -f ./byacc/Makefile ] || exit 0; \
4300         r=`${PWD_COMMAND}`; export r; \
4301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302         $(SET_LIB_PATH) \
4303         for flag in $(EXTRA_HOST_FLAGS); do \
4304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4305         done; \
4306         echo "Doing mostlyclean in byacc" ; \
4307         (cd byacc && \
4308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310                   "RANLIB=$${RANLIB}" \
4311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4312                   mostlyclean) \
4313           || exit 1
4314
4315
4316 .PHONY: maybe-clean-byacc clean-byacc
4317 maybe-clean-byacc:
4318
4319 clean-byacc: 
4320         @[ -f ./byacc/Makefile ] || exit 0; \
4321         r=`${PWD_COMMAND}`; export r; \
4322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4323         $(SET_LIB_PATH) \
4324         for flag in $(EXTRA_HOST_FLAGS); do \
4325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4326         done; \
4327         echo "Doing clean in byacc" ; \
4328         (cd byacc && \
4329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4331                   "RANLIB=$${RANLIB}" \
4332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4333                   clean) \
4334           || exit 1
4335
4336
4337 .PHONY: maybe-distclean-byacc distclean-byacc
4338 maybe-distclean-byacc:
4339
4340 distclean-byacc: 
4341         @[ -f ./byacc/Makefile ] || exit 0; \
4342         r=`${PWD_COMMAND}`; export r; \
4343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4344         $(SET_LIB_PATH) \
4345         for flag in $(EXTRA_HOST_FLAGS); do \
4346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4347         done; \
4348         echo "Doing distclean in byacc" ; \
4349         (cd byacc && \
4350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4352                   "RANLIB=$${RANLIB}" \
4353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4354                   distclean) \
4355           || exit 1
4356
4357
4358 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4359 maybe-maintainer-clean-byacc:
4360
4361 maintainer-clean-byacc: 
4362         @[ -f ./byacc/Makefile ] || exit 0; \
4363         r=`${PWD_COMMAND}`; export r; \
4364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365         $(SET_LIB_PATH) \
4366         for flag in $(EXTRA_HOST_FLAGS); do \
4367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4368         done; \
4369         echo "Doing maintainer-clean in byacc" ; \
4370         (cd byacc && \
4371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373                   "RANLIB=$${RANLIB}" \
4374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4375                   maintainer-clean) \
4376           || exit 1
4377
4378
4379
4380 .PHONY: configure-bzip2 maybe-configure-bzip2
4381 maybe-configure-bzip2:
4382 configure-bzip2:
4383         @test ! -f bzip2/Makefile || exit 0; \
4384         [ -d bzip2 ] || mkdir bzip2; \
4385         r=`${PWD_COMMAND}`; export r; \
4386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4387         CC="$(CC)"; export CC; \
4388         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4389         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4390         CXX="$(CXX)"; export CXX; \
4391         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4392         AR="$(AR)"; export AR; \
4393         AS="$(AS)"; export AS; \
4394         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4395         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4396         LD="$(LD)"; export LD; \
4397         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4398         NM="$(NM)"; export NM; \
4399         RANLIB="$(RANLIB)"; export RANLIB; \
4400         WINDRES="$(WINDRES)"; export WINDRES; \
4401         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4402         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4403         echo Configuring in bzip2; \
4404         cd bzip2 || exit 1; \
4405         case $(srcdir) in \
4406           \.) \
4407             srcdiroption="--srcdir=."; \
4408             libsrcdir=".";; \
4409           /* | [A-Za-z]:[\\/]*) \
4410             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4411             libsrcdir="$$s/bzip2";; \
4412           *) \
4413             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4414             libsrcdir="$$s/bzip2";; \
4415         esac; \
4416         $(SHELL) $${libsrcdir}/configure \
4417           $(HOST_CONFIGARGS) $${srcdiroption} \
4418           || exit 1
4419
4420 .PHONY: all-bzip2 maybe-all-bzip2
4421 maybe-all-bzip2:
4422 all-bzip2: configure-bzip2
4423         @r=`${PWD_COMMAND}`; export r; \
4424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425         $(SET_LIB_PATH) \
4426         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4427
4428 .PHONY: check-bzip2 maybe-check-bzip2
4429 maybe-check-bzip2:
4430
4431 check-bzip2:
4432         @r=`${PWD_COMMAND}`; export r; \
4433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434         $(SET_LIB_PATH) \
4435         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4436
4437
4438 .PHONY: install-bzip2 maybe-install-bzip2
4439 maybe-install-bzip2:
4440
4441 install-bzip2: installdirs
4442         @r=`${PWD_COMMAND}`; export r; \
4443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4444         $(SET_LIB_PATH) \
4445         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4446
4447
4448 # Other targets (info, dvi, etc.)
4449
4450 .PHONY: maybe-info-bzip2 info-bzip2
4451 maybe-info-bzip2:
4452
4453 info-bzip2: \
4454     configure-bzip2 
4455         @[ -f ./bzip2/Makefile ] || exit 0; \
4456         r=`${PWD_COMMAND}`; export r; \
4457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458         $(SET_LIB_PATH) \
4459         for flag in $(EXTRA_HOST_FLAGS); do \
4460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461         done; \
4462         echo "Doing info in bzip2" ; \
4463         (cd bzip2 && \
4464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466                   "RANLIB=$${RANLIB}" \
4467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4468                   info) \
4469           || exit 1
4470
4471
4472 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4473 maybe-dvi-bzip2:
4474
4475 dvi-bzip2: \
4476     configure-bzip2 
4477         @[ -f ./bzip2/Makefile ] || exit 0; \
4478         r=`${PWD_COMMAND}`; export r; \
4479         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480         $(SET_LIB_PATH) \
4481         for flag in $(EXTRA_HOST_FLAGS); do \
4482           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4483         done; \
4484         echo "Doing dvi in bzip2" ; \
4485         (cd bzip2 && \
4486           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488                   "RANLIB=$${RANLIB}" \
4489                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4490                   dvi) \
4491           || exit 1
4492
4493
4494 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4495 maybe-TAGS-bzip2:
4496
4497 TAGS-bzip2: \
4498     configure-bzip2 
4499         @[ -f ./bzip2/Makefile ] || exit 0; \
4500         r=`${PWD_COMMAND}`; export r; \
4501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4502         $(SET_LIB_PATH) \
4503         for flag in $(EXTRA_HOST_FLAGS); do \
4504           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4505         done; \
4506         echo "Doing TAGS in bzip2" ; \
4507         (cd bzip2 && \
4508           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4509                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4510                   "RANLIB=$${RANLIB}" \
4511                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4512                   TAGS) \
4513           || exit 1
4514
4515
4516 .PHONY: maybe-install-info-bzip2 install-info-bzip2
4517 maybe-install-info-bzip2:
4518
4519 install-info-bzip2: \
4520     configure-bzip2 \
4521     info-bzip2 
4522         @[ -f ./bzip2/Makefile ] || exit 0; \
4523         r=`${PWD_COMMAND}`; export r; \
4524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4525         $(SET_LIB_PATH) \
4526         for flag in $(EXTRA_HOST_FLAGS); do \
4527           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4528         done; \
4529         echo "Doing install-info in bzip2" ; \
4530         (cd bzip2 && \
4531           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4532                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4533                   "RANLIB=$${RANLIB}" \
4534                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4535                   install-info) \
4536           || exit 1
4537
4538
4539 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
4540 maybe-installcheck-bzip2:
4541
4542 installcheck-bzip2: \
4543     configure-bzip2 
4544         @[ -f ./bzip2/Makefile ] || exit 0; \
4545         r=`${PWD_COMMAND}`; export r; \
4546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4547         $(SET_LIB_PATH) \
4548         for flag in $(EXTRA_HOST_FLAGS); do \
4549           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4550         done; \
4551         echo "Doing installcheck in bzip2" ; \
4552         (cd bzip2 && \
4553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4555                   "RANLIB=$${RANLIB}" \
4556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4557                   installcheck) \
4558           || exit 1
4559
4560
4561 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
4562 maybe-mostlyclean-bzip2:
4563
4564 mostlyclean-bzip2: 
4565         @[ -f ./bzip2/Makefile ] || exit 0; \
4566         r=`${PWD_COMMAND}`; export r; \
4567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568         $(SET_LIB_PATH) \
4569         for flag in $(EXTRA_HOST_FLAGS); do \
4570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571         done; \
4572         echo "Doing mostlyclean in bzip2" ; \
4573         (cd bzip2 && \
4574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576                   "RANLIB=$${RANLIB}" \
4577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4578                   mostlyclean) \
4579           || exit 1
4580
4581
4582 .PHONY: maybe-clean-bzip2 clean-bzip2
4583 maybe-clean-bzip2:
4584
4585 clean-bzip2: 
4586         @[ -f ./bzip2/Makefile ] || exit 0; \
4587         r=`${PWD_COMMAND}`; export r; \
4588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589         $(SET_LIB_PATH) \
4590         for flag in $(EXTRA_HOST_FLAGS); do \
4591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4592         done; \
4593         echo "Doing clean in bzip2" ; \
4594         (cd bzip2 && \
4595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597                   "RANLIB=$${RANLIB}" \
4598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4599                   clean) \
4600           || exit 1
4601
4602
4603 .PHONY: maybe-distclean-bzip2 distclean-bzip2
4604 maybe-distclean-bzip2:
4605
4606 distclean-bzip2: 
4607         @[ -f ./bzip2/Makefile ] || exit 0; \
4608         r=`${PWD_COMMAND}`; export r; \
4609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4610         $(SET_LIB_PATH) \
4611         for flag in $(EXTRA_HOST_FLAGS); do \
4612           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4613         done; \
4614         echo "Doing distclean in bzip2" ; \
4615         (cd bzip2 && \
4616           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4617                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4618                   "RANLIB=$${RANLIB}" \
4619                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4620                   distclean) \
4621           || exit 1
4622
4623
4624 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
4625 maybe-maintainer-clean-bzip2:
4626
4627 maintainer-clean-bzip2: 
4628         @[ -f ./bzip2/Makefile ] || exit 0; \
4629         r=`${PWD_COMMAND}`; export r; \
4630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4631         $(SET_LIB_PATH) \
4632         for flag in $(EXTRA_HOST_FLAGS); do \
4633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4634         done; \
4635         echo "Doing maintainer-clean in bzip2" ; \
4636         (cd bzip2 && \
4637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4639                   "RANLIB=$${RANLIB}" \
4640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4641                   maintainer-clean) \
4642           || exit 1
4643
4644
4645
4646 .PHONY: configure-dejagnu maybe-configure-dejagnu
4647 maybe-configure-dejagnu:
4648 configure-dejagnu:
4649         @test ! -f dejagnu/Makefile || exit 0; \
4650         [ -d dejagnu ] || mkdir dejagnu; \
4651         r=`${PWD_COMMAND}`; export r; \
4652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653         CC="$(CC)"; export CC; \
4654         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4655         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4656         CXX="$(CXX)"; export CXX; \
4657         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4658         AR="$(AR)"; export AR; \
4659         AS="$(AS)"; export AS; \
4660         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4661         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4662         LD="$(LD)"; export LD; \
4663         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4664         NM="$(NM)"; export NM; \
4665         RANLIB="$(RANLIB)"; export RANLIB; \
4666         WINDRES="$(WINDRES)"; export WINDRES; \
4667         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4668         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4669         echo Configuring in dejagnu; \
4670         cd dejagnu || exit 1; \
4671         case $(srcdir) in \
4672           \.) \
4673             srcdiroption="--srcdir=."; \
4674             libsrcdir=".";; \
4675           /* | [A-Za-z]:[\\/]*) \
4676             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
4677             libsrcdir="$$s/dejagnu";; \
4678           *) \
4679             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
4680             libsrcdir="$$s/dejagnu";; \
4681         esac; \
4682         $(SHELL) $${libsrcdir}/configure \
4683           $(HOST_CONFIGARGS) $${srcdiroption} \
4684           || exit 1
4685
4686 .PHONY: all-dejagnu maybe-all-dejagnu
4687 maybe-all-dejagnu:
4688 all-dejagnu: configure-dejagnu
4689         @r=`${PWD_COMMAND}`; export r; \
4690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691         $(SET_LIB_PATH) \
4692         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4693
4694 .PHONY: check-dejagnu maybe-check-dejagnu
4695 maybe-check-dejagnu:
4696
4697 check-dejagnu:
4698         @r=`${PWD_COMMAND}`; export r; \
4699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700         $(SET_LIB_PATH) \
4701         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4702
4703
4704 .PHONY: install-dejagnu maybe-install-dejagnu
4705 maybe-install-dejagnu:
4706
4707 install-dejagnu: installdirs
4708         @r=`${PWD_COMMAND}`; export r; \
4709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4710         $(SET_LIB_PATH) \
4711         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4712
4713
4714 # Other targets (info, dvi, etc.)
4715
4716 .PHONY: maybe-info-dejagnu info-dejagnu
4717 maybe-info-dejagnu:
4718
4719 info-dejagnu: \
4720     configure-dejagnu 
4721         @[ -f ./dejagnu/Makefile ] || exit 0; \
4722         r=`${PWD_COMMAND}`; export r; \
4723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4724         $(SET_LIB_PATH) \
4725         for flag in $(EXTRA_HOST_FLAGS); do \
4726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4727         done; \
4728         echo "Doing info in dejagnu" ; \
4729         (cd dejagnu && \
4730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4732                   "RANLIB=$${RANLIB}" \
4733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4734                   info) \
4735           || exit 1
4736
4737
4738 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
4739 maybe-dvi-dejagnu:
4740
4741 dvi-dejagnu: \
4742     configure-dejagnu 
4743         @[ -f ./dejagnu/Makefile ] || exit 0; \
4744         r=`${PWD_COMMAND}`; export r; \
4745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4746         $(SET_LIB_PATH) \
4747         for flag in $(EXTRA_HOST_FLAGS); do \
4748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4749         done; \
4750         echo "Doing dvi in dejagnu" ; \
4751         (cd dejagnu && \
4752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4754                   "RANLIB=$${RANLIB}" \
4755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4756                   dvi) \
4757           || exit 1
4758
4759
4760 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4761 maybe-TAGS-dejagnu:
4762
4763 TAGS-dejagnu: \
4764     configure-dejagnu 
4765         @[ -f ./dejagnu/Makefile ] || exit 0; \
4766         r=`${PWD_COMMAND}`; export r; \
4767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4768         $(SET_LIB_PATH) \
4769         for flag in $(EXTRA_HOST_FLAGS); do \
4770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4771         done; \
4772         echo "Doing TAGS in dejagnu" ; \
4773         (cd dejagnu && \
4774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4776                   "RANLIB=$${RANLIB}" \
4777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4778                   TAGS) \
4779           || exit 1
4780
4781
4782 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
4783 maybe-install-info-dejagnu:
4784
4785 install-info-dejagnu: \
4786     configure-dejagnu \
4787     info-dejagnu 
4788         @[ -f ./dejagnu/Makefile ] || exit 0; \
4789         r=`${PWD_COMMAND}`; export r; \
4790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4791         $(SET_LIB_PATH) \
4792         for flag in $(EXTRA_HOST_FLAGS); do \
4793           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4794         done; \
4795         echo "Doing install-info in dejagnu" ; \
4796         (cd dejagnu && \
4797           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4798                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4799                   "RANLIB=$${RANLIB}" \
4800                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4801                   install-info) \
4802           || exit 1
4803
4804
4805 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
4806 maybe-installcheck-dejagnu:
4807
4808 installcheck-dejagnu: \
4809     configure-dejagnu 
4810         @[ -f ./dejagnu/Makefile ] || exit 0; \
4811         r=`${PWD_COMMAND}`; export r; \
4812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813         $(SET_LIB_PATH) \
4814         for flag in $(EXTRA_HOST_FLAGS); do \
4815           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4816         done; \
4817         echo "Doing installcheck in dejagnu" ; \
4818         (cd dejagnu && \
4819           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821                   "RANLIB=$${RANLIB}" \
4822                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4823                   installcheck) \
4824           || exit 1
4825
4826
4827 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
4828 maybe-mostlyclean-dejagnu:
4829
4830 mostlyclean-dejagnu: 
4831         @[ -f ./dejagnu/Makefile ] || exit 0; \
4832         r=`${PWD_COMMAND}`; export r; \
4833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4834         $(SET_LIB_PATH) \
4835         for flag in $(EXTRA_HOST_FLAGS); do \
4836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4837         done; \
4838         echo "Doing mostlyclean in dejagnu" ; \
4839         (cd dejagnu && \
4840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4842                   "RANLIB=$${RANLIB}" \
4843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4844                   mostlyclean) \
4845           || exit 1
4846
4847
4848 .PHONY: maybe-clean-dejagnu clean-dejagnu
4849 maybe-clean-dejagnu:
4850
4851 clean-dejagnu: 
4852         @[ -f ./dejagnu/Makefile ] || exit 0; \
4853         r=`${PWD_COMMAND}`; export r; \
4854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855         $(SET_LIB_PATH) \
4856         for flag in $(EXTRA_HOST_FLAGS); do \
4857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4858         done; \
4859         echo "Doing clean in dejagnu" ; \
4860         (cd dejagnu && \
4861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4863                   "RANLIB=$${RANLIB}" \
4864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4865                   clean) \
4866           || exit 1
4867
4868
4869 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
4870 maybe-distclean-dejagnu:
4871
4872 distclean-dejagnu: 
4873         @[ -f ./dejagnu/Makefile ] || exit 0; \
4874         r=`${PWD_COMMAND}`; export r; \
4875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876         $(SET_LIB_PATH) \
4877         for flag in $(EXTRA_HOST_FLAGS); do \
4878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4879         done; \
4880         echo "Doing distclean in dejagnu" ; \
4881         (cd dejagnu && \
4882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4884                   "RANLIB=$${RANLIB}" \
4885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4886                   distclean) \
4887           || exit 1
4888
4889
4890 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
4891 maybe-maintainer-clean-dejagnu:
4892
4893 maintainer-clean-dejagnu: 
4894         @[ -f ./dejagnu/Makefile ] || exit 0; \
4895         r=`${PWD_COMMAND}`; export r; \
4896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897         $(SET_LIB_PATH) \
4898         for flag in $(EXTRA_HOST_FLAGS); do \
4899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4900         done; \
4901         echo "Doing maintainer-clean in dejagnu" ; \
4902         (cd dejagnu && \
4903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4905                   "RANLIB=$${RANLIB}" \
4906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4907                   maintainer-clean) \
4908           || exit 1
4909
4910
4911
4912 .PHONY: configure-diff maybe-configure-diff
4913 maybe-configure-diff:
4914 configure-diff:
4915         @test ! -f diff/Makefile || exit 0; \
4916         [ -d diff ] || mkdir diff; \
4917         r=`${PWD_COMMAND}`; export r; \
4918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919         CC="$(CC)"; export CC; \
4920         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4921         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4922         CXX="$(CXX)"; export CXX; \
4923         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4924         AR="$(AR)"; export AR; \
4925         AS="$(AS)"; export AS; \
4926         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4927         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4928         LD="$(LD)"; export LD; \
4929         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4930         NM="$(NM)"; export NM; \
4931         RANLIB="$(RANLIB)"; export RANLIB; \
4932         WINDRES="$(WINDRES)"; export WINDRES; \
4933         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4934         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4935         echo Configuring in diff; \
4936         cd diff || exit 1; \
4937         case $(srcdir) in \
4938           \.) \
4939             srcdiroption="--srcdir=."; \
4940             libsrcdir=".";; \
4941           /* | [A-Za-z]:[\\/]*) \
4942             srcdiroption="--srcdir=$(srcdir)/diff"; \
4943             libsrcdir="$$s/diff";; \
4944           *) \
4945             srcdiroption="--srcdir=../$(srcdir)/diff"; \
4946             libsrcdir="$$s/diff";; \
4947         esac; \
4948         $(SHELL) $${libsrcdir}/configure \
4949           $(HOST_CONFIGARGS) $${srcdiroption} \
4950           || exit 1
4951
4952 .PHONY: all-diff maybe-all-diff
4953 maybe-all-diff:
4954 all-diff: configure-diff
4955         @r=`${PWD_COMMAND}`; export r; \
4956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957         $(SET_LIB_PATH) \
4958         (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
4959
4960 .PHONY: check-diff maybe-check-diff
4961 maybe-check-diff:
4962
4963 check-diff:
4964         @r=`${PWD_COMMAND}`; export r; \
4965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966         $(SET_LIB_PATH) \
4967         (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
4968
4969
4970 .PHONY: install-diff maybe-install-diff
4971 maybe-install-diff:
4972
4973 install-diff: installdirs
4974         @r=`${PWD_COMMAND}`; export r; \
4975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976         $(SET_LIB_PATH) \
4977         (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
4978
4979
4980 # Other targets (info, dvi, etc.)
4981
4982 .PHONY: maybe-info-diff info-diff
4983 maybe-info-diff:
4984
4985 info-diff: \
4986     configure-diff 
4987         @[ -f ./diff/Makefile ] || exit 0; \
4988         r=`${PWD_COMMAND}`; export r; \
4989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4990         $(SET_LIB_PATH) \
4991         for flag in $(EXTRA_HOST_FLAGS); do \
4992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4993         done; \
4994         echo "Doing info in diff" ; \
4995         (cd diff && \
4996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4998                   "RANLIB=$${RANLIB}" \
4999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5000                   info) \
5001           || exit 1
5002
5003
5004 .PHONY: maybe-dvi-diff dvi-diff
5005 maybe-dvi-diff:
5006
5007 dvi-diff: \
5008     configure-diff 
5009         @[ -f ./diff/Makefile ] || exit 0; \
5010         r=`${PWD_COMMAND}`; export r; \
5011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5012         $(SET_LIB_PATH) \
5013         for flag in $(EXTRA_HOST_FLAGS); do \
5014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5015         done; \
5016         echo "Doing dvi in diff" ; \
5017         (cd diff && \
5018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5020                   "RANLIB=$${RANLIB}" \
5021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5022                   dvi) \
5023           || exit 1
5024
5025
5026 .PHONY: maybe-TAGS-diff TAGS-diff
5027 maybe-TAGS-diff:
5028
5029 TAGS-diff: \
5030     configure-diff 
5031         @[ -f ./diff/Makefile ] || exit 0; \
5032         r=`${PWD_COMMAND}`; export r; \
5033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5034         $(SET_LIB_PATH) \
5035         for flag in $(EXTRA_HOST_FLAGS); do \
5036           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5037         done; \
5038         echo "Doing TAGS in diff" ; \
5039         (cd diff && \
5040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5042                   "RANLIB=$${RANLIB}" \
5043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5044                   TAGS) \
5045           || exit 1
5046
5047
5048 .PHONY: maybe-install-info-diff install-info-diff
5049 maybe-install-info-diff:
5050
5051 install-info-diff: \
5052     configure-diff \
5053     info-diff 
5054         @[ -f ./diff/Makefile ] || exit 0; \
5055         r=`${PWD_COMMAND}`; export r; \
5056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5057         $(SET_LIB_PATH) \
5058         for flag in $(EXTRA_HOST_FLAGS); do \
5059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5060         done; \
5061         echo "Doing install-info in diff" ; \
5062         (cd diff && \
5063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5065                   "RANLIB=$${RANLIB}" \
5066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5067                   install-info) \
5068           || exit 1
5069
5070
5071 .PHONY: maybe-installcheck-diff installcheck-diff
5072 maybe-installcheck-diff:
5073
5074 installcheck-diff: \
5075     configure-diff 
5076         @[ -f ./diff/Makefile ] || exit 0; \
5077         r=`${PWD_COMMAND}`; export r; \
5078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079         $(SET_LIB_PATH) \
5080         for flag in $(EXTRA_HOST_FLAGS); do \
5081           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082         done; \
5083         echo "Doing installcheck in diff" ; \
5084         (cd diff && \
5085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087                   "RANLIB=$${RANLIB}" \
5088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089                   installcheck) \
5090           || exit 1
5091
5092
5093 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5094 maybe-mostlyclean-diff:
5095
5096 mostlyclean-diff: 
5097         @[ -f ./diff/Makefile ] || exit 0; \
5098         r=`${PWD_COMMAND}`; export r; \
5099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100         $(SET_LIB_PATH) \
5101         for flag in $(EXTRA_HOST_FLAGS); do \
5102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5103         done; \
5104         echo "Doing mostlyclean in diff" ; \
5105         (cd diff && \
5106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5108                   "RANLIB=$${RANLIB}" \
5109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5110                   mostlyclean) \
5111           || exit 1
5112
5113
5114 .PHONY: maybe-clean-diff clean-diff
5115 maybe-clean-diff:
5116
5117 clean-diff: 
5118         @[ -f ./diff/Makefile ] || exit 0; \
5119         r=`${PWD_COMMAND}`; export r; \
5120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121         $(SET_LIB_PATH) \
5122         for flag in $(EXTRA_HOST_FLAGS); do \
5123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5124         done; \
5125         echo "Doing clean in diff" ; \
5126         (cd diff && \
5127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129                   "RANLIB=$${RANLIB}" \
5130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5131                   clean) \
5132           || exit 1
5133
5134
5135 .PHONY: maybe-distclean-diff distclean-diff
5136 maybe-distclean-diff:
5137
5138 distclean-diff: 
5139         @[ -f ./diff/Makefile ] || exit 0; \
5140         r=`${PWD_COMMAND}`; export r; \
5141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5142         $(SET_LIB_PATH) \
5143         for flag in $(EXTRA_HOST_FLAGS); do \
5144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5145         done; \
5146         echo "Doing distclean in diff" ; \
5147         (cd diff && \
5148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5150                   "RANLIB=$${RANLIB}" \
5151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5152                   distclean) \
5153           || exit 1
5154
5155
5156 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5157 maybe-maintainer-clean-diff:
5158
5159 maintainer-clean-diff: 
5160         @[ -f ./diff/Makefile ] || exit 0; \
5161         r=`${PWD_COMMAND}`; export r; \
5162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5163         $(SET_LIB_PATH) \
5164         for flag in $(EXTRA_HOST_FLAGS); do \
5165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5166         done; \
5167         echo "Doing maintainer-clean in diff" ; \
5168         (cd diff && \
5169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5171                   "RANLIB=$${RANLIB}" \
5172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5173                   maintainer-clean) \
5174           || exit 1
5175
5176
5177
5178 .PHONY: configure-dosutils maybe-configure-dosutils
5179 maybe-configure-dosutils:
5180 configure-dosutils:
5181         @test ! -f dosutils/Makefile || exit 0; \
5182         [ -d dosutils ] || mkdir dosutils; \
5183         r=`${PWD_COMMAND}`; export r; \
5184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185         CC="$(CC)"; export CC; \
5186         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5187         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5188         CXX="$(CXX)"; export CXX; \
5189         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5190         AR="$(AR)"; export AR; \
5191         AS="$(AS)"; export AS; \
5192         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5193         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5194         LD="$(LD)"; export LD; \
5195         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5196         NM="$(NM)"; export NM; \
5197         RANLIB="$(RANLIB)"; export RANLIB; \
5198         WINDRES="$(WINDRES)"; export WINDRES; \
5199         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5200         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5201         echo Configuring in dosutils; \
5202         cd dosutils || exit 1; \
5203         case $(srcdir) in \
5204           \.) \
5205             srcdiroption="--srcdir=."; \
5206             libsrcdir=".";; \
5207           /* | [A-Za-z]:[\\/]*) \
5208             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5209             libsrcdir="$$s/dosutils";; \
5210           *) \
5211             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5212             libsrcdir="$$s/dosutils";; \
5213         esac; \
5214         $(SHELL) $${libsrcdir}/configure \
5215           $(HOST_CONFIGARGS) $${srcdiroption} \
5216           || exit 1
5217
5218 .PHONY: all-dosutils maybe-all-dosutils
5219 maybe-all-dosutils:
5220 all-dosutils: configure-dosutils
5221         @r=`${PWD_COMMAND}`; export r; \
5222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223         $(SET_LIB_PATH) \
5224         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5225
5226 .PHONY: check-dosutils maybe-check-dosutils
5227 maybe-check-dosutils:
5228
5229 check-dosutils:
5230
5231
5232 .PHONY: install-dosutils maybe-install-dosutils
5233 maybe-install-dosutils:
5234
5235 install-dosutils: installdirs
5236         @r=`${PWD_COMMAND}`; export r; \
5237         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5238         $(SET_LIB_PATH) \
5239         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5240
5241
5242 # Other targets (info, dvi, etc.)
5243
5244 .PHONY: maybe-info-dosutils info-dosutils
5245 maybe-info-dosutils:
5246
5247 info-dosutils: \
5248     configure-dosutils 
5249         @[ -f ./dosutils/Makefile ] || exit 0; \
5250         r=`${PWD_COMMAND}`; export r; \
5251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5252         $(SET_LIB_PATH) \
5253         for flag in $(EXTRA_HOST_FLAGS); do \
5254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5255         done; \
5256         echo "Doing info in dosutils" ; \
5257         (cd dosutils && \
5258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5260                   "RANLIB=$${RANLIB}" \
5261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5262                   info) \
5263           || exit 1
5264
5265
5266 .PHONY: maybe-dvi-dosutils dvi-dosutils
5267 maybe-dvi-dosutils:
5268
5269 dvi-dosutils: \
5270     configure-dosutils 
5271         @[ -f ./dosutils/Makefile ] || exit 0; \
5272         r=`${PWD_COMMAND}`; export r; \
5273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5274         $(SET_LIB_PATH) \
5275         for flag in $(EXTRA_HOST_FLAGS); do \
5276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5277         done; \
5278         echo "Doing dvi in dosutils" ; \
5279         (cd dosutils && \
5280           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5281                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5282                   "RANLIB=$${RANLIB}" \
5283                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5284                   dvi) \
5285           || exit 1
5286
5287
5288 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5289 maybe-TAGS-dosutils:
5290
5291 TAGS-dosutils: \
5292     configure-dosutils 
5293         @[ -f ./dosutils/Makefile ] || exit 0; \
5294         r=`${PWD_COMMAND}`; export r; \
5295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296         $(SET_LIB_PATH) \
5297         for flag in $(EXTRA_HOST_FLAGS); do \
5298           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299         done; \
5300         echo "Doing TAGS in dosutils" ; \
5301         (cd dosutils && \
5302           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304                   "RANLIB=$${RANLIB}" \
5305                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5306                   TAGS) \
5307           || exit 1
5308
5309
5310 .PHONY: maybe-install-info-dosutils install-info-dosutils
5311 maybe-install-info-dosutils:
5312
5313 install-info-dosutils: \
5314     configure-dosutils \
5315     info-dosutils 
5316         @[ -f ./dosutils/Makefile ] || exit 0; \
5317         r=`${PWD_COMMAND}`; export r; \
5318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5319         $(SET_LIB_PATH) \
5320         for flag in $(EXTRA_HOST_FLAGS); do \
5321           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5322         done; \
5323         echo "Doing install-info in dosutils" ; \
5324         (cd dosutils && \
5325           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5326                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5327                   "RANLIB=$${RANLIB}" \
5328                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5329                   install-info) \
5330           || exit 1
5331
5332
5333 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5334 maybe-installcheck-dosutils:
5335
5336 installcheck-dosutils: \
5337     configure-dosutils 
5338         @[ -f ./dosutils/Makefile ] || exit 0; \
5339         r=`${PWD_COMMAND}`; export r; \
5340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5341         $(SET_LIB_PATH) \
5342         for flag in $(EXTRA_HOST_FLAGS); do \
5343           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5344         done; \
5345         echo "Doing installcheck in dosutils" ; \
5346         (cd dosutils && \
5347           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5348                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5349                   "RANLIB=$${RANLIB}" \
5350                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5351                   installcheck) \
5352           || exit 1
5353
5354
5355 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5356 maybe-mostlyclean-dosutils:
5357
5358 mostlyclean-dosutils: 
5359         @[ -f ./dosutils/Makefile ] || exit 0; \
5360         r=`${PWD_COMMAND}`; export r; \
5361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5362         $(SET_LIB_PATH) \
5363         for flag in $(EXTRA_HOST_FLAGS); do \
5364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5365         done; \
5366         echo "Doing mostlyclean in dosutils" ; \
5367         (cd dosutils && \
5368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5370                   "RANLIB=$${RANLIB}" \
5371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5372                   mostlyclean) \
5373           || exit 1
5374
5375
5376 .PHONY: maybe-clean-dosutils clean-dosutils
5377 maybe-clean-dosutils:
5378
5379 clean-dosutils: 
5380         @[ -f ./dosutils/Makefile ] || exit 0; \
5381         r=`${PWD_COMMAND}`; export r; \
5382         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383         $(SET_LIB_PATH) \
5384         for flag in $(EXTRA_HOST_FLAGS); do \
5385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5386         done; \
5387         echo "Doing clean in dosutils" ; \
5388         (cd dosutils && \
5389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5391                   "RANLIB=$${RANLIB}" \
5392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5393                   clean) \
5394           || exit 1
5395
5396
5397 .PHONY: maybe-distclean-dosutils distclean-dosutils
5398 maybe-distclean-dosutils:
5399
5400 distclean-dosutils: 
5401         @[ -f ./dosutils/Makefile ] || exit 0; \
5402         r=`${PWD_COMMAND}`; export r; \
5403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404         $(SET_LIB_PATH) \
5405         for flag in $(EXTRA_HOST_FLAGS); do \
5406           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407         done; \
5408         echo "Doing distclean in dosutils" ; \
5409         (cd dosutils && \
5410           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412                   "RANLIB=$${RANLIB}" \
5413                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414                   distclean) \
5415           || exit 1
5416
5417
5418 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
5419 maybe-maintainer-clean-dosutils:
5420
5421 maintainer-clean-dosutils: 
5422         @[ -f ./dosutils/Makefile ] || exit 0; \
5423         r=`${PWD_COMMAND}`; export r; \
5424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5425         $(SET_LIB_PATH) \
5426         for flag in $(EXTRA_HOST_FLAGS); do \
5427           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5428         done; \
5429         echo "Doing maintainer-clean in dosutils" ; \
5430         (cd dosutils && \
5431           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433                   "RANLIB=$${RANLIB}" \
5434                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5435                   maintainer-clean) \
5436           || exit 1
5437
5438
5439
5440 .PHONY: configure-etc maybe-configure-etc
5441 maybe-configure-etc:
5442 configure-etc:
5443         @test ! -f etc/Makefile || exit 0; \
5444         [ -d etc ] || mkdir etc; \
5445         r=`${PWD_COMMAND}`; export r; \
5446         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447         CC="$(CC)"; export CC; \
5448         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5449         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5450         CXX="$(CXX)"; export CXX; \
5451         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5452         AR="$(AR)"; export AR; \
5453         AS="$(AS)"; export AS; \
5454         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5455         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5456         LD="$(LD)"; export LD; \
5457         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5458         NM="$(NM)"; export NM; \
5459         RANLIB="$(RANLIB)"; export RANLIB; \
5460         WINDRES="$(WINDRES)"; export WINDRES; \
5461         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5462         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5463         echo Configuring in etc; \
5464         cd etc || exit 1; \
5465         case $(srcdir) in \
5466           \.) \
5467             srcdiroption="--srcdir=."; \
5468             libsrcdir=".";; \
5469           /* | [A-Za-z]:[\\/]*) \
5470             srcdiroption="--srcdir=$(srcdir)/etc"; \
5471             libsrcdir="$$s/etc";; \
5472           *) \
5473             srcdiroption="--srcdir=../$(srcdir)/etc"; \
5474             libsrcdir="$$s/etc";; \
5475         esac; \
5476         $(SHELL) $${libsrcdir}/configure \
5477           $(HOST_CONFIGARGS) $${srcdiroption} \
5478           || exit 1
5479
5480 .PHONY: all-etc maybe-all-etc
5481 maybe-all-etc:
5482 all-etc: configure-etc
5483         @r=`${PWD_COMMAND}`; export r; \
5484         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5485         $(SET_LIB_PATH) \
5486         (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
5487
5488 .PHONY: check-etc maybe-check-etc
5489 maybe-check-etc:
5490
5491 check-etc:
5492         @r=`${PWD_COMMAND}`; export r; \
5493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494         $(SET_LIB_PATH) \
5495         (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
5496
5497
5498 .PHONY: install-etc maybe-install-etc
5499 maybe-install-etc:
5500
5501 install-etc: installdirs
5502         @r=`${PWD_COMMAND}`; export r; \
5503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5504         $(SET_LIB_PATH) \
5505         (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
5506
5507
5508 # Other targets (info, dvi, etc.)
5509
5510 .PHONY: maybe-info-etc info-etc
5511 maybe-info-etc:
5512
5513 info-etc: \
5514     configure-etc 
5515         @[ -f ./etc/Makefile ] || exit 0; \
5516         r=`${PWD_COMMAND}`; export r; \
5517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5518         $(SET_LIB_PATH) \
5519         for flag in $(EXTRA_HOST_FLAGS); do \
5520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5521         done; \
5522         echo "Doing info in etc" ; \
5523         (cd etc && \
5524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526                   "RANLIB=$${RANLIB}" \
5527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5528                   info) \
5529           || exit 1
5530
5531
5532 .PHONY: maybe-dvi-etc dvi-etc
5533 maybe-dvi-etc:
5534
5535 dvi-etc: \
5536     configure-etc 
5537         @[ -f ./etc/Makefile ] || exit 0; \
5538         r=`${PWD_COMMAND}`; export r; \
5539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540         $(SET_LIB_PATH) \
5541         for flag in $(EXTRA_HOST_FLAGS); do \
5542           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5543         done; \
5544         echo "Doing dvi in etc" ; \
5545         (cd etc && \
5546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548                   "RANLIB=$${RANLIB}" \
5549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5550                   dvi) \
5551           || exit 1
5552
5553
5554 .PHONY: maybe-TAGS-etc TAGS-etc
5555 maybe-TAGS-etc:
5556
5557 TAGS-etc: \
5558     configure-etc 
5559         @[ -f ./etc/Makefile ] || exit 0; \
5560         r=`${PWD_COMMAND}`; export r; \
5561         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5562         $(SET_LIB_PATH) \
5563         for flag in $(EXTRA_HOST_FLAGS); do \
5564           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5565         done; \
5566         echo "Doing TAGS in etc" ; \
5567         (cd etc && \
5568           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5569                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5570                   "RANLIB=$${RANLIB}" \
5571                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5572                   TAGS) \
5573           || exit 1
5574
5575
5576 .PHONY: maybe-install-info-etc install-info-etc
5577 maybe-install-info-etc:
5578
5579 install-info-etc: \
5580     configure-etc \
5581     info-etc 
5582         @[ -f ./etc/Makefile ] || exit 0; \
5583         r=`${PWD_COMMAND}`; export r; \
5584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5585         $(SET_LIB_PATH) \
5586         for flag in $(EXTRA_HOST_FLAGS); do \
5587           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5588         done; \
5589         echo "Doing install-info in etc" ; \
5590         (cd etc && \
5591           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5592                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5593                   "RANLIB=$${RANLIB}" \
5594                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5595                   install-info) \
5596           || exit 1
5597
5598
5599 .PHONY: maybe-installcheck-etc installcheck-etc
5600 maybe-installcheck-etc:
5601
5602 installcheck-etc: \
5603     configure-etc 
5604         @[ -f ./etc/Makefile ] || exit 0; \
5605         r=`${PWD_COMMAND}`; export r; \
5606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607         $(SET_LIB_PATH) \
5608         for flag in $(EXTRA_HOST_FLAGS); do \
5609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5610         done; \
5611         echo "Doing installcheck in etc" ; \
5612         (cd etc && \
5613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5615                   "RANLIB=$${RANLIB}" \
5616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5617                   installcheck) \
5618           || exit 1
5619
5620
5621 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
5622 maybe-mostlyclean-etc:
5623
5624 mostlyclean-etc: 
5625         @[ -f ./etc/Makefile ] || exit 0; \
5626         r=`${PWD_COMMAND}`; export r; \
5627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5628         $(SET_LIB_PATH) \
5629         for flag in $(EXTRA_HOST_FLAGS); do \
5630           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5631         done; \
5632         echo "Doing mostlyclean in etc" ; \
5633         (cd etc && \
5634           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5635                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5636                   "RANLIB=$${RANLIB}" \
5637                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5638                   mostlyclean) \
5639           || exit 1
5640
5641
5642 .PHONY: maybe-clean-etc clean-etc
5643 maybe-clean-etc:
5644
5645 clean-etc: 
5646         @[ -f ./etc/Makefile ] || exit 0; \
5647         r=`${PWD_COMMAND}`; export r; \
5648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649         $(SET_LIB_PATH) \
5650         for flag in $(EXTRA_HOST_FLAGS); do \
5651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5652         done; \
5653         echo "Doing clean in etc" ; \
5654         (cd etc && \
5655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657                   "RANLIB=$${RANLIB}" \
5658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5659                   clean) \
5660           || exit 1
5661
5662
5663 .PHONY: maybe-distclean-etc distclean-etc
5664 maybe-distclean-etc:
5665
5666 distclean-etc: 
5667         @[ -f ./etc/Makefile ] || exit 0; \
5668         r=`${PWD_COMMAND}`; export r; \
5669         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670         $(SET_LIB_PATH) \
5671         for flag in $(EXTRA_HOST_FLAGS); do \
5672           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5673         done; \
5674         echo "Doing distclean in etc" ; \
5675         (cd etc && \
5676           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5677                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5678                   "RANLIB=$${RANLIB}" \
5679                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5680                   distclean) \
5681           || exit 1
5682
5683
5684 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
5685 maybe-maintainer-clean-etc:
5686
5687 maintainer-clean-etc: 
5688         @[ -f ./etc/Makefile ] || exit 0; \
5689         r=`${PWD_COMMAND}`; export r; \
5690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691         $(SET_LIB_PATH) \
5692         for flag in $(EXTRA_HOST_FLAGS); do \
5693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5694         done; \
5695         echo "Doing maintainer-clean in etc" ; \
5696         (cd etc && \
5697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5699                   "RANLIB=$${RANLIB}" \
5700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5701                   maintainer-clean) \
5702           || exit 1
5703
5704
5705
5706 .PHONY: configure-fastjar maybe-configure-fastjar
5707 maybe-configure-fastjar:
5708 configure-fastjar:
5709         @test ! -f fastjar/Makefile || exit 0; \
5710         [ -d fastjar ] || mkdir fastjar; \
5711         r=`${PWD_COMMAND}`; export r; \
5712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713         CC="$(CC)"; export CC; \
5714         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5715         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5716         CXX="$(CXX)"; export CXX; \
5717         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5718         AR="$(AR)"; export AR; \
5719         AS="$(AS)"; export AS; \
5720         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5721         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5722         LD="$(LD)"; export LD; \
5723         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5724         NM="$(NM)"; export NM; \
5725         RANLIB="$(RANLIB)"; export RANLIB; \
5726         WINDRES="$(WINDRES)"; export WINDRES; \
5727         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5728         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5729         echo Configuring in fastjar; \
5730         cd fastjar || exit 1; \
5731         case $(srcdir) in \
5732           \.) \
5733             srcdiroption="--srcdir=."; \
5734             libsrcdir=".";; \
5735           /* | [A-Za-z]:[\\/]*) \
5736             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
5737             libsrcdir="$$s/fastjar";; \
5738           *) \
5739             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
5740             libsrcdir="$$s/fastjar";; \
5741         esac; \
5742         $(SHELL) $${libsrcdir}/configure \
5743           $(HOST_CONFIGARGS) $${srcdiroption} \
5744           || exit 1
5745
5746 .PHONY: all-fastjar maybe-all-fastjar
5747 maybe-all-fastjar:
5748 all-fastjar: configure-fastjar
5749         @r=`${PWD_COMMAND}`; export r; \
5750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5751         $(SET_LIB_PATH) \
5752         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
5753
5754 .PHONY: check-fastjar maybe-check-fastjar
5755 maybe-check-fastjar:
5756
5757 # This module is only tested in a native toolchain.
5758 check-fastjar:
5759         @if [ '$(host)' = '$(target)' ] ; then \
5760           r=`${PWD_COMMAND}`; export r; \
5761           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5762           $(SET_LIB_PATH) \
5763           (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
5764         fi
5765
5766
5767 .PHONY: install-fastjar maybe-install-fastjar
5768 maybe-install-fastjar:
5769
5770 install-fastjar: installdirs
5771         @r=`${PWD_COMMAND}`; export r; \
5772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773         $(SET_LIB_PATH) \
5774         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
5775
5776
5777 # Other targets (info, dvi, etc.)
5778
5779 .PHONY: maybe-info-fastjar info-fastjar
5780 maybe-info-fastjar:
5781
5782 info-fastjar: \
5783     configure-fastjar 
5784         @[ -f ./fastjar/Makefile ] || exit 0; \
5785         r=`${PWD_COMMAND}`; export r; \
5786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787         $(SET_LIB_PATH) \
5788         for flag in $(EXTRA_HOST_FLAGS); do \
5789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5790         done; \
5791         echo "Doing info in fastjar" ; \
5792         (cd fastjar && \
5793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795                   "RANLIB=$${RANLIB}" \
5796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5797                   info) \
5798           || exit 1
5799
5800
5801 .PHONY: maybe-dvi-fastjar dvi-fastjar
5802 maybe-dvi-fastjar:
5803
5804 dvi-fastjar: \
5805     configure-fastjar 
5806         @[ -f ./fastjar/Makefile ] || exit 0; \
5807         r=`${PWD_COMMAND}`; export r; \
5808         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5809         $(SET_LIB_PATH) \
5810         for flag in $(EXTRA_HOST_FLAGS); do \
5811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5812         done; \
5813         echo "Doing dvi in fastjar" ; \
5814         (cd fastjar && \
5815           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5816                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5817                   "RANLIB=$${RANLIB}" \
5818                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5819                   dvi) \
5820           || exit 1
5821
5822
5823 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
5824 maybe-TAGS-fastjar:
5825
5826 TAGS-fastjar: \
5827     configure-fastjar 
5828         @[ -f ./fastjar/Makefile ] || exit 0; \
5829         r=`${PWD_COMMAND}`; export r; \
5830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831         $(SET_LIB_PATH) \
5832         for flag in $(EXTRA_HOST_FLAGS); do \
5833           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834         done; \
5835         echo "Doing TAGS in fastjar" ; \
5836         (cd fastjar && \
5837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839                   "RANLIB=$${RANLIB}" \
5840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5841                   TAGS) \
5842           || exit 1
5843
5844
5845 .PHONY: maybe-install-info-fastjar install-info-fastjar
5846 maybe-install-info-fastjar:
5847
5848 install-info-fastjar: \
5849     configure-fastjar \
5850     info-fastjar 
5851         @[ -f ./fastjar/Makefile ] || exit 0; \
5852         r=`${PWD_COMMAND}`; export r; \
5853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854         $(SET_LIB_PATH) \
5855         for flag in $(EXTRA_HOST_FLAGS); do \
5856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5857         done; \
5858         echo "Doing install-info in fastjar" ; \
5859         (cd fastjar && \
5860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862                   "RANLIB=$${RANLIB}" \
5863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5864                   install-info) \
5865           || exit 1
5866
5867
5868 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
5869 maybe-installcheck-fastjar:
5870
5871 installcheck-fastjar: \
5872     configure-fastjar 
5873         @[ -f ./fastjar/Makefile ] || exit 0; \
5874         r=`${PWD_COMMAND}`; export r; \
5875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876         $(SET_LIB_PATH) \
5877         for flag in $(EXTRA_HOST_FLAGS); do \
5878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5879         done; \
5880         echo "Doing installcheck in fastjar" ; \
5881         (cd fastjar && \
5882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5884                   "RANLIB=$${RANLIB}" \
5885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5886                   installcheck) \
5887           || exit 1
5888
5889
5890 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
5891 maybe-mostlyclean-fastjar:
5892
5893 mostlyclean-fastjar: 
5894         @[ -f ./fastjar/Makefile ] || exit 0; \
5895         r=`${PWD_COMMAND}`; export r; \
5896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5897         $(SET_LIB_PATH) \
5898         for flag in $(EXTRA_HOST_FLAGS); do \
5899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5900         done; \
5901         echo "Doing mostlyclean in fastjar" ; \
5902         (cd fastjar && \
5903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5905                   "RANLIB=$${RANLIB}" \
5906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5907                   mostlyclean) \
5908           || exit 1
5909
5910
5911 .PHONY: maybe-clean-fastjar clean-fastjar
5912 maybe-clean-fastjar:
5913
5914 clean-fastjar: 
5915         @[ -f ./fastjar/Makefile ] || exit 0; \
5916         r=`${PWD_COMMAND}`; export r; \
5917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5918         $(SET_LIB_PATH) \
5919         for flag in $(EXTRA_HOST_FLAGS); do \
5920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5921         done; \
5922         echo "Doing clean in fastjar" ; \
5923         (cd fastjar && \
5924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5926                   "RANLIB=$${RANLIB}" \
5927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5928                   clean) \
5929           || exit 1
5930
5931
5932 .PHONY: maybe-distclean-fastjar distclean-fastjar
5933 maybe-distclean-fastjar:
5934
5935 distclean-fastjar: 
5936         @[ -f ./fastjar/Makefile ] || exit 0; \
5937         r=`${PWD_COMMAND}`; export r; \
5938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939         $(SET_LIB_PATH) \
5940         for flag in $(EXTRA_HOST_FLAGS); do \
5941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5942         done; \
5943         echo "Doing distclean in fastjar" ; \
5944         (cd fastjar && \
5945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5947                   "RANLIB=$${RANLIB}" \
5948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5949                   distclean) \
5950           || exit 1
5951
5952
5953 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
5954 maybe-maintainer-clean-fastjar:
5955
5956 maintainer-clean-fastjar: 
5957         @[ -f ./fastjar/Makefile ] || exit 0; \
5958         r=`${PWD_COMMAND}`; export r; \
5959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5960         $(SET_LIB_PATH) \
5961         for flag in $(EXTRA_HOST_FLAGS); do \
5962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5963         done; \
5964         echo "Doing maintainer-clean in fastjar" ; \
5965         (cd fastjar && \
5966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968                   "RANLIB=$${RANLIB}" \
5969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5970                   maintainer-clean) \
5971           || exit 1
5972
5973
5974
5975 .PHONY: configure-fileutils maybe-configure-fileutils
5976 maybe-configure-fileutils:
5977 configure-fileutils:
5978         @test ! -f fileutils/Makefile || exit 0; \
5979         [ -d fileutils ] || mkdir fileutils; \
5980         r=`${PWD_COMMAND}`; export r; \
5981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5982         CC="$(CC)"; export CC; \
5983         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5984         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5985         CXX="$(CXX)"; export CXX; \
5986         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5987         AR="$(AR)"; export AR; \
5988         AS="$(AS)"; export AS; \
5989         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5990         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5991         LD="$(LD)"; export LD; \
5992         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5993         NM="$(NM)"; export NM; \
5994         RANLIB="$(RANLIB)"; export RANLIB; \
5995         WINDRES="$(WINDRES)"; export WINDRES; \
5996         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5997         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5998         echo Configuring in fileutils; \
5999         cd fileutils || exit 1; \
6000         case $(srcdir) in \
6001           \.) \
6002             srcdiroption="--srcdir=."; \
6003             libsrcdir=".";; \
6004           /* | [A-Za-z]:[\\/]*) \
6005             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6006             libsrcdir="$$s/fileutils";; \
6007           *) \
6008             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6009             libsrcdir="$$s/fileutils";; \
6010         esac; \
6011         $(SHELL) $${libsrcdir}/configure \
6012           $(HOST_CONFIGARGS) $${srcdiroption} \
6013           || exit 1
6014
6015 .PHONY: all-fileutils maybe-all-fileutils
6016 maybe-all-fileutils:
6017 all-fileutils: configure-fileutils
6018         @r=`${PWD_COMMAND}`; export r; \
6019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020         $(SET_LIB_PATH) \
6021         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6022
6023 .PHONY: check-fileutils maybe-check-fileutils
6024 maybe-check-fileutils:
6025
6026 check-fileutils:
6027         @r=`${PWD_COMMAND}`; export r; \
6028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6029         $(SET_LIB_PATH) \
6030         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6031
6032
6033 .PHONY: install-fileutils maybe-install-fileutils
6034 maybe-install-fileutils:
6035
6036 install-fileutils: installdirs
6037         @r=`${PWD_COMMAND}`; export r; \
6038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6039         $(SET_LIB_PATH) \
6040         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6041
6042
6043 # Other targets (info, dvi, etc.)
6044
6045 .PHONY: maybe-info-fileutils info-fileutils
6046 maybe-info-fileutils:
6047
6048 info-fileutils: \
6049     configure-fileutils 
6050         @[ -f ./fileutils/Makefile ] || exit 0; \
6051         r=`${PWD_COMMAND}`; export r; \
6052         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053         $(SET_LIB_PATH) \
6054         for flag in $(EXTRA_HOST_FLAGS); do \
6055           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6056         done; \
6057         echo "Doing info in fileutils" ; \
6058         (cd fileutils && \
6059           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6060                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6061                   "RANLIB=$${RANLIB}" \
6062                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6063                   info) \
6064           || exit 1
6065
6066
6067 .PHONY: maybe-dvi-fileutils dvi-fileutils
6068 maybe-dvi-fileutils:
6069
6070 dvi-fileutils: \
6071     configure-fileutils 
6072         @[ -f ./fileutils/Makefile ] || exit 0; \
6073         r=`${PWD_COMMAND}`; export r; \
6074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075         $(SET_LIB_PATH) \
6076         for flag in $(EXTRA_HOST_FLAGS); do \
6077           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078         done; \
6079         echo "Doing dvi in fileutils" ; \
6080         (cd fileutils && \
6081           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6082                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6083                   "RANLIB=$${RANLIB}" \
6084                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6085                   dvi) \
6086           || exit 1
6087
6088
6089 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6090 maybe-TAGS-fileutils:
6091
6092 TAGS-fileutils: \
6093     configure-fileutils 
6094         @[ -f ./fileutils/Makefile ] || exit 0; \
6095         r=`${PWD_COMMAND}`; export r; \
6096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6097         $(SET_LIB_PATH) \
6098         for flag in $(EXTRA_HOST_FLAGS); do \
6099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6100         done; \
6101         echo "Doing TAGS in fileutils" ; \
6102         (cd fileutils && \
6103           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6104                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6105                   "RANLIB=$${RANLIB}" \
6106                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6107                   TAGS) \
6108           || exit 1
6109
6110
6111 .PHONY: maybe-install-info-fileutils install-info-fileutils
6112 maybe-install-info-fileutils:
6113
6114 install-info-fileutils: \
6115     configure-fileutils \
6116     info-fileutils 
6117         @[ -f ./fileutils/Makefile ] || exit 0; \
6118         r=`${PWD_COMMAND}`; export r; \
6119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6120         $(SET_LIB_PATH) \
6121         for flag in $(EXTRA_HOST_FLAGS); do \
6122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6123         done; \
6124         echo "Doing install-info in fileutils" ; \
6125         (cd fileutils && \
6126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6128                   "RANLIB=$${RANLIB}" \
6129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6130                   install-info) \
6131           || exit 1
6132
6133
6134 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6135 maybe-installcheck-fileutils:
6136
6137 installcheck-fileutils: \
6138     configure-fileutils 
6139         @[ -f ./fileutils/Makefile ] || exit 0; \
6140         r=`${PWD_COMMAND}`; export r; \
6141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142         $(SET_LIB_PATH) \
6143         for flag in $(EXTRA_HOST_FLAGS); do \
6144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6145         done; \
6146         echo "Doing installcheck in fileutils" ; \
6147         (cd fileutils && \
6148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6150                   "RANLIB=$${RANLIB}" \
6151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6152                   installcheck) \
6153           || exit 1
6154
6155
6156 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6157 maybe-mostlyclean-fileutils:
6158
6159 mostlyclean-fileutils: 
6160         @[ -f ./fileutils/Makefile ] || exit 0; \
6161         r=`${PWD_COMMAND}`; export r; \
6162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6163         $(SET_LIB_PATH) \
6164         for flag in $(EXTRA_HOST_FLAGS); do \
6165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6166         done; \
6167         echo "Doing mostlyclean in fileutils" ; \
6168         (cd fileutils && \
6169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6171                   "RANLIB=$${RANLIB}" \
6172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6173                   mostlyclean) \
6174           || exit 1
6175
6176
6177 .PHONY: maybe-clean-fileutils clean-fileutils
6178 maybe-clean-fileutils:
6179
6180 clean-fileutils: 
6181         @[ -f ./fileutils/Makefile ] || exit 0; \
6182         r=`${PWD_COMMAND}`; export r; \
6183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184         $(SET_LIB_PATH) \
6185         for flag in $(EXTRA_HOST_FLAGS); do \
6186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6187         done; \
6188         echo "Doing clean in fileutils" ; \
6189         (cd fileutils && \
6190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6192                   "RANLIB=$${RANLIB}" \
6193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6194                   clean) \
6195           || exit 1
6196
6197
6198 .PHONY: maybe-distclean-fileutils distclean-fileutils
6199 maybe-distclean-fileutils:
6200
6201 distclean-fileutils: 
6202         @[ -f ./fileutils/Makefile ] || exit 0; \
6203         r=`${PWD_COMMAND}`; export r; \
6204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6205         $(SET_LIB_PATH) \
6206         for flag in $(EXTRA_HOST_FLAGS); do \
6207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6208         done; \
6209         echo "Doing distclean in fileutils" ; \
6210         (cd fileutils && \
6211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6213                   "RANLIB=$${RANLIB}" \
6214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6215                   distclean) \
6216           || exit 1
6217
6218
6219 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6220 maybe-maintainer-clean-fileutils:
6221
6222 maintainer-clean-fileutils: 
6223         @[ -f ./fileutils/Makefile ] || exit 0; \
6224         r=`${PWD_COMMAND}`; export r; \
6225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226         $(SET_LIB_PATH) \
6227         for flag in $(EXTRA_HOST_FLAGS); do \
6228           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229         done; \
6230         echo "Doing maintainer-clean in fileutils" ; \
6231         (cd fileutils && \
6232           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234                   "RANLIB=$${RANLIB}" \
6235                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6236                   maintainer-clean) \
6237           || exit 1
6238
6239
6240
6241 .PHONY: configure-findutils maybe-configure-findutils
6242 maybe-configure-findutils:
6243 configure-findutils:
6244         @test ! -f findutils/Makefile || exit 0; \
6245         [ -d findutils ] || mkdir findutils; \
6246         r=`${PWD_COMMAND}`; export r; \
6247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248         CC="$(CC)"; export CC; \
6249         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6250         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6251         CXX="$(CXX)"; export CXX; \
6252         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6253         AR="$(AR)"; export AR; \
6254         AS="$(AS)"; export AS; \
6255         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6256         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6257         LD="$(LD)"; export LD; \
6258         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6259         NM="$(NM)"; export NM; \
6260         RANLIB="$(RANLIB)"; export RANLIB; \
6261         WINDRES="$(WINDRES)"; export WINDRES; \
6262         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6263         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6264         echo Configuring in findutils; \
6265         cd findutils || exit 1; \
6266         case $(srcdir) in \
6267           \.) \
6268             srcdiroption="--srcdir=."; \
6269             libsrcdir=".";; \
6270           /* | [A-Za-z]:[\\/]*) \
6271             srcdiroption="--srcdir=$(srcdir)/findutils"; \
6272             libsrcdir="$$s/findutils";; \
6273           *) \
6274             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
6275             libsrcdir="$$s/findutils";; \
6276         esac; \
6277         $(SHELL) $${libsrcdir}/configure \
6278           $(HOST_CONFIGARGS) $${srcdiroption} \
6279           || exit 1
6280
6281 .PHONY: all-findutils maybe-all-findutils
6282 maybe-all-findutils:
6283 all-findutils: configure-findutils
6284         @r=`${PWD_COMMAND}`; export r; \
6285         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6286         $(SET_LIB_PATH) \
6287         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
6288
6289 .PHONY: check-findutils maybe-check-findutils
6290 maybe-check-findutils:
6291
6292 check-findutils:
6293         @r=`${PWD_COMMAND}`; export r; \
6294         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295         $(SET_LIB_PATH) \
6296         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
6297
6298
6299 .PHONY: install-findutils maybe-install-findutils
6300 maybe-install-findutils:
6301
6302 install-findutils: installdirs
6303         @r=`${PWD_COMMAND}`; export r; \
6304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305         $(SET_LIB_PATH) \
6306         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
6307
6308
6309 # Other targets (info, dvi, etc.)
6310
6311 .PHONY: maybe-info-findutils info-findutils
6312 maybe-info-findutils:
6313
6314 info-findutils: \
6315     configure-findutils 
6316         @[ -f ./findutils/Makefile ] || exit 0; \
6317         r=`${PWD_COMMAND}`; export r; \
6318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319         $(SET_LIB_PATH) \
6320         for flag in $(EXTRA_HOST_FLAGS); do \
6321           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322         done; \
6323         echo "Doing info in findutils" ; \
6324         (cd findutils && \
6325           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327                   "RANLIB=$${RANLIB}" \
6328                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6329                   info) \
6330           || exit 1
6331
6332
6333 .PHONY: maybe-dvi-findutils dvi-findutils
6334 maybe-dvi-findutils:
6335
6336 dvi-findutils: \
6337     configure-findutils 
6338         @[ -f ./findutils/Makefile ] || exit 0; \
6339         r=`${PWD_COMMAND}`; export r; \
6340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341         $(SET_LIB_PATH) \
6342         for flag in $(EXTRA_HOST_FLAGS); do \
6343           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6344         done; \
6345         echo "Doing dvi in findutils" ; \
6346         (cd findutils && \
6347           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6348                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6349                   "RANLIB=$${RANLIB}" \
6350                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6351                   dvi) \
6352           || exit 1
6353
6354
6355 .PHONY: maybe-TAGS-findutils TAGS-findutils
6356 maybe-TAGS-findutils:
6357
6358 TAGS-findutils: \
6359     configure-findutils 
6360         @[ -f ./findutils/Makefile ] || exit 0; \
6361         r=`${PWD_COMMAND}`; export r; \
6362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6363         $(SET_LIB_PATH) \
6364         for flag in $(EXTRA_HOST_FLAGS); do \
6365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6366         done; \
6367         echo "Doing TAGS in findutils" ; \
6368         (cd findutils && \
6369           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6370                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6371                   "RANLIB=$${RANLIB}" \
6372                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6373                   TAGS) \
6374           || exit 1
6375
6376
6377 .PHONY: maybe-install-info-findutils install-info-findutils
6378 maybe-install-info-findutils:
6379
6380 install-info-findutils: \
6381     configure-findutils \
6382     info-findutils 
6383         @[ -f ./findutils/Makefile ] || exit 0; \
6384         r=`${PWD_COMMAND}`; export r; \
6385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6386         $(SET_LIB_PATH) \
6387         for flag in $(EXTRA_HOST_FLAGS); do \
6388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6389         done; \
6390         echo "Doing install-info in findutils" ; \
6391         (cd findutils && \
6392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6394                   "RANLIB=$${RANLIB}" \
6395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6396                   install-info) \
6397           || exit 1
6398
6399
6400 .PHONY: maybe-installcheck-findutils installcheck-findutils
6401 maybe-installcheck-findutils:
6402
6403 installcheck-findutils: \
6404     configure-findutils 
6405         @[ -f ./findutils/Makefile ] || exit 0; \
6406         r=`${PWD_COMMAND}`; export r; \
6407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6408         $(SET_LIB_PATH) \
6409         for flag in $(EXTRA_HOST_FLAGS); do \
6410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6411         done; \
6412         echo "Doing installcheck in findutils" ; \
6413         (cd findutils && \
6414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6416                   "RANLIB=$${RANLIB}" \
6417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6418                   installcheck) \
6419           || exit 1
6420
6421
6422 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
6423 maybe-mostlyclean-findutils:
6424
6425 mostlyclean-findutils: 
6426         @[ -f ./findutils/Makefile ] || exit 0; \
6427         r=`${PWD_COMMAND}`; export r; \
6428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429         $(SET_LIB_PATH) \
6430         for flag in $(EXTRA_HOST_FLAGS); do \
6431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6432         done; \
6433         echo "Doing mostlyclean in findutils" ; \
6434         (cd findutils && \
6435           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6436                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6437                   "RANLIB=$${RANLIB}" \
6438                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6439                   mostlyclean) \
6440           || exit 1
6441
6442
6443 .PHONY: maybe-clean-findutils clean-findutils
6444 maybe-clean-findutils:
6445
6446 clean-findutils: 
6447         @[ -f ./findutils/Makefile ] || exit 0; \
6448         r=`${PWD_COMMAND}`; export r; \
6449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6450         $(SET_LIB_PATH) \
6451         for flag in $(EXTRA_HOST_FLAGS); do \
6452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6453         done; \
6454         echo "Doing clean in findutils" ; \
6455         (cd findutils && \
6456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6458                   "RANLIB=$${RANLIB}" \
6459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6460                   clean) \
6461           || exit 1
6462
6463
6464 .PHONY: maybe-distclean-findutils distclean-findutils
6465 maybe-distclean-findutils:
6466
6467 distclean-findutils: 
6468         @[ -f ./findutils/Makefile ] || exit 0; \
6469         r=`${PWD_COMMAND}`; export r; \
6470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6471         $(SET_LIB_PATH) \
6472         for flag in $(EXTRA_HOST_FLAGS); do \
6473           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6474         done; \
6475         echo "Doing distclean in findutils" ; \
6476         (cd findutils && \
6477           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6478                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6479                   "RANLIB=$${RANLIB}" \
6480                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6481                   distclean) \
6482           || exit 1
6483
6484
6485 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
6486 maybe-maintainer-clean-findutils:
6487
6488 maintainer-clean-findutils: 
6489         @[ -f ./findutils/Makefile ] || exit 0; \
6490         r=`${PWD_COMMAND}`; export r; \
6491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492         $(SET_LIB_PATH) \
6493         for flag in $(EXTRA_HOST_FLAGS); do \
6494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6495         done; \
6496         echo "Doing maintainer-clean in findutils" ; \
6497         (cd findutils && \
6498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6500                   "RANLIB=$${RANLIB}" \
6501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6502                   maintainer-clean) \
6503           || exit 1
6504
6505
6506
6507 .PHONY: configure-find maybe-configure-find
6508 maybe-configure-find:
6509 configure-find:
6510         @test ! -f find/Makefile || exit 0; \
6511         [ -d find ] || mkdir find; \
6512         r=`${PWD_COMMAND}`; export r; \
6513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6514         CC="$(CC)"; export CC; \
6515         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6516         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6517         CXX="$(CXX)"; export CXX; \
6518         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6519         AR="$(AR)"; export AR; \
6520         AS="$(AS)"; export AS; \
6521         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6522         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6523         LD="$(LD)"; export LD; \
6524         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6525         NM="$(NM)"; export NM; \
6526         RANLIB="$(RANLIB)"; export RANLIB; \
6527         WINDRES="$(WINDRES)"; export WINDRES; \
6528         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6529         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6530         echo Configuring in find; \
6531         cd find || exit 1; \
6532         case $(srcdir) in \
6533           \.) \
6534             srcdiroption="--srcdir=."; \
6535             libsrcdir=".";; \
6536           /* | [A-Za-z]:[\\/]*) \
6537             srcdiroption="--srcdir=$(srcdir)/find"; \
6538             libsrcdir="$$s/find";; \
6539           *) \
6540             srcdiroption="--srcdir=../$(srcdir)/find"; \
6541             libsrcdir="$$s/find";; \
6542         esac; \
6543         $(SHELL) $${libsrcdir}/configure \
6544           $(HOST_CONFIGARGS) $${srcdiroption} \
6545           || exit 1
6546
6547 .PHONY: all-find maybe-all-find
6548 maybe-all-find:
6549 all-find: configure-find
6550         @r=`${PWD_COMMAND}`; export r; \
6551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552         $(SET_LIB_PATH) \
6553         (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
6554
6555 .PHONY: check-find maybe-check-find
6556 maybe-check-find:
6557
6558 check-find:
6559         @r=`${PWD_COMMAND}`; export r; \
6560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6561         $(SET_LIB_PATH) \
6562         (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
6563
6564
6565 .PHONY: install-find maybe-install-find
6566 maybe-install-find:
6567
6568 install-find: installdirs
6569         @r=`${PWD_COMMAND}`; export r; \
6570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6571         $(SET_LIB_PATH) \
6572         (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
6573
6574
6575 # Other targets (info, dvi, etc.)
6576
6577 .PHONY: maybe-info-find info-find
6578 maybe-info-find:
6579
6580 info-find: \
6581     configure-find 
6582         @[ -f ./find/Makefile ] || exit 0; \
6583         r=`${PWD_COMMAND}`; export r; \
6584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585         $(SET_LIB_PATH) \
6586         for flag in $(EXTRA_HOST_FLAGS); do \
6587           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588         done; \
6589         echo "Doing info in find" ; \
6590         (cd find && \
6591           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593                   "RANLIB=$${RANLIB}" \
6594                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6595                   info) \
6596           || exit 1
6597
6598
6599 .PHONY: maybe-dvi-find dvi-find
6600 maybe-dvi-find:
6601
6602 dvi-find: \
6603     configure-find 
6604         @[ -f ./find/Makefile ] || exit 0; \
6605         r=`${PWD_COMMAND}`; export r; \
6606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607         $(SET_LIB_PATH) \
6608         for flag in $(EXTRA_HOST_FLAGS); do \
6609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610         done; \
6611         echo "Doing dvi in find" ; \
6612         (cd find && \
6613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615                   "RANLIB=$${RANLIB}" \
6616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6617                   dvi) \
6618           || exit 1
6619
6620
6621 .PHONY: maybe-TAGS-find TAGS-find
6622 maybe-TAGS-find:
6623
6624 TAGS-find: \
6625     configure-find 
6626         @[ -f ./find/Makefile ] || exit 0; \
6627         r=`${PWD_COMMAND}`; export r; \
6628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6629         $(SET_LIB_PATH) \
6630         for flag in $(EXTRA_HOST_FLAGS); do \
6631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6632         done; \
6633         echo "Doing TAGS in find" ; \
6634         (cd find && \
6635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637                   "RANLIB=$${RANLIB}" \
6638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6639                   TAGS) \
6640           || exit 1
6641
6642
6643 .PHONY: maybe-install-info-find install-info-find
6644 maybe-install-info-find:
6645
6646 install-info-find: \
6647     configure-find \
6648     info-find 
6649         @[ -f ./find/Makefile ] || exit 0; \
6650         r=`${PWD_COMMAND}`; export r; \
6651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6652         $(SET_LIB_PATH) \
6653         for flag in $(EXTRA_HOST_FLAGS); do \
6654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6655         done; \
6656         echo "Doing install-info in find" ; \
6657         (cd find && \
6658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6660                   "RANLIB=$${RANLIB}" \
6661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6662                   install-info) \
6663           || exit 1
6664
6665
6666 .PHONY: maybe-installcheck-find installcheck-find
6667 maybe-installcheck-find:
6668
6669 installcheck-find: \
6670     configure-find 
6671         @[ -f ./find/Makefile ] || exit 0; \
6672         r=`${PWD_COMMAND}`; export r; \
6673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674         $(SET_LIB_PATH) \
6675         for flag in $(EXTRA_HOST_FLAGS); do \
6676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677         done; \
6678         echo "Doing installcheck in find" ; \
6679         (cd find && \
6680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682                   "RANLIB=$${RANLIB}" \
6683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684                   installcheck) \
6685           || exit 1
6686
6687
6688 .PHONY: maybe-mostlyclean-find mostlyclean-find
6689 maybe-mostlyclean-find:
6690
6691 mostlyclean-find: 
6692         @[ -f ./find/Makefile ] || exit 0; \
6693         r=`${PWD_COMMAND}`; export r; \
6694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6695         $(SET_LIB_PATH) \
6696         for flag in $(EXTRA_HOST_FLAGS); do \
6697           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6698         done; \
6699         echo "Doing mostlyclean in find" ; \
6700         (cd find && \
6701           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6702                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6703                   "RANLIB=$${RANLIB}" \
6704                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6705                   mostlyclean) \
6706           || exit 1
6707
6708
6709 .PHONY: maybe-clean-find clean-find
6710 maybe-clean-find:
6711
6712 clean-find: 
6713         @[ -f ./find/Makefile ] || exit 0; \
6714         r=`${PWD_COMMAND}`; export r; \
6715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6716         $(SET_LIB_PATH) \
6717         for flag in $(EXTRA_HOST_FLAGS); do \
6718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6719         done; \
6720         echo "Doing clean in find" ; \
6721         (cd find && \
6722           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724                   "RANLIB=$${RANLIB}" \
6725                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6726                   clean) \
6727           || exit 1
6728
6729
6730 .PHONY: maybe-distclean-find distclean-find
6731 maybe-distclean-find:
6732
6733 distclean-find: 
6734         @[ -f ./find/Makefile ] || exit 0; \
6735         r=`${PWD_COMMAND}`; export r; \
6736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737         $(SET_LIB_PATH) \
6738         for flag in $(EXTRA_HOST_FLAGS); do \
6739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6740         done; \
6741         echo "Doing distclean in find" ; \
6742         (cd find && \
6743           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745                   "RANLIB=$${RANLIB}" \
6746                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6747                   distclean) \
6748           || exit 1
6749
6750
6751 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
6752 maybe-maintainer-clean-find:
6753
6754 maintainer-clean-find: 
6755         @[ -f ./find/Makefile ] || exit 0; \
6756         r=`${PWD_COMMAND}`; export r; \
6757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6758         $(SET_LIB_PATH) \
6759         for flag in $(EXTRA_HOST_FLAGS); do \
6760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6761         done; \
6762         echo "Doing maintainer-clean in find" ; \
6763         (cd find && \
6764           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6765                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6766                   "RANLIB=$${RANLIB}" \
6767                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6768                   maintainer-clean) \
6769           || exit 1
6770
6771
6772
6773 .PHONY: configure-flex maybe-configure-flex
6774 maybe-configure-flex:
6775 configure-flex:
6776         @test ! -f flex/Makefile || exit 0; \
6777         [ -d flex ] || mkdir flex; \
6778         r=`${PWD_COMMAND}`; export r; \
6779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780         CC="$(CC)"; export CC; \
6781         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6782         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6783         CXX="$(CXX)"; export CXX; \
6784         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6785         AR="$(AR)"; export AR; \
6786         AS="$(AS)"; export AS; \
6787         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6788         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6789         LD="$(LD)"; export LD; \
6790         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6791         NM="$(NM)"; export NM; \
6792         RANLIB="$(RANLIB)"; export RANLIB; \
6793         WINDRES="$(WINDRES)"; export WINDRES; \
6794         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6795         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6796         echo Configuring in flex; \
6797         cd flex || exit 1; \
6798         case $(srcdir) in \
6799           \.) \
6800             srcdiroption="--srcdir=."; \
6801             libsrcdir=".";; \
6802           /* | [A-Za-z]:[\\/]*) \
6803             srcdiroption="--srcdir=$(srcdir)/flex"; \
6804             libsrcdir="$$s/flex";; \
6805           *) \
6806             srcdiroption="--srcdir=../$(srcdir)/flex"; \
6807             libsrcdir="$$s/flex";; \
6808         esac; \
6809         $(SHELL) $${libsrcdir}/configure \
6810           $(HOST_CONFIGARGS) $${srcdiroption} \
6811           || exit 1
6812
6813 .PHONY: all-flex maybe-all-flex
6814 maybe-all-flex:
6815 all-flex: configure-flex
6816         @r=`${PWD_COMMAND}`; export r; \
6817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818         $(SET_LIB_PATH) \
6819         (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
6820
6821 .PHONY: check-flex maybe-check-flex
6822 maybe-check-flex:
6823
6824 # This module is only tested in a native toolchain.
6825 check-flex:
6826         @if [ '$(host)' = '$(target)' ] ; then \
6827           r=`${PWD_COMMAND}`; export r; \
6828           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6829           $(SET_LIB_PATH) \
6830           (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
6831         fi
6832
6833
6834 .PHONY: install-flex maybe-install-flex
6835 maybe-install-flex:
6836
6837 install-flex: installdirs
6838         @r=`${PWD_COMMAND}`; export r; \
6839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840         $(SET_LIB_PATH) \
6841         (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
6842
6843
6844 # Other targets (info, dvi, etc.)
6845
6846 .PHONY: maybe-info-flex info-flex
6847 maybe-info-flex:
6848
6849 info-flex: \
6850     configure-flex 
6851         @[ -f ./flex/Makefile ] || exit 0; \
6852         r=`${PWD_COMMAND}`; export r; \
6853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6854         $(SET_LIB_PATH) \
6855         for flag in $(EXTRA_HOST_FLAGS); do \
6856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6857         done; \
6858         echo "Doing info in flex" ; \
6859         (cd flex && \
6860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6862                   "RANLIB=$${RANLIB}" \
6863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6864                   info) \
6865           || exit 1
6866
6867
6868 .PHONY: maybe-dvi-flex dvi-flex
6869 maybe-dvi-flex:
6870
6871 dvi-flex: \
6872     configure-flex 
6873         @[ -f ./flex/Makefile ] || exit 0; \
6874         r=`${PWD_COMMAND}`; export r; \
6875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6876         $(SET_LIB_PATH) \
6877         for flag in $(EXTRA_HOST_FLAGS); do \
6878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6879         done; \
6880         echo "Doing dvi in flex" ; \
6881         (cd flex && \
6882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6884                   "RANLIB=$${RANLIB}" \
6885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6886                   dvi) \
6887           || exit 1
6888
6889
6890 .PHONY: maybe-TAGS-flex TAGS-flex
6891 maybe-TAGS-flex:
6892
6893 TAGS-flex: \
6894     configure-flex 
6895         @[ -f ./flex/Makefile ] || exit 0; \
6896         r=`${PWD_COMMAND}`; export r; \
6897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6898         $(SET_LIB_PATH) \
6899         for flag in $(EXTRA_HOST_FLAGS); do \
6900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6901         done; \
6902         echo "Doing TAGS in flex" ; \
6903         (cd flex && \
6904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6906                   "RANLIB=$${RANLIB}" \
6907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6908                   TAGS) \
6909           || exit 1
6910
6911
6912 .PHONY: maybe-install-info-flex install-info-flex
6913 maybe-install-info-flex:
6914
6915 install-info-flex: \
6916     configure-flex \
6917     info-flex 
6918         @[ -f ./flex/Makefile ] || exit 0; \
6919         r=`${PWD_COMMAND}`; export r; \
6920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6921         $(SET_LIB_PATH) \
6922         for flag in $(EXTRA_HOST_FLAGS); do \
6923           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6924         done; \
6925         echo "Doing install-info in flex" ; \
6926         (cd flex && \
6927           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6928                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6929                   "RANLIB=$${RANLIB}" \
6930                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6931                   install-info) \
6932           || exit 1
6933
6934
6935 .PHONY: maybe-installcheck-flex installcheck-flex
6936 maybe-installcheck-flex:
6937
6938 installcheck-flex: \
6939     configure-flex 
6940         @[ -f ./flex/Makefile ] || exit 0; \
6941         r=`${PWD_COMMAND}`; export r; \
6942         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6943         $(SET_LIB_PATH) \
6944         for flag in $(EXTRA_HOST_FLAGS); do \
6945           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6946         done; \
6947         echo "Doing installcheck in flex" ; \
6948         (cd flex && \
6949           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6950                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6951                   "RANLIB=$${RANLIB}" \
6952                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6953                   installcheck) \
6954           || exit 1
6955
6956
6957 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
6958 maybe-mostlyclean-flex:
6959
6960 mostlyclean-flex: 
6961         @[ -f ./flex/Makefile ] || exit 0; \
6962         r=`${PWD_COMMAND}`; export r; \
6963         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964         $(SET_LIB_PATH) \
6965         for flag in $(EXTRA_HOST_FLAGS); do \
6966           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967         done; \
6968         echo "Doing mostlyclean in flex" ; \
6969         (cd flex && \
6970           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972                   "RANLIB=$${RANLIB}" \
6973                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6974                   mostlyclean) \
6975           || exit 1
6976
6977
6978 .PHONY: maybe-clean-flex clean-flex
6979 maybe-clean-flex:
6980
6981 clean-flex: 
6982         @[ -f ./flex/Makefile ] || exit 0; \
6983         r=`${PWD_COMMAND}`; export r; \
6984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985         $(SET_LIB_PATH) \
6986         for flag in $(EXTRA_HOST_FLAGS); do \
6987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988         done; \
6989         echo "Doing clean in flex" ; \
6990         (cd flex && \
6991           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993                   "RANLIB=$${RANLIB}" \
6994                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6995                   clean) \
6996           || exit 1
6997
6998
6999 .PHONY: maybe-distclean-flex distclean-flex
7000 maybe-distclean-flex:
7001
7002 distclean-flex: 
7003         @[ -f ./flex/Makefile ] || exit 0; \
7004         r=`${PWD_COMMAND}`; export r; \
7005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7006         $(SET_LIB_PATH) \
7007         for flag in $(EXTRA_HOST_FLAGS); do \
7008           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7009         done; \
7010         echo "Doing distclean in flex" ; \
7011         (cd flex && \
7012           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7013                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7014                   "RANLIB=$${RANLIB}" \
7015                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7016                   distclean) \
7017           || exit 1
7018
7019
7020 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7021 maybe-maintainer-clean-flex:
7022
7023 maintainer-clean-flex: 
7024         @[ -f ./flex/Makefile ] || exit 0; \
7025         r=`${PWD_COMMAND}`; export r; \
7026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027         $(SET_LIB_PATH) \
7028         for flag in $(EXTRA_HOST_FLAGS); do \
7029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030         done; \
7031         echo "Doing maintainer-clean in flex" ; \
7032         (cd flex && \
7033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035                   "RANLIB=$${RANLIB}" \
7036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7037                   maintainer-clean) \
7038           || exit 1
7039
7040
7041
7042 .PHONY: configure-gas maybe-configure-gas
7043 maybe-configure-gas:
7044 configure-gas:
7045         @test ! -f gas/Makefile || exit 0; \
7046         [ -d gas ] || mkdir gas; \
7047         r=`${PWD_COMMAND}`; export r; \
7048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049         CC="$(CC)"; export CC; \
7050         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7051         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7052         CXX="$(CXX)"; export CXX; \
7053         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7054         AR="$(AR)"; export AR; \
7055         AS="$(AS)"; export AS; \
7056         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7057         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7058         LD="$(LD)"; export LD; \
7059         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7060         NM="$(NM)"; export NM; \
7061         RANLIB="$(RANLIB)"; export RANLIB; \
7062         WINDRES="$(WINDRES)"; export WINDRES; \
7063         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7064         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7065         echo Configuring in gas; \
7066         cd gas || exit 1; \
7067         case $(srcdir) in \
7068           \.) \
7069             srcdiroption="--srcdir=."; \
7070             libsrcdir=".";; \
7071           /* | [A-Za-z]:[\\/]*) \
7072             srcdiroption="--srcdir=$(srcdir)/gas"; \
7073             libsrcdir="$$s/gas";; \
7074           *) \
7075             srcdiroption="--srcdir=../$(srcdir)/gas"; \
7076             libsrcdir="$$s/gas";; \
7077         esac; \
7078         $(SHELL) $${libsrcdir}/configure \
7079           $(HOST_CONFIGARGS) $${srcdiroption} \
7080           || exit 1
7081
7082 .PHONY: all-gas maybe-all-gas
7083 maybe-all-gas:
7084 all-gas: configure-gas
7085         @r=`${PWD_COMMAND}`; export r; \
7086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087         $(SET_LIB_PATH) \
7088         (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7089
7090 .PHONY: check-gas maybe-check-gas
7091 maybe-check-gas:
7092
7093 check-gas:
7094         @r=`${PWD_COMMAND}`; export r; \
7095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7096         $(SET_LIB_PATH) \
7097         (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7098
7099
7100 .PHONY: install-gas maybe-install-gas
7101 maybe-install-gas:
7102
7103 install-gas: installdirs
7104         @r=`${PWD_COMMAND}`; export r; \
7105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7106         $(SET_LIB_PATH) \
7107         (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7108
7109
7110 # Other targets (info, dvi, etc.)
7111
7112 .PHONY: maybe-info-gas info-gas
7113 maybe-info-gas:
7114
7115 info-gas: \
7116     configure-gas 
7117         @[ -f ./gas/Makefile ] || exit 0; \
7118         r=`${PWD_COMMAND}`; export r; \
7119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7120         $(SET_LIB_PATH) \
7121         for flag in $(EXTRA_HOST_FLAGS); do \
7122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7123         done; \
7124         echo "Doing info in gas" ; \
7125         (cd gas && \
7126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7128                   "RANLIB=$${RANLIB}" \
7129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7130                   info) \
7131           || exit 1
7132
7133
7134 .PHONY: maybe-dvi-gas dvi-gas
7135 maybe-dvi-gas:
7136
7137 dvi-gas: \
7138     configure-gas 
7139         @[ -f ./gas/Makefile ] || exit 0; \
7140         r=`${PWD_COMMAND}`; export r; \
7141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7142         $(SET_LIB_PATH) \
7143         for flag in $(EXTRA_HOST_FLAGS); do \
7144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7145         done; \
7146         echo "Doing dvi in gas" ; \
7147         (cd gas && \
7148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7150                   "RANLIB=$${RANLIB}" \
7151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7152                   dvi) \
7153           || exit 1
7154
7155
7156 .PHONY: maybe-TAGS-gas TAGS-gas
7157 maybe-TAGS-gas:
7158
7159 TAGS-gas: \
7160     configure-gas 
7161         @[ -f ./gas/Makefile ] || exit 0; \
7162         r=`${PWD_COMMAND}`; export r; \
7163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7164         $(SET_LIB_PATH) \
7165         for flag in $(EXTRA_HOST_FLAGS); do \
7166           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7167         done; \
7168         echo "Doing TAGS in gas" ; \
7169         (cd gas && \
7170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7172                   "RANLIB=$${RANLIB}" \
7173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7174                   TAGS) \
7175           || exit 1
7176
7177
7178 .PHONY: maybe-install-info-gas install-info-gas
7179 maybe-install-info-gas:
7180
7181 install-info-gas: \
7182     configure-gas \
7183     info-gas 
7184         @[ -f ./gas/Makefile ] || exit 0; \
7185         r=`${PWD_COMMAND}`; export r; \
7186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187         $(SET_LIB_PATH) \
7188         for flag in $(EXTRA_HOST_FLAGS); do \
7189           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7190         done; \
7191         echo "Doing install-info in gas" ; \
7192         (cd gas && \
7193           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7194                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7195                   "RANLIB=$${RANLIB}" \
7196                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7197                   install-info) \
7198           || exit 1
7199
7200
7201 .PHONY: maybe-installcheck-gas installcheck-gas
7202 maybe-installcheck-gas:
7203
7204 installcheck-gas: \
7205     configure-gas 
7206         @[ -f ./gas/Makefile ] || exit 0; \
7207         r=`${PWD_COMMAND}`; export r; \
7208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209         $(SET_LIB_PATH) \
7210         for flag in $(EXTRA_HOST_FLAGS); do \
7211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212         done; \
7213         echo "Doing installcheck in gas" ; \
7214         (cd gas && \
7215           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217                   "RANLIB=$${RANLIB}" \
7218                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7219                   installcheck) \
7220           || exit 1
7221
7222
7223 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
7224 maybe-mostlyclean-gas:
7225
7226 mostlyclean-gas: 
7227         @[ -f ./gas/Makefile ] || exit 0; \
7228         r=`${PWD_COMMAND}`; export r; \
7229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230         $(SET_LIB_PATH) \
7231         for flag in $(EXTRA_HOST_FLAGS); do \
7232           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233         done; \
7234         echo "Doing mostlyclean in gas" ; \
7235         (cd gas && \
7236           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238                   "RANLIB=$${RANLIB}" \
7239                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7240                   mostlyclean) \
7241           || exit 1
7242
7243
7244 .PHONY: maybe-clean-gas clean-gas
7245 maybe-clean-gas:
7246
7247 clean-gas: 
7248         @[ -f ./gas/Makefile ] || exit 0; \
7249         r=`${PWD_COMMAND}`; export r; \
7250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7251         $(SET_LIB_PATH) \
7252         for flag in $(EXTRA_HOST_FLAGS); do \
7253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254         done; \
7255         echo "Doing clean in gas" ; \
7256         (cd gas && \
7257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259                   "RANLIB=$${RANLIB}" \
7260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7261                   clean) \
7262           || exit 1
7263
7264
7265 .PHONY: maybe-distclean-gas distclean-gas
7266 maybe-distclean-gas:
7267
7268 distclean-gas: 
7269         @[ -f ./gas/Makefile ] || exit 0; \
7270         r=`${PWD_COMMAND}`; export r; \
7271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7272         $(SET_LIB_PATH) \
7273         for flag in $(EXTRA_HOST_FLAGS); do \
7274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7275         done; \
7276         echo "Doing distclean in gas" ; \
7277         (cd gas && \
7278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7280                   "RANLIB=$${RANLIB}" \
7281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7282                   distclean) \
7283           || exit 1
7284
7285
7286 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
7287 maybe-maintainer-clean-gas:
7288
7289 maintainer-clean-gas: 
7290         @[ -f ./gas/Makefile ] || exit 0; \
7291         r=`${PWD_COMMAND}`; export r; \
7292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293         $(SET_LIB_PATH) \
7294         for flag in $(EXTRA_HOST_FLAGS); do \
7295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7296         done; \
7297         echo "Doing maintainer-clean in gas" ; \
7298         (cd gas && \
7299           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7300                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7301                   "RANLIB=$${RANLIB}" \
7302                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7303                   maintainer-clean) \
7304           || exit 1
7305
7306
7307
7308 .PHONY: configure-gawk maybe-configure-gawk
7309 maybe-configure-gawk:
7310 configure-gawk:
7311         @test ! -f gawk/Makefile || exit 0; \
7312         [ -d gawk ] || mkdir gawk; \
7313         r=`${PWD_COMMAND}`; export r; \
7314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315         CC="$(CC)"; export CC; \
7316         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7317         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7318         CXX="$(CXX)"; export CXX; \
7319         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7320         AR="$(AR)"; export AR; \
7321         AS="$(AS)"; export AS; \
7322         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7323         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7324         LD="$(LD)"; export LD; \
7325         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7326         NM="$(NM)"; export NM; \
7327         RANLIB="$(RANLIB)"; export RANLIB; \
7328         WINDRES="$(WINDRES)"; export WINDRES; \
7329         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7330         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7331         echo Configuring in gawk; \
7332         cd gawk || exit 1; \
7333         case $(srcdir) in \
7334           \.) \
7335             srcdiroption="--srcdir=."; \
7336             libsrcdir=".";; \
7337           /* | [A-Za-z]:[\\/]*) \
7338             srcdiroption="--srcdir=$(srcdir)/gawk"; \
7339             libsrcdir="$$s/gawk";; \
7340           *) \
7341             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
7342             libsrcdir="$$s/gawk";; \
7343         esac; \
7344         $(SHELL) $${libsrcdir}/configure \
7345           $(HOST_CONFIGARGS) $${srcdiroption} \
7346           || exit 1
7347
7348 .PHONY: all-gawk maybe-all-gawk
7349 maybe-all-gawk:
7350 all-gawk: configure-gawk
7351         @r=`${PWD_COMMAND}`; export r; \
7352         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7353         $(SET_LIB_PATH) \
7354         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
7355
7356 .PHONY: check-gawk maybe-check-gawk
7357 maybe-check-gawk:
7358
7359 check-gawk:
7360         @r=`${PWD_COMMAND}`; export r; \
7361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362         $(SET_LIB_PATH) \
7363         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
7364
7365
7366 .PHONY: install-gawk maybe-install-gawk
7367 maybe-install-gawk:
7368
7369 install-gawk: installdirs
7370         @r=`${PWD_COMMAND}`; export r; \
7371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7372         $(SET_LIB_PATH) \
7373         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
7374
7375
7376 # Other targets (info, dvi, etc.)
7377
7378 .PHONY: maybe-info-gawk info-gawk
7379 maybe-info-gawk:
7380
7381 info-gawk: \
7382     configure-gawk 
7383         @[ -f ./gawk/Makefile ] || exit 0; \
7384         r=`${PWD_COMMAND}`; export r; \
7385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386         $(SET_LIB_PATH) \
7387         for flag in $(EXTRA_HOST_FLAGS); do \
7388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7389         done; \
7390         echo "Doing info in gawk" ; \
7391         (cd gawk && \
7392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7394                   "RANLIB=$${RANLIB}" \
7395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7396                   info) \
7397           || exit 1
7398
7399
7400 .PHONY: maybe-dvi-gawk dvi-gawk
7401 maybe-dvi-gawk:
7402
7403 dvi-gawk: \
7404     configure-gawk 
7405         @[ -f ./gawk/Makefile ] || exit 0; \
7406         r=`${PWD_COMMAND}`; export r; \
7407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7408         $(SET_LIB_PATH) \
7409         for flag in $(EXTRA_HOST_FLAGS); do \
7410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7411         done; \
7412         echo "Doing dvi in gawk" ; \
7413         (cd gawk && \
7414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7416                   "RANLIB=$${RANLIB}" \
7417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7418                   dvi) \
7419           || exit 1
7420
7421
7422 .PHONY: maybe-TAGS-gawk TAGS-gawk
7423 maybe-TAGS-gawk:
7424
7425 TAGS-gawk: \
7426     configure-gawk 
7427         @[ -f ./gawk/Makefile ] || exit 0; \
7428         r=`${PWD_COMMAND}`; export r; \
7429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7430         $(SET_LIB_PATH) \
7431         for flag in $(EXTRA_HOST_FLAGS); do \
7432           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7433         done; \
7434         echo "Doing TAGS in gawk" ; \
7435         (cd gawk && \
7436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7438                   "RANLIB=$${RANLIB}" \
7439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7440                   TAGS) \
7441           || exit 1
7442
7443
7444 .PHONY: maybe-install-info-gawk install-info-gawk
7445 maybe-install-info-gawk:
7446
7447 install-info-gawk: \
7448     configure-gawk \
7449     info-gawk 
7450         @[ -f ./gawk/Makefile ] || exit 0; \
7451         r=`${PWD_COMMAND}`; export r; \
7452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7453         $(SET_LIB_PATH) \
7454         for flag in $(EXTRA_HOST_FLAGS); do \
7455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7456         done; \
7457         echo "Doing install-info in gawk" ; \
7458         (cd gawk && \
7459           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7460                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7461                   "RANLIB=$${RANLIB}" \
7462                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7463                   install-info) \
7464           || exit 1
7465
7466
7467 .PHONY: maybe-installcheck-gawk installcheck-gawk
7468 maybe-installcheck-gawk:
7469
7470 installcheck-gawk: \
7471     configure-gawk 
7472         @[ -f ./gawk/Makefile ] || exit 0; \
7473         r=`${PWD_COMMAND}`; export r; \
7474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7475         $(SET_LIB_PATH) \
7476         for flag in $(EXTRA_HOST_FLAGS); do \
7477           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7478         done; \
7479         echo "Doing installcheck in gawk" ; \
7480         (cd gawk && \
7481           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7482                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7483                   "RANLIB=$${RANLIB}" \
7484                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7485                   installcheck) \
7486           || exit 1
7487
7488
7489 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
7490 maybe-mostlyclean-gawk:
7491
7492 mostlyclean-gawk: 
7493         @[ -f ./gawk/Makefile ] || exit 0; \
7494         r=`${PWD_COMMAND}`; export r; \
7495         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496         $(SET_LIB_PATH) \
7497         for flag in $(EXTRA_HOST_FLAGS); do \
7498           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7499         done; \
7500         echo "Doing mostlyclean in gawk" ; \
7501         (cd gawk && \
7502           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7503                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7504                   "RANLIB=$${RANLIB}" \
7505                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7506                   mostlyclean) \
7507           || exit 1
7508
7509
7510 .PHONY: maybe-clean-gawk clean-gawk
7511 maybe-clean-gawk:
7512
7513 clean-gawk: 
7514         @[ -f ./gawk/Makefile ] || exit 0; \
7515         r=`${PWD_COMMAND}`; export r; \
7516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517         $(SET_LIB_PATH) \
7518         for flag in $(EXTRA_HOST_FLAGS); do \
7519           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7520         done; \
7521         echo "Doing clean in gawk" ; \
7522         (cd gawk && \
7523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525                   "RANLIB=$${RANLIB}" \
7526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7527                   clean) \
7528           || exit 1
7529
7530
7531 .PHONY: maybe-distclean-gawk distclean-gawk
7532 maybe-distclean-gawk:
7533
7534 distclean-gawk: 
7535         @[ -f ./gawk/Makefile ] || exit 0; \
7536         r=`${PWD_COMMAND}`; export r; \
7537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7538         $(SET_LIB_PATH) \
7539         for flag in $(EXTRA_HOST_FLAGS); do \
7540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7541         done; \
7542         echo "Doing distclean in gawk" ; \
7543         (cd gawk && \
7544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546                   "RANLIB=$${RANLIB}" \
7547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7548                   distclean) \
7549           || exit 1
7550
7551
7552 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
7553 maybe-maintainer-clean-gawk:
7554
7555 maintainer-clean-gawk: 
7556         @[ -f ./gawk/Makefile ] || exit 0; \
7557         r=`${PWD_COMMAND}`; export r; \
7558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7559         $(SET_LIB_PATH) \
7560         for flag in $(EXTRA_HOST_FLAGS); do \
7561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7562         done; \
7563         echo "Doing maintainer-clean in gawk" ; \
7564         (cd gawk && \
7565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7567                   "RANLIB=$${RANLIB}" \
7568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7569                   maintainer-clean) \
7570           || exit 1
7571
7572
7573
7574 .PHONY: configure-gettext maybe-configure-gettext
7575 maybe-configure-gettext:
7576 configure-gettext:
7577         @test ! -f gettext/Makefile || exit 0; \
7578         [ -d gettext ] || mkdir gettext; \
7579         r=`${PWD_COMMAND}`; export r; \
7580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581         CC="$(CC)"; export CC; \
7582         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7583         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7584         CXX="$(CXX)"; export CXX; \
7585         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7586         AR="$(AR)"; export AR; \
7587         AS="$(AS)"; export AS; \
7588         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7589         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7590         LD="$(LD)"; export LD; \
7591         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7592         NM="$(NM)"; export NM; \
7593         RANLIB="$(RANLIB)"; export RANLIB; \
7594         WINDRES="$(WINDRES)"; export WINDRES; \
7595         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7596         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7597         echo Configuring in gettext; \
7598         cd gettext || exit 1; \
7599         case $(srcdir) in \
7600           \.) \
7601             srcdiroption="--srcdir=."; \
7602             libsrcdir=".";; \
7603           /* | [A-Za-z]:[\\/]*) \
7604             srcdiroption="--srcdir=$(srcdir)/gettext"; \
7605             libsrcdir="$$s/gettext";; \
7606           *) \
7607             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
7608             libsrcdir="$$s/gettext";; \
7609         esac; \
7610         $(SHELL) $${libsrcdir}/configure \
7611           $(HOST_CONFIGARGS) $${srcdiroption} \
7612           || exit 1
7613
7614 .PHONY: all-gettext maybe-all-gettext
7615 maybe-all-gettext:
7616 all-gettext: configure-gettext
7617         @r=`${PWD_COMMAND}`; export r; \
7618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619         $(SET_LIB_PATH) \
7620         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
7621
7622 .PHONY: check-gettext maybe-check-gettext
7623 maybe-check-gettext:
7624
7625 check-gettext:
7626         @r=`${PWD_COMMAND}`; export r; \
7627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628         $(SET_LIB_PATH) \
7629         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
7630
7631
7632 .PHONY: install-gettext maybe-install-gettext
7633 maybe-install-gettext:
7634
7635 install-gettext: installdirs
7636         @r=`${PWD_COMMAND}`; export r; \
7637         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7638         $(SET_LIB_PATH) \
7639         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
7640
7641
7642 # Other targets (info, dvi, etc.)
7643
7644 .PHONY: maybe-info-gettext info-gettext
7645 maybe-info-gettext:
7646
7647 info-gettext: \
7648     configure-gettext 
7649         @[ -f ./gettext/Makefile ] || exit 0; \
7650         r=`${PWD_COMMAND}`; export r; \
7651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652         $(SET_LIB_PATH) \
7653         for flag in $(EXTRA_HOST_FLAGS); do \
7654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655         done; \
7656         echo "Doing info in gettext" ; \
7657         (cd gettext && \
7658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660                   "RANLIB=$${RANLIB}" \
7661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662                   info) \
7663           || exit 1
7664
7665
7666 .PHONY: maybe-dvi-gettext dvi-gettext
7667 maybe-dvi-gettext:
7668
7669 dvi-gettext: \
7670     configure-gettext 
7671         @[ -f ./gettext/Makefile ] || exit 0; \
7672         r=`${PWD_COMMAND}`; export r; \
7673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7674         $(SET_LIB_PATH) \
7675         for flag in $(EXTRA_HOST_FLAGS); do \
7676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7677         done; \
7678         echo "Doing dvi in gettext" ; \
7679         (cd gettext && \
7680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682                   "RANLIB=$${RANLIB}" \
7683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7684                   dvi) \
7685           || exit 1
7686
7687
7688 .PHONY: maybe-TAGS-gettext TAGS-gettext
7689 maybe-TAGS-gettext:
7690
7691 TAGS-gettext: \
7692     configure-gettext 
7693         @[ -f ./gettext/Makefile ] || exit 0; \
7694         r=`${PWD_COMMAND}`; export r; \
7695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7696         $(SET_LIB_PATH) \
7697         for flag in $(EXTRA_HOST_FLAGS); do \
7698           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7699         done; \
7700         echo "Doing TAGS in gettext" ; \
7701         (cd gettext && \
7702           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7703                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7704                   "RANLIB=$${RANLIB}" \
7705                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7706                   TAGS) \
7707           || exit 1
7708
7709
7710 .PHONY: maybe-install-info-gettext install-info-gettext
7711 maybe-install-info-gettext:
7712
7713 install-info-gettext: \
7714     configure-gettext \
7715     info-gettext 
7716         @[ -f ./gettext/Makefile ] || exit 0; \
7717         r=`${PWD_COMMAND}`; export r; \
7718         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719         $(SET_LIB_PATH) \
7720         for flag in $(EXTRA_HOST_FLAGS); do \
7721           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722         done; \
7723         echo "Doing install-info in gettext" ; \
7724         (cd gettext && \
7725           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727                   "RANLIB=$${RANLIB}" \
7728                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7729                   install-info) \
7730           || exit 1
7731
7732
7733 .PHONY: maybe-installcheck-gettext installcheck-gettext
7734 maybe-installcheck-gettext:
7735
7736 installcheck-gettext: \
7737     configure-gettext 
7738         @[ -f ./gettext/Makefile ] || exit 0; \
7739         r=`${PWD_COMMAND}`; export r; \
7740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7741         $(SET_LIB_PATH) \
7742         for flag in $(EXTRA_HOST_FLAGS); do \
7743           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7744         done; \
7745         echo "Doing installcheck in gettext" ; \
7746         (cd gettext && \
7747           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7748                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7749                   "RANLIB=$${RANLIB}" \
7750                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7751                   installcheck) \
7752           || exit 1
7753
7754
7755 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
7756 maybe-mostlyclean-gettext:
7757
7758 mostlyclean-gettext: 
7759         @[ -f ./gettext/Makefile ] || exit 0; \
7760         r=`${PWD_COMMAND}`; export r; \
7761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7762         $(SET_LIB_PATH) \
7763         for flag in $(EXTRA_HOST_FLAGS); do \
7764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765         done; \
7766         echo "Doing mostlyclean in gettext" ; \
7767         (cd gettext && \
7768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770                   "RANLIB=$${RANLIB}" \
7771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7772                   mostlyclean) \
7773           || exit 1
7774
7775
7776 .PHONY: maybe-clean-gettext clean-gettext
7777 maybe-clean-gettext:
7778
7779 clean-gettext: 
7780         @[ -f ./gettext/Makefile ] || exit 0; \
7781         r=`${PWD_COMMAND}`; export r; \
7782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783         $(SET_LIB_PATH) \
7784         for flag in $(EXTRA_HOST_FLAGS); do \
7785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786         done; \
7787         echo "Doing clean in gettext" ; \
7788         (cd gettext && \
7789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791                   "RANLIB=$${RANLIB}" \
7792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7793                   clean) \
7794           || exit 1
7795
7796
7797 .PHONY: maybe-distclean-gettext distclean-gettext
7798 maybe-distclean-gettext:
7799
7800 distclean-gettext: 
7801         @[ -f ./gettext/Makefile ] || exit 0; \
7802         r=`${PWD_COMMAND}`; export r; \
7803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7804         $(SET_LIB_PATH) \
7805         for flag in $(EXTRA_HOST_FLAGS); do \
7806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7807         done; \
7808         echo "Doing distclean in gettext" ; \
7809         (cd gettext && \
7810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7812                   "RANLIB=$${RANLIB}" \
7813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7814                   distclean) \
7815           || exit 1
7816
7817
7818 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
7819 maybe-maintainer-clean-gettext:
7820
7821 maintainer-clean-gettext: 
7822         @[ -f ./gettext/Makefile ] || exit 0; \
7823         r=`${PWD_COMMAND}`; export r; \
7824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825         $(SET_LIB_PATH) \
7826         for flag in $(EXTRA_HOST_FLAGS); do \
7827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7828         done; \
7829         echo "Doing maintainer-clean in gettext" ; \
7830         (cd gettext && \
7831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7833                   "RANLIB=$${RANLIB}" \
7834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7835                   maintainer-clean) \
7836           || exit 1
7837
7838
7839
7840 .PHONY: configure-gnuserv maybe-configure-gnuserv
7841 maybe-configure-gnuserv:
7842 configure-gnuserv:
7843         @test ! -f gnuserv/Makefile || exit 0; \
7844         [ -d gnuserv ] || mkdir gnuserv; \
7845         r=`${PWD_COMMAND}`; export r; \
7846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847         CC="$(CC)"; export CC; \
7848         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7849         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7850         CXX="$(CXX)"; export CXX; \
7851         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7852         AR="$(AR)"; export AR; \
7853         AS="$(AS)"; export AS; \
7854         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7855         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7856         LD="$(LD)"; export LD; \
7857         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7858         NM="$(NM)"; export NM; \
7859         RANLIB="$(RANLIB)"; export RANLIB; \
7860         WINDRES="$(WINDRES)"; export WINDRES; \
7861         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7862         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7863         echo Configuring in gnuserv; \
7864         cd gnuserv || exit 1; \
7865         case $(srcdir) in \
7866           \.) \
7867             srcdiroption="--srcdir=."; \
7868             libsrcdir=".";; \
7869           /* | [A-Za-z]:[\\/]*) \
7870             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
7871             libsrcdir="$$s/gnuserv";; \
7872           *) \
7873             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
7874             libsrcdir="$$s/gnuserv";; \
7875         esac; \
7876         $(SHELL) $${libsrcdir}/configure \
7877           $(HOST_CONFIGARGS) $${srcdiroption} \
7878           || exit 1
7879
7880 .PHONY: all-gnuserv maybe-all-gnuserv
7881 maybe-all-gnuserv:
7882 all-gnuserv: configure-gnuserv
7883         @r=`${PWD_COMMAND}`; export r; \
7884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7885         $(SET_LIB_PATH) \
7886         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
7887
7888 .PHONY: check-gnuserv maybe-check-gnuserv
7889 maybe-check-gnuserv:
7890
7891 check-gnuserv:
7892         @r=`${PWD_COMMAND}`; export r; \
7893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7894         $(SET_LIB_PATH) \
7895         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
7896
7897
7898 .PHONY: install-gnuserv maybe-install-gnuserv
7899 maybe-install-gnuserv:
7900
7901 install-gnuserv: installdirs
7902         @r=`${PWD_COMMAND}`; export r; \
7903         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7904         $(SET_LIB_PATH) \
7905         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
7906
7907
7908 # Other targets (info, dvi, etc.)
7909
7910 .PHONY: maybe-info-gnuserv info-gnuserv
7911 maybe-info-gnuserv:
7912
7913 info-gnuserv: \
7914     configure-gnuserv 
7915         @[ -f ./gnuserv/Makefile ] || exit 0; \
7916         r=`${PWD_COMMAND}`; export r; \
7917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918         $(SET_LIB_PATH) \
7919         for flag in $(EXTRA_HOST_FLAGS); do \
7920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7921         done; \
7922         echo "Doing info in gnuserv" ; \
7923         (cd gnuserv && \
7924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7926                   "RANLIB=$${RANLIB}" \
7927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7928                   info) \
7929           || exit 1
7930
7931
7932 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
7933 maybe-dvi-gnuserv:
7934
7935 dvi-gnuserv: \
7936     configure-gnuserv 
7937         @[ -f ./gnuserv/Makefile ] || exit 0; \
7938         r=`${PWD_COMMAND}`; export r; \
7939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940         $(SET_LIB_PATH) \
7941         for flag in $(EXTRA_HOST_FLAGS); do \
7942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943         done; \
7944         echo "Doing dvi in gnuserv" ; \
7945         (cd gnuserv && \
7946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948                   "RANLIB=$${RANLIB}" \
7949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7950                   dvi) \
7951           || exit 1
7952
7953
7954 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
7955 maybe-TAGS-gnuserv:
7956
7957 TAGS-gnuserv: \
7958     configure-gnuserv 
7959         @[ -f ./gnuserv/Makefile ] || exit 0; \
7960         r=`${PWD_COMMAND}`; export r; \
7961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7962         $(SET_LIB_PATH) \
7963         for flag in $(EXTRA_HOST_FLAGS); do \
7964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7965         done; \
7966         echo "Doing TAGS in gnuserv" ; \
7967         (cd gnuserv && \
7968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7970                   "RANLIB=$${RANLIB}" \
7971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7972                   TAGS) \
7973           || exit 1
7974
7975
7976 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
7977 maybe-install-info-gnuserv:
7978
7979 install-info-gnuserv: \
7980     configure-gnuserv \
7981     info-gnuserv 
7982         @[ -f ./gnuserv/Makefile ] || exit 0; \
7983         r=`${PWD_COMMAND}`; export r; \
7984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985         $(SET_LIB_PATH) \
7986         for flag in $(EXTRA_HOST_FLAGS); do \
7987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7988         done; \
7989         echo "Doing install-info in gnuserv" ; \
7990         (cd gnuserv && \
7991           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7992                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7993                   "RANLIB=$${RANLIB}" \
7994                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7995                   install-info) \
7996           || exit 1
7997
7998
7999 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8000 maybe-installcheck-gnuserv:
8001
8002 installcheck-gnuserv: \
8003     configure-gnuserv 
8004         @[ -f ./gnuserv/Makefile ] || exit 0; \
8005         r=`${PWD_COMMAND}`; export r; \
8006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8007         $(SET_LIB_PATH) \
8008         for flag in $(EXTRA_HOST_FLAGS); do \
8009           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8010         done; \
8011         echo "Doing installcheck in gnuserv" ; \
8012         (cd gnuserv && \
8013           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8014                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8015                   "RANLIB=$${RANLIB}" \
8016                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8017                   installcheck) \
8018           || exit 1
8019
8020
8021 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
8022 maybe-mostlyclean-gnuserv:
8023
8024 mostlyclean-gnuserv: 
8025         @[ -f ./gnuserv/Makefile ] || exit 0; \
8026         r=`${PWD_COMMAND}`; export r; \
8027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028         $(SET_LIB_PATH) \
8029         for flag in $(EXTRA_HOST_FLAGS); do \
8030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031         done; \
8032         echo "Doing mostlyclean in gnuserv" ; \
8033         (cd gnuserv && \
8034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036                   "RANLIB=$${RANLIB}" \
8037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8038                   mostlyclean) \
8039           || exit 1
8040
8041
8042 .PHONY: maybe-clean-gnuserv clean-gnuserv
8043 maybe-clean-gnuserv:
8044
8045 clean-gnuserv: 
8046         @[ -f ./gnuserv/Makefile ] || exit 0; \
8047         r=`${PWD_COMMAND}`; export r; \
8048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049         $(SET_LIB_PATH) \
8050         for flag in $(EXTRA_HOST_FLAGS); do \
8051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052         done; \
8053         echo "Doing clean in gnuserv" ; \
8054         (cd gnuserv && \
8055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057                   "RANLIB=$${RANLIB}" \
8058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8059                   clean) \
8060           || exit 1
8061
8062
8063 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
8064 maybe-distclean-gnuserv:
8065
8066 distclean-gnuserv: 
8067         @[ -f ./gnuserv/Makefile ] || exit 0; \
8068         r=`${PWD_COMMAND}`; export r; \
8069         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8070         $(SET_LIB_PATH) \
8071         for flag in $(EXTRA_HOST_FLAGS); do \
8072           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8073         done; \
8074         echo "Doing distclean in gnuserv" ; \
8075         (cd gnuserv && \
8076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8078                   "RANLIB=$${RANLIB}" \
8079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8080                   distclean) \
8081           || exit 1
8082
8083
8084 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
8085 maybe-maintainer-clean-gnuserv:
8086
8087 maintainer-clean-gnuserv: 
8088         @[ -f ./gnuserv/Makefile ] || exit 0; \
8089         r=`${PWD_COMMAND}`; export r; \
8090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091         $(SET_LIB_PATH) \
8092         for flag in $(EXTRA_HOST_FLAGS); do \
8093           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094         done; \
8095         echo "Doing maintainer-clean in gnuserv" ; \
8096         (cd gnuserv && \
8097           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099                   "RANLIB=$${RANLIB}" \
8100                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8101                   maintainer-clean) \
8102           || exit 1
8103
8104
8105
8106 .PHONY: configure-gprof maybe-configure-gprof
8107 maybe-configure-gprof:
8108 configure-gprof:
8109         @test ! -f gprof/Makefile || exit 0; \
8110         [ -d gprof ] || mkdir gprof; \
8111         r=`${PWD_COMMAND}`; export r; \
8112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8113         CC="$(CC)"; export CC; \
8114         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8115         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8116         CXX="$(CXX)"; export CXX; \
8117         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8118         AR="$(AR)"; export AR; \
8119         AS="$(AS)"; export AS; \
8120         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8121         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8122         LD="$(LD)"; export LD; \
8123         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8124         NM="$(NM)"; export NM; \
8125         RANLIB="$(RANLIB)"; export RANLIB; \
8126         WINDRES="$(WINDRES)"; export WINDRES; \
8127         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8128         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8129         echo Configuring in gprof; \
8130         cd gprof || exit 1; \
8131         case $(srcdir) in \
8132           \.) \
8133             srcdiroption="--srcdir=."; \
8134             libsrcdir=".";; \
8135           /* | [A-Za-z]:[\\/]*) \
8136             srcdiroption="--srcdir=$(srcdir)/gprof"; \
8137             libsrcdir="$$s/gprof";; \
8138           *) \
8139             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
8140             libsrcdir="$$s/gprof";; \
8141         esac; \
8142         $(SHELL) $${libsrcdir}/configure \
8143           $(HOST_CONFIGARGS) $${srcdiroption} \
8144           || exit 1
8145
8146 .PHONY: all-gprof maybe-all-gprof
8147 maybe-all-gprof:
8148 all-gprof: configure-gprof
8149         @r=`${PWD_COMMAND}`; export r; \
8150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151         $(SET_LIB_PATH) \
8152         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
8153
8154 .PHONY: check-gprof maybe-check-gprof
8155 maybe-check-gprof:
8156
8157 check-gprof:
8158         @r=`${PWD_COMMAND}`; export r; \
8159         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160         $(SET_LIB_PATH) \
8161         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
8162
8163
8164 .PHONY: install-gprof maybe-install-gprof
8165 maybe-install-gprof:
8166
8167 install-gprof: installdirs
8168         @r=`${PWD_COMMAND}`; export r; \
8169         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170         $(SET_LIB_PATH) \
8171         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
8172
8173
8174 # Other targets (info, dvi, etc.)
8175
8176 .PHONY: maybe-info-gprof info-gprof
8177 maybe-info-gprof:
8178
8179 info-gprof: \
8180     configure-gprof 
8181         @[ -f ./gprof/Makefile ] || exit 0; \
8182         r=`${PWD_COMMAND}`; export r; \
8183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184         $(SET_LIB_PATH) \
8185         for flag in $(EXTRA_HOST_FLAGS); do \
8186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187         done; \
8188         echo "Doing info in gprof" ; \
8189         (cd gprof && \
8190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192                   "RANLIB=$${RANLIB}" \
8193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194                   info) \
8195           || exit 1
8196
8197
8198 .PHONY: maybe-dvi-gprof dvi-gprof
8199 maybe-dvi-gprof:
8200
8201 dvi-gprof: \
8202     configure-gprof 
8203         @[ -f ./gprof/Makefile ] || exit 0; \
8204         r=`${PWD_COMMAND}`; export r; \
8205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8206         $(SET_LIB_PATH) \
8207         for flag in $(EXTRA_HOST_FLAGS); do \
8208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8209         done; \
8210         echo "Doing dvi in gprof" ; \
8211         (cd gprof && \
8212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8214                   "RANLIB=$${RANLIB}" \
8215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8216                   dvi) \
8217           || exit 1
8218
8219
8220 .PHONY: maybe-TAGS-gprof TAGS-gprof
8221 maybe-TAGS-gprof:
8222
8223 TAGS-gprof: \
8224     configure-gprof 
8225         @[ -f ./gprof/Makefile ] || exit 0; \
8226         r=`${PWD_COMMAND}`; export r; \
8227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228         $(SET_LIB_PATH) \
8229         for flag in $(EXTRA_HOST_FLAGS); do \
8230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231         done; \
8232         echo "Doing TAGS in gprof" ; \
8233         (cd gprof && \
8234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236                   "RANLIB=$${RANLIB}" \
8237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8238                   TAGS) \
8239           || exit 1
8240
8241
8242 .PHONY: maybe-install-info-gprof install-info-gprof
8243 maybe-install-info-gprof:
8244
8245 install-info-gprof: \
8246     configure-gprof \
8247     info-gprof 
8248         @[ -f ./gprof/Makefile ] || exit 0; \
8249         r=`${PWD_COMMAND}`; export r; \
8250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8251         $(SET_LIB_PATH) \
8252         for flag in $(EXTRA_HOST_FLAGS); do \
8253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8254         done; \
8255         echo "Doing install-info in gprof" ; \
8256         (cd gprof && \
8257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8259                   "RANLIB=$${RANLIB}" \
8260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8261                   install-info) \
8262           || exit 1
8263
8264
8265 .PHONY: maybe-installcheck-gprof installcheck-gprof
8266 maybe-installcheck-gprof:
8267
8268 installcheck-gprof: \
8269     configure-gprof 
8270         @[ -f ./gprof/Makefile ] || exit 0; \
8271         r=`${PWD_COMMAND}`; export r; \
8272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273         $(SET_LIB_PATH) \
8274         for flag in $(EXTRA_HOST_FLAGS); do \
8275           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8276         done; \
8277         echo "Doing installcheck in gprof" ; \
8278         (cd gprof && \
8279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8281                   "RANLIB=$${RANLIB}" \
8282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8283                   installcheck) \
8284           || exit 1
8285
8286
8287 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
8288 maybe-mostlyclean-gprof:
8289
8290 mostlyclean-gprof: 
8291         @[ -f ./gprof/Makefile ] || exit 0; \
8292         r=`${PWD_COMMAND}`; export r; \
8293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294         $(SET_LIB_PATH) \
8295         for flag in $(EXTRA_HOST_FLAGS); do \
8296           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8297         done; \
8298         echo "Doing mostlyclean in gprof" ; \
8299         (cd gprof && \
8300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8302                   "RANLIB=$${RANLIB}" \
8303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8304                   mostlyclean) \
8305           || exit 1
8306
8307
8308 .PHONY: maybe-clean-gprof clean-gprof
8309 maybe-clean-gprof:
8310
8311 clean-gprof: 
8312         @[ -f ./gprof/Makefile ] || exit 0; \
8313         r=`${PWD_COMMAND}`; export r; \
8314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315         $(SET_LIB_PATH) \
8316         for flag in $(EXTRA_HOST_FLAGS); do \
8317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8318         done; \
8319         echo "Doing clean in gprof" ; \
8320         (cd gprof && \
8321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323                   "RANLIB=$${RANLIB}" \
8324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8325                   clean) \
8326           || exit 1
8327
8328
8329 .PHONY: maybe-distclean-gprof distclean-gprof
8330 maybe-distclean-gprof:
8331
8332 distclean-gprof: 
8333         @[ -f ./gprof/Makefile ] || exit 0; \
8334         r=`${PWD_COMMAND}`; export r; \
8335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8336         $(SET_LIB_PATH) \
8337         for flag in $(EXTRA_HOST_FLAGS); do \
8338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8339         done; \
8340         echo "Doing distclean in gprof" ; \
8341         (cd gprof && \
8342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344                   "RANLIB=$${RANLIB}" \
8345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8346                   distclean) \
8347           || exit 1
8348
8349
8350 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
8351 maybe-maintainer-clean-gprof:
8352
8353 maintainer-clean-gprof: 
8354         @[ -f ./gprof/Makefile ] || exit 0; \
8355         r=`${PWD_COMMAND}`; export r; \
8356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357         $(SET_LIB_PATH) \
8358         for flag in $(EXTRA_HOST_FLAGS); do \
8359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8360         done; \
8361         echo "Doing maintainer-clean in gprof" ; \
8362         (cd gprof && \
8363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365                   "RANLIB=$${RANLIB}" \
8366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8367                   maintainer-clean) \
8368           || exit 1
8369
8370
8371
8372 .PHONY: configure-gzip maybe-configure-gzip
8373 maybe-configure-gzip:
8374 configure-gzip:
8375         @test ! -f gzip/Makefile || exit 0; \
8376         [ -d gzip ] || mkdir gzip; \
8377         r=`${PWD_COMMAND}`; export r; \
8378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379         CC="$(CC)"; export CC; \
8380         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8381         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8382         CXX="$(CXX)"; export CXX; \
8383         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8384         AR="$(AR)"; export AR; \
8385         AS="$(AS)"; export AS; \
8386         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8387         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8388         LD="$(LD)"; export LD; \
8389         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8390         NM="$(NM)"; export NM; \
8391         RANLIB="$(RANLIB)"; export RANLIB; \
8392         WINDRES="$(WINDRES)"; export WINDRES; \
8393         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8394         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8395         echo Configuring in gzip; \
8396         cd gzip || exit 1; \
8397         case $(srcdir) in \
8398           \.) \
8399             srcdiroption="--srcdir=."; \
8400             libsrcdir=".";; \
8401           /* | [A-Za-z]:[\\/]*) \
8402             srcdiroption="--srcdir=$(srcdir)/gzip"; \
8403             libsrcdir="$$s/gzip";; \
8404           *) \
8405             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
8406             libsrcdir="$$s/gzip";; \
8407         esac; \
8408         $(SHELL) $${libsrcdir}/configure \
8409           $(HOST_CONFIGARGS) $${srcdiroption} \
8410           || exit 1
8411
8412 .PHONY: all-gzip maybe-all-gzip
8413 maybe-all-gzip:
8414 all-gzip: configure-gzip
8415         @r=`${PWD_COMMAND}`; export r; \
8416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417         $(SET_LIB_PATH) \
8418         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
8419
8420 .PHONY: check-gzip maybe-check-gzip
8421 maybe-check-gzip:
8422
8423 check-gzip:
8424         @r=`${PWD_COMMAND}`; export r; \
8425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8426         $(SET_LIB_PATH) \
8427         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
8428
8429
8430 .PHONY: install-gzip maybe-install-gzip
8431 maybe-install-gzip:
8432
8433 install-gzip: installdirs
8434         @r=`${PWD_COMMAND}`; export r; \
8435         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8436         $(SET_LIB_PATH) \
8437         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
8438
8439
8440 # Other targets (info, dvi, etc.)
8441
8442 .PHONY: maybe-info-gzip info-gzip
8443 maybe-info-gzip:
8444
8445 info-gzip: \
8446     configure-gzip 
8447         @[ -f ./gzip/Makefile ] || exit 0; \
8448         r=`${PWD_COMMAND}`; export r; \
8449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450         $(SET_LIB_PATH) \
8451         for flag in $(EXTRA_HOST_FLAGS); do \
8452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453         done; \
8454         echo "Doing info in gzip" ; \
8455         (cd gzip && \
8456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458                   "RANLIB=$${RANLIB}" \
8459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8460                   info) \
8461           || exit 1
8462
8463
8464 .PHONY: maybe-dvi-gzip dvi-gzip
8465 maybe-dvi-gzip:
8466
8467 dvi-gzip: \
8468     configure-gzip 
8469         @[ -f ./gzip/Makefile ] || exit 0; \
8470         r=`${PWD_COMMAND}`; export r; \
8471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8472         $(SET_LIB_PATH) \
8473         for flag in $(EXTRA_HOST_FLAGS); do \
8474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8475         done; \
8476         echo "Doing dvi in gzip" ; \
8477         (cd gzip && \
8478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8480                   "RANLIB=$${RANLIB}" \
8481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8482                   dvi) \
8483           || exit 1
8484
8485
8486 .PHONY: maybe-TAGS-gzip TAGS-gzip
8487 maybe-TAGS-gzip:
8488
8489 TAGS-gzip: \
8490     configure-gzip 
8491         @[ -f ./gzip/Makefile ] || exit 0; \
8492         r=`${PWD_COMMAND}`; export r; \
8493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8494         $(SET_LIB_PATH) \
8495         for flag in $(EXTRA_HOST_FLAGS); do \
8496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8497         done; \
8498         echo "Doing TAGS in gzip" ; \
8499         (cd gzip && \
8500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502                   "RANLIB=$${RANLIB}" \
8503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8504                   TAGS) \
8505           || exit 1
8506
8507
8508 .PHONY: maybe-install-info-gzip install-info-gzip
8509 maybe-install-info-gzip:
8510
8511 install-info-gzip: \
8512     configure-gzip \
8513     info-gzip 
8514         @[ -f ./gzip/Makefile ] || exit 0; \
8515         r=`${PWD_COMMAND}`; export r; \
8516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8517         $(SET_LIB_PATH) \
8518         for flag in $(EXTRA_HOST_FLAGS); do \
8519           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8520         done; \
8521         echo "Doing install-info in gzip" ; \
8522         (cd gzip && \
8523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8525                   "RANLIB=$${RANLIB}" \
8526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8527                   install-info) \
8528           || exit 1
8529
8530
8531 .PHONY: maybe-installcheck-gzip installcheck-gzip
8532 maybe-installcheck-gzip:
8533
8534 installcheck-gzip: \
8535     configure-gzip 
8536         @[ -f ./gzip/Makefile ] || exit 0; \
8537         r=`${PWD_COMMAND}`; export r; \
8538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8539         $(SET_LIB_PATH) \
8540         for flag in $(EXTRA_HOST_FLAGS); do \
8541           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8542         done; \
8543         echo "Doing installcheck in gzip" ; \
8544         (cd gzip && \
8545           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8546                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8547                   "RANLIB=$${RANLIB}" \
8548                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8549                   installcheck) \
8550           || exit 1
8551
8552
8553 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
8554 maybe-mostlyclean-gzip:
8555
8556 mostlyclean-gzip: 
8557         @[ -f ./gzip/Makefile ] || exit 0; \
8558         r=`${PWD_COMMAND}`; export r; \
8559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560         $(SET_LIB_PATH) \
8561         for flag in $(EXTRA_HOST_FLAGS); do \
8562           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8563         done; \
8564         echo "Doing mostlyclean in gzip" ; \
8565         (cd gzip && \
8566           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8567                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8568                   "RANLIB=$${RANLIB}" \
8569                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8570                   mostlyclean) \
8571           || exit 1
8572
8573
8574 .PHONY: maybe-clean-gzip clean-gzip
8575 maybe-clean-gzip:
8576
8577 clean-gzip: 
8578         @[ -f ./gzip/Makefile ] || exit 0; \
8579         r=`${PWD_COMMAND}`; export r; \
8580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8581         $(SET_LIB_PATH) \
8582         for flag in $(EXTRA_HOST_FLAGS); do \
8583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8584         done; \
8585         echo "Doing clean in gzip" ; \
8586         (cd gzip && \
8587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589                   "RANLIB=$${RANLIB}" \
8590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8591                   clean) \
8592           || exit 1
8593
8594
8595 .PHONY: maybe-distclean-gzip distclean-gzip
8596 maybe-distclean-gzip:
8597
8598 distclean-gzip: 
8599         @[ -f ./gzip/Makefile ] || exit 0; \
8600         r=`${PWD_COMMAND}`; export r; \
8601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602         $(SET_LIB_PATH) \
8603         for flag in $(EXTRA_HOST_FLAGS); do \
8604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605         done; \
8606         echo "Doing distclean in gzip" ; \
8607         (cd gzip && \
8608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610                   "RANLIB=$${RANLIB}" \
8611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8612                   distclean) \
8613           || exit 1
8614
8615
8616 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
8617 maybe-maintainer-clean-gzip:
8618
8619 maintainer-clean-gzip: 
8620         @[ -f ./gzip/Makefile ] || exit 0; \
8621         r=`${PWD_COMMAND}`; export r; \
8622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8623         $(SET_LIB_PATH) \
8624         for flag in $(EXTRA_HOST_FLAGS); do \
8625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8626         done; \
8627         echo "Doing maintainer-clean in gzip" ; \
8628         (cd gzip && \
8629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8631                   "RANLIB=$${RANLIB}" \
8632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8633                   maintainer-clean) \
8634           || exit 1
8635
8636
8637
8638 .PHONY: configure-hello maybe-configure-hello
8639 maybe-configure-hello:
8640 configure-hello:
8641         @test ! -f hello/Makefile || exit 0; \
8642         [ -d hello ] || mkdir hello; \
8643         r=`${PWD_COMMAND}`; export r; \
8644         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8645         CC="$(CC)"; export CC; \
8646         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8647         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8648         CXX="$(CXX)"; export CXX; \
8649         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8650         AR="$(AR)"; export AR; \
8651         AS="$(AS)"; export AS; \
8652         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8653         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8654         LD="$(LD)"; export LD; \
8655         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8656         NM="$(NM)"; export NM; \
8657         RANLIB="$(RANLIB)"; export RANLIB; \
8658         WINDRES="$(WINDRES)"; export WINDRES; \
8659         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8660         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8661         echo Configuring in hello; \
8662         cd hello || exit 1; \
8663         case $(srcdir) in \
8664           \.) \
8665             srcdiroption="--srcdir=."; \
8666             libsrcdir=".";; \
8667           /* | [A-Za-z]:[\\/]*) \
8668             srcdiroption="--srcdir=$(srcdir)/hello"; \
8669             libsrcdir="$$s/hello";; \
8670           *) \
8671             srcdiroption="--srcdir=../$(srcdir)/hello"; \
8672             libsrcdir="$$s/hello";; \
8673         esac; \
8674         $(SHELL) $${libsrcdir}/configure \
8675           $(HOST_CONFIGARGS) $${srcdiroption} \
8676           || exit 1
8677
8678 .PHONY: all-hello maybe-all-hello
8679 maybe-all-hello:
8680 all-hello: configure-hello
8681         @r=`${PWD_COMMAND}`; export r; \
8682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8683         $(SET_LIB_PATH) \
8684         (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
8685
8686 .PHONY: check-hello maybe-check-hello
8687 maybe-check-hello:
8688
8689 check-hello:
8690         @r=`${PWD_COMMAND}`; export r; \
8691         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8692         $(SET_LIB_PATH) \
8693         (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
8694
8695
8696 .PHONY: install-hello maybe-install-hello
8697 maybe-install-hello:
8698
8699 install-hello: installdirs
8700         @r=`${PWD_COMMAND}`; export r; \
8701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702         $(SET_LIB_PATH) \
8703         (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
8704
8705
8706 # Other targets (info, dvi, etc.)
8707
8708 .PHONY: maybe-info-hello info-hello
8709 maybe-info-hello:
8710
8711 info-hello: \
8712     configure-hello 
8713         @[ -f ./hello/Makefile ] || exit 0; \
8714         r=`${PWD_COMMAND}`; export r; \
8715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8716         $(SET_LIB_PATH) \
8717         for flag in $(EXTRA_HOST_FLAGS); do \
8718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8719         done; \
8720         echo "Doing info in hello" ; \
8721         (cd hello && \
8722           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8723                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8724                   "RANLIB=$${RANLIB}" \
8725                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8726                   info) \
8727           || exit 1
8728
8729
8730 .PHONY: maybe-dvi-hello dvi-hello
8731 maybe-dvi-hello:
8732
8733 dvi-hello: \
8734     configure-hello 
8735         @[ -f ./hello/Makefile ] || exit 0; \
8736         r=`${PWD_COMMAND}`; export r; \
8737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738         $(SET_LIB_PATH) \
8739         for flag in $(EXTRA_HOST_FLAGS); do \
8740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8741         done; \
8742         echo "Doing dvi in hello" ; \
8743         (cd hello && \
8744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8746                   "RANLIB=$${RANLIB}" \
8747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8748                   dvi) \
8749           || exit 1
8750
8751
8752 .PHONY: maybe-TAGS-hello TAGS-hello
8753 maybe-TAGS-hello:
8754
8755 TAGS-hello: \
8756     configure-hello 
8757         @[ -f ./hello/Makefile ] || exit 0; \
8758         r=`${PWD_COMMAND}`; export r; \
8759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8760         $(SET_LIB_PATH) \
8761         for flag in $(EXTRA_HOST_FLAGS); do \
8762           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8763         done; \
8764         echo "Doing TAGS in hello" ; \
8765         (cd hello && \
8766           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8767                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8768                   "RANLIB=$${RANLIB}" \
8769                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8770                   TAGS) \
8771           || exit 1
8772
8773
8774 .PHONY: maybe-install-info-hello install-info-hello
8775 maybe-install-info-hello:
8776
8777 install-info-hello: \
8778     configure-hello \
8779     info-hello 
8780         @[ -f ./hello/Makefile ] || exit 0; \
8781         r=`${PWD_COMMAND}`; export r; \
8782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783         $(SET_LIB_PATH) \
8784         for flag in $(EXTRA_HOST_FLAGS); do \
8785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786         done; \
8787         echo "Doing install-info in hello" ; \
8788         (cd hello && \
8789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791                   "RANLIB=$${RANLIB}" \
8792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793                   install-info) \
8794           || exit 1
8795
8796
8797 .PHONY: maybe-installcheck-hello installcheck-hello
8798 maybe-installcheck-hello:
8799
8800 installcheck-hello: \
8801     configure-hello 
8802         @[ -f ./hello/Makefile ] || exit 0; \
8803         r=`${PWD_COMMAND}`; export r; \
8804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805         $(SET_LIB_PATH) \
8806         for flag in $(EXTRA_HOST_FLAGS); do \
8807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8808         done; \
8809         echo "Doing installcheck in hello" ; \
8810         (cd hello && \
8811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813                   "RANLIB=$${RANLIB}" \
8814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8815                   installcheck) \
8816           || exit 1
8817
8818
8819 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
8820 maybe-mostlyclean-hello:
8821
8822 mostlyclean-hello: 
8823         @[ -f ./hello/Makefile ] || exit 0; \
8824         r=`${PWD_COMMAND}`; export r; \
8825         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8826         $(SET_LIB_PATH) \
8827         for flag in $(EXTRA_HOST_FLAGS); do \
8828           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8829         done; \
8830         echo "Doing mostlyclean in hello" ; \
8831         (cd hello && \
8832           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8833                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8834                   "RANLIB=$${RANLIB}" \
8835                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8836                   mostlyclean) \
8837           || exit 1
8838
8839
8840 .PHONY: maybe-clean-hello clean-hello
8841 maybe-clean-hello:
8842
8843 clean-hello: 
8844         @[ -f ./hello/Makefile ] || exit 0; \
8845         r=`${PWD_COMMAND}`; export r; \
8846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8847         $(SET_LIB_PATH) \
8848         for flag in $(EXTRA_HOST_FLAGS); do \
8849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8850         done; \
8851         echo "Doing clean in hello" ; \
8852         (cd hello && \
8853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855                   "RANLIB=$${RANLIB}" \
8856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8857                   clean) \
8858           || exit 1
8859
8860
8861 .PHONY: maybe-distclean-hello distclean-hello
8862 maybe-distclean-hello:
8863
8864 distclean-hello: 
8865         @[ -f ./hello/Makefile ] || exit 0; \
8866         r=`${PWD_COMMAND}`; export r; \
8867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8868         $(SET_LIB_PATH) \
8869         for flag in $(EXTRA_HOST_FLAGS); do \
8870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8871         done; \
8872         echo "Doing distclean in hello" ; \
8873         (cd hello && \
8874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8876                   "RANLIB=$${RANLIB}" \
8877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8878                   distclean) \
8879           || exit 1
8880
8881
8882 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
8883 maybe-maintainer-clean-hello:
8884
8885 maintainer-clean-hello: 
8886         @[ -f ./hello/Makefile ] || exit 0; \
8887         r=`${PWD_COMMAND}`; export r; \
8888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889         $(SET_LIB_PATH) \
8890         for flag in $(EXTRA_HOST_FLAGS); do \
8891           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8892         done; \
8893         echo "Doing maintainer-clean in hello" ; \
8894         (cd hello && \
8895           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8896                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8897                   "RANLIB=$${RANLIB}" \
8898                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8899                   maintainer-clean) \
8900           || exit 1
8901
8902
8903
8904 .PHONY: configure-indent maybe-configure-indent
8905 maybe-configure-indent:
8906 configure-indent:
8907         @test ! -f indent/Makefile || exit 0; \
8908         [ -d indent ] || mkdir indent; \
8909         r=`${PWD_COMMAND}`; export r; \
8910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8911         CC="$(CC)"; export CC; \
8912         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8913         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8914         CXX="$(CXX)"; export CXX; \
8915         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8916         AR="$(AR)"; export AR; \
8917         AS="$(AS)"; export AS; \
8918         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8919         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8920         LD="$(LD)"; export LD; \
8921         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8922         NM="$(NM)"; export NM; \
8923         RANLIB="$(RANLIB)"; export RANLIB; \
8924         WINDRES="$(WINDRES)"; export WINDRES; \
8925         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8926         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8927         echo Configuring in indent; \
8928         cd indent || exit 1; \
8929         case $(srcdir) in \
8930           \.) \
8931             srcdiroption="--srcdir=."; \
8932             libsrcdir=".";; \
8933           /* | [A-Za-z]:[\\/]*) \
8934             srcdiroption="--srcdir=$(srcdir)/indent"; \
8935             libsrcdir="$$s/indent";; \
8936           *) \
8937             srcdiroption="--srcdir=../$(srcdir)/indent"; \
8938             libsrcdir="$$s/indent";; \
8939         esac; \
8940         $(SHELL) $${libsrcdir}/configure \
8941           $(HOST_CONFIGARGS) $${srcdiroption} \
8942           || exit 1
8943
8944 .PHONY: all-indent maybe-all-indent
8945 maybe-all-indent:
8946 all-indent: configure-indent
8947         @r=`${PWD_COMMAND}`; export r; \
8948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8949         $(SET_LIB_PATH) \
8950         (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
8951
8952 .PHONY: check-indent maybe-check-indent
8953 maybe-check-indent:
8954
8955 check-indent:
8956         @r=`${PWD_COMMAND}`; export r; \
8957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8958         $(SET_LIB_PATH) \
8959         (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
8960
8961
8962 .PHONY: install-indent maybe-install-indent
8963 maybe-install-indent:
8964
8965 install-indent: installdirs
8966         @r=`${PWD_COMMAND}`; export r; \
8967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8968         $(SET_LIB_PATH) \
8969         (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
8970
8971
8972 # Other targets (info, dvi, etc.)
8973
8974 .PHONY: maybe-info-indent info-indent
8975 maybe-info-indent:
8976
8977 info-indent: \
8978     configure-indent 
8979         @[ -f ./indent/Makefile ] || exit 0; \
8980         r=`${PWD_COMMAND}`; export r; \
8981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982         $(SET_LIB_PATH) \
8983         for flag in $(EXTRA_HOST_FLAGS); do \
8984           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985         done; \
8986         echo "Doing info in indent" ; \
8987         (cd indent && \
8988           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990                   "RANLIB=$${RANLIB}" \
8991                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8992                   info) \
8993           || exit 1
8994
8995
8996 .PHONY: maybe-dvi-indent dvi-indent
8997 maybe-dvi-indent:
8998
8999 dvi-indent: \
9000     configure-indent 
9001         @[ -f ./indent/Makefile ] || exit 0; \
9002         r=`${PWD_COMMAND}`; export r; \
9003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004         $(SET_LIB_PATH) \
9005         for flag in $(EXTRA_HOST_FLAGS); do \
9006           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007         done; \
9008         echo "Doing dvi in indent" ; \
9009         (cd indent && \
9010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012                   "RANLIB=$${RANLIB}" \
9013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9014                   dvi) \
9015           || exit 1
9016
9017
9018 .PHONY: maybe-TAGS-indent TAGS-indent
9019 maybe-TAGS-indent:
9020
9021 TAGS-indent: \
9022     configure-indent 
9023         @[ -f ./indent/Makefile ] || exit 0; \
9024         r=`${PWD_COMMAND}`; export r; \
9025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026         $(SET_LIB_PATH) \
9027         for flag in $(EXTRA_HOST_FLAGS); do \
9028           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9029         done; \
9030         echo "Doing TAGS in indent" ; \
9031         (cd indent && \
9032           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9033                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9034                   "RANLIB=$${RANLIB}" \
9035                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9036                   TAGS) \
9037           || exit 1
9038
9039
9040 .PHONY: maybe-install-info-indent install-info-indent
9041 maybe-install-info-indent:
9042
9043 install-info-indent: \
9044     configure-indent \
9045     info-indent 
9046         @[ -f ./indent/Makefile ] || exit 0; \
9047         r=`${PWD_COMMAND}`; export r; \
9048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9049         $(SET_LIB_PATH) \
9050         for flag in $(EXTRA_HOST_FLAGS); do \
9051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9052         done; \
9053         echo "Doing install-info in indent" ; \
9054         (cd indent && \
9055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9057                   "RANLIB=$${RANLIB}" \
9058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9059                   install-info) \
9060           || exit 1
9061
9062
9063 .PHONY: maybe-installcheck-indent installcheck-indent
9064 maybe-installcheck-indent:
9065
9066 installcheck-indent: \
9067     configure-indent 
9068         @[ -f ./indent/Makefile ] || exit 0; \
9069         r=`${PWD_COMMAND}`; export r; \
9070         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9071         $(SET_LIB_PATH) \
9072         for flag in $(EXTRA_HOST_FLAGS); do \
9073           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9074         done; \
9075         echo "Doing installcheck in indent" ; \
9076         (cd indent && \
9077           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9078                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9079                   "RANLIB=$${RANLIB}" \
9080                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9081                   installcheck) \
9082           || exit 1
9083
9084
9085 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
9086 maybe-mostlyclean-indent:
9087
9088 mostlyclean-indent: 
9089         @[ -f ./indent/Makefile ] || exit 0; \
9090         r=`${PWD_COMMAND}`; export r; \
9091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092         $(SET_LIB_PATH) \
9093         for flag in $(EXTRA_HOST_FLAGS); do \
9094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9095         done; \
9096         echo "Doing mostlyclean in indent" ; \
9097         (cd indent && \
9098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100                   "RANLIB=$${RANLIB}" \
9101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9102                   mostlyclean) \
9103           || exit 1
9104
9105
9106 .PHONY: maybe-clean-indent clean-indent
9107 maybe-clean-indent:
9108
9109 clean-indent: 
9110         @[ -f ./indent/Makefile ] || exit 0; \
9111         r=`${PWD_COMMAND}`; export r; \
9112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9113         $(SET_LIB_PATH) \
9114         for flag in $(EXTRA_HOST_FLAGS); do \
9115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9116         done; \
9117         echo "Doing clean in indent" ; \
9118         (cd indent && \
9119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9121                   "RANLIB=$${RANLIB}" \
9122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9123                   clean) \
9124           || exit 1
9125
9126
9127 .PHONY: maybe-distclean-indent distclean-indent
9128 maybe-distclean-indent:
9129
9130 distclean-indent: 
9131         @[ -f ./indent/Makefile ] || exit 0; \
9132         r=`${PWD_COMMAND}`; export r; \
9133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134         $(SET_LIB_PATH) \
9135         for flag in $(EXTRA_HOST_FLAGS); do \
9136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9137         done; \
9138         echo "Doing distclean in indent" ; \
9139         (cd indent && \
9140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142                   "RANLIB=$${RANLIB}" \
9143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9144                   distclean) \
9145           || exit 1
9146
9147
9148 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
9149 maybe-maintainer-clean-indent:
9150
9151 maintainer-clean-indent: 
9152         @[ -f ./indent/Makefile ] || exit 0; \
9153         r=`${PWD_COMMAND}`; export r; \
9154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155         $(SET_LIB_PATH) \
9156         for flag in $(EXTRA_HOST_FLAGS); do \
9157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9158         done; \
9159         echo "Doing maintainer-clean in indent" ; \
9160         (cd indent && \
9161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9163                   "RANLIB=$${RANLIB}" \
9164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9165                   maintainer-clean) \
9166           || exit 1
9167
9168
9169
9170 .PHONY: configure-intl maybe-configure-intl
9171 maybe-configure-intl:
9172 configure-intl:
9173         @test ! -f intl/Makefile || exit 0; \
9174         [ -d intl ] || mkdir intl; \
9175         r=`${PWD_COMMAND}`; export r; \
9176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177         CC="$(CC)"; export CC; \
9178         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9179         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9180         CXX="$(CXX)"; export CXX; \
9181         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9182         AR="$(AR)"; export AR; \
9183         AS="$(AS)"; export AS; \
9184         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9185         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9186         LD="$(LD)"; export LD; \
9187         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9188         NM="$(NM)"; export NM; \
9189         RANLIB="$(RANLIB)"; export RANLIB; \
9190         WINDRES="$(WINDRES)"; export WINDRES; \
9191         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9192         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9193         echo Configuring in intl; \
9194         cd intl || exit 1; \
9195         case $(srcdir) in \
9196           \.) \
9197             srcdiroption="--srcdir=."; \
9198             libsrcdir=".";; \
9199           /* | [A-Za-z]:[\\/]*) \
9200             srcdiroption="--srcdir=$(srcdir)/intl"; \
9201             libsrcdir="$$s/intl";; \
9202           *) \
9203             srcdiroption="--srcdir=../$(srcdir)/intl"; \
9204             libsrcdir="$$s/intl";; \
9205         esac; \
9206         $(SHELL) $${libsrcdir}/configure \
9207           $(HOST_CONFIGARGS) $${srcdiroption} \
9208           || exit 1
9209
9210 .PHONY: all-intl maybe-all-intl
9211 maybe-all-intl:
9212 all-intl: configure-intl
9213         @r=`${PWD_COMMAND}`; export r; \
9214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9215         $(SET_LIB_PATH) \
9216         (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
9217
9218 .PHONY: check-intl maybe-check-intl
9219 maybe-check-intl:
9220
9221 check-intl:
9222         @r=`${PWD_COMMAND}`; export r; \
9223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224         $(SET_LIB_PATH) \
9225         (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
9226
9227
9228 .PHONY: install-intl maybe-install-intl
9229 maybe-install-intl:
9230
9231 install-intl: installdirs
9232         @r=`${PWD_COMMAND}`; export r; \
9233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9234         $(SET_LIB_PATH) \
9235         (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
9236
9237
9238 # Other targets (info, dvi, etc.)
9239
9240 .PHONY: maybe-info-intl info-intl
9241 maybe-info-intl:
9242
9243 info-intl: \
9244     configure-intl 
9245         @[ -f ./intl/Makefile ] || exit 0; \
9246         r=`${PWD_COMMAND}`; export r; \
9247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248         $(SET_LIB_PATH) \
9249         for flag in $(EXTRA_HOST_FLAGS); do \
9250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9251         done; \
9252         echo "Doing info in intl" ; \
9253         (cd intl && \
9254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256                   "RANLIB=$${RANLIB}" \
9257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9258                   info) \
9259           || exit 1
9260
9261
9262 .PHONY: maybe-dvi-intl dvi-intl
9263 maybe-dvi-intl:
9264
9265 dvi-intl: \
9266     configure-intl 
9267         @[ -f ./intl/Makefile ] || exit 0; \
9268         r=`${PWD_COMMAND}`; export r; \
9269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9270         $(SET_LIB_PATH) \
9271         for flag in $(EXTRA_HOST_FLAGS); do \
9272           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9273         done; \
9274         echo "Doing dvi in intl" ; \
9275         (cd intl && \
9276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9278                   "RANLIB=$${RANLIB}" \
9279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9280                   dvi) \
9281           || exit 1
9282
9283
9284 .PHONY: maybe-TAGS-intl TAGS-intl
9285 maybe-TAGS-intl:
9286
9287 TAGS-intl: \
9288     configure-intl 
9289         @[ -f ./intl/Makefile ] || exit 0; \
9290         r=`${PWD_COMMAND}`; export r; \
9291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292         $(SET_LIB_PATH) \
9293         for flag in $(EXTRA_HOST_FLAGS); do \
9294           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9295         done; \
9296         echo "Doing TAGS in intl" ; \
9297         (cd intl && \
9298           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300                   "RANLIB=$${RANLIB}" \
9301                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9302                   TAGS) \
9303           || exit 1
9304
9305
9306 .PHONY: maybe-install-info-intl install-info-intl
9307 maybe-install-info-intl:
9308
9309 install-info-intl: \
9310     configure-intl \
9311     info-intl 
9312         @[ -f ./intl/Makefile ] || exit 0; \
9313         r=`${PWD_COMMAND}`; export r; \
9314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9315         $(SET_LIB_PATH) \
9316         for flag in $(EXTRA_HOST_FLAGS); do \
9317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9318         done; \
9319         echo "Doing install-info in intl" ; \
9320         (cd intl && \
9321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9323                   "RANLIB=$${RANLIB}" \
9324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9325                   install-info) \
9326           || exit 1
9327
9328
9329 .PHONY: maybe-installcheck-intl installcheck-intl
9330 maybe-installcheck-intl:
9331
9332 installcheck-intl: \
9333     configure-intl 
9334         @[ -f ./intl/Makefile ] || exit 0; \
9335         r=`${PWD_COMMAND}`; export r; \
9336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337         $(SET_LIB_PATH) \
9338         for flag in $(EXTRA_HOST_FLAGS); do \
9339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9340         done; \
9341         echo "Doing installcheck in intl" ; \
9342         (cd intl && \
9343           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9344                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9345                   "RANLIB=$${RANLIB}" \
9346                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9347                   installcheck) \
9348           || exit 1
9349
9350
9351 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
9352 maybe-mostlyclean-intl:
9353
9354 mostlyclean-intl: 
9355         @[ -f ./intl/Makefile ] || exit 0; \
9356         r=`${PWD_COMMAND}`; export r; \
9357         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9358         $(SET_LIB_PATH) \
9359         for flag in $(EXTRA_HOST_FLAGS); do \
9360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9361         done; \
9362         echo "Doing mostlyclean in intl" ; \
9363         (cd intl && \
9364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9366                   "RANLIB=$${RANLIB}" \
9367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9368                   mostlyclean) \
9369           || exit 1
9370
9371
9372 .PHONY: maybe-clean-intl clean-intl
9373 maybe-clean-intl:
9374
9375 clean-intl: 
9376         @[ -f ./intl/Makefile ] || exit 0; \
9377         r=`${PWD_COMMAND}`; export r; \
9378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379         $(SET_LIB_PATH) \
9380         for flag in $(EXTRA_HOST_FLAGS); do \
9381           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382         done; \
9383         echo "Doing clean in intl" ; \
9384         (cd intl && \
9385           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387                   "RANLIB=$${RANLIB}" \
9388                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9389                   clean) \
9390           || exit 1
9391
9392
9393 .PHONY: maybe-distclean-intl distclean-intl
9394 maybe-distclean-intl:
9395
9396 distclean-intl: 
9397         @[ -f ./intl/Makefile ] || exit 0; \
9398         r=`${PWD_COMMAND}`; export r; \
9399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9400         $(SET_LIB_PATH) \
9401         for flag in $(EXTRA_HOST_FLAGS); do \
9402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9403         done; \
9404         echo "Doing distclean in intl" ; \
9405         (cd intl && \
9406           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408                   "RANLIB=$${RANLIB}" \
9409                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9410                   distclean) \
9411           || exit 1
9412
9413
9414 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
9415 maybe-maintainer-clean-intl:
9416
9417 maintainer-clean-intl: 
9418         @[ -f ./intl/Makefile ] || exit 0; \
9419         r=`${PWD_COMMAND}`; export r; \
9420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9421         $(SET_LIB_PATH) \
9422         for flag in $(EXTRA_HOST_FLAGS); do \
9423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9424         done; \
9425         echo "Doing maintainer-clean in intl" ; \
9426         (cd intl && \
9427           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9428                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9429                   "RANLIB=$${RANLIB}" \
9430                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9431                   maintainer-clean) \
9432           || exit 1
9433
9434
9435
9436 .PHONY: configure-tcl maybe-configure-tcl
9437 maybe-configure-tcl:
9438 configure-tcl:
9439         @test ! -f tcl/Makefile || exit 0; \
9440         [ -d tcl ] || mkdir tcl; \
9441         r=`${PWD_COMMAND}`; export r; \
9442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443         CC="$(CC)"; export CC; \
9444         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9445         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9446         CXX="$(CXX)"; export CXX; \
9447         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9448         AR="$(AR)"; export AR; \
9449         AS="$(AS)"; export AS; \
9450         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9451         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9452         LD="$(LD)"; export LD; \
9453         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9454         NM="$(NM)"; export NM; \
9455         RANLIB="$(RANLIB)"; export RANLIB; \
9456         WINDRES="$(WINDRES)"; export WINDRES; \
9457         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9458         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9459         echo Configuring in tcl; \
9460         cd tcl || exit 1; \
9461         case $(srcdir) in \
9462           \.) \
9463             srcdiroption="--srcdir=."; \
9464             libsrcdir=".";; \
9465           /* | [A-Za-z]:[\\/]*) \
9466             srcdiroption="--srcdir=$(srcdir)/tcl"; \
9467             libsrcdir="$$s/tcl";; \
9468           *) \
9469             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
9470             libsrcdir="$$s/tcl";; \
9471         esac; \
9472         $(SHELL) $${libsrcdir}/configure \
9473           $(HOST_CONFIGARGS) $${srcdiroption} \
9474           || exit 1
9475
9476 .PHONY: all-tcl maybe-all-tcl
9477 maybe-all-tcl:
9478 all-tcl: configure-tcl
9479         @r=`${PWD_COMMAND}`; export r; \
9480         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9481         $(SET_LIB_PATH) \
9482         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
9483
9484 .PHONY: check-tcl maybe-check-tcl
9485 maybe-check-tcl:
9486
9487 check-tcl:
9488         @r=`${PWD_COMMAND}`; export r; \
9489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9490         $(SET_LIB_PATH) \
9491         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
9492
9493
9494 .PHONY: install-tcl maybe-install-tcl
9495 maybe-install-tcl:
9496
9497 install-tcl: installdirs
9498         @r=`${PWD_COMMAND}`; export r; \
9499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500         $(SET_LIB_PATH) \
9501         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
9502
9503
9504 # Other targets (info, dvi, etc.)
9505
9506 .PHONY: maybe-info-tcl info-tcl
9507 maybe-info-tcl:
9508
9509 info-tcl: \
9510     configure-tcl 
9511         @[ -f ./tcl/Makefile ] || exit 0; \
9512         r=`${PWD_COMMAND}`; export r; \
9513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514         $(SET_LIB_PATH) \
9515         for flag in $(EXTRA_HOST_FLAGS); do \
9516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9517         done; \
9518         echo "Doing info in tcl" ; \
9519         (cd tcl && \
9520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9522                   "RANLIB=$${RANLIB}" \
9523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9524                   info) \
9525           || exit 1
9526
9527
9528 .PHONY: maybe-dvi-tcl dvi-tcl
9529 maybe-dvi-tcl:
9530
9531 dvi-tcl: \
9532     configure-tcl 
9533         @[ -f ./tcl/Makefile ] || exit 0; \
9534         r=`${PWD_COMMAND}`; export r; \
9535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536         $(SET_LIB_PATH) \
9537         for flag in $(EXTRA_HOST_FLAGS); do \
9538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9539         done; \
9540         echo "Doing dvi in tcl" ; \
9541         (cd tcl && \
9542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9544                   "RANLIB=$${RANLIB}" \
9545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9546                   dvi) \
9547           || exit 1
9548
9549
9550 .PHONY: maybe-TAGS-tcl TAGS-tcl
9551 maybe-TAGS-tcl:
9552
9553 TAGS-tcl: \
9554     configure-tcl 
9555         @[ -f ./tcl/Makefile ] || exit 0; \
9556         r=`${PWD_COMMAND}`; export r; \
9557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558         $(SET_LIB_PATH) \
9559         for flag in $(EXTRA_HOST_FLAGS); do \
9560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9561         done; \
9562         echo "Doing TAGS in tcl" ; \
9563         (cd tcl && \
9564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9566                   "RANLIB=$${RANLIB}" \
9567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9568                   TAGS) \
9569           || exit 1
9570
9571
9572 .PHONY: maybe-install-info-tcl install-info-tcl
9573 maybe-install-info-tcl:
9574
9575 install-info-tcl: \
9576     configure-tcl \
9577     info-tcl 
9578         @[ -f ./tcl/Makefile ] || exit 0; \
9579         r=`${PWD_COMMAND}`; export r; \
9580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581         $(SET_LIB_PATH) \
9582         for flag in $(EXTRA_HOST_FLAGS); do \
9583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584         done; \
9585         echo "Doing install-info in tcl" ; \
9586         (cd tcl && \
9587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589                   "RANLIB=$${RANLIB}" \
9590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9591                   install-info) \
9592           || exit 1
9593
9594
9595 .PHONY: maybe-installcheck-tcl installcheck-tcl
9596 maybe-installcheck-tcl:
9597
9598 installcheck-tcl: \
9599     configure-tcl 
9600         @[ -f ./tcl/Makefile ] || exit 0; \
9601         r=`${PWD_COMMAND}`; export r; \
9602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603         $(SET_LIB_PATH) \
9604         for flag in $(EXTRA_HOST_FLAGS); do \
9605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9606         done; \
9607         echo "Doing installcheck in tcl" ; \
9608         (cd tcl && \
9609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9611                   "RANLIB=$${RANLIB}" \
9612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9613                   installcheck) \
9614           || exit 1
9615
9616
9617 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
9618 maybe-mostlyclean-tcl:
9619
9620 # tcl doesn't support mostlyclean.
9621 mostlyclean-tcl:
9622
9623
9624 .PHONY: maybe-clean-tcl clean-tcl
9625 maybe-clean-tcl:
9626
9627 clean-tcl: 
9628         @[ -f ./tcl/Makefile ] || exit 0; \
9629         r=`${PWD_COMMAND}`; export r; \
9630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9631         $(SET_LIB_PATH) \
9632         for flag in $(EXTRA_HOST_FLAGS); do \
9633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9634         done; \
9635         echo "Doing clean in tcl" ; \
9636         (cd tcl && \
9637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639                   "RANLIB=$${RANLIB}" \
9640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9641                   clean) \
9642           || exit 1
9643
9644
9645 .PHONY: maybe-distclean-tcl distclean-tcl
9646 maybe-distclean-tcl:
9647
9648 distclean-tcl: 
9649         @[ -f ./tcl/Makefile ] || exit 0; \
9650         r=`${PWD_COMMAND}`; export r; \
9651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9652         $(SET_LIB_PATH) \
9653         for flag in $(EXTRA_HOST_FLAGS); do \
9654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9655         done; \
9656         echo "Doing distclean in tcl" ; \
9657         (cd tcl && \
9658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9660                   "RANLIB=$${RANLIB}" \
9661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9662                   distclean) \
9663           || exit 1
9664
9665
9666 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
9667 maybe-maintainer-clean-tcl:
9668
9669 maintainer-clean-tcl: 
9670         @[ -f ./tcl/Makefile ] || exit 0; \
9671         r=`${PWD_COMMAND}`; export r; \
9672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9673         $(SET_LIB_PATH) \
9674         for flag in $(EXTRA_HOST_FLAGS); do \
9675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9676         done; \
9677         echo "Doing maintainer-clean in tcl" ; \
9678         (cd tcl && \
9679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9681                   "RANLIB=$${RANLIB}" \
9682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9683                   maintainer-clean) \
9684           || exit 1
9685
9686
9687
9688 .PHONY: configure-itcl maybe-configure-itcl
9689 maybe-configure-itcl:
9690 configure-itcl:
9691         @test ! -f itcl/Makefile || exit 0; \
9692         [ -d itcl ] || mkdir itcl; \
9693         r=`${PWD_COMMAND}`; export r; \
9694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9695         CC="$(CC)"; export CC; \
9696         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9697         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9698         CXX="$(CXX)"; export CXX; \
9699         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9700         AR="$(AR)"; export AR; \
9701         AS="$(AS)"; export AS; \
9702         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9703         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9704         LD="$(LD)"; export LD; \
9705         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9706         NM="$(NM)"; export NM; \
9707         RANLIB="$(RANLIB)"; export RANLIB; \
9708         WINDRES="$(WINDRES)"; export WINDRES; \
9709         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9710         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9711         echo Configuring in itcl; \
9712         cd itcl || exit 1; \
9713         case $(srcdir) in \
9714           \.) \
9715             srcdiroption="--srcdir=."; \
9716             libsrcdir=".";; \
9717           /* | [A-Za-z]:[\\/]*) \
9718             srcdiroption="--srcdir=$(srcdir)/itcl"; \
9719             libsrcdir="$$s/itcl";; \
9720           *) \
9721             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
9722             libsrcdir="$$s/itcl";; \
9723         esac; \
9724         $(SHELL) $${libsrcdir}/configure \
9725           $(HOST_CONFIGARGS) $${srcdiroption} \
9726           || exit 1
9727
9728 .PHONY: all-itcl maybe-all-itcl
9729 maybe-all-itcl:
9730 all-itcl: configure-itcl
9731         @r=`${PWD_COMMAND}`; export r; \
9732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733         $(SET_LIB_PATH) \
9734         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
9735
9736 .PHONY: check-itcl maybe-check-itcl
9737 maybe-check-itcl:
9738
9739 check-itcl:
9740         @r=`${PWD_COMMAND}`; export r; \
9741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742         $(SET_LIB_PATH) \
9743         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
9744
9745
9746 .PHONY: install-itcl maybe-install-itcl
9747 maybe-install-itcl:
9748
9749 install-itcl: installdirs
9750         @r=`${PWD_COMMAND}`; export r; \
9751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752         $(SET_LIB_PATH) \
9753         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
9754
9755
9756 # Other targets (info, dvi, etc.)
9757
9758 .PHONY: maybe-info-itcl info-itcl
9759 maybe-info-itcl:
9760
9761 info-itcl: \
9762     configure-itcl 
9763         @[ -f ./itcl/Makefile ] || exit 0; \
9764         r=`${PWD_COMMAND}`; export r; \
9765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766         $(SET_LIB_PATH) \
9767         for flag in $(EXTRA_HOST_FLAGS); do \
9768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769         done; \
9770         echo "Doing info in itcl" ; \
9771         (cd itcl && \
9772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774                   "RANLIB=$${RANLIB}" \
9775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776                   info) \
9777           || exit 1
9778
9779
9780 .PHONY: maybe-dvi-itcl dvi-itcl
9781 maybe-dvi-itcl:
9782
9783 dvi-itcl: \
9784     configure-itcl 
9785         @[ -f ./itcl/Makefile ] || exit 0; \
9786         r=`${PWD_COMMAND}`; export r; \
9787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9788         $(SET_LIB_PATH) \
9789         for flag in $(EXTRA_HOST_FLAGS); do \
9790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9791         done; \
9792         echo "Doing dvi in itcl" ; \
9793         (cd itcl && \
9794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9796                   "RANLIB=$${RANLIB}" \
9797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9798                   dvi) \
9799           || exit 1
9800
9801
9802 .PHONY: maybe-TAGS-itcl TAGS-itcl
9803 maybe-TAGS-itcl:
9804
9805 TAGS-itcl: \
9806     configure-itcl 
9807         @[ -f ./itcl/Makefile ] || exit 0; \
9808         r=`${PWD_COMMAND}`; export r; \
9809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810         $(SET_LIB_PATH) \
9811         for flag in $(EXTRA_HOST_FLAGS); do \
9812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813         done; \
9814         echo "Doing TAGS in itcl" ; \
9815         (cd itcl && \
9816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818                   "RANLIB=$${RANLIB}" \
9819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820                   TAGS) \
9821           || exit 1
9822
9823
9824 .PHONY: maybe-install-info-itcl install-info-itcl
9825 maybe-install-info-itcl:
9826
9827 install-info-itcl: \
9828     configure-itcl \
9829     info-itcl 
9830         @[ -f ./itcl/Makefile ] || exit 0; \
9831         r=`${PWD_COMMAND}`; export r; \
9832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9833         $(SET_LIB_PATH) \
9834         for flag in $(EXTRA_HOST_FLAGS); do \
9835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9836         done; \
9837         echo "Doing install-info in itcl" ; \
9838         (cd itcl && \
9839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9841                   "RANLIB=$${RANLIB}" \
9842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9843                   install-info) \
9844           || exit 1
9845
9846
9847 .PHONY: maybe-installcheck-itcl installcheck-itcl
9848 maybe-installcheck-itcl:
9849
9850 installcheck-itcl: \
9851     configure-itcl 
9852         @[ -f ./itcl/Makefile ] || exit 0; \
9853         r=`${PWD_COMMAND}`; export r; \
9854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9855         $(SET_LIB_PATH) \
9856         for flag in $(EXTRA_HOST_FLAGS); do \
9857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9858         done; \
9859         echo "Doing installcheck in itcl" ; \
9860         (cd itcl && \
9861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9863                   "RANLIB=$${RANLIB}" \
9864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9865                   installcheck) \
9866           || exit 1
9867
9868
9869 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
9870 maybe-mostlyclean-itcl:
9871
9872 mostlyclean-itcl: 
9873         @[ -f ./itcl/Makefile ] || exit 0; \
9874         r=`${PWD_COMMAND}`; export r; \
9875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9876         $(SET_LIB_PATH) \
9877         for flag in $(EXTRA_HOST_FLAGS); do \
9878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9879         done; \
9880         echo "Doing mostlyclean in itcl" ; \
9881         (cd itcl && \
9882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9884                   "RANLIB=$${RANLIB}" \
9885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9886                   mostlyclean) \
9887           || exit 1
9888
9889
9890 .PHONY: maybe-clean-itcl clean-itcl
9891 maybe-clean-itcl:
9892
9893 clean-itcl: 
9894         @[ -f ./itcl/Makefile ] || exit 0; \
9895         r=`${PWD_COMMAND}`; export r; \
9896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897         $(SET_LIB_PATH) \
9898         for flag in $(EXTRA_HOST_FLAGS); do \
9899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9900         done; \
9901         echo "Doing clean in itcl" ; \
9902         (cd itcl && \
9903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9905                   "RANLIB=$${RANLIB}" \
9906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9907                   clean) \
9908           || exit 1
9909
9910
9911 .PHONY: maybe-distclean-itcl distclean-itcl
9912 maybe-distclean-itcl:
9913
9914 distclean-itcl: 
9915         @[ -f ./itcl/Makefile ] || exit 0; \
9916         r=`${PWD_COMMAND}`; export r; \
9917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9918         $(SET_LIB_PATH) \
9919         for flag in $(EXTRA_HOST_FLAGS); do \
9920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9921         done; \
9922         echo "Doing distclean in itcl" ; \
9923         (cd itcl && \
9924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9926                   "RANLIB=$${RANLIB}" \
9927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9928                   distclean) \
9929           || exit 1
9930
9931
9932 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
9933 maybe-maintainer-clean-itcl:
9934
9935 maintainer-clean-itcl: 
9936         @[ -f ./itcl/Makefile ] || exit 0; \
9937         r=`${PWD_COMMAND}`; export r; \
9938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939         $(SET_LIB_PATH) \
9940         for flag in $(EXTRA_HOST_FLAGS); do \
9941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942         done; \
9943         echo "Doing maintainer-clean in itcl" ; \
9944         (cd itcl && \
9945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947                   "RANLIB=$${RANLIB}" \
9948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9949                   maintainer-clean) \
9950           || exit 1
9951
9952
9953
9954 .PHONY: configure-ld maybe-configure-ld
9955 maybe-configure-ld:
9956 configure-ld:
9957         @test ! -f ld/Makefile || exit 0; \
9958         [ -d ld ] || mkdir ld; \
9959         r=`${PWD_COMMAND}`; export r; \
9960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9961         CC="$(CC)"; export CC; \
9962         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9963         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9964         CXX="$(CXX)"; export CXX; \
9965         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9966         AR="$(AR)"; export AR; \
9967         AS="$(AS)"; export AS; \
9968         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9969         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9970         LD="$(LD)"; export LD; \
9971         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9972         NM="$(NM)"; export NM; \
9973         RANLIB="$(RANLIB)"; export RANLIB; \
9974         WINDRES="$(WINDRES)"; export WINDRES; \
9975         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9976         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9977         echo Configuring in ld; \
9978         cd ld || exit 1; \
9979         case $(srcdir) in \
9980           \.) \
9981             srcdiroption="--srcdir=."; \
9982             libsrcdir=".";; \
9983           /* | [A-Za-z]:[\\/]*) \
9984             srcdiroption="--srcdir=$(srcdir)/ld"; \
9985             libsrcdir="$$s/ld";; \
9986           *) \
9987             srcdiroption="--srcdir=../$(srcdir)/ld"; \
9988             libsrcdir="$$s/ld";; \
9989         esac; \
9990         $(SHELL) $${libsrcdir}/configure \
9991           $(HOST_CONFIGARGS) $${srcdiroption} \
9992           || exit 1
9993
9994 .PHONY: all-ld maybe-all-ld
9995 maybe-all-ld:
9996 all-ld: configure-ld
9997         @r=`${PWD_COMMAND}`; export r; \
9998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9999         $(SET_LIB_PATH) \
10000         (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
10001
10002 .PHONY: check-ld maybe-check-ld
10003 maybe-check-ld:
10004
10005 check-ld:
10006         @r=`${PWD_COMMAND}`; export r; \
10007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10008         $(SET_LIB_PATH) \
10009         (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
10010
10011
10012 .PHONY: install-ld maybe-install-ld
10013 maybe-install-ld:
10014
10015 install-ld: installdirs
10016         @r=`${PWD_COMMAND}`; export r; \
10017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018         $(SET_LIB_PATH) \
10019         (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
10020
10021
10022 # Other targets (info, dvi, etc.)
10023
10024 .PHONY: maybe-info-ld info-ld
10025 maybe-info-ld:
10026
10027 info-ld: \
10028     configure-ld 
10029         @[ -f ./ld/Makefile ] || exit 0; \
10030         r=`${PWD_COMMAND}`; export r; \
10031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032         $(SET_LIB_PATH) \
10033         for flag in $(EXTRA_HOST_FLAGS); do \
10034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035         done; \
10036         echo "Doing info in ld" ; \
10037         (cd ld && \
10038           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040                   "RANLIB=$${RANLIB}" \
10041                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10042                   info) \
10043           || exit 1
10044
10045
10046 .PHONY: maybe-dvi-ld dvi-ld
10047 maybe-dvi-ld:
10048
10049 dvi-ld: \
10050     configure-ld 
10051         @[ -f ./ld/Makefile ] || exit 0; \
10052         r=`${PWD_COMMAND}`; export r; \
10053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054         $(SET_LIB_PATH) \
10055         for flag in $(EXTRA_HOST_FLAGS); do \
10056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10057         done; \
10058         echo "Doing dvi in ld" ; \
10059         (cd ld && \
10060           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10061                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10062                   "RANLIB=$${RANLIB}" \
10063                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10064                   dvi) \
10065           || exit 1
10066
10067
10068 .PHONY: maybe-TAGS-ld TAGS-ld
10069 maybe-TAGS-ld:
10070
10071 TAGS-ld: \
10072     configure-ld 
10073         @[ -f ./ld/Makefile ] || exit 0; \
10074         r=`${PWD_COMMAND}`; export r; \
10075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10076         $(SET_LIB_PATH) \
10077         for flag in $(EXTRA_HOST_FLAGS); do \
10078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10079         done; \
10080         echo "Doing TAGS in ld" ; \
10081         (cd ld && \
10082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10084                   "RANLIB=$${RANLIB}" \
10085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10086                   TAGS) \
10087           || exit 1
10088
10089
10090 .PHONY: maybe-install-info-ld install-info-ld
10091 maybe-install-info-ld:
10092
10093 install-info-ld: \
10094     configure-ld \
10095     info-ld 
10096         @[ -f ./ld/Makefile ] || exit 0; \
10097         r=`${PWD_COMMAND}`; export r; \
10098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099         $(SET_LIB_PATH) \
10100         for flag in $(EXTRA_HOST_FLAGS); do \
10101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10102         done; \
10103         echo "Doing install-info in ld" ; \
10104         (cd ld && \
10105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10107                   "RANLIB=$${RANLIB}" \
10108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10109                   install-info) \
10110           || exit 1
10111
10112
10113 .PHONY: maybe-installcheck-ld installcheck-ld
10114 maybe-installcheck-ld:
10115
10116 installcheck-ld: \
10117     configure-ld 
10118         @[ -f ./ld/Makefile ] || exit 0; \
10119         r=`${PWD_COMMAND}`; export r; \
10120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10121         $(SET_LIB_PATH) \
10122         for flag in $(EXTRA_HOST_FLAGS); do \
10123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10124         done; \
10125         echo "Doing installcheck in ld" ; \
10126         (cd ld && \
10127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129                   "RANLIB=$${RANLIB}" \
10130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10131                   installcheck) \
10132           || exit 1
10133
10134
10135 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10136 maybe-mostlyclean-ld:
10137
10138 mostlyclean-ld: 
10139         @[ -f ./ld/Makefile ] || exit 0; \
10140         r=`${PWD_COMMAND}`; export r; \
10141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142         $(SET_LIB_PATH) \
10143         for flag in $(EXTRA_HOST_FLAGS); do \
10144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145         done; \
10146         echo "Doing mostlyclean in ld" ; \
10147         (cd ld && \
10148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150                   "RANLIB=$${RANLIB}" \
10151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10152                   mostlyclean) \
10153           || exit 1
10154
10155
10156 .PHONY: maybe-clean-ld clean-ld
10157 maybe-clean-ld:
10158
10159 clean-ld: 
10160         @[ -f ./ld/Makefile ] || exit 0; \
10161         r=`${PWD_COMMAND}`; export r; \
10162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163         $(SET_LIB_PATH) \
10164         for flag in $(EXTRA_HOST_FLAGS); do \
10165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166         done; \
10167         echo "Doing clean in ld" ; \
10168         (cd ld && \
10169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171                   "RANLIB=$${RANLIB}" \
10172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173                   clean) \
10174           || exit 1
10175
10176
10177 .PHONY: maybe-distclean-ld distclean-ld
10178 maybe-distclean-ld:
10179
10180 distclean-ld: 
10181         @[ -f ./ld/Makefile ] || exit 0; \
10182         r=`${PWD_COMMAND}`; export r; \
10183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184         $(SET_LIB_PATH) \
10185         for flag in $(EXTRA_HOST_FLAGS); do \
10186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187         done; \
10188         echo "Doing distclean in ld" ; \
10189         (cd ld && \
10190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192                   "RANLIB=$${RANLIB}" \
10193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10194                   distclean) \
10195           || exit 1
10196
10197
10198 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
10199 maybe-maintainer-clean-ld:
10200
10201 maintainer-clean-ld: 
10202         @[ -f ./ld/Makefile ] || exit 0; \
10203         r=`${PWD_COMMAND}`; export r; \
10204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10205         $(SET_LIB_PATH) \
10206         for flag in $(EXTRA_HOST_FLAGS); do \
10207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10208         done; \
10209         echo "Doing maintainer-clean in ld" ; \
10210         (cd ld && \
10211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10213                   "RANLIB=$${RANLIB}" \
10214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10215                   maintainer-clean) \
10216           || exit 1
10217
10218
10219
10220 .PHONY: configure-libgui maybe-configure-libgui
10221 maybe-configure-libgui:
10222 configure-libgui:
10223         @test ! -f libgui/Makefile || exit 0; \
10224         [ -d libgui ] || mkdir libgui; \
10225         r=`${PWD_COMMAND}`; export r; \
10226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10227         CC="$(CC)"; export CC; \
10228         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10229         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10230         CXX="$(CXX)"; export CXX; \
10231         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10232         AR="$(AR)"; export AR; \
10233         AS="$(AS)"; export AS; \
10234         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10235         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10236         LD="$(LD)"; export LD; \
10237         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10238         NM="$(NM)"; export NM; \
10239         RANLIB="$(RANLIB)"; export RANLIB; \
10240         WINDRES="$(WINDRES)"; export WINDRES; \
10241         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10242         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10243         echo Configuring in libgui; \
10244         cd libgui || exit 1; \
10245         case $(srcdir) in \
10246           \.) \
10247             srcdiroption="--srcdir=."; \
10248             libsrcdir=".";; \
10249           /* | [A-Za-z]:[\\/]*) \
10250             srcdiroption="--srcdir=$(srcdir)/libgui"; \
10251             libsrcdir="$$s/libgui";; \
10252           *) \
10253             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
10254             libsrcdir="$$s/libgui";; \
10255         esac; \
10256         $(SHELL) $${libsrcdir}/configure \
10257           $(HOST_CONFIGARGS) $${srcdiroption} \
10258           || exit 1
10259
10260 .PHONY: all-libgui maybe-all-libgui
10261 maybe-all-libgui:
10262 all-libgui: configure-libgui
10263         @r=`${PWD_COMMAND}`; export r; \
10264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10265         $(SET_LIB_PATH) \
10266         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
10267
10268 .PHONY: check-libgui maybe-check-libgui
10269 maybe-check-libgui:
10270
10271 check-libgui:
10272         @r=`${PWD_COMMAND}`; export r; \
10273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274         $(SET_LIB_PATH) \
10275         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
10276
10277
10278 .PHONY: install-libgui maybe-install-libgui
10279 maybe-install-libgui:
10280
10281 install-libgui: installdirs
10282         @r=`${PWD_COMMAND}`; export r; \
10283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284         $(SET_LIB_PATH) \
10285         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
10286
10287
10288 # Other targets (info, dvi, etc.)
10289
10290 .PHONY: maybe-info-libgui info-libgui
10291 maybe-info-libgui:
10292
10293 info-libgui: \
10294     configure-libgui 
10295         @[ -f ./libgui/Makefile ] || exit 0; \
10296         r=`${PWD_COMMAND}`; export r; \
10297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10298         $(SET_LIB_PATH) \
10299         for flag in $(EXTRA_HOST_FLAGS); do \
10300           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10301         done; \
10302         echo "Doing info in libgui" ; \
10303         (cd libgui && \
10304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306                   "RANLIB=$${RANLIB}" \
10307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10308                   info) \
10309           || exit 1
10310
10311
10312 .PHONY: maybe-dvi-libgui dvi-libgui
10313 maybe-dvi-libgui:
10314
10315 dvi-libgui: \
10316     configure-libgui 
10317         @[ -f ./libgui/Makefile ] || exit 0; \
10318         r=`${PWD_COMMAND}`; export r; \
10319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10320         $(SET_LIB_PATH) \
10321         for flag in $(EXTRA_HOST_FLAGS); do \
10322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10323         done; \
10324         echo "Doing dvi in libgui" ; \
10325         (cd libgui && \
10326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10328                   "RANLIB=$${RANLIB}" \
10329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10330                   dvi) \
10331           || exit 1
10332
10333
10334 .PHONY: maybe-TAGS-libgui TAGS-libgui
10335 maybe-TAGS-libgui:
10336
10337 TAGS-libgui: \
10338     configure-libgui 
10339         @[ -f ./libgui/Makefile ] || exit 0; \
10340         r=`${PWD_COMMAND}`; export r; \
10341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10342         $(SET_LIB_PATH) \
10343         for flag in $(EXTRA_HOST_FLAGS); do \
10344           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10345         done; \
10346         echo "Doing TAGS in libgui" ; \
10347         (cd libgui && \
10348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10350                   "RANLIB=$${RANLIB}" \
10351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10352                   TAGS) \
10353           || exit 1
10354
10355
10356 .PHONY: maybe-install-info-libgui install-info-libgui
10357 maybe-install-info-libgui:
10358
10359 install-info-libgui: \
10360     configure-libgui \
10361     info-libgui 
10362         @[ -f ./libgui/Makefile ] || exit 0; \
10363         r=`${PWD_COMMAND}`; export r; \
10364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365         $(SET_LIB_PATH) \
10366         for flag in $(EXTRA_HOST_FLAGS); do \
10367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10368         done; \
10369         echo "Doing install-info in libgui" ; \
10370         (cd libgui && \
10371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10373                   "RANLIB=$${RANLIB}" \
10374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10375                   install-info) \
10376           || exit 1
10377
10378
10379 .PHONY: maybe-installcheck-libgui installcheck-libgui
10380 maybe-installcheck-libgui:
10381
10382 installcheck-libgui: \
10383     configure-libgui 
10384         @[ -f ./libgui/Makefile ] || exit 0; \
10385         r=`${PWD_COMMAND}`; export r; \
10386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10387         $(SET_LIB_PATH) \
10388         for flag in $(EXTRA_HOST_FLAGS); do \
10389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10390         done; \
10391         echo "Doing installcheck in libgui" ; \
10392         (cd libgui && \
10393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10395                   "RANLIB=$${RANLIB}" \
10396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10397                   installcheck) \
10398           || exit 1
10399
10400
10401 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10402 maybe-mostlyclean-libgui:
10403
10404 mostlyclean-libgui: 
10405         @[ -f ./libgui/Makefile ] || exit 0; \
10406         r=`${PWD_COMMAND}`; export r; \
10407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10408         $(SET_LIB_PATH) \
10409         for flag in $(EXTRA_HOST_FLAGS); do \
10410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10411         done; \
10412         echo "Doing mostlyclean in libgui" ; \
10413         (cd libgui && \
10414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10416                   "RANLIB=$${RANLIB}" \
10417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10418                   mostlyclean) \
10419           || exit 1
10420
10421
10422 .PHONY: maybe-clean-libgui clean-libgui
10423 maybe-clean-libgui:
10424
10425 clean-libgui: 
10426         @[ -f ./libgui/Makefile ] || exit 0; \
10427         r=`${PWD_COMMAND}`; export r; \
10428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429         $(SET_LIB_PATH) \
10430         for flag in $(EXTRA_HOST_FLAGS); do \
10431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10432         done; \
10433         echo "Doing clean in libgui" ; \
10434         (cd libgui && \
10435           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10436                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10437                   "RANLIB=$${RANLIB}" \
10438                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10439                   clean) \
10440           || exit 1
10441
10442
10443 .PHONY: maybe-distclean-libgui distclean-libgui
10444 maybe-distclean-libgui:
10445
10446 distclean-libgui: 
10447         @[ -f ./libgui/Makefile ] || exit 0; \
10448         r=`${PWD_COMMAND}`; export r; \
10449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10450         $(SET_LIB_PATH) \
10451         for flag in $(EXTRA_HOST_FLAGS); do \
10452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10453         done; \
10454         echo "Doing distclean in libgui" ; \
10455         (cd libgui && \
10456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10458                   "RANLIB=$${RANLIB}" \
10459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10460                   distclean) \
10461           || exit 1
10462
10463
10464 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
10465 maybe-maintainer-clean-libgui:
10466
10467 maintainer-clean-libgui: 
10468         @[ -f ./libgui/Makefile ] || exit 0; \
10469         r=`${PWD_COMMAND}`; export r; \
10470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10471         $(SET_LIB_PATH) \
10472         for flag in $(EXTRA_HOST_FLAGS); do \
10473           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10474         done; \
10475         echo "Doing maintainer-clean in libgui" ; \
10476         (cd libgui && \
10477           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10478                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10479                   "RANLIB=$${RANLIB}" \
10480                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10481                   maintainer-clean) \
10482           || exit 1
10483
10484
10485
10486 .PHONY: configure-libiberty maybe-configure-libiberty
10487 maybe-configure-libiberty:
10488 configure-libiberty:
10489         @test ! -f libiberty/Makefile || exit 0; \
10490         [ -d libiberty ] || mkdir libiberty; \
10491         r=`${PWD_COMMAND}`; export r; \
10492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493         CC="$(CC)"; export CC; \
10494         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10495         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10496         CXX="$(CXX)"; export CXX; \
10497         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10498         AR="$(AR)"; export AR; \
10499         AS="$(AS)"; export AS; \
10500         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10501         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10502         LD="$(LD)"; export LD; \
10503         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10504         NM="$(NM)"; export NM; \
10505         RANLIB="$(RANLIB)"; export RANLIB; \
10506         WINDRES="$(WINDRES)"; export WINDRES; \
10507         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10508         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10509         echo Configuring in libiberty; \
10510         cd libiberty || exit 1; \
10511         case $(srcdir) in \
10512           \.) \
10513             srcdiroption="--srcdir=."; \
10514             libsrcdir=".";; \
10515           /* | [A-Za-z]:[\\/]*) \
10516             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
10517             libsrcdir="$$s/libiberty";; \
10518           *) \
10519             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
10520             libsrcdir="$$s/libiberty";; \
10521         esac; \
10522         $(SHELL) $${libsrcdir}/configure \
10523           $(HOST_CONFIGARGS) $${srcdiroption} \
10524           || exit 1
10525
10526 .PHONY: all-libiberty maybe-all-libiberty
10527 maybe-all-libiberty:
10528 all-libiberty: configure-libiberty
10529         @r=`${PWD_COMMAND}`; export r; \
10530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10531         $(SET_LIB_PATH) \
10532         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
10533
10534 .PHONY: check-libiberty maybe-check-libiberty
10535 maybe-check-libiberty:
10536
10537 check-libiberty:
10538         @r=`${PWD_COMMAND}`; export r; \
10539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10540         $(SET_LIB_PATH) \
10541         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
10542
10543
10544 .PHONY: install-libiberty maybe-install-libiberty
10545 maybe-install-libiberty:
10546
10547 install-libiberty: installdirs
10548         @r=`${PWD_COMMAND}`; export r; \
10549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10550         $(SET_LIB_PATH) \
10551         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
10552
10553
10554 # Other targets (info, dvi, etc.)
10555
10556 .PHONY: maybe-info-libiberty info-libiberty
10557 maybe-info-libiberty:
10558
10559 info-libiberty: \
10560     configure-libiberty 
10561         @[ -f ./libiberty/Makefile ] || exit 0; \
10562         r=`${PWD_COMMAND}`; export r; \
10563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10564         $(SET_LIB_PATH) \
10565         for flag in $(EXTRA_HOST_FLAGS); do \
10566           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10567         done; \
10568         echo "Doing info in libiberty" ; \
10569         (cd libiberty && \
10570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572                   "RANLIB=$${RANLIB}" \
10573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10574                   info) \
10575           || exit 1
10576
10577
10578 .PHONY: maybe-dvi-libiberty dvi-libiberty
10579 maybe-dvi-libiberty:
10580
10581 dvi-libiberty: \
10582     configure-libiberty 
10583         @[ -f ./libiberty/Makefile ] || exit 0; \
10584         r=`${PWD_COMMAND}`; export r; \
10585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586         $(SET_LIB_PATH) \
10587         for flag in $(EXTRA_HOST_FLAGS); do \
10588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10589         done; \
10590         echo "Doing dvi in libiberty" ; \
10591         (cd libiberty && \
10592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10594                   "RANLIB=$${RANLIB}" \
10595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10596                   dvi) \
10597           || exit 1
10598
10599
10600 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
10601 maybe-TAGS-libiberty:
10602
10603 TAGS-libiberty: \
10604     configure-libiberty 
10605         @[ -f ./libiberty/Makefile ] || exit 0; \
10606         r=`${PWD_COMMAND}`; export r; \
10607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10608         $(SET_LIB_PATH) \
10609         for flag in $(EXTRA_HOST_FLAGS); do \
10610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10611         done; \
10612         echo "Doing TAGS in libiberty" ; \
10613         (cd libiberty && \
10614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10616                   "RANLIB=$${RANLIB}" \
10617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10618                   TAGS) \
10619           || exit 1
10620
10621
10622 .PHONY: maybe-install-info-libiberty install-info-libiberty
10623 maybe-install-info-libiberty:
10624
10625 install-info-libiberty: \
10626     configure-libiberty \
10627     info-libiberty 
10628         @[ -f ./libiberty/Makefile ] || exit 0; \
10629         r=`${PWD_COMMAND}`; export r; \
10630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631         $(SET_LIB_PATH) \
10632         for flag in $(EXTRA_HOST_FLAGS); do \
10633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634         done; \
10635         echo "Doing install-info in libiberty" ; \
10636         (cd libiberty && \
10637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639                   "RANLIB=$${RANLIB}" \
10640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10641                   install-info) \
10642           || exit 1
10643
10644
10645 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
10646 maybe-installcheck-libiberty:
10647
10648 installcheck-libiberty: \
10649     configure-libiberty 
10650         @[ -f ./libiberty/Makefile ] || exit 0; \
10651         r=`${PWD_COMMAND}`; export r; \
10652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653         $(SET_LIB_PATH) \
10654         for flag in $(EXTRA_HOST_FLAGS); do \
10655           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656         done; \
10657         echo "Doing installcheck in libiberty" ; \
10658         (cd libiberty && \
10659           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661                   "RANLIB=$${RANLIB}" \
10662                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10663                   installcheck) \
10664           || exit 1
10665
10666
10667 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10668 maybe-mostlyclean-libiberty:
10669
10670 mostlyclean-libiberty: 
10671         @[ -f ./libiberty/Makefile ] || exit 0; \
10672         r=`${PWD_COMMAND}`; export r; \
10673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10674         $(SET_LIB_PATH) \
10675         for flag in $(EXTRA_HOST_FLAGS); do \
10676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10677         done; \
10678         echo "Doing mostlyclean in libiberty" ; \
10679         (cd libiberty && \
10680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682                   "RANLIB=$${RANLIB}" \
10683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10684                   mostlyclean) \
10685           || exit 1
10686
10687
10688 .PHONY: maybe-clean-libiberty clean-libiberty
10689 maybe-clean-libiberty:
10690
10691 clean-libiberty: 
10692         @[ -f ./libiberty/Makefile ] || exit 0; \
10693         r=`${PWD_COMMAND}`; export r; \
10694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695         $(SET_LIB_PATH) \
10696         for flag in $(EXTRA_HOST_FLAGS); do \
10697           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10698         done; \
10699         echo "Doing clean in libiberty" ; \
10700         (cd libiberty && \
10701           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10702                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10703                   "RANLIB=$${RANLIB}" \
10704                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10705                   clean) \
10706           || exit 1
10707
10708
10709 .PHONY: maybe-distclean-libiberty distclean-libiberty
10710 maybe-distclean-libiberty:
10711
10712 distclean-libiberty: 
10713         @[ -f ./libiberty/Makefile ] || exit 0; \
10714         r=`${PWD_COMMAND}`; export r; \
10715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10716         $(SET_LIB_PATH) \
10717         for flag in $(EXTRA_HOST_FLAGS); do \
10718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10719         done; \
10720         echo "Doing distclean in libiberty" ; \
10721         (cd libiberty && \
10722           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10723                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10724                   "RANLIB=$${RANLIB}" \
10725                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10726                   distclean) \
10727           || exit 1
10728
10729
10730 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
10731 maybe-maintainer-clean-libiberty:
10732
10733 maintainer-clean-libiberty: 
10734         @[ -f ./libiberty/Makefile ] || exit 0; \
10735         r=`${PWD_COMMAND}`; export r; \
10736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737         $(SET_LIB_PATH) \
10738         for flag in $(EXTRA_HOST_FLAGS); do \
10739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10740         done; \
10741         echo "Doing maintainer-clean in libiberty" ; \
10742         (cd libiberty && \
10743           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10744                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10745                   "RANLIB=$${RANLIB}" \
10746                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10747                   maintainer-clean) \
10748           || exit 1
10749
10750
10751
10752 .PHONY: configure-libtool maybe-configure-libtool
10753 maybe-configure-libtool:
10754 configure-libtool:
10755         @test ! -f libtool/Makefile || exit 0; \
10756         [ -d libtool ] || mkdir libtool; \
10757         r=`${PWD_COMMAND}`; export r; \
10758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759         CC="$(CC)"; export CC; \
10760         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10761         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10762         CXX="$(CXX)"; export CXX; \
10763         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10764         AR="$(AR)"; export AR; \
10765         AS="$(AS)"; export AS; \
10766         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10767         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10768         LD="$(LD)"; export LD; \
10769         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10770         NM="$(NM)"; export NM; \
10771         RANLIB="$(RANLIB)"; export RANLIB; \
10772         WINDRES="$(WINDRES)"; export WINDRES; \
10773         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10774         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10775         echo Configuring in libtool; \
10776         cd libtool || exit 1; \
10777         case $(srcdir) in \
10778           \.) \
10779             srcdiroption="--srcdir=."; \
10780             libsrcdir=".";; \
10781           /* | [A-Za-z]:[\\/]*) \
10782             srcdiroption="--srcdir=$(srcdir)/libtool"; \
10783             libsrcdir="$$s/libtool";; \
10784           *) \
10785             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
10786             libsrcdir="$$s/libtool";; \
10787         esac; \
10788         $(SHELL) $${libsrcdir}/configure \
10789           $(HOST_CONFIGARGS) $${srcdiroption} \
10790           || exit 1
10791
10792 .PHONY: all-libtool maybe-all-libtool
10793 maybe-all-libtool:
10794 all-libtool: configure-libtool
10795         @r=`${PWD_COMMAND}`; export r; \
10796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10797         $(SET_LIB_PATH) \
10798         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
10799
10800 .PHONY: check-libtool maybe-check-libtool
10801 maybe-check-libtool:
10802
10803 check-libtool:
10804         @r=`${PWD_COMMAND}`; export r; \
10805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806         $(SET_LIB_PATH) \
10807         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
10808
10809
10810 .PHONY: install-libtool maybe-install-libtool
10811 maybe-install-libtool:
10812
10813 install-libtool: installdirs
10814         @r=`${PWD_COMMAND}`; export r; \
10815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816         $(SET_LIB_PATH) \
10817         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
10818
10819
10820 # Other targets (info, dvi, etc.)
10821
10822 .PHONY: maybe-info-libtool info-libtool
10823 maybe-info-libtool:
10824
10825 info-libtool: \
10826     configure-libtool 
10827         @[ -f ./libtool/Makefile ] || exit 0; \
10828         r=`${PWD_COMMAND}`; export r; \
10829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830         $(SET_LIB_PATH) \
10831         for flag in $(EXTRA_HOST_FLAGS); do \
10832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10833         done; \
10834         echo "Doing info in libtool" ; \
10835         (cd libtool && \
10836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10838                   "RANLIB=$${RANLIB}" \
10839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10840                   info) \
10841           || exit 1
10842
10843
10844 .PHONY: maybe-dvi-libtool dvi-libtool
10845 maybe-dvi-libtool:
10846
10847 dvi-libtool: \
10848     configure-libtool 
10849         @[ -f ./libtool/Makefile ] || exit 0; \
10850         r=`${PWD_COMMAND}`; export r; \
10851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852         $(SET_LIB_PATH) \
10853         for flag in $(EXTRA_HOST_FLAGS); do \
10854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855         done; \
10856         echo "Doing dvi in libtool" ; \
10857         (cd libtool && \
10858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860                   "RANLIB=$${RANLIB}" \
10861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10862                   dvi) \
10863           || exit 1
10864
10865
10866 .PHONY: maybe-TAGS-libtool TAGS-libtool
10867 maybe-TAGS-libtool:
10868
10869 TAGS-libtool: \
10870     configure-libtool 
10871         @[ -f ./libtool/Makefile ] || exit 0; \
10872         r=`${PWD_COMMAND}`; export r; \
10873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10874         $(SET_LIB_PATH) \
10875         for flag in $(EXTRA_HOST_FLAGS); do \
10876           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10877         done; \
10878         echo "Doing TAGS in libtool" ; \
10879         (cd libtool && \
10880           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10881                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10882                   "RANLIB=$${RANLIB}" \
10883                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10884                   TAGS) \
10885           || exit 1
10886
10887
10888 .PHONY: maybe-install-info-libtool install-info-libtool
10889 maybe-install-info-libtool:
10890
10891 install-info-libtool: \
10892     configure-libtool \
10893     info-libtool 
10894         @[ -f ./libtool/Makefile ] || exit 0; \
10895         r=`${PWD_COMMAND}`; export r; \
10896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897         $(SET_LIB_PATH) \
10898         for flag in $(EXTRA_HOST_FLAGS); do \
10899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10900         done; \
10901         echo "Doing install-info in libtool" ; \
10902         (cd libtool && \
10903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10905                   "RANLIB=$${RANLIB}" \
10906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10907                   install-info) \
10908           || exit 1
10909
10910
10911 .PHONY: maybe-installcheck-libtool installcheck-libtool
10912 maybe-installcheck-libtool:
10913
10914 installcheck-libtool: \
10915     configure-libtool 
10916         @[ -f ./libtool/Makefile ] || exit 0; \
10917         r=`${PWD_COMMAND}`; export r; \
10918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919         $(SET_LIB_PATH) \
10920         for flag in $(EXTRA_HOST_FLAGS); do \
10921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10922         done; \
10923         echo "Doing installcheck in libtool" ; \
10924         (cd libtool && \
10925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10927                   "RANLIB=$${RANLIB}" \
10928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10929                   installcheck) \
10930           || exit 1
10931
10932
10933 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10934 maybe-mostlyclean-libtool:
10935
10936 mostlyclean-libtool: 
10937         @[ -f ./libtool/Makefile ] || exit 0; \
10938         r=`${PWD_COMMAND}`; export r; \
10939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10940         $(SET_LIB_PATH) \
10941         for flag in $(EXTRA_HOST_FLAGS); do \
10942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10943         done; \
10944         echo "Doing mostlyclean in libtool" ; \
10945         (cd libtool && \
10946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10948                   "RANLIB=$${RANLIB}" \
10949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10950                   mostlyclean) \
10951           || exit 1
10952
10953
10954 .PHONY: maybe-clean-libtool clean-libtool
10955 maybe-clean-libtool:
10956
10957 clean-libtool: 
10958         @[ -f ./libtool/Makefile ] || exit 0; \
10959         r=`${PWD_COMMAND}`; export r; \
10960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961         $(SET_LIB_PATH) \
10962         for flag in $(EXTRA_HOST_FLAGS); do \
10963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964         done; \
10965         echo "Doing clean in libtool" ; \
10966         (cd libtool && \
10967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969                   "RANLIB=$${RANLIB}" \
10970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10971                   clean) \
10972           || exit 1
10973
10974
10975 .PHONY: maybe-distclean-libtool distclean-libtool
10976 maybe-distclean-libtool:
10977
10978 distclean-libtool: 
10979         @[ -f ./libtool/Makefile ] || exit 0; \
10980         r=`${PWD_COMMAND}`; export r; \
10981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10982         $(SET_LIB_PATH) \
10983         for flag in $(EXTRA_HOST_FLAGS); do \
10984           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10985         done; \
10986         echo "Doing distclean in libtool" ; \
10987         (cd libtool && \
10988           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10989                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10990                   "RANLIB=$${RANLIB}" \
10991                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10992                   distclean) \
10993           || exit 1
10994
10995
10996 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
10997 maybe-maintainer-clean-libtool:
10998
10999 maintainer-clean-libtool: 
11000         @[ -f ./libtool/Makefile ] || exit 0; \
11001         r=`${PWD_COMMAND}`; export r; \
11002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003         $(SET_LIB_PATH) \
11004         for flag in $(EXTRA_HOST_FLAGS); do \
11005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11006         done; \
11007         echo "Doing maintainer-clean in libtool" ; \
11008         (cd libtool && \
11009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011                   "RANLIB=$${RANLIB}" \
11012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013                   maintainer-clean) \
11014           || exit 1
11015
11016
11017
11018 .PHONY: configure-m4 maybe-configure-m4
11019 maybe-configure-m4:
11020 configure-m4:
11021         @test ! -f m4/Makefile || exit 0; \
11022         [ -d m4 ] || mkdir m4; \
11023         r=`${PWD_COMMAND}`; export r; \
11024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025         CC="$(CC)"; export CC; \
11026         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11027         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11028         CXX="$(CXX)"; export CXX; \
11029         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11030         AR="$(AR)"; export AR; \
11031         AS="$(AS)"; export AS; \
11032         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11033         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11034         LD="$(LD)"; export LD; \
11035         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11036         NM="$(NM)"; export NM; \
11037         RANLIB="$(RANLIB)"; export RANLIB; \
11038         WINDRES="$(WINDRES)"; export WINDRES; \
11039         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11040         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11041         echo Configuring in m4; \
11042         cd m4 || exit 1; \
11043         case $(srcdir) in \
11044           \.) \
11045             srcdiroption="--srcdir=."; \
11046             libsrcdir=".";; \
11047           /* | [A-Za-z]:[\\/]*) \
11048             srcdiroption="--srcdir=$(srcdir)/m4"; \
11049             libsrcdir="$$s/m4";; \
11050           *) \
11051             srcdiroption="--srcdir=../$(srcdir)/m4"; \
11052             libsrcdir="$$s/m4";; \
11053         esac; \
11054         $(SHELL) $${libsrcdir}/configure \
11055           $(HOST_CONFIGARGS) $${srcdiroption} \
11056           || exit 1
11057
11058 .PHONY: all-m4 maybe-all-m4
11059 maybe-all-m4:
11060 all-m4: configure-m4
11061         @r=`${PWD_COMMAND}`; export r; \
11062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11063         $(SET_LIB_PATH) \
11064         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
11065
11066 .PHONY: check-m4 maybe-check-m4
11067 maybe-check-m4:
11068
11069 check-m4:
11070         @r=`${PWD_COMMAND}`; export r; \
11071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11072         $(SET_LIB_PATH) \
11073         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
11074
11075
11076 .PHONY: install-m4 maybe-install-m4
11077 maybe-install-m4:
11078
11079 install-m4: installdirs
11080         @r=`${PWD_COMMAND}`; export r; \
11081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082         $(SET_LIB_PATH) \
11083         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
11084
11085
11086 # Other targets (info, dvi, etc.)
11087
11088 .PHONY: maybe-info-m4 info-m4
11089 maybe-info-m4:
11090
11091 info-m4: \
11092     configure-m4 
11093         @[ -f ./m4/Makefile ] || exit 0; \
11094         r=`${PWD_COMMAND}`; export r; \
11095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11096         $(SET_LIB_PATH) \
11097         for flag in $(EXTRA_HOST_FLAGS); do \
11098           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11099         done; \
11100         echo "Doing info in m4" ; \
11101         (cd m4 && \
11102           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11103                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11104                   "RANLIB=$${RANLIB}" \
11105                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11106                   info) \
11107           || exit 1
11108
11109
11110 .PHONY: maybe-dvi-m4 dvi-m4
11111 maybe-dvi-m4:
11112
11113 dvi-m4: \
11114     configure-m4 
11115         @[ -f ./m4/Makefile ] || exit 0; \
11116         r=`${PWD_COMMAND}`; export r; \
11117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11118         $(SET_LIB_PATH) \
11119         for flag in $(EXTRA_HOST_FLAGS); do \
11120           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11121         done; \
11122         echo "Doing dvi in m4" ; \
11123         (cd m4 && \
11124           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11125                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11126                   "RANLIB=$${RANLIB}" \
11127                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11128                   dvi) \
11129           || exit 1
11130
11131
11132 .PHONY: maybe-TAGS-m4 TAGS-m4
11133 maybe-TAGS-m4:
11134
11135 TAGS-m4: \
11136     configure-m4 
11137         @[ -f ./m4/Makefile ] || exit 0; \
11138         r=`${PWD_COMMAND}`; export r; \
11139         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11140         $(SET_LIB_PATH) \
11141         for flag in $(EXTRA_HOST_FLAGS); do \
11142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11143         done; \
11144         echo "Doing TAGS in m4" ; \
11145         (cd m4 && \
11146           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148                   "RANLIB=$${RANLIB}" \
11149                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11150                   TAGS) \
11151           || exit 1
11152
11153
11154 .PHONY: maybe-install-info-m4 install-info-m4
11155 maybe-install-info-m4:
11156
11157 install-info-m4: \
11158     configure-m4 \
11159     info-m4 
11160         @[ -f ./m4/Makefile ] || exit 0; \
11161         r=`${PWD_COMMAND}`; export r; \
11162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11163         $(SET_LIB_PATH) \
11164         for flag in $(EXTRA_HOST_FLAGS); do \
11165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11166         done; \
11167         echo "Doing install-info in m4" ; \
11168         (cd m4 && \
11169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11171                   "RANLIB=$${RANLIB}" \
11172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11173                   install-info) \
11174           || exit 1
11175
11176
11177 .PHONY: maybe-installcheck-m4 installcheck-m4
11178 maybe-installcheck-m4:
11179
11180 installcheck-m4: \
11181     configure-m4 
11182         @[ -f ./m4/Makefile ] || exit 0; \
11183         r=`${PWD_COMMAND}`; export r; \
11184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11185         $(SET_LIB_PATH) \
11186         for flag in $(EXTRA_HOST_FLAGS); do \
11187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11188         done; \
11189         echo "Doing installcheck in m4" ; \
11190         (cd m4 && \
11191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11193                   "RANLIB=$${RANLIB}" \
11194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11195                   installcheck) \
11196           || exit 1
11197
11198
11199 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11200 maybe-mostlyclean-m4:
11201
11202 mostlyclean-m4: 
11203         @[ -f ./m4/Makefile ] || exit 0; \
11204         r=`${PWD_COMMAND}`; export r; \
11205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206         $(SET_LIB_PATH) \
11207         for flag in $(EXTRA_HOST_FLAGS); do \
11208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209         done; \
11210         echo "Doing mostlyclean in m4" ; \
11211         (cd m4 && \
11212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214                   "RANLIB=$${RANLIB}" \
11215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11216                   mostlyclean) \
11217           || exit 1
11218
11219
11220 .PHONY: maybe-clean-m4 clean-m4
11221 maybe-clean-m4:
11222
11223 clean-m4: 
11224         @[ -f ./m4/Makefile ] || exit 0; \
11225         r=`${PWD_COMMAND}`; export r; \
11226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227         $(SET_LIB_PATH) \
11228         for flag in $(EXTRA_HOST_FLAGS); do \
11229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11230         done; \
11231         echo "Doing clean in m4" ; \
11232         (cd m4 && \
11233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235                   "RANLIB=$${RANLIB}" \
11236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11237                   clean) \
11238           || exit 1
11239
11240
11241 .PHONY: maybe-distclean-m4 distclean-m4
11242 maybe-distclean-m4:
11243
11244 distclean-m4: 
11245         @[ -f ./m4/Makefile ] || exit 0; \
11246         r=`${PWD_COMMAND}`; export r; \
11247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248         $(SET_LIB_PATH) \
11249         for flag in $(EXTRA_HOST_FLAGS); do \
11250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11251         done; \
11252         echo "Doing distclean in m4" ; \
11253         (cd m4 && \
11254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11256                   "RANLIB=$${RANLIB}" \
11257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11258                   distclean) \
11259           || exit 1
11260
11261
11262 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
11263 maybe-maintainer-clean-m4:
11264
11265 maintainer-clean-m4: 
11266         @[ -f ./m4/Makefile ] || exit 0; \
11267         r=`${PWD_COMMAND}`; export r; \
11268         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11269         $(SET_LIB_PATH) \
11270         for flag in $(EXTRA_HOST_FLAGS); do \
11271           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11272         done; \
11273         echo "Doing maintainer-clean in m4" ; \
11274         (cd m4 && \
11275           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11276                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11277                   "RANLIB=$${RANLIB}" \
11278                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11279                   maintainer-clean) \
11280           || exit 1
11281
11282
11283
11284 .PHONY: configure-make maybe-configure-make
11285 maybe-configure-make:
11286 configure-make:
11287         @test ! -f make/Makefile || exit 0; \
11288         [ -d make ] || mkdir make; \
11289         r=`${PWD_COMMAND}`; export r; \
11290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291         CC="$(CC)"; export CC; \
11292         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11293         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11294         CXX="$(CXX)"; export CXX; \
11295         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11296         AR="$(AR)"; export AR; \
11297         AS="$(AS)"; export AS; \
11298         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11299         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11300         LD="$(LD)"; export LD; \
11301         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11302         NM="$(NM)"; export NM; \
11303         RANLIB="$(RANLIB)"; export RANLIB; \
11304         WINDRES="$(WINDRES)"; export WINDRES; \
11305         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11306         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11307         echo Configuring in make; \
11308         cd make || exit 1; \
11309         case $(srcdir) in \
11310           \.) \
11311             srcdiroption="--srcdir=."; \
11312             libsrcdir=".";; \
11313           /* | [A-Za-z]:[\\/]*) \
11314             srcdiroption="--srcdir=$(srcdir)/make"; \
11315             libsrcdir="$$s/make";; \
11316           *) \
11317             srcdiroption="--srcdir=../$(srcdir)/make"; \
11318             libsrcdir="$$s/make";; \
11319         esac; \
11320         $(SHELL) $${libsrcdir}/configure \
11321           $(HOST_CONFIGARGS) $${srcdiroption} \
11322           || exit 1
11323
11324 .PHONY: all-make maybe-all-make
11325 maybe-all-make:
11326 all-make: configure-make
11327         @r=`${PWD_COMMAND}`; export r; \
11328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329         $(SET_LIB_PATH) \
11330         (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
11331
11332 .PHONY: check-make maybe-check-make
11333 maybe-check-make:
11334
11335 check-make:
11336         @r=`${PWD_COMMAND}`; export r; \
11337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11338         $(SET_LIB_PATH) \
11339         (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
11340
11341
11342 .PHONY: install-make maybe-install-make
11343 maybe-install-make:
11344
11345 install-make: installdirs
11346         @r=`${PWD_COMMAND}`; export r; \
11347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11348         $(SET_LIB_PATH) \
11349         (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
11350
11351
11352 # Other targets (info, dvi, etc.)
11353
11354 .PHONY: maybe-info-make info-make
11355 maybe-info-make:
11356
11357 info-make: \
11358     configure-make 
11359         @[ -f ./make/Makefile ] || exit 0; \
11360         r=`${PWD_COMMAND}`; export r; \
11361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11362         $(SET_LIB_PATH) \
11363         for flag in $(EXTRA_HOST_FLAGS); do \
11364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11365         done; \
11366         echo "Doing info in make" ; \
11367         (cd make && \
11368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11370                   "RANLIB=$${RANLIB}" \
11371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11372                   info) \
11373           || exit 1
11374
11375
11376 .PHONY: maybe-dvi-make dvi-make
11377 maybe-dvi-make:
11378
11379 dvi-make: \
11380     configure-make 
11381         @[ -f ./make/Makefile ] || exit 0; \
11382         r=`${PWD_COMMAND}`; export r; \
11383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11384         $(SET_LIB_PATH) \
11385         for flag in $(EXTRA_HOST_FLAGS); do \
11386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11387         done; \
11388         echo "Doing dvi in make" ; \
11389         (cd make && \
11390           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11391                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11392                   "RANLIB=$${RANLIB}" \
11393                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11394                   dvi) \
11395           || exit 1
11396
11397
11398 .PHONY: maybe-TAGS-make TAGS-make
11399 maybe-TAGS-make:
11400
11401 TAGS-make: \
11402     configure-make 
11403         @[ -f ./make/Makefile ] || exit 0; \
11404         r=`${PWD_COMMAND}`; export r; \
11405         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11406         $(SET_LIB_PATH) \
11407         for flag in $(EXTRA_HOST_FLAGS); do \
11408           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11409         done; \
11410         echo "Doing TAGS in make" ; \
11411         (cd make && \
11412           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414                   "RANLIB=$${RANLIB}" \
11415                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11416                   TAGS) \
11417           || exit 1
11418
11419
11420 .PHONY: maybe-install-info-make install-info-make
11421 maybe-install-info-make:
11422
11423 install-info-make: \
11424     configure-make \
11425     info-make 
11426         @[ -f ./make/Makefile ] || exit 0; \
11427         r=`${PWD_COMMAND}`; export r; \
11428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429         $(SET_LIB_PATH) \
11430         for flag in $(EXTRA_HOST_FLAGS); do \
11431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11432         done; \
11433         echo "Doing install-info in make" ; \
11434         (cd make && \
11435           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11436                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11437                   "RANLIB=$${RANLIB}" \
11438                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11439                   install-info) \
11440           || exit 1
11441
11442
11443 .PHONY: maybe-installcheck-make installcheck-make
11444 maybe-installcheck-make:
11445
11446 installcheck-make: \
11447     configure-make 
11448         @[ -f ./make/Makefile ] || exit 0; \
11449         r=`${PWD_COMMAND}`; export r; \
11450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451         $(SET_LIB_PATH) \
11452         for flag in $(EXTRA_HOST_FLAGS); do \
11453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11454         done; \
11455         echo "Doing installcheck in make" ; \
11456         (cd make && \
11457           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11458                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11459                   "RANLIB=$${RANLIB}" \
11460                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11461                   installcheck) \
11462           || exit 1
11463
11464
11465 .PHONY: maybe-mostlyclean-make mostlyclean-make
11466 maybe-mostlyclean-make:
11467
11468 mostlyclean-make: 
11469         @[ -f ./make/Makefile ] || exit 0; \
11470         r=`${PWD_COMMAND}`; export r; \
11471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472         $(SET_LIB_PATH) \
11473         for flag in $(EXTRA_HOST_FLAGS); do \
11474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11475         done; \
11476         echo "Doing mostlyclean in make" ; \
11477         (cd make && \
11478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11480                   "RANLIB=$${RANLIB}" \
11481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11482                   mostlyclean) \
11483           || exit 1
11484
11485
11486 .PHONY: maybe-clean-make clean-make
11487 maybe-clean-make:
11488
11489 clean-make: 
11490         @[ -f ./make/Makefile ] || exit 0; \
11491         r=`${PWD_COMMAND}`; export r; \
11492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493         $(SET_LIB_PATH) \
11494         for flag in $(EXTRA_HOST_FLAGS); do \
11495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496         done; \
11497         echo "Doing clean in make" ; \
11498         (cd make && \
11499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501                   "RANLIB=$${RANLIB}" \
11502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503                   clean) \
11504           || exit 1
11505
11506
11507 .PHONY: maybe-distclean-make distclean-make
11508 maybe-distclean-make:
11509
11510 distclean-make: 
11511         @[ -f ./make/Makefile ] || exit 0; \
11512         r=`${PWD_COMMAND}`; export r; \
11513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11514         $(SET_LIB_PATH) \
11515         for flag in $(EXTRA_HOST_FLAGS); do \
11516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11517         done; \
11518         echo "Doing distclean in make" ; \
11519         (cd make && \
11520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522                   "RANLIB=$${RANLIB}" \
11523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524                   distclean) \
11525           || exit 1
11526
11527
11528 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
11529 maybe-maintainer-clean-make:
11530
11531 maintainer-clean-make: 
11532         @[ -f ./make/Makefile ] || exit 0; \
11533         r=`${PWD_COMMAND}`; export r; \
11534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535         $(SET_LIB_PATH) \
11536         for flag in $(EXTRA_HOST_FLAGS); do \
11537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11538         done; \
11539         echo "Doing maintainer-clean in make" ; \
11540         (cd make && \
11541           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11542                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11543                   "RANLIB=$${RANLIB}" \
11544                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11545                   maintainer-clean) \
11546           || exit 1
11547
11548
11549
11550 .PHONY: configure-mmalloc maybe-configure-mmalloc
11551 maybe-configure-mmalloc:
11552 configure-mmalloc:
11553         @test ! -f mmalloc/Makefile || exit 0; \
11554         [ -d mmalloc ] || mkdir mmalloc; \
11555         r=`${PWD_COMMAND}`; export r; \
11556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557         CC="$(CC)"; export CC; \
11558         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11559         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11560         CXX="$(CXX)"; export CXX; \
11561         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11562         AR="$(AR)"; export AR; \
11563         AS="$(AS)"; export AS; \
11564         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11565         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11566         LD="$(LD)"; export LD; \
11567         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11568         NM="$(NM)"; export NM; \
11569         RANLIB="$(RANLIB)"; export RANLIB; \
11570         WINDRES="$(WINDRES)"; export WINDRES; \
11571         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11572         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11573         echo Configuring in mmalloc; \
11574         cd mmalloc || exit 1; \
11575         case $(srcdir) in \
11576           \.) \
11577             srcdiroption="--srcdir=."; \
11578             libsrcdir=".";; \
11579           /* | [A-Za-z]:[\\/]*) \
11580             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
11581             libsrcdir="$$s/mmalloc";; \
11582           *) \
11583             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
11584             libsrcdir="$$s/mmalloc";; \
11585         esac; \
11586         $(SHELL) $${libsrcdir}/configure \
11587           $(HOST_CONFIGARGS) $${srcdiroption} \
11588           || exit 1
11589
11590 .PHONY: all-mmalloc maybe-all-mmalloc
11591 maybe-all-mmalloc:
11592 all-mmalloc: configure-mmalloc
11593         @r=`${PWD_COMMAND}`; export r; \
11594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11595         $(SET_LIB_PATH) \
11596         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
11597
11598 .PHONY: check-mmalloc maybe-check-mmalloc
11599 maybe-check-mmalloc:
11600
11601 check-mmalloc:
11602
11603
11604 .PHONY: install-mmalloc maybe-install-mmalloc
11605 maybe-install-mmalloc:
11606
11607 install-mmalloc: installdirs
11608         @r=`${PWD_COMMAND}`; export r; \
11609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610         $(SET_LIB_PATH) \
11611         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
11612
11613
11614 # Other targets (info, dvi, etc.)
11615
11616 .PHONY: maybe-info-mmalloc info-mmalloc
11617 maybe-info-mmalloc:
11618
11619 info-mmalloc: \
11620     configure-mmalloc 
11621         @[ -f ./mmalloc/Makefile ] || exit 0; \
11622         r=`${PWD_COMMAND}`; export r; \
11623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11624         $(SET_LIB_PATH) \
11625         for flag in $(EXTRA_HOST_FLAGS); do \
11626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11627         done; \
11628         echo "Doing info in mmalloc" ; \
11629         (cd mmalloc && \
11630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11632                   "RANLIB=$${RANLIB}" \
11633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11634                   info) \
11635           || exit 1
11636
11637
11638 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
11639 maybe-dvi-mmalloc:
11640
11641 dvi-mmalloc: \
11642     configure-mmalloc 
11643         @[ -f ./mmalloc/Makefile ] || exit 0; \
11644         r=`${PWD_COMMAND}`; export r; \
11645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646         $(SET_LIB_PATH) \
11647         for flag in $(EXTRA_HOST_FLAGS); do \
11648           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11649         done; \
11650         echo "Doing dvi in mmalloc" ; \
11651         (cd mmalloc && \
11652           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11653                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11654                   "RANLIB=$${RANLIB}" \
11655                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11656                   dvi) \
11657           || exit 1
11658
11659
11660 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
11661 maybe-TAGS-mmalloc:
11662
11663 TAGS-mmalloc: \
11664     configure-mmalloc 
11665         @[ -f ./mmalloc/Makefile ] || exit 0; \
11666         r=`${PWD_COMMAND}`; export r; \
11667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11668         $(SET_LIB_PATH) \
11669         for flag in $(EXTRA_HOST_FLAGS); do \
11670           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11671         done; \
11672         echo "Doing TAGS in mmalloc" ; \
11673         (cd mmalloc && \
11674           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11675                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11676                   "RANLIB=$${RANLIB}" \
11677                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11678                   TAGS) \
11679           || exit 1
11680
11681
11682 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
11683 maybe-install-info-mmalloc:
11684
11685 install-info-mmalloc: \
11686     configure-mmalloc \
11687     info-mmalloc 
11688         @[ -f ./mmalloc/Makefile ] || exit 0; \
11689         r=`${PWD_COMMAND}`; export r; \
11690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691         $(SET_LIB_PATH) \
11692         for flag in $(EXTRA_HOST_FLAGS); do \
11693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11694         done; \
11695         echo "Doing install-info in mmalloc" ; \
11696         (cd mmalloc && \
11697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11699                   "RANLIB=$${RANLIB}" \
11700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11701                   install-info) \
11702           || exit 1
11703
11704
11705 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
11706 maybe-installcheck-mmalloc:
11707
11708 installcheck-mmalloc: \
11709     configure-mmalloc 
11710         @[ -f ./mmalloc/Makefile ] || exit 0; \
11711         r=`${PWD_COMMAND}`; export r; \
11712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11713         $(SET_LIB_PATH) \
11714         for flag in $(EXTRA_HOST_FLAGS); do \
11715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716         done; \
11717         echo "Doing installcheck in mmalloc" ; \
11718         (cd mmalloc && \
11719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721                   "RANLIB=$${RANLIB}" \
11722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723                   installcheck) \
11724           || exit 1
11725
11726
11727 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11728 maybe-mostlyclean-mmalloc:
11729
11730 mostlyclean-mmalloc: 
11731         @[ -f ./mmalloc/Makefile ] || exit 0; \
11732         r=`${PWD_COMMAND}`; export r; \
11733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734         $(SET_LIB_PATH) \
11735         for flag in $(EXTRA_HOST_FLAGS); do \
11736           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11737         done; \
11738         echo "Doing mostlyclean in mmalloc" ; \
11739         (cd mmalloc && \
11740           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742                   "RANLIB=$${RANLIB}" \
11743                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11744                   mostlyclean) \
11745           || exit 1
11746
11747
11748 .PHONY: maybe-clean-mmalloc clean-mmalloc
11749 maybe-clean-mmalloc:
11750
11751 clean-mmalloc: 
11752         @[ -f ./mmalloc/Makefile ] || exit 0; \
11753         r=`${PWD_COMMAND}`; export r; \
11754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11755         $(SET_LIB_PATH) \
11756         for flag in $(EXTRA_HOST_FLAGS); do \
11757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11758         done; \
11759         echo "Doing clean in mmalloc" ; \
11760         (cd mmalloc && \
11761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11763                   "RANLIB=$${RANLIB}" \
11764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11765                   clean) \
11766           || exit 1
11767
11768
11769 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
11770 maybe-distclean-mmalloc:
11771
11772 distclean-mmalloc: 
11773         @[ -f ./mmalloc/Makefile ] || exit 0; \
11774         r=`${PWD_COMMAND}`; export r; \
11775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11776         $(SET_LIB_PATH) \
11777         for flag in $(EXTRA_HOST_FLAGS); do \
11778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11779         done; \
11780         echo "Doing distclean in mmalloc" ; \
11781         (cd mmalloc && \
11782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11784                   "RANLIB=$${RANLIB}" \
11785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11786                   distclean) \
11787           || exit 1
11788
11789
11790 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
11791 maybe-maintainer-clean-mmalloc:
11792
11793 maintainer-clean-mmalloc: 
11794         @[ -f ./mmalloc/Makefile ] || exit 0; \
11795         r=`${PWD_COMMAND}`; export r; \
11796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11797         $(SET_LIB_PATH) \
11798         for flag in $(EXTRA_HOST_FLAGS); do \
11799           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11800         done; \
11801         echo "Doing maintainer-clean in mmalloc" ; \
11802         (cd mmalloc && \
11803           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11804                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11805                   "RANLIB=$${RANLIB}" \
11806                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11807                   maintainer-clean) \
11808           || exit 1
11809
11810
11811
11812 .PHONY: configure-patch maybe-configure-patch
11813 maybe-configure-patch:
11814 configure-patch:
11815         @test ! -f patch/Makefile || exit 0; \
11816         [ -d patch ] || mkdir patch; \
11817         r=`${PWD_COMMAND}`; export r; \
11818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11819         CC="$(CC)"; export CC; \
11820         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11821         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11822         CXX="$(CXX)"; export CXX; \
11823         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11824         AR="$(AR)"; export AR; \
11825         AS="$(AS)"; export AS; \
11826         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11827         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11828         LD="$(LD)"; export LD; \
11829         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11830         NM="$(NM)"; export NM; \
11831         RANLIB="$(RANLIB)"; export RANLIB; \
11832         WINDRES="$(WINDRES)"; export WINDRES; \
11833         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11834         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11835         echo Configuring in patch; \
11836         cd patch || exit 1; \
11837         case $(srcdir) in \
11838           \.) \
11839             srcdiroption="--srcdir=."; \
11840             libsrcdir=".";; \
11841           /* | [A-Za-z]:[\\/]*) \
11842             srcdiroption="--srcdir=$(srcdir)/patch"; \
11843             libsrcdir="$$s/patch";; \
11844           *) \
11845             srcdiroption="--srcdir=../$(srcdir)/patch"; \
11846             libsrcdir="$$s/patch";; \
11847         esac; \
11848         $(SHELL) $${libsrcdir}/configure \
11849           $(HOST_CONFIGARGS) $${srcdiroption} \
11850           || exit 1
11851
11852 .PHONY: all-patch maybe-all-patch
11853 maybe-all-patch:
11854 all-patch: configure-patch
11855         @r=`${PWD_COMMAND}`; export r; \
11856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857         $(SET_LIB_PATH) \
11858         (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
11859
11860 .PHONY: check-patch maybe-check-patch
11861 maybe-check-patch:
11862
11863 check-patch:
11864         @r=`${PWD_COMMAND}`; export r; \
11865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866         $(SET_LIB_PATH) \
11867         (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
11868
11869
11870 .PHONY: install-patch maybe-install-patch
11871 maybe-install-patch:
11872
11873 install-patch: installdirs
11874         @r=`${PWD_COMMAND}`; export r; \
11875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11876         $(SET_LIB_PATH) \
11877         (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
11878
11879
11880 # Other targets (info, dvi, etc.)
11881
11882 .PHONY: maybe-info-patch info-patch
11883 maybe-info-patch:
11884
11885 info-patch: \
11886     configure-patch 
11887         @[ -f ./patch/Makefile ] || exit 0; \
11888         r=`${PWD_COMMAND}`; export r; \
11889         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11890         $(SET_LIB_PATH) \
11891         for flag in $(EXTRA_HOST_FLAGS); do \
11892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11893         done; \
11894         echo "Doing info in patch" ; \
11895         (cd patch && \
11896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11898                   "RANLIB=$${RANLIB}" \
11899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11900                   info) \
11901           || exit 1
11902
11903
11904 .PHONY: maybe-dvi-patch dvi-patch
11905 maybe-dvi-patch:
11906
11907 dvi-patch: \
11908     configure-patch 
11909         @[ -f ./patch/Makefile ] || exit 0; \
11910         r=`${PWD_COMMAND}`; export r; \
11911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912         $(SET_LIB_PATH) \
11913         for flag in $(EXTRA_HOST_FLAGS); do \
11914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11915         done; \
11916         echo "Doing dvi in patch" ; \
11917         (cd patch && \
11918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920                   "RANLIB=$${RANLIB}" \
11921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11922                   dvi) \
11923           || exit 1
11924
11925
11926 .PHONY: maybe-TAGS-patch TAGS-patch
11927 maybe-TAGS-patch:
11928
11929 TAGS-patch: \
11930     configure-patch 
11931         @[ -f ./patch/Makefile ] || exit 0; \
11932         r=`${PWD_COMMAND}`; export r; \
11933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934         $(SET_LIB_PATH) \
11935         for flag in $(EXTRA_HOST_FLAGS); do \
11936           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937         done; \
11938         echo "Doing TAGS in patch" ; \
11939         (cd patch && \
11940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942                   "RANLIB=$${RANLIB}" \
11943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11944                   TAGS) \
11945           || exit 1
11946
11947
11948 .PHONY: maybe-install-info-patch install-info-patch
11949 maybe-install-info-patch:
11950
11951 install-info-patch: \
11952     configure-patch \
11953     info-patch 
11954         @[ -f ./patch/Makefile ] || exit 0; \
11955         r=`${PWD_COMMAND}`; export r; \
11956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11957         $(SET_LIB_PATH) \
11958         for flag in $(EXTRA_HOST_FLAGS); do \
11959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11960         done; \
11961         echo "Doing install-info in patch" ; \
11962         (cd patch && \
11963           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965                   "RANLIB=$${RANLIB}" \
11966                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11967                   install-info) \
11968           || exit 1
11969
11970
11971 .PHONY: maybe-installcheck-patch installcheck-patch
11972 maybe-installcheck-patch:
11973
11974 installcheck-patch: \
11975     configure-patch 
11976         @[ -f ./patch/Makefile ] || exit 0; \
11977         r=`${PWD_COMMAND}`; export r; \
11978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979         $(SET_LIB_PATH) \
11980         for flag in $(EXTRA_HOST_FLAGS); do \
11981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11982         done; \
11983         echo "Doing installcheck in patch" ; \
11984         (cd patch && \
11985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987                   "RANLIB=$${RANLIB}" \
11988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11989                   installcheck) \
11990           || exit 1
11991
11992
11993 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11994 maybe-mostlyclean-patch:
11995
11996 mostlyclean-patch: 
11997         @[ -f ./patch/Makefile ] || exit 0; \
11998         r=`${PWD_COMMAND}`; export r; \
11999         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12000         $(SET_LIB_PATH) \
12001         for flag in $(EXTRA_HOST_FLAGS); do \
12002           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003         done; \
12004         echo "Doing mostlyclean in patch" ; \
12005         (cd patch && \
12006           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008                   "RANLIB=$${RANLIB}" \
12009                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12010                   mostlyclean) \
12011           || exit 1
12012
12013
12014 .PHONY: maybe-clean-patch clean-patch
12015 maybe-clean-patch:
12016
12017 clean-patch: 
12018         @[ -f ./patch/Makefile ] || exit 0; \
12019         r=`${PWD_COMMAND}`; export r; \
12020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12021         $(SET_LIB_PATH) \
12022         for flag in $(EXTRA_HOST_FLAGS); do \
12023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12024         done; \
12025         echo "Doing clean in patch" ; \
12026         (cd patch && \
12027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12029                   "RANLIB=$${RANLIB}" \
12030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12031                   clean) \
12032           || exit 1
12033
12034
12035 .PHONY: maybe-distclean-patch distclean-patch
12036 maybe-distclean-patch:
12037
12038 distclean-patch: 
12039         @[ -f ./patch/Makefile ] || exit 0; \
12040         r=`${PWD_COMMAND}`; export r; \
12041         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12042         $(SET_LIB_PATH) \
12043         for flag in $(EXTRA_HOST_FLAGS); do \
12044           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12045         done; \
12046         echo "Doing distclean in patch" ; \
12047         (cd patch && \
12048           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12049                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12050                   "RANLIB=$${RANLIB}" \
12051                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12052                   distclean) \
12053           || exit 1
12054
12055
12056 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
12057 maybe-maintainer-clean-patch:
12058
12059 maintainer-clean-patch: 
12060         @[ -f ./patch/Makefile ] || exit 0; \
12061         r=`${PWD_COMMAND}`; export r; \
12062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063         $(SET_LIB_PATH) \
12064         for flag in $(EXTRA_HOST_FLAGS); do \
12065           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066         done; \
12067         echo "Doing maintainer-clean in patch" ; \
12068         (cd patch && \
12069           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071                   "RANLIB=$${RANLIB}" \
12072                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073                   maintainer-clean) \
12074           || exit 1
12075
12076
12077
12078 .PHONY: configure-perl maybe-configure-perl
12079 maybe-configure-perl:
12080 configure-perl:
12081         @test ! -f perl/Makefile || exit 0; \
12082         [ -d perl ] || mkdir perl; \
12083         r=`${PWD_COMMAND}`; export r; \
12084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085         CC="$(CC)"; export CC; \
12086         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12087         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12088         CXX="$(CXX)"; export CXX; \
12089         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12090         AR="$(AR)"; export AR; \
12091         AS="$(AS)"; export AS; \
12092         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12093         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12094         LD="$(LD)"; export LD; \
12095         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12096         NM="$(NM)"; export NM; \
12097         RANLIB="$(RANLIB)"; export RANLIB; \
12098         WINDRES="$(WINDRES)"; export WINDRES; \
12099         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12100         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12101         echo Configuring in perl; \
12102         cd perl || exit 1; \
12103         case $(srcdir) in \
12104           \.) \
12105             srcdiroption="--srcdir=."; \
12106             libsrcdir=".";; \
12107           /* | [A-Za-z]:[\\/]*) \
12108             srcdiroption="--srcdir=$(srcdir)/perl"; \
12109             libsrcdir="$$s/perl";; \
12110           *) \
12111             srcdiroption="--srcdir=../$(srcdir)/perl"; \
12112             libsrcdir="$$s/perl";; \
12113         esac; \
12114         $(SHELL) $${libsrcdir}/configure \
12115           $(HOST_CONFIGARGS) $${srcdiroption} \
12116           || exit 1
12117
12118 .PHONY: all-perl maybe-all-perl
12119 maybe-all-perl:
12120 all-perl: configure-perl
12121         @r=`${PWD_COMMAND}`; export r; \
12122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12123         $(SET_LIB_PATH) \
12124         (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
12125
12126 .PHONY: check-perl maybe-check-perl
12127 maybe-check-perl:
12128
12129 check-perl:
12130         @r=`${PWD_COMMAND}`; export r; \
12131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132         $(SET_LIB_PATH) \
12133         (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
12134
12135
12136 .PHONY: install-perl maybe-install-perl
12137 maybe-install-perl:
12138
12139 install-perl: installdirs
12140         @r=`${PWD_COMMAND}`; export r; \
12141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12142         $(SET_LIB_PATH) \
12143         (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
12144
12145
12146 # Other targets (info, dvi, etc.)
12147
12148 .PHONY: maybe-info-perl info-perl
12149 maybe-info-perl:
12150
12151 info-perl: \
12152     configure-perl 
12153         @[ -f ./perl/Makefile ] || exit 0; \
12154         r=`${PWD_COMMAND}`; export r; \
12155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12156         $(SET_LIB_PATH) \
12157         for flag in $(EXTRA_HOST_FLAGS); do \
12158           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12159         done; \
12160         echo "Doing info in perl" ; \
12161         (cd perl && \
12162           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12163                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12164                   "RANLIB=$${RANLIB}" \
12165                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12166                   info) \
12167           || exit 1
12168
12169
12170 .PHONY: maybe-dvi-perl dvi-perl
12171 maybe-dvi-perl:
12172
12173 dvi-perl: \
12174     configure-perl 
12175         @[ -f ./perl/Makefile ] || exit 0; \
12176         r=`${PWD_COMMAND}`; export r; \
12177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178         $(SET_LIB_PATH) \
12179         for flag in $(EXTRA_HOST_FLAGS); do \
12180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12181         done; \
12182         echo "Doing dvi in perl" ; \
12183         (cd perl && \
12184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12186                   "RANLIB=$${RANLIB}" \
12187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12188                   dvi) \
12189           || exit 1
12190
12191
12192 .PHONY: maybe-TAGS-perl TAGS-perl
12193 maybe-TAGS-perl:
12194
12195 TAGS-perl: \
12196     configure-perl 
12197         @[ -f ./perl/Makefile ] || exit 0; \
12198         r=`${PWD_COMMAND}`; export r; \
12199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200         $(SET_LIB_PATH) \
12201         for flag in $(EXTRA_HOST_FLAGS); do \
12202           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12203         done; \
12204         echo "Doing TAGS in perl" ; \
12205         (cd perl && \
12206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12208                   "RANLIB=$${RANLIB}" \
12209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12210                   TAGS) \
12211           || exit 1
12212
12213
12214 .PHONY: maybe-install-info-perl install-info-perl
12215 maybe-install-info-perl:
12216
12217 install-info-perl: \
12218     configure-perl \
12219     info-perl 
12220         @[ -f ./perl/Makefile ] || exit 0; \
12221         r=`${PWD_COMMAND}`; export r; \
12222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223         $(SET_LIB_PATH) \
12224         for flag in $(EXTRA_HOST_FLAGS); do \
12225           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12226         done; \
12227         echo "Doing install-info in perl" ; \
12228         (cd perl && \
12229           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12230                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12231                   "RANLIB=$${RANLIB}" \
12232                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12233                   install-info) \
12234           || exit 1
12235
12236
12237 .PHONY: maybe-installcheck-perl installcheck-perl
12238 maybe-installcheck-perl:
12239
12240 installcheck-perl: \
12241     configure-perl 
12242         @[ -f ./perl/Makefile ] || exit 0; \
12243         r=`${PWD_COMMAND}`; export r; \
12244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245         $(SET_LIB_PATH) \
12246         for flag in $(EXTRA_HOST_FLAGS); do \
12247           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12248         done; \
12249         echo "Doing installcheck in perl" ; \
12250         (cd perl && \
12251           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12252                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12253                   "RANLIB=$${RANLIB}" \
12254                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12255                   installcheck) \
12256           || exit 1
12257
12258
12259 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
12260 maybe-mostlyclean-perl:
12261
12262 mostlyclean-perl: 
12263         @[ -f ./perl/Makefile ] || exit 0; \
12264         r=`${PWD_COMMAND}`; export r; \
12265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266         $(SET_LIB_PATH) \
12267         for flag in $(EXTRA_HOST_FLAGS); do \
12268           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12269         done; \
12270         echo "Doing mostlyclean in perl" ; \
12271         (cd perl && \
12272           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274                   "RANLIB=$${RANLIB}" \
12275                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12276                   mostlyclean) \
12277           || exit 1
12278
12279
12280 .PHONY: maybe-clean-perl clean-perl
12281 maybe-clean-perl:
12282
12283 clean-perl: 
12284         @[ -f ./perl/Makefile ] || exit 0; \
12285         r=`${PWD_COMMAND}`; export r; \
12286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287         $(SET_LIB_PATH) \
12288         for flag in $(EXTRA_HOST_FLAGS); do \
12289           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12290         done; \
12291         echo "Doing clean in perl" ; \
12292         (cd perl && \
12293           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295                   "RANLIB=$${RANLIB}" \
12296                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12297                   clean) \
12298           || exit 1
12299
12300
12301 .PHONY: maybe-distclean-perl distclean-perl
12302 maybe-distclean-perl:
12303
12304 distclean-perl: 
12305         @[ -f ./perl/Makefile ] || exit 0; \
12306         r=`${PWD_COMMAND}`; export r; \
12307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12308         $(SET_LIB_PATH) \
12309         for flag in $(EXTRA_HOST_FLAGS); do \
12310           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12311         done; \
12312         echo "Doing distclean in perl" ; \
12313         (cd perl && \
12314           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12315                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12316                   "RANLIB=$${RANLIB}" \
12317                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12318                   distclean) \
12319           || exit 1
12320
12321
12322 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
12323 maybe-maintainer-clean-perl:
12324
12325 maintainer-clean-perl: 
12326         @[ -f ./perl/Makefile ] || exit 0; \
12327         r=`${PWD_COMMAND}`; export r; \
12328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329         $(SET_LIB_PATH) \
12330         for flag in $(EXTRA_HOST_FLAGS); do \
12331           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12332         done; \
12333         echo "Doing maintainer-clean in perl" ; \
12334         (cd perl && \
12335           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337                   "RANLIB=$${RANLIB}" \
12338                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12339                   maintainer-clean) \
12340           || exit 1
12341
12342
12343
12344 .PHONY: configure-prms maybe-configure-prms
12345 maybe-configure-prms:
12346 configure-prms:
12347         @test ! -f prms/Makefile || exit 0; \
12348         [ -d prms ] || mkdir prms; \
12349         r=`${PWD_COMMAND}`; export r; \
12350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12351         CC="$(CC)"; export CC; \
12352         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12353         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12354         CXX="$(CXX)"; export CXX; \
12355         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12356         AR="$(AR)"; export AR; \
12357         AS="$(AS)"; export AS; \
12358         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12359         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12360         LD="$(LD)"; export LD; \
12361         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12362         NM="$(NM)"; export NM; \
12363         RANLIB="$(RANLIB)"; export RANLIB; \
12364         WINDRES="$(WINDRES)"; export WINDRES; \
12365         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12366         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12367         echo Configuring in prms; \
12368         cd prms || exit 1; \
12369         case $(srcdir) in \
12370           \.) \
12371             srcdiroption="--srcdir=."; \
12372             libsrcdir=".";; \
12373           /* | [A-Za-z]:[\\/]*) \
12374             srcdiroption="--srcdir=$(srcdir)/prms"; \
12375             libsrcdir="$$s/prms";; \
12376           *) \
12377             srcdiroption="--srcdir=../$(srcdir)/prms"; \
12378             libsrcdir="$$s/prms";; \
12379         esac; \
12380         $(SHELL) $${libsrcdir}/configure \
12381           $(HOST_CONFIGARGS) $${srcdiroption} \
12382           || exit 1
12383
12384 .PHONY: all-prms maybe-all-prms
12385 maybe-all-prms:
12386 all-prms: configure-prms
12387         @r=`${PWD_COMMAND}`; export r; \
12388         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12389         $(SET_LIB_PATH) \
12390         (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
12391
12392 .PHONY: check-prms maybe-check-prms
12393 maybe-check-prms:
12394
12395 check-prms:
12396         @r=`${PWD_COMMAND}`; export r; \
12397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398         $(SET_LIB_PATH) \
12399         (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
12400
12401
12402 .PHONY: install-prms maybe-install-prms
12403 maybe-install-prms:
12404
12405 install-prms: installdirs
12406         @r=`${PWD_COMMAND}`; export r; \
12407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408         $(SET_LIB_PATH) \
12409         (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
12410
12411
12412 # Other targets (info, dvi, etc.)
12413
12414 .PHONY: maybe-info-prms info-prms
12415 maybe-info-prms:
12416
12417 info-prms: \
12418     configure-prms 
12419         @[ -f ./prms/Makefile ] || exit 0; \
12420         r=`${PWD_COMMAND}`; export r; \
12421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12422         $(SET_LIB_PATH) \
12423         for flag in $(EXTRA_HOST_FLAGS); do \
12424           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12425         done; \
12426         echo "Doing info in prms" ; \
12427         (cd prms && \
12428           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12429                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12430                   "RANLIB=$${RANLIB}" \
12431                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12432                   info) \
12433           || exit 1
12434
12435
12436 .PHONY: maybe-dvi-prms dvi-prms
12437 maybe-dvi-prms:
12438
12439 dvi-prms: \
12440     configure-prms 
12441         @[ -f ./prms/Makefile ] || exit 0; \
12442         r=`${PWD_COMMAND}`; export r; \
12443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444         $(SET_LIB_PATH) \
12445         for flag in $(EXTRA_HOST_FLAGS); do \
12446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12447         done; \
12448         echo "Doing dvi in prms" ; \
12449         (cd prms && \
12450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452                   "RANLIB=$${RANLIB}" \
12453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12454                   dvi) \
12455           || exit 1
12456
12457
12458 .PHONY: maybe-TAGS-prms TAGS-prms
12459 maybe-TAGS-prms:
12460
12461 TAGS-prms: \
12462     configure-prms 
12463         @[ -f ./prms/Makefile ] || exit 0; \
12464         r=`${PWD_COMMAND}`; export r; \
12465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12466         $(SET_LIB_PATH) \
12467         for flag in $(EXTRA_HOST_FLAGS); do \
12468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12469         done; \
12470         echo "Doing TAGS in prms" ; \
12471         (cd prms && \
12472           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12473                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12474                   "RANLIB=$${RANLIB}" \
12475                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12476                   TAGS) \
12477           || exit 1
12478
12479
12480 .PHONY: maybe-install-info-prms install-info-prms
12481 maybe-install-info-prms:
12482
12483 install-info-prms: \
12484     configure-prms \
12485     info-prms 
12486         @[ -f ./prms/Makefile ] || exit 0; \
12487         r=`${PWD_COMMAND}`; export r; \
12488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489         $(SET_LIB_PATH) \
12490         for flag in $(EXTRA_HOST_FLAGS); do \
12491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12492         done; \
12493         echo "Doing install-info in prms" ; \
12494         (cd prms && \
12495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497                   "RANLIB=$${RANLIB}" \
12498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12499                   install-info) \
12500           || exit 1
12501
12502
12503 .PHONY: maybe-installcheck-prms installcheck-prms
12504 maybe-installcheck-prms:
12505
12506 installcheck-prms: \
12507     configure-prms 
12508         @[ -f ./prms/Makefile ] || exit 0; \
12509         r=`${PWD_COMMAND}`; export r; \
12510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511         $(SET_LIB_PATH) \
12512         for flag in $(EXTRA_HOST_FLAGS); do \
12513           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12514         done; \
12515         echo "Doing installcheck in prms" ; \
12516         (cd prms && \
12517           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12518                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12519                   "RANLIB=$${RANLIB}" \
12520                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12521                   installcheck) \
12522           || exit 1
12523
12524
12525 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
12526 maybe-mostlyclean-prms:
12527
12528 mostlyclean-prms: 
12529         @[ -f ./prms/Makefile ] || exit 0; \
12530         r=`${PWD_COMMAND}`; export r; \
12531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532         $(SET_LIB_PATH) \
12533         for flag in $(EXTRA_HOST_FLAGS); do \
12534           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12535         done; \
12536         echo "Doing mostlyclean in prms" ; \
12537         (cd prms && \
12538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12540                   "RANLIB=$${RANLIB}" \
12541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12542                   mostlyclean) \
12543           || exit 1
12544
12545
12546 .PHONY: maybe-clean-prms clean-prms
12547 maybe-clean-prms:
12548
12549 clean-prms: 
12550         @[ -f ./prms/Makefile ] || exit 0; \
12551         r=`${PWD_COMMAND}`; export r; \
12552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12553         $(SET_LIB_PATH) \
12554         for flag in $(EXTRA_HOST_FLAGS); do \
12555           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12556         done; \
12557         echo "Doing clean in prms" ; \
12558         (cd prms && \
12559           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12560                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12561                   "RANLIB=$${RANLIB}" \
12562                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12563                   clean) \
12564           || exit 1
12565
12566
12567 .PHONY: maybe-distclean-prms distclean-prms
12568 maybe-distclean-prms:
12569
12570 distclean-prms: 
12571         @[ -f ./prms/Makefile ] || exit 0; \
12572         r=`${PWD_COMMAND}`; export r; \
12573         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12574         $(SET_LIB_PATH) \
12575         for flag in $(EXTRA_HOST_FLAGS); do \
12576           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12577         done; \
12578         echo "Doing distclean in prms" ; \
12579         (cd prms && \
12580           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12581                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12582                   "RANLIB=$${RANLIB}" \
12583                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12584                   distclean) \
12585           || exit 1
12586
12587
12588 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
12589 maybe-maintainer-clean-prms:
12590
12591 maintainer-clean-prms: 
12592         @[ -f ./prms/Makefile ] || exit 0; \
12593         r=`${PWD_COMMAND}`; export r; \
12594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12595         $(SET_LIB_PATH) \
12596         for flag in $(EXTRA_HOST_FLAGS); do \
12597           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12598         done; \
12599         echo "Doing maintainer-clean in prms" ; \
12600         (cd prms && \
12601           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12602                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12603                   "RANLIB=$${RANLIB}" \
12604                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12605                   maintainer-clean) \
12606           || exit 1
12607
12608
12609
12610 .PHONY: configure-rcs maybe-configure-rcs
12611 maybe-configure-rcs:
12612 configure-rcs:
12613         @test ! -f rcs/Makefile || exit 0; \
12614         [ -d rcs ] || mkdir rcs; \
12615         r=`${PWD_COMMAND}`; export r; \
12616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12617         CC="$(CC)"; export CC; \
12618         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12619         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12620         CXX="$(CXX)"; export CXX; \
12621         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12622         AR="$(AR)"; export AR; \
12623         AS="$(AS)"; export AS; \
12624         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12625         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12626         LD="$(LD)"; export LD; \
12627         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12628         NM="$(NM)"; export NM; \
12629         RANLIB="$(RANLIB)"; export RANLIB; \
12630         WINDRES="$(WINDRES)"; export WINDRES; \
12631         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12632         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12633         echo Configuring in rcs; \
12634         cd rcs || exit 1; \
12635         case $(srcdir) in \
12636           \.) \
12637             srcdiroption="--srcdir=."; \
12638             libsrcdir=".";; \
12639           /* | [A-Za-z]:[\\/]*) \
12640             srcdiroption="--srcdir=$(srcdir)/rcs"; \
12641             libsrcdir="$$s/rcs";; \
12642           *) \
12643             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
12644             libsrcdir="$$s/rcs";; \
12645         esac; \
12646         $(SHELL) $${libsrcdir}/configure \
12647           $(HOST_CONFIGARGS) $${srcdiroption} \
12648           || exit 1
12649
12650 .PHONY: all-rcs maybe-all-rcs
12651 maybe-all-rcs:
12652 all-rcs: configure-rcs
12653         @r=`${PWD_COMMAND}`; export r; \
12654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12655         $(SET_LIB_PATH) \
12656         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
12657
12658 .PHONY: check-rcs maybe-check-rcs
12659 maybe-check-rcs:
12660
12661 check-rcs:
12662         @r=`${PWD_COMMAND}`; export r; \
12663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12664         $(SET_LIB_PATH) \
12665         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
12666
12667
12668 .PHONY: install-rcs maybe-install-rcs
12669 maybe-install-rcs:
12670
12671 install-rcs: installdirs
12672         @r=`${PWD_COMMAND}`; export r; \
12673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674         $(SET_LIB_PATH) \
12675         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
12676
12677
12678 # Other targets (info, dvi, etc.)
12679
12680 .PHONY: maybe-info-rcs info-rcs
12681 maybe-info-rcs:
12682
12683 info-rcs: \
12684     configure-rcs 
12685         @[ -f ./rcs/Makefile ] || exit 0; \
12686         r=`${PWD_COMMAND}`; export r; \
12687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12688         $(SET_LIB_PATH) \
12689         for flag in $(EXTRA_HOST_FLAGS); do \
12690           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12691         done; \
12692         echo "Doing info in rcs" ; \
12693         (cd rcs && \
12694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12696                   "RANLIB=$${RANLIB}" \
12697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12698                   info) \
12699           || exit 1
12700
12701
12702 .PHONY: maybe-dvi-rcs dvi-rcs
12703 maybe-dvi-rcs:
12704
12705 dvi-rcs: \
12706     configure-rcs 
12707         @[ -f ./rcs/Makefile ] || exit 0; \
12708         r=`${PWD_COMMAND}`; export r; \
12709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12710         $(SET_LIB_PATH) \
12711         for flag in $(EXTRA_HOST_FLAGS); do \
12712           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12713         done; \
12714         echo "Doing dvi in rcs" ; \
12715         (cd rcs && \
12716           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12717                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12718                   "RANLIB=$${RANLIB}" \
12719                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12720                   dvi) \
12721           || exit 1
12722
12723
12724 .PHONY: maybe-TAGS-rcs TAGS-rcs
12725 maybe-TAGS-rcs:
12726
12727 TAGS-rcs: \
12728     configure-rcs 
12729         @[ -f ./rcs/Makefile ] || exit 0; \
12730         r=`${PWD_COMMAND}`; export r; \
12731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732         $(SET_LIB_PATH) \
12733         for flag in $(EXTRA_HOST_FLAGS); do \
12734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12735         done; \
12736         echo "Doing TAGS in rcs" ; \
12737         (cd rcs && \
12738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740                   "RANLIB=$${RANLIB}" \
12741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12742                   TAGS) \
12743           || exit 1
12744
12745
12746 .PHONY: maybe-install-info-rcs install-info-rcs
12747 maybe-install-info-rcs:
12748
12749 install-info-rcs: \
12750     configure-rcs \
12751     info-rcs 
12752         @[ -f ./rcs/Makefile ] || exit 0; \
12753         r=`${PWD_COMMAND}`; export r; \
12754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755         $(SET_LIB_PATH) \
12756         for flag in $(EXTRA_HOST_FLAGS); do \
12757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12758         done; \
12759         echo "Doing install-info in rcs" ; \
12760         (cd rcs && \
12761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12763                   "RANLIB=$${RANLIB}" \
12764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12765                   install-info) \
12766           || exit 1
12767
12768
12769 .PHONY: maybe-installcheck-rcs installcheck-rcs
12770 maybe-installcheck-rcs:
12771
12772 installcheck-rcs: \
12773     configure-rcs 
12774         @[ -f ./rcs/Makefile ] || exit 0; \
12775         r=`${PWD_COMMAND}`; export r; \
12776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12777         $(SET_LIB_PATH) \
12778         for flag in $(EXTRA_HOST_FLAGS); do \
12779           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12780         done; \
12781         echo "Doing installcheck in rcs" ; \
12782         (cd rcs && \
12783           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12784                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12785                   "RANLIB=$${RANLIB}" \
12786                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12787                   installcheck) \
12788           || exit 1
12789
12790
12791 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
12792 maybe-mostlyclean-rcs:
12793
12794 mostlyclean-rcs: 
12795         @[ -f ./rcs/Makefile ] || exit 0; \
12796         r=`${PWD_COMMAND}`; export r; \
12797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798         $(SET_LIB_PATH) \
12799         for flag in $(EXTRA_HOST_FLAGS); do \
12800           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12801         done; \
12802         echo "Doing mostlyclean in rcs" ; \
12803         (cd rcs && \
12804           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12805                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12806                   "RANLIB=$${RANLIB}" \
12807                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12808                   mostlyclean) \
12809           || exit 1
12810
12811
12812 .PHONY: maybe-clean-rcs clean-rcs
12813 maybe-clean-rcs:
12814
12815 clean-rcs: 
12816         @[ -f ./rcs/Makefile ] || exit 0; \
12817         r=`${PWD_COMMAND}`; export r; \
12818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819         $(SET_LIB_PATH) \
12820         for flag in $(EXTRA_HOST_FLAGS); do \
12821           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822         done; \
12823         echo "Doing clean in rcs" ; \
12824         (cd rcs && \
12825           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827                   "RANLIB=$${RANLIB}" \
12828                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12829                   clean) \
12830           || exit 1
12831
12832
12833 .PHONY: maybe-distclean-rcs distclean-rcs
12834 maybe-distclean-rcs:
12835
12836 distclean-rcs: 
12837         @[ -f ./rcs/Makefile ] || exit 0; \
12838         r=`${PWD_COMMAND}`; export r; \
12839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12840         $(SET_LIB_PATH) \
12841         for flag in $(EXTRA_HOST_FLAGS); do \
12842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12843         done; \
12844         echo "Doing distclean in rcs" ; \
12845         (cd rcs && \
12846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12848                   "RANLIB=$${RANLIB}" \
12849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12850                   distclean) \
12851           || exit 1
12852
12853
12854 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
12855 maybe-maintainer-clean-rcs:
12856
12857 maintainer-clean-rcs: 
12858         @[ -f ./rcs/Makefile ] || exit 0; \
12859         r=`${PWD_COMMAND}`; export r; \
12860         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861         $(SET_LIB_PATH) \
12862         for flag in $(EXTRA_HOST_FLAGS); do \
12863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864         done; \
12865         echo "Doing maintainer-clean in rcs" ; \
12866         (cd rcs && \
12867           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869                   "RANLIB=$${RANLIB}" \
12870                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12871                   maintainer-clean) \
12872           || exit 1
12873
12874
12875
12876 .PHONY: configure-readline maybe-configure-readline
12877 maybe-configure-readline:
12878 configure-readline:
12879         @test ! -f readline/Makefile || exit 0; \
12880         [ -d readline ] || mkdir readline; \
12881         r=`${PWD_COMMAND}`; export r; \
12882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883         CC="$(CC)"; export CC; \
12884         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12885         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12886         CXX="$(CXX)"; export CXX; \
12887         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12888         AR="$(AR)"; export AR; \
12889         AS="$(AS)"; export AS; \
12890         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12891         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12892         LD="$(LD)"; export LD; \
12893         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12894         NM="$(NM)"; export NM; \
12895         RANLIB="$(RANLIB)"; export RANLIB; \
12896         WINDRES="$(WINDRES)"; export WINDRES; \
12897         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12898         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12899         echo Configuring in readline; \
12900         cd readline || exit 1; \
12901         case $(srcdir) in \
12902           \.) \
12903             srcdiroption="--srcdir=."; \
12904             libsrcdir=".";; \
12905           /* | [A-Za-z]:[\\/]*) \
12906             srcdiroption="--srcdir=$(srcdir)/readline"; \
12907             libsrcdir="$$s/readline";; \
12908           *) \
12909             srcdiroption="--srcdir=../$(srcdir)/readline"; \
12910             libsrcdir="$$s/readline";; \
12911         esac; \
12912         $(SHELL) $${libsrcdir}/configure \
12913           $(HOST_CONFIGARGS) $${srcdiroption} \
12914           || exit 1
12915
12916 .PHONY: all-readline maybe-all-readline
12917 maybe-all-readline:
12918 all-readline: configure-readline
12919         @r=`${PWD_COMMAND}`; export r; \
12920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921         $(SET_LIB_PATH) \
12922         (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
12923
12924 .PHONY: check-readline maybe-check-readline
12925 maybe-check-readline:
12926
12927 check-readline:
12928         @r=`${PWD_COMMAND}`; export r; \
12929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930         $(SET_LIB_PATH) \
12931         (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
12932
12933
12934 .PHONY: install-readline maybe-install-readline
12935 maybe-install-readline:
12936
12937 install-readline: installdirs
12938         @r=`${PWD_COMMAND}`; export r; \
12939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940         $(SET_LIB_PATH) \
12941         (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
12942
12943
12944 # Other targets (info, dvi, etc.)
12945
12946 .PHONY: maybe-info-readline info-readline
12947 maybe-info-readline:
12948
12949 info-readline: \
12950     configure-readline 
12951         @[ -f ./readline/Makefile ] || exit 0; \
12952         r=`${PWD_COMMAND}`; export r; \
12953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12954         $(SET_LIB_PATH) \
12955         for flag in $(EXTRA_HOST_FLAGS); do \
12956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12957         done; \
12958         echo "Doing info in readline" ; \
12959         (cd readline && \
12960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962                   "RANLIB=$${RANLIB}" \
12963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964                   info) \
12965           || exit 1
12966
12967
12968 .PHONY: maybe-dvi-readline dvi-readline
12969 maybe-dvi-readline:
12970
12971 dvi-readline: \
12972     configure-readline 
12973         @[ -f ./readline/Makefile ] || exit 0; \
12974         r=`${PWD_COMMAND}`; export r; \
12975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12976         $(SET_LIB_PATH) \
12977         for flag in $(EXTRA_HOST_FLAGS); do \
12978           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12979         done; \
12980         echo "Doing dvi in readline" ; \
12981         (cd readline && \
12982           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984                   "RANLIB=$${RANLIB}" \
12985                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12986                   dvi) \
12987           || exit 1
12988
12989
12990 .PHONY: maybe-TAGS-readline TAGS-readline
12991 maybe-TAGS-readline:
12992
12993 TAGS-readline: \
12994     configure-readline 
12995         @[ -f ./readline/Makefile ] || exit 0; \
12996         r=`${PWD_COMMAND}`; export r; \
12997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998         $(SET_LIB_PATH) \
12999         for flag in $(EXTRA_HOST_FLAGS); do \
13000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001         done; \
13002         echo "Doing TAGS in readline" ; \
13003         (cd readline && \
13004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006                   "RANLIB=$${RANLIB}" \
13007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008                   TAGS) \
13009           || exit 1
13010
13011
13012 .PHONY: maybe-install-info-readline install-info-readline
13013 maybe-install-info-readline:
13014
13015 install-info-readline: \
13016     configure-readline \
13017     info-readline 
13018         @[ -f ./readline/Makefile ] || exit 0; \
13019         r=`${PWD_COMMAND}`; export r; \
13020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021         $(SET_LIB_PATH) \
13022         for flag in $(EXTRA_HOST_FLAGS); do \
13023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13024         done; \
13025         echo "Doing install-info in readline" ; \
13026         (cd readline && \
13027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13029                   "RANLIB=$${RANLIB}" \
13030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13031                   install-info) \
13032           || exit 1
13033
13034
13035 .PHONY: maybe-installcheck-readline installcheck-readline
13036 maybe-installcheck-readline:
13037
13038 installcheck-readline: \
13039     configure-readline 
13040         @[ -f ./readline/Makefile ] || exit 0; \
13041         r=`${PWD_COMMAND}`; export r; \
13042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043         $(SET_LIB_PATH) \
13044         for flag in $(EXTRA_HOST_FLAGS); do \
13045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13046         done; \
13047         echo "Doing installcheck in readline" ; \
13048         (cd readline && \
13049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13051                   "RANLIB=$${RANLIB}" \
13052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13053                   installcheck) \
13054           || exit 1
13055
13056
13057 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
13058 maybe-mostlyclean-readline:
13059
13060 mostlyclean-readline: 
13061         @[ -f ./readline/Makefile ] || exit 0; \
13062         r=`${PWD_COMMAND}`; export r; \
13063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13064         $(SET_LIB_PATH) \
13065         for flag in $(EXTRA_HOST_FLAGS); do \
13066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13067         done; \
13068         echo "Doing mostlyclean in readline" ; \
13069         (cd readline && \
13070           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13071                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13072                   "RANLIB=$${RANLIB}" \
13073                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13074                   mostlyclean) \
13075           || exit 1
13076
13077
13078 .PHONY: maybe-clean-readline clean-readline
13079 maybe-clean-readline:
13080
13081 clean-readline: 
13082         @[ -f ./readline/Makefile ] || exit 0; \
13083         r=`${PWD_COMMAND}`; export r; \
13084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13085         $(SET_LIB_PATH) \
13086         for flag in $(EXTRA_HOST_FLAGS); do \
13087           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13088         done; \
13089         echo "Doing clean in readline" ; \
13090         (cd readline && \
13091           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13092                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13093                   "RANLIB=$${RANLIB}" \
13094                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13095                   clean) \
13096           || exit 1
13097
13098
13099 .PHONY: maybe-distclean-readline distclean-readline
13100 maybe-distclean-readline:
13101
13102 distclean-readline: 
13103         @[ -f ./readline/Makefile ] || exit 0; \
13104         r=`${PWD_COMMAND}`; export r; \
13105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106         $(SET_LIB_PATH) \
13107         for flag in $(EXTRA_HOST_FLAGS); do \
13108           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13109         done; \
13110         echo "Doing distclean in readline" ; \
13111         (cd readline && \
13112           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13113                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13114                   "RANLIB=$${RANLIB}" \
13115                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13116                   distclean) \
13117           || exit 1
13118
13119
13120 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
13121 maybe-maintainer-clean-readline:
13122
13123 maintainer-clean-readline: 
13124         @[ -f ./readline/Makefile ] || exit 0; \
13125         r=`${PWD_COMMAND}`; export r; \
13126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13127         $(SET_LIB_PATH) \
13128         for flag in $(EXTRA_HOST_FLAGS); do \
13129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13130         done; \
13131         echo "Doing maintainer-clean in readline" ; \
13132         (cd readline && \
13133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13135                   "RANLIB=$${RANLIB}" \
13136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13137                   maintainer-clean) \
13138           || exit 1
13139
13140
13141
13142 .PHONY: configure-release maybe-configure-release
13143 maybe-configure-release:
13144 configure-release:
13145         @test ! -f release/Makefile || exit 0; \
13146         [ -d release ] || mkdir release; \
13147         r=`${PWD_COMMAND}`; export r; \
13148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149         CC="$(CC)"; export CC; \
13150         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13151         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13152         CXX="$(CXX)"; export CXX; \
13153         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13154         AR="$(AR)"; export AR; \
13155         AS="$(AS)"; export AS; \
13156         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13157         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13158         LD="$(LD)"; export LD; \
13159         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13160         NM="$(NM)"; export NM; \
13161         RANLIB="$(RANLIB)"; export RANLIB; \
13162         WINDRES="$(WINDRES)"; export WINDRES; \
13163         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13164         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13165         echo Configuring in release; \
13166         cd release || exit 1; \
13167         case $(srcdir) in \
13168           \.) \
13169             srcdiroption="--srcdir=."; \
13170             libsrcdir=".";; \
13171           /* | [A-Za-z]:[\\/]*) \
13172             srcdiroption="--srcdir=$(srcdir)/release"; \
13173             libsrcdir="$$s/release";; \
13174           *) \
13175             srcdiroption="--srcdir=../$(srcdir)/release"; \
13176             libsrcdir="$$s/release";; \
13177         esac; \
13178         $(SHELL) $${libsrcdir}/configure \
13179           $(HOST_CONFIGARGS) $${srcdiroption} \
13180           || exit 1
13181
13182 .PHONY: all-release maybe-all-release
13183 maybe-all-release:
13184 all-release: configure-release
13185         @r=`${PWD_COMMAND}`; export r; \
13186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187         $(SET_LIB_PATH) \
13188         (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
13189
13190 .PHONY: check-release maybe-check-release
13191 maybe-check-release:
13192
13193 check-release:
13194
13195
13196 .PHONY: install-release maybe-install-release
13197 maybe-install-release:
13198
13199 install-release:
13200
13201
13202 # Other targets (info, dvi, etc.)
13203
13204 .PHONY: maybe-info-release info-release
13205 maybe-info-release:
13206
13207 info-release: \
13208     configure-release 
13209         @[ -f ./release/Makefile ] || exit 0; \
13210         r=`${PWD_COMMAND}`; export r; \
13211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212         $(SET_LIB_PATH) \
13213         for flag in $(EXTRA_HOST_FLAGS); do \
13214           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13215         done; \
13216         echo "Doing info in release" ; \
13217         (cd release && \
13218           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13219                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13220                   "RANLIB=$${RANLIB}" \
13221                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13222                   info) \
13223           || exit 1
13224
13225
13226 .PHONY: maybe-dvi-release dvi-release
13227 maybe-dvi-release:
13228
13229 dvi-release: \
13230     configure-release 
13231         @[ -f ./release/Makefile ] || exit 0; \
13232         r=`${PWD_COMMAND}`; export r; \
13233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13234         $(SET_LIB_PATH) \
13235         for flag in $(EXTRA_HOST_FLAGS); do \
13236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13237         done; \
13238         echo "Doing dvi in release" ; \
13239         (cd release && \
13240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13242                   "RANLIB=$${RANLIB}" \
13243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13244                   dvi) \
13245           || exit 1
13246
13247
13248 .PHONY: maybe-TAGS-release TAGS-release
13249 maybe-TAGS-release:
13250
13251 TAGS-release: \
13252     configure-release 
13253         @[ -f ./release/Makefile ] || exit 0; \
13254         r=`${PWD_COMMAND}`; export r; \
13255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256         $(SET_LIB_PATH) \
13257         for flag in $(EXTRA_HOST_FLAGS); do \
13258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13259         done; \
13260         echo "Doing TAGS in release" ; \
13261         (cd release && \
13262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264                   "RANLIB=$${RANLIB}" \
13265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13266                   TAGS) \
13267           || exit 1
13268
13269
13270 .PHONY: maybe-install-info-release install-info-release
13271 maybe-install-info-release:
13272
13273 install-info-release: \
13274     configure-release \
13275     info-release 
13276         @[ -f ./release/Makefile ] || exit 0; \
13277         r=`${PWD_COMMAND}`; export r; \
13278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13279         $(SET_LIB_PATH) \
13280         for flag in $(EXTRA_HOST_FLAGS); do \
13281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13282         done; \
13283         echo "Doing install-info in release" ; \
13284         (cd release && \
13285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13287                   "RANLIB=$${RANLIB}" \
13288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13289                   install-info) \
13290           || exit 1
13291
13292
13293 .PHONY: maybe-installcheck-release installcheck-release
13294 maybe-installcheck-release:
13295
13296 installcheck-release: \
13297     configure-release 
13298         @[ -f ./release/Makefile ] || exit 0; \
13299         r=`${PWD_COMMAND}`; export r; \
13300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13301         $(SET_LIB_PATH) \
13302         for flag in $(EXTRA_HOST_FLAGS); do \
13303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304         done; \
13305         echo "Doing installcheck in release" ; \
13306         (cd release && \
13307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13309                   "RANLIB=$${RANLIB}" \
13310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13311                   installcheck) \
13312           || exit 1
13313
13314
13315 .PHONY: maybe-mostlyclean-release mostlyclean-release
13316 maybe-mostlyclean-release:
13317
13318 mostlyclean-release: 
13319         @[ -f ./release/Makefile ] || exit 0; \
13320         r=`${PWD_COMMAND}`; export r; \
13321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322         $(SET_LIB_PATH) \
13323         for flag in $(EXTRA_HOST_FLAGS); do \
13324           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13325         done; \
13326         echo "Doing mostlyclean in release" ; \
13327         (cd release && \
13328           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13329                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13330                   "RANLIB=$${RANLIB}" \
13331                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13332                   mostlyclean) \
13333           || exit 1
13334
13335
13336 .PHONY: maybe-clean-release clean-release
13337 maybe-clean-release:
13338
13339 clean-release: 
13340         @[ -f ./release/Makefile ] || exit 0; \
13341         r=`${PWD_COMMAND}`; export r; \
13342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13343         $(SET_LIB_PATH) \
13344         for flag in $(EXTRA_HOST_FLAGS); do \
13345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13346         done; \
13347         echo "Doing clean in release" ; \
13348         (cd release && \
13349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13351                   "RANLIB=$${RANLIB}" \
13352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13353                   clean) \
13354           || exit 1
13355
13356
13357 .PHONY: maybe-distclean-release distclean-release
13358 maybe-distclean-release:
13359
13360 distclean-release: 
13361         @[ -f ./release/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 distclean in release" ; \
13369         (cd release && \
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                   distclean) \
13375           || exit 1
13376
13377
13378 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
13379 maybe-maintainer-clean-release:
13380
13381 maintainer-clean-release: 
13382         @[ -f ./release/Makefile ] || exit 0; \
13383         r=`${PWD_COMMAND}`; export r; \
13384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13385         $(SET_LIB_PATH) \
13386         for flag in $(EXTRA_HOST_FLAGS); do \
13387           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13388         done; \
13389         echo "Doing maintainer-clean in release" ; \
13390         (cd release && \
13391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13393                   "RANLIB=$${RANLIB}" \
13394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13395                   maintainer-clean) \
13396           || exit 1
13397
13398
13399
13400 .PHONY: configure-recode maybe-configure-recode
13401 maybe-configure-recode:
13402 configure-recode:
13403         @test ! -f recode/Makefile || exit 0; \
13404         [ -d recode ] || mkdir recode; \
13405         r=`${PWD_COMMAND}`; export r; \
13406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13407         CC="$(CC)"; export CC; \
13408         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13409         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13410         CXX="$(CXX)"; export CXX; \
13411         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13412         AR="$(AR)"; export AR; \
13413         AS="$(AS)"; export AS; \
13414         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13415         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13416         LD="$(LD)"; export LD; \
13417         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13418         NM="$(NM)"; export NM; \
13419         RANLIB="$(RANLIB)"; export RANLIB; \
13420         WINDRES="$(WINDRES)"; export WINDRES; \
13421         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13422         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13423         echo Configuring in recode; \
13424         cd recode || exit 1; \
13425         case $(srcdir) in \
13426           \.) \
13427             srcdiroption="--srcdir=."; \
13428             libsrcdir=".";; \
13429           /* | [A-Za-z]:[\\/]*) \
13430             srcdiroption="--srcdir=$(srcdir)/recode"; \
13431             libsrcdir="$$s/recode";; \
13432           *) \
13433             srcdiroption="--srcdir=../$(srcdir)/recode"; \
13434             libsrcdir="$$s/recode";; \
13435         esac; \
13436         $(SHELL) $${libsrcdir}/configure \
13437           $(HOST_CONFIGARGS) $${srcdiroption} \
13438           || exit 1
13439
13440 .PHONY: all-recode maybe-all-recode
13441 maybe-all-recode:
13442 all-recode: configure-recode
13443         @r=`${PWD_COMMAND}`; export r; \
13444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13445         $(SET_LIB_PATH) \
13446         (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
13447
13448 .PHONY: check-recode maybe-check-recode
13449 maybe-check-recode:
13450
13451 check-recode:
13452         @r=`${PWD_COMMAND}`; export r; \
13453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13454         $(SET_LIB_PATH) \
13455         (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
13456
13457
13458 .PHONY: install-recode maybe-install-recode
13459 maybe-install-recode:
13460
13461 install-recode: installdirs
13462         @r=`${PWD_COMMAND}`; export r; \
13463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13464         $(SET_LIB_PATH) \
13465         (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
13466
13467
13468 # Other targets (info, dvi, etc.)
13469
13470 .PHONY: maybe-info-recode info-recode
13471 maybe-info-recode:
13472
13473 info-recode: \
13474     configure-recode 
13475         @[ -f ./recode/Makefile ] || exit 0; \
13476         r=`${PWD_COMMAND}`; export r; \
13477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478         $(SET_LIB_PATH) \
13479         for flag in $(EXTRA_HOST_FLAGS); do \
13480           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13481         done; \
13482         echo "Doing info in recode" ; \
13483         (cd recode && \
13484           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13485                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13486                   "RANLIB=$${RANLIB}" \
13487                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13488                   info) \
13489           || exit 1
13490
13491
13492 .PHONY: maybe-dvi-recode dvi-recode
13493 maybe-dvi-recode:
13494
13495 dvi-recode: \
13496     configure-recode 
13497         @[ -f ./recode/Makefile ] || exit 0; \
13498         r=`${PWD_COMMAND}`; export r; \
13499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500         $(SET_LIB_PATH) \
13501         for flag in $(EXTRA_HOST_FLAGS); do \
13502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503         done; \
13504         echo "Doing dvi in recode" ; \
13505         (cd recode && \
13506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508                   "RANLIB=$${RANLIB}" \
13509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510                   dvi) \
13511           || exit 1
13512
13513
13514 .PHONY: maybe-TAGS-recode TAGS-recode
13515 maybe-TAGS-recode:
13516
13517 TAGS-recode: \
13518     configure-recode 
13519         @[ -f ./recode/Makefile ] || exit 0; \
13520         r=`${PWD_COMMAND}`; export r; \
13521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522         $(SET_LIB_PATH) \
13523         for flag in $(EXTRA_HOST_FLAGS); do \
13524           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13525         done; \
13526         echo "Doing TAGS in recode" ; \
13527         (cd recode && \
13528           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13529                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13530                   "RANLIB=$${RANLIB}" \
13531                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13532                   TAGS) \
13533           || exit 1
13534
13535
13536 .PHONY: maybe-install-info-recode install-info-recode
13537 maybe-install-info-recode:
13538
13539 install-info-recode: \
13540     configure-recode \
13541     info-recode 
13542         @[ -f ./recode/Makefile ] || exit 0; \
13543         r=`${PWD_COMMAND}`; export r; \
13544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545         $(SET_LIB_PATH) \
13546         for flag in $(EXTRA_HOST_FLAGS); do \
13547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13548         done; \
13549         echo "Doing install-info in recode" ; \
13550         (cd recode && \
13551           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13552                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13553                   "RANLIB=$${RANLIB}" \
13554                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13555                   install-info) \
13556           || exit 1
13557
13558
13559 .PHONY: maybe-installcheck-recode installcheck-recode
13560 maybe-installcheck-recode:
13561
13562 installcheck-recode: \
13563     configure-recode 
13564         @[ -f ./recode/Makefile ] || exit 0; \
13565         r=`${PWD_COMMAND}`; export r; \
13566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567         $(SET_LIB_PATH) \
13568         for flag in $(EXTRA_HOST_FLAGS); do \
13569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570         done; \
13571         echo "Doing installcheck in recode" ; \
13572         (cd recode && \
13573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13575                   "RANLIB=$${RANLIB}" \
13576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13577                   installcheck) \
13578           || exit 1
13579
13580
13581 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
13582 maybe-mostlyclean-recode:
13583
13584 mostlyclean-recode: 
13585         @[ -f ./recode/Makefile ] || exit 0; \
13586         r=`${PWD_COMMAND}`; export r; \
13587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13588         $(SET_LIB_PATH) \
13589         for flag in $(EXTRA_HOST_FLAGS); do \
13590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13591         done; \
13592         echo "Doing mostlyclean in recode" ; \
13593         (cd recode && \
13594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13596                   "RANLIB=$${RANLIB}" \
13597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13598                   mostlyclean) \
13599           || exit 1
13600
13601
13602 .PHONY: maybe-clean-recode clean-recode
13603 maybe-clean-recode:
13604
13605 clean-recode: 
13606         @[ -f ./recode/Makefile ] || exit 0; \
13607         r=`${PWD_COMMAND}`; export r; \
13608         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609         $(SET_LIB_PATH) \
13610         for flag in $(EXTRA_HOST_FLAGS); do \
13611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612         done; \
13613         echo "Doing clean in recode" ; \
13614         (cd recode && \
13615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13617                   "RANLIB=$${RANLIB}" \
13618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13619                   clean) \
13620           || exit 1
13621
13622
13623 .PHONY: maybe-distclean-recode distclean-recode
13624 maybe-distclean-recode:
13625
13626 distclean-recode: 
13627         @[ -f ./recode/Makefile ] || exit 0; \
13628         r=`${PWD_COMMAND}`; export r; \
13629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630         $(SET_LIB_PATH) \
13631         for flag in $(EXTRA_HOST_FLAGS); do \
13632           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633         done; \
13634         echo "Doing distclean in recode" ; \
13635         (cd recode && \
13636           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638                   "RANLIB=$${RANLIB}" \
13639                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13640                   distclean) \
13641           || exit 1
13642
13643
13644 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
13645 maybe-maintainer-clean-recode:
13646
13647 maintainer-clean-recode: 
13648         @[ -f ./recode/Makefile ] || exit 0; \
13649         r=`${PWD_COMMAND}`; export r; \
13650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13651         $(SET_LIB_PATH) \
13652         for flag in $(EXTRA_HOST_FLAGS); do \
13653           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13654         done; \
13655         echo "Doing maintainer-clean in recode" ; \
13656         (cd recode && \
13657           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13658                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13659                   "RANLIB=$${RANLIB}" \
13660                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13661                   maintainer-clean) \
13662           || exit 1
13663
13664
13665
13666 .PHONY: configure-sed maybe-configure-sed
13667 maybe-configure-sed:
13668 configure-sed:
13669         @test ! -f sed/Makefile || exit 0; \
13670         [ -d sed ] || mkdir sed; \
13671         r=`${PWD_COMMAND}`; export r; \
13672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13673         CC="$(CC)"; export CC; \
13674         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13675         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13676         CXX="$(CXX)"; export CXX; \
13677         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13678         AR="$(AR)"; export AR; \
13679         AS="$(AS)"; export AS; \
13680         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13681         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13682         LD="$(LD)"; export LD; \
13683         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13684         NM="$(NM)"; export NM; \
13685         RANLIB="$(RANLIB)"; export RANLIB; \
13686         WINDRES="$(WINDRES)"; export WINDRES; \
13687         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13688         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13689         echo Configuring in sed; \
13690         cd sed || exit 1; \
13691         case $(srcdir) in \
13692           \.) \
13693             srcdiroption="--srcdir=."; \
13694             libsrcdir=".";; \
13695           /* | [A-Za-z]:[\\/]*) \
13696             srcdiroption="--srcdir=$(srcdir)/sed"; \
13697             libsrcdir="$$s/sed";; \
13698           *) \
13699             srcdiroption="--srcdir=../$(srcdir)/sed"; \
13700             libsrcdir="$$s/sed";; \
13701         esac; \
13702         $(SHELL) $${libsrcdir}/configure \
13703           $(HOST_CONFIGARGS) $${srcdiroption} \
13704           || exit 1
13705
13706 .PHONY: all-sed maybe-all-sed
13707 maybe-all-sed:
13708 all-sed: configure-sed
13709         @r=`${PWD_COMMAND}`; export r; \
13710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13711         $(SET_LIB_PATH) \
13712         (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
13713
13714 .PHONY: check-sed maybe-check-sed
13715 maybe-check-sed:
13716
13717 check-sed:
13718         @r=`${PWD_COMMAND}`; export r; \
13719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13720         $(SET_LIB_PATH) \
13721         (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
13722
13723
13724 .PHONY: install-sed maybe-install-sed
13725 maybe-install-sed:
13726
13727 install-sed: installdirs
13728         @r=`${PWD_COMMAND}`; export r; \
13729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730         $(SET_LIB_PATH) \
13731         (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
13732
13733
13734 # Other targets (info, dvi, etc.)
13735
13736 .PHONY: maybe-info-sed info-sed
13737 maybe-info-sed:
13738
13739 info-sed: \
13740     configure-sed 
13741         @[ -f ./sed/Makefile ] || exit 0; \
13742         r=`${PWD_COMMAND}`; export r; \
13743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13744         $(SET_LIB_PATH) \
13745         for flag in $(EXTRA_HOST_FLAGS); do \
13746           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13747         done; \
13748         echo "Doing info in sed" ; \
13749         (cd sed && \
13750           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13751                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13752                   "RANLIB=$${RANLIB}" \
13753                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13754                   info) \
13755           || exit 1
13756
13757
13758 .PHONY: maybe-dvi-sed dvi-sed
13759 maybe-dvi-sed:
13760
13761 dvi-sed: \
13762     configure-sed 
13763         @[ -f ./sed/Makefile ] || exit 0; \
13764         r=`${PWD_COMMAND}`; export r; \
13765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766         $(SET_LIB_PATH) \
13767         for flag in $(EXTRA_HOST_FLAGS); do \
13768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13769         done; \
13770         echo "Doing dvi in sed" ; \
13771         (cd sed && \
13772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13774                   "RANLIB=$${RANLIB}" \
13775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13776                   dvi) \
13777           || exit 1
13778
13779
13780 .PHONY: maybe-TAGS-sed TAGS-sed
13781 maybe-TAGS-sed:
13782
13783 TAGS-sed: \
13784     configure-sed 
13785         @[ -f ./sed/Makefile ] || exit 0; \
13786         r=`${PWD_COMMAND}`; export r; \
13787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13788         $(SET_LIB_PATH) \
13789         for flag in $(EXTRA_HOST_FLAGS); do \
13790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13791         done; \
13792         echo "Doing TAGS in sed" ; \
13793         (cd sed && \
13794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13796                   "RANLIB=$${RANLIB}" \
13797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13798                   TAGS) \
13799           || exit 1
13800
13801
13802 .PHONY: maybe-install-info-sed install-info-sed
13803 maybe-install-info-sed:
13804
13805 install-info-sed: \
13806     configure-sed \
13807     info-sed 
13808         @[ -f ./sed/Makefile ] || exit 0; \
13809         r=`${PWD_COMMAND}`; export r; \
13810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811         $(SET_LIB_PATH) \
13812         for flag in $(EXTRA_HOST_FLAGS); do \
13813           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814         done; \
13815         echo "Doing install-info in sed" ; \
13816         (cd sed && \
13817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819                   "RANLIB=$${RANLIB}" \
13820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13821                   install-info) \
13822           || exit 1
13823
13824
13825 .PHONY: maybe-installcheck-sed installcheck-sed
13826 maybe-installcheck-sed:
13827
13828 installcheck-sed: \
13829     configure-sed 
13830         @[ -f ./sed/Makefile ] || exit 0; \
13831         r=`${PWD_COMMAND}`; export r; \
13832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13833         $(SET_LIB_PATH) \
13834         for flag in $(EXTRA_HOST_FLAGS); do \
13835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13836         done; \
13837         echo "Doing installcheck in sed" ; \
13838         (cd sed && \
13839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13841                   "RANLIB=$${RANLIB}" \
13842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13843                   installcheck) \
13844           || exit 1
13845
13846
13847 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
13848 maybe-mostlyclean-sed:
13849
13850 mostlyclean-sed: 
13851         @[ -f ./sed/Makefile ] || exit 0; \
13852         r=`${PWD_COMMAND}`; export r; \
13853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854         $(SET_LIB_PATH) \
13855         for flag in $(EXTRA_HOST_FLAGS); do \
13856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857         done; \
13858         echo "Doing mostlyclean in sed" ; \
13859         (cd sed && \
13860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862                   "RANLIB=$${RANLIB}" \
13863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13864                   mostlyclean) \
13865           || exit 1
13866
13867
13868 .PHONY: maybe-clean-sed clean-sed
13869 maybe-clean-sed:
13870
13871 clean-sed: 
13872         @[ -f ./sed/Makefile ] || exit 0; \
13873         r=`${PWD_COMMAND}`; export r; \
13874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13875         $(SET_LIB_PATH) \
13876         for flag in $(EXTRA_HOST_FLAGS); do \
13877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13878         done; \
13879         echo "Doing clean in sed" ; \
13880         (cd sed && \
13881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13883                   "RANLIB=$${RANLIB}" \
13884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13885                   clean) \
13886           || exit 1
13887
13888
13889 .PHONY: maybe-distclean-sed distclean-sed
13890 maybe-distclean-sed:
13891
13892 distclean-sed: 
13893         @[ -f ./sed/Makefile ] || exit 0; \
13894         r=`${PWD_COMMAND}`; export r; \
13895         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896         $(SET_LIB_PATH) \
13897         for flag in $(EXTRA_HOST_FLAGS); do \
13898           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13899         done; \
13900         echo "Doing distclean in sed" ; \
13901         (cd sed && \
13902           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904                   "RANLIB=$${RANLIB}" \
13905                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13906                   distclean) \
13907           || exit 1
13908
13909
13910 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
13911 maybe-maintainer-clean-sed:
13912
13913 maintainer-clean-sed: 
13914         @[ -f ./sed/Makefile ] || exit 0; \
13915         r=`${PWD_COMMAND}`; export r; \
13916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13917         $(SET_LIB_PATH) \
13918         for flag in $(EXTRA_HOST_FLAGS); do \
13919           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13920         done; \
13921         echo "Doing maintainer-clean in sed" ; \
13922         (cd sed && \
13923           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13924                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13925                   "RANLIB=$${RANLIB}" \
13926                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13927                   maintainer-clean) \
13928           || exit 1
13929
13930
13931
13932 .PHONY: configure-send-pr maybe-configure-send-pr
13933 maybe-configure-send-pr:
13934 configure-send-pr:
13935         @test ! -f send-pr/Makefile || exit 0; \
13936         [ -d send-pr ] || mkdir send-pr; \
13937         r=`${PWD_COMMAND}`; export r; \
13938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939         CC="$(CC)"; export CC; \
13940         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13941         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13942         CXX="$(CXX)"; export CXX; \
13943         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13944         AR="$(AR)"; export AR; \
13945         AS="$(AS)"; export AS; \
13946         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13947         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13948         LD="$(LD)"; export LD; \
13949         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13950         NM="$(NM)"; export NM; \
13951         RANLIB="$(RANLIB)"; export RANLIB; \
13952         WINDRES="$(WINDRES)"; export WINDRES; \
13953         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13954         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13955         echo Configuring in send-pr; \
13956         cd send-pr || exit 1; \
13957         case $(srcdir) in \
13958           \.) \
13959             srcdiroption="--srcdir=."; \
13960             libsrcdir=".";; \
13961           /* | [A-Za-z]:[\\/]*) \
13962             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
13963             libsrcdir="$$s/send-pr";; \
13964           *) \
13965             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
13966             libsrcdir="$$s/send-pr";; \
13967         esac; \
13968         $(SHELL) $${libsrcdir}/configure \
13969           $(HOST_CONFIGARGS) $${srcdiroption} \
13970           || exit 1
13971
13972 .PHONY: all-send-pr maybe-all-send-pr
13973 maybe-all-send-pr:
13974 all-send-pr: configure-send-pr
13975         @r=`${PWD_COMMAND}`; export r; \
13976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977         $(SET_LIB_PATH) \
13978         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
13979
13980 .PHONY: check-send-pr maybe-check-send-pr
13981 maybe-check-send-pr:
13982
13983 check-send-pr:
13984         @r=`${PWD_COMMAND}`; export r; \
13985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986         $(SET_LIB_PATH) \
13987         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
13988
13989
13990 .PHONY: install-send-pr maybe-install-send-pr
13991 maybe-install-send-pr:
13992
13993 install-send-pr: installdirs
13994         @r=`${PWD_COMMAND}`; export r; \
13995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13996         $(SET_LIB_PATH) \
13997         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
13998
13999
14000 # Other targets (info, dvi, etc.)
14001
14002 .PHONY: maybe-info-send-pr info-send-pr
14003 maybe-info-send-pr:
14004
14005 info-send-pr: \
14006     configure-send-pr 
14007         @[ -f ./send-pr/Makefile ] || exit 0; \
14008         r=`${PWD_COMMAND}`; export r; \
14009         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010         $(SET_LIB_PATH) \
14011         for flag in $(EXTRA_HOST_FLAGS); do \
14012           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14013         done; \
14014         echo "Doing info in send-pr" ; \
14015         (cd send-pr && \
14016           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018                   "RANLIB=$${RANLIB}" \
14019                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14020                   info) \
14021           || exit 1
14022
14023
14024 .PHONY: maybe-dvi-send-pr dvi-send-pr
14025 maybe-dvi-send-pr:
14026
14027 dvi-send-pr: \
14028     configure-send-pr 
14029         @[ -f ./send-pr/Makefile ] || exit 0; \
14030         r=`${PWD_COMMAND}`; export r; \
14031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14032         $(SET_LIB_PATH) \
14033         for flag in $(EXTRA_HOST_FLAGS); do \
14034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14035         done; \
14036         echo "Doing dvi in send-pr" ; \
14037         (cd send-pr && \
14038           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14039                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14040                   "RANLIB=$${RANLIB}" \
14041                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14042                   dvi) \
14043           || exit 1
14044
14045
14046 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
14047 maybe-TAGS-send-pr:
14048
14049 TAGS-send-pr: \
14050     configure-send-pr 
14051         @[ -f ./send-pr/Makefile ] || exit 0; \
14052         r=`${PWD_COMMAND}`; export r; \
14053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14054         $(SET_LIB_PATH) \
14055         for flag in $(EXTRA_HOST_FLAGS); do \
14056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14057         done; \
14058         echo "Doing TAGS in send-pr" ; \
14059         (cd send-pr && \
14060           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14061                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14062                   "RANLIB=$${RANLIB}" \
14063                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14064                   TAGS) \
14065           || exit 1
14066
14067
14068 .PHONY: maybe-install-info-send-pr install-info-send-pr
14069 maybe-install-info-send-pr:
14070
14071 install-info-send-pr: \
14072     configure-send-pr \
14073     info-send-pr 
14074         @[ -f ./send-pr/Makefile ] || exit 0; \
14075         r=`${PWD_COMMAND}`; export r; \
14076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077         $(SET_LIB_PATH) \
14078         for flag in $(EXTRA_HOST_FLAGS); do \
14079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14080         done; \
14081         echo "Doing install-info in send-pr" ; \
14082         (cd send-pr && \
14083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14085                   "RANLIB=$${RANLIB}" \
14086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14087                   install-info) \
14088           || exit 1
14089
14090
14091 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
14092 maybe-installcheck-send-pr:
14093
14094 installcheck-send-pr: \
14095     configure-send-pr 
14096         @[ -f ./send-pr/Makefile ] || exit 0; \
14097         r=`${PWD_COMMAND}`; export r; \
14098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14099         $(SET_LIB_PATH) \
14100         for flag in $(EXTRA_HOST_FLAGS); do \
14101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14102         done; \
14103         echo "Doing installcheck in send-pr" ; \
14104         (cd send-pr && \
14105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14107                   "RANLIB=$${RANLIB}" \
14108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14109                   installcheck) \
14110           || exit 1
14111
14112
14113 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
14114 maybe-mostlyclean-send-pr:
14115
14116 mostlyclean-send-pr: 
14117         @[ -f ./send-pr/Makefile ] || exit 0; \
14118         r=`${PWD_COMMAND}`; export r; \
14119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120         $(SET_LIB_PATH) \
14121         for flag in $(EXTRA_HOST_FLAGS); do \
14122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14123         done; \
14124         echo "Doing mostlyclean in send-pr" ; \
14125         (cd send-pr && \
14126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14128                   "RANLIB=$${RANLIB}" \
14129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14130                   mostlyclean) \
14131           || exit 1
14132
14133
14134 .PHONY: maybe-clean-send-pr clean-send-pr
14135 maybe-clean-send-pr:
14136
14137 clean-send-pr: 
14138         @[ -f ./send-pr/Makefile ] || exit 0; \
14139         r=`${PWD_COMMAND}`; export r; \
14140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141         $(SET_LIB_PATH) \
14142         for flag in $(EXTRA_HOST_FLAGS); do \
14143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14144         done; \
14145         echo "Doing clean in send-pr" ; \
14146         (cd send-pr && \
14147           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14148                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14149                   "RANLIB=$${RANLIB}" \
14150                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14151                   clean) \
14152           || exit 1
14153
14154
14155 .PHONY: maybe-distclean-send-pr distclean-send-pr
14156 maybe-distclean-send-pr:
14157
14158 distclean-send-pr: 
14159         @[ -f ./send-pr/Makefile ] || exit 0; \
14160         r=`${PWD_COMMAND}`; export r; \
14161         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162         $(SET_LIB_PATH) \
14163         for flag in $(EXTRA_HOST_FLAGS); do \
14164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14165         done; \
14166         echo "Doing distclean in send-pr" ; \
14167         (cd send-pr && \
14168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14170                   "RANLIB=$${RANLIB}" \
14171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14172                   distclean) \
14173           || exit 1
14174
14175
14176 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
14177 maybe-maintainer-clean-send-pr:
14178
14179 maintainer-clean-send-pr: 
14180         @[ -f ./send-pr/Makefile ] || exit 0; \
14181         r=`${PWD_COMMAND}`; export r; \
14182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14183         $(SET_LIB_PATH) \
14184         for flag in $(EXTRA_HOST_FLAGS); do \
14185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14186         done; \
14187         echo "Doing maintainer-clean in send-pr" ; \
14188         (cd send-pr && \
14189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14191                   "RANLIB=$${RANLIB}" \
14192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14193                   maintainer-clean) \
14194           || exit 1
14195
14196
14197
14198 .PHONY: configure-shellutils maybe-configure-shellutils
14199 maybe-configure-shellutils:
14200 configure-shellutils:
14201         @test ! -f shellutils/Makefile || exit 0; \
14202         [ -d shellutils ] || mkdir shellutils; \
14203         r=`${PWD_COMMAND}`; export r; \
14204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205         CC="$(CC)"; export CC; \
14206         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14207         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14208         CXX="$(CXX)"; export CXX; \
14209         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14210         AR="$(AR)"; export AR; \
14211         AS="$(AS)"; export AS; \
14212         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14213         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14214         LD="$(LD)"; export LD; \
14215         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14216         NM="$(NM)"; export NM; \
14217         RANLIB="$(RANLIB)"; export RANLIB; \
14218         WINDRES="$(WINDRES)"; export WINDRES; \
14219         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14220         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14221         echo Configuring in shellutils; \
14222         cd shellutils || exit 1; \
14223         case $(srcdir) in \
14224           \.) \
14225             srcdiroption="--srcdir=."; \
14226             libsrcdir=".";; \
14227           /* | [A-Za-z]:[\\/]*) \
14228             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
14229             libsrcdir="$$s/shellutils";; \
14230           *) \
14231             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
14232             libsrcdir="$$s/shellutils";; \
14233         esac; \
14234         $(SHELL) $${libsrcdir}/configure \
14235           $(HOST_CONFIGARGS) $${srcdiroption} \
14236           || exit 1
14237
14238 .PHONY: all-shellutils maybe-all-shellutils
14239 maybe-all-shellutils:
14240 all-shellutils: configure-shellutils
14241         @r=`${PWD_COMMAND}`; export r; \
14242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14243         $(SET_LIB_PATH) \
14244         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
14245
14246 .PHONY: check-shellutils maybe-check-shellutils
14247 maybe-check-shellutils:
14248
14249 check-shellutils:
14250         @r=`${PWD_COMMAND}`; export r; \
14251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252         $(SET_LIB_PATH) \
14253         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
14254
14255
14256 .PHONY: install-shellutils maybe-install-shellutils
14257 maybe-install-shellutils:
14258
14259 install-shellutils: installdirs
14260         @r=`${PWD_COMMAND}`; export r; \
14261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14262         $(SET_LIB_PATH) \
14263         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
14264
14265
14266 # Other targets (info, dvi, etc.)
14267
14268 .PHONY: maybe-info-shellutils info-shellutils
14269 maybe-info-shellutils:
14270
14271 info-shellutils: \
14272     configure-shellutils 
14273         @[ -f ./shellutils/Makefile ] || exit 0; \
14274         r=`${PWD_COMMAND}`; export r; \
14275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14276         $(SET_LIB_PATH) \
14277         for flag in $(EXTRA_HOST_FLAGS); do \
14278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14279         done; \
14280         echo "Doing info in shellutils" ; \
14281         (cd shellutils && \
14282           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14283                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14284                   "RANLIB=$${RANLIB}" \
14285                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14286                   info) \
14287           || exit 1
14288
14289
14290 .PHONY: maybe-dvi-shellutils dvi-shellutils
14291 maybe-dvi-shellutils:
14292
14293 dvi-shellutils: \
14294     configure-shellutils 
14295         @[ -f ./shellutils/Makefile ] || exit 0; \
14296         r=`${PWD_COMMAND}`; export r; \
14297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14298         $(SET_LIB_PATH) \
14299         for flag in $(EXTRA_HOST_FLAGS); do \
14300           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14301         done; \
14302         echo "Doing dvi in shellutils" ; \
14303         (cd shellutils && \
14304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14306                   "RANLIB=$${RANLIB}" \
14307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14308                   dvi) \
14309           || exit 1
14310
14311
14312 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
14313 maybe-TAGS-shellutils:
14314
14315 TAGS-shellutils: \
14316     configure-shellutils 
14317         @[ -f ./shellutils/Makefile ] || exit 0; \
14318         r=`${PWD_COMMAND}`; export r; \
14319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320         $(SET_LIB_PATH) \
14321         for flag in $(EXTRA_HOST_FLAGS); do \
14322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14323         done; \
14324         echo "Doing TAGS in shellutils" ; \
14325         (cd shellutils && \
14326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328                   "RANLIB=$${RANLIB}" \
14329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14330                   TAGS) \
14331           || exit 1
14332
14333
14334 .PHONY: maybe-install-info-shellutils install-info-shellutils
14335 maybe-install-info-shellutils:
14336
14337 install-info-shellutils: \
14338     configure-shellutils \
14339     info-shellutils 
14340         @[ -f ./shellutils/Makefile ] || exit 0; \
14341         r=`${PWD_COMMAND}`; export r; \
14342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343         $(SET_LIB_PATH) \
14344         for flag in $(EXTRA_HOST_FLAGS); do \
14345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346         done; \
14347         echo "Doing install-info in shellutils" ; \
14348         (cd shellutils && \
14349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351                   "RANLIB=$${RANLIB}" \
14352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353                   install-info) \
14354           || exit 1
14355
14356
14357 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
14358 maybe-installcheck-shellutils:
14359
14360 installcheck-shellutils: \
14361     configure-shellutils 
14362         @[ -f ./shellutils/Makefile ] || exit 0; \
14363         r=`${PWD_COMMAND}`; export r; \
14364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365         $(SET_LIB_PATH) \
14366         for flag in $(EXTRA_HOST_FLAGS); do \
14367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14368         done; \
14369         echo "Doing installcheck in shellutils" ; \
14370         (cd shellutils && \
14371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14373                   "RANLIB=$${RANLIB}" \
14374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14375                   installcheck) \
14376           || exit 1
14377
14378
14379 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
14380 maybe-mostlyclean-shellutils:
14381
14382 mostlyclean-shellutils: 
14383         @[ -f ./shellutils/Makefile ] || exit 0; \
14384         r=`${PWD_COMMAND}`; export r; \
14385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14386         $(SET_LIB_PATH) \
14387         for flag in $(EXTRA_HOST_FLAGS); do \
14388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14389         done; \
14390         echo "Doing mostlyclean in shellutils" ; \
14391         (cd shellutils && \
14392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14394                   "RANLIB=$${RANLIB}" \
14395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14396                   mostlyclean) \
14397           || exit 1
14398
14399
14400 .PHONY: maybe-clean-shellutils clean-shellutils
14401 maybe-clean-shellutils:
14402
14403 clean-shellutils: 
14404         @[ -f ./shellutils/Makefile ] || exit 0; \
14405         r=`${PWD_COMMAND}`; export r; \
14406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407         $(SET_LIB_PATH) \
14408         for flag in $(EXTRA_HOST_FLAGS); do \
14409           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14410         done; \
14411         echo "Doing clean in shellutils" ; \
14412         (cd shellutils && \
14413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14415                   "RANLIB=$${RANLIB}" \
14416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14417                   clean) \
14418           || exit 1
14419
14420
14421 .PHONY: maybe-distclean-shellutils distclean-shellutils
14422 maybe-distclean-shellutils:
14423
14424 distclean-shellutils: 
14425         @[ -f ./shellutils/Makefile ] || exit 0; \
14426         r=`${PWD_COMMAND}`; export r; \
14427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428         $(SET_LIB_PATH) \
14429         for flag in $(EXTRA_HOST_FLAGS); do \
14430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14431         done; \
14432         echo "Doing distclean in shellutils" ; \
14433         (cd shellutils && \
14434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14436                   "RANLIB=$${RANLIB}" \
14437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14438                   distclean) \
14439           || exit 1
14440
14441
14442 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
14443 maybe-maintainer-clean-shellutils:
14444
14445 maintainer-clean-shellutils: 
14446         @[ -f ./shellutils/Makefile ] || exit 0; \
14447         r=`${PWD_COMMAND}`; export r; \
14448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449         $(SET_LIB_PATH) \
14450         for flag in $(EXTRA_HOST_FLAGS); do \
14451           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14452         done; \
14453         echo "Doing maintainer-clean in shellutils" ; \
14454         (cd shellutils && \
14455           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457                   "RANLIB=$${RANLIB}" \
14458                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14459                   maintainer-clean) \
14460           || exit 1
14461
14462
14463
14464 .PHONY: configure-sid maybe-configure-sid
14465 maybe-configure-sid:
14466 configure-sid:
14467         @test ! -f sid/Makefile || exit 0; \
14468         [ -d sid ] || mkdir sid; \
14469         r=`${PWD_COMMAND}`; export r; \
14470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14471         CC="$(CC)"; export CC; \
14472         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14473         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14474         CXX="$(CXX)"; export CXX; \
14475         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14476         AR="$(AR)"; export AR; \
14477         AS="$(AS)"; export AS; \
14478         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14479         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14480         LD="$(LD)"; export LD; \
14481         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14482         NM="$(NM)"; export NM; \
14483         RANLIB="$(RANLIB)"; export RANLIB; \
14484         WINDRES="$(WINDRES)"; export WINDRES; \
14485         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14486         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14487         echo Configuring in sid; \
14488         cd sid || exit 1; \
14489         case $(srcdir) in \
14490           \.) \
14491             srcdiroption="--srcdir=."; \
14492             libsrcdir=".";; \
14493           /* | [A-Za-z]:[\\/]*) \
14494             srcdiroption="--srcdir=$(srcdir)/sid"; \
14495             libsrcdir="$$s/sid";; \
14496           *) \
14497             srcdiroption="--srcdir=../$(srcdir)/sid"; \
14498             libsrcdir="$$s/sid";; \
14499         esac; \
14500         $(SHELL) $${libsrcdir}/configure \
14501           $(HOST_CONFIGARGS) $${srcdiroption} \
14502           || exit 1
14503
14504 .PHONY: all-sid maybe-all-sid
14505 maybe-all-sid:
14506 all-sid: configure-sid
14507         @r=`${PWD_COMMAND}`; export r; \
14508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14509         $(SET_LIB_PATH) \
14510         (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
14511
14512 .PHONY: check-sid maybe-check-sid
14513 maybe-check-sid:
14514
14515 check-sid:
14516         @r=`${PWD_COMMAND}`; export r; \
14517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518         $(SET_LIB_PATH) \
14519         (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
14520
14521
14522 .PHONY: install-sid maybe-install-sid
14523 maybe-install-sid:
14524
14525 install-sid: installdirs
14526         @r=`${PWD_COMMAND}`; export r; \
14527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528         $(SET_LIB_PATH) \
14529         (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
14530
14531
14532 # Other targets (info, dvi, etc.)
14533
14534 .PHONY: maybe-info-sid info-sid
14535 maybe-info-sid:
14536
14537 info-sid: \
14538     configure-sid 
14539         @[ -f ./sid/Makefile ] || exit 0; \
14540         r=`${PWD_COMMAND}`; export r; \
14541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14542         $(SET_LIB_PATH) \
14543         for flag in $(EXTRA_HOST_FLAGS); do \
14544           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14545         done; \
14546         echo "Doing info in sid" ; \
14547         (cd sid && \
14548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14550                   "RANLIB=$${RANLIB}" \
14551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14552                   info) \
14553           || exit 1
14554
14555
14556 .PHONY: maybe-dvi-sid dvi-sid
14557 maybe-dvi-sid:
14558
14559 dvi-sid: \
14560     configure-sid 
14561         @[ -f ./sid/Makefile ] || exit 0; \
14562         r=`${PWD_COMMAND}`; export r; \
14563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14564         $(SET_LIB_PATH) \
14565         for flag in $(EXTRA_HOST_FLAGS); do \
14566           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14567         done; \
14568         echo "Doing dvi in sid" ; \
14569         (cd sid && \
14570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572                   "RANLIB=$${RANLIB}" \
14573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14574                   dvi) \
14575           || exit 1
14576
14577
14578 .PHONY: maybe-TAGS-sid TAGS-sid
14579 maybe-TAGS-sid:
14580
14581 TAGS-sid: \
14582     configure-sid 
14583         @[ -f ./sid/Makefile ] || exit 0; \
14584         r=`${PWD_COMMAND}`; export r; \
14585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14586         $(SET_LIB_PATH) \
14587         for flag in $(EXTRA_HOST_FLAGS); do \
14588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14589         done; \
14590         echo "Doing TAGS in sid" ; \
14591         (cd sid && \
14592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14594                   "RANLIB=$${RANLIB}" \
14595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14596                   TAGS) \
14597           || exit 1
14598
14599
14600 .PHONY: maybe-install-info-sid install-info-sid
14601 maybe-install-info-sid:
14602
14603 install-info-sid: \
14604     configure-sid \
14605     info-sid 
14606         @[ -f ./sid/Makefile ] || exit 0; \
14607         r=`${PWD_COMMAND}`; export r; \
14608         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609         $(SET_LIB_PATH) \
14610         for flag in $(EXTRA_HOST_FLAGS); do \
14611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14612         done; \
14613         echo "Doing install-info in sid" ; \
14614         (cd sid && \
14615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14617                   "RANLIB=$${RANLIB}" \
14618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14619                   install-info) \
14620           || exit 1
14621
14622
14623 .PHONY: maybe-installcheck-sid installcheck-sid
14624 maybe-installcheck-sid:
14625
14626 installcheck-sid: \
14627     configure-sid 
14628         @[ -f ./sid/Makefile ] || exit 0; \
14629         r=`${PWD_COMMAND}`; export r; \
14630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14631         $(SET_LIB_PATH) \
14632         for flag in $(EXTRA_HOST_FLAGS); do \
14633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14634         done; \
14635         echo "Doing installcheck in sid" ; \
14636         (cd sid && \
14637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14639                   "RANLIB=$${RANLIB}" \
14640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14641                   installcheck) \
14642           || exit 1
14643
14644
14645 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
14646 maybe-mostlyclean-sid:
14647
14648 mostlyclean-sid: 
14649         @[ -f ./sid/Makefile ] || exit 0; \
14650         r=`${PWD_COMMAND}`; export r; \
14651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652         $(SET_LIB_PATH) \
14653         for flag in $(EXTRA_HOST_FLAGS); do \
14654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655         done; \
14656         echo "Doing mostlyclean in sid" ; \
14657         (cd sid && \
14658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660                   "RANLIB=$${RANLIB}" \
14661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14662                   mostlyclean) \
14663           || exit 1
14664
14665
14666 .PHONY: maybe-clean-sid clean-sid
14667 maybe-clean-sid:
14668
14669 clean-sid: 
14670         @[ -f ./sid/Makefile ] || exit 0; \
14671         r=`${PWD_COMMAND}`; export r; \
14672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14673         $(SET_LIB_PATH) \
14674         for flag in $(EXTRA_HOST_FLAGS); do \
14675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14676         done; \
14677         echo "Doing clean in sid" ; \
14678         (cd sid && \
14679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14681                   "RANLIB=$${RANLIB}" \
14682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14683                   clean) \
14684           || exit 1
14685
14686
14687 .PHONY: maybe-distclean-sid distclean-sid
14688 maybe-distclean-sid:
14689
14690 distclean-sid: 
14691         @[ -f ./sid/Makefile ] || exit 0; \
14692         r=`${PWD_COMMAND}`; export r; \
14693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14694         $(SET_LIB_PATH) \
14695         for flag in $(EXTRA_HOST_FLAGS); do \
14696           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14697         done; \
14698         echo "Doing distclean in sid" ; \
14699         (cd sid && \
14700           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14701                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14702                   "RANLIB=$${RANLIB}" \
14703                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14704                   distclean) \
14705           || exit 1
14706
14707
14708 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
14709 maybe-maintainer-clean-sid:
14710
14711 maintainer-clean-sid: 
14712         @[ -f ./sid/Makefile ] || exit 0; \
14713         r=`${PWD_COMMAND}`; export r; \
14714         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14715         $(SET_LIB_PATH) \
14716         for flag in $(EXTRA_HOST_FLAGS); do \
14717           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718         done; \
14719         echo "Doing maintainer-clean in sid" ; \
14720         (cd sid && \
14721           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723                   "RANLIB=$${RANLIB}" \
14724                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14725                   maintainer-clean) \
14726           || exit 1
14727
14728
14729
14730 .PHONY: configure-sim maybe-configure-sim
14731 maybe-configure-sim:
14732 configure-sim:
14733         @test ! -f sim/Makefile || exit 0; \
14734         [ -d sim ] || mkdir sim; \
14735         r=`${PWD_COMMAND}`; export r; \
14736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737         CC="$(CC)"; export CC; \
14738         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14739         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14740         CXX="$(CXX)"; export CXX; \
14741         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14742         AR="$(AR)"; export AR; \
14743         AS="$(AS)"; export AS; \
14744         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14745         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14746         LD="$(LD)"; export LD; \
14747         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14748         NM="$(NM)"; export NM; \
14749         RANLIB="$(RANLIB)"; export RANLIB; \
14750         WINDRES="$(WINDRES)"; export WINDRES; \
14751         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14752         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14753         echo Configuring in sim; \
14754         cd sim || exit 1; \
14755         case $(srcdir) in \
14756           \.) \
14757             srcdiroption="--srcdir=."; \
14758             libsrcdir=".";; \
14759           /* | [A-Za-z]:[\\/]*) \
14760             srcdiroption="--srcdir=$(srcdir)/sim"; \
14761             libsrcdir="$$s/sim";; \
14762           *) \
14763             srcdiroption="--srcdir=../$(srcdir)/sim"; \
14764             libsrcdir="$$s/sim";; \
14765         esac; \
14766         $(SHELL) $${libsrcdir}/configure \
14767           $(HOST_CONFIGARGS) $${srcdiroption} \
14768           || exit 1
14769
14770 .PHONY: all-sim maybe-all-sim
14771 maybe-all-sim:
14772 all-sim: configure-sim
14773         @r=`${PWD_COMMAND}`; export r; \
14774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14775         $(SET_LIB_PATH) \
14776         (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
14777
14778 .PHONY: check-sim maybe-check-sim
14779 maybe-check-sim:
14780
14781 check-sim:
14782         @r=`${PWD_COMMAND}`; export r; \
14783         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14784         $(SET_LIB_PATH) \
14785         (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
14786
14787
14788 .PHONY: install-sim maybe-install-sim
14789 maybe-install-sim:
14790
14791 install-sim: installdirs
14792         @r=`${PWD_COMMAND}`; export r; \
14793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794         $(SET_LIB_PATH) \
14795         (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
14796
14797
14798 # Other targets (info, dvi, etc.)
14799
14800 .PHONY: maybe-info-sim info-sim
14801 maybe-info-sim:
14802
14803 info-sim: \
14804     configure-sim 
14805         @[ -f ./sim/Makefile ] || exit 0; \
14806         r=`${PWD_COMMAND}`; export r; \
14807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14808         $(SET_LIB_PATH) \
14809         for flag in $(EXTRA_HOST_FLAGS); do \
14810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14811         done; \
14812         echo "Doing info in sim" ; \
14813         (cd sim && \
14814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14816                   "RANLIB=$${RANLIB}" \
14817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14818                   info) \
14819           || exit 1
14820
14821
14822 .PHONY: maybe-dvi-sim dvi-sim
14823 maybe-dvi-sim:
14824
14825 dvi-sim: \
14826     configure-sim 
14827         @[ -f ./sim/Makefile ] || exit 0; \
14828         r=`${PWD_COMMAND}`; export r; \
14829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830         $(SET_LIB_PATH) \
14831         for flag in $(EXTRA_HOST_FLAGS); do \
14832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14833         done; \
14834         echo "Doing dvi in sim" ; \
14835         (cd sim && \
14836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14838                   "RANLIB=$${RANLIB}" \
14839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14840                   dvi) \
14841           || exit 1
14842
14843
14844 .PHONY: maybe-TAGS-sim TAGS-sim
14845 maybe-TAGS-sim:
14846
14847 TAGS-sim: \
14848     configure-sim 
14849         @[ -f ./sim/Makefile ] || exit 0; \
14850         r=`${PWD_COMMAND}`; export r; \
14851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852         $(SET_LIB_PATH) \
14853         for flag in $(EXTRA_HOST_FLAGS); do \
14854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14855         done; \
14856         echo "Doing TAGS in sim" ; \
14857         (cd sim && \
14858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14860                   "RANLIB=$${RANLIB}" \
14861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14862                   TAGS) \
14863           || exit 1
14864
14865
14866 .PHONY: maybe-install-info-sim install-info-sim
14867 maybe-install-info-sim:
14868
14869 install-info-sim: \
14870     configure-sim \
14871     info-sim 
14872         @[ -f ./sim/Makefile ] || exit 0; \
14873         r=`${PWD_COMMAND}`; export r; \
14874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14875         $(SET_LIB_PATH) \
14876         for flag in $(EXTRA_HOST_FLAGS); do \
14877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14878         done; \
14879         echo "Doing install-info in sim" ; \
14880         (cd sim && \
14881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14883                   "RANLIB=$${RANLIB}" \
14884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14885                   install-info) \
14886           || exit 1
14887
14888
14889 .PHONY: maybe-installcheck-sim installcheck-sim
14890 maybe-installcheck-sim:
14891
14892 installcheck-sim: \
14893     configure-sim 
14894         @[ -f ./sim/Makefile ] || exit 0; \
14895         r=`${PWD_COMMAND}`; export r; \
14896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897         $(SET_LIB_PATH) \
14898         for flag in $(EXTRA_HOST_FLAGS); do \
14899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14900         done; \
14901         echo "Doing installcheck in sim" ; \
14902         (cd sim && \
14903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14905                   "RANLIB=$${RANLIB}" \
14906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14907                   installcheck) \
14908           || exit 1
14909
14910
14911 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
14912 maybe-mostlyclean-sim:
14913
14914 mostlyclean-sim: 
14915         @[ -f ./sim/Makefile ] || exit 0; \
14916         r=`${PWD_COMMAND}`; export r; \
14917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14918         $(SET_LIB_PATH) \
14919         for flag in $(EXTRA_HOST_FLAGS); do \
14920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14921         done; \
14922         echo "Doing mostlyclean in sim" ; \
14923         (cd sim && \
14924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14926                   "RANLIB=$${RANLIB}" \
14927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14928                   mostlyclean) \
14929           || exit 1
14930
14931
14932 .PHONY: maybe-clean-sim clean-sim
14933 maybe-clean-sim:
14934
14935 clean-sim: 
14936         @[ -f ./sim/Makefile ] || exit 0; \
14937         r=`${PWD_COMMAND}`; export r; \
14938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939         $(SET_LIB_PATH) \
14940         for flag in $(EXTRA_HOST_FLAGS); do \
14941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14942         done; \
14943         echo "Doing clean in sim" ; \
14944         (cd sim && \
14945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14947                   "RANLIB=$${RANLIB}" \
14948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14949                   clean) \
14950           || exit 1
14951
14952
14953 .PHONY: maybe-distclean-sim distclean-sim
14954 maybe-distclean-sim:
14955
14956 distclean-sim: 
14957         @[ -f ./sim/Makefile ] || exit 0; \
14958         r=`${PWD_COMMAND}`; export r; \
14959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960         $(SET_LIB_PATH) \
14961         for flag in $(EXTRA_HOST_FLAGS); do \
14962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14963         done; \
14964         echo "Doing distclean in sim" ; \
14965         (cd sim && \
14966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968                   "RANLIB=$${RANLIB}" \
14969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14970                   distclean) \
14971           || exit 1
14972
14973
14974 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
14975 maybe-maintainer-clean-sim:
14976
14977 maintainer-clean-sim: 
14978         @[ -f ./sim/Makefile ] || exit 0; \
14979         r=`${PWD_COMMAND}`; export r; \
14980         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14981         $(SET_LIB_PATH) \
14982         for flag in $(EXTRA_HOST_FLAGS); do \
14983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14984         done; \
14985         echo "Doing maintainer-clean in sim" ; \
14986         (cd sim && \
14987           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989                   "RANLIB=$${RANLIB}" \
14990                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14991                   maintainer-clean) \
14992           || exit 1
14993
14994
14995
14996 .PHONY: configure-tar maybe-configure-tar
14997 maybe-configure-tar:
14998 configure-tar:
14999         @test ! -f tar/Makefile || exit 0; \
15000         [ -d tar ] || mkdir tar; \
15001         r=`${PWD_COMMAND}`; export r; \
15002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003         CC="$(CC)"; export CC; \
15004         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15005         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15006         CXX="$(CXX)"; export CXX; \
15007         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15008         AR="$(AR)"; export AR; \
15009         AS="$(AS)"; export AS; \
15010         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15011         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15012         LD="$(LD)"; export LD; \
15013         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15014         NM="$(NM)"; export NM; \
15015         RANLIB="$(RANLIB)"; export RANLIB; \
15016         WINDRES="$(WINDRES)"; export WINDRES; \
15017         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15018         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15019         echo Configuring in tar; \
15020         cd tar || exit 1; \
15021         case $(srcdir) in \
15022           \.) \
15023             srcdiroption="--srcdir=."; \
15024             libsrcdir=".";; \
15025           /* | [A-Za-z]:[\\/]*) \
15026             srcdiroption="--srcdir=$(srcdir)/tar"; \
15027             libsrcdir="$$s/tar";; \
15028           *) \
15029             srcdiroption="--srcdir=../$(srcdir)/tar"; \
15030             libsrcdir="$$s/tar";; \
15031         esac; \
15032         $(SHELL) $${libsrcdir}/configure \
15033           $(HOST_CONFIGARGS) $${srcdiroption} \
15034           || exit 1
15035
15036 .PHONY: all-tar maybe-all-tar
15037 maybe-all-tar:
15038 all-tar: configure-tar
15039         @r=`${PWD_COMMAND}`; export r; \
15040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15041         $(SET_LIB_PATH) \
15042         (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
15043
15044 .PHONY: check-tar maybe-check-tar
15045 maybe-check-tar:
15046
15047 check-tar:
15048         @r=`${PWD_COMMAND}`; export r; \
15049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050         $(SET_LIB_PATH) \
15051         (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
15052
15053
15054 .PHONY: install-tar maybe-install-tar
15055 maybe-install-tar:
15056
15057 install-tar: installdirs
15058         @r=`${PWD_COMMAND}`; export r; \
15059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15060         $(SET_LIB_PATH) \
15061         (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
15062
15063
15064 # Other targets (info, dvi, etc.)
15065
15066 .PHONY: maybe-info-tar info-tar
15067 maybe-info-tar:
15068
15069 info-tar: \
15070     configure-tar 
15071         @[ -f ./tar/Makefile ] || exit 0; \
15072         r=`${PWD_COMMAND}`; export r; \
15073         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15074         $(SET_LIB_PATH) \
15075         for flag in $(EXTRA_HOST_FLAGS); do \
15076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15077         done; \
15078         echo "Doing info in tar" ; \
15079         (cd tar && \
15080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15082                   "RANLIB=$${RANLIB}" \
15083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15084                   info) \
15085           || exit 1
15086
15087
15088 .PHONY: maybe-dvi-tar dvi-tar
15089 maybe-dvi-tar:
15090
15091 dvi-tar: \
15092     configure-tar 
15093         @[ -f ./tar/Makefile ] || exit 0; \
15094         r=`${PWD_COMMAND}`; export r; \
15095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15096         $(SET_LIB_PATH) \
15097         for flag in $(EXTRA_HOST_FLAGS); do \
15098           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15099         done; \
15100         echo "Doing dvi in tar" ; \
15101         (cd tar && \
15102           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15103                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15104                   "RANLIB=$${RANLIB}" \
15105                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15106                   dvi) \
15107           || exit 1
15108
15109
15110 .PHONY: maybe-TAGS-tar TAGS-tar
15111 maybe-TAGS-tar:
15112
15113 TAGS-tar: \
15114     configure-tar 
15115         @[ -f ./tar/Makefile ] || exit 0; \
15116         r=`${PWD_COMMAND}`; export r; \
15117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15118         $(SET_LIB_PATH) \
15119         for flag in $(EXTRA_HOST_FLAGS); do \
15120           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15121         done; \
15122         echo "Doing TAGS in tar" ; \
15123         (cd tar && \
15124           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15125                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15126                   "RANLIB=$${RANLIB}" \
15127                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15128                   TAGS) \
15129           || exit 1
15130
15131
15132 .PHONY: maybe-install-info-tar install-info-tar
15133 maybe-install-info-tar:
15134
15135 install-info-tar: \
15136     configure-tar \
15137     info-tar 
15138         @[ -f ./tar/Makefile ] || exit 0; \
15139         r=`${PWD_COMMAND}`; export r; \
15140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15141         $(SET_LIB_PATH) \
15142         for flag in $(EXTRA_HOST_FLAGS); do \
15143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15144         done; \
15145         echo "Doing install-info in tar" ; \
15146         (cd tar && \
15147           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15148                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15149                   "RANLIB=$${RANLIB}" \
15150                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15151                   install-info) \
15152           || exit 1
15153
15154
15155 .PHONY: maybe-installcheck-tar installcheck-tar
15156 maybe-installcheck-tar:
15157
15158 installcheck-tar: \
15159     configure-tar 
15160         @[ -f ./tar/Makefile ] || exit 0; \
15161         r=`${PWD_COMMAND}`; export r; \
15162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15163         $(SET_LIB_PATH) \
15164         for flag in $(EXTRA_HOST_FLAGS); do \
15165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15166         done; \
15167         echo "Doing installcheck in tar" ; \
15168         (cd tar && \
15169           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15170                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15171                   "RANLIB=$${RANLIB}" \
15172                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15173                   installcheck) \
15174           || exit 1
15175
15176
15177 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
15178 maybe-mostlyclean-tar:
15179
15180 mostlyclean-tar: 
15181         @[ -f ./tar/Makefile ] || exit 0; \
15182         r=`${PWD_COMMAND}`; export r; \
15183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15184         $(SET_LIB_PATH) \
15185         for flag in $(EXTRA_HOST_FLAGS); do \
15186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15187         done; \
15188         echo "Doing mostlyclean in tar" ; \
15189         (cd tar && \
15190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192                   "RANLIB=$${RANLIB}" \
15193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15194                   mostlyclean) \
15195           || exit 1
15196
15197
15198 .PHONY: maybe-clean-tar clean-tar
15199 maybe-clean-tar:
15200
15201 clean-tar: 
15202         @[ -f ./tar/Makefile ] || exit 0; \
15203         r=`${PWD_COMMAND}`; export r; \
15204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15205         $(SET_LIB_PATH) \
15206         for flag in $(EXTRA_HOST_FLAGS); do \
15207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15208         done; \
15209         echo "Doing clean in tar" ; \
15210         (cd tar && \
15211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15213                   "RANLIB=$${RANLIB}" \
15214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15215                   clean) \
15216           || exit 1
15217
15218
15219 .PHONY: maybe-distclean-tar distclean-tar
15220 maybe-distclean-tar:
15221
15222 distclean-tar: 
15223         @[ -f ./tar/Makefile ] || exit 0; \
15224         r=`${PWD_COMMAND}`; export r; \
15225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15226         $(SET_LIB_PATH) \
15227         for flag in $(EXTRA_HOST_FLAGS); do \
15228           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15229         done; \
15230         echo "Doing distclean in tar" ; \
15231         (cd tar && \
15232           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15233                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15234                   "RANLIB=$${RANLIB}" \
15235                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15236                   distclean) \
15237           || exit 1
15238
15239
15240 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
15241 maybe-maintainer-clean-tar:
15242
15243 maintainer-clean-tar: 
15244         @[ -f ./tar/Makefile ] || exit 0; \
15245         r=`${PWD_COMMAND}`; export r; \
15246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247         $(SET_LIB_PATH) \
15248         for flag in $(EXTRA_HOST_FLAGS); do \
15249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250         done; \
15251         echo "Doing maintainer-clean in tar" ; \
15252         (cd tar && \
15253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255                   "RANLIB=$${RANLIB}" \
15256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15257                   maintainer-clean) \
15258           || exit 1
15259
15260
15261
15262 .PHONY: configure-texinfo maybe-configure-texinfo
15263 maybe-configure-texinfo:
15264 configure-texinfo:
15265         @test ! -f texinfo/Makefile || exit 0; \
15266         [ -d texinfo ] || mkdir texinfo; \
15267         r=`${PWD_COMMAND}`; export r; \
15268         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15269         CC="$(CC)"; export CC; \
15270         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15271         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15272         CXX="$(CXX)"; export CXX; \
15273         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15274         AR="$(AR)"; export AR; \
15275         AS="$(AS)"; export AS; \
15276         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15277         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15278         LD="$(LD)"; export LD; \
15279         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15280         NM="$(NM)"; export NM; \
15281         RANLIB="$(RANLIB)"; export RANLIB; \
15282         WINDRES="$(WINDRES)"; export WINDRES; \
15283         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15284         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15285         echo Configuring in texinfo; \
15286         cd texinfo || exit 1; \
15287         case $(srcdir) in \
15288           \.) \
15289             srcdiroption="--srcdir=."; \
15290             libsrcdir=".";; \
15291           /* | [A-Za-z]:[\\/]*) \
15292             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
15293             libsrcdir="$$s/texinfo";; \
15294           *) \
15295             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
15296             libsrcdir="$$s/texinfo";; \
15297         esac; \
15298         $(SHELL) $${libsrcdir}/configure \
15299           $(HOST_CONFIGARGS) $${srcdiroption} \
15300           || exit 1
15301
15302 .PHONY: all-texinfo maybe-all-texinfo
15303 maybe-all-texinfo:
15304 all-texinfo: configure-texinfo
15305         @r=`${PWD_COMMAND}`; export r; \
15306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307         $(SET_LIB_PATH) \
15308         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
15309
15310 .PHONY: check-texinfo maybe-check-texinfo
15311 maybe-check-texinfo:
15312
15313 check-texinfo:
15314         @r=`${PWD_COMMAND}`; export r; \
15315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15316         $(SET_LIB_PATH) \
15317         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
15318
15319
15320 .PHONY: install-texinfo maybe-install-texinfo
15321 maybe-install-texinfo:
15322
15323 install-texinfo:
15324
15325
15326 # Other targets (info, dvi, etc.)
15327
15328 .PHONY: maybe-info-texinfo info-texinfo
15329 maybe-info-texinfo:
15330
15331 info-texinfo: \
15332     configure-texinfo 
15333         @[ -f ./texinfo/Makefile ] || exit 0; \
15334         r=`${PWD_COMMAND}`; export r; \
15335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15336         $(SET_LIB_PATH) \
15337         for flag in $(EXTRA_HOST_FLAGS); do \
15338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15339         done; \
15340         echo "Doing info in texinfo" ; \
15341         (cd texinfo && \
15342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344                   "RANLIB=$${RANLIB}" \
15345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15346                   info) \
15347           || exit 1
15348
15349
15350 .PHONY: maybe-dvi-texinfo dvi-texinfo
15351 maybe-dvi-texinfo:
15352
15353 dvi-texinfo: \
15354     configure-texinfo 
15355         @[ -f ./texinfo/Makefile ] || exit 0; \
15356         r=`${PWD_COMMAND}`; export r; \
15357         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358         $(SET_LIB_PATH) \
15359         for flag in $(EXTRA_HOST_FLAGS); do \
15360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361         done; \
15362         echo "Doing dvi in texinfo" ; \
15363         (cd texinfo && \
15364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366                   "RANLIB=$${RANLIB}" \
15367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15368                   dvi) \
15369           || exit 1
15370
15371
15372 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
15373 maybe-TAGS-texinfo:
15374
15375 TAGS-texinfo: \
15376     configure-texinfo 
15377         @[ -f ./texinfo/Makefile ] || exit 0; \
15378         r=`${PWD_COMMAND}`; export r; \
15379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380         $(SET_LIB_PATH) \
15381         for flag in $(EXTRA_HOST_FLAGS); do \
15382           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15383         done; \
15384         echo "Doing TAGS in texinfo" ; \
15385         (cd texinfo && \
15386           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15387                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15388                   "RANLIB=$${RANLIB}" \
15389                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15390                   TAGS) \
15391           || exit 1
15392
15393
15394 .PHONY: maybe-install-info-texinfo install-info-texinfo
15395 maybe-install-info-texinfo:
15396
15397 install-info-texinfo: \
15398     configure-texinfo \
15399     info-texinfo 
15400         @[ -f ./texinfo/Makefile ] || exit 0; \
15401         r=`${PWD_COMMAND}`; export r; \
15402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15403         $(SET_LIB_PATH) \
15404         for flag in $(EXTRA_HOST_FLAGS); do \
15405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15406         done; \
15407         echo "Doing install-info in texinfo" ; \
15408         (cd texinfo && \
15409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15411                   "RANLIB=$${RANLIB}" \
15412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15413                   install-info) \
15414           || exit 1
15415
15416
15417 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
15418 maybe-installcheck-texinfo:
15419
15420 installcheck-texinfo: \
15421     configure-texinfo 
15422         @[ -f ./texinfo/Makefile ] || exit 0; \
15423         r=`${PWD_COMMAND}`; export r; \
15424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15425         $(SET_LIB_PATH) \
15426         for flag in $(EXTRA_HOST_FLAGS); do \
15427           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15428         done; \
15429         echo "Doing installcheck in texinfo" ; \
15430         (cd texinfo && \
15431           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15432                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15433                   "RANLIB=$${RANLIB}" \
15434                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15435                   installcheck) \
15436           || exit 1
15437
15438
15439 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
15440 maybe-mostlyclean-texinfo:
15441
15442 mostlyclean-texinfo: 
15443         @[ -f ./texinfo/Makefile ] || exit 0; \
15444         r=`${PWD_COMMAND}`; export r; \
15445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446         $(SET_LIB_PATH) \
15447         for flag in $(EXTRA_HOST_FLAGS); do \
15448           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15449         done; \
15450         echo "Doing mostlyclean in texinfo" ; \
15451         (cd texinfo && \
15452           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15453                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15454                   "RANLIB=$${RANLIB}" \
15455                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15456                   mostlyclean) \
15457           || exit 1
15458
15459
15460 .PHONY: maybe-clean-texinfo clean-texinfo
15461 maybe-clean-texinfo:
15462
15463 clean-texinfo: 
15464         @[ -f ./texinfo/Makefile ] || exit 0; \
15465         r=`${PWD_COMMAND}`; export r; \
15466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15467         $(SET_LIB_PATH) \
15468         for flag in $(EXTRA_HOST_FLAGS); do \
15469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15470         done; \
15471         echo "Doing clean in texinfo" ; \
15472         (cd texinfo && \
15473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15475                   "RANLIB=$${RANLIB}" \
15476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15477                   clean) \
15478           || exit 1
15479
15480
15481 .PHONY: maybe-distclean-texinfo distclean-texinfo
15482 maybe-distclean-texinfo:
15483
15484 distclean-texinfo: 
15485         @[ -f ./texinfo/Makefile ] || exit 0; \
15486         r=`${PWD_COMMAND}`; export r; \
15487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15488         $(SET_LIB_PATH) \
15489         for flag in $(EXTRA_HOST_FLAGS); do \
15490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15491         done; \
15492         echo "Doing distclean in texinfo" ; \
15493         (cd texinfo && \
15494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15496                   "RANLIB=$${RANLIB}" \
15497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15498                   distclean) \
15499           || exit 1
15500
15501
15502 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
15503 maybe-maintainer-clean-texinfo:
15504
15505 maintainer-clean-texinfo: 
15506         @[ -f ./texinfo/Makefile ] || exit 0; \
15507         r=`${PWD_COMMAND}`; export r; \
15508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509         $(SET_LIB_PATH) \
15510         for flag in $(EXTRA_HOST_FLAGS); do \
15511           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512         done; \
15513         echo "Doing maintainer-clean in texinfo" ; \
15514         (cd texinfo && \
15515           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517                   "RANLIB=$${RANLIB}" \
15518                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15519                   maintainer-clean) \
15520           || exit 1
15521
15522
15523
15524 .PHONY: configure-textutils maybe-configure-textutils
15525 maybe-configure-textutils:
15526 configure-textutils:
15527         @test ! -f textutils/Makefile || exit 0; \
15528         [ -d textutils ] || mkdir textutils; \
15529         r=`${PWD_COMMAND}`; export r; \
15530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15531         CC="$(CC)"; export CC; \
15532         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15533         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15534         CXX="$(CXX)"; export CXX; \
15535         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15536         AR="$(AR)"; export AR; \
15537         AS="$(AS)"; export AS; \
15538         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15539         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15540         LD="$(LD)"; export LD; \
15541         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15542         NM="$(NM)"; export NM; \
15543         RANLIB="$(RANLIB)"; export RANLIB; \
15544         WINDRES="$(WINDRES)"; export WINDRES; \
15545         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15546         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15547         echo Configuring in textutils; \
15548         cd textutils || exit 1; \
15549         case $(srcdir) in \
15550           \.) \
15551             srcdiroption="--srcdir=."; \
15552             libsrcdir=".";; \
15553           /* | [A-Za-z]:[\\/]*) \
15554             srcdiroption="--srcdir=$(srcdir)/textutils"; \
15555             libsrcdir="$$s/textutils";; \
15556           *) \
15557             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
15558             libsrcdir="$$s/textutils";; \
15559         esac; \
15560         $(SHELL) $${libsrcdir}/configure \
15561           $(HOST_CONFIGARGS) $${srcdiroption} \
15562           || exit 1
15563
15564 .PHONY: all-textutils maybe-all-textutils
15565 maybe-all-textutils:
15566 all-textutils: configure-textutils
15567         @r=`${PWD_COMMAND}`; export r; \
15568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15569         $(SET_LIB_PATH) \
15570         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
15571
15572 .PHONY: check-textutils maybe-check-textutils
15573 maybe-check-textutils:
15574
15575 check-textutils:
15576         @r=`${PWD_COMMAND}`; export r; \
15577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15578         $(SET_LIB_PATH) \
15579         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
15580
15581
15582 .PHONY: install-textutils maybe-install-textutils
15583 maybe-install-textutils:
15584
15585 install-textutils: installdirs
15586         @r=`${PWD_COMMAND}`; export r; \
15587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15588         $(SET_LIB_PATH) \
15589         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
15590
15591
15592 # Other targets (info, dvi, etc.)
15593
15594 .PHONY: maybe-info-textutils info-textutils
15595 maybe-info-textutils:
15596
15597 info-textutils: \
15598     configure-textutils 
15599         @[ -f ./textutils/Makefile ] || exit 0; \
15600         r=`${PWD_COMMAND}`; export r; \
15601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15602         $(SET_LIB_PATH) \
15603         for flag in $(EXTRA_HOST_FLAGS); do \
15604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15605         done; \
15606         echo "Doing info in textutils" ; \
15607         (cd textutils && \
15608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15610                   "RANLIB=$${RANLIB}" \
15611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15612                   info) \
15613           || exit 1
15614
15615
15616 .PHONY: maybe-dvi-textutils dvi-textutils
15617 maybe-dvi-textutils:
15618
15619 dvi-textutils: \
15620     configure-textutils 
15621         @[ -f ./textutils/Makefile ] || exit 0; \
15622         r=`${PWD_COMMAND}`; export r; \
15623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15624         $(SET_LIB_PATH) \
15625         for flag in $(EXTRA_HOST_FLAGS); do \
15626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15627         done; \
15628         echo "Doing dvi in textutils" ; \
15629         (cd textutils && \
15630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15632                   "RANLIB=$${RANLIB}" \
15633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15634                   dvi) \
15635           || exit 1
15636
15637
15638 .PHONY: maybe-TAGS-textutils TAGS-textutils
15639 maybe-TAGS-textutils:
15640
15641 TAGS-textutils: \
15642     configure-textutils 
15643         @[ -f ./textutils/Makefile ] || exit 0; \
15644         r=`${PWD_COMMAND}`; export r; \
15645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15646         $(SET_LIB_PATH) \
15647         for flag in $(EXTRA_HOST_FLAGS); do \
15648           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15649         done; \
15650         echo "Doing TAGS in textutils" ; \
15651         (cd textutils && \
15652           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654                   "RANLIB=$${RANLIB}" \
15655                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15656                   TAGS) \
15657           || exit 1
15658
15659
15660 .PHONY: maybe-install-info-textutils install-info-textutils
15661 maybe-install-info-textutils:
15662
15663 install-info-textutils: \
15664     configure-textutils \
15665     info-textutils 
15666         @[ -f ./textutils/Makefile ] || exit 0; \
15667         r=`${PWD_COMMAND}`; export r; \
15668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15669         $(SET_LIB_PATH) \
15670         for flag in $(EXTRA_HOST_FLAGS); do \
15671           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15672         done; \
15673         echo "Doing install-info in textutils" ; \
15674         (cd textutils && \
15675           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15676                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15677                   "RANLIB=$${RANLIB}" \
15678                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15679                   install-info) \
15680           || exit 1
15681
15682
15683 .PHONY: maybe-installcheck-textutils installcheck-textutils
15684 maybe-installcheck-textutils:
15685
15686 installcheck-textutils: \
15687     configure-textutils 
15688         @[ -f ./textutils/Makefile ] || exit 0; \
15689         r=`${PWD_COMMAND}`; export r; \
15690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15691         $(SET_LIB_PATH) \
15692         for flag in $(EXTRA_HOST_FLAGS); do \
15693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15694         done; \
15695         echo "Doing installcheck in textutils" ; \
15696         (cd textutils && \
15697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15699                   "RANLIB=$${RANLIB}" \
15700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15701                   installcheck) \
15702           || exit 1
15703
15704
15705 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
15706 maybe-mostlyclean-textutils:
15707
15708 mostlyclean-textutils: 
15709         @[ -f ./textutils/Makefile ] || exit 0; \
15710         r=`${PWD_COMMAND}`; export r; \
15711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712         $(SET_LIB_PATH) \
15713         for flag in $(EXTRA_HOST_FLAGS); do \
15714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15715         done; \
15716         echo "Doing mostlyclean in textutils" ; \
15717         (cd textutils && \
15718           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15719                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15720                   "RANLIB=$${RANLIB}" \
15721                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15722                   mostlyclean) \
15723           || exit 1
15724
15725
15726 .PHONY: maybe-clean-textutils clean-textutils
15727 maybe-clean-textutils:
15728
15729 clean-textutils: 
15730         @[ -f ./textutils/Makefile ] || exit 0; \
15731         r=`${PWD_COMMAND}`; export r; \
15732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733         $(SET_LIB_PATH) \
15734         for flag in $(EXTRA_HOST_FLAGS); do \
15735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15736         done; \
15737         echo "Doing clean in textutils" ; \
15738         (cd textutils && \
15739           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15740                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15741                   "RANLIB=$${RANLIB}" \
15742                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15743                   clean) \
15744           || exit 1
15745
15746
15747 .PHONY: maybe-distclean-textutils distclean-textutils
15748 maybe-distclean-textutils:
15749
15750 distclean-textutils: 
15751         @[ -f ./textutils/Makefile ] || exit 0; \
15752         r=`${PWD_COMMAND}`; export r; \
15753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15754         $(SET_LIB_PATH) \
15755         for flag in $(EXTRA_HOST_FLAGS); do \
15756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15757         done; \
15758         echo "Doing distclean in textutils" ; \
15759         (cd textutils && \
15760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15762                   "RANLIB=$${RANLIB}" \
15763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15764                   distclean) \
15765           || exit 1
15766
15767
15768 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
15769 maybe-maintainer-clean-textutils:
15770
15771 maintainer-clean-textutils: 
15772         @[ -f ./textutils/Makefile ] || exit 0; \
15773         r=`${PWD_COMMAND}`; export r; \
15774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775         $(SET_LIB_PATH) \
15776         for flag in $(EXTRA_HOST_FLAGS); do \
15777           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15778         done; \
15779         echo "Doing maintainer-clean in textutils" ; \
15780         (cd textutils && \
15781           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15782                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15783                   "RANLIB=$${RANLIB}" \
15784                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15785                   maintainer-clean) \
15786           || exit 1
15787
15788
15789
15790 .PHONY: configure-time maybe-configure-time
15791 maybe-configure-time:
15792 configure-time:
15793         @test ! -f time/Makefile || exit 0; \
15794         [ -d time ] || mkdir time; \
15795         r=`${PWD_COMMAND}`; export r; \
15796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797         CC="$(CC)"; export CC; \
15798         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15799         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15800         CXX="$(CXX)"; export CXX; \
15801         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15802         AR="$(AR)"; export AR; \
15803         AS="$(AS)"; export AS; \
15804         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15805         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15806         LD="$(LD)"; export LD; \
15807         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15808         NM="$(NM)"; export NM; \
15809         RANLIB="$(RANLIB)"; export RANLIB; \
15810         WINDRES="$(WINDRES)"; export WINDRES; \
15811         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15812         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15813         echo Configuring in time; \
15814         cd time || exit 1; \
15815         case $(srcdir) in \
15816           \.) \
15817             srcdiroption="--srcdir=."; \
15818             libsrcdir=".";; \
15819           /* | [A-Za-z]:[\\/]*) \
15820             srcdiroption="--srcdir=$(srcdir)/time"; \
15821             libsrcdir="$$s/time";; \
15822           *) \
15823             srcdiroption="--srcdir=../$(srcdir)/time"; \
15824             libsrcdir="$$s/time";; \
15825         esac; \
15826         $(SHELL) $${libsrcdir}/configure \
15827           $(HOST_CONFIGARGS) $${srcdiroption} \
15828           || exit 1
15829
15830 .PHONY: all-time maybe-all-time
15831 maybe-all-time:
15832 all-time: configure-time
15833         @r=`${PWD_COMMAND}`; export r; \
15834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15835         $(SET_LIB_PATH) \
15836         (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
15837
15838 .PHONY: check-time maybe-check-time
15839 maybe-check-time:
15840
15841 check-time:
15842         @r=`${PWD_COMMAND}`; export r; \
15843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844         $(SET_LIB_PATH) \
15845         (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
15846
15847
15848 .PHONY: install-time maybe-install-time
15849 maybe-install-time:
15850
15851 install-time: installdirs
15852         @r=`${PWD_COMMAND}`; export r; \
15853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854         $(SET_LIB_PATH) \
15855         (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
15856
15857
15858 # Other targets (info, dvi, etc.)
15859
15860 .PHONY: maybe-info-time info-time
15861 maybe-info-time:
15862
15863 info-time: \
15864     configure-time 
15865         @[ -f ./time/Makefile ] || exit 0; \
15866         r=`${PWD_COMMAND}`; export r; \
15867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868         $(SET_LIB_PATH) \
15869         for flag in $(EXTRA_HOST_FLAGS); do \
15870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15871         done; \
15872         echo "Doing info in time" ; \
15873         (cd time && \
15874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15876                   "RANLIB=$${RANLIB}" \
15877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15878                   info) \
15879           || exit 1
15880
15881
15882 .PHONY: maybe-dvi-time dvi-time
15883 maybe-dvi-time:
15884
15885 dvi-time: \
15886     configure-time 
15887         @[ -f ./time/Makefile ] || exit 0; \
15888         r=`${PWD_COMMAND}`; export r; \
15889         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15890         $(SET_LIB_PATH) \
15891         for flag in $(EXTRA_HOST_FLAGS); do \
15892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15893         done; \
15894         echo "Doing dvi in time" ; \
15895         (cd time && \
15896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15898                   "RANLIB=$${RANLIB}" \
15899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15900                   dvi) \
15901           || exit 1
15902
15903
15904 .PHONY: maybe-TAGS-time TAGS-time
15905 maybe-TAGS-time:
15906
15907 TAGS-time: \
15908     configure-time 
15909         @[ -f ./time/Makefile ] || exit 0; \
15910         r=`${PWD_COMMAND}`; export r; \
15911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912         $(SET_LIB_PATH) \
15913         for flag in $(EXTRA_HOST_FLAGS); do \
15914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915         done; \
15916         echo "Doing TAGS in time" ; \
15917         (cd time && \
15918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920                   "RANLIB=$${RANLIB}" \
15921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922                   TAGS) \
15923           || exit 1
15924
15925
15926 .PHONY: maybe-install-info-time install-info-time
15927 maybe-install-info-time:
15928
15929 install-info-time: \
15930     configure-time \
15931     info-time 
15932         @[ -f ./time/Makefile ] || exit 0; \
15933         r=`${PWD_COMMAND}`; export r; \
15934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935         $(SET_LIB_PATH) \
15936         for flag in $(EXTRA_HOST_FLAGS); do \
15937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938         done; \
15939         echo "Doing install-info in time" ; \
15940         (cd time && \
15941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943                   "RANLIB=$${RANLIB}" \
15944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945                   install-info) \
15946           || exit 1
15947
15948
15949 .PHONY: maybe-installcheck-time installcheck-time
15950 maybe-installcheck-time:
15951
15952 installcheck-time: \
15953     configure-time 
15954         @[ -f ./time/Makefile ] || exit 0; \
15955         r=`${PWD_COMMAND}`; export r; \
15956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15957         $(SET_LIB_PATH) \
15958         for flag in $(EXTRA_HOST_FLAGS); do \
15959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15960         done; \
15961         echo "Doing installcheck in time" ; \
15962         (cd time && \
15963           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15964                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15965                   "RANLIB=$${RANLIB}" \
15966                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15967                   installcheck) \
15968           || exit 1
15969
15970
15971 .PHONY: maybe-mostlyclean-time mostlyclean-time
15972 maybe-mostlyclean-time:
15973
15974 mostlyclean-time: 
15975         @[ -f ./time/Makefile ] || exit 0; \
15976         r=`${PWD_COMMAND}`; export r; \
15977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15978         $(SET_LIB_PATH) \
15979         for flag in $(EXTRA_HOST_FLAGS); do \
15980           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15981         done; \
15982         echo "Doing mostlyclean in time" ; \
15983         (cd time && \
15984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986                   "RANLIB=$${RANLIB}" \
15987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15988                   mostlyclean) \
15989           || exit 1
15990
15991
15992 .PHONY: maybe-clean-time clean-time
15993 maybe-clean-time:
15994
15995 clean-time: 
15996         @[ -f ./time/Makefile ] || exit 0; \
15997         r=`${PWD_COMMAND}`; export r; \
15998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15999         $(SET_LIB_PATH) \
16000         for flag in $(EXTRA_HOST_FLAGS); do \
16001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16002         done; \
16003         echo "Doing clean in time" ; \
16004         (cd time && \
16005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16007                   "RANLIB=$${RANLIB}" \
16008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16009                   clean) \
16010           || exit 1
16011
16012
16013 .PHONY: maybe-distclean-time distclean-time
16014 maybe-distclean-time:
16015
16016 distclean-time: 
16017         @[ -f ./time/Makefile ] || exit 0; \
16018         r=`${PWD_COMMAND}`; export r; \
16019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16020         $(SET_LIB_PATH) \
16021         for flag in $(EXTRA_HOST_FLAGS); do \
16022           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16023         done; \
16024         echo "Doing distclean in time" ; \
16025         (cd time && \
16026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16028                   "RANLIB=$${RANLIB}" \
16029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16030                   distclean) \
16031           || exit 1
16032
16033
16034 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16035 maybe-maintainer-clean-time:
16036
16037 maintainer-clean-time: 
16038         @[ -f ./time/Makefile ] || exit 0; \
16039         r=`${PWD_COMMAND}`; export r; \
16040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16041         $(SET_LIB_PATH) \
16042         for flag in $(EXTRA_HOST_FLAGS); do \
16043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16044         done; \
16045         echo "Doing maintainer-clean in time" ; \
16046         (cd time && \
16047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16049                   "RANLIB=$${RANLIB}" \
16050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16051                   maintainer-clean) \
16052           || exit 1
16053
16054
16055
16056 .PHONY: configure-uudecode maybe-configure-uudecode
16057 maybe-configure-uudecode:
16058 configure-uudecode:
16059         @test ! -f uudecode/Makefile || exit 0; \
16060         [ -d uudecode ] || mkdir uudecode; \
16061         r=`${PWD_COMMAND}`; export r; \
16062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063         CC="$(CC)"; export CC; \
16064         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16065         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16066         CXX="$(CXX)"; export CXX; \
16067         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16068         AR="$(AR)"; export AR; \
16069         AS="$(AS)"; export AS; \
16070         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16071         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16072         LD="$(LD)"; export LD; \
16073         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16074         NM="$(NM)"; export NM; \
16075         RANLIB="$(RANLIB)"; export RANLIB; \
16076         WINDRES="$(WINDRES)"; export WINDRES; \
16077         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16078         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16079         echo Configuring in uudecode; \
16080         cd uudecode || exit 1; \
16081         case $(srcdir) in \
16082           \.) \
16083             srcdiroption="--srcdir=."; \
16084             libsrcdir=".";; \
16085           /* | [A-Za-z]:[\\/]*) \
16086             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
16087             libsrcdir="$$s/uudecode";; \
16088           *) \
16089             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
16090             libsrcdir="$$s/uudecode";; \
16091         esac; \
16092         $(SHELL) $${libsrcdir}/configure \
16093           $(HOST_CONFIGARGS) $${srcdiroption} \
16094           || exit 1
16095
16096 .PHONY: all-uudecode maybe-all-uudecode
16097 maybe-all-uudecode:
16098 all-uudecode: configure-uudecode
16099         @r=`${PWD_COMMAND}`; export r; \
16100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16101         $(SET_LIB_PATH) \
16102         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
16103
16104 .PHONY: check-uudecode maybe-check-uudecode
16105 maybe-check-uudecode:
16106
16107 check-uudecode:
16108         @r=`${PWD_COMMAND}`; export r; \
16109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16110         $(SET_LIB_PATH) \
16111         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
16112
16113
16114 .PHONY: install-uudecode maybe-install-uudecode
16115 maybe-install-uudecode:
16116
16117 install-uudecode: installdirs
16118         @r=`${PWD_COMMAND}`; export r; \
16119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120         $(SET_LIB_PATH) \
16121         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
16122
16123
16124 # Other targets (info, dvi, etc.)
16125
16126 .PHONY: maybe-info-uudecode info-uudecode
16127 maybe-info-uudecode:
16128
16129 info-uudecode: \
16130     configure-uudecode 
16131         @[ -f ./uudecode/Makefile ] || exit 0; \
16132         r=`${PWD_COMMAND}`; export r; \
16133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134         $(SET_LIB_PATH) \
16135         for flag in $(EXTRA_HOST_FLAGS); do \
16136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16137         done; \
16138         echo "Doing info in uudecode" ; \
16139         (cd uudecode && \
16140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16142                   "RANLIB=$${RANLIB}" \
16143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16144                   info) \
16145           || exit 1
16146
16147
16148 .PHONY: maybe-dvi-uudecode dvi-uudecode
16149 maybe-dvi-uudecode:
16150
16151 dvi-uudecode: \
16152     configure-uudecode 
16153         @[ -f ./uudecode/Makefile ] || exit 0; \
16154         r=`${PWD_COMMAND}`; export r; \
16155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16156         $(SET_LIB_PATH) \
16157         for flag in $(EXTRA_HOST_FLAGS); do \
16158           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16159         done; \
16160         echo "Doing dvi in uudecode" ; \
16161         (cd uudecode && \
16162           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16163                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16164                   "RANLIB=$${RANLIB}" \
16165                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16166                   dvi) \
16167           || exit 1
16168
16169
16170 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
16171 maybe-TAGS-uudecode:
16172
16173 TAGS-uudecode: \
16174     configure-uudecode 
16175         @[ -f ./uudecode/Makefile ] || exit 0; \
16176         r=`${PWD_COMMAND}`; export r; \
16177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178         $(SET_LIB_PATH) \
16179         for flag in $(EXTRA_HOST_FLAGS); do \
16180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16181         done; \
16182         echo "Doing TAGS in uudecode" ; \
16183         (cd uudecode && \
16184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16186                   "RANLIB=$${RANLIB}" \
16187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16188                   TAGS) \
16189           || exit 1
16190
16191
16192 .PHONY: maybe-install-info-uudecode install-info-uudecode
16193 maybe-install-info-uudecode:
16194
16195 install-info-uudecode: \
16196     configure-uudecode \
16197     info-uudecode 
16198         @[ -f ./uudecode/Makefile ] || exit 0; \
16199         r=`${PWD_COMMAND}`; export r; \
16200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201         $(SET_LIB_PATH) \
16202         for flag in $(EXTRA_HOST_FLAGS); do \
16203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204         done; \
16205         echo "Doing install-info in uudecode" ; \
16206         (cd uudecode && \
16207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209                   "RANLIB=$${RANLIB}" \
16210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211                   install-info) \
16212           || exit 1
16213
16214
16215 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
16216 maybe-installcheck-uudecode:
16217
16218 installcheck-uudecode: \
16219     configure-uudecode 
16220         @[ -f ./uudecode/Makefile ] || exit 0; \
16221         r=`${PWD_COMMAND}`; export r; \
16222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223         $(SET_LIB_PATH) \
16224         for flag in $(EXTRA_HOST_FLAGS); do \
16225           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16226         done; \
16227         echo "Doing installcheck in uudecode" ; \
16228         (cd uudecode && \
16229           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16230                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16231                   "RANLIB=$${RANLIB}" \
16232                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16233                   installcheck) \
16234           || exit 1
16235
16236
16237 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
16238 maybe-mostlyclean-uudecode:
16239
16240 mostlyclean-uudecode: 
16241         @[ -f ./uudecode/Makefile ] || exit 0; \
16242         r=`${PWD_COMMAND}`; export r; \
16243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16244         $(SET_LIB_PATH) \
16245         for flag in $(EXTRA_HOST_FLAGS); do \
16246           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16247         done; \
16248         echo "Doing mostlyclean in uudecode" ; \
16249         (cd uudecode && \
16250           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16251                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16252                   "RANLIB=$${RANLIB}" \
16253                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16254                   mostlyclean) \
16255           || exit 1
16256
16257
16258 .PHONY: maybe-clean-uudecode clean-uudecode
16259 maybe-clean-uudecode:
16260
16261 clean-uudecode: 
16262         @[ -f ./uudecode/Makefile ] || exit 0; \
16263         r=`${PWD_COMMAND}`; export r; \
16264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265         $(SET_LIB_PATH) \
16266         for flag in $(EXTRA_HOST_FLAGS); do \
16267           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16268         done; \
16269         echo "Doing clean in uudecode" ; \
16270         (cd uudecode && \
16271           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273                   "RANLIB=$${RANLIB}" \
16274                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16275                   clean) \
16276           || exit 1
16277
16278
16279 .PHONY: maybe-distclean-uudecode distclean-uudecode
16280 maybe-distclean-uudecode:
16281
16282 distclean-uudecode: 
16283         @[ -f ./uudecode/Makefile ] || exit 0; \
16284         r=`${PWD_COMMAND}`; export r; \
16285         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286         $(SET_LIB_PATH) \
16287         for flag in $(EXTRA_HOST_FLAGS); do \
16288           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16289         done; \
16290         echo "Doing distclean in uudecode" ; \
16291         (cd uudecode && \
16292           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16293                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16294                   "RANLIB=$${RANLIB}" \
16295                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16296                   distclean) \
16297           || exit 1
16298
16299
16300 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16301 maybe-maintainer-clean-uudecode:
16302
16303 maintainer-clean-uudecode: 
16304         @[ -f ./uudecode/Makefile ] || exit 0; \
16305         r=`${PWD_COMMAND}`; export r; \
16306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307         $(SET_LIB_PATH) \
16308         for flag in $(EXTRA_HOST_FLAGS); do \
16309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16310         done; \
16311         echo "Doing maintainer-clean in uudecode" ; \
16312         (cd uudecode && \
16313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315                   "RANLIB=$${RANLIB}" \
16316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16317                   maintainer-clean) \
16318           || exit 1
16319
16320
16321
16322 .PHONY: configure-wdiff maybe-configure-wdiff
16323 maybe-configure-wdiff:
16324 configure-wdiff:
16325         @test ! -f wdiff/Makefile || exit 0; \
16326         [ -d wdiff ] || mkdir wdiff; \
16327         r=`${PWD_COMMAND}`; export r; \
16328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329         CC="$(CC)"; export CC; \
16330         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16331         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16332         CXX="$(CXX)"; export CXX; \
16333         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16334         AR="$(AR)"; export AR; \
16335         AS="$(AS)"; export AS; \
16336         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16337         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16338         LD="$(LD)"; export LD; \
16339         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16340         NM="$(NM)"; export NM; \
16341         RANLIB="$(RANLIB)"; export RANLIB; \
16342         WINDRES="$(WINDRES)"; export WINDRES; \
16343         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16344         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16345         echo Configuring in wdiff; \
16346         cd wdiff || exit 1; \
16347         case $(srcdir) in \
16348           \.) \
16349             srcdiroption="--srcdir=."; \
16350             libsrcdir=".";; \
16351           /* | [A-Za-z]:[\\/]*) \
16352             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
16353             libsrcdir="$$s/wdiff";; \
16354           *) \
16355             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
16356             libsrcdir="$$s/wdiff";; \
16357         esac; \
16358         $(SHELL) $${libsrcdir}/configure \
16359           $(HOST_CONFIGARGS) $${srcdiroption} \
16360           || exit 1
16361
16362 .PHONY: all-wdiff maybe-all-wdiff
16363 maybe-all-wdiff:
16364 all-wdiff: configure-wdiff
16365         @r=`${PWD_COMMAND}`; export r; \
16366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367         $(SET_LIB_PATH) \
16368         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
16369
16370 .PHONY: check-wdiff maybe-check-wdiff
16371 maybe-check-wdiff:
16372
16373 check-wdiff:
16374         @r=`${PWD_COMMAND}`; export r; \
16375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16376         $(SET_LIB_PATH) \
16377         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
16378
16379
16380 .PHONY: install-wdiff maybe-install-wdiff
16381 maybe-install-wdiff:
16382
16383 install-wdiff: installdirs
16384         @r=`${PWD_COMMAND}`; export r; \
16385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16386         $(SET_LIB_PATH) \
16387         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
16388
16389
16390 # Other targets (info, dvi, etc.)
16391
16392 .PHONY: maybe-info-wdiff info-wdiff
16393 maybe-info-wdiff:
16394
16395 info-wdiff: \
16396     configure-wdiff 
16397         @[ -f ./wdiff/Makefile ] || exit 0; \
16398         r=`${PWD_COMMAND}`; export r; \
16399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16400         $(SET_LIB_PATH) \
16401         for flag in $(EXTRA_HOST_FLAGS); do \
16402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16403         done; \
16404         echo "Doing info in wdiff" ; \
16405         (cd wdiff && \
16406           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16407                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16408                   "RANLIB=$${RANLIB}" \
16409                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16410                   info) \
16411           || exit 1
16412
16413
16414 .PHONY: maybe-dvi-wdiff dvi-wdiff
16415 maybe-dvi-wdiff:
16416
16417 dvi-wdiff: \
16418     configure-wdiff 
16419         @[ -f ./wdiff/Makefile ] || exit 0; \
16420         r=`${PWD_COMMAND}`; export r; \
16421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16422         $(SET_LIB_PATH) \
16423         for flag in $(EXTRA_HOST_FLAGS); do \
16424           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16425         done; \
16426         echo "Doing dvi in wdiff" ; \
16427         (cd wdiff && \
16428           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16429                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16430                   "RANLIB=$${RANLIB}" \
16431                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16432                   dvi) \
16433           || exit 1
16434
16435
16436 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
16437 maybe-TAGS-wdiff:
16438
16439 TAGS-wdiff: \
16440     configure-wdiff 
16441         @[ -f ./wdiff/Makefile ] || exit 0; \
16442         r=`${PWD_COMMAND}`; export r; \
16443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444         $(SET_LIB_PATH) \
16445         for flag in $(EXTRA_HOST_FLAGS); do \
16446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16447         done; \
16448         echo "Doing TAGS in wdiff" ; \
16449         (cd wdiff && \
16450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16452                   "RANLIB=$${RANLIB}" \
16453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16454                   TAGS) \
16455           || exit 1
16456
16457
16458 .PHONY: maybe-install-info-wdiff install-info-wdiff
16459 maybe-install-info-wdiff:
16460
16461 install-info-wdiff: \
16462     configure-wdiff \
16463     info-wdiff 
16464         @[ -f ./wdiff/Makefile ] || exit 0; \
16465         r=`${PWD_COMMAND}`; export r; \
16466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467         $(SET_LIB_PATH) \
16468         for flag in $(EXTRA_HOST_FLAGS); do \
16469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470         done; \
16471         echo "Doing install-info in wdiff" ; \
16472         (cd wdiff && \
16473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475                   "RANLIB=$${RANLIB}" \
16476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16477                   install-info) \
16478           || exit 1
16479
16480
16481 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
16482 maybe-installcheck-wdiff:
16483
16484 installcheck-wdiff: \
16485     configure-wdiff 
16486         @[ -f ./wdiff/Makefile ] || exit 0; \
16487         r=`${PWD_COMMAND}`; export r; \
16488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489         $(SET_LIB_PATH) \
16490         for flag in $(EXTRA_HOST_FLAGS); do \
16491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16492         done; \
16493         echo "Doing installcheck in wdiff" ; \
16494         (cd wdiff && \
16495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497                   "RANLIB=$${RANLIB}" \
16498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16499                   installcheck) \
16500           || exit 1
16501
16502
16503 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
16504 maybe-mostlyclean-wdiff:
16505
16506 mostlyclean-wdiff: 
16507         @[ -f ./wdiff/Makefile ] || exit 0; \
16508         r=`${PWD_COMMAND}`; export r; \
16509         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16510         $(SET_LIB_PATH) \
16511         for flag in $(EXTRA_HOST_FLAGS); do \
16512           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16513         done; \
16514         echo "Doing mostlyclean in wdiff" ; \
16515         (cd wdiff && \
16516           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518                   "RANLIB=$${RANLIB}" \
16519                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16520                   mostlyclean) \
16521           || exit 1
16522
16523
16524 .PHONY: maybe-clean-wdiff clean-wdiff
16525 maybe-clean-wdiff:
16526
16527 clean-wdiff: 
16528         @[ -f ./wdiff/Makefile ] || exit 0; \
16529         r=`${PWD_COMMAND}`; export r; \
16530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531         $(SET_LIB_PATH) \
16532         for flag in $(EXTRA_HOST_FLAGS); do \
16533           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16534         done; \
16535         echo "Doing clean in wdiff" ; \
16536         (cd wdiff && \
16537           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16538                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16539                   "RANLIB=$${RANLIB}" \
16540                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16541                   clean) \
16542           || exit 1
16543
16544
16545 .PHONY: maybe-distclean-wdiff distclean-wdiff
16546 maybe-distclean-wdiff:
16547
16548 distclean-wdiff: 
16549         @[ -f ./wdiff/Makefile ] || exit 0; \
16550         r=`${PWD_COMMAND}`; export r; \
16551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16552         $(SET_LIB_PATH) \
16553         for flag in $(EXTRA_HOST_FLAGS); do \
16554           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16555         done; \
16556         echo "Doing distclean in wdiff" ; \
16557         (cd wdiff && \
16558           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16559                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16560                   "RANLIB=$${RANLIB}" \
16561                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16562                   distclean) \
16563           || exit 1
16564
16565
16566 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16567 maybe-maintainer-clean-wdiff:
16568
16569 maintainer-clean-wdiff: 
16570         @[ -f ./wdiff/Makefile ] || exit 0; \
16571         r=`${PWD_COMMAND}`; export r; \
16572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16573         $(SET_LIB_PATH) \
16574         for flag in $(EXTRA_HOST_FLAGS); do \
16575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16576         done; \
16577         echo "Doing maintainer-clean in wdiff" ; \
16578         (cd wdiff && \
16579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16581                   "RANLIB=$${RANLIB}" \
16582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16583                   maintainer-clean) \
16584           || exit 1
16585
16586
16587
16588 .PHONY: configure-zip maybe-configure-zip
16589 maybe-configure-zip:
16590 configure-zip:
16591         @test ! -f zip/Makefile || exit 0; \
16592         [ -d zip ] || mkdir zip; \
16593         r=`${PWD_COMMAND}`; export r; \
16594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595         CC="$(CC)"; export CC; \
16596         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16597         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16598         CXX="$(CXX)"; export CXX; \
16599         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16600         AR="$(AR)"; export AR; \
16601         AS="$(AS)"; export AS; \
16602         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16603         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16604         LD="$(LD)"; export LD; \
16605         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16606         NM="$(NM)"; export NM; \
16607         RANLIB="$(RANLIB)"; export RANLIB; \
16608         WINDRES="$(WINDRES)"; export WINDRES; \
16609         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16610         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16611         echo Configuring in zip; \
16612         cd zip || exit 1; \
16613         case $(srcdir) in \
16614           \.) \
16615             srcdiroption="--srcdir=."; \
16616             libsrcdir=".";; \
16617           /* | [A-Za-z]:[\\/]*) \
16618             srcdiroption="--srcdir=$(srcdir)/zip"; \
16619             libsrcdir="$$s/zip";; \
16620           *) \
16621             srcdiroption="--srcdir=../$(srcdir)/zip"; \
16622             libsrcdir="$$s/zip";; \
16623         esac; \
16624         $(SHELL) $${libsrcdir}/configure \
16625           $(HOST_CONFIGARGS) $${srcdiroption} \
16626           || exit 1
16627
16628 .PHONY: all-zip maybe-all-zip
16629 maybe-all-zip:
16630 all-zip: configure-zip
16631         @r=`${PWD_COMMAND}`; export r; \
16632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16633         $(SET_LIB_PATH) \
16634         (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
16635
16636 .PHONY: check-zip maybe-check-zip
16637 maybe-check-zip:
16638
16639 # This module is only tested in a native toolchain.
16640 check-zip:
16641         @if [ '$(host)' = '$(target)' ] ; then \
16642           r=`${PWD_COMMAND}`; export r; \
16643           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16644           $(SET_LIB_PATH) \
16645           (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
16646         fi
16647
16648
16649 .PHONY: install-zip maybe-install-zip
16650 maybe-install-zip:
16651
16652 install-zip: installdirs
16653         @r=`${PWD_COMMAND}`; export r; \
16654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655         $(SET_LIB_PATH) \
16656         (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
16657
16658
16659 # Other targets (info, dvi, etc.)
16660
16661 .PHONY: maybe-info-zip info-zip
16662 maybe-info-zip:
16663
16664 info-zip: \
16665     configure-zip 
16666         @[ -f ./zip/Makefile ] || exit 0; \
16667         r=`${PWD_COMMAND}`; export r; \
16668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669         $(SET_LIB_PATH) \
16670         for flag in $(EXTRA_HOST_FLAGS); do \
16671           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672         done; \
16673         echo "Doing info in zip" ; \
16674         (cd zip && \
16675           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677                   "RANLIB=$${RANLIB}" \
16678                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16679                   info) \
16680           || exit 1
16681
16682
16683 .PHONY: maybe-dvi-zip dvi-zip
16684 maybe-dvi-zip:
16685
16686 dvi-zip: \
16687     configure-zip 
16688         @[ -f ./zip/Makefile ] || exit 0; \
16689         r=`${PWD_COMMAND}`; export r; \
16690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16691         $(SET_LIB_PATH) \
16692         for flag in $(EXTRA_HOST_FLAGS); do \
16693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16694         done; \
16695         echo "Doing dvi in zip" ; \
16696         (cd zip && \
16697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16699                   "RANLIB=$${RANLIB}" \
16700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16701                   dvi) \
16702           || exit 1
16703
16704
16705 .PHONY: maybe-TAGS-zip TAGS-zip
16706 maybe-TAGS-zip:
16707
16708 TAGS-zip: \
16709     configure-zip 
16710         @[ -f ./zip/Makefile ] || exit 0; \
16711         r=`${PWD_COMMAND}`; export r; \
16712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16713         $(SET_LIB_PATH) \
16714         for flag in $(EXTRA_HOST_FLAGS); do \
16715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16716         done; \
16717         echo "Doing TAGS in zip" ; \
16718         (cd zip && \
16719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16721                   "RANLIB=$${RANLIB}" \
16722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16723                   TAGS) \
16724           || exit 1
16725
16726
16727 .PHONY: maybe-install-info-zip install-info-zip
16728 maybe-install-info-zip:
16729
16730 install-info-zip: \
16731     configure-zip \
16732     info-zip 
16733         @[ -f ./zip/Makefile ] || exit 0; \
16734         r=`${PWD_COMMAND}`; export r; \
16735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16736         $(SET_LIB_PATH) \
16737         for flag in $(EXTRA_HOST_FLAGS); do \
16738           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16739         done; \
16740         echo "Doing install-info in zip" ; \
16741         (cd zip && \
16742           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16743                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16744                   "RANLIB=$${RANLIB}" \
16745                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16746                   install-info) \
16747           || exit 1
16748
16749
16750 .PHONY: maybe-installcheck-zip installcheck-zip
16751 maybe-installcheck-zip:
16752
16753 installcheck-zip: \
16754     configure-zip 
16755         @[ -f ./zip/Makefile ] || exit 0; \
16756         r=`${PWD_COMMAND}`; export r; \
16757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16758         $(SET_LIB_PATH) \
16759         for flag in $(EXTRA_HOST_FLAGS); do \
16760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16761         done; \
16762         echo "Doing installcheck in zip" ; \
16763         (cd zip && \
16764           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16765                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16766                   "RANLIB=$${RANLIB}" \
16767                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16768                   installcheck) \
16769           || exit 1
16770
16771
16772 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
16773 maybe-mostlyclean-zip:
16774
16775 mostlyclean-zip: 
16776         @[ -f ./zip/Makefile ] || exit 0; \
16777         r=`${PWD_COMMAND}`; export r; \
16778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16779         $(SET_LIB_PATH) \
16780         for flag in $(EXTRA_HOST_FLAGS); do \
16781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16782         done; \
16783         echo "Doing mostlyclean in zip" ; \
16784         (cd zip && \
16785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16787                   "RANLIB=$${RANLIB}" \
16788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16789                   mostlyclean) \
16790           || exit 1
16791
16792
16793 .PHONY: maybe-clean-zip clean-zip
16794 maybe-clean-zip:
16795
16796 clean-zip: 
16797         @[ -f ./zip/Makefile ] || exit 0; \
16798         r=`${PWD_COMMAND}`; export r; \
16799         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16800         $(SET_LIB_PATH) \
16801         for flag in $(EXTRA_HOST_FLAGS); do \
16802           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16803         done; \
16804         echo "Doing clean in zip" ; \
16805         (cd zip && \
16806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16808                   "RANLIB=$${RANLIB}" \
16809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16810                   clean) \
16811           || exit 1
16812
16813
16814 .PHONY: maybe-distclean-zip distclean-zip
16815 maybe-distclean-zip:
16816
16817 distclean-zip: 
16818         @[ -f ./zip/Makefile ] || exit 0; \
16819         r=`${PWD_COMMAND}`; export r; \
16820         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821         $(SET_LIB_PATH) \
16822         for flag in $(EXTRA_HOST_FLAGS); do \
16823           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16824         done; \
16825         echo "Doing distclean in zip" ; \
16826         (cd zip && \
16827           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829                   "RANLIB=$${RANLIB}" \
16830                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16831                   distclean) \
16832           || exit 1
16833
16834
16835 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16836 maybe-maintainer-clean-zip:
16837
16838 maintainer-clean-zip: 
16839         @[ -f ./zip/Makefile ] || exit 0; \
16840         r=`${PWD_COMMAND}`; export r; \
16841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842         $(SET_LIB_PATH) \
16843         for flag in $(EXTRA_HOST_FLAGS); do \
16844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845         done; \
16846         echo "Doing maintainer-clean in zip" ; \
16847         (cd zip && \
16848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850                   "RANLIB=$${RANLIB}" \
16851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16852                   maintainer-clean) \
16853           || exit 1
16854
16855
16856
16857 .PHONY: configure-zlib maybe-configure-zlib
16858 maybe-configure-zlib:
16859 configure-zlib:
16860         @test ! -f zlib/Makefile || exit 0; \
16861         [ -d zlib ] || mkdir zlib; \
16862         r=`${PWD_COMMAND}`; export r; \
16863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864         CC="$(CC)"; export CC; \
16865         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16866         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16867         CXX="$(CXX)"; export CXX; \
16868         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16869         AR="$(AR)"; export AR; \
16870         AS="$(AS)"; export AS; \
16871         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16872         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16873         LD="$(LD)"; export LD; \
16874         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16875         NM="$(NM)"; export NM; \
16876         RANLIB="$(RANLIB)"; export RANLIB; \
16877         WINDRES="$(WINDRES)"; export WINDRES; \
16878         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16879         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16880         echo Configuring in zlib; \
16881         cd zlib || exit 1; \
16882         case $(srcdir) in \
16883           \.) \
16884             srcdiroption="--srcdir=."; \
16885             libsrcdir=".";; \
16886           /* | [A-Za-z]:[\\/]*) \
16887             srcdiroption="--srcdir=$(srcdir)/zlib"; \
16888             libsrcdir="$$s/zlib";; \
16889           *) \
16890             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
16891             libsrcdir="$$s/zlib";; \
16892         esac; \
16893         $(SHELL) $${libsrcdir}/configure \
16894           $(HOST_CONFIGARGS) $${srcdiroption} \
16895           || exit 1
16896
16897 .PHONY: all-zlib maybe-all-zlib
16898 maybe-all-zlib:
16899 all-zlib: configure-zlib
16900         @r=`${PWD_COMMAND}`; export r; \
16901         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16902         $(SET_LIB_PATH) \
16903         (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
16904
16905 .PHONY: check-zlib maybe-check-zlib
16906 maybe-check-zlib:
16907
16908 check-zlib:
16909
16910
16911 .PHONY: install-zlib maybe-install-zlib
16912 maybe-install-zlib:
16913
16914 install-zlib:
16915
16916
16917 # Other targets (info, dvi, etc.)
16918
16919 .PHONY: maybe-info-zlib info-zlib
16920 maybe-info-zlib:
16921
16922 info-zlib: \
16923     configure-zlib 
16924         @[ -f ./zlib/Makefile ] || exit 0; \
16925         r=`${PWD_COMMAND}`; export r; \
16926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16927         $(SET_LIB_PATH) \
16928         for flag in $(EXTRA_HOST_FLAGS); do \
16929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16930         done; \
16931         echo "Doing info in zlib" ; \
16932         (cd zlib && \
16933           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935                   "RANLIB=$${RANLIB}" \
16936                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16937                   info) \
16938           || exit 1
16939
16940
16941 .PHONY: maybe-dvi-zlib dvi-zlib
16942 maybe-dvi-zlib:
16943
16944 dvi-zlib: \
16945     configure-zlib 
16946         @[ -f ./zlib/Makefile ] || exit 0; \
16947         r=`${PWD_COMMAND}`; export r; \
16948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16949         $(SET_LIB_PATH) \
16950         for flag in $(EXTRA_HOST_FLAGS); do \
16951           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16952         done; \
16953         echo "Doing dvi in zlib" ; \
16954         (cd zlib && \
16955           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16956                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16957                   "RANLIB=$${RANLIB}" \
16958                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16959                   dvi) \
16960           || exit 1
16961
16962
16963 .PHONY: maybe-TAGS-zlib TAGS-zlib
16964 maybe-TAGS-zlib:
16965
16966 TAGS-zlib: \
16967     configure-zlib 
16968         @[ -f ./zlib/Makefile ] || exit 0; \
16969         r=`${PWD_COMMAND}`; export r; \
16970         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16971         $(SET_LIB_PATH) \
16972         for flag in $(EXTRA_HOST_FLAGS); do \
16973           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16974         done; \
16975         echo "Doing TAGS in zlib" ; \
16976         (cd zlib && \
16977           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16978                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16979                   "RANLIB=$${RANLIB}" \
16980                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16981                   TAGS) \
16982           || exit 1
16983
16984
16985 .PHONY: maybe-install-info-zlib install-info-zlib
16986 maybe-install-info-zlib:
16987
16988 install-info-zlib: \
16989     configure-zlib \
16990     info-zlib 
16991         @[ -f ./zlib/Makefile ] || exit 0; \
16992         r=`${PWD_COMMAND}`; export r; \
16993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16994         $(SET_LIB_PATH) \
16995         for flag in $(EXTRA_HOST_FLAGS); do \
16996           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16997         done; \
16998         echo "Doing install-info in zlib" ; \
16999         (cd zlib && \
17000           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17001                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17002                   "RANLIB=$${RANLIB}" \
17003                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17004                   install-info) \
17005           || exit 1
17006
17007
17008 .PHONY: maybe-installcheck-zlib installcheck-zlib
17009 maybe-installcheck-zlib:
17010
17011 installcheck-zlib: \
17012     configure-zlib 
17013         @[ -f ./zlib/Makefile ] || exit 0; \
17014         r=`${PWD_COMMAND}`; export r; \
17015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17016         $(SET_LIB_PATH) \
17017         for flag in $(EXTRA_HOST_FLAGS); do \
17018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17019         done; \
17020         echo "Doing installcheck in zlib" ; \
17021         (cd zlib && \
17022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17024                   "RANLIB=$${RANLIB}" \
17025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17026                   installcheck) \
17027           || exit 1
17028
17029
17030 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
17031 maybe-mostlyclean-zlib:
17032
17033 mostlyclean-zlib: 
17034         @[ -f ./zlib/Makefile ] || exit 0; \
17035         r=`${PWD_COMMAND}`; export r; \
17036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037         $(SET_LIB_PATH) \
17038         for flag in $(EXTRA_HOST_FLAGS); do \
17039           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17040         done; \
17041         echo "Doing mostlyclean in zlib" ; \
17042         (cd zlib && \
17043           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17044                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17045                   "RANLIB=$${RANLIB}" \
17046                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17047                   mostlyclean) \
17048           || exit 1
17049
17050
17051 .PHONY: maybe-clean-zlib clean-zlib
17052 maybe-clean-zlib:
17053
17054 clean-zlib: 
17055         @[ -f ./zlib/Makefile ] || exit 0; \
17056         r=`${PWD_COMMAND}`; export r; \
17057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058         $(SET_LIB_PATH) \
17059         for flag in $(EXTRA_HOST_FLAGS); do \
17060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061         done; \
17062         echo "Doing clean in zlib" ; \
17063         (cd zlib && \
17064           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066                   "RANLIB=$${RANLIB}" \
17067                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17068                   clean) \
17069           || exit 1
17070
17071
17072 .PHONY: maybe-distclean-zlib distclean-zlib
17073 maybe-distclean-zlib:
17074
17075 distclean-zlib: 
17076         @[ -f ./zlib/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 distclean in zlib" ; \
17084         (cd zlib && \
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                   distclean) \
17090           || exit 1
17091
17092
17093 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
17094 maybe-maintainer-clean-zlib:
17095
17096 maintainer-clean-zlib: 
17097         @[ -f ./zlib/Makefile ] || exit 0; \
17098         r=`${PWD_COMMAND}`; export r; \
17099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100         $(SET_LIB_PATH) \
17101         for flag in $(EXTRA_HOST_FLAGS); do \
17102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17103         done; \
17104         echo "Doing maintainer-clean in zlib" ; \
17105         (cd zlib && \
17106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108                   "RANLIB=$${RANLIB}" \
17109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110                   maintainer-clean) \
17111           || exit 1
17112
17113
17114
17115 .PHONY: configure-gdb maybe-configure-gdb
17116 maybe-configure-gdb:
17117 configure-gdb:
17118         @test ! -f gdb/Makefile || exit 0; \
17119         [ -d gdb ] || mkdir gdb; \
17120         r=`${PWD_COMMAND}`; export r; \
17121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17122         CC="$(CC)"; export CC; \
17123         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17124         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17125         CXX="$(CXX)"; export CXX; \
17126         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17127         AR="$(AR)"; export AR; \
17128         AS="$(AS)"; export AS; \
17129         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17130         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17131         LD="$(LD)"; export LD; \
17132         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17133         NM="$(NM)"; export NM; \
17134         RANLIB="$(RANLIB)"; export RANLIB; \
17135         WINDRES="$(WINDRES)"; export WINDRES; \
17136         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17137         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17138         echo Configuring in gdb; \
17139         cd gdb || exit 1; \
17140         case $(srcdir) in \
17141           \.) \
17142             srcdiroption="--srcdir=."; \
17143             libsrcdir=".";; \
17144           /* | [A-Za-z]:[\\/]*) \
17145             srcdiroption="--srcdir=$(srcdir)/gdb"; \
17146             libsrcdir="$$s/gdb";; \
17147           *) \
17148             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
17149             libsrcdir="$$s/gdb";; \
17150         esac; \
17151         $(SHELL) $${libsrcdir}/configure \
17152           $(HOST_CONFIGARGS) $${srcdiroption} \
17153           || exit 1
17154
17155 .PHONY: all-gdb maybe-all-gdb
17156 maybe-all-gdb:
17157 all-gdb: configure-gdb
17158         @r=`${PWD_COMMAND}`; export r; \
17159         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160         $(SET_LIB_PATH) \
17161         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17162
17163 .PHONY: check-gdb maybe-check-gdb
17164 maybe-check-gdb:
17165
17166 check-gdb:
17167         @r=`${PWD_COMMAND}`; export r; \
17168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169         $(SET_LIB_PATH) \
17170         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17171
17172
17173 .PHONY: install-gdb maybe-install-gdb
17174 maybe-install-gdb:
17175
17176 install-gdb: installdirs
17177         @r=`${PWD_COMMAND}`; export r; \
17178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179         $(SET_LIB_PATH) \
17180         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17181
17182
17183 # Other targets (info, dvi, etc.)
17184
17185 .PHONY: maybe-info-gdb info-gdb
17186 maybe-info-gdb:
17187
17188 info-gdb: \
17189     configure-gdb 
17190         @[ -f ./gdb/Makefile ] || exit 0; \
17191         r=`${PWD_COMMAND}`; export r; \
17192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17193         $(SET_LIB_PATH) \
17194         for flag in $(EXTRA_HOST_FLAGS); do \
17195           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17196         done; \
17197         echo "Doing info in gdb" ; \
17198         (cd gdb && \
17199           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201                   "RANLIB=$${RANLIB}" \
17202                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17203                   info) \
17204           || exit 1
17205
17206
17207 .PHONY: maybe-dvi-gdb dvi-gdb
17208 maybe-dvi-gdb:
17209
17210 dvi-gdb: \
17211     configure-gdb 
17212         @[ -f ./gdb/Makefile ] || exit 0; \
17213         r=`${PWD_COMMAND}`; export r; \
17214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17215         $(SET_LIB_PATH) \
17216         for flag in $(EXTRA_HOST_FLAGS); do \
17217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17218         done; \
17219         echo "Doing dvi in gdb" ; \
17220         (cd gdb && \
17221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17223                   "RANLIB=$${RANLIB}" \
17224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17225                   dvi) \
17226           || exit 1
17227
17228
17229 .PHONY: maybe-TAGS-gdb TAGS-gdb
17230 maybe-TAGS-gdb:
17231
17232 TAGS-gdb: \
17233     configure-gdb 
17234         @[ -f ./gdb/Makefile ] || exit 0; \
17235         r=`${PWD_COMMAND}`; export r; \
17236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17237         $(SET_LIB_PATH) \
17238         for flag in $(EXTRA_HOST_FLAGS); do \
17239           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17240         done; \
17241         echo "Doing TAGS in gdb" ; \
17242         (cd gdb && \
17243           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245                   "RANLIB=$${RANLIB}" \
17246                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17247                   TAGS) \
17248           || exit 1
17249
17250
17251 .PHONY: maybe-install-info-gdb install-info-gdb
17252 maybe-install-info-gdb:
17253
17254 install-info-gdb: \
17255     configure-gdb \
17256     info-gdb 
17257         @[ -f ./gdb/Makefile ] || exit 0; \
17258         r=`${PWD_COMMAND}`; export r; \
17259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260         $(SET_LIB_PATH) \
17261         for flag in $(EXTRA_HOST_FLAGS); do \
17262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17263         done; \
17264         echo "Doing install-info in gdb" ; \
17265         (cd gdb && \
17266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17268                   "RANLIB=$${RANLIB}" \
17269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17270                   install-info) \
17271           || exit 1
17272
17273
17274 .PHONY: maybe-installcheck-gdb installcheck-gdb
17275 maybe-installcheck-gdb:
17276
17277 installcheck-gdb: \
17278     configure-gdb 
17279         @[ -f ./gdb/Makefile ] || exit 0; \
17280         r=`${PWD_COMMAND}`; export r; \
17281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17282         $(SET_LIB_PATH) \
17283         for flag in $(EXTRA_HOST_FLAGS); do \
17284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17285         done; \
17286         echo "Doing installcheck in gdb" ; \
17287         (cd gdb && \
17288           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17289                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17290                   "RANLIB=$${RANLIB}" \
17291                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17292                   installcheck) \
17293           || exit 1
17294
17295
17296 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
17297 maybe-mostlyclean-gdb:
17298
17299 mostlyclean-gdb: 
17300         @[ -f ./gdb/Makefile ] || exit 0; \
17301         r=`${PWD_COMMAND}`; export r; \
17302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303         $(SET_LIB_PATH) \
17304         for flag in $(EXTRA_HOST_FLAGS); do \
17305           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17306         done; \
17307         echo "Doing mostlyclean in gdb" ; \
17308         (cd gdb && \
17309           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311                   "RANLIB=$${RANLIB}" \
17312                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17313                   mostlyclean) \
17314           || exit 1
17315
17316
17317 .PHONY: maybe-clean-gdb clean-gdb
17318 maybe-clean-gdb:
17319
17320 clean-gdb: 
17321         @[ -f ./gdb/Makefile ] || exit 0; \
17322         r=`${PWD_COMMAND}`; export r; \
17323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324         $(SET_LIB_PATH) \
17325         for flag in $(EXTRA_HOST_FLAGS); do \
17326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17327         done; \
17328         echo "Doing clean in gdb" ; \
17329         (cd gdb && \
17330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332                   "RANLIB=$${RANLIB}" \
17333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17334                   clean) \
17335           || exit 1
17336
17337
17338 .PHONY: maybe-distclean-gdb distclean-gdb
17339 maybe-distclean-gdb:
17340
17341 distclean-gdb: 
17342         @[ -f ./gdb/Makefile ] || exit 0; \
17343         r=`${PWD_COMMAND}`; export r; \
17344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17345         $(SET_LIB_PATH) \
17346         for flag in $(EXTRA_HOST_FLAGS); do \
17347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17348         done; \
17349         echo "Doing distclean in gdb" ; \
17350         (cd gdb && \
17351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17353                   "RANLIB=$${RANLIB}" \
17354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17355                   distclean) \
17356           || exit 1
17357
17358
17359 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
17360 maybe-maintainer-clean-gdb:
17361
17362 maintainer-clean-gdb: 
17363         @[ -f ./gdb/Makefile ] || exit 0; \
17364         r=`${PWD_COMMAND}`; export r; \
17365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17366         $(SET_LIB_PATH) \
17367         for flag in $(EXTRA_HOST_FLAGS); do \
17368           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17369         done; \
17370         echo "Doing maintainer-clean in gdb" ; \
17371         (cd gdb && \
17372           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17373                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17374                   "RANLIB=$${RANLIB}" \
17375                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17376                   maintainer-clean) \
17377           || exit 1
17378
17379
17380
17381 .PHONY: configure-expect maybe-configure-expect
17382 maybe-configure-expect:
17383 configure-expect:
17384         @test ! -f expect/Makefile || exit 0; \
17385         [ -d expect ] || mkdir expect; \
17386         r=`${PWD_COMMAND}`; export r; \
17387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17388         CC="$(CC)"; export CC; \
17389         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17390         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17391         CXX="$(CXX)"; export CXX; \
17392         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17393         AR="$(AR)"; export AR; \
17394         AS="$(AS)"; export AS; \
17395         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17396         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17397         LD="$(LD)"; export LD; \
17398         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17399         NM="$(NM)"; export NM; \
17400         RANLIB="$(RANLIB)"; export RANLIB; \
17401         WINDRES="$(WINDRES)"; export WINDRES; \
17402         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17403         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17404         echo Configuring in expect; \
17405         cd expect || exit 1; \
17406         case $(srcdir) in \
17407           \.) \
17408             srcdiroption="--srcdir=."; \
17409             libsrcdir=".";; \
17410           /* | [A-Za-z]:[\\/]*) \
17411             srcdiroption="--srcdir=$(srcdir)/expect"; \
17412             libsrcdir="$$s/expect";; \
17413           *) \
17414             srcdiroption="--srcdir=../$(srcdir)/expect"; \
17415             libsrcdir="$$s/expect";; \
17416         esac; \
17417         $(SHELL) $${libsrcdir}/configure \
17418           $(HOST_CONFIGARGS) $${srcdiroption} \
17419           || exit 1
17420
17421 .PHONY: all-expect maybe-all-expect
17422 maybe-all-expect:
17423 all-expect: configure-expect
17424         @r=`${PWD_COMMAND}`; export r; \
17425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426         $(SET_LIB_PATH) \
17427         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17428
17429 .PHONY: check-expect maybe-check-expect
17430 maybe-check-expect:
17431
17432 check-expect:
17433         @r=`${PWD_COMMAND}`; export r; \
17434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435         $(SET_LIB_PATH) \
17436         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17437
17438
17439 .PHONY: install-expect maybe-install-expect
17440 maybe-install-expect:
17441
17442 install-expect: installdirs
17443         @r=`${PWD_COMMAND}`; export r; \
17444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17445         $(SET_LIB_PATH) \
17446         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17447
17448
17449 # Other targets (info, dvi, etc.)
17450
17451 .PHONY: maybe-info-expect info-expect
17452 maybe-info-expect:
17453
17454 info-expect: \
17455     configure-expect 
17456         @[ -f ./expect/Makefile ] || exit 0; \
17457         r=`${PWD_COMMAND}`; export r; \
17458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17459         $(SET_LIB_PATH) \
17460         for flag in $(EXTRA_HOST_FLAGS); do \
17461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17462         done; \
17463         echo "Doing info in expect" ; \
17464         (cd expect && \
17465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17467                   "RANLIB=$${RANLIB}" \
17468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17469                   info) \
17470           || exit 1
17471
17472
17473 .PHONY: maybe-dvi-expect dvi-expect
17474 maybe-dvi-expect:
17475
17476 dvi-expect: \
17477     configure-expect 
17478         @[ -f ./expect/Makefile ] || exit 0; \
17479         r=`${PWD_COMMAND}`; export r; \
17480         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17481         $(SET_LIB_PATH) \
17482         for flag in $(EXTRA_HOST_FLAGS); do \
17483           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17484         done; \
17485         echo "Doing dvi in expect" ; \
17486         (cd expect && \
17487           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17488                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17489                   "RANLIB=$${RANLIB}" \
17490                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17491                   dvi) \
17492           || exit 1
17493
17494
17495 .PHONY: maybe-TAGS-expect TAGS-expect
17496 maybe-TAGS-expect:
17497
17498 TAGS-expect: \
17499     configure-expect 
17500         @[ -f ./expect/Makefile ] || exit 0; \
17501         r=`${PWD_COMMAND}`; export r; \
17502         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17503         $(SET_LIB_PATH) \
17504         for flag in $(EXTRA_HOST_FLAGS); do \
17505           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17506         done; \
17507         echo "Doing TAGS in expect" ; \
17508         (cd expect && \
17509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17511                   "RANLIB=$${RANLIB}" \
17512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17513                   TAGS) \
17514           || exit 1
17515
17516
17517 .PHONY: maybe-install-info-expect install-info-expect
17518 maybe-install-info-expect:
17519
17520 install-info-expect: \
17521     configure-expect \
17522     info-expect 
17523         @[ -f ./expect/Makefile ] || exit 0; \
17524         r=`${PWD_COMMAND}`; export r; \
17525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526         $(SET_LIB_PATH) \
17527         for flag in $(EXTRA_HOST_FLAGS); do \
17528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529         done; \
17530         echo "Doing install-info in expect" ; \
17531         (cd expect && \
17532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534                   "RANLIB=$${RANLIB}" \
17535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17536                   install-info) \
17537           || exit 1
17538
17539
17540 .PHONY: maybe-installcheck-expect installcheck-expect
17541 maybe-installcheck-expect:
17542
17543 installcheck-expect: \
17544     configure-expect 
17545         @[ -f ./expect/Makefile ] || exit 0; \
17546         r=`${PWD_COMMAND}`; export r; \
17547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17548         $(SET_LIB_PATH) \
17549         for flag in $(EXTRA_HOST_FLAGS); do \
17550           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17551         done; \
17552         echo "Doing installcheck in expect" ; \
17553         (cd expect && \
17554           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17555                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17556                   "RANLIB=$${RANLIB}" \
17557                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17558                   installcheck) \
17559           || exit 1
17560
17561
17562 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
17563 maybe-mostlyclean-expect:
17564
17565 mostlyclean-expect: 
17566         @[ -f ./expect/Makefile ] || exit 0; \
17567         r=`${PWD_COMMAND}`; export r; \
17568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569         $(SET_LIB_PATH) \
17570         for flag in $(EXTRA_HOST_FLAGS); do \
17571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17572         done; \
17573         echo "Doing mostlyclean in expect" ; \
17574         (cd expect && \
17575           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17576                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17577                   "RANLIB=$${RANLIB}" \
17578                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17579                   mostlyclean) \
17580           || exit 1
17581
17582
17583 .PHONY: maybe-clean-expect clean-expect
17584 maybe-clean-expect:
17585
17586 clean-expect: 
17587         @[ -f ./expect/Makefile ] || exit 0; \
17588         r=`${PWD_COMMAND}`; export r; \
17589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590         $(SET_LIB_PATH) \
17591         for flag in $(EXTRA_HOST_FLAGS); do \
17592           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17593         done; \
17594         echo "Doing clean in expect" ; \
17595         (cd expect && \
17596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17598                   "RANLIB=$${RANLIB}" \
17599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17600                   clean) \
17601           || exit 1
17602
17603
17604 .PHONY: maybe-distclean-expect distclean-expect
17605 maybe-distclean-expect:
17606
17607 distclean-expect: 
17608         @[ -f ./expect/Makefile ] || exit 0; \
17609         r=`${PWD_COMMAND}`; export r; \
17610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17611         $(SET_LIB_PATH) \
17612         for flag in $(EXTRA_HOST_FLAGS); do \
17613           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17614         done; \
17615         echo "Doing distclean in expect" ; \
17616         (cd expect && \
17617           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17618                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17619                   "RANLIB=$${RANLIB}" \
17620                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17621                   distclean) \
17622           || exit 1
17623
17624
17625 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
17626 maybe-maintainer-clean-expect:
17627
17628 maintainer-clean-expect: 
17629         @[ -f ./expect/Makefile ] || exit 0; \
17630         r=`${PWD_COMMAND}`; export r; \
17631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17632         $(SET_LIB_PATH) \
17633         for flag in $(EXTRA_HOST_FLAGS); do \
17634           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17635         done; \
17636         echo "Doing maintainer-clean in expect" ; \
17637         (cd expect && \
17638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17640                   "RANLIB=$${RANLIB}" \
17641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17642                   maintainer-clean) \
17643           || exit 1
17644
17645
17646
17647 .PHONY: configure-guile maybe-configure-guile
17648 maybe-configure-guile:
17649 configure-guile:
17650         @test ! -f guile/Makefile || exit 0; \
17651         [ -d guile ] || mkdir guile; \
17652         r=`${PWD_COMMAND}`; export r; \
17653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654         CC="$(CC)"; export CC; \
17655         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17656         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17657         CXX="$(CXX)"; export CXX; \
17658         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17659         AR="$(AR)"; export AR; \
17660         AS="$(AS)"; export AS; \
17661         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17662         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17663         LD="$(LD)"; export LD; \
17664         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17665         NM="$(NM)"; export NM; \
17666         RANLIB="$(RANLIB)"; export RANLIB; \
17667         WINDRES="$(WINDRES)"; export WINDRES; \
17668         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17669         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17670         echo Configuring in guile; \
17671         cd guile || exit 1; \
17672         case $(srcdir) in \
17673           \.) \
17674             srcdiroption="--srcdir=."; \
17675             libsrcdir=".";; \
17676           /* | [A-Za-z]:[\\/]*) \
17677             srcdiroption="--srcdir=$(srcdir)/guile"; \
17678             libsrcdir="$$s/guile";; \
17679           *) \
17680             srcdiroption="--srcdir=../$(srcdir)/guile"; \
17681             libsrcdir="$$s/guile";; \
17682         esac; \
17683         $(SHELL) $${libsrcdir}/configure \
17684           $(HOST_CONFIGARGS) $${srcdiroption} \
17685           || exit 1
17686
17687 .PHONY: all-guile maybe-all-guile
17688 maybe-all-guile:
17689 all-guile: configure-guile
17690         @r=`${PWD_COMMAND}`; export r; \
17691         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692         $(SET_LIB_PATH) \
17693         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17694
17695 .PHONY: check-guile maybe-check-guile
17696 maybe-check-guile:
17697
17698 check-guile:
17699         @r=`${PWD_COMMAND}`; export r; \
17700         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701         $(SET_LIB_PATH) \
17702         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17703
17704
17705 .PHONY: install-guile maybe-install-guile
17706 maybe-install-guile:
17707
17708 install-guile: installdirs
17709         @r=`${PWD_COMMAND}`; export r; \
17710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17711         $(SET_LIB_PATH) \
17712         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17713
17714
17715 # Other targets (info, dvi, etc.)
17716
17717 .PHONY: maybe-info-guile info-guile
17718 maybe-info-guile:
17719
17720 info-guile: \
17721     configure-guile 
17722         @[ -f ./guile/Makefile ] || exit 0; \
17723         r=`${PWD_COMMAND}`; export r; \
17724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725         $(SET_LIB_PATH) \
17726         for flag in $(EXTRA_HOST_FLAGS); do \
17727           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17728         done; \
17729         echo "Doing info in guile" ; \
17730         (cd guile && \
17731           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17732                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17733                   "RANLIB=$${RANLIB}" \
17734                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17735                   info) \
17736           || exit 1
17737
17738
17739 .PHONY: maybe-dvi-guile dvi-guile
17740 maybe-dvi-guile:
17741
17742 dvi-guile: \
17743     configure-guile 
17744         @[ -f ./guile/Makefile ] || exit 0; \
17745         r=`${PWD_COMMAND}`; export r; \
17746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17747         $(SET_LIB_PATH) \
17748         for flag in $(EXTRA_HOST_FLAGS); do \
17749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17750         done; \
17751         echo "Doing dvi in guile" ; \
17752         (cd guile && \
17753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17755                   "RANLIB=$${RANLIB}" \
17756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17757                   dvi) \
17758           || exit 1
17759
17760
17761 .PHONY: maybe-TAGS-guile TAGS-guile
17762 maybe-TAGS-guile:
17763
17764 TAGS-guile: \
17765     configure-guile 
17766         @[ -f ./guile/Makefile ] || exit 0; \
17767         r=`${PWD_COMMAND}`; export r; \
17768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17769         $(SET_LIB_PATH) \
17770         for flag in $(EXTRA_HOST_FLAGS); do \
17771           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17772         done; \
17773         echo "Doing TAGS in guile" ; \
17774         (cd guile && \
17775           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17776                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17777                   "RANLIB=$${RANLIB}" \
17778                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17779                   TAGS) \
17780           || exit 1
17781
17782
17783 .PHONY: maybe-install-info-guile install-info-guile
17784 maybe-install-info-guile:
17785
17786 install-info-guile: \
17787     configure-guile \
17788     info-guile 
17789         @[ -f ./guile/Makefile ] || exit 0; \
17790         r=`${PWD_COMMAND}`; export r; \
17791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792         $(SET_LIB_PATH) \
17793         for flag in $(EXTRA_HOST_FLAGS); do \
17794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17795         done; \
17796         echo "Doing install-info in guile" ; \
17797         (cd guile && \
17798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800                   "RANLIB=$${RANLIB}" \
17801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17802                   install-info) \
17803           || exit 1
17804
17805
17806 .PHONY: maybe-installcheck-guile installcheck-guile
17807 maybe-installcheck-guile:
17808
17809 installcheck-guile: \
17810     configure-guile 
17811         @[ -f ./guile/Makefile ] || exit 0; \
17812         r=`${PWD_COMMAND}`; export r; \
17813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17814         $(SET_LIB_PATH) \
17815         for flag in $(EXTRA_HOST_FLAGS); do \
17816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17817         done; \
17818         echo "Doing installcheck in guile" ; \
17819         (cd guile && \
17820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17822                   "RANLIB=$${RANLIB}" \
17823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17824                   installcheck) \
17825           || exit 1
17826
17827
17828 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
17829 maybe-mostlyclean-guile:
17830
17831 mostlyclean-guile: 
17832         @[ -f ./guile/Makefile ] || exit 0; \
17833         r=`${PWD_COMMAND}`; export r; \
17834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17835         $(SET_LIB_PATH) \
17836         for flag in $(EXTRA_HOST_FLAGS); do \
17837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17838         done; \
17839         echo "Doing mostlyclean in guile" ; \
17840         (cd guile && \
17841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17843                   "RANLIB=$${RANLIB}" \
17844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17845                   mostlyclean) \
17846           || exit 1
17847
17848
17849 .PHONY: maybe-clean-guile clean-guile
17850 maybe-clean-guile:
17851
17852 clean-guile: 
17853         @[ -f ./guile/Makefile ] || exit 0; \
17854         r=`${PWD_COMMAND}`; export r; \
17855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856         $(SET_LIB_PATH) \
17857         for flag in $(EXTRA_HOST_FLAGS); do \
17858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859         done; \
17860         echo "Doing clean in guile" ; \
17861         (cd guile && \
17862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864                   "RANLIB=$${RANLIB}" \
17865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17866                   clean) \
17867           || exit 1
17868
17869
17870 .PHONY: maybe-distclean-guile distclean-guile
17871 maybe-distclean-guile:
17872
17873 distclean-guile: 
17874         @[ -f ./guile/Makefile ] || exit 0; \
17875         r=`${PWD_COMMAND}`; export r; \
17876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877         $(SET_LIB_PATH) \
17878         for flag in $(EXTRA_HOST_FLAGS); do \
17879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17880         done; \
17881         echo "Doing distclean in guile" ; \
17882         (cd guile && \
17883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17885                   "RANLIB=$${RANLIB}" \
17886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17887                   distclean) \
17888           || exit 1
17889
17890
17891 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
17892 maybe-maintainer-clean-guile:
17893
17894 maintainer-clean-guile: 
17895         @[ -f ./guile/Makefile ] || exit 0; \
17896         r=`${PWD_COMMAND}`; export r; \
17897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17898         $(SET_LIB_PATH) \
17899         for flag in $(EXTRA_HOST_FLAGS); do \
17900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17901         done; \
17902         echo "Doing maintainer-clean in guile" ; \
17903         (cd guile && \
17904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17906                   "RANLIB=$${RANLIB}" \
17907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17908                   maintainer-clean) \
17909           || exit 1
17910
17911
17912
17913 .PHONY: configure-tk maybe-configure-tk
17914 maybe-configure-tk:
17915 configure-tk:
17916         @test ! -f tk/Makefile || exit 0; \
17917         [ -d tk ] || mkdir tk; \
17918         r=`${PWD_COMMAND}`; export r; \
17919         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920         CC="$(CC)"; export CC; \
17921         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17922         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17923         CXX="$(CXX)"; export CXX; \
17924         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17925         AR="$(AR)"; export AR; \
17926         AS="$(AS)"; export AS; \
17927         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17928         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17929         LD="$(LD)"; export LD; \
17930         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17931         NM="$(NM)"; export NM; \
17932         RANLIB="$(RANLIB)"; export RANLIB; \
17933         WINDRES="$(WINDRES)"; export WINDRES; \
17934         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17935         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17936         echo Configuring in tk; \
17937         cd tk || exit 1; \
17938         case $(srcdir) in \
17939           \.) \
17940             srcdiroption="--srcdir=."; \
17941             libsrcdir=".";; \
17942           /* | [A-Za-z]:[\\/]*) \
17943             srcdiroption="--srcdir=$(srcdir)/tk"; \
17944             libsrcdir="$$s/tk";; \
17945           *) \
17946             srcdiroption="--srcdir=../$(srcdir)/tk"; \
17947             libsrcdir="$$s/tk";; \
17948         esac; \
17949         $(SHELL) $${libsrcdir}/configure \
17950           $(HOST_CONFIGARGS) $${srcdiroption} \
17951           || exit 1
17952
17953 .PHONY: all-tk maybe-all-tk
17954 maybe-all-tk:
17955 all-tk: configure-tk
17956         @r=`${PWD_COMMAND}`; export r; \
17957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958         $(SET_LIB_PATH) \
17959         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17960
17961 .PHONY: check-tk maybe-check-tk
17962 maybe-check-tk:
17963
17964 check-tk:
17965         @r=`${PWD_COMMAND}`; export r; \
17966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967         $(SET_LIB_PATH) \
17968         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17969
17970
17971 .PHONY: install-tk maybe-install-tk
17972 maybe-install-tk:
17973
17974 install-tk: installdirs
17975         @r=`${PWD_COMMAND}`; export r; \
17976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977         $(SET_LIB_PATH) \
17978         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17979
17980
17981 # Other targets (info, dvi, etc.)
17982
17983 .PHONY: maybe-info-tk info-tk
17984 maybe-info-tk:
17985
17986 info-tk: \
17987     configure-tk 
17988         @[ -f ./tk/Makefile ] || exit 0; \
17989         r=`${PWD_COMMAND}`; export r; \
17990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17991         $(SET_LIB_PATH) \
17992         for flag in $(EXTRA_HOST_FLAGS); do \
17993           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17994         done; \
17995         echo "Doing info in tk" ; \
17996         (cd tk && \
17997           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17998                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17999                   "RANLIB=$${RANLIB}" \
18000                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18001                   info) \
18002           || exit 1
18003
18004
18005 .PHONY: maybe-dvi-tk dvi-tk
18006 maybe-dvi-tk:
18007
18008 dvi-tk: \
18009     configure-tk 
18010         @[ -f ./tk/Makefile ] || exit 0; \
18011         r=`${PWD_COMMAND}`; export r; \
18012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013         $(SET_LIB_PATH) \
18014         for flag in $(EXTRA_HOST_FLAGS); do \
18015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016         done; \
18017         echo "Doing dvi in tk" ; \
18018         (cd tk && \
18019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021                   "RANLIB=$${RANLIB}" \
18022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18023                   dvi) \
18024           || exit 1
18025
18026
18027 .PHONY: maybe-TAGS-tk TAGS-tk
18028 maybe-TAGS-tk:
18029
18030 TAGS-tk: \
18031     configure-tk 
18032         @[ -f ./tk/Makefile ] || exit 0; \
18033         r=`${PWD_COMMAND}`; export r; \
18034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18035         $(SET_LIB_PATH) \
18036         for flag in $(EXTRA_HOST_FLAGS); do \
18037           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18038         done; \
18039         echo "Doing TAGS in tk" ; \
18040         (cd tk && \
18041           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18042                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18043                   "RANLIB=$${RANLIB}" \
18044                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18045                   TAGS) \
18046           || exit 1
18047
18048
18049 .PHONY: maybe-install-info-tk install-info-tk
18050 maybe-install-info-tk:
18051
18052 install-info-tk: \
18053     configure-tk \
18054     info-tk 
18055         @[ -f ./tk/Makefile ] || exit 0; \
18056         r=`${PWD_COMMAND}`; export r; \
18057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058         $(SET_LIB_PATH) \
18059         for flag in $(EXTRA_HOST_FLAGS); do \
18060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061         done; \
18062         echo "Doing install-info in tk" ; \
18063         (cd tk && \
18064           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066                   "RANLIB=$${RANLIB}" \
18067                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18068                   install-info) \
18069           || exit 1
18070
18071
18072 .PHONY: maybe-installcheck-tk installcheck-tk
18073 maybe-installcheck-tk:
18074
18075 installcheck-tk: \
18076     configure-tk 
18077         @[ -f ./tk/Makefile ] || exit 0; \
18078         r=`${PWD_COMMAND}`; export r; \
18079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080         $(SET_LIB_PATH) \
18081         for flag in $(EXTRA_HOST_FLAGS); do \
18082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18083         done; \
18084         echo "Doing installcheck in tk" ; \
18085         (cd tk && \
18086           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18087                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18088                   "RANLIB=$${RANLIB}" \
18089                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18090                   installcheck) \
18091           || exit 1
18092
18093
18094 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
18095 maybe-mostlyclean-tk:
18096
18097 mostlyclean-tk: 
18098         @[ -f ./tk/Makefile ] || exit 0; \
18099         r=`${PWD_COMMAND}`; export r; \
18100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101         $(SET_LIB_PATH) \
18102         for flag in $(EXTRA_HOST_FLAGS); do \
18103           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18104         done; \
18105         echo "Doing mostlyclean in tk" ; \
18106         (cd tk && \
18107           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18108                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18109                   "RANLIB=$${RANLIB}" \
18110                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18111                   mostlyclean) \
18112           || exit 1
18113
18114
18115 .PHONY: maybe-clean-tk clean-tk
18116 maybe-clean-tk:
18117
18118 clean-tk: 
18119         @[ -f ./tk/Makefile ] || exit 0; \
18120         r=`${PWD_COMMAND}`; export r; \
18121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122         $(SET_LIB_PATH) \
18123         for flag in $(EXTRA_HOST_FLAGS); do \
18124           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18125         done; \
18126         echo "Doing clean in tk" ; \
18127         (cd tk && \
18128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130                   "RANLIB=$${RANLIB}" \
18131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18132                   clean) \
18133           || exit 1
18134
18135
18136 .PHONY: maybe-distclean-tk distclean-tk
18137 maybe-distclean-tk:
18138
18139 distclean-tk: 
18140         @[ -f ./tk/Makefile ] || exit 0; \
18141         r=`${PWD_COMMAND}`; export r; \
18142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18143         $(SET_LIB_PATH) \
18144         for flag in $(EXTRA_HOST_FLAGS); do \
18145           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18146         done; \
18147         echo "Doing distclean in tk" ; \
18148         (cd tk && \
18149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151                   "RANLIB=$${RANLIB}" \
18152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18153                   distclean) \
18154           || exit 1
18155
18156
18157 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
18158 maybe-maintainer-clean-tk:
18159
18160 maintainer-clean-tk: 
18161         @[ -f ./tk/Makefile ] || exit 0; \
18162         r=`${PWD_COMMAND}`; export r; \
18163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18164         $(SET_LIB_PATH) \
18165         for flag in $(EXTRA_HOST_FLAGS); do \
18166           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18167         done; \
18168         echo "Doing maintainer-clean in tk" ; \
18169         (cd tk && \
18170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18172                   "RANLIB=$${RANLIB}" \
18173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18174                   maintainer-clean) \
18175           || exit 1
18176
18177
18178
18179 .PHONY: configure-tix maybe-configure-tix
18180 maybe-configure-tix:
18181 configure-tix:
18182         @test ! -f tix/Makefile || exit 0; \
18183         [ -d tix ] || mkdir tix; \
18184         r=`${PWD_COMMAND}`; export r; \
18185         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186         CC="$(CC)"; export CC; \
18187         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18188         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18189         CXX="$(CXX)"; export CXX; \
18190         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18191         AR="$(AR)"; export AR; \
18192         AS="$(AS)"; export AS; \
18193         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18194         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18195         LD="$(LD)"; export LD; \
18196         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18197         NM="$(NM)"; export NM; \
18198         RANLIB="$(RANLIB)"; export RANLIB; \
18199         WINDRES="$(WINDRES)"; export WINDRES; \
18200         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18201         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18202         echo Configuring in tix; \
18203         cd tix || exit 1; \
18204         case $(srcdir) in \
18205           \.) \
18206             srcdiroption="--srcdir=."; \
18207             libsrcdir=".";; \
18208           /* | [A-Za-z]:[\\/]*) \
18209             srcdiroption="--srcdir=$(srcdir)/tix"; \
18210             libsrcdir="$$s/tix";; \
18211           *) \
18212             srcdiroption="--srcdir=../$(srcdir)/tix"; \
18213             libsrcdir="$$s/tix";; \
18214         esac; \
18215         $(SHELL) $${libsrcdir}/configure \
18216           $(HOST_CONFIGARGS) $${srcdiroption} \
18217           || exit 1
18218
18219 .PHONY: all-tix maybe-all-tix
18220 maybe-all-tix:
18221 all-tix: configure-tix
18222         @r=`${PWD_COMMAND}`; export r; \
18223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18224         $(SET_LIB_PATH) \
18225         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18226
18227 .PHONY: check-tix maybe-check-tix
18228 maybe-check-tix:
18229
18230 check-tix:
18231         @r=`${PWD_COMMAND}`; export r; \
18232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18233         $(SET_LIB_PATH) \
18234         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18235
18236
18237 .PHONY: install-tix maybe-install-tix
18238 maybe-install-tix:
18239
18240 install-tix: installdirs
18241         @r=`${PWD_COMMAND}`; export r; \
18242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243         $(SET_LIB_PATH) \
18244         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18245
18246
18247 # Other targets (info, dvi, etc.)
18248
18249 .PHONY: maybe-info-tix info-tix
18250 maybe-info-tix:
18251
18252 info-tix: \
18253     configure-tix 
18254         @[ -f ./tix/Makefile ] || exit 0; \
18255         r=`${PWD_COMMAND}`; export r; \
18256         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18257         $(SET_LIB_PATH) \
18258         for flag in $(EXTRA_HOST_FLAGS); do \
18259           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18260         done; \
18261         echo "Doing info in tix" ; \
18262         (cd tix && \
18263           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18264                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18265                   "RANLIB=$${RANLIB}" \
18266                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18267                   info) \
18268           || exit 1
18269
18270
18271 .PHONY: maybe-dvi-tix dvi-tix
18272 maybe-dvi-tix:
18273
18274 dvi-tix: \
18275     configure-tix 
18276         @[ -f ./tix/Makefile ] || exit 0; \
18277         r=`${PWD_COMMAND}`; export r; \
18278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279         $(SET_LIB_PATH) \
18280         for flag in $(EXTRA_HOST_FLAGS); do \
18281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18282         done; \
18283         echo "Doing dvi in tix" ; \
18284         (cd tix && \
18285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18287                   "RANLIB=$${RANLIB}" \
18288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18289                   dvi) \
18290           || exit 1
18291
18292
18293 .PHONY: maybe-TAGS-tix TAGS-tix
18294 maybe-TAGS-tix:
18295
18296 TAGS-tix: \
18297     configure-tix 
18298         @[ -f ./tix/Makefile ] || exit 0; \
18299         r=`${PWD_COMMAND}`; export r; \
18300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301         $(SET_LIB_PATH) \
18302         for flag in $(EXTRA_HOST_FLAGS); do \
18303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18304         done; \
18305         echo "Doing TAGS in tix" ; \
18306         (cd tix && \
18307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18309                   "RANLIB=$${RANLIB}" \
18310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18311                   TAGS) \
18312           || exit 1
18313
18314
18315 .PHONY: maybe-install-info-tix install-info-tix
18316 maybe-install-info-tix:
18317
18318 install-info-tix: \
18319     configure-tix \
18320     info-tix 
18321         @[ -f ./tix/Makefile ] || exit 0; \
18322         r=`${PWD_COMMAND}`; export r; \
18323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324         $(SET_LIB_PATH) \
18325         for flag in $(EXTRA_HOST_FLAGS); do \
18326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18327         done; \
18328         echo "Doing install-info in tix" ; \
18329         (cd tix && \
18330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18332                   "RANLIB=$${RANLIB}" \
18333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18334                   install-info) \
18335           || exit 1
18336
18337
18338 .PHONY: maybe-installcheck-tix installcheck-tix
18339 maybe-installcheck-tix:
18340
18341 installcheck-tix: \
18342     configure-tix 
18343         @[ -f ./tix/Makefile ] || exit 0; \
18344         r=`${PWD_COMMAND}`; export r; \
18345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346         $(SET_LIB_PATH) \
18347         for flag in $(EXTRA_HOST_FLAGS); do \
18348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18349         done; \
18350         echo "Doing installcheck in tix" ; \
18351         (cd tix && \
18352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354                   "RANLIB=$${RANLIB}" \
18355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18356                   installcheck) \
18357           || exit 1
18358
18359
18360 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
18361 maybe-mostlyclean-tix:
18362
18363 mostlyclean-tix: 
18364         @[ -f ./tix/Makefile ] || exit 0; \
18365         r=`${PWD_COMMAND}`; export r; \
18366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367         $(SET_LIB_PATH) \
18368         for flag in $(EXTRA_HOST_FLAGS); do \
18369           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370         done; \
18371         echo "Doing mostlyclean in tix" ; \
18372         (cd tix && \
18373           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375                   "RANLIB=$${RANLIB}" \
18376                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18377                   mostlyclean) \
18378           || exit 1
18379
18380
18381 .PHONY: maybe-clean-tix clean-tix
18382 maybe-clean-tix:
18383
18384 clean-tix: 
18385         @[ -f ./tix/Makefile ] || exit 0; \
18386         r=`${PWD_COMMAND}`; export r; \
18387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388         $(SET_LIB_PATH) \
18389         for flag in $(EXTRA_HOST_FLAGS); do \
18390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18391         done; \
18392         echo "Doing clean in tix" ; \
18393         (cd tix && \
18394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18396                   "RANLIB=$${RANLIB}" \
18397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18398                   clean) \
18399           || exit 1
18400
18401
18402 .PHONY: maybe-distclean-tix distclean-tix
18403 maybe-distclean-tix:
18404
18405 distclean-tix: 
18406         @[ -f ./tix/Makefile ] || exit 0; \
18407         r=`${PWD_COMMAND}`; export r; \
18408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18409         $(SET_LIB_PATH) \
18410         for flag in $(EXTRA_HOST_FLAGS); do \
18411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18412         done; \
18413         echo "Doing distclean in tix" ; \
18414         (cd tix && \
18415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18417                   "RANLIB=$${RANLIB}" \
18418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18419                   distclean) \
18420           || exit 1
18421
18422
18423 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
18424 maybe-maintainer-clean-tix:
18425
18426 maintainer-clean-tix: 
18427         @[ -f ./tix/Makefile ] || exit 0; \
18428         r=`${PWD_COMMAND}`; export r; \
18429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430         $(SET_LIB_PATH) \
18431         for flag in $(EXTRA_HOST_FLAGS); do \
18432           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433         done; \
18434         echo "Doing maintainer-clean in tix" ; \
18435         (cd tix && \
18436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438                   "RANLIB=$${RANLIB}" \
18439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440                   maintainer-clean) \
18441           || exit 1
18442
18443
18444
18445 .PHONY: configure-libtermcap maybe-configure-libtermcap
18446 maybe-configure-libtermcap:
18447 configure-libtermcap:
18448         @test ! -f libtermcap/Makefile || exit 0; \
18449         [ -d libtermcap ] || mkdir libtermcap; \
18450         r=`${PWD_COMMAND}`; export r; \
18451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452         CC="$(CC)"; export CC; \
18453         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18454         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18455         CXX="$(CXX)"; export CXX; \
18456         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18457         AR="$(AR)"; export AR; \
18458         AS="$(AS)"; export AS; \
18459         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18460         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18461         LD="$(LD)"; export LD; \
18462         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18463         NM="$(NM)"; export NM; \
18464         RANLIB="$(RANLIB)"; export RANLIB; \
18465         WINDRES="$(WINDRES)"; export WINDRES; \
18466         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18467         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18468         echo Configuring in libtermcap; \
18469         cd libtermcap || exit 1; \
18470         case $(srcdir) in \
18471           \.) \
18472             srcdiroption="--srcdir=."; \
18473             libsrcdir=".";; \
18474           /* | [A-Za-z]:[\\/]*) \
18475             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
18476             libsrcdir="$$s/libtermcap";; \
18477           *) \
18478             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
18479             libsrcdir="$$s/libtermcap";; \
18480         esac; \
18481         $(SHELL) $${libsrcdir}/configure \
18482           $(HOST_CONFIGARGS) $${srcdiroption} \
18483           || exit 1
18484
18485 .PHONY: all-libtermcap maybe-all-libtermcap
18486 maybe-all-libtermcap:
18487 all-libtermcap: configure-libtermcap
18488         @r=`${PWD_COMMAND}`; export r; \
18489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490         $(SET_LIB_PATH) \
18491         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
18492
18493 .PHONY: check-libtermcap maybe-check-libtermcap
18494 maybe-check-libtermcap:
18495
18496 check-libtermcap:
18497
18498
18499 .PHONY: install-libtermcap maybe-install-libtermcap
18500 maybe-install-libtermcap:
18501
18502 install-libtermcap: installdirs
18503         @r=`${PWD_COMMAND}`; export r; \
18504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505         $(SET_LIB_PATH) \
18506         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
18507
18508
18509 # Other targets (info, dvi, etc.)
18510
18511 .PHONY: maybe-info-libtermcap info-libtermcap
18512 maybe-info-libtermcap:
18513
18514 info-libtermcap: \
18515     configure-libtermcap 
18516         @[ -f ./libtermcap/Makefile ] || exit 0; \
18517         r=`${PWD_COMMAND}`; export r; \
18518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18519         $(SET_LIB_PATH) \
18520         for flag in $(EXTRA_HOST_FLAGS); do \
18521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18522         done; \
18523         echo "Doing info in libtermcap" ; \
18524         (cd libtermcap && \
18525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18527                   "RANLIB=$${RANLIB}" \
18528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18529                   info) \
18530           || exit 1
18531
18532
18533 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
18534 maybe-dvi-libtermcap:
18535
18536 dvi-libtermcap: \
18537     configure-libtermcap 
18538         @[ -f ./libtermcap/Makefile ] || exit 0; \
18539         r=`${PWD_COMMAND}`; export r; \
18540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541         $(SET_LIB_PATH) \
18542         for flag in $(EXTRA_HOST_FLAGS); do \
18543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18544         done; \
18545         echo "Doing dvi in libtermcap" ; \
18546         (cd libtermcap && \
18547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18549                   "RANLIB=$${RANLIB}" \
18550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18551                   dvi) \
18552           || exit 1
18553
18554
18555 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
18556 maybe-TAGS-libtermcap:
18557
18558 TAGS-libtermcap: \
18559     configure-libtermcap 
18560         @[ -f ./libtermcap/Makefile ] || exit 0; \
18561         r=`${PWD_COMMAND}`; export r; \
18562         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563         $(SET_LIB_PATH) \
18564         for flag in $(EXTRA_HOST_FLAGS); do \
18565           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566         done; \
18567         echo "Doing TAGS in libtermcap" ; \
18568         (cd libtermcap && \
18569           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571                   "RANLIB=$${RANLIB}" \
18572                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18573                   TAGS) \
18574           || exit 1
18575
18576
18577 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
18578 maybe-install-info-libtermcap:
18579
18580 install-info-libtermcap: \
18581     configure-libtermcap \
18582     info-libtermcap 
18583         @[ -f ./libtermcap/Makefile ] || exit 0; \
18584         r=`${PWD_COMMAND}`; export r; \
18585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586         $(SET_LIB_PATH) \
18587         for flag in $(EXTRA_HOST_FLAGS); do \
18588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18589         done; \
18590         echo "Doing install-info in libtermcap" ; \
18591         (cd libtermcap && \
18592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18594                   "RANLIB=$${RANLIB}" \
18595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18596                   install-info) \
18597           || exit 1
18598
18599
18600 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
18601 maybe-installcheck-libtermcap:
18602
18603 installcheck-libtermcap: \
18604     configure-libtermcap 
18605         @[ -f ./libtermcap/Makefile ] || exit 0; \
18606         r=`${PWD_COMMAND}`; export r; \
18607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18608         $(SET_LIB_PATH) \
18609         for flag in $(EXTRA_HOST_FLAGS); do \
18610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18611         done; \
18612         echo "Doing installcheck in libtermcap" ; \
18613         (cd libtermcap && \
18614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18616                   "RANLIB=$${RANLIB}" \
18617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18618                   installcheck) \
18619           || exit 1
18620
18621
18622 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
18623 maybe-mostlyclean-libtermcap:
18624
18625 # libtermcap doesn't support mostlyclean.
18626 mostlyclean-libtermcap:
18627
18628
18629 .PHONY: maybe-clean-libtermcap clean-libtermcap
18630 maybe-clean-libtermcap:
18631
18632 # libtermcap doesn't support clean.
18633 clean-libtermcap:
18634
18635
18636 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
18637 maybe-distclean-libtermcap:
18638
18639 # libtermcap doesn't support distclean.
18640 distclean-libtermcap:
18641
18642
18643 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
18644 maybe-maintainer-clean-libtermcap:
18645
18646 # libtermcap doesn't support maintainer-clean.
18647 maintainer-clean-libtermcap:
18648
18649
18650
18651 .PHONY: configure-utils maybe-configure-utils
18652 maybe-configure-utils:
18653 configure-utils:
18654         @test ! -f utils/Makefile || exit 0; \
18655         [ -d utils ] || mkdir utils; \
18656         r=`${PWD_COMMAND}`; export r; \
18657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658         CC="$(CC)"; export CC; \
18659         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18660         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18661         CXX="$(CXX)"; export CXX; \
18662         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18663         AR="$(AR)"; export AR; \
18664         AS="$(AS)"; export AS; \
18665         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18666         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18667         LD="$(LD)"; export LD; \
18668         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18669         NM="$(NM)"; export NM; \
18670         RANLIB="$(RANLIB)"; export RANLIB; \
18671         WINDRES="$(WINDRES)"; export WINDRES; \
18672         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18673         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18674         echo Configuring in utils; \
18675         cd utils || exit 1; \
18676         case $(srcdir) in \
18677           \.) \
18678             srcdiroption="--srcdir=."; \
18679             libsrcdir=".";; \
18680           /* | [A-Za-z]:[\\/]*) \
18681             srcdiroption="--srcdir=$(srcdir)/utils"; \
18682             libsrcdir="$$s/utils";; \
18683           *) \
18684             srcdiroption="--srcdir=../$(srcdir)/utils"; \
18685             libsrcdir="$$s/utils";; \
18686         esac; \
18687         $(SHELL) $${libsrcdir}/configure \
18688           $(HOST_CONFIGARGS) $${srcdiroption} \
18689           || exit 1
18690
18691 .PHONY: all-utils maybe-all-utils
18692 maybe-all-utils:
18693 all-utils: configure-utils
18694         @r=`${PWD_COMMAND}`; export r; \
18695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18696         $(SET_LIB_PATH) \
18697         (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
18698
18699 .PHONY: check-utils maybe-check-utils
18700 maybe-check-utils:
18701
18702 check-utils:
18703
18704
18705 .PHONY: install-utils maybe-install-utils
18706 maybe-install-utils:
18707
18708 install-utils: installdirs
18709         @r=`${PWD_COMMAND}`; export r; \
18710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711         $(SET_LIB_PATH) \
18712         (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
18713
18714
18715 # Other targets (info, dvi, etc.)
18716
18717 .PHONY: maybe-info-utils info-utils
18718 maybe-info-utils:
18719
18720 info-utils: \
18721     configure-utils 
18722         @[ -f ./utils/Makefile ] || exit 0; \
18723         r=`${PWD_COMMAND}`; export r; \
18724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18725         $(SET_LIB_PATH) \
18726         for flag in $(EXTRA_HOST_FLAGS); do \
18727           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18728         done; \
18729         echo "Doing info in utils" ; \
18730         (cd utils && \
18731           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18732                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18733                   "RANLIB=$${RANLIB}" \
18734                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18735                   info) \
18736           || exit 1
18737
18738
18739 .PHONY: maybe-dvi-utils dvi-utils
18740 maybe-dvi-utils:
18741
18742 dvi-utils: \
18743     configure-utils 
18744         @[ -f ./utils/Makefile ] || exit 0; \
18745         r=`${PWD_COMMAND}`; export r; \
18746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747         $(SET_LIB_PATH) \
18748         for flag in $(EXTRA_HOST_FLAGS); do \
18749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18750         done; \
18751         echo "Doing dvi in utils" ; \
18752         (cd utils && \
18753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18755                   "RANLIB=$${RANLIB}" \
18756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18757                   dvi) \
18758           || exit 1
18759
18760
18761 .PHONY: maybe-TAGS-utils TAGS-utils
18762 maybe-TAGS-utils:
18763
18764 TAGS-utils: \
18765     configure-utils 
18766         @[ -f ./utils/Makefile ] || exit 0; \
18767         r=`${PWD_COMMAND}`; export r; \
18768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18769         $(SET_LIB_PATH) \
18770         for flag in $(EXTRA_HOST_FLAGS); do \
18771           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772         done; \
18773         echo "Doing TAGS in utils" ; \
18774         (cd utils && \
18775           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777                   "RANLIB=$${RANLIB}" \
18778                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779                   TAGS) \
18780           || exit 1
18781
18782
18783 .PHONY: maybe-install-info-utils install-info-utils
18784 maybe-install-info-utils:
18785
18786 install-info-utils: \
18787     configure-utils \
18788     info-utils 
18789         @[ -f ./utils/Makefile ] || exit 0; \
18790         r=`${PWD_COMMAND}`; export r; \
18791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792         $(SET_LIB_PATH) \
18793         for flag in $(EXTRA_HOST_FLAGS); do \
18794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18795         done; \
18796         echo "Doing install-info in utils" ; \
18797         (cd utils && \
18798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18800                   "RANLIB=$${RANLIB}" \
18801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18802                   install-info) \
18803           || exit 1
18804
18805
18806 .PHONY: maybe-installcheck-utils installcheck-utils
18807 maybe-installcheck-utils:
18808
18809 installcheck-utils: \
18810     configure-utils 
18811         @[ -f ./utils/Makefile ] || exit 0; \
18812         r=`${PWD_COMMAND}`; export r; \
18813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18814         $(SET_LIB_PATH) \
18815         for flag in $(EXTRA_HOST_FLAGS); do \
18816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18817         done; \
18818         echo "Doing installcheck in utils" ; \
18819         (cd utils && \
18820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18822                   "RANLIB=$${RANLIB}" \
18823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18824                   installcheck) \
18825           || exit 1
18826
18827
18828 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
18829 maybe-mostlyclean-utils:
18830
18831 mostlyclean-utils: 
18832         @[ -f ./utils/Makefile ] || exit 0; \
18833         r=`${PWD_COMMAND}`; export r; \
18834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835         $(SET_LIB_PATH) \
18836         for flag in $(EXTRA_HOST_FLAGS); do \
18837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18838         done; \
18839         echo "Doing mostlyclean in utils" ; \
18840         (cd utils && \
18841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18843                   "RANLIB=$${RANLIB}" \
18844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18845                   mostlyclean) \
18846           || exit 1
18847
18848
18849 .PHONY: maybe-clean-utils clean-utils
18850 maybe-clean-utils:
18851
18852 clean-utils: 
18853         @[ -f ./utils/Makefile ] || exit 0; \
18854         r=`${PWD_COMMAND}`; export r; \
18855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856         $(SET_LIB_PATH) \
18857         for flag in $(EXTRA_HOST_FLAGS); do \
18858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18859         done; \
18860         echo "Doing clean in utils" ; \
18861         (cd utils && \
18862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18864                   "RANLIB=$${RANLIB}" \
18865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18866                   clean) \
18867           || exit 1
18868
18869
18870 .PHONY: maybe-distclean-utils distclean-utils
18871 maybe-distclean-utils:
18872
18873 distclean-utils: 
18874         @[ -f ./utils/Makefile ] || exit 0; \
18875         r=`${PWD_COMMAND}`; export r; \
18876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18877         $(SET_LIB_PATH) \
18878         for flag in $(EXTRA_HOST_FLAGS); do \
18879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18880         done; \
18881         echo "Doing distclean in utils" ; \
18882         (cd utils && \
18883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18885                   "RANLIB=$${RANLIB}" \
18886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18887                   distclean) \
18888           || exit 1
18889
18890
18891 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
18892 maybe-maintainer-clean-utils:
18893
18894 maintainer-clean-utils: 
18895         @[ -f ./utils/Makefile ] || exit 0; \
18896         r=`${PWD_COMMAND}`; export r; \
18897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898         $(SET_LIB_PATH) \
18899         for flag in $(EXTRA_HOST_FLAGS); do \
18900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18901         done; \
18902         echo "Doing maintainer-clean in utils" ; \
18903         (cd utils && \
18904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18906                   "RANLIB=$${RANLIB}" \
18907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18908                   maintainer-clean) \
18909           || exit 1
18910
18911
18912
18913
18914 # ---------------------------------------
18915 # Modules which run on the target machine
18916 # ---------------------------------------
18917
18918 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
18919 maybe-configure-target-libstdc++-v3:
18920
18921 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
18922 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
18923         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18924         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
18925         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18926
18927 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18928         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
18929         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18930         r=`${PWD_COMMAND}`; export r; \
18931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18932         $(SET_LIB_PATH) \
18933         AR="$(AR_FOR_TARGET)"; export AR; \
18934         AS="$(AS_FOR_TARGET)"; export AS; \
18935         CC="$(CC_FOR_TARGET)"; export CC; \
18936         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
18937         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18938         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
18939         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
18940         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
18941         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
18942         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
18943         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
18944         LD="$(LD_FOR_TARGET)"; export LD; \
18945         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
18946         NM="$(NM_FOR_TARGET)"; export NM; \
18947         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
18948         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
18949         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
18950         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
18951         case $(srcdir) in \
18952           /* | [A-Za-z]:[\\/]*) \
18953             topdir=$(srcdir) ;; \
18954           *) \
18955             case "$(TARGET_SUBDIR)" in \
18956               .) topdir="../$(srcdir)" ;; \
18957               *) topdir="../../$(srcdir)" ;; \
18958             esac ;; \
18959         esac; \
18960           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
18961           libsrcdir="$$s/libstdc++-v3"; \
18962         rm -f no-such-file || : ; \
18963         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
18964           $(TARGET_CONFIGARGS) $${srcdiroption} \
18965           --with-target-subdir="$(TARGET_SUBDIR)" \
18966           || exit 1
18967
18968 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
18969 maybe-all-target-libstdc++-v3:
18970 all-target-libstdc++-v3: configure-target-libstdc++-v3
18971         @r=`${PWD_COMMAND}`; export r; \
18972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973         $(SET_LIB_PATH) \
18974         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18975           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
18976
18977 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
18978 maybe-check-target-libstdc++-v3:
18979
18980 check-target-libstdc++-v3:
18981         @r=`${PWD_COMMAND}`; export r; \
18982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18983         $(SET_LIB_PATH) \
18984         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18985           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
18986
18987
18988 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
18989 maybe-install-target-libstdc++-v3:
18990
18991 install-target-libstdc++-v3: installdirs
18992         @r=`${PWD_COMMAND}`; export r; \
18993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18994         $(SET_LIB_PATH) \
18995         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18996           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
18997
18998
18999 # Other targets (info, dvi, etc.)
19000
19001 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
19002 maybe-info-target-libstdc++-v3:
19003
19004 info-target-libstdc++-v3: \
19005     configure-target-libstdc++-v3 
19006         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19007         r=`${PWD_COMMAND}`; export r; \
19008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009         $(SET_LIB_PATH) \
19010         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19011         for flag in $(EXTRA_TARGET_FLAGS); do \
19012           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19013         done; \
19014         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19015           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19016                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19017                   "RANLIB=$${RANLIB}" \
19018                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19019                   info) \
19020           || exit 1
19021
19022
19023 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
19024 maybe-dvi-target-libstdc++-v3:
19025
19026 dvi-target-libstdc++-v3: \
19027     configure-target-libstdc++-v3 
19028         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19029         r=`${PWD_COMMAND}`; export r; \
19030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031         $(SET_LIB_PATH) \
19032         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19033         for flag in $(EXTRA_TARGET_FLAGS); do \
19034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19035         done; \
19036         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039                   "RANLIB=$${RANLIB}" \
19040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19041                   dvi) \
19042           || exit 1
19043
19044
19045 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
19046 maybe-TAGS-target-libstdc++-v3:
19047
19048 TAGS-target-libstdc++-v3: \
19049     configure-target-libstdc++-v3 
19050         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19051         r=`${PWD_COMMAND}`; export r; \
19052         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19053         $(SET_LIB_PATH) \
19054         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19055         for flag in $(EXTRA_TARGET_FLAGS); do \
19056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19057         done; \
19058         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19059           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19060                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19061                   "RANLIB=$${RANLIB}" \
19062                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19063                   TAGS) \
19064           || exit 1
19065
19066
19067 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
19068 maybe-install-info-target-libstdc++-v3:
19069
19070 install-info-target-libstdc++-v3: \
19071     configure-target-libstdc++-v3 \
19072     info-target-libstdc++-v3 
19073         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19074         r=`${PWD_COMMAND}`; export r; \
19075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076         $(SET_LIB_PATH) \
19077         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19078         for flag in $(EXTRA_TARGET_FLAGS); do \
19079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19080         done; \
19081         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084                   "RANLIB=$${RANLIB}" \
19085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19086                   install-info) \
19087           || exit 1
19088
19089
19090 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
19091 maybe-installcheck-target-libstdc++-v3:
19092
19093 installcheck-target-libstdc++-v3: \
19094     configure-target-libstdc++-v3 
19095         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19096         r=`${PWD_COMMAND}`; export r; \
19097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098         $(SET_LIB_PATH) \
19099         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19100         for flag in $(EXTRA_TARGET_FLAGS); do \
19101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19102         done; \
19103         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19106                   "RANLIB=$${RANLIB}" \
19107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19108                   installcheck) \
19109           || exit 1
19110
19111
19112 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
19113 maybe-mostlyclean-target-libstdc++-v3:
19114
19115 mostlyclean-target-libstdc++-v3: 
19116         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19117         r=`${PWD_COMMAND}`; export r; \
19118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119         $(SET_LIB_PATH) \
19120         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19121         for flag in $(EXTRA_TARGET_FLAGS); do \
19122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19123         done; \
19124         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19127                   "RANLIB=$${RANLIB}" \
19128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19129                   mostlyclean) \
19130           || exit 1
19131
19132
19133 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
19134 maybe-clean-target-libstdc++-v3:
19135
19136 clean-target-libstdc++-v3: 
19137         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19138         r=`${PWD_COMMAND}`; export r; \
19139         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140         $(SET_LIB_PATH) \
19141         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19142         for flag in $(EXTRA_TARGET_FLAGS); do \
19143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19144         done; \
19145         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19146           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19147                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19148                   "RANLIB=$${RANLIB}" \
19149                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19150                   clean) \
19151           || exit 1
19152
19153
19154 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
19155 maybe-distclean-target-libstdc++-v3:
19156
19157 distclean-target-libstdc++-v3: 
19158         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19159         r=`${PWD_COMMAND}`; export r; \
19160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161         $(SET_LIB_PATH) \
19162         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19163         for flag in $(EXTRA_TARGET_FLAGS); do \
19164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19165         done; \
19166         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19167           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19168                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19169                   "RANLIB=$${RANLIB}" \
19170                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19171                   distclean) \
19172           || exit 1
19173
19174
19175 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
19176 maybe-maintainer-clean-target-libstdc++-v3:
19177
19178 maintainer-clean-target-libstdc++-v3: 
19179         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19180         r=`${PWD_COMMAND}`; export r; \
19181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19182         $(SET_LIB_PATH) \
19183         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19184         for flag in $(EXTRA_TARGET_FLAGS); do \
19185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19186         done; \
19187         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19188           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19189                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19190                   "RANLIB=$${RANLIB}" \
19191                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19192                   maintainer-clean) \
19193           || exit 1
19194
19195
19196
19197 .PHONY: configure-target-newlib maybe-configure-target-newlib
19198 maybe-configure-target-newlib:
19199
19200 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19201 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
19202         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19203         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
19204         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
19205
19206 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
19207         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
19208         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19209         r=`${PWD_COMMAND}`; export r; \
19210         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211         $(SET_LIB_PATH) \
19212         AR="$(AR_FOR_TARGET)"; export AR; \
19213         AS="$(AS_FOR_TARGET)"; export AS; \
19214         CC="$(CC_FOR_TARGET)"; export CC; \
19215         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19216         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19217         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19218         CXX="$(CXX_FOR_TARGET)"; export CXX; \
19219         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19220         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19221         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19222         LD="$(LD_FOR_TARGET)"; export LD; \
19223         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19224         NM="$(NM_FOR_TARGET)"; export NM; \
19225         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19226         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19227         echo Configuring in $(TARGET_SUBDIR)/newlib; \
19228         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
19229         case $(srcdir) in \
19230           /* | [A-Za-z]:[\\/]*) \
19231             topdir=$(srcdir) ;; \
19232           *) \
19233             case "$(TARGET_SUBDIR)" in \
19234               .) topdir="../$(srcdir)" ;; \
19235               *) topdir="../../$(srcdir)" ;; \
19236             esac ;; \
19237         esac; \
19238           srcdiroption="--srcdir=$${topdir}/newlib"; \
19239           libsrcdir="$$s/newlib"; \
19240         rm -f no-such-file || : ; \
19241         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19242           $(TARGET_CONFIGARGS) $${srcdiroption} \
19243           --with-target-subdir="$(TARGET_SUBDIR)" \
19244           || exit 1
19245
19246 .PHONY: all-target-newlib maybe-all-target-newlib
19247 maybe-all-target-newlib:
19248 all-target-newlib: configure-target-newlib
19249         @r=`${PWD_COMMAND}`; export r; \
19250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19251         $(SET_LIB_PATH) \
19252         (cd $(TARGET_SUBDIR)/newlib && \
19253           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
19254
19255 .PHONY: check-target-newlib maybe-check-target-newlib
19256 maybe-check-target-newlib:
19257
19258 check-target-newlib:
19259         @r=`${PWD_COMMAND}`; export r; \
19260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261         $(SET_LIB_PATH) \
19262         (cd $(TARGET_SUBDIR)/newlib && \
19263           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
19264
19265
19266 .PHONY: install-target-newlib maybe-install-target-newlib
19267 maybe-install-target-newlib:
19268
19269 install-target-newlib: installdirs
19270         @r=`${PWD_COMMAND}`; export r; \
19271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272         $(SET_LIB_PATH) \
19273         (cd $(TARGET_SUBDIR)/newlib && \
19274           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19275
19276
19277 # Other targets (info, dvi, etc.)
19278
19279 .PHONY: maybe-info-target-newlib info-target-newlib
19280 maybe-info-target-newlib:
19281
19282 info-target-newlib: \
19283     configure-target-newlib 
19284         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19285         r=`${PWD_COMMAND}`; export r; \
19286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19287         $(SET_LIB_PATH) \
19288         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
19289         for flag in $(EXTRA_TARGET_FLAGS); do \
19290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19291         done; \
19292         (cd $(TARGET_SUBDIR)/newlib && \
19293           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19294                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19295                   "RANLIB=$${RANLIB}" \
19296                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19297                   info) \
19298           || exit 1
19299
19300
19301 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
19302 maybe-dvi-target-newlib:
19303
19304 dvi-target-newlib: \
19305     configure-target-newlib 
19306         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19307         r=`${PWD_COMMAND}`; export r; \
19308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19309         $(SET_LIB_PATH) \
19310         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
19311         for flag in $(EXTRA_TARGET_FLAGS); do \
19312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313         done; \
19314         (cd $(TARGET_SUBDIR)/newlib && \
19315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19317                   "RANLIB=$${RANLIB}" \
19318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19319                   dvi) \
19320           || exit 1
19321
19322
19323 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
19324 maybe-TAGS-target-newlib:
19325
19326 TAGS-target-newlib: \
19327     configure-target-newlib 
19328         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19329         r=`${PWD_COMMAND}`; export r; \
19330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331         $(SET_LIB_PATH) \
19332         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
19333         for flag in $(EXTRA_TARGET_FLAGS); do \
19334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335         done; \
19336         (cd $(TARGET_SUBDIR)/newlib && \
19337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339                   "RANLIB=$${RANLIB}" \
19340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19341                   TAGS) \
19342           || exit 1
19343
19344
19345 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
19346 maybe-install-info-target-newlib:
19347
19348 install-info-target-newlib: \
19349     configure-target-newlib \
19350     info-target-newlib 
19351         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19352         r=`${PWD_COMMAND}`; export r; \
19353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354         $(SET_LIB_PATH) \
19355         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
19356         for flag in $(EXTRA_TARGET_FLAGS); do \
19357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358         done; \
19359         (cd $(TARGET_SUBDIR)/newlib && \
19360           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362                   "RANLIB=$${RANLIB}" \
19363                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19364                   install-info) \
19365           || exit 1
19366
19367
19368 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
19369 maybe-installcheck-target-newlib:
19370
19371 installcheck-target-newlib: \
19372     configure-target-newlib 
19373         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19374         r=`${PWD_COMMAND}`; export r; \
19375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19376         $(SET_LIB_PATH) \
19377         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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                   installcheck) \
19387           || exit 1
19388
19389
19390 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
19391 maybe-mostlyclean-target-newlib:
19392
19393 mostlyclean-target-newlib: 
19394         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19395         r=`${PWD_COMMAND}`; export r; \
19396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19397         $(SET_LIB_PATH) \
19398         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
19399         for flag in $(EXTRA_TARGET_FLAGS); do \
19400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401         done; \
19402         (cd $(TARGET_SUBDIR)/newlib && \
19403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19405                   "RANLIB=$${RANLIB}" \
19406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19407                   mostlyclean) \
19408           || exit 1
19409
19410
19411 .PHONY: maybe-clean-target-newlib clean-target-newlib
19412 maybe-clean-target-newlib:
19413
19414 clean-target-newlib: 
19415         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19416         r=`${PWD_COMMAND}`; export r; \
19417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19418         $(SET_LIB_PATH) \
19419         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
19420         for flag in $(EXTRA_TARGET_FLAGS); do \
19421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19422         done; \
19423         (cd $(TARGET_SUBDIR)/newlib && \
19424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19426                   "RANLIB=$${RANLIB}" \
19427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19428                   clean) \
19429           || exit 1
19430
19431
19432 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
19433 maybe-distclean-target-newlib:
19434
19435 distclean-target-newlib: 
19436         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19437         r=`${PWD_COMMAND}`; export r; \
19438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19439         $(SET_LIB_PATH) \
19440         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
19441         for flag in $(EXTRA_TARGET_FLAGS); do \
19442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19443         done; \
19444         (cd $(TARGET_SUBDIR)/newlib && \
19445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19447                   "RANLIB=$${RANLIB}" \
19448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19449                   distclean) \
19450           || exit 1
19451
19452
19453 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
19454 maybe-maintainer-clean-target-newlib:
19455
19456 maintainer-clean-target-newlib: 
19457         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19458         r=`${PWD_COMMAND}`; export r; \
19459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460         $(SET_LIB_PATH) \
19461         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
19462         for flag in $(EXTRA_TARGET_FLAGS); do \
19463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19464         done; \
19465         (cd $(TARGET_SUBDIR)/newlib && \
19466           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19467                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19468                   "RANLIB=$${RANLIB}" \
19469                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19470                   maintainer-clean) \
19471           || exit 1
19472
19473
19474
19475 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
19476 maybe-configure-target-libf2c:
19477
19478 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19479 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
19480         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19481         rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
19482         cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
19483
19484 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
19485         @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
19486         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19487         r=`${PWD_COMMAND}`; export r; \
19488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489         $(SET_LIB_PATH) \
19490         AR="$(AR_FOR_TARGET)"; export AR; \
19491         AS="$(AS_FOR_TARGET)"; export AS; \
19492         CC="$(CC_FOR_TARGET)"; export CC; \
19493         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19494         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19495         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19496         CXX="$(CXX_FOR_TARGET)"; export CXX; \
19497         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19498         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19499         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19500         LD="$(LD_FOR_TARGET)"; export LD; \
19501         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19502         NM="$(NM_FOR_TARGET)"; export NM; \
19503         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19504         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19505         echo Configuring in $(TARGET_SUBDIR)/libf2c; \
19506         cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
19507         case $(srcdir) in \
19508           /* | [A-Za-z]:[\\/]*) \
19509             topdir=$(srcdir) ;; \
19510           *) \
19511             case "$(TARGET_SUBDIR)" in \
19512               .) topdir="../$(srcdir)" ;; \
19513               *) topdir="../../$(srcdir)" ;; \
19514             esac ;; \
19515         esac; \
19516           srcdiroption="--srcdir=$${topdir}/libf2c"; \
19517           libsrcdir="$$s/libf2c"; \
19518         rm -f no-such-file || : ; \
19519         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19520           $(TARGET_CONFIGARGS) $${srcdiroption} \
19521           --with-target-subdir="$(TARGET_SUBDIR)" \
19522           || exit 1
19523
19524 .PHONY: all-target-libf2c maybe-all-target-libf2c
19525 maybe-all-target-libf2c:
19526 all-target-libf2c: configure-target-libf2c
19527         @r=`${PWD_COMMAND}`; export r; \
19528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529         $(SET_LIB_PATH) \
19530         (cd $(TARGET_SUBDIR)/libf2c && \
19531           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
19532
19533 .PHONY: check-target-libf2c maybe-check-target-libf2c
19534 maybe-check-target-libf2c:
19535
19536 check-target-libf2c:
19537         @r=`${PWD_COMMAND}`; export r; \
19538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539         $(SET_LIB_PATH) \
19540         (cd $(TARGET_SUBDIR)/libf2c && \
19541           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
19542
19543
19544 .PHONY: install-target-libf2c maybe-install-target-libf2c
19545 maybe-install-target-libf2c:
19546
19547 install-target-libf2c: installdirs
19548         @r=`${PWD_COMMAND}`; export r; \
19549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550         $(SET_LIB_PATH) \
19551         (cd $(TARGET_SUBDIR)/libf2c && \
19552           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19553
19554
19555 # Other targets (info, dvi, etc.)
19556
19557 .PHONY: maybe-info-target-libf2c info-target-libf2c
19558 maybe-info-target-libf2c:
19559
19560 info-target-libf2c: \
19561     configure-target-libf2c 
19562         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19563         r=`${PWD_COMMAND}`; export r; \
19564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565         $(SET_LIB_PATH) \
19566         echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
19567         for flag in $(EXTRA_TARGET_FLAGS); do \
19568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19569         done; \
19570         (cd $(TARGET_SUBDIR)/libf2c && \
19571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19573                   "RANLIB=$${RANLIB}" \
19574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19575                   info) \
19576           || exit 1
19577
19578
19579 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
19580 maybe-dvi-target-libf2c:
19581
19582 dvi-target-libf2c: \
19583     configure-target-libf2c 
19584         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19585         r=`${PWD_COMMAND}`; export r; \
19586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587         $(SET_LIB_PATH) \
19588         echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
19589         for flag in $(EXTRA_TARGET_FLAGS); do \
19590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19591         done; \
19592         (cd $(TARGET_SUBDIR)/libf2c && \
19593           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595                   "RANLIB=$${RANLIB}" \
19596                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19597                   dvi) \
19598           || exit 1
19599
19600
19601 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
19602 maybe-TAGS-target-libf2c:
19603
19604 TAGS-target-libf2c: \
19605     configure-target-libf2c 
19606         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19607         r=`${PWD_COMMAND}`; export r; \
19608         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609         $(SET_LIB_PATH) \
19610         echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
19611         for flag in $(EXTRA_TARGET_FLAGS); do \
19612           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19613         done; \
19614         (cd $(TARGET_SUBDIR)/libf2c && \
19615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19617                   "RANLIB=$${RANLIB}" \
19618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19619                   TAGS) \
19620           || exit 1
19621
19622
19623 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
19624 maybe-install-info-target-libf2c:
19625
19626 install-info-target-libf2c: \
19627     configure-target-libf2c \
19628     info-target-libf2c 
19629         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19630         r=`${PWD_COMMAND}`; export r; \
19631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19632         $(SET_LIB_PATH) \
19633         echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
19634         for flag in $(EXTRA_TARGET_FLAGS); do \
19635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19636         done; \
19637         (cd $(TARGET_SUBDIR)/libf2c && \
19638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19640                   "RANLIB=$${RANLIB}" \
19641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19642                   install-info) \
19643           || exit 1
19644
19645
19646 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
19647 maybe-installcheck-target-libf2c:
19648
19649 installcheck-target-libf2c: \
19650     configure-target-libf2c 
19651         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19652         r=`${PWD_COMMAND}`; export r; \
19653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654         $(SET_LIB_PATH) \
19655         echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
19656         for flag in $(EXTRA_TARGET_FLAGS); do \
19657           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19658         done; \
19659         (cd $(TARGET_SUBDIR)/libf2c && \
19660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19662                   "RANLIB=$${RANLIB}" \
19663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19664                   installcheck) \
19665           || exit 1
19666
19667
19668 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
19669 maybe-mostlyclean-target-libf2c:
19670
19671 mostlyclean-target-libf2c: 
19672         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19673         r=`${PWD_COMMAND}`; export r; \
19674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675         $(SET_LIB_PATH) \
19676         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
19677         for flag in $(EXTRA_TARGET_FLAGS); do \
19678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19679         done; \
19680         (cd $(TARGET_SUBDIR)/libf2c && \
19681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683                   "RANLIB=$${RANLIB}" \
19684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685                   mostlyclean) \
19686           || exit 1
19687
19688
19689 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
19690 maybe-clean-target-libf2c:
19691
19692 clean-target-libf2c: 
19693         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19694         r=`${PWD_COMMAND}`; export r; \
19695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19696         $(SET_LIB_PATH) \
19697         echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
19698         for flag in $(EXTRA_TARGET_FLAGS); do \
19699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19700         done; \
19701         (cd $(TARGET_SUBDIR)/libf2c && \
19702           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19703                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19704                   "RANLIB=$${RANLIB}" \
19705                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19706                   clean) \
19707           || exit 1
19708
19709
19710 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
19711 maybe-distclean-target-libf2c:
19712
19713 distclean-target-libf2c: 
19714         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19715         r=`${PWD_COMMAND}`; export r; \
19716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717         $(SET_LIB_PATH) \
19718         echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
19719         for flag in $(EXTRA_TARGET_FLAGS); do \
19720           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19721         done; \
19722         (cd $(TARGET_SUBDIR)/libf2c && \
19723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725                   "RANLIB=$${RANLIB}" \
19726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727                   distclean) \
19728           || exit 1
19729
19730
19731 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
19732 maybe-maintainer-clean-target-libf2c:
19733
19734 maintainer-clean-target-libf2c: 
19735         @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19736         r=`${PWD_COMMAND}`; export r; \
19737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19738         $(SET_LIB_PATH) \
19739         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
19740         for flag in $(EXTRA_TARGET_FLAGS); do \
19741           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742         done; \
19743         (cd $(TARGET_SUBDIR)/libf2c && \
19744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19746                   "RANLIB=$${RANLIB}" \
19747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19748                   maintainer-clean) \
19749           || exit 1
19750
19751
19752
19753 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
19754 maybe-configure-target-libobjc:
19755
19756 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
19757 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
19758         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19759         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
19760         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
19761
19762 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
19763         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
19764         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19765         r=`${PWD_COMMAND}`; export r; \
19766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19767         $(SET_LIB_PATH) \
19768         AR="$(AR_FOR_TARGET)"; export AR; \
19769         AS="$(AS_FOR_TARGET)"; export AS; \
19770         CC="$(CC_FOR_TARGET)"; export CC; \
19771         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19772         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19773         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19774         CXX="$(CXX_FOR_TARGET)"; export CXX; \
19775         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19776         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19777         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19778         LD="$(LD_FOR_TARGET)"; export LD; \
19779         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19780         NM="$(NM_FOR_TARGET)"; export NM; \
19781         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19782         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19783         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
19784         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
19785         case $(srcdir) in \
19786           /* | [A-Za-z]:[\\/]*) \
19787             topdir=$(srcdir) ;; \
19788           *) \
19789             case "$(TARGET_SUBDIR)" in \
19790               .) topdir="../$(srcdir)" ;; \
19791               *) topdir="../../$(srcdir)" ;; \
19792             esac ;; \
19793         esac; \
19794           srcdiroption="--srcdir=$${topdir}/libobjc"; \
19795           libsrcdir="$$s/libobjc"; \
19796         rm -f no-such-file || : ; \
19797         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19798           $(TARGET_CONFIGARGS) $${srcdiroption} \
19799           --with-target-subdir="$(TARGET_SUBDIR)" \
19800           || exit 1
19801
19802 .PHONY: all-target-libobjc maybe-all-target-libobjc
19803 maybe-all-target-libobjc:
19804 all-target-libobjc: configure-target-libobjc
19805         @r=`${PWD_COMMAND}`; export r; \
19806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807         $(SET_LIB_PATH) \
19808         (cd $(TARGET_SUBDIR)/libobjc && \
19809           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
19810
19811 .PHONY: check-target-libobjc maybe-check-target-libobjc
19812 maybe-check-target-libobjc:
19813
19814 check-target-libobjc:
19815         @r=`${PWD_COMMAND}`; export r; \
19816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817         $(SET_LIB_PATH) \
19818         (cd $(TARGET_SUBDIR)/libobjc && \
19819           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
19820
19821
19822 .PHONY: install-target-libobjc maybe-install-target-libobjc
19823 maybe-install-target-libobjc:
19824
19825 install-target-libobjc: installdirs
19826         @r=`${PWD_COMMAND}`; export r; \
19827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828         $(SET_LIB_PATH) \
19829         (cd $(TARGET_SUBDIR)/libobjc && \
19830           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19831
19832
19833 # Other targets (info, dvi, etc.)
19834
19835 .PHONY: maybe-info-target-libobjc info-target-libobjc
19836 maybe-info-target-libobjc:
19837
19838 info-target-libobjc: \
19839     configure-target-libobjc 
19840         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19841         r=`${PWD_COMMAND}`; export r; \
19842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843         $(SET_LIB_PATH) \
19844         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
19845         for flag in $(EXTRA_TARGET_FLAGS); do \
19846           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19847         done; \
19848         (cd $(TARGET_SUBDIR)/libobjc && \
19849           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19850                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19851                   "RANLIB=$${RANLIB}" \
19852                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19853                   info) \
19854           || exit 1
19855
19856
19857 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
19858 maybe-dvi-target-libobjc:
19859
19860 dvi-target-libobjc: \
19861     configure-target-libobjc 
19862         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19863         r=`${PWD_COMMAND}`; export r; \
19864         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19865         $(SET_LIB_PATH) \
19866         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
19867         for flag in $(EXTRA_TARGET_FLAGS); do \
19868           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19869         done; \
19870         (cd $(TARGET_SUBDIR)/libobjc && \
19871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19873                   "RANLIB=$${RANLIB}" \
19874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19875                   dvi) \
19876           || exit 1
19877
19878
19879 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
19880 maybe-TAGS-target-libobjc:
19881
19882 TAGS-target-libobjc: \
19883     configure-target-libobjc 
19884         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19885         r=`${PWD_COMMAND}`; export r; \
19886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19887         $(SET_LIB_PATH) \
19888         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
19889         for flag in $(EXTRA_TARGET_FLAGS); do \
19890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891         done; \
19892         (cd $(TARGET_SUBDIR)/libobjc && \
19893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19895                   "RANLIB=$${RANLIB}" \
19896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19897                   TAGS) \
19898           || exit 1
19899
19900
19901 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
19902 maybe-install-info-target-libobjc:
19903
19904 install-info-target-libobjc: \
19905     configure-target-libobjc \
19906     info-target-libobjc 
19907         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19908         r=`${PWD_COMMAND}`; export r; \
19909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19910         $(SET_LIB_PATH) \
19911         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
19912         for flag in $(EXTRA_TARGET_FLAGS); do \
19913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19914         done; \
19915         (cd $(TARGET_SUBDIR)/libobjc && \
19916           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19917                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19918                   "RANLIB=$${RANLIB}" \
19919                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19920                   install-info) \
19921           || exit 1
19922
19923
19924 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
19925 maybe-installcheck-target-libobjc:
19926
19927 installcheck-target-libobjc: \
19928     configure-target-libobjc 
19929         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19930         r=`${PWD_COMMAND}`; export r; \
19931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19932         $(SET_LIB_PATH) \
19933         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
19934         for flag in $(EXTRA_TARGET_FLAGS); do \
19935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19936         done; \
19937         (cd $(TARGET_SUBDIR)/libobjc && \
19938           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19939                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19940                   "RANLIB=$${RANLIB}" \
19941                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19942                   installcheck) \
19943           || exit 1
19944
19945
19946 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
19947 maybe-mostlyclean-target-libobjc:
19948
19949 mostlyclean-target-libobjc: 
19950         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19951         r=`${PWD_COMMAND}`; export r; \
19952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953         $(SET_LIB_PATH) \
19954         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
19955         for flag in $(EXTRA_TARGET_FLAGS); do \
19956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957         done; \
19958         (cd $(TARGET_SUBDIR)/libobjc && \
19959           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961                   "RANLIB=$${RANLIB}" \
19962                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963                   mostlyclean) \
19964           || exit 1
19965
19966
19967 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
19968 maybe-clean-target-libobjc:
19969
19970 clean-target-libobjc: 
19971         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19972         r=`${PWD_COMMAND}`; export r; \
19973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19974         $(SET_LIB_PATH) \
19975         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
19976         for flag in $(EXTRA_TARGET_FLAGS); do \
19977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19978         done; \
19979         (cd $(TARGET_SUBDIR)/libobjc && \
19980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19982                   "RANLIB=$${RANLIB}" \
19983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19984                   clean) \
19985           || exit 1
19986
19987
19988 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
19989 maybe-distclean-target-libobjc:
19990
19991 distclean-target-libobjc: 
19992         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19993         r=`${PWD_COMMAND}`; export r; \
19994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995         $(SET_LIB_PATH) \
19996         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
19997         for flag in $(EXTRA_TARGET_FLAGS); do \
19998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19999         done; \
20000         (cd $(TARGET_SUBDIR)/libobjc && \
20001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003                   "RANLIB=$${RANLIB}" \
20004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20005                   distclean) \
20006           || exit 1
20007
20008
20009 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
20010 maybe-maintainer-clean-target-libobjc:
20011
20012 maintainer-clean-target-libobjc: 
20013         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20014         r=`${PWD_COMMAND}`; export r; \
20015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20016         $(SET_LIB_PATH) \
20017         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
20018         for flag in $(EXTRA_TARGET_FLAGS); do \
20019           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20020         done; \
20021         (cd $(TARGET_SUBDIR)/libobjc && \
20022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20024                   "RANLIB=$${RANLIB}" \
20025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20026                   maintainer-clean) \
20027           || exit 1
20028
20029
20030
20031 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
20032 maybe-configure-target-libtermcap:
20033
20034 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20035 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
20036         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20037         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
20038         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
20039
20040 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
20041         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
20042         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20043         r=`${PWD_COMMAND}`; export r; \
20044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045         $(SET_LIB_PATH) \
20046         AR="$(AR_FOR_TARGET)"; export AR; \
20047         AS="$(AS_FOR_TARGET)"; export AS; \
20048         CC="$(CC_FOR_TARGET)"; export CC; \
20049         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20050         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20051         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20052         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20053         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20054         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20055         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20056         LD="$(LD_FOR_TARGET)"; export LD; \
20057         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20058         NM="$(NM_FOR_TARGET)"; export NM; \
20059         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20060         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20061         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
20062         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
20063         case $(srcdir) in \
20064           /* | [A-Za-z]:[\\/]*) \
20065             topdir=$(srcdir) ;; \
20066           *) \
20067             case "$(TARGET_SUBDIR)" in \
20068               .) topdir="../$(srcdir)" ;; \
20069               *) topdir="../../$(srcdir)" ;; \
20070             esac ;; \
20071         esac; \
20072         if [ "$(srcdir)" = "." ] ; then \
20073           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
20074             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
20075               if [ -f Makefile ]; then \
20076                 if $(MAKE) distclean; then \
20077                   true; \
20078                 else \
20079                   exit 1; \
20080                 fi; \
20081               else \
20082                 true; \
20083               fi; \
20084             else \
20085               exit 1; \
20086             fi; \
20087           else \
20088             true; \
20089           fi; \
20090           srcdiroption="--srcdir=."; \
20091           libsrcdir="."; \
20092         else \
20093           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
20094           libsrcdir="$$s/libtermcap"; \
20095         fi; \
20096         rm -f no-such-file || : ; \
20097         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20098           $(TARGET_CONFIGARGS) $${srcdiroption} \
20099           --with-target-subdir="$(TARGET_SUBDIR)" \
20100           || exit 1
20101
20102 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
20103 maybe-all-target-libtermcap:
20104 all-target-libtermcap: configure-target-libtermcap
20105         @r=`${PWD_COMMAND}`; export r; \
20106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107         $(SET_LIB_PATH) \
20108         (cd $(TARGET_SUBDIR)/libtermcap && \
20109           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20110
20111 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
20112 maybe-check-target-libtermcap:
20113
20114 # Dummy target for uncheckable module.
20115 check-target-libtermcap:
20116
20117
20118 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
20119 maybe-install-target-libtermcap:
20120
20121 install-target-libtermcap: installdirs
20122         @r=`${PWD_COMMAND}`; export r; \
20123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20124         $(SET_LIB_PATH) \
20125         (cd $(TARGET_SUBDIR)/libtermcap && \
20126           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20127
20128
20129 # Other targets (info, dvi, etc.)
20130
20131 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
20132 maybe-info-target-libtermcap:
20133
20134 info-target-libtermcap: \
20135     configure-target-libtermcap 
20136         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20137         r=`${PWD_COMMAND}`; export r; \
20138         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20139         $(SET_LIB_PATH) \
20140         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
20141         for flag in $(EXTRA_TARGET_FLAGS); do \
20142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20143         done; \
20144         (cd $(TARGET_SUBDIR)/libtermcap && \
20145           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20146                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20147                   "RANLIB=$${RANLIB}" \
20148                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20149                   info) \
20150           || exit 1
20151
20152
20153 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
20154 maybe-dvi-target-libtermcap:
20155
20156 dvi-target-libtermcap: \
20157     configure-target-libtermcap 
20158         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20159         r=`${PWD_COMMAND}`; export r; \
20160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161         $(SET_LIB_PATH) \
20162         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
20163         for flag in $(EXTRA_TARGET_FLAGS); do \
20164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20165         done; \
20166         (cd $(TARGET_SUBDIR)/libtermcap && \
20167           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169                   "RANLIB=$${RANLIB}" \
20170                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20171                   dvi) \
20172           || exit 1
20173
20174
20175 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
20176 maybe-TAGS-target-libtermcap:
20177
20178 TAGS-target-libtermcap: \
20179     configure-target-libtermcap 
20180         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20181         r=`${PWD_COMMAND}`; export r; \
20182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183         $(SET_LIB_PATH) \
20184         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
20185         for flag in $(EXTRA_TARGET_FLAGS); do \
20186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20187         done; \
20188         (cd $(TARGET_SUBDIR)/libtermcap && \
20189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191                   "RANLIB=$${RANLIB}" \
20192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20193                   TAGS) \
20194           || exit 1
20195
20196
20197 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
20198 maybe-install-info-target-libtermcap:
20199
20200 install-info-target-libtermcap: \
20201     configure-target-libtermcap \
20202     info-target-libtermcap 
20203         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20204         r=`${PWD_COMMAND}`; export r; \
20205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206         $(SET_LIB_PATH) \
20207         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
20208         for flag in $(EXTRA_TARGET_FLAGS); do \
20209           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20210         done; \
20211         (cd $(TARGET_SUBDIR)/libtermcap && \
20212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20214                   "RANLIB=$${RANLIB}" \
20215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20216                   install-info) \
20217           || exit 1
20218
20219
20220 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
20221 maybe-installcheck-target-libtermcap:
20222
20223 installcheck-target-libtermcap: \
20224     configure-target-libtermcap 
20225         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20226         r=`${PWD_COMMAND}`; export r; \
20227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228         $(SET_LIB_PATH) \
20229         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
20230         for flag in $(EXTRA_TARGET_FLAGS); do \
20231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20232         done; \
20233         (cd $(TARGET_SUBDIR)/libtermcap && \
20234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236                   "RANLIB=$${RANLIB}" \
20237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20238                   installcheck) \
20239           || exit 1
20240
20241
20242 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
20243 maybe-mostlyclean-target-libtermcap:
20244
20245 # libtermcap doesn't support mostlyclean.
20246 mostlyclean-target-libtermcap:
20247
20248
20249 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
20250 maybe-clean-target-libtermcap:
20251
20252 # libtermcap doesn't support clean.
20253 clean-target-libtermcap:
20254
20255
20256 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
20257 maybe-distclean-target-libtermcap:
20258
20259 # libtermcap doesn't support distclean.
20260 distclean-target-libtermcap:
20261
20262
20263 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
20264 maybe-maintainer-clean-target-libtermcap:
20265
20266 # libtermcap doesn't support maintainer-clean.
20267 maintainer-clean-target-libtermcap:
20268
20269
20270
20271 .PHONY: configure-target-winsup maybe-configure-target-winsup
20272 maybe-configure-target-winsup:
20273
20274 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20275 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
20276         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20277         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
20278         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
20279
20280 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
20281         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
20282         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20283         r=`${PWD_COMMAND}`; export r; \
20284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285         $(SET_LIB_PATH) \
20286         AR="$(AR_FOR_TARGET)"; export AR; \
20287         AS="$(AS_FOR_TARGET)"; export AS; \
20288         CC="$(CC_FOR_TARGET)"; export CC; \
20289         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20290         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20291         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20292         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20293         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20294         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20295         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20296         LD="$(LD_FOR_TARGET)"; export LD; \
20297         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20298         NM="$(NM_FOR_TARGET)"; export NM; \
20299         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20300         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20301         echo Configuring in $(TARGET_SUBDIR)/winsup; \
20302         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
20303         case $(srcdir) in \
20304           /* | [A-Za-z]:[\\/]*) \
20305             topdir=$(srcdir) ;; \
20306           *) \
20307             case "$(TARGET_SUBDIR)" in \
20308               .) topdir="../$(srcdir)" ;; \
20309               *) topdir="../../$(srcdir)" ;; \
20310             esac ;; \
20311         esac; \
20312           srcdiroption="--srcdir=$${topdir}/winsup"; \
20313           libsrcdir="$$s/winsup"; \
20314         rm -f no-such-file || : ; \
20315         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20316           $(TARGET_CONFIGARGS) $${srcdiroption} \
20317           --with-target-subdir="$(TARGET_SUBDIR)" \
20318           || exit 1
20319
20320 .PHONY: all-target-winsup maybe-all-target-winsup
20321 maybe-all-target-winsup:
20322 all-target-winsup: configure-target-winsup
20323         @r=`${PWD_COMMAND}`; export r; \
20324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20325         $(SET_LIB_PATH) \
20326         (cd $(TARGET_SUBDIR)/winsup && \
20327           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20328
20329 .PHONY: check-target-winsup maybe-check-target-winsup
20330 maybe-check-target-winsup:
20331
20332 check-target-winsup:
20333         @r=`${PWD_COMMAND}`; export r; \
20334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20335         $(SET_LIB_PATH) \
20336         (cd $(TARGET_SUBDIR)/winsup && \
20337           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
20338
20339
20340 .PHONY: install-target-winsup maybe-install-target-winsup
20341 maybe-install-target-winsup:
20342
20343 install-target-winsup: installdirs
20344         @r=`${PWD_COMMAND}`; export r; \
20345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20346         $(SET_LIB_PATH) \
20347         (cd $(TARGET_SUBDIR)/winsup && \
20348           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20349
20350
20351 # Other targets (info, dvi, etc.)
20352
20353 .PHONY: maybe-info-target-winsup info-target-winsup
20354 maybe-info-target-winsup:
20355
20356 info-target-winsup: \
20357     configure-target-winsup 
20358         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20359         r=`${PWD_COMMAND}`; export r; \
20360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361         $(SET_LIB_PATH) \
20362         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
20363         for flag in $(EXTRA_TARGET_FLAGS); do \
20364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20365         done; \
20366         (cd $(TARGET_SUBDIR)/winsup && \
20367           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369                   "RANLIB=$${RANLIB}" \
20370                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20371                   info) \
20372           || exit 1
20373
20374
20375 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
20376 maybe-dvi-target-winsup:
20377
20378 dvi-target-winsup: \
20379     configure-target-winsup 
20380         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20381         r=`${PWD_COMMAND}`; export r; \
20382         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383         $(SET_LIB_PATH) \
20384         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
20385         for flag in $(EXTRA_TARGET_FLAGS); do \
20386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20387         done; \
20388         (cd $(TARGET_SUBDIR)/winsup && \
20389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20391                   "RANLIB=$${RANLIB}" \
20392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20393                   dvi) \
20394           || exit 1
20395
20396
20397 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
20398 maybe-TAGS-target-winsup:
20399
20400 TAGS-target-winsup: \
20401     configure-target-winsup 
20402         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20403         r=`${PWD_COMMAND}`; export r; \
20404         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405         $(SET_LIB_PATH) \
20406         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
20407         for flag in $(EXTRA_TARGET_FLAGS); do \
20408           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20409         done; \
20410         (cd $(TARGET_SUBDIR)/winsup && \
20411           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20412                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20413                   "RANLIB=$${RANLIB}" \
20414                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20415                   TAGS) \
20416           || exit 1
20417
20418
20419 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
20420 maybe-install-info-target-winsup:
20421
20422 install-info-target-winsup: \
20423     configure-target-winsup \
20424     info-target-winsup 
20425         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20426         r=`${PWD_COMMAND}`; export r; \
20427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428         $(SET_LIB_PATH) \
20429         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
20430         for flag in $(EXTRA_TARGET_FLAGS); do \
20431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20432         done; \
20433         (cd $(TARGET_SUBDIR)/winsup && \
20434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20436                   "RANLIB=$${RANLIB}" \
20437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20438                   install-info) \
20439           || exit 1
20440
20441
20442 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
20443 maybe-installcheck-target-winsup:
20444
20445 installcheck-target-winsup: \
20446     configure-target-winsup 
20447         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20448         r=`${PWD_COMMAND}`; export r; \
20449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450         $(SET_LIB_PATH) \
20451         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
20452         for flag in $(EXTRA_TARGET_FLAGS); do \
20453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20454         done; \
20455         (cd $(TARGET_SUBDIR)/winsup && \
20456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20458                   "RANLIB=$${RANLIB}" \
20459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20460                   installcheck) \
20461           || exit 1
20462
20463
20464 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
20465 maybe-mostlyclean-target-winsup:
20466
20467 mostlyclean-target-winsup: 
20468         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20469         r=`${PWD_COMMAND}`; export r; \
20470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20471         $(SET_LIB_PATH) \
20472         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
20473         for flag in $(EXTRA_TARGET_FLAGS); do \
20474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20475         done; \
20476         (cd $(TARGET_SUBDIR)/winsup && \
20477           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20478                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20479                   "RANLIB=$${RANLIB}" \
20480                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20481                   mostlyclean) \
20482           || exit 1
20483
20484
20485 .PHONY: maybe-clean-target-winsup clean-target-winsup
20486 maybe-clean-target-winsup:
20487
20488 clean-target-winsup: 
20489         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20490         r=`${PWD_COMMAND}`; export r; \
20491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20492         $(SET_LIB_PATH) \
20493         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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                   clean) \
20503           || exit 1
20504
20505
20506 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
20507 maybe-distclean-target-winsup:
20508
20509 distclean-target-winsup: 
20510         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20511         r=`${PWD_COMMAND}`; export r; \
20512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513         $(SET_LIB_PATH) \
20514         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
20515         for flag in $(EXTRA_TARGET_FLAGS); do \
20516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20517         done; \
20518         (cd $(TARGET_SUBDIR)/winsup && \
20519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20521                   "RANLIB=$${RANLIB}" \
20522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20523                   distclean) \
20524           || exit 1
20525
20526
20527 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
20528 maybe-maintainer-clean-target-winsup:
20529
20530 maintainer-clean-target-winsup: 
20531         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20532         r=`${PWD_COMMAND}`; export r; \
20533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534         $(SET_LIB_PATH) \
20535         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
20536         for flag in $(EXTRA_TARGET_FLAGS); do \
20537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20538         done; \
20539         (cd $(TARGET_SUBDIR)/winsup && \
20540           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20541                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20542                   "RANLIB=$${RANLIB}" \
20543                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20544                   maintainer-clean) \
20545           || exit 1
20546
20547
20548
20549 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
20550 maybe-configure-target-libgloss:
20551
20552 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20553 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
20554         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20555         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
20556         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
20557
20558 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
20559         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
20560         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20561         r=`${PWD_COMMAND}`; export r; \
20562         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20563         $(SET_LIB_PATH) \
20564         AR="$(AR_FOR_TARGET)"; export AR; \
20565         AS="$(AS_FOR_TARGET)"; export AS; \
20566         CC="$(CC_FOR_TARGET)"; export CC; \
20567         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20568         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20569         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20570         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20571         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20572         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20573         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20574         LD="$(LD_FOR_TARGET)"; export LD; \
20575         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20576         NM="$(NM_FOR_TARGET)"; export NM; \
20577         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20578         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20579         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
20580         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
20581         case $(srcdir) in \
20582           /* | [A-Za-z]:[\\/]*) \
20583             topdir=$(srcdir) ;; \
20584           *) \
20585             case "$(TARGET_SUBDIR)" in \
20586               .) topdir="../$(srcdir)" ;; \
20587               *) topdir="../../$(srcdir)" ;; \
20588             esac ;; \
20589         esac; \
20590           srcdiroption="--srcdir=$${topdir}/libgloss"; \
20591           libsrcdir="$$s/libgloss"; \
20592         rm -f no-such-file || : ; \
20593         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20594           $(TARGET_CONFIGARGS) $${srcdiroption} \
20595           --with-target-subdir="$(TARGET_SUBDIR)" \
20596           || exit 1
20597
20598 .PHONY: all-target-libgloss maybe-all-target-libgloss
20599 maybe-all-target-libgloss:
20600 all-target-libgloss: configure-target-libgloss
20601         @r=`${PWD_COMMAND}`; export r; \
20602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603         $(SET_LIB_PATH) \
20604         (cd $(TARGET_SUBDIR)/libgloss && \
20605           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20606
20607 .PHONY: check-target-libgloss maybe-check-target-libgloss
20608 maybe-check-target-libgloss:
20609
20610 # Dummy target for uncheckable module.
20611 check-target-libgloss:
20612
20613
20614 .PHONY: install-target-libgloss maybe-install-target-libgloss
20615 maybe-install-target-libgloss:
20616
20617 install-target-libgloss: installdirs
20618         @r=`${PWD_COMMAND}`; export r; \
20619         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20620         $(SET_LIB_PATH) \
20621         (cd $(TARGET_SUBDIR)/libgloss && \
20622           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20623
20624
20625 # Other targets (info, dvi, etc.)
20626
20627 .PHONY: maybe-info-target-libgloss info-target-libgloss
20628 maybe-info-target-libgloss:
20629
20630 info-target-libgloss: \
20631     configure-target-libgloss 
20632         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20633         r=`${PWD_COMMAND}`; export r; \
20634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20635         $(SET_LIB_PATH) \
20636         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
20637         for flag in $(EXTRA_TARGET_FLAGS); do \
20638           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20639         done; \
20640         (cd $(TARGET_SUBDIR)/libgloss && \
20641           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20642                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20643                   "RANLIB=$${RANLIB}" \
20644                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20645                   info) \
20646           || exit 1
20647
20648
20649 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
20650 maybe-dvi-target-libgloss:
20651
20652 dvi-target-libgloss: \
20653     configure-target-libgloss 
20654         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20655         r=`${PWD_COMMAND}`; export r; \
20656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20657         $(SET_LIB_PATH) \
20658         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
20659         for flag in $(EXTRA_TARGET_FLAGS); do \
20660           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20661         done; \
20662         (cd $(TARGET_SUBDIR)/libgloss && \
20663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20665                   "RANLIB=$${RANLIB}" \
20666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20667                   dvi) \
20668           || exit 1
20669
20670
20671 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
20672 maybe-TAGS-target-libgloss:
20673
20674 TAGS-target-libgloss: \
20675     configure-target-libgloss 
20676         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20677         r=`${PWD_COMMAND}`; export r; \
20678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679         $(SET_LIB_PATH) \
20680         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
20681         for flag in $(EXTRA_TARGET_FLAGS); do \
20682           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20683         done; \
20684         (cd $(TARGET_SUBDIR)/libgloss && \
20685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20687                   "RANLIB=$${RANLIB}" \
20688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20689                   TAGS) \
20690           || exit 1
20691
20692
20693 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
20694 maybe-install-info-target-libgloss:
20695
20696 install-info-target-libgloss: \
20697     configure-target-libgloss \
20698     info-target-libgloss 
20699         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20700         r=`${PWD_COMMAND}`; export r; \
20701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20702         $(SET_LIB_PATH) \
20703         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
20704         for flag in $(EXTRA_TARGET_FLAGS); do \
20705           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706         done; \
20707         (cd $(TARGET_SUBDIR)/libgloss && \
20708           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20709                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20710                   "RANLIB=$${RANLIB}" \
20711                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712                   install-info) \
20713           || exit 1
20714
20715
20716 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
20717 maybe-installcheck-target-libgloss:
20718
20719 installcheck-target-libgloss: \
20720     configure-target-libgloss 
20721         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20722         r=`${PWD_COMMAND}`; export r; \
20723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20724         $(SET_LIB_PATH) \
20725         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
20726         for flag in $(EXTRA_TARGET_FLAGS); do \
20727           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728         done; \
20729         (cd $(TARGET_SUBDIR)/libgloss && \
20730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20732                   "RANLIB=$${RANLIB}" \
20733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20734                   installcheck) \
20735           || exit 1
20736
20737
20738 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
20739 maybe-mostlyclean-target-libgloss:
20740
20741 mostlyclean-target-libgloss: 
20742         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20743         r=`${PWD_COMMAND}`; export r; \
20744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745         $(SET_LIB_PATH) \
20746         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
20747         for flag in $(EXTRA_TARGET_FLAGS); do \
20748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749         done; \
20750         (cd $(TARGET_SUBDIR)/libgloss && \
20751           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20752                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20753                   "RANLIB=$${RANLIB}" \
20754                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20755                   mostlyclean) \
20756           || exit 1
20757
20758
20759 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
20760 maybe-clean-target-libgloss:
20761
20762 clean-target-libgloss: 
20763         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20764         r=`${PWD_COMMAND}`; export r; \
20765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20766         $(SET_LIB_PATH) \
20767         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
20768         for flag in $(EXTRA_TARGET_FLAGS); do \
20769           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20770         done; \
20771         (cd $(TARGET_SUBDIR)/libgloss && \
20772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20774                   "RANLIB=$${RANLIB}" \
20775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20776                   clean) \
20777           || exit 1
20778
20779
20780 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
20781 maybe-distclean-target-libgloss:
20782
20783 distclean-target-libgloss: 
20784         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20785         r=`${PWD_COMMAND}`; export r; \
20786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787         $(SET_LIB_PATH) \
20788         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
20789         for flag in $(EXTRA_TARGET_FLAGS); do \
20790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20791         done; \
20792         (cd $(TARGET_SUBDIR)/libgloss && \
20793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795                   "RANLIB=$${RANLIB}" \
20796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20797                   distclean) \
20798           || exit 1
20799
20800
20801 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
20802 maybe-maintainer-clean-target-libgloss:
20803
20804 maintainer-clean-target-libgloss: 
20805         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20806         r=`${PWD_COMMAND}`; export r; \
20807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808         $(SET_LIB_PATH) \
20809         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
20810         for flag in $(EXTRA_TARGET_FLAGS); do \
20811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20812         done; \
20813         (cd $(TARGET_SUBDIR)/libgloss && \
20814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816                   "RANLIB=$${RANLIB}" \
20817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20818                   maintainer-clean) \
20819           || exit 1
20820
20821
20822
20823 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
20824 maybe-configure-target-libiberty:
20825
20826 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
20827 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
20828         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20829         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
20830         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
20831
20832 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
20833         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
20834         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20835         r=`${PWD_COMMAND}`; export r; \
20836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20837         $(SET_LIB_PATH) \
20838         AR="$(AR_FOR_TARGET)"; export AR; \
20839         AS="$(AS_FOR_TARGET)"; export AS; \
20840         CC="$(CC_FOR_TARGET)"; export CC; \
20841         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20842         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20843         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20844         CXX="$(CXX_FOR_TARGET)"; export CXX; \
20845         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20846         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20847         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20848         LD="$(LD_FOR_TARGET)"; export LD; \
20849         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20850         NM="$(NM_FOR_TARGET)"; export NM; \
20851         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20852         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20853         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
20854         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
20855         case $(srcdir) in \
20856           /* | [A-Za-z]:[\\/]*) \
20857             topdir=$(srcdir) ;; \
20858           *) \
20859             case "$(TARGET_SUBDIR)" in \
20860               .) topdir="../$(srcdir)" ;; \
20861               *) topdir="../../$(srcdir)" ;; \
20862             esac ;; \
20863         esac; \
20864           srcdiroption="--srcdir=$${topdir}/libiberty"; \
20865           libsrcdir="$$s/libiberty"; \
20866         rm -f no-such-file || : ; \
20867         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20868           $(TARGET_CONFIGARGS) $${srcdiroption} \
20869           --with-target-subdir="$(TARGET_SUBDIR)" \
20870           || exit 1
20871
20872 .PHONY: all-target-libiberty maybe-all-target-libiberty
20873 maybe-all-target-libiberty:
20874 all-target-libiberty: configure-target-libiberty
20875         @r=`${PWD_COMMAND}`; export r; \
20876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20877         $(SET_LIB_PATH) \
20878         (cd $(TARGET_SUBDIR)/libiberty && \
20879           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
20880
20881 .PHONY: check-target-libiberty maybe-check-target-libiberty
20882 maybe-check-target-libiberty:
20883
20884 check-target-libiberty:
20885         @r=`${PWD_COMMAND}`; export r; \
20886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887         $(SET_LIB_PATH) \
20888         (cd $(TARGET_SUBDIR)/libiberty && \
20889           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
20890
20891
20892 .PHONY: install-target-libiberty maybe-install-target-libiberty
20893 maybe-install-target-libiberty:
20894
20895 install-target-libiberty: installdirs
20896         @r=`${PWD_COMMAND}`; export r; \
20897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20898         $(SET_LIB_PATH) \
20899         (cd $(TARGET_SUBDIR)/libiberty && \
20900           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20901
20902
20903 # Other targets (info, dvi, etc.)
20904
20905 .PHONY: maybe-info-target-libiberty info-target-libiberty
20906 maybe-info-target-libiberty:
20907
20908 info-target-libiberty: \
20909     configure-target-libiberty 
20910         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20911         r=`${PWD_COMMAND}`; export r; \
20912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20913         $(SET_LIB_PATH) \
20914         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
20915         for flag in $(EXTRA_TARGET_FLAGS); do \
20916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20917         done; \
20918         (cd $(TARGET_SUBDIR)/libiberty && \
20919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20921                   "RANLIB=$${RANLIB}" \
20922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20923                   info) \
20924           || exit 1
20925
20926
20927 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
20928 maybe-dvi-target-libiberty:
20929
20930 dvi-target-libiberty: \
20931     configure-target-libiberty 
20932         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20933         r=`${PWD_COMMAND}`; export r; \
20934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935         $(SET_LIB_PATH) \
20936         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
20937         for flag in $(EXTRA_TARGET_FLAGS); do \
20938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20939         done; \
20940         (cd $(TARGET_SUBDIR)/libiberty && \
20941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20943                   "RANLIB=$${RANLIB}" \
20944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20945                   dvi) \
20946           || exit 1
20947
20948
20949 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
20950 maybe-TAGS-target-libiberty:
20951
20952 TAGS-target-libiberty: \
20953     configure-target-libiberty 
20954         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20955         r=`${PWD_COMMAND}`; export r; \
20956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957         $(SET_LIB_PATH) \
20958         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
20959         for flag in $(EXTRA_TARGET_FLAGS); do \
20960           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961         done; \
20962         (cd $(TARGET_SUBDIR)/libiberty && \
20963           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965                   "RANLIB=$${RANLIB}" \
20966                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20967                   TAGS) \
20968           || exit 1
20969
20970
20971 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
20972 maybe-install-info-target-libiberty:
20973
20974 install-info-target-libiberty: \
20975     configure-target-libiberty \
20976     info-target-libiberty 
20977         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20978         r=`${PWD_COMMAND}`; export r; \
20979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20980         $(SET_LIB_PATH) \
20981         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
20982         for flag in $(EXTRA_TARGET_FLAGS); do \
20983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984         done; \
20985         (cd $(TARGET_SUBDIR)/libiberty && \
20986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20988                   "RANLIB=$${RANLIB}" \
20989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20990                   install-info) \
20991           || exit 1
20992
20993
20994 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
20995 maybe-installcheck-target-libiberty:
20996
20997 installcheck-target-libiberty: \
20998     configure-target-libiberty 
20999         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21000         r=`${PWD_COMMAND}`; export r; \
21001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21002         $(SET_LIB_PATH) \
21003         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
21004         for flag in $(EXTRA_TARGET_FLAGS); do \
21005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006         done; \
21007         (cd $(TARGET_SUBDIR)/libiberty && \
21008           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21009                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21010                   "RANLIB=$${RANLIB}" \
21011                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21012                   installcheck) \
21013           || exit 1
21014
21015
21016 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
21017 maybe-mostlyclean-target-libiberty:
21018
21019 mostlyclean-target-libiberty: 
21020         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21021         r=`${PWD_COMMAND}`; export r; \
21022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023         $(SET_LIB_PATH) \
21024         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
21025         for flag in $(EXTRA_TARGET_FLAGS); do \
21026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21027         done; \
21028         (cd $(TARGET_SUBDIR)/libiberty && \
21029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031                   "RANLIB=$${RANLIB}" \
21032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21033                   mostlyclean) \
21034           || exit 1
21035
21036
21037 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
21038 maybe-clean-target-libiberty:
21039
21040 clean-target-libiberty: 
21041         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21042         r=`${PWD_COMMAND}`; export r; \
21043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21044         $(SET_LIB_PATH) \
21045         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
21046         for flag in $(EXTRA_TARGET_FLAGS); do \
21047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21048         done; \
21049         (cd $(TARGET_SUBDIR)/libiberty && \
21050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21052                   "RANLIB=$${RANLIB}" \
21053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21054                   clean) \
21055           || exit 1
21056
21057
21058 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
21059 maybe-distclean-target-libiberty:
21060
21061 distclean-target-libiberty: 
21062         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21063         r=`${PWD_COMMAND}`; export r; \
21064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065         $(SET_LIB_PATH) \
21066         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
21067         for flag in $(EXTRA_TARGET_FLAGS); do \
21068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21069         done; \
21070         (cd $(TARGET_SUBDIR)/libiberty && \
21071           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21072                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21073                   "RANLIB=$${RANLIB}" \
21074                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21075                   distclean) \
21076           || exit 1
21077
21078
21079 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
21080 maybe-maintainer-clean-target-libiberty:
21081
21082 maintainer-clean-target-libiberty: 
21083         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21084         r=`${PWD_COMMAND}`; export r; \
21085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21086         $(SET_LIB_PATH) \
21087         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
21088         for flag in $(EXTRA_TARGET_FLAGS); do \
21089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21090         done; \
21091         (cd $(TARGET_SUBDIR)/libiberty && \
21092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21094                   "RANLIB=$${RANLIB}" \
21095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21096                   maintainer-clean) \
21097           || exit 1
21098
21099
21100
21101 .PHONY: configure-target-gperf maybe-configure-target-gperf
21102 maybe-configure-target-gperf:
21103
21104 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21105 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
21106         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21107         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
21108         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
21109
21110 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
21111         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
21112         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21113         r=`${PWD_COMMAND}`; export r; \
21114         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115         $(SET_LIB_PATH) \
21116         AR="$(AR_FOR_TARGET)"; export AR; \
21117         AS="$(AS_FOR_TARGET)"; export AS; \
21118         CC="$(CC_FOR_TARGET)"; export CC; \
21119         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21120         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21121         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21122         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21123         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21124         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21125         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21126         LD="$(LD_FOR_TARGET)"; export LD; \
21127         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21128         NM="$(NM_FOR_TARGET)"; export NM; \
21129         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21130         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21131         echo Configuring in $(TARGET_SUBDIR)/gperf; \
21132         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
21133         case $(srcdir) in \
21134           /* | [A-Za-z]:[\\/]*) \
21135             topdir=$(srcdir) ;; \
21136           *) \
21137             case "$(TARGET_SUBDIR)" in \
21138               .) topdir="../$(srcdir)" ;; \
21139               *) topdir="../../$(srcdir)" ;; \
21140             esac ;; \
21141         esac; \
21142           srcdiroption="--srcdir=$${topdir}/gperf"; \
21143           libsrcdir="$$s/gperf"; \
21144         rm -f no-such-file || : ; \
21145         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21146           $(TARGET_CONFIGARGS) $${srcdiroption} \
21147           --with-target-subdir="$(TARGET_SUBDIR)" \
21148           || exit 1
21149
21150 .PHONY: all-target-gperf maybe-all-target-gperf
21151 maybe-all-target-gperf:
21152 all-target-gperf: configure-target-gperf
21153         @r=`${PWD_COMMAND}`; export r; \
21154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21155         $(SET_LIB_PATH) \
21156         (cd $(TARGET_SUBDIR)/gperf && \
21157           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21158
21159 .PHONY: check-target-gperf maybe-check-target-gperf
21160 maybe-check-target-gperf:
21161
21162 check-target-gperf:
21163         @r=`${PWD_COMMAND}`; export r; \
21164         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165         $(SET_LIB_PATH) \
21166         (cd $(TARGET_SUBDIR)/gperf && \
21167           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
21168
21169
21170 .PHONY: install-target-gperf maybe-install-target-gperf
21171 maybe-install-target-gperf:
21172
21173 install-target-gperf: installdirs
21174         @r=`${PWD_COMMAND}`; export r; \
21175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21176         $(SET_LIB_PATH) \
21177         (cd $(TARGET_SUBDIR)/gperf && \
21178           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21179
21180
21181 # Other targets (info, dvi, etc.)
21182
21183 .PHONY: maybe-info-target-gperf info-target-gperf
21184 maybe-info-target-gperf:
21185
21186 info-target-gperf: \
21187     configure-target-gperf 
21188         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21189         r=`${PWD_COMMAND}`; export r; \
21190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21191         $(SET_LIB_PATH) \
21192         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
21193         for flag in $(EXTRA_TARGET_FLAGS); do \
21194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21195         done; \
21196         (cd $(TARGET_SUBDIR)/gperf && \
21197           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21198                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21199                   "RANLIB=$${RANLIB}" \
21200                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21201                   info) \
21202           || exit 1
21203
21204
21205 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
21206 maybe-dvi-target-gperf:
21207
21208 dvi-target-gperf: \
21209     configure-target-gperf 
21210         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21211         r=`${PWD_COMMAND}`; export r; \
21212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21213         $(SET_LIB_PATH) \
21214         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
21215         for flag in $(EXTRA_TARGET_FLAGS); do \
21216           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21217         done; \
21218         (cd $(TARGET_SUBDIR)/gperf && \
21219           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21220                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21221                   "RANLIB=$${RANLIB}" \
21222                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21223                   dvi) \
21224           || exit 1
21225
21226
21227 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
21228 maybe-TAGS-target-gperf:
21229
21230 TAGS-target-gperf: \
21231     configure-target-gperf 
21232         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21233         r=`${PWD_COMMAND}`; export r; \
21234         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21235         $(SET_LIB_PATH) \
21236         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
21237         for flag in $(EXTRA_TARGET_FLAGS); do \
21238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21239         done; \
21240         (cd $(TARGET_SUBDIR)/gperf && \
21241           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21242                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21243                   "RANLIB=$${RANLIB}" \
21244                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21245                   TAGS) \
21246           || exit 1
21247
21248
21249 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
21250 maybe-install-info-target-gperf:
21251
21252 install-info-target-gperf: \
21253     configure-target-gperf \
21254     info-target-gperf 
21255         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21256         r=`${PWD_COMMAND}`; export r; \
21257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258         $(SET_LIB_PATH) \
21259         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
21260         for flag in $(EXTRA_TARGET_FLAGS); do \
21261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21262         done; \
21263         (cd $(TARGET_SUBDIR)/gperf && \
21264           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21265                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21266                   "RANLIB=$${RANLIB}" \
21267                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21268                   install-info) \
21269           || exit 1
21270
21271
21272 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
21273 maybe-installcheck-target-gperf:
21274
21275 installcheck-target-gperf: \
21276     configure-target-gperf 
21277         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21278         r=`${PWD_COMMAND}`; export r; \
21279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21280         $(SET_LIB_PATH) \
21281         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
21282         for flag in $(EXTRA_TARGET_FLAGS); do \
21283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21284         done; \
21285         (cd $(TARGET_SUBDIR)/gperf && \
21286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288                   "RANLIB=$${RANLIB}" \
21289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21290                   installcheck) \
21291           || exit 1
21292
21293
21294 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
21295 maybe-mostlyclean-target-gperf:
21296
21297 mostlyclean-target-gperf: 
21298         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21299         r=`${PWD_COMMAND}`; export r; \
21300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301         $(SET_LIB_PATH) \
21302         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
21303         for flag in $(EXTRA_TARGET_FLAGS); do \
21304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305         done; \
21306         (cd $(TARGET_SUBDIR)/gperf && \
21307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309                   "RANLIB=$${RANLIB}" \
21310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311                   mostlyclean) \
21312           || exit 1
21313
21314
21315 .PHONY: maybe-clean-target-gperf clean-target-gperf
21316 maybe-clean-target-gperf:
21317
21318 clean-target-gperf: 
21319         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21320         r=`${PWD_COMMAND}`; export r; \
21321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21322         $(SET_LIB_PATH) \
21323         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
21324         for flag in $(EXTRA_TARGET_FLAGS); do \
21325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21326         done; \
21327         (cd $(TARGET_SUBDIR)/gperf && \
21328           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21329                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21330                   "RANLIB=$${RANLIB}" \
21331                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21332                   clean) \
21333           || exit 1
21334
21335
21336 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
21337 maybe-distclean-target-gperf:
21338
21339 distclean-target-gperf: 
21340         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21341         r=`${PWD_COMMAND}`; export r; \
21342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21343         $(SET_LIB_PATH) \
21344         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
21345         for flag in $(EXTRA_TARGET_FLAGS); do \
21346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21347         done; \
21348         (cd $(TARGET_SUBDIR)/gperf && \
21349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351                   "RANLIB=$${RANLIB}" \
21352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21353                   distclean) \
21354           || exit 1
21355
21356
21357 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
21358 maybe-maintainer-clean-target-gperf:
21359
21360 maintainer-clean-target-gperf: 
21361         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21362         r=`${PWD_COMMAND}`; export r; \
21363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364         $(SET_LIB_PATH) \
21365         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
21366         for flag in $(EXTRA_TARGET_FLAGS); do \
21367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21368         done; \
21369         (cd $(TARGET_SUBDIR)/gperf && \
21370           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372                   "RANLIB=$${RANLIB}" \
21373                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374                   maintainer-clean) \
21375           || exit 1
21376
21377
21378
21379 .PHONY: configure-target-examples maybe-configure-target-examples
21380 maybe-configure-target-examples:
21381
21382 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21383 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
21384         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21385         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
21386         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
21387
21388 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
21389         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
21390         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21391         r=`${PWD_COMMAND}`; export r; \
21392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393         $(SET_LIB_PATH) \
21394         AR="$(AR_FOR_TARGET)"; export AR; \
21395         AS="$(AS_FOR_TARGET)"; export AS; \
21396         CC="$(CC_FOR_TARGET)"; export CC; \
21397         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21398         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21399         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21400         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21401         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21402         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21403         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21404         LD="$(LD_FOR_TARGET)"; export LD; \
21405         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21406         NM="$(NM_FOR_TARGET)"; export NM; \
21407         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21408         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21409         echo Configuring in $(TARGET_SUBDIR)/examples; \
21410         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
21411         case $(srcdir) in \
21412           /* | [A-Za-z]:[\\/]*) \
21413             topdir=$(srcdir) ;; \
21414           *) \
21415             case "$(TARGET_SUBDIR)" in \
21416               .) topdir="../$(srcdir)" ;; \
21417               *) topdir="../../$(srcdir)" ;; \
21418             esac ;; \
21419         esac; \
21420           srcdiroption="--srcdir=$${topdir}/examples"; \
21421           libsrcdir="$$s/examples"; \
21422         rm -f no-such-file || : ; \
21423         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21424           $(TARGET_CONFIGARGS) $${srcdiroption} \
21425           --with-target-subdir="$(TARGET_SUBDIR)" \
21426           || exit 1
21427
21428 .PHONY: all-target-examples maybe-all-target-examples
21429 maybe-all-target-examples:
21430 all-target-examples: configure-target-examples
21431         @r=`${PWD_COMMAND}`; export r; \
21432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433         $(SET_LIB_PATH) \
21434         (cd $(TARGET_SUBDIR)/examples && \
21435           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21436
21437 .PHONY: check-target-examples maybe-check-target-examples
21438 maybe-check-target-examples:
21439
21440 # Dummy target for uncheckable module.
21441 check-target-examples:
21442
21443
21444 .PHONY: install-target-examples maybe-install-target-examples
21445 maybe-install-target-examples:
21446
21447 # Dummy target for uninstallable.
21448 install-target-examples:
21449
21450
21451 # Other targets (info, dvi, etc.)
21452
21453 .PHONY: maybe-info-target-examples info-target-examples
21454 maybe-info-target-examples:
21455
21456 info-target-examples: \
21457     configure-target-examples 
21458         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21459         r=`${PWD_COMMAND}`; export r; \
21460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461         $(SET_LIB_PATH) \
21462         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
21463         for flag in $(EXTRA_TARGET_FLAGS); do \
21464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21465         done; \
21466         (cd $(TARGET_SUBDIR)/examples && \
21467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469                   "RANLIB=$${RANLIB}" \
21470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21471                   info) \
21472           || exit 1
21473
21474
21475 .PHONY: maybe-dvi-target-examples dvi-target-examples
21476 maybe-dvi-target-examples:
21477
21478 dvi-target-examples: \
21479     configure-target-examples 
21480         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21481         r=`${PWD_COMMAND}`; export r; \
21482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21483         $(SET_LIB_PATH) \
21484         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
21485         for flag in $(EXTRA_TARGET_FLAGS); do \
21486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21487         done; \
21488         (cd $(TARGET_SUBDIR)/examples && \
21489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491                   "RANLIB=$${RANLIB}" \
21492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21493                   dvi) \
21494           || exit 1
21495
21496
21497 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
21498 maybe-TAGS-target-examples:
21499
21500 TAGS-target-examples: \
21501     configure-target-examples 
21502         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21503         r=`${PWD_COMMAND}`; export r; \
21504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505         $(SET_LIB_PATH) \
21506         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
21507         for flag in $(EXTRA_TARGET_FLAGS); do \
21508           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509         done; \
21510         (cd $(TARGET_SUBDIR)/examples && \
21511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21513                   "RANLIB=$${RANLIB}" \
21514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21515                   TAGS) \
21516           || exit 1
21517
21518
21519 .PHONY: maybe-install-info-target-examples install-info-target-examples
21520 maybe-install-info-target-examples:
21521
21522 install-info-target-examples: \
21523     configure-target-examples \
21524     info-target-examples 
21525         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21526         r=`${PWD_COMMAND}`; export r; \
21527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528         $(SET_LIB_PATH) \
21529         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
21530         for flag in $(EXTRA_TARGET_FLAGS); do \
21531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21532         done; \
21533         (cd $(TARGET_SUBDIR)/examples && \
21534           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21535                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21536                   "RANLIB=$${RANLIB}" \
21537                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21538                   install-info) \
21539           || exit 1
21540
21541
21542 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
21543 maybe-installcheck-target-examples:
21544
21545 installcheck-target-examples: \
21546     configure-target-examples 
21547         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21548         r=`${PWD_COMMAND}`; export r; \
21549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21550         $(SET_LIB_PATH) \
21551         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
21552         for flag in $(EXTRA_TARGET_FLAGS); do \
21553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21554         done; \
21555         (cd $(TARGET_SUBDIR)/examples && \
21556           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558                   "RANLIB=$${RANLIB}" \
21559                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21560                   installcheck) \
21561           || exit 1
21562
21563
21564 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
21565 maybe-mostlyclean-target-examples:
21566
21567 mostlyclean-target-examples: 
21568         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21569         r=`${PWD_COMMAND}`; export r; \
21570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571         $(SET_LIB_PATH) \
21572         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
21573         for flag in $(EXTRA_TARGET_FLAGS); do \
21574           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21575         done; \
21576         (cd $(TARGET_SUBDIR)/examples && \
21577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21579                   "RANLIB=$${RANLIB}" \
21580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21581                   mostlyclean) \
21582           || exit 1
21583
21584
21585 .PHONY: maybe-clean-target-examples clean-target-examples
21586 maybe-clean-target-examples:
21587
21588 clean-target-examples: 
21589         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21590         r=`${PWD_COMMAND}`; export r; \
21591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21592         $(SET_LIB_PATH) \
21593         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
21594         for flag in $(EXTRA_TARGET_FLAGS); do \
21595           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21596         done; \
21597         (cd $(TARGET_SUBDIR)/examples && \
21598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21600                   "RANLIB=$${RANLIB}" \
21601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21602                   clean) \
21603           || exit 1
21604
21605
21606 .PHONY: maybe-distclean-target-examples distclean-target-examples
21607 maybe-distclean-target-examples:
21608
21609 distclean-target-examples: 
21610         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21611         r=`${PWD_COMMAND}`; export r; \
21612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21613         $(SET_LIB_PATH) \
21614         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
21615         for flag in $(EXTRA_TARGET_FLAGS); do \
21616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617         done; \
21618         (cd $(TARGET_SUBDIR)/examples && \
21619           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21620                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21621                   "RANLIB=$${RANLIB}" \
21622                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21623                   distclean) \
21624           || exit 1
21625
21626
21627 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
21628 maybe-maintainer-clean-target-examples:
21629
21630 maintainer-clean-target-examples: 
21631         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21632         r=`${PWD_COMMAND}`; export r; \
21633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21634         $(SET_LIB_PATH) \
21635         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
21636         for flag in $(EXTRA_TARGET_FLAGS); do \
21637           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21638         done; \
21639         (cd $(TARGET_SUBDIR)/examples && \
21640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21642                   "RANLIB=$${RANLIB}" \
21643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21644                   maintainer-clean) \
21645           || exit 1
21646
21647
21648
21649 .PHONY: configure-target-libffi maybe-configure-target-libffi
21650 maybe-configure-target-libffi:
21651
21652 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21653 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
21654         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21655         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
21656         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
21657
21658 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
21659         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
21660         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21661         r=`${PWD_COMMAND}`; export r; \
21662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663         $(SET_LIB_PATH) \
21664         AR="$(AR_FOR_TARGET)"; export AR; \
21665         AS="$(AS_FOR_TARGET)"; export AS; \
21666         CC="$(CC_FOR_TARGET)"; export CC; \
21667         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21668         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21669         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21670         CXX="$(CXX_FOR_TARGET)"; export CXX; \
21671         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21672         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21673         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21674         LD="$(LD_FOR_TARGET)"; export LD; \
21675         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21676         NM="$(NM_FOR_TARGET)"; export NM; \
21677         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21678         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21679         echo Configuring in $(TARGET_SUBDIR)/libffi; \
21680         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
21681         case $(srcdir) in \
21682           /* | [A-Za-z]:[\\/]*) \
21683             topdir=$(srcdir) ;; \
21684           *) \
21685             case "$(TARGET_SUBDIR)" in \
21686               .) topdir="../$(srcdir)" ;; \
21687               *) topdir="../../$(srcdir)" ;; \
21688             esac ;; \
21689         esac; \
21690           srcdiroption="--srcdir=$${topdir}/libffi"; \
21691           libsrcdir="$$s/libffi"; \
21692         rm -f no-such-file || : ; \
21693         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21694           $(TARGET_CONFIGARGS) $${srcdiroption} \
21695           --with-target-subdir="$(TARGET_SUBDIR)" \
21696           || exit 1
21697
21698 .PHONY: all-target-libffi maybe-all-target-libffi
21699 maybe-all-target-libffi:
21700 all-target-libffi: configure-target-libffi
21701         @r=`${PWD_COMMAND}`; export r; \
21702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703         $(SET_LIB_PATH) \
21704         (cd $(TARGET_SUBDIR)/libffi && \
21705           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
21706
21707 .PHONY: check-target-libffi maybe-check-target-libffi
21708 maybe-check-target-libffi:
21709
21710 check-target-libffi:
21711         @r=`${PWD_COMMAND}`; export r; \
21712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21713         $(SET_LIB_PATH) \
21714         (cd $(TARGET_SUBDIR)/libffi && \
21715           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
21716
21717
21718 .PHONY: install-target-libffi maybe-install-target-libffi
21719 maybe-install-target-libffi:
21720
21721 install-target-libffi: installdirs
21722         @r=`${PWD_COMMAND}`; export r; \
21723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21724         $(SET_LIB_PATH) \
21725         (cd $(TARGET_SUBDIR)/libffi && \
21726           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21727
21728
21729 # Other targets (info, dvi, etc.)
21730
21731 .PHONY: maybe-info-target-libffi info-target-libffi
21732 maybe-info-target-libffi:
21733
21734 info-target-libffi: \
21735     configure-target-libffi 
21736         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21737         r=`${PWD_COMMAND}`; export r; \
21738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739         $(SET_LIB_PATH) \
21740         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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                   info) \
21750           || exit 1
21751
21752
21753 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
21754 maybe-dvi-target-libffi:
21755
21756 dvi-target-libffi: \
21757     configure-target-libffi 
21758         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21759         r=`${PWD_COMMAND}`; export r; \
21760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761         $(SET_LIB_PATH) \
21762         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
21763         for flag in $(EXTRA_TARGET_FLAGS); do \
21764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21765         done; \
21766         (cd $(TARGET_SUBDIR)/libffi && \
21767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21769                   "RANLIB=$${RANLIB}" \
21770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21771                   dvi) \
21772           || exit 1
21773
21774
21775 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
21776 maybe-TAGS-target-libffi:
21777
21778 TAGS-target-libffi: \
21779     configure-target-libffi 
21780         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21781         r=`${PWD_COMMAND}`; export r; \
21782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783         $(SET_LIB_PATH) \
21784         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
21785         for flag in $(EXTRA_TARGET_FLAGS); do \
21786           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21787         done; \
21788         (cd $(TARGET_SUBDIR)/libffi && \
21789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21791                   "RANLIB=$${RANLIB}" \
21792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21793                   TAGS) \
21794           || exit 1
21795
21796
21797 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
21798 maybe-install-info-target-libffi:
21799
21800 install-info-target-libffi: \
21801     configure-target-libffi \
21802     info-target-libffi 
21803         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21804         r=`${PWD_COMMAND}`; export r; \
21805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21806         $(SET_LIB_PATH) \
21807         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
21808         for flag in $(EXTRA_TARGET_FLAGS); do \
21809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21810         done; \
21811         (cd $(TARGET_SUBDIR)/libffi && \
21812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21814                   "RANLIB=$${RANLIB}" \
21815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21816                   install-info) \
21817           || exit 1
21818
21819
21820 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
21821 maybe-installcheck-target-libffi:
21822
21823 installcheck-target-libffi: \
21824     configure-target-libffi 
21825         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21826         r=`${PWD_COMMAND}`; export r; \
21827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21828         $(SET_LIB_PATH) \
21829         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
21830         for flag in $(EXTRA_TARGET_FLAGS); do \
21831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832         done; \
21833         (cd $(TARGET_SUBDIR)/libffi && \
21834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21836                   "RANLIB=$${RANLIB}" \
21837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21838                   installcheck) \
21839           || exit 1
21840
21841
21842 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
21843 maybe-mostlyclean-target-libffi:
21844
21845 mostlyclean-target-libffi: 
21846         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21847         r=`${PWD_COMMAND}`; export r; \
21848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849         $(SET_LIB_PATH) \
21850         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
21851         for flag in $(EXTRA_TARGET_FLAGS); do \
21852           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21853         done; \
21854         (cd $(TARGET_SUBDIR)/libffi && \
21855           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21856                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21857                   "RANLIB=$${RANLIB}" \
21858                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21859                   mostlyclean) \
21860           || exit 1
21861
21862
21863 .PHONY: maybe-clean-target-libffi clean-target-libffi
21864 maybe-clean-target-libffi:
21865
21866 clean-target-libffi: 
21867         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21868         r=`${PWD_COMMAND}`; export r; \
21869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870         $(SET_LIB_PATH) \
21871         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
21872         for flag in $(EXTRA_TARGET_FLAGS); do \
21873           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21874         done; \
21875         (cd $(TARGET_SUBDIR)/libffi && \
21876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878                   "RANLIB=$${RANLIB}" \
21879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21880                   clean) \
21881           || exit 1
21882
21883
21884 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
21885 maybe-distclean-target-libffi:
21886
21887 distclean-target-libffi: 
21888         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21889         r=`${PWD_COMMAND}`; export r; \
21890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21891         $(SET_LIB_PATH) \
21892         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
21893         for flag in $(EXTRA_TARGET_FLAGS); do \
21894           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21895         done; \
21896         (cd $(TARGET_SUBDIR)/libffi && \
21897           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899                   "RANLIB=$${RANLIB}" \
21900                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21901                   distclean) \
21902           || exit 1
21903
21904
21905 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
21906 maybe-maintainer-clean-target-libffi:
21907
21908 maintainer-clean-target-libffi: 
21909         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21910         r=`${PWD_COMMAND}`; export r; \
21911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21912         $(SET_LIB_PATH) \
21913         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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                   maintainer-clean) \
21923           || exit 1
21924
21925
21926
21927 .PHONY: configure-target-libjava maybe-configure-target-libjava
21928 maybe-configure-target-libjava:
21929
21930 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21931 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
21932         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21933         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
21934         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
21935
21936 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
21937         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
21938         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21939         r=`${PWD_COMMAND}`; export r; \
21940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941         $(SET_LIB_PATH) \
21942         AR="$(AR_FOR_TARGET)"; export AR; \
21943         AS="$(AS_FOR_TARGET)"; export AS; \
21944         CC="$(CC_FOR_TARGET)"; export CC; \
21945         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21946         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21947         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21948         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21949         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21950         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21951         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21952         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21953         LD="$(LD_FOR_TARGET)"; export LD; \
21954         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21955         NM="$(NM_FOR_TARGET)"; export NM; \
21956         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21957         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21958         echo Configuring in $(TARGET_SUBDIR)/libjava; \
21959         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
21960         case $(srcdir) in \
21961           /* | [A-Za-z]:[\\/]*) \
21962             topdir=$(srcdir) ;; \
21963           *) \
21964             case "$(TARGET_SUBDIR)" in \
21965               .) topdir="../$(srcdir)" ;; \
21966               *) topdir="../../$(srcdir)" ;; \
21967             esac ;; \
21968         esac; \
21969           srcdiroption="--srcdir=$${topdir}/libjava"; \
21970           libsrcdir="$$s/libjava"; \
21971         rm -f no-such-file || : ; \
21972         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21973           $(TARGET_CONFIGARGS) $${srcdiroption} \
21974           --with-target-subdir="$(TARGET_SUBDIR)" \
21975           || exit 1
21976
21977 .PHONY: all-target-libjava maybe-all-target-libjava
21978 maybe-all-target-libjava:
21979 all-target-libjava: configure-target-libjava
21980         @r=`${PWD_COMMAND}`; export r; \
21981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982         $(SET_LIB_PATH) \
21983         (cd $(TARGET_SUBDIR)/libjava && \
21984           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
21985
21986 .PHONY: check-target-libjava maybe-check-target-libjava
21987 maybe-check-target-libjava:
21988
21989 check-target-libjava:
21990         @r=`${PWD_COMMAND}`; export r; \
21991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21992         $(SET_LIB_PATH) \
21993         (cd $(TARGET_SUBDIR)/libjava && \
21994           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
21995
21996
21997 .PHONY: install-target-libjava maybe-install-target-libjava
21998 maybe-install-target-libjava:
21999
22000 install-target-libjava: installdirs
22001         @r=`${PWD_COMMAND}`; export r; \
22002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22003         $(SET_LIB_PATH) \
22004         (cd $(TARGET_SUBDIR)/libjava && \
22005           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22006
22007
22008 # Other targets (info, dvi, etc.)
22009
22010 .PHONY: maybe-info-target-libjava info-target-libjava
22011 maybe-info-target-libjava:
22012
22013 info-target-libjava: \
22014     configure-target-libjava 
22015         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22016         r=`${PWD_COMMAND}`; export r; \
22017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018         $(SET_LIB_PATH) \
22019         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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                   info) \
22029           || exit 1
22030
22031
22032 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
22033 maybe-dvi-target-libjava:
22034
22035 dvi-target-libjava: \
22036     configure-target-libjava 
22037         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22038         r=`${PWD_COMMAND}`; export r; \
22039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22040         $(SET_LIB_PATH) \
22041         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
22042         for flag in $(EXTRA_TARGET_FLAGS); do \
22043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22044         done; \
22045         (cd $(TARGET_SUBDIR)/libjava && \
22046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22048                   "RANLIB=$${RANLIB}" \
22049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22050                   dvi) \
22051           || exit 1
22052
22053
22054 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
22055 maybe-TAGS-target-libjava:
22056
22057 TAGS-target-libjava: \
22058     configure-target-libjava 
22059         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22060         r=`${PWD_COMMAND}`; export r; \
22061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062         $(SET_LIB_PATH) \
22063         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
22064         for flag in $(EXTRA_TARGET_FLAGS); do \
22065           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066         done; \
22067         (cd $(TARGET_SUBDIR)/libjava && \
22068           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22069                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22070                   "RANLIB=$${RANLIB}" \
22071                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22072                   TAGS) \
22073           || exit 1
22074
22075
22076 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
22077 maybe-install-info-target-libjava:
22078
22079 install-info-target-libjava: \
22080     configure-target-libjava \
22081     info-target-libjava 
22082         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22083         r=`${PWD_COMMAND}`; export r; \
22084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22085         $(SET_LIB_PATH) \
22086         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
22087         for flag in $(EXTRA_TARGET_FLAGS); do \
22088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22089         done; \
22090         (cd $(TARGET_SUBDIR)/libjava && \
22091           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22092                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22093                   "RANLIB=$${RANLIB}" \
22094                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22095                   install-info) \
22096           || exit 1
22097
22098
22099 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
22100 maybe-installcheck-target-libjava:
22101
22102 installcheck-target-libjava: \
22103     configure-target-libjava 
22104         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22105         r=`${PWD_COMMAND}`; export r; \
22106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107         $(SET_LIB_PATH) \
22108         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
22109         for flag in $(EXTRA_TARGET_FLAGS); do \
22110           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22111         done; \
22112         (cd $(TARGET_SUBDIR)/libjava && \
22113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22115                   "RANLIB=$${RANLIB}" \
22116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22117                   installcheck) \
22118           || exit 1
22119
22120
22121 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
22122 maybe-mostlyclean-target-libjava:
22123
22124 mostlyclean-target-libjava: 
22125         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22126         r=`${PWD_COMMAND}`; export r; \
22127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22128         $(SET_LIB_PATH) \
22129         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
22130         for flag in $(EXTRA_TARGET_FLAGS); do \
22131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132         done; \
22133         (cd $(TARGET_SUBDIR)/libjava && \
22134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22136                   "RANLIB=$${RANLIB}" \
22137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22138                   mostlyclean) \
22139           || exit 1
22140
22141
22142 .PHONY: maybe-clean-target-libjava clean-target-libjava
22143 maybe-clean-target-libjava:
22144
22145 clean-target-libjava: 
22146         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22147         r=`${PWD_COMMAND}`; export r; \
22148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22149         $(SET_LIB_PATH) \
22150         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
22151         for flag in $(EXTRA_TARGET_FLAGS); do \
22152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22153         done; \
22154         (cd $(TARGET_SUBDIR)/libjava && \
22155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157                   "RANLIB=$${RANLIB}" \
22158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22159                   clean) \
22160           || exit 1
22161
22162
22163 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
22164 maybe-distclean-target-libjava:
22165
22166 distclean-target-libjava: 
22167         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22168         r=`${PWD_COMMAND}`; export r; \
22169         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170         $(SET_LIB_PATH) \
22171         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
22172         for flag in $(EXTRA_TARGET_FLAGS); do \
22173           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22174         done; \
22175         (cd $(TARGET_SUBDIR)/libjava && \
22176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22178                   "RANLIB=$${RANLIB}" \
22179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22180                   distclean) \
22181           || exit 1
22182
22183
22184 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
22185 maybe-maintainer-clean-target-libjava:
22186
22187 maintainer-clean-target-libjava: 
22188         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22189         r=`${PWD_COMMAND}`; export r; \
22190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191         $(SET_LIB_PATH) \
22192         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
22193         for flag in $(EXTRA_TARGET_FLAGS); do \
22194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22195         done; \
22196         (cd $(TARGET_SUBDIR)/libjava && \
22197           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22198                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22199                   "RANLIB=$${RANLIB}" \
22200                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22201                   maintainer-clean) \
22202           || exit 1
22203
22204
22205
22206 .PHONY: configure-target-zlib maybe-configure-target-zlib
22207 maybe-configure-target-zlib:
22208
22209 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22210 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
22211         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22212         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
22213         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
22214
22215 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
22216         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
22217         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22218         r=`${PWD_COMMAND}`; export r; \
22219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22220         $(SET_LIB_PATH) \
22221         AR="$(AR_FOR_TARGET)"; export AR; \
22222         AS="$(AS_FOR_TARGET)"; export AS; \
22223         CC="$(CC_FOR_TARGET)"; export CC; \
22224         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22225         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22226         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22227         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22228         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22229         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22230         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22231         LD="$(LD_FOR_TARGET)"; export LD; \
22232         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22233         NM="$(NM_FOR_TARGET)"; export NM; \
22234         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22235         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22236         echo Configuring in $(TARGET_SUBDIR)/zlib; \
22237         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
22238         case $(srcdir) in \
22239           /* | [A-Za-z]:[\\/]*) \
22240             topdir=$(srcdir) ;; \
22241           *) \
22242             case "$(TARGET_SUBDIR)" in \
22243               .) topdir="../$(srcdir)" ;; \
22244               *) topdir="../../$(srcdir)" ;; \
22245             esac ;; \
22246         esac; \
22247         if [ "$(srcdir)" = "." ] ; then \
22248           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22249             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
22250               if [ -f Makefile ]; then \
22251                 if $(MAKE) distclean; then \
22252                   true; \
22253                 else \
22254                   exit 1; \
22255                 fi; \
22256               else \
22257                 true; \
22258               fi; \
22259             else \
22260               exit 1; \
22261             fi; \
22262           else \
22263             true; \
22264           fi; \
22265           srcdiroption="--srcdir=."; \
22266           libsrcdir="."; \
22267         else \
22268           srcdiroption="--srcdir=$${topdir}/zlib"; \
22269           libsrcdir="$$s/zlib"; \
22270         fi; \
22271         rm -f no-such-file || : ; \
22272         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22273           $(TARGET_CONFIGARGS) $${srcdiroption} \
22274           --with-target-subdir="$(TARGET_SUBDIR)" \
22275           || exit 1
22276
22277 .PHONY: all-target-zlib maybe-all-target-zlib
22278 maybe-all-target-zlib:
22279 all-target-zlib: configure-target-zlib
22280         @r=`${PWD_COMMAND}`; export r; \
22281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22282         $(SET_LIB_PATH) \
22283         (cd $(TARGET_SUBDIR)/zlib && \
22284           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22285
22286 .PHONY: check-target-zlib maybe-check-target-zlib
22287 maybe-check-target-zlib:
22288
22289 check-target-zlib:
22290         @r=`${PWD_COMMAND}`; export r; \
22291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292         $(SET_LIB_PATH) \
22293         (cd $(TARGET_SUBDIR)/zlib && \
22294           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22295
22296
22297 .PHONY: install-target-zlib maybe-install-target-zlib
22298 maybe-install-target-zlib:
22299
22300 install-target-zlib: installdirs
22301         @r=`${PWD_COMMAND}`; export r; \
22302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303         $(SET_LIB_PATH) \
22304         (cd $(TARGET_SUBDIR)/zlib && \
22305           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22306
22307
22308 # Other targets (info, dvi, etc.)
22309
22310 .PHONY: maybe-info-target-zlib info-target-zlib
22311 maybe-info-target-zlib:
22312
22313 info-target-zlib: \
22314     configure-target-zlib 
22315         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22316         r=`${PWD_COMMAND}`; export r; \
22317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318         $(SET_LIB_PATH) \
22319         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
22320         for flag in $(EXTRA_TARGET_FLAGS); do \
22321           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22322         done; \
22323         (cd $(TARGET_SUBDIR)/zlib && \
22324           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22325                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22326                   "RANLIB=$${RANLIB}" \
22327                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22328                   info) \
22329           || exit 1
22330
22331
22332 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
22333 maybe-dvi-target-zlib:
22334
22335 dvi-target-zlib: \
22336     configure-target-zlib 
22337         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22338         r=`${PWD_COMMAND}`; export r; \
22339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340         $(SET_LIB_PATH) \
22341         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
22342         for flag in $(EXTRA_TARGET_FLAGS); do \
22343           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344         done; \
22345         (cd $(TARGET_SUBDIR)/zlib && \
22346           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22347                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22348                   "RANLIB=$${RANLIB}" \
22349                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22350                   dvi) \
22351           || exit 1
22352
22353
22354 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
22355 maybe-TAGS-target-zlib:
22356
22357 TAGS-target-zlib: \
22358     configure-target-zlib 
22359         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22360         r=`${PWD_COMMAND}`; export r; \
22361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22362         $(SET_LIB_PATH) \
22363         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
22364         for flag in $(EXTRA_TARGET_FLAGS); do \
22365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22366         done; \
22367         (cd $(TARGET_SUBDIR)/zlib && \
22368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22370                   "RANLIB=$${RANLIB}" \
22371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22372                   TAGS) \
22373           || exit 1
22374
22375
22376 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
22377 maybe-install-info-target-zlib:
22378
22379 install-info-target-zlib: \
22380     configure-target-zlib \
22381     info-target-zlib 
22382         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22383         r=`${PWD_COMMAND}`; export r; \
22384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22385         $(SET_LIB_PATH) \
22386         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
22387         for flag in $(EXTRA_TARGET_FLAGS); do \
22388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22389         done; \
22390         (cd $(TARGET_SUBDIR)/zlib && \
22391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22393                   "RANLIB=$${RANLIB}" \
22394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22395                   install-info) \
22396           || exit 1
22397
22398
22399 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
22400 maybe-installcheck-target-zlib:
22401
22402 installcheck-target-zlib: \
22403     configure-target-zlib 
22404         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22405         r=`${PWD_COMMAND}`; export r; \
22406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407         $(SET_LIB_PATH) \
22408         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
22409         for flag in $(EXTRA_TARGET_FLAGS); do \
22410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22411         done; \
22412         (cd $(TARGET_SUBDIR)/zlib && \
22413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415                   "RANLIB=$${RANLIB}" \
22416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417                   installcheck) \
22418           || exit 1
22419
22420
22421 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
22422 maybe-mostlyclean-target-zlib:
22423
22424 mostlyclean-target-zlib: 
22425         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22426         r=`${PWD_COMMAND}`; export r; \
22427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428         $(SET_LIB_PATH) \
22429         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
22430         for flag in $(EXTRA_TARGET_FLAGS); do \
22431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22432         done; \
22433         (cd $(TARGET_SUBDIR)/zlib && \
22434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436                   "RANLIB=$${RANLIB}" \
22437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22438                   mostlyclean) \
22439           || exit 1
22440
22441
22442 .PHONY: maybe-clean-target-zlib clean-target-zlib
22443 maybe-clean-target-zlib:
22444
22445 clean-target-zlib: 
22446         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22447         r=`${PWD_COMMAND}`; export r; \
22448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22449         $(SET_LIB_PATH) \
22450         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
22451         for flag in $(EXTRA_TARGET_FLAGS); do \
22452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22453         done; \
22454         (cd $(TARGET_SUBDIR)/zlib && \
22455           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22456                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22457                   "RANLIB=$${RANLIB}" \
22458                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22459                   clean) \
22460           || exit 1
22461
22462
22463 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
22464 maybe-distclean-target-zlib:
22465
22466 distclean-target-zlib: 
22467         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22468         r=`${PWD_COMMAND}`; export r; \
22469         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470         $(SET_LIB_PATH) \
22471         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
22472         for flag in $(EXTRA_TARGET_FLAGS); do \
22473           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22474         done; \
22475         (cd $(TARGET_SUBDIR)/zlib && \
22476           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478                   "RANLIB=$${RANLIB}" \
22479                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22480                   distclean) \
22481           || exit 1
22482
22483
22484 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
22485 maybe-maintainer-clean-target-zlib:
22486
22487 maintainer-clean-target-zlib: 
22488         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22489         r=`${PWD_COMMAND}`; export r; \
22490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491         $(SET_LIB_PATH) \
22492         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
22493         for flag in $(EXTRA_TARGET_FLAGS); do \
22494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495         done; \
22496         (cd $(TARGET_SUBDIR)/zlib && \
22497           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499                   "RANLIB=$${RANLIB}" \
22500                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22501                   maintainer-clean) \
22502           || exit 1
22503
22504
22505
22506 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
22507 maybe-configure-target-boehm-gc:
22508
22509 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22510 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
22511         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22512         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
22513         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
22514
22515 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
22516         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
22517         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22518         r=`${PWD_COMMAND}`; export r; \
22519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520         $(SET_LIB_PATH) \
22521         AR="$(AR_FOR_TARGET)"; export AR; \
22522         AS="$(AS_FOR_TARGET)"; export AS; \
22523         CC="$(CC_FOR_TARGET)"; export CC; \
22524         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22525         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22526         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22527         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22528         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22529         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22530         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22531         LD="$(LD_FOR_TARGET)"; export LD; \
22532         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22533         NM="$(NM_FOR_TARGET)"; export NM; \
22534         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22535         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22536         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
22537         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
22538         case $(srcdir) in \
22539           /* | [A-Za-z]:[\\/]*) \
22540             topdir=$(srcdir) ;; \
22541           *) \
22542             case "$(TARGET_SUBDIR)" in \
22543               .) topdir="../$(srcdir)" ;; \
22544               *) topdir="../../$(srcdir)" ;; \
22545             esac ;; \
22546         esac; \
22547           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
22548           libsrcdir="$$s/boehm-gc"; \
22549         rm -f no-such-file || : ; \
22550         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22551           $(TARGET_CONFIGARGS) $${srcdiroption} \
22552           --with-target-subdir="$(TARGET_SUBDIR)" \
22553           || exit 1
22554
22555 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
22556 maybe-all-target-boehm-gc:
22557 all-target-boehm-gc: configure-target-boehm-gc
22558         @r=`${PWD_COMMAND}`; export r; \
22559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560         $(SET_LIB_PATH) \
22561         (cd $(TARGET_SUBDIR)/boehm-gc && \
22562           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22563
22564 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
22565 maybe-check-target-boehm-gc:
22566
22567 check-target-boehm-gc:
22568         @r=`${PWD_COMMAND}`; export r; \
22569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570         $(SET_LIB_PATH) \
22571         (cd $(TARGET_SUBDIR)/boehm-gc && \
22572           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22573
22574
22575 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
22576 maybe-install-target-boehm-gc:
22577
22578 install-target-boehm-gc: installdirs
22579         @r=`${PWD_COMMAND}`; export r; \
22580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22581         $(SET_LIB_PATH) \
22582         (cd $(TARGET_SUBDIR)/boehm-gc && \
22583           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22584
22585
22586 # Other targets (info, dvi, etc.)
22587
22588 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
22589 maybe-info-target-boehm-gc:
22590
22591 info-target-boehm-gc: \
22592     configure-target-boehm-gc 
22593         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22594         r=`${PWD_COMMAND}`; export r; \
22595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596         $(SET_LIB_PATH) \
22597         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
22598         for flag in $(EXTRA_TARGET_FLAGS); do \
22599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22600         done; \
22601         (cd $(TARGET_SUBDIR)/boehm-gc && \
22602           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604                   "RANLIB=$${RANLIB}" \
22605                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22606                   info) \
22607           || exit 1
22608
22609
22610 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
22611 maybe-dvi-target-boehm-gc:
22612
22613 dvi-target-boehm-gc: \
22614     configure-target-boehm-gc 
22615         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22616         r=`${PWD_COMMAND}`; export r; \
22617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618         $(SET_LIB_PATH) \
22619         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
22620         for flag in $(EXTRA_TARGET_FLAGS); do \
22621           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22622         done; \
22623         (cd $(TARGET_SUBDIR)/boehm-gc && \
22624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22626                   "RANLIB=$${RANLIB}" \
22627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22628                   dvi) \
22629           || exit 1
22630
22631
22632 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
22633 maybe-TAGS-target-boehm-gc:
22634
22635 TAGS-target-boehm-gc: \
22636     configure-target-boehm-gc 
22637         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22638         r=`${PWD_COMMAND}`; export r; \
22639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640         $(SET_LIB_PATH) \
22641         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
22642         for flag in $(EXTRA_TARGET_FLAGS); do \
22643           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22644         done; \
22645         (cd $(TARGET_SUBDIR)/boehm-gc && \
22646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22648                   "RANLIB=$${RANLIB}" \
22649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22650                   TAGS) \
22651           || exit 1
22652
22653
22654 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
22655 maybe-install-info-target-boehm-gc:
22656
22657 install-info-target-boehm-gc: \
22658     configure-target-boehm-gc \
22659     info-target-boehm-gc 
22660         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22661         r=`${PWD_COMMAND}`; export r; \
22662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663         $(SET_LIB_PATH) \
22664         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
22665         for flag in $(EXTRA_TARGET_FLAGS); do \
22666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22667         done; \
22668         (cd $(TARGET_SUBDIR)/boehm-gc && \
22669           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22670                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22671                   "RANLIB=$${RANLIB}" \
22672                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22673                   install-info) \
22674           || exit 1
22675
22676
22677 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
22678 maybe-installcheck-target-boehm-gc:
22679
22680 installcheck-target-boehm-gc: \
22681     configure-target-boehm-gc 
22682         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22683         r=`${PWD_COMMAND}`; export r; \
22684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22685         $(SET_LIB_PATH) \
22686         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
22687         for flag in $(EXTRA_TARGET_FLAGS); do \
22688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22689         done; \
22690         (cd $(TARGET_SUBDIR)/boehm-gc && \
22691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22693                   "RANLIB=$${RANLIB}" \
22694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22695                   installcheck) \
22696           || exit 1
22697
22698
22699 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
22700 maybe-mostlyclean-target-boehm-gc:
22701
22702 mostlyclean-target-boehm-gc: 
22703         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22704         r=`${PWD_COMMAND}`; export r; \
22705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706         $(SET_LIB_PATH) \
22707         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22708         for flag in $(EXTRA_TARGET_FLAGS); do \
22709           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22710         done; \
22711         (cd $(TARGET_SUBDIR)/boehm-gc && \
22712           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22713                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22714                   "RANLIB=$${RANLIB}" \
22715                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22716                   mostlyclean) \
22717           || exit 1
22718
22719
22720 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
22721 maybe-clean-target-boehm-gc:
22722
22723 clean-target-boehm-gc: 
22724         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22725         r=`${PWD_COMMAND}`; export r; \
22726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22727         $(SET_LIB_PATH) \
22728         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
22729         for flag in $(EXTRA_TARGET_FLAGS); do \
22730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22731         done; \
22732         (cd $(TARGET_SUBDIR)/boehm-gc && \
22733           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22734                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22735                   "RANLIB=$${RANLIB}" \
22736                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22737                   clean) \
22738           || exit 1
22739
22740
22741 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
22742 maybe-distclean-target-boehm-gc:
22743
22744 distclean-target-boehm-gc: 
22745         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22746         r=`${PWD_COMMAND}`; export r; \
22747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22748         $(SET_LIB_PATH) \
22749         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22750         for flag in $(EXTRA_TARGET_FLAGS); do \
22751           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22752         done; \
22753         (cd $(TARGET_SUBDIR)/boehm-gc && \
22754           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22755                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22756                   "RANLIB=$${RANLIB}" \
22757                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22758                   distclean) \
22759           || exit 1
22760
22761
22762 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
22763 maybe-maintainer-clean-target-boehm-gc:
22764
22765 maintainer-clean-target-boehm-gc: 
22766         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22767         r=`${PWD_COMMAND}`; export r; \
22768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769         $(SET_LIB_PATH) \
22770         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
22771         for flag in $(EXTRA_TARGET_FLAGS); do \
22772           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773         done; \
22774         (cd $(TARGET_SUBDIR)/boehm-gc && \
22775           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22776                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22777                   "RANLIB=$${RANLIB}" \
22778                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22779                   maintainer-clean) \
22780           || exit 1
22781
22782
22783
22784 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
22785 maybe-configure-target-qthreads:
22786
22787 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22788 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
22789         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22790         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
22791         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
22792
22793 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
22794         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
22795         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22796         r=`${PWD_COMMAND}`; export r; \
22797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798         $(SET_LIB_PATH) \
22799         AR="$(AR_FOR_TARGET)"; export AR; \
22800         AS="$(AS_FOR_TARGET)"; export AS; \
22801         CC="$(CC_FOR_TARGET)"; export CC; \
22802         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22803         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22804         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22805         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22806         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22807         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22808         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22809         LD="$(LD_FOR_TARGET)"; export LD; \
22810         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22811         NM="$(NM_FOR_TARGET)"; export NM; \
22812         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22813         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22814         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
22815         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
22816         case $(srcdir) in \
22817           /* | [A-Za-z]:[\\/]*) \
22818             topdir=$(srcdir) ;; \
22819           *) \
22820             case "$(TARGET_SUBDIR)" in \
22821               .) topdir="../$(srcdir)" ;; \
22822               *) topdir="../../$(srcdir)" ;; \
22823             esac ;; \
22824         esac; \
22825           srcdiroption="--srcdir=$${topdir}/qthreads"; \
22826           libsrcdir="$$s/qthreads"; \
22827         rm -f no-such-file || : ; \
22828         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22829           $(TARGET_CONFIGARGS) $${srcdiroption} \
22830           --with-target-subdir="$(TARGET_SUBDIR)" \
22831           || exit 1
22832
22833 .PHONY: all-target-qthreads maybe-all-target-qthreads
22834 maybe-all-target-qthreads:
22835 all-target-qthreads: configure-target-qthreads
22836         @r=`${PWD_COMMAND}`; export r; \
22837         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22838         $(SET_LIB_PATH) \
22839         (cd $(TARGET_SUBDIR)/qthreads && \
22840           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22841
22842 .PHONY: check-target-qthreads maybe-check-target-qthreads
22843 maybe-check-target-qthreads:
22844
22845 check-target-qthreads:
22846         @r=`${PWD_COMMAND}`; export r; \
22847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848         $(SET_LIB_PATH) \
22849         (cd $(TARGET_SUBDIR)/qthreads && \
22850           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22851
22852
22853 .PHONY: install-target-qthreads maybe-install-target-qthreads
22854 maybe-install-target-qthreads:
22855
22856 install-target-qthreads: installdirs
22857         @r=`${PWD_COMMAND}`; export r; \
22858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859         $(SET_LIB_PATH) \
22860         (cd $(TARGET_SUBDIR)/qthreads && \
22861           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22862
22863
22864 # Other targets (info, dvi, etc.)
22865
22866 .PHONY: maybe-info-target-qthreads info-target-qthreads
22867 maybe-info-target-qthreads:
22868
22869 info-target-qthreads: \
22870     configure-target-qthreads 
22871         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22872         r=`${PWD_COMMAND}`; export r; \
22873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874         $(SET_LIB_PATH) \
22875         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
22876         for flag in $(EXTRA_TARGET_FLAGS); do \
22877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22878         done; \
22879         (cd $(TARGET_SUBDIR)/qthreads && \
22880           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22881                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22882                   "RANLIB=$${RANLIB}" \
22883                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22884                   info) \
22885           || exit 1
22886
22887
22888 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
22889 maybe-dvi-target-qthreads:
22890
22891 dvi-target-qthreads: \
22892     configure-target-qthreads 
22893         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22894         r=`${PWD_COMMAND}`; export r; \
22895         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22896         $(SET_LIB_PATH) \
22897         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
22898         for flag in $(EXTRA_TARGET_FLAGS); do \
22899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22900         done; \
22901         (cd $(TARGET_SUBDIR)/qthreads && \
22902           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22903                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22904                   "RANLIB=$${RANLIB}" \
22905                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906                   dvi) \
22907           || exit 1
22908
22909
22910 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
22911 maybe-TAGS-target-qthreads:
22912
22913 TAGS-target-qthreads: \
22914     configure-target-qthreads 
22915         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22916         r=`${PWD_COMMAND}`; export r; \
22917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22918         $(SET_LIB_PATH) \
22919         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
22920         for flag in $(EXTRA_TARGET_FLAGS); do \
22921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922         done; \
22923         (cd $(TARGET_SUBDIR)/qthreads && \
22924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22926                   "RANLIB=$${RANLIB}" \
22927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22928                   TAGS) \
22929           || exit 1
22930
22931
22932 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
22933 maybe-install-info-target-qthreads:
22934
22935 install-info-target-qthreads: \
22936     configure-target-qthreads \
22937     info-target-qthreads 
22938         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22939         r=`${PWD_COMMAND}`; export r; \
22940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22941         $(SET_LIB_PATH) \
22942         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
22943         for flag in $(EXTRA_TARGET_FLAGS); do \
22944           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945         done; \
22946         (cd $(TARGET_SUBDIR)/qthreads && \
22947           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22948                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22949                   "RANLIB=$${RANLIB}" \
22950                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22951                   install-info) \
22952           || exit 1
22953
22954
22955 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
22956 maybe-installcheck-target-qthreads:
22957
22958 installcheck-target-qthreads: \
22959     configure-target-qthreads 
22960         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22961         r=`${PWD_COMMAND}`; export r; \
22962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963         $(SET_LIB_PATH) \
22964         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
22965         for flag in $(EXTRA_TARGET_FLAGS); do \
22966           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22967         done; \
22968         (cd $(TARGET_SUBDIR)/qthreads && \
22969           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22970                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22971                   "RANLIB=$${RANLIB}" \
22972                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22973                   installcheck) \
22974           || exit 1
22975
22976
22977 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
22978 maybe-mostlyclean-target-qthreads:
22979
22980 mostlyclean-target-qthreads: 
22981         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22982         r=`${PWD_COMMAND}`; export r; \
22983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984         $(SET_LIB_PATH) \
22985         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
22986         for flag in $(EXTRA_TARGET_FLAGS); do \
22987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22988         done; \
22989         (cd $(TARGET_SUBDIR)/qthreads && \
22990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22992                   "RANLIB=$${RANLIB}" \
22993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22994                   mostlyclean) \
22995           || exit 1
22996
22997
22998 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
22999 maybe-clean-target-qthreads:
23000
23001 clean-target-qthreads: 
23002         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23003         r=`${PWD_COMMAND}`; export r; \
23004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23005         $(SET_LIB_PATH) \
23006         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
23007         for flag in $(EXTRA_TARGET_FLAGS); do \
23008           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23009         done; \
23010         (cd $(TARGET_SUBDIR)/qthreads && \
23011           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23012                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23013                   "RANLIB=$${RANLIB}" \
23014                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23015                   clean) \
23016           || exit 1
23017
23018
23019 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
23020 maybe-distclean-target-qthreads:
23021
23022 distclean-target-qthreads: 
23023         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23024         r=`${PWD_COMMAND}`; export r; \
23025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026         $(SET_LIB_PATH) \
23027         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
23028         for flag in $(EXTRA_TARGET_FLAGS); do \
23029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030         done; \
23031         (cd $(TARGET_SUBDIR)/qthreads && \
23032           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23033                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23034                   "RANLIB=$${RANLIB}" \
23035                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23036                   distclean) \
23037           || exit 1
23038
23039
23040 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
23041 maybe-maintainer-clean-target-qthreads:
23042
23043 maintainer-clean-target-qthreads: 
23044         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23045         r=`${PWD_COMMAND}`; export r; \
23046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23047         $(SET_LIB_PATH) \
23048         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
23049         for flag in $(EXTRA_TARGET_FLAGS); do \
23050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23051         done; \
23052         (cd $(TARGET_SUBDIR)/qthreads && \
23053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23055                   "RANLIB=$${RANLIB}" \
23056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23057                   maintainer-clean) \
23058           || exit 1
23059
23060
23061
23062 .PHONY: configure-target-rda maybe-configure-target-rda
23063 maybe-configure-target-rda:
23064
23065 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23066 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23067         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23068         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23069         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23070
23071 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23072         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23073         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23074         r=`${PWD_COMMAND}`; export r; \
23075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23076         $(SET_LIB_PATH) \
23077         AR="$(AR_FOR_TARGET)"; export AR; \
23078         AS="$(AS_FOR_TARGET)"; export AS; \
23079         CC="$(CC_FOR_TARGET)"; export CC; \
23080         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23081         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23082         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23083         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23084         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23085         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23086         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23087         LD="$(LD_FOR_TARGET)"; export LD; \
23088         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23089         NM="$(NM_FOR_TARGET)"; export NM; \
23090         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23091         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23092         echo Configuring in $(TARGET_SUBDIR)/rda; \
23093         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23094         case $(srcdir) in \
23095           /* | [A-Za-z]:[\\/]*) \
23096             topdir=$(srcdir) ;; \
23097           *) \
23098             case "$(TARGET_SUBDIR)" in \
23099               .) topdir="../$(srcdir)" ;; \
23100               *) topdir="../../$(srcdir)" ;; \
23101             esac ;; \
23102         esac; \
23103           srcdiroption="--srcdir=$${topdir}/rda"; \
23104           libsrcdir="$$s/rda"; \
23105         rm -f no-such-file || : ; \
23106         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23107           $(TARGET_CONFIGARGS) $${srcdiroption} \
23108           --with-target-subdir="$(TARGET_SUBDIR)" \
23109           || exit 1
23110
23111 .PHONY: all-target-rda maybe-all-target-rda
23112 maybe-all-target-rda:
23113 all-target-rda: configure-target-rda
23114         @r=`${PWD_COMMAND}`; export r; \
23115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23116         $(SET_LIB_PATH) \
23117         (cd $(TARGET_SUBDIR)/rda && \
23118           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23119
23120 .PHONY: check-target-rda maybe-check-target-rda
23121 maybe-check-target-rda:
23122
23123 check-target-rda:
23124         @r=`${PWD_COMMAND}`; export r; \
23125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23126         $(SET_LIB_PATH) \
23127         (cd $(TARGET_SUBDIR)/rda && \
23128           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23129
23130
23131 .PHONY: install-target-rda maybe-install-target-rda
23132 maybe-install-target-rda:
23133
23134 install-target-rda: installdirs
23135         @r=`${PWD_COMMAND}`; export r; \
23136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137         $(SET_LIB_PATH) \
23138         (cd $(TARGET_SUBDIR)/rda && \
23139           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23140
23141
23142 # Other targets (info, dvi, etc.)
23143
23144 .PHONY: maybe-info-target-rda info-target-rda
23145 maybe-info-target-rda:
23146
23147 info-target-rda: \
23148     configure-target-rda 
23149         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23150         r=`${PWD_COMMAND}`; export r; \
23151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152         $(SET_LIB_PATH) \
23153         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
23154         for flag in $(EXTRA_TARGET_FLAGS); do \
23155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23156         done; \
23157         (cd $(TARGET_SUBDIR)/rda && \
23158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160                   "RANLIB=$${RANLIB}" \
23161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23162                   info) \
23163           || exit 1
23164
23165
23166 .PHONY: maybe-dvi-target-rda dvi-target-rda
23167 maybe-dvi-target-rda:
23168
23169 dvi-target-rda: \
23170     configure-target-rda 
23171         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23172         r=`${PWD_COMMAND}`; export r; \
23173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23174         $(SET_LIB_PATH) \
23175         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
23176         for flag in $(EXTRA_TARGET_FLAGS); do \
23177           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178         done; \
23179         (cd $(TARGET_SUBDIR)/rda && \
23180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23182                   "RANLIB=$${RANLIB}" \
23183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23184                   dvi) \
23185           || exit 1
23186
23187
23188 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
23189 maybe-TAGS-target-rda:
23190
23191 TAGS-target-rda: \
23192     configure-target-rda 
23193         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23194         r=`${PWD_COMMAND}`; export r; \
23195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196         $(SET_LIB_PATH) \
23197         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
23198         for flag in $(EXTRA_TARGET_FLAGS); do \
23199           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23200         done; \
23201         (cd $(TARGET_SUBDIR)/rda && \
23202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23204                   "RANLIB=$${RANLIB}" \
23205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23206                   TAGS) \
23207           || exit 1
23208
23209
23210 .PHONY: maybe-install-info-target-rda install-info-target-rda
23211 maybe-install-info-target-rda:
23212
23213 install-info-target-rda: \
23214     configure-target-rda \
23215     info-target-rda 
23216         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23217         r=`${PWD_COMMAND}`; export r; \
23218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219         $(SET_LIB_PATH) \
23220         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
23221         for flag in $(EXTRA_TARGET_FLAGS); do \
23222           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23223         done; \
23224         (cd $(TARGET_SUBDIR)/rda && \
23225           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23226                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23227                   "RANLIB=$${RANLIB}" \
23228                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23229                   install-info) \
23230           || exit 1
23231
23232
23233 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
23234 maybe-installcheck-target-rda:
23235
23236 installcheck-target-rda: \
23237     configure-target-rda 
23238         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23239         r=`${PWD_COMMAND}`; export r; \
23240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23241         $(SET_LIB_PATH) \
23242         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
23243         for flag in $(EXTRA_TARGET_FLAGS); do \
23244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23245         done; \
23246         (cd $(TARGET_SUBDIR)/rda && \
23247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23249                   "RANLIB=$${RANLIB}" \
23250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23251                   installcheck) \
23252           || exit 1
23253
23254
23255 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
23256 maybe-mostlyclean-target-rda:
23257
23258 mostlyclean-target-rda: 
23259         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23260         r=`${PWD_COMMAND}`; export r; \
23261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262         $(SET_LIB_PATH) \
23263         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
23264         for flag in $(EXTRA_TARGET_FLAGS); do \
23265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23266         done; \
23267         (cd $(TARGET_SUBDIR)/rda && \
23268           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23269                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23270                   "RANLIB=$${RANLIB}" \
23271                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23272                   mostlyclean) \
23273           || exit 1
23274
23275
23276 .PHONY: maybe-clean-target-rda clean-target-rda
23277 maybe-clean-target-rda:
23278
23279 clean-target-rda: 
23280         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23281         r=`${PWD_COMMAND}`; export r; \
23282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283         $(SET_LIB_PATH) \
23284         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
23285         for flag in $(EXTRA_TARGET_FLAGS); do \
23286           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23287         done; \
23288         (cd $(TARGET_SUBDIR)/rda && \
23289           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23290                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23291                   "RANLIB=$${RANLIB}" \
23292                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23293                   clean) \
23294           || exit 1
23295
23296
23297 .PHONY: maybe-distclean-target-rda distclean-target-rda
23298 maybe-distclean-target-rda:
23299
23300 distclean-target-rda: 
23301         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23302         r=`${PWD_COMMAND}`; export r; \
23303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304         $(SET_LIB_PATH) \
23305         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
23306         for flag in $(EXTRA_TARGET_FLAGS); do \
23307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23308         done; \
23309         (cd $(TARGET_SUBDIR)/rda && \
23310           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23311                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23312                   "RANLIB=$${RANLIB}" \
23313                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23314                   distclean) \
23315           || exit 1
23316
23317
23318 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
23319 maybe-maintainer-clean-target-rda:
23320
23321 maintainer-clean-target-rda: 
23322         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23323         r=`${PWD_COMMAND}`; export r; \
23324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23325         $(SET_LIB_PATH) \
23326         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
23327         for flag in $(EXTRA_TARGET_FLAGS); do \
23328           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23329         done; \
23330         (cd $(TARGET_SUBDIR)/rda && \
23331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333                   "RANLIB=$${RANLIB}" \
23334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23335                   maintainer-clean) \
23336           || exit 1
23337
23338
23339
23340 .PHONY: configure-target-libada maybe-configure-target-libada
23341 maybe-configure-target-libada:
23342
23343 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23344 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
23345         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23346         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
23347         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
23348
23349 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
23350         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
23351         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23352         r=`${PWD_COMMAND}`; export r; \
23353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23354         $(SET_LIB_PATH) \
23355         AR="$(AR_FOR_TARGET)"; export AR; \
23356         AS="$(AS_FOR_TARGET)"; export AS; \
23357         CC="$(CC_FOR_TARGET)"; export CC; \
23358         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23359         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23360         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23361         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23362         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23363         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23364         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23365         LD="$(LD_FOR_TARGET)"; export LD; \
23366         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23367         NM="$(NM_FOR_TARGET)"; export NM; \
23368         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23369         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23370         echo Configuring in $(TARGET_SUBDIR)/libada; \
23371         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
23372         case $(srcdir) in \
23373           /* | [A-Za-z]:[\\/]*) \
23374             topdir=$(srcdir) ;; \
23375           *) \
23376             case "$(TARGET_SUBDIR)" in \
23377               .) topdir="../$(srcdir)" ;; \
23378               *) topdir="../../$(srcdir)" ;; \
23379             esac ;; \
23380         esac; \
23381           srcdiroption="--srcdir=$${topdir}/libada"; \
23382           libsrcdir="$$s/libada"; \
23383         rm -f no-such-file || : ; \
23384         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23385           $(TARGET_CONFIGARGS) $${srcdiroption} \
23386           --with-target-subdir="$(TARGET_SUBDIR)" \
23387           || exit 1
23388
23389 .PHONY: all-target-libada maybe-all-target-libada
23390 maybe-all-target-libada:
23391 all-target-libada: configure-target-libada
23392         @r=`${PWD_COMMAND}`; export r; \
23393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23394         $(SET_LIB_PATH) \
23395         (cd $(TARGET_SUBDIR)/libada && \
23396           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23397
23398 .PHONY: check-target-libada maybe-check-target-libada
23399 maybe-check-target-libada:
23400
23401 check-target-libada:
23402         @r=`${PWD_COMMAND}`; export r; \
23403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23404         $(SET_LIB_PATH) \
23405         (cd $(TARGET_SUBDIR)/libada && \
23406           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23407
23408
23409 .PHONY: install-target-libada maybe-install-target-libada
23410 maybe-install-target-libada:
23411
23412 install-target-libada: installdirs
23413         @r=`${PWD_COMMAND}`; export r; \
23414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23415         $(SET_LIB_PATH) \
23416         (cd $(TARGET_SUBDIR)/libada && \
23417           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23418
23419
23420 # Other targets (info, dvi, etc.)
23421
23422 .PHONY: maybe-info-target-libada info-target-libada
23423 maybe-info-target-libada:
23424
23425 info-target-libada: \
23426     configure-target-libada 
23427         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23428         r=`${PWD_COMMAND}`; export r; \
23429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23430         $(SET_LIB_PATH) \
23431         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
23432         for flag in $(EXTRA_TARGET_FLAGS); do \
23433           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23434         done; \
23435         (cd $(TARGET_SUBDIR)/libada && \
23436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23438                   "RANLIB=$${RANLIB}" \
23439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23440                   info) \
23441           || exit 1
23442
23443
23444 .PHONY: maybe-dvi-target-libada dvi-target-libada
23445 maybe-dvi-target-libada:
23446
23447 dvi-target-libada: \
23448     configure-target-libada 
23449         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23450         r=`${PWD_COMMAND}`; export r; \
23451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23452         $(SET_LIB_PATH) \
23453         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
23454         for flag in $(EXTRA_TARGET_FLAGS); do \
23455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23456         done; \
23457         (cd $(TARGET_SUBDIR)/libada && \
23458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23460                   "RANLIB=$${RANLIB}" \
23461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23462                   dvi) \
23463           || exit 1
23464
23465
23466 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
23467 maybe-TAGS-target-libada:
23468
23469 TAGS-target-libada: \
23470     configure-target-libada 
23471         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23472         r=`${PWD_COMMAND}`; export r; \
23473         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23474         $(SET_LIB_PATH) \
23475         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
23476         for flag in $(EXTRA_TARGET_FLAGS); do \
23477           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23478         done; \
23479         (cd $(TARGET_SUBDIR)/libada && \
23480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23482                   "RANLIB=$${RANLIB}" \
23483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23484                   TAGS) \
23485           || exit 1
23486
23487
23488 .PHONY: maybe-install-info-target-libada install-info-target-libada
23489 maybe-install-info-target-libada:
23490
23491 install-info-target-libada: \
23492     configure-target-libada \
23493     info-target-libada 
23494         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23495         r=`${PWD_COMMAND}`; export r; \
23496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23497         $(SET_LIB_PATH) \
23498         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
23499         for flag in $(EXTRA_TARGET_FLAGS); do \
23500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23501         done; \
23502         (cd $(TARGET_SUBDIR)/libada && \
23503           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23504                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23505                   "RANLIB=$${RANLIB}" \
23506                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23507                   install-info) \
23508           || exit 1
23509
23510
23511 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
23512 maybe-installcheck-target-libada:
23513
23514 installcheck-target-libada: \
23515     configure-target-libada 
23516         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23517         r=`${PWD_COMMAND}`; export r; \
23518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519         $(SET_LIB_PATH) \
23520         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
23521         for flag in $(EXTRA_TARGET_FLAGS); do \
23522           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23523         done; \
23524         (cd $(TARGET_SUBDIR)/libada && \
23525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23527                   "RANLIB=$${RANLIB}" \
23528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23529                   installcheck) \
23530           || exit 1
23531
23532
23533 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
23534 maybe-mostlyclean-target-libada:
23535
23536 mostlyclean-target-libada: 
23537         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23538         r=`${PWD_COMMAND}`; export r; \
23539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540         $(SET_LIB_PATH) \
23541         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
23542         for flag in $(EXTRA_TARGET_FLAGS); do \
23543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544         done; \
23545         (cd $(TARGET_SUBDIR)/libada && \
23546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548                   "RANLIB=$${RANLIB}" \
23549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23550                   mostlyclean) \
23551           || exit 1
23552
23553
23554 .PHONY: maybe-clean-target-libada clean-target-libada
23555 maybe-clean-target-libada:
23556
23557 clean-target-libada: 
23558         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23559         r=`${PWD_COMMAND}`; export r; \
23560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23561         $(SET_LIB_PATH) \
23562         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
23563         for flag in $(EXTRA_TARGET_FLAGS); do \
23564           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565         done; \
23566         (cd $(TARGET_SUBDIR)/libada && \
23567           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23568                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23569                   "RANLIB=$${RANLIB}" \
23570                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23571                   clean) \
23572           || exit 1
23573
23574
23575 .PHONY: maybe-distclean-target-libada distclean-target-libada
23576 maybe-distclean-target-libada:
23577
23578 distclean-target-libada: 
23579         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23580         r=`${PWD_COMMAND}`; export r; \
23581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582         $(SET_LIB_PATH) \
23583         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
23584         for flag in $(EXTRA_TARGET_FLAGS); do \
23585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586         done; \
23587         (cd $(TARGET_SUBDIR)/libada && \
23588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23590                   "RANLIB=$${RANLIB}" \
23591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23592                   distclean) \
23593           || exit 1
23594
23595
23596 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
23597 maybe-maintainer-clean-target-libada:
23598
23599 maintainer-clean-target-libada: 
23600         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23601         r=`${PWD_COMMAND}`; export r; \
23602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23603         $(SET_LIB_PATH) \
23604         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
23605         for flag in $(EXTRA_TARGET_FLAGS); do \
23606           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23607         done; \
23608         (cd $(TARGET_SUBDIR)/libada && \
23609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23611                   "RANLIB=$${RANLIB}" \
23612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23613                   maintainer-clean) \
23614           || exit 1
23615
23616
23617
23618
23619 # ----------
23620 # GCC module
23621 # ----------
23622
23623 # Unfortunately, while gcc _should_ be a host module,
23624 # libgcc is a target module, and gen* programs are
23625 # build modules.  So GCC is a sort of hybrid.
23626
23627 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23628 # Don't use shared host config.cache, as it will confuse later
23629 # directories; GCC wants slightly different values for some
23630 # precious variables.  *sigh*
23631
23632 # We must skip configuring if toplevel bootstrap is going.
23633 .PHONY: configure-gcc maybe-configure-gcc
23634 maybe-configure-gcc:
23635 configure-gcc:
23636         @test ! -f gcc/Makefile || exit 0; \
23637         [ -f stage_last ] && exit 0; \
23638         [ -d gcc ] || mkdir gcc; \
23639         r=`${PWD_COMMAND}`; export r; \
23640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641         CC="$(CC)"; export CC; \
23642         CFLAGS="$(CFLAGS)"; export CFLAGS; \
23643         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23644         CXX="$(CXX)"; export CXX; \
23645         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23646         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23647         AR="$(AR)"; export AR; \
23648         AS="$(AS)"; export AS; \
23649         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23650         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23651         LD="$(LD)"; export LD; \
23652         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
23653         NM="$(NM)"; export NM; \
23654         RANLIB="$(RANLIB)"; export RANLIB; \
23655         WINDRES="$(WINDRES)"; export WINDRES; \
23656         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23657         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23658         echo Configuring in gcc; \
23659         cd gcc || exit 1; \
23660         case $(srcdir) in \
23661           \.) \
23662             srcdiroption="--srcdir=."; \
23663             libsrcdir=".";; \
23664           /* | [A-Za-z]:[\\/]*) \
23665             srcdiroption="--srcdir=$(srcdir)/gcc"; \
23666             libsrcdir="$$s/gcc";; \
23667           *) \
23668             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23669             libsrcdir="$$s/gcc";; \
23670         esac; \
23671         $(SHELL) $${libsrcdir}/configure \
23672           $(HOST_CONFIGARGS) $${srcdiroption} \
23673           || exit 1
23674
23675 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23676 # causes trouble.  This wart will be fixed eventually by moving
23677 # the bootstrap behavior to this file.
23678 .PHONY: all-gcc maybe-all-gcc
23679 maybe-all-gcc:
23680 all-gcc: configure-gcc
23681         r=`${PWD_COMMAND}`; export r; \
23682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683         if [ -f stage_last ] ; then \
23684           true ; \
23685         elif [ -f gcc/stage_last ] ; then \
23686           $(SET_LIB_PATH) \
23687           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23688         else \
23689           $(SET_LIB_PATH) \
23690           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23691         fi
23692
23693 # Building GCC uses some tools for rebuilding "source" files
23694 # like texinfo, bison/byacc, etc.  So we must depend on those.
23695 #
23696 # While building GCC, it may be necessary to run various target
23697 # programs like the assembler, linker, etc.  So we depend on
23698 # those too.
23699 #
23700 # In theory, on an SMP all those dependencies can be resolved
23701 # in parallel.
23702 #
23703 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23704 .PHONY: $(GCC_STRAP_TARGETS)
23705 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23706         @r=`${PWD_COMMAND}`; export r; \
23707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708         $(SET_LIB_PATH) \
23709         echo "Bootstrapping the compiler"; \
23710         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23711         @r=`${PWD_COMMAND}`; export r; \
23712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23713         case "$@" in \
23714           *bootstrap4-lean ) \
23715             msg="Comparing stage3 and stage4 of the compiler"; \
23716             compare=compare3-lean ;; \
23717           *bootstrap4 ) \
23718             msg="Comparing stage3 and stage4 of the compiler"; \
23719             compare=compare3 ;; \
23720           *-lean ) \
23721             msg="Comparing stage2 and stage3 of the compiler"; \
23722             compare=compare-lean ;; \
23723           * ) \
23724             msg="Comparing stage2 and stage3 of the compiler"; \
23725             compare=compare ;; \
23726         esac; \
23727         $(SET_LIB_PATH) \
23728         echo "$$msg"; \
23729         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23730         @r=`${PWD_COMMAND}`; export r; \
23731         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23732         $(SET_LIB_PATH) \
23733         echo "Building runtime libraries"; \
23734         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23735
23736 profiledbootstrap: all-bootstrap configure-gcc
23737         @r=`${PWD_COMMAND}`; export r; \
23738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739         $(SET_LIB_PATH) \
23740         echo "Bootstrapping the compiler"; \
23741         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23742         @r=`${PWD_COMMAND}`; export r; \
23743         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23744         $(SET_LIB_PATH) \
23745         echo "Building runtime libraries and training compiler"; \
23746         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23747         @r=`${PWD_COMMAND}`; export r; \
23748         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749         $(SET_LIB_PATH) \
23750         echo "Building feedback based compiler"; \
23751         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23752
23753 .PHONY: cross
23754 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23755         @r=`${PWD_COMMAND}`; export r; \
23756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23757         $(SET_LIB_PATH) \
23758         echo "Building the C and C++ compiler"; \
23759         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23760         @r=`${PWD_COMMAND}`; export r; \
23761         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23762         $(SET_LIB_PATH) \
23763         echo "Building runtime libraries"; \
23764         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23765           LANGUAGES="c c++" all
23766
23767 .PHONY: check-gcc maybe-check-gcc
23768 maybe-check-gcc:
23769 check-gcc:
23770         @if [ -f ./gcc/Makefile ] ; then \
23771           r=`${PWD_COMMAND}`; export r; \
23772           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23773           $(SET_LIB_PATH) \
23774           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23775         else \
23776           true; \
23777         fi
23778
23779 .PHONY: check-gcc-c++
23780 check-gcc-c++:
23781         @if [ -f ./gcc/Makefile ] ; then \
23782           r=`${PWD_COMMAND}`; export r; \
23783           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784           $(SET_LIB_PATH) \
23785           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23786         else \
23787           true; \
23788         fi
23789
23790 .PHONY: check-c++
23791 check-c++: check-target-libstdc++-v3 check-gcc-c++
23792
23793 .PHONY: install-gcc maybe-install-gcc
23794 maybe-install-gcc:
23795 install-gcc:
23796         @if [ -f ./gcc/Makefile ] ; then \
23797           r=`${PWD_COMMAND}`; export r; \
23798           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799           $(SET_LIB_PATH) \
23800           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23801         else \
23802           true; \
23803         fi
23804
23805 # Install the gcc headers files, but not the fixed include files,
23806 # which Cygnus is not allowed to distribute.  This rule is very
23807 # dependent on the workings of the gcc Makefile.in.
23808 .PHONY: gcc-no-fixedincludes
23809 gcc-no-fixedincludes:
23810         @if [ -f ./gcc/Makefile ]; then \
23811           rm -rf gcc/tmp-include; \
23812           mv gcc/include gcc/tmp-include 2>/dev/null; \
23813           mkdir gcc/include; \
23814           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23815           touch gcc/stmp-fixinc gcc/include/fixed; \
23816           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23817           r=`${PWD_COMMAND}`; export r; \
23818           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23819           $(SET_LIB_PATH) \
23820           (cd ./gcc && \
23821            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23822           rm -rf gcc/include; \
23823           mv gcc/tmp-include gcc/include 2>/dev/null; \
23824         else true; fi
23825
23826 # Other targets (dvi, info, etc.)
23827
23828 .PHONY: maybe-info-gcc info-gcc
23829 maybe-info-gcc:
23830 info-gcc: \
23831     configure-gcc 
23832         @[ -f ./gcc/Makefile ] || exit 0; \
23833         r=`${PWD_COMMAND}`; export r; \
23834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23835         $(SET_LIB_PATH) \
23836         for flag in $(EXTRA_GCC_FLAGS); do \
23837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23838         done; \
23839         echo "Doing info in gcc" ; \
23840         (cd gcc && \
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                   info) \
23846           || exit 1
23847
23848
23849 .PHONY: maybe-dvi-gcc dvi-gcc
23850 maybe-dvi-gcc:
23851 dvi-gcc: \
23852     configure-gcc 
23853         @[ -f ./gcc/Makefile ] || exit 0; \
23854         r=`${PWD_COMMAND}`; export r; \
23855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856         $(SET_LIB_PATH) \
23857         for flag in $(EXTRA_GCC_FLAGS); do \
23858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859         done; \
23860         echo "Doing dvi in gcc" ; \
23861         (cd gcc && \
23862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864                   "RANLIB=$${RANLIB}" \
23865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23866                   dvi) \
23867           || exit 1
23868
23869
23870 .PHONY: maybe-TAGS-gcc TAGS-gcc
23871 maybe-TAGS-gcc:
23872 TAGS-gcc: \
23873     configure-gcc 
23874         @[ -f ./gcc/Makefile ] || exit 0; \
23875         r=`${PWD_COMMAND}`; export r; \
23876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23877         $(SET_LIB_PATH) \
23878         for flag in $(EXTRA_GCC_FLAGS); do \
23879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23880         done; \
23881         echo "Doing TAGS in gcc" ; \
23882         (cd gcc && \
23883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23885                   "RANLIB=$${RANLIB}" \
23886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23887                   TAGS) \
23888           || exit 1
23889
23890
23891 .PHONY: maybe-install-info-gcc install-info-gcc
23892 maybe-install-info-gcc:
23893 install-info-gcc: \
23894     configure-gcc \
23895     info-gcc 
23896         @[ -f ./gcc/Makefile ] || exit 0; \
23897         r=`${PWD_COMMAND}`; export r; \
23898         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23899         $(SET_LIB_PATH) \
23900         for flag in $(EXTRA_GCC_FLAGS); do \
23901           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23902         done; \
23903         echo "Doing install-info in gcc" ; \
23904         (cd gcc && \
23905           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23906                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23907                   "RANLIB=$${RANLIB}" \
23908                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23909                   install-info) \
23910           || exit 1
23911
23912
23913 .PHONY: maybe-installcheck-gcc installcheck-gcc
23914 maybe-installcheck-gcc:
23915 installcheck-gcc: \
23916     configure-gcc 
23917         @[ -f ./gcc/Makefile ] || exit 0; \
23918         r=`${PWD_COMMAND}`; export r; \
23919         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23920         $(SET_LIB_PATH) \
23921         for flag in $(EXTRA_GCC_FLAGS); do \
23922           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23923         done; \
23924         echo "Doing installcheck in gcc" ; \
23925         (cd gcc && \
23926           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23927                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23928                   "RANLIB=$${RANLIB}" \
23929                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23930                   installcheck) \
23931           || exit 1
23932
23933
23934 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
23935 maybe-mostlyclean-gcc:
23936 mostlyclean-gcc: 
23937         @[ -f ./gcc/Makefile ] || exit 0; \
23938         r=`${PWD_COMMAND}`; export r; \
23939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23940         $(SET_LIB_PATH) \
23941         for flag in $(EXTRA_GCC_FLAGS); do \
23942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23943         done; \
23944         echo "Doing mostlyclean in gcc" ; \
23945         (cd gcc && \
23946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23948                   "RANLIB=$${RANLIB}" \
23949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23950                   mostlyclean) \
23951           || exit 1
23952
23953
23954 .PHONY: maybe-clean-gcc clean-gcc
23955 maybe-clean-gcc:
23956 clean-gcc: 
23957         @[ -f ./gcc/Makefile ] || exit 0; \
23958         r=`${PWD_COMMAND}`; export r; \
23959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960         $(SET_LIB_PATH) \
23961         for flag in $(EXTRA_GCC_FLAGS); do \
23962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23963         done; \
23964         echo "Doing clean in gcc" ; \
23965         (cd gcc && \
23966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968                   "RANLIB=$${RANLIB}" \
23969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23970                   clean) \
23971           || exit 1
23972
23973
23974 .PHONY: maybe-distclean-gcc distclean-gcc
23975 maybe-distclean-gcc:
23976 distclean-gcc: 
23977         @[ -f ./gcc/Makefile ] || exit 0; \
23978         r=`${PWD_COMMAND}`; export r; \
23979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980         $(SET_LIB_PATH) \
23981         for flag in $(EXTRA_GCC_FLAGS); do \
23982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23983         done; \
23984         echo "Doing distclean in gcc" ; \
23985         (cd gcc && \
23986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23988                   "RANLIB=$${RANLIB}" \
23989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23990                   distclean) \
23991           || exit 1
23992
23993
23994 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
23995 maybe-maintainer-clean-gcc:
23996 maintainer-clean-gcc: 
23997         @[ -f ./gcc/Makefile ] || exit 0; \
23998         r=`${PWD_COMMAND}`; export r; \
23999         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24000         $(SET_LIB_PATH) \
24001         for flag in $(EXTRA_GCC_FLAGS); do \
24002           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24003         done; \
24004         echo "Doing maintainer-clean in gcc" ; \
24005         (cd gcc && \
24006           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24007                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24008                   "RANLIB=$${RANLIB}" \
24009                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24010                   maintainer-clean) \
24011           || exit 1
24012
24013
24014
24015 # ---------------------
24016 # GCC bootstrap support
24017 # ---------------------
24018
24019 # We name the directories for the various stages "stage1-gcc",
24020 # "stage2-gcc","stage3-gcc", etc.  
24021 # Unfortunately, the 'compare' process will fail (on debugging information)
24022 # if any directory names are different!
24023 # So in the building rule for each stage, we relocate them before and after.
24024 # The current one is 'gcc', while the previous one is 'prev-gcc'.  (The
24025 # current one must be 'gcc' for now because the scripts in that directory
24026 # assume it.)
24027 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
24028 # libraries can find it.  Ick!
24029
24030 # Bugs: This is almost certainly not parallel-make safe.
24031
24032 # 'touch' doesn't work right on some platforms.
24033 STAMP = echo timestamp > 
24034
24035 # Only build the C compiler for stage1, because that is the only one that
24036 # we can guarantee will build with the native compiler, and also it is the
24037 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
24038 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
24039 # overrideable (for a bootstrap build stage1 also builds gcc.info).
24040
24041 STAGE1_CFLAGS=@stage1_cflags@
24042 STAGE1_LANGUAGES=@stage1_languages@
24043
24044 # For stage 1:
24045 # * We force-disable intermodule optimizations, even if
24046 #   --enable-intermodule was passed, since the installed compiler probably
24047 #   can't handle them.  Luckily, autoconf always respects
24048 #   the last argument when conflicting --enable arguments are passed.
24049 # * Likewise, we force-disable coverage flags, since the installed compiler
24050 #   probably has never heard of them.
24051 # * We build only C (and possibly Ada).
24052 configure-stage1-gcc:
24053         echo configure-stage1-gcc > stage_last ; \
24054         if [ -f stage1-gcc/Makefile ] ; then \
24055           $(STAMP) configure-stage1-gcc ; \
24056           exit 0; \
24057         else \
24058           true ; \
24059         fi ; \
24060         [ -d stage1-gcc ] || mkdir stage1-gcc; \
24061         mv stage1-gcc gcc ; \
24062         r=`${PWD_COMMAND}`; export r; \
24063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24065         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24066         CC="$(CC)"; export CC; \
24067         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24068         CXX="$(CXX)"; export CXX; \
24069         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24070         AR="$(AR)"; export AR; \
24071         AS="$(AS)"; export AS; \
24072         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24073         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24074         LD="$(LD)"; export LD; \
24075         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24076         NM="$(NM)"; export NM; \
24077         RANLIB="$(RANLIB)"; export RANLIB; \
24078         WINDRES="$(WINDRES)"; export WINDRES; \
24079         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24080         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24081         echo Configuring stage 1 in gcc; \
24082         cd gcc || exit 1; \
24083         case $(srcdir) in \
24084           \.) \
24085             srcdiroption="--srcdir=."; \
24086             libsrcdir=".";; \
24087           /* | [A-Za-z]:[\\/]*) \
24088             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24089             libsrcdir="$$s/gcc";; \
24090           *) \
24091             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24092             libsrcdir="$$s/gcc";; \
24093         esac; \
24094         $(SHELL) $${libsrcdir}/configure \
24095           $(HOST_CONFIGARGS) $${srcdiroption} \
24096           --disable-intermodule --disable-coverage \
24097           --enable-languages="$(STAGE1_LANGUAGES)"; \
24098         cd .. ; \
24099         mv gcc stage1-gcc ; \
24100         $(STAMP) configure-stage1-gcc
24101
24102 # Real targets act phony if they depend on phony targets; this hack
24103 # prevents gratuitous rebuilding of stage 1.
24104 prebootstrap:
24105         $(MAKE) all-bootstrap
24106         $(STAMP) prebootstrap
24107
24108 all-stage1-gcc: configure-stage1-gcc prebootstrap
24109         echo all-stage1-gcc > stage_last ; \
24110         r=`${PWD_COMMAND}`; export r; \
24111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112         mv stage1-gcc gcc ; \
24113         cd gcc && \
24114         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24115                 CFLAGS="$(STAGE1_CFLAGS)" \
24116                 || exit 1 ; \
24117         cd .. ; \
24118         mv gcc stage1-gcc ; \
24119         $(STAMP) all-stage1-gcc
24120
24121 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
24122 # Possibly pass --enable-werror-always (depending on --enable-werror);
24123 # that's what @stage2_werror_flag@ is for
24124 configure-stage2-gcc: all-stage1-gcc
24125         echo configure-stage2-gcc > stage_last ; \
24126         if [ -f stage2-gcc/Makefile ] ; then \
24127           $(STAMP) configure-stage2-gcc ; \
24128           exit 0; \
24129         else \
24130           true ; \
24131         fi ; \
24132         [ -d stage2-gcc ] || mkdir stage2-gcc; \
24133         mv stage2-gcc gcc ; \
24134         mv stage1-gcc prev-gcc ; \
24135         r=`${PWD_COMMAND}`; export r; \
24136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24138         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24139         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24140         CXX="$(CXX)"; export CXX; \
24141         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24142         AR="$(AR)"; export AR; \
24143         AS="$(AS)"; export AS; \
24144         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24145         LD="$(LD)"; export LD; \
24146         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24147         NM="$(NM)"; export NM; \
24148         RANLIB="$(RANLIB)"; export RANLIB; \
24149         WINDRES="$(WINDRES)"; export WINDRES; \
24150         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24151         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24152         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24153         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24154         echo Configuring stage 2 in gcc; \
24155         cd gcc || exit 1; \
24156         case $(srcdir) in \
24157           \.) \
24158             srcdiroption="--srcdir=."; \
24159             libsrcdir=".";; \
24160           /* | [A-Za-z]:[\\/]*) \
24161             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24162             libsrcdir="$$s/gcc";; \
24163           *) \
24164             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24165             libsrcdir="$$s/gcc";; \
24166         esac; \
24167         $(SHELL) $${libsrcdir}/configure \
24168           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24169         cd .. ; \
24170         mv gcc stage2-gcc ; \
24171         mv prev-gcc stage1-gcc ; \
24172         $(STAMP) configure-stage2-gcc
24173
24174 # Flags to pass to stage2 and later makes.
24175 BOOT_CFLAGS= -g -O2
24176 POSTSTAGE1_FLAGS_TO_PASS = \
24177         CFLAGS="$(BOOT_CFLAGS)" \
24178         ADAC="\$$(CC)"
24179
24180 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
24181         echo all-stage2-gcc > stage_last ; \
24182         r=`${PWD_COMMAND}`; export r; \
24183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184         mv stage2-gcc gcc ; \
24185         mv stage1-gcc prev-gcc ; \
24186         cd gcc && \
24187         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24188                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24189                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24190                 STAGE_PREFIX=$$r/prev-gcc/ \
24191                 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24192         cd .. ; \
24193         mv prev-gcc stage1-gcc ; \
24194         mv gcc stage2-gcc ; \
24195         $(STAMP) all-stage2-gcc
24196
24197 configure-stage3-gcc: all-stage2-gcc
24198         echo configure-stage3-gcc > stage_last ; \
24199         if [ -f stage3-gcc/Makefile ] ; then \
24200           $(STAMP) configure-stage3-gcc ; \
24201           exit 0; \
24202         else \
24203           true ; \
24204         fi ; \
24205         [ -d stage3-gcc ] || mkdir stage3-gcc; \
24206         mv stage3-gcc gcc ; \
24207         mv stage2-gcc prev-gcc ; \
24208         r=`${PWD_COMMAND}`; export r; \
24209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24211         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24212         CFLAGS="$(CFLAGS)"; export CFLAGS; \
24213         CXX="$(CXX)"; export CXX; \
24214         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24215         AR="$(AR)"; export AR; \
24216         AS="$(AS)"; export AS; \
24217         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24218         LD="$(LD)"; export LD; \
24219         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24220         NM="$(NM)"; export NM; \
24221         RANLIB="$(RANLIB)"; export RANLIB; \
24222         WINDRES="$(WINDRES)"; export WINDRES; \
24223         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24224         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24225         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24226         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24227         echo Configuring stage 3 in gcc; \
24228         cd gcc || exit 1; \
24229         case $(srcdir) in \
24230           \.) \
24231             srcdiroption="--srcdir=."; \
24232             libsrcdir=".";; \
24233           /* | [A-Za-z]:[\\/]*) \
24234             srcdiroption="--srcdir=$(srcdir)/gcc"; \
24235             libsrcdir="$$s/gcc";; \
24236           *) \
24237             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24238             libsrcdir="$$s/gcc";; \
24239         esac; \
24240         $(SHELL) $${libsrcdir}/configure \
24241           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24242         cd .. ; \
24243         mv gcc stage3-gcc ; \
24244         mv prev-gcc stage2-gcc ; \
24245         $(STAMP) configure-stage3-gcc
24246
24247 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
24248         echo all-stage3-gcc > stage_last ; \
24249         r=`${PWD_COMMAND}`; export r; \
24250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251         mv stage2-gcc prev-gcc ; \
24252         mv stage3-gcc gcc ; \
24253         cd gcc && \
24254         $(MAKE) $(GCC_FLAGS_TO_PASS) \
24255                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24256                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24257                 STAGE_PREFIX=$$r/prev-gcc/ \
24258                 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24259         cd .. ; \
24260         mv prev-gcc stage2-gcc ; \
24261         mv gcc stage3-gcc ; \
24262         $(STAMP) all-stage3-gcc
24263
24264 # We only want to compare .o files, so set this!
24265 objext = .o
24266
24267 compare: all-stage3-gcc
24268         r=`${PWD_COMMAND}`; export r; \
24269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270         rm -f .bad_compare ; \
24271         cd stage3-gcc; \
24272         files=`find . -name "*$(objext)" -print` ; \
24273         cd .. ; \
24274         for file in $${files} ; do \
24275           cmp --ignore-initial=16 $$r/stage2-gcc/$$file $$r/stage3-gcc/$$file \
24276               > /dev/null 2>&1; \
24277           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
24278         done ; \
24279         if [ -f .bad_compare ]; then \
24280           echo "Bootstrap comparison failure!"; \
24281           cat .bad_compare; \
24282           exit 1; \
24283         else \
24284           true; \
24285         fi ; \
24286         $(STAMP) compare
24287
24288 .PHONY: new-bootstrap
24289 # This target exists so that everything can be made in one pass.
24290 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
24291 # this to work.
24292 new-bootstrap: compare
24293         mv stage3-gcc gcc ; \
24294         $(MAKE) all ; \
24295         mv gcc stage3-gcc
24296
24297 # --------------------------------------
24298 # Dependencies between different modules
24299 # --------------------------------------
24300
24301 # There are two types of dependencies here: 'hard' dependencies, where one
24302 # module simply won't build without the other; and 'soft' dependencies, where
24303 # if the depended-on module is missing, the depending module will do without
24304 # or find a substitute somewhere (perhaps installed).  Soft dependencies
24305 # are specified by depending on a 'maybe-' target.  If you're not sure,
24306 # it's safer to use a soft dependency.
24307
24308 # Host modules specific to gcc.
24309 # GCC needs to identify certain tools.
24310 # GCC also needs the information exported by the intl configure script.
24311 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
24312 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
24313 # This is a slightly kludgy method of getting dependencies on 
24314 # all-build-libiberty correct; it would be better to build it every time.
24315 all-gcc: maybe-all-build-libiberty
24316 all-bootstrap: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
24317
24318 # Host modules specific to gdb.
24319 # GDB needs to know that the simulator is being built.
24320 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
24321 GDB_TK = @GDB_TK@
24322 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)
24323 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
24324 configure-libgui: maybe-configure-tcl maybe-configure-tk
24325 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
24326
24327 # Host modules specific to binutils.
24328 configure-bfd: configure-libiberty
24329 all-bfd: maybe-all-libiberty maybe-all-intl
24330 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
24331 # We put install-opcodes before install-binutils because the installed
24332 # binutils might be on PATH, and they might need the shared opcodes
24333 # library.
24334 install-binutils: maybe-install-opcodes
24335 # libopcodes depends on libbfd
24336 install-opcodes: maybe-install-bfd
24337 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
24338 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
24339 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
24340 all-opcodes: maybe-all-bfd maybe-all-libiberty
24341
24342 # Other host modules in the 'src' repository.
24343 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
24344 configure-expect: maybe-configure-tcl maybe-configure-tk
24345 all-expect: maybe-all-tcl maybe-all-tk
24346 configure-itcl: maybe-configure-tcl maybe-configure-tk
24347 all-itcl: maybe-all-tcl maybe-all-tk
24348 # We put install-tcl before install-itcl because itcl wants to run a
24349 # program on installation which uses the Tcl libraries.
24350 install-itcl: maybe-install-tcl
24351 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
24352 install-sid: maybe-install-tcl maybe-install-tk
24353 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
24354 configure-tk: maybe-configure-tcl
24355 all-tk: maybe-all-tcl
24356 configure-tix: maybe-configure-tcl maybe-configure-tk
24357 all-tix: maybe-all-tcl maybe-all-tk
24358 all-texinfo: maybe-all-libiberty
24359
24360 # Other host modules.  Warning, these are not well tested.
24361 all-autoconf: maybe-all-m4 maybe-all-texinfo
24362 all-automake: maybe-all-m4 maybe-all-texinfo
24363 all-bison: maybe-all-texinfo
24364 all-diff: maybe-all-libiberty
24365 all-fastjar: maybe-all-zlib maybe-all-libiberty
24366 all-fileutils: maybe-all-libiberty
24367 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
24368 all-gzip: maybe-all-libiberty
24369 all-hello: maybe-all-libiberty
24370 all-m4: maybe-all-libiberty maybe-all-texinfo
24371 all-make: maybe-all-libiberty maybe-all-intl
24372 all-patch: maybe-all-libiberty
24373 all-prms: maybe-all-libiberty
24374 all-recode: maybe-all-libiberty
24375 all-sed: maybe-all-libiberty
24376 all-send-pr: maybe-all-prms
24377 all-tar: maybe-all-libiberty
24378 all-uudecode: maybe-all-libiberty
24379
24380 ALL_GCC = maybe-all-gcc
24381 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
24382 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
24383
24384 # Target modules specific to gcc.
24385 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
24386 configure-target-fastjar: maybe-configure-target-zlib
24387 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
24388 configure-target-libada: $(ALL_GCC_C)
24389 configure-target-libf2c: $(ALL_GCC_C)
24390 all-target-libf2c: maybe-all-target-libiberty
24391 configure-target-libffi: $(ALL_GCC_C) 
24392 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
24393 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
24394 configure-target-libobjc: $(ALL_GCC_C)
24395 all-target-libobjc: maybe-all-target-libiberty
24396 configure-target-libstdc++-v3: $(ALL_GCC_C)
24397 all-target-libstdc++-v3: maybe-all-target-libiberty
24398 configure-target-zlib: $(ALL_GCC_C)
24399
24400 # Target modules in the 'src' repository.
24401 configure-target-examples: $(ALL_GCC_C)
24402 configure-target-libgloss: $(ALL_GCC)
24403 all-target-libgloss: maybe-configure-target-newlib
24404 configure-target-libiberty: $(ALL_GCC)
24405 configure-target-libtermcap: $(ALL_GCC_C)
24406 configure-target-newlib: $(ALL_GCC)
24407 configure-target-rda: $(ALL_GCC_C)
24408 configure-target-winsup: $(ALL_GCC_C)
24409 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
24410
24411 # Other target modules.  Warning, these are not well tested.
24412 configure-target-gperf: $(ALL_GCC_CXX)
24413 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
24414 configure-target-qthreads: $(ALL_GCC_C)
24415
24416 # Dependencies of maybe-foo on foo.  These are used because, for example,
24417 # all-gcc only depends on all-gas if gas is present and being configured.
24418 @maybe_dependencies@
24419
24420 # Serialization dependencies.  Host configures don't work well in parallel to
24421 # each other, due to contention over config.cache.  Target configures and 
24422 # build configures are similar.
24423 @serialization_dependencies@
24424
24425 # --------------------------------
24426 # Regenerating top level configury
24427 # --------------------------------
24428
24429 # Multilib.out tells target dirs what multilibs they should build.
24430 # There is really only one copy.  We use the 'timestamp' method to
24431 # work around various timestamp bugs on some systems.
24432 # We use move-if-change so that it's only considered updated when it
24433 # actually changes, because it has to depend on a phony target.
24434 multilib.out: maybe-all-gcc
24435         @r=`${PWD_COMMAND}`; export r; \
24436         echo "Checking multilib configuration..."; \
24437         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
24438         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
24439
24440 # Rebuilding Makefile.in, using autogen.
24441 AUTOGEN = autogen
24442 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
24443         cd $(srcdir) && $(AUTOGEN) Makefile.def
24444
24445 # Rebuilding Makefile.
24446 Makefile: $(srcdir)/Makefile.in config.status
24447         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
24448
24449 config.status: configure $(gcc_version_trigger)
24450         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
24451
24452 # Rebuilding configure.
24453 AUTOCONF = autoconf
24454 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
24455         cd $(srcdir) && $(AUTOCONF)
24456
24457 # ------------------------------
24458 # Special directives to GNU Make
24459 # ------------------------------
24460
24461 # Don't pass command-line variables to submakes.
24462 .NOEXPORT:
24463 MAKEOVERRIDES=
24464
24465 # end of Makefile.in