2003-06-22 Paolo Carlini <pcarlini@unitus.it>
[official-gcc.git] / Makefile.in
blob00858635a03d3d72ba9d23e8ef7604e83da84e60
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
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
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.
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.
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.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
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
64 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
65 # cygwin host.
66 INSTALL_PROGRAM_ARGS =
68 INSTALL = $(SHELL) $$s/install-sh -c
69 INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
70 INSTALL_SCRIPT = $(INSTALL)
71 INSTALL_DATA = $(INSTALL) -m 644
73 # -------------------------------------------------
74 # Miscellaneous non-standard autoconf-set variables
75 # -------------------------------------------------
77 links=@configlinks@
78 # The file containing GCC's version number.
79 gcc_version_trigger = @gcc_version_trigger@
80 gcc_version = @gcc_version@
82 # The gcc driver likes to know the arguments it was configured with.
83 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
85 gxx_include_dir = @gxx_include_dir@
86 libstdcxx_incdir = @libstdcxx_incdir@
88 tooldir = @tooldir@
89 build_tooldir = @build_tooldir@
91 # Directory in which the compiler finds executables, libraries, etc.
92 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
93 GDB_NLM_DEPS =
95 # This is the name of the environment variable used for the path to
96 # the libraries.
97 RPATH_ENVVAR = @RPATH_ENVVAR@
99 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
100 # was used.
101 SET_LIB_PATH = @SET_LIB_PATH@
103 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
104 # Some platforms don't like blank entries, so we remove duplicate,
105 # leading and trailing colons.
106 REALLY_SET_LIB_PATH = \
107 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
109 # This is the list of directories to be built for the build system.
110 BUILD_CONFIGDIRS = libiberty
111 # Build programs are put under this directory.
112 BUILD_SUBDIR = @build_subdir@
113 # This is set by the configure script to the arguments to use when configuring
114 # directories built for the build system.
115 BUILD_CONFIGARGS = @build_configargs@
117 # This is the list of directories to built for the host system.
118 SUBDIRS = @configdirs@
119 # This is set by the configure script to the arguments to use when configuring
120 # directories built for the host system.
121 HOST_CONFIGARGS = @host_configargs@
123 # This is set by the configure script to the list of directories which
124 # should be built using the target tools.
125 TARGET_CONFIGDIRS = @target_configdirs@
126 # Target libraries are put under this directory:
127 TARGET_SUBDIR = @target_subdir@
128 # This is set by the configure script to the arguments to use when configuring
129 # directories built for the target.
130 TARGET_CONFIGARGS = @target_configargs@
132 # ----------------------------------------------
133 # Programs producing files for the BUILD machine
134 # ----------------------------------------------
136 SHELL = @config_shell@
138 # pwd command to use. Allow user to override default by setting PWDCMD in
139 # the environment to account for automounters. The make variable must not
140 # be called PWDCMD, otherwise the value set here is passed to make
141 # subprocesses and overrides the setting from the user's environment.
142 PWD = $${PWDCMD-pwd}
144 # compilers to use to create programs which must be run in the build
145 # environment.
146 CC_FOR_BUILD = @CC_FOR_BUILD@
147 CFLAGS_FOR_BUILD = $(CFLAGS)
149 CXX_FOR_BUILD = $(CXX)
151 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
152 # here so that they can be overridden by Makefile fragments.
153 BUILD_PREFIX = @BUILD_PREFIX@
154 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
156 BISON=@BISON@
157 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
158 echo $$r/bison/bison -L $$s/bison/ ; \
159 else \
160 echo bison ; \
163 DEFAULT_YACC = @DEFAULT_YACC@
164 YACC=@YACC@
165 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
166 echo $$r/bison/bison -y -L $$s/bison/ ; \
167 elif [ -f $$r/byacc/byacc ] ; then \
168 echo $$r/byacc/byacc ; \
169 else \
170 echo ${DEFAULT_YACC} ; \
173 DEFAULT_LEX = @DEFAULT_LEX@
174 LEX=@LEX@
175 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
176 then echo $$r/flex/flex ; \
177 else echo ${DEFAULT_LEX} ; fi`
179 DEFAULT_M4 = @DEFAULT_M4@
180 M4 = `if [ -f $$r/m4/m4 ] ; \
181 then echo $$r/m4/m4 ; \
182 else echo ${DEFAULT_M4} ; fi`
184 # For an installed makeinfo, we require it to be from texinfo 4.2 or
185 # higher, else we use the "missing" dummy.
186 MAKEINFO=@MAKEINFO@
187 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
188 then echo $$r/texinfo/makeinfo/makeinfo ; \
189 else if (makeinfo --version \
190 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
191 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
193 # This just becomes part of the MAKEINFO definition passed down to
194 # sub-makes. It lets flags be given on the command line while still
195 # using the makeinfo from the object tree.
196 # (Default to avoid splitting info files by setting the threshold high.)
197 MAKEINFOFLAGS = --split-size=5000000
199 EXPECT = `if [ -f $$r/expect/expect ] ; \
200 then echo $$r/expect/expect ; \
201 else echo expect ; fi`
203 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
204 then echo $$s/dejagnu/runtest ; \
205 else echo runtest ; fi`
207 # ---------------------------------------------
208 # Programs producing files for the HOST machine
209 # ---------------------------------------------
211 # This is the list of directories that may be needed in RPATH_ENVVAR
212 # so that programs built for the host machine work.
213 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
215 AS = @AS@
217 AR = @AR@
218 AR_FLAGS = rc
220 CC = @CC@
221 CFLAGS = @CFLAGS@
222 LIBCFLAGS = $(CFLAGS)
224 CXX = @CXX@
225 CXXFLAGS = @CXXFLAGS@
226 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
228 DLLTOOL = @DLLTOOL@
230 NM = @NM@
232 LD = @LD@
233 LDFLAGS =
235 RANLIB = @RANLIB@
237 WINDRES = @WINDRES@
239 PICFLAG =
241 # -----------------------------------------------
242 # Programs producing files for the TARGET machine
243 # -----------------------------------------------
245 # This is the list of directories that may be needed in RPATH_ENVVAR
246 # so that prorgams built for the target machine work.
247 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
249 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
251 AR_FOR_TARGET=@AR_FOR_TARGET@
252 USUAL_AR_FOR_TARGET = ` \
253 if [ -f $$r/binutils/ar ] ; then \
254 echo $$r/binutils/ar ; \
255 else \
256 if [ '$(host)' = '$(target)' ] ; then \
257 echo $(AR); \
258 else \
259 echo ar | sed '$(program_transform_name)' ; \
260 fi; \
263 AS_FOR_TARGET=@AS_FOR_TARGET@
264 USUAL_AS_FOR_TARGET = ` \
265 if [ -f $$r/gas/as-new ] ; then \
266 echo $$r/gas/as-new ; \
267 elif [ -f $$r/gcc/xgcc ]; then \
268 $(CC_FOR_TARGET) -print-prog-name=as ; \
269 else \
270 if [ '$(host)' = '$(target)' ] ; then \
271 echo $(AS); \
272 else \
273 echo as | sed '$(program_transform_name)' ; \
274 fi; \
277 CC_FOR_TARGET = @CC_FOR_TARGET@
278 # During gcc bootstrap, if we use some random cc for stage1 then
279 # CFLAGS will be just -g. We want to ensure that TARGET libraries
280 # (which we know are built with gcc) are built with optimizations so
281 # prepend -O2 when setting CFLAGS_FOR_TARGET.
282 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
283 # If GCC_FOR_TARGET is not overriden on the command line, then this
284 # variable is passed down to the gcc Makefile, where it is used to
285 # build libgcc2.a. We define it here so that it can itself be
286 # overridden on the command line.
287 GCC_FOR_TARGET=@GCC_FOR_TARGET@
288 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
289 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
291 CXX_FOR_TARGET = @CXX_FOR_TARGET@
292 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
293 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
294 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
295 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
296 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
298 DLLTOOL_FOR_TARGET=@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 dlltool | sed '$(program_transform_name)' ; \
307 fi; \
310 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
312 LD_FOR_TARGET=@LD_FOR_TARGET@
313 USUAL_LD_FOR_TARGET = ` \
314 if [ -f $$r/ld/ld-new ] ; then \
315 echo $$r/ld/ld-new ; \
316 elif [ -f $$r/gcc/xgcc ]; then \
317 $(CC_FOR_TARGET) -print-prog-name=ld ; \
318 else \
319 if [ '$(host)' = '$(target)' ] ; then \
320 echo $(LD); \
321 else \
322 echo ld | sed '$(program_transform_name)' ; \
323 fi; \
326 LDFLAGS_FOR_TARGET =
328 NM_FOR_TARGET=@NM_FOR_TARGET@
329 USUAL_NM_FOR_TARGET = ` \
330 if [ -f $$r/binutils/nm-new ] ; then \
331 echo $$r/binutils/nm-new ; \
332 elif [ -f $$r/gcc/xgcc ]; then \
333 $(CC_FOR_TARGET) -print-prog-name=nm ; \
334 else \
335 if [ '$(host)' = '$(target)' ] ; then \
336 echo $(NM); \
337 else \
338 echo nm | sed '$(program_transform_name)' ; \
339 fi; \
342 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
343 USUAL_RANLIB_FOR_TARGET = ` \
344 if [ -f $$r/binutils/ranlib ] ; then \
345 echo $$r/binutils/ranlib ; \
346 else \
347 if [ '$(host)' = '$(target)' ] ; then \
348 if [ x'$(RANLIB)' != x ]; then \
349 echo $(RANLIB); \
350 else \
351 echo ranlib; \
352 fi; \
353 else \
354 echo ranlib | sed '$(program_transform_name)' ; \
355 fi; \
358 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
359 USUAL_WINDRES_FOR_TARGET = ` \
360 if [ -f $$r/binutils/windres ] ; then \
361 echo $$r/binutils/windres ; \
362 else \
363 if [ '$(host)' = '$(target)' ] ; then \
364 echo $(WINDRES); \
365 else \
366 echo windres | sed '$(program_transform_name)' ; \
367 fi; \
370 PICFLAG_FOR_TARGET =
372 # ------------------------------------
373 # Miscellaneous targets and flag lists
374 # ------------------------------------
376 # The first rule in the file had better be this one. Don't put any above it.
377 # This lives here to allow makefile fragments to contain dependencies.
378 all: all.normal
379 .PHONY: all
381 #### host and target specific makefile fragments come in here.
382 @target_makefile_frag@
383 @alphaieee_frag@
384 @ospace_frag@
385 @host_makefile_frag@
388 # Flags to pass down to all sub-makes.
389 # Please keep these in alphabetical order.
390 BASE_FLAGS_TO_PASS = \
391 "AR_FLAGS=$(AR_FLAGS)" \
392 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
393 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
394 "BISON=$(BISON)" \
395 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
396 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
397 "CFLAGS=$(CFLAGS)" \
398 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
399 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
400 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
401 "CXXFLAGS=$(CXXFLAGS)" \
402 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
403 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
404 "DESTDIR=$(DESTDIR)" \
405 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
406 "INSTALL=$(INSTALL)" \
407 "INSTALL_DATA=$(INSTALL_DATA)" \
408 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
409 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
410 "LDFLAGS=$(LDFLAGS)" \
411 "LEX=$(LEX)" \
412 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
413 "LIBCFLAGS=$(LIBCFLAGS)" \
414 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
415 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
416 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
417 "M4=$(M4)" \
418 "MAKE=$(MAKE)" \
419 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
420 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
421 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
422 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
423 "SHELL=$(SHELL)" \
424 "EXPECT=$(EXPECT)" \
425 "RUNTEST=$(RUNTEST)" \
426 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
427 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
428 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
429 "YACC=$(YACC)" \
430 "bindir=$(bindir)" \
431 "datadir=$(datadir)" \
432 "exec_prefix=$(exec_prefix)" \
433 "includedir=$(includedir)" \
434 "infodir=$(infodir)" \
435 "libdir=$(libdir)" \
436 "libexecdir=$(libexecdir)" \
437 "lispdir=$(lispdir)" \
438 "libstdcxx_incdir=$(libstdcxx_incdir)" \
439 "libsubdir=$(libsubdir)" \
440 "localstatedir=$(localstatedir)" \
441 "mandir=$(mandir)" \
442 "oldincludedir=$(oldincludedir)" \
443 "prefix=$(prefix)" \
444 "sbindir=$(sbindir)" \
445 "sharedstatedir=$(sharedstatedir)" \
446 "sysconfdir=$(sysconfdir)" \
447 "tooldir=$(tooldir)" \
448 "build_tooldir=$(build_tooldir)" \
449 "gxx_include_dir=$(gxx_include_dir)" \
450 "gcc_version=$(gcc_version)" \
451 "gcc_version_trigger=$(gcc_version_trigger)" \
452 "target_alias=$(target_alias)"
454 # For any flags above that may contain shell code that varies from one
455 # target library to another. When doing recursive invocations of the
456 # top-level Makefile, we don't want the outer make to evaluate them,
457 # so we pass these variables down unchanged. They must not contain
458 # single nor double quotes.
459 RECURSE_FLAGS = \
460 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
461 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
463 # Flags to pass down to most sub-makes, in which we're building with
464 # the host environment.
465 EXTRA_HOST_FLAGS = \
466 'AR=$(AR)' \
467 'AS=$(AS)' \
468 'CC=$(CC)' \
469 'CXX=$(CXX)' \
470 'DLLTOOL=$(DLLTOOL)' \
471 'LD=$(LD)' \
472 'NM=$(NM)' \
473 'RANLIB=$(RANLIB)' \
474 'WINDRES=$(WINDRES)'
476 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
478 # Flags that are concerned with the location of the X11 include files
479 # and library files
481 # NOTE: until the top-level is getting the values via autoconf, it only
482 # causes problems to have this top-level Makefile overriding the autoconf-set
483 # values in child directories. Only variables that don't conflict with
484 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
486 X11_FLAGS_TO_PASS = \
487 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
488 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
490 # Flags to pass down to makes which are built with the target environment.
491 # The double $ decreases the length of the command line; the variables
492 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
493 EXTRA_TARGET_FLAGS = \
494 'AR=$$(AR_FOR_TARGET)' \
495 'AS=$$(AS_FOR_TARGET)' \
496 'CC=$$(CC_FOR_TARGET)' \
497 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
498 'CXX=$$(CXX_FOR_TARGET)' \
499 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
500 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
501 'LD=$$(LD_FOR_TARGET)' \
502 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
503 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
504 'NM=$$(NM_FOR_TARGET)' \
505 'RANLIB=$$(RANLIB_FOR_TARGET)' \
506 'WINDRES=$$(WINDRES_FOR_TARGET)'
508 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
510 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
511 # unfortunately needs the native compiler and the target ar and
512 # ranlib.
513 # If any variables are added here, they must be added to do-*, below.
514 # The BUILD_* variables are a special case, which are used for the gcc
515 # cross-building scheme.
516 EXTRA_GCC_FLAGS = \
517 'AR=$(AR)' \
518 'AS=$(AS)' \
519 'CC=$(CC)' \
520 'CXX=$(CXX)' \
521 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
522 'BUILD_PREFIX=$(BUILD_PREFIX)' \
523 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
524 'NM=$(NM)' \
525 'RANLIB=$(RANLIB)' \
526 'WINDRES=$$(WINDRES_FOR_TARGET)' \
527 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
528 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
529 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
530 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
531 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
532 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
533 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
534 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
535 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
536 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
537 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
539 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
541 .PHONY: configure-host
542 configure-host: maybe-configure-gcc \
543 maybe-configure-ash \
544 maybe-configure-autoconf \
545 maybe-configure-automake \
546 maybe-configure-bash \
547 maybe-configure-bfd \
548 maybe-configure-opcodes \
549 maybe-configure-binutils \
550 maybe-configure-bison \
551 maybe-configure-byacc \
552 maybe-configure-bzip2 \
553 maybe-configure-dejagnu \
554 maybe-configure-diff \
555 maybe-configure-dosutils \
556 maybe-configure-etc \
557 maybe-configure-fastjar \
558 maybe-configure-fileutils \
559 maybe-configure-findutils \
560 maybe-configure-find \
561 maybe-configure-flex \
562 maybe-configure-gas \
563 maybe-configure-gawk \
564 maybe-configure-gettext \
565 maybe-configure-gnuserv \
566 maybe-configure-gprof \
567 maybe-configure-gzip \
568 maybe-configure-hello \
569 maybe-configure-indent \
570 maybe-configure-intl \
571 maybe-configure-tcl \
572 maybe-configure-itcl \
573 maybe-configure-ld \
574 maybe-configure-libgui \
575 maybe-configure-libiberty \
576 maybe-configure-libtool \
577 maybe-configure-m4 \
578 maybe-configure-make \
579 maybe-configure-mmalloc \
580 maybe-configure-patch \
581 maybe-configure-perl \
582 maybe-configure-prms \
583 maybe-configure-rcs \
584 maybe-configure-readline \
585 maybe-configure-release \
586 maybe-configure-recode \
587 maybe-configure-sed \
588 maybe-configure-send-pr \
589 maybe-configure-shellutils \
590 maybe-configure-sid \
591 maybe-configure-sim \
592 maybe-configure-tar \
593 maybe-configure-texinfo \
594 maybe-configure-textutils \
595 maybe-configure-time \
596 maybe-configure-uudecode \
597 maybe-configure-wdiff \
598 maybe-configure-zip \
599 maybe-configure-zlib \
600 maybe-configure-gdb \
601 maybe-configure-expect \
602 maybe-configure-guile \
603 maybe-configure-tk \
604 maybe-configure-tix \
605 maybe-configure-libtermcap \
606 maybe-configure-utils
607 .PHONY: configure-target
608 configure-target: \
609 maybe-configure-target-libstdc++-v3 \
610 maybe-configure-target-newlib \
611 maybe-configure-target-libf2c \
612 maybe-configure-target-libobjc \
613 maybe-configure-target-libtermcap \
614 maybe-configure-target-winsup \
615 maybe-configure-target-libgloss \
616 maybe-configure-target-libiberty \
617 maybe-configure-target-gperf \
618 maybe-configure-target-examples \
619 maybe-configure-target-libffi \
620 maybe-configure-target-libjava \
621 maybe-configure-target-zlib \
622 maybe-configure-target-boehm-gc \
623 maybe-configure-target-qthreads \
624 maybe-configure-target-rda
626 # The target built for a native build.
627 .PHONY: all.normal
628 all.normal: @all_build_modules@ all-host all-target
630 .PHONY: all-host
631 all-host: maybe-all-gcc \
632 maybe-all-ash \
633 maybe-all-autoconf \
634 maybe-all-automake \
635 maybe-all-bash \
636 maybe-all-bfd \
637 maybe-all-opcodes \
638 maybe-all-binutils \
639 maybe-all-bison \
640 maybe-all-byacc \
641 maybe-all-bzip2 \
642 maybe-all-dejagnu \
643 maybe-all-diff \
644 maybe-all-dosutils \
645 maybe-all-etc \
646 maybe-all-fastjar \
647 maybe-all-fileutils \
648 maybe-all-findutils \
649 maybe-all-find \
650 maybe-all-flex \
651 maybe-all-gas \
652 maybe-all-gawk \
653 maybe-all-gettext \
654 maybe-all-gnuserv \
655 maybe-all-gprof \
656 maybe-all-gzip \
657 maybe-all-hello \
658 maybe-all-indent \
659 maybe-all-intl \
660 maybe-all-tcl \
661 maybe-all-itcl \
662 maybe-all-ld \
663 maybe-all-libgui \
664 maybe-all-libiberty \
665 maybe-all-libtool \
666 maybe-all-m4 \
667 maybe-all-make \
668 maybe-all-mmalloc \
669 maybe-all-patch \
670 maybe-all-perl \
671 maybe-all-prms \
672 maybe-all-rcs \
673 maybe-all-readline \
674 maybe-all-release \
675 maybe-all-recode \
676 maybe-all-sed \
677 maybe-all-send-pr \
678 maybe-all-shellutils \
679 maybe-all-sid \
680 maybe-all-sim \
681 maybe-all-tar \
682 maybe-all-texinfo \
683 maybe-all-textutils \
684 maybe-all-time \
685 maybe-all-uudecode \
686 maybe-all-wdiff \
687 maybe-all-zip \
688 maybe-all-zlib \
689 maybe-all-gdb \
690 maybe-all-expect \
691 maybe-all-guile \
692 maybe-all-tk \
693 maybe-all-tix \
694 maybe-all-libtermcap \
695 maybe-all-utils
696 .PHONY: all-target
697 all-target: \
698 maybe-all-target-libstdc++-v3 \
699 maybe-all-target-newlib \
700 maybe-all-target-libf2c \
701 maybe-all-target-libobjc \
702 maybe-all-target-libtermcap \
703 maybe-all-target-winsup \
704 maybe-all-target-libgloss \
705 maybe-all-target-libiberty \
706 maybe-all-target-gperf \
707 maybe-all-target-examples \
708 maybe-all-target-libffi \
709 maybe-all-target-libjava \
710 maybe-all-target-zlib \
711 maybe-all-target-boehm-gc \
712 maybe-all-target-qthreads \
713 maybe-all-target-rda
715 # Do a target for all the subdirectories. A ``make do-X'' will do a
716 # ``make X'' in all subdirectories (because, in general, there is a
717 # dependency (below) of X upon do-X, a ``make X'' will also do this,
718 # but it may do additional work as well).
720 .PHONY: do-info
721 do-info: info-host info-target
723 .PHONY: info-host
724 info-host: maybe-info-gcc \
725 maybe-info-ash \
726 maybe-info-autoconf \
727 maybe-info-automake \
728 maybe-info-bash \
729 maybe-info-bfd \
730 maybe-info-opcodes \
731 maybe-info-binutils \
732 maybe-info-bison \
733 maybe-info-byacc \
734 maybe-info-bzip2 \
735 maybe-info-dejagnu \
736 maybe-info-diff \
737 maybe-info-dosutils \
738 maybe-info-etc \
739 maybe-info-fastjar \
740 maybe-info-fileutils \
741 maybe-info-findutils \
742 maybe-info-find \
743 maybe-info-flex \
744 maybe-info-gas \
745 maybe-info-gawk \
746 maybe-info-gettext \
747 maybe-info-gnuserv \
748 maybe-info-gprof \
749 maybe-info-gzip \
750 maybe-info-hello \
751 maybe-info-indent \
752 maybe-info-intl \
753 maybe-info-tcl \
754 maybe-info-itcl \
755 maybe-info-ld \
756 maybe-info-libgui \
757 maybe-info-libiberty \
758 maybe-info-libtool \
759 maybe-info-m4 \
760 maybe-info-make \
761 maybe-info-mmalloc \
762 maybe-info-patch \
763 maybe-info-perl \
764 maybe-info-prms \
765 maybe-info-rcs \
766 maybe-info-readline \
767 maybe-info-release \
768 maybe-info-recode \
769 maybe-info-sed \
770 maybe-info-send-pr \
771 maybe-info-shellutils \
772 maybe-info-sid \
773 maybe-info-sim \
774 maybe-info-tar \
775 maybe-info-texinfo \
776 maybe-info-textutils \
777 maybe-info-time \
778 maybe-info-uudecode \
779 maybe-info-wdiff \
780 maybe-info-zip \
781 maybe-info-zlib \
782 maybe-info-gdb \
783 maybe-info-expect \
784 maybe-info-guile \
785 maybe-info-tk \
786 maybe-info-tix \
787 maybe-info-libtermcap \
788 maybe-info-utils
790 .PHONY: info-target
791 info-target: \
792 maybe-info-target-libstdc++-v3 \
793 maybe-info-target-newlib \
794 maybe-info-target-libf2c \
795 maybe-info-target-libobjc \
796 maybe-info-target-libtermcap \
797 maybe-info-target-winsup \
798 maybe-info-target-libgloss \
799 maybe-info-target-libiberty \
800 maybe-info-target-gperf \
801 maybe-info-target-examples \
802 maybe-info-target-libffi \
803 maybe-info-target-libjava \
804 maybe-info-target-zlib \
805 maybe-info-target-boehm-gc \
806 maybe-info-target-qthreads \
807 maybe-info-target-rda
809 # GCC, the eternal special case
810 .PHONY: maybe-info-gcc info-gcc
811 maybe-info-gcc:
812 info-gcc: \
813 configure-gcc
814 @[ -f ./gcc/Makefile ] || exit 0; \
815 r=`${PWD}`; export r; \
816 s=`cd $(srcdir); ${PWD}`; export s; \
817 $(SET_LIB_PATH) \
818 for flag in $(EXTRA_GCC_FLAGS); do \
819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
820 done; \
821 echo "Doing info in gcc" ; \
822 (cd gcc && \
823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
825 "RANLIB=$${RANLIB}" \
826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
827 info) \
828 || exit 1
830 # Host modules.
832 .PHONY: maybe-info-ash info-ash
833 maybe-info-ash:
835 info-ash: \
836 configure-ash
837 @[ -f ./ash/Makefile ] || exit 0; \
838 r=`${PWD}`; export r; \
839 s=`cd $(srcdir); ${PWD}`; export s; \
840 $(SET_LIB_PATH) \
841 for flag in $(EXTRA_HOST_FLAGS); do \
842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
843 done; \
844 echo "Doing info in ash" ; \
845 (cd ash && \
846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
848 "RANLIB=$${RANLIB}" \
849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
850 info) \
851 || exit 1
854 .PHONY: maybe-info-autoconf info-autoconf
855 maybe-info-autoconf:
857 info-autoconf: \
858 configure-autoconf
859 @[ -f ./autoconf/Makefile ] || exit 0; \
860 r=`${PWD}`; export r; \
861 s=`cd $(srcdir); ${PWD}`; export s; \
862 $(SET_LIB_PATH) \
863 for flag in $(EXTRA_HOST_FLAGS); do \
864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
865 done; \
866 echo "Doing info in autoconf" ; \
867 (cd autoconf && \
868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
870 "RANLIB=$${RANLIB}" \
871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
872 info) \
873 || exit 1
876 .PHONY: maybe-info-automake info-automake
877 maybe-info-automake:
879 info-automake: \
880 configure-automake
881 @[ -f ./automake/Makefile ] || exit 0; \
882 r=`${PWD}`; export r; \
883 s=`cd $(srcdir); ${PWD}`; export s; \
884 $(SET_LIB_PATH) \
885 for flag in $(EXTRA_HOST_FLAGS); do \
886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
887 done; \
888 echo "Doing info in automake" ; \
889 (cd automake && \
890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
892 "RANLIB=$${RANLIB}" \
893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
894 info) \
895 || exit 1
898 .PHONY: maybe-info-bash info-bash
899 maybe-info-bash:
901 info-bash: \
902 configure-bash
903 @[ -f ./bash/Makefile ] || exit 0; \
904 r=`${PWD}`; export r; \
905 s=`cd $(srcdir); ${PWD}`; export s; \
906 $(SET_LIB_PATH) \
907 for flag in $(EXTRA_HOST_FLAGS); do \
908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
909 done; \
910 echo "Doing info in bash" ; \
911 (cd bash && \
912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
914 "RANLIB=$${RANLIB}" \
915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
916 info) \
917 || exit 1
920 .PHONY: maybe-info-bfd info-bfd
921 maybe-info-bfd:
923 info-bfd: \
924 configure-bfd
925 @[ -f ./bfd/Makefile ] || exit 0; \
926 r=`${PWD}`; export r; \
927 s=`cd $(srcdir); ${PWD}`; export s; \
928 $(SET_LIB_PATH) \
929 for flag in $(EXTRA_HOST_FLAGS); do \
930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
931 done; \
932 echo "Doing info in bfd" ; \
933 (cd bfd && \
934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
936 "RANLIB=$${RANLIB}" \
937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
938 info) \
939 || exit 1
942 .PHONY: maybe-info-opcodes info-opcodes
943 maybe-info-opcodes:
945 info-opcodes: \
946 configure-opcodes
947 @[ -f ./opcodes/Makefile ] || exit 0; \
948 r=`${PWD}`; export r; \
949 s=`cd $(srcdir); ${PWD}`; export s; \
950 $(SET_LIB_PATH) \
951 for flag in $(EXTRA_HOST_FLAGS); do \
952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
953 done; \
954 echo "Doing info in opcodes" ; \
955 (cd opcodes && \
956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
958 "RANLIB=$${RANLIB}" \
959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
960 info) \
961 || exit 1
964 .PHONY: maybe-info-binutils info-binutils
965 maybe-info-binutils:
967 info-binutils: \
968 configure-binutils
969 @[ -f ./binutils/Makefile ] || exit 0; \
970 r=`${PWD}`; export r; \
971 s=`cd $(srcdir); ${PWD}`; export s; \
972 $(SET_LIB_PATH) \
973 for flag in $(EXTRA_HOST_FLAGS); do \
974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
975 done; \
976 echo "Doing info in binutils" ; \
977 (cd binutils && \
978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
980 "RANLIB=$${RANLIB}" \
981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
982 info) \
983 || exit 1
986 .PHONY: maybe-info-bison info-bison
987 maybe-info-bison:
989 info-bison: \
990 configure-bison
991 @[ -f ./bison/Makefile ] || exit 0; \
992 r=`${PWD}`; export r; \
993 s=`cd $(srcdir); ${PWD}`; export s; \
994 $(SET_LIB_PATH) \
995 for flag in $(EXTRA_HOST_FLAGS); do \
996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
997 done; \
998 echo "Doing info in bison" ; \
999 (cd bison && \
1000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1002 "RANLIB=$${RANLIB}" \
1003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1004 info) \
1005 || exit 1
1008 .PHONY: maybe-info-byacc info-byacc
1009 maybe-info-byacc:
1011 info-byacc: \
1012 configure-byacc
1013 @[ -f ./byacc/Makefile ] || exit 0; \
1014 r=`${PWD}`; export r; \
1015 s=`cd $(srcdir); ${PWD}`; export s; \
1016 $(SET_LIB_PATH) \
1017 for flag in $(EXTRA_HOST_FLAGS); do \
1018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1019 done; \
1020 echo "Doing info in byacc" ; \
1021 (cd byacc && \
1022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1024 "RANLIB=$${RANLIB}" \
1025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1026 info) \
1027 || exit 1
1030 .PHONY: maybe-info-bzip2 info-bzip2
1031 maybe-info-bzip2:
1033 info-bzip2: \
1034 configure-bzip2
1035 @[ -f ./bzip2/Makefile ] || exit 0; \
1036 r=`${PWD}`; export r; \
1037 s=`cd $(srcdir); ${PWD}`; export s; \
1038 $(SET_LIB_PATH) \
1039 for flag in $(EXTRA_HOST_FLAGS); do \
1040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1041 done; \
1042 echo "Doing info in bzip2" ; \
1043 (cd bzip2 && \
1044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1046 "RANLIB=$${RANLIB}" \
1047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1048 info) \
1049 || exit 1
1052 .PHONY: maybe-info-dejagnu info-dejagnu
1053 maybe-info-dejagnu:
1055 info-dejagnu: \
1056 configure-dejagnu
1057 @[ -f ./dejagnu/Makefile ] || exit 0; \
1058 r=`${PWD}`; export r; \
1059 s=`cd $(srcdir); ${PWD}`; export s; \
1060 $(SET_LIB_PATH) \
1061 for flag in $(EXTRA_HOST_FLAGS); do \
1062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1063 done; \
1064 echo "Doing info in dejagnu" ; \
1065 (cd dejagnu && \
1066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1068 "RANLIB=$${RANLIB}" \
1069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1070 info) \
1071 || exit 1
1074 .PHONY: maybe-info-diff info-diff
1075 maybe-info-diff:
1077 info-diff: \
1078 configure-diff
1079 @[ -f ./diff/Makefile ] || exit 0; \
1080 r=`${PWD}`; export r; \
1081 s=`cd $(srcdir); ${PWD}`; export s; \
1082 $(SET_LIB_PATH) \
1083 for flag in $(EXTRA_HOST_FLAGS); do \
1084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1085 done; \
1086 echo "Doing info in diff" ; \
1087 (cd diff && \
1088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1090 "RANLIB=$${RANLIB}" \
1091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1092 info) \
1093 || exit 1
1096 .PHONY: maybe-info-dosutils info-dosutils
1097 maybe-info-dosutils:
1099 info-dosutils: \
1100 configure-dosutils
1101 @[ -f ./dosutils/Makefile ] || exit 0; \
1102 r=`${PWD}`; export r; \
1103 s=`cd $(srcdir); ${PWD}`; export s; \
1104 $(SET_LIB_PATH) \
1105 for flag in $(EXTRA_HOST_FLAGS); do \
1106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1107 done; \
1108 echo "Doing info in dosutils" ; \
1109 (cd dosutils && \
1110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1112 "RANLIB=$${RANLIB}" \
1113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1114 info) \
1115 || exit 1
1118 .PHONY: maybe-info-etc info-etc
1119 maybe-info-etc:
1121 info-etc: \
1122 configure-etc
1123 @[ -f ./etc/Makefile ] || exit 0; \
1124 r=`${PWD}`; export r; \
1125 s=`cd $(srcdir); ${PWD}`; export s; \
1126 $(SET_LIB_PATH) \
1127 for flag in $(EXTRA_HOST_FLAGS); do \
1128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1129 done; \
1130 echo "Doing info in etc" ; \
1131 (cd etc && \
1132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1134 "RANLIB=$${RANLIB}" \
1135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1136 info) \
1137 || exit 1
1140 .PHONY: maybe-info-fastjar info-fastjar
1141 maybe-info-fastjar:
1143 info-fastjar: \
1144 configure-fastjar
1145 @[ -f ./fastjar/Makefile ] || exit 0; \
1146 r=`${PWD}`; export r; \
1147 s=`cd $(srcdir); ${PWD}`; export s; \
1148 $(SET_LIB_PATH) \
1149 for flag in $(EXTRA_HOST_FLAGS); do \
1150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1151 done; \
1152 echo "Doing info in fastjar" ; \
1153 (cd fastjar && \
1154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1156 "RANLIB=$${RANLIB}" \
1157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1158 info) \
1159 || exit 1
1162 .PHONY: maybe-info-fileutils info-fileutils
1163 maybe-info-fileutils:
1165 info-fileutils: \
1166 configure-fileutils
1167 @[ -f ./fileutils/Makefile ] || exit 0; \
1168 r=`${PWD}`; export r; \
1169 s=`cd $(srcdir); ${PWD}`; export s; \
1170 $(SET_LIB_PATH) \
1171 for flag in $(EXTRA_HOST_FLAGS); do \
1172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1173 done; \
1174 echo "Doing info in fileutils" ; \
1175 (cd fileutils && \
1176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1178 "RANLIB=$${RANLIB}" \
1179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1180 info) \
1181 || exit 1
1184 .PHONY: maybe-info-findutils info-findutils
1185 maybe-info-findutils:
1187 info-findutils: \
1188 configure-findutils
1189 @[ -f ./findutils/Makefile ] || exit 0; \
1190 r=`${PWD}`; export r; \
1191 s=`cd $(srcdir); ${PWD}`; export s; \
1192 $(SET_LIB_PATH) \
1193 for flag in $(EXTRA_HOST_FLAGS); do \
1194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1195 done; \
1196 echo "Doing info in findutils" ; \
1197 (cd findutils && \
1198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1200 "RANLIB=$${RANLIB}" \
1201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1202 info) \
1203 || exit 1
1206 .PHONY: maybe-info-find info-find
1207 maybe-info-find:
1209 info-find: \
1210 configure-find
1211 @[ -f ./find/Makefile ] || exit 0; \
1212 r=`${PWD}`; export r; \
1213 s=`cd $(srcdir); ${PWD}`; export s; \
1214 $(SET_LIB_PATH) \
1215 for flag in $(EXTRA_HOST_FLAGS); do \
1216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1217 done; \
1218 echo "Doing info in find" ; \
1219 (cd find && \
1220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1222 "RANLIB=$${RANLIB}" \
1223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1224 info) \
1225 || exit 1
1228 .PHONY: maybe-info-flex info-flex
1229 maybe-info-flex:
1231 info-flex: \
1232 configure-flex
1233 @[ -f ./flex/Makefile ] || exit 0; \
1234 r=`${PWD}`; export r; \
1235 s=`cd $(srcdir); ${PWD}`; export s; \
1236 $(SET_LIB_PATH) \
1237 for flag in $(EXTRA_HOST_FLAGS); do \
1238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1239 done; \
1240 echo "Doing info in flex" ; \
1241 (cd flex && \
1242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1244 "RANLIB=$${RANLIB}" \
1245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1246 info) \
1247 || exit 1
1250 .PHONY: maybe-info-gas info-gas
1251 maybe-info-gas:
1253 info-gas: \
1254 configure-gas
1255 @[ -f ./gas/Makefile ] || exit 0; \
1256 r=`${PWD}`; export r; \
1257 s=`cd $(srcdir); ${PWD}`; export s; \
1258 $(SET_LIB_PATH) \
1259 for flag in $(EXTRA_HOST_FLAGS); do \
1260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1261 done; \
1262 echo "Doing info in gas" ; \
1263 (cd gas && \
1264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1266 "RANLIB=$${RANLIB}" \
1267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1268 info) \
1269 || exit 1
1272 .PHONY: maybe-info-gawk info-gawk
1273 maybe-info-gawk:
1275 info-gawk: \
1276 configure-gawk
1277 @[ -f ./gawk/Makefile ] || exit 0; \
1278 r=`${PWD}`; export r; \
1279 s=`cd $(srcdir); ${PWD}`; export s; \
1280 $(SET_LIB_PATH) \
1281 for flag in $(EXTRA_HOST_FLAGS); do \
1282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1283 done; \
1284 echo "Doing info in gawk" ; \
1285 (cd gawk && \
1286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1288 "RANLIB=$${RANLIB}" \
1289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1290 info) \
1291 || exit 1
1294 .PHONY: maybe-info-gettext info-gettext
1295 maybe-info-gettext:
1297 info-gettext: \
1298 configure-gettext
1299 @[ -f ./gettext/Makefile ] || exit 0; \
1300 r=`${PWD}`; export r; \
1301 s=`cd $(srcdir); ${PWD}`; export s; \
1302 $(SET_LIB_PATH) \
1303 for flag in $(EXTRA_HOST_FLAGS); do \
1304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1305 done; \
1306 echo "Doing info in gettext" ; \
1307 (cd gettext && \
1308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1310 "RANLIB=$${RANLIB}" \
1311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1312 info) \
1313 || exit 1
1316 .PHONY: maybe-info-gnuserv info-gnuserv
1317 maybe-info-gnuserv:
1319 info-gnuserv: \
1320 configure-gnuserv
1321 @[ -f ./gnuserv/Makefile ] || exit 0; \
1322 r=`${PWD}`; export r; \
1323 s=`cd $(srcdir); ${PWD}`; export s; \
1324 $(SET_LIB_PATH) \
1325 for flag in $(EXTRA_HOST_FLAGS); do \
1326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1327 done; \
1328 echo "Doing info in gnuserv" ; \
1329 (cd gnuserv && \
1330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1332 "RANLIB=$${RANLIB}" \
1333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1334 info) \
1335 || exit 1
1338 .PHONY: maybe-info-gprof info-gprof
1339 maybe-info-gprof:
1341 info-gprof: \
1342 configure-gprof
1343 @[ -f ./gprof/Makefile ] || exit 0; \
1344 r=`${PWD}`; export r; \
1345 s=`cd $(srcdir); ${PWD}`; export s; \
1346 $(SET_LIB_PATH) \
1347 for flag in $(EXTRA_HOST_FLAGS); do \
1348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1349 done; \
1350 echo "Doing info in gprof" ; \
1351 (cd gprof && \
1352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1354 "RANLIB=$${RANLIB}" \
1355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1356 info) \
1357 || exit 1
1360 .PHONY: maybe-info-gzip info-gzip
1361 maybe-info-gzip:
1363 info-gzip: \
1364 configure-gzip
1365 @[ -f ./gzip/Makefile ] || exit 0; \
1366 r=`${PWD}`; export r; \
1367 s=`cd $(srcdir); ${PWD}`; export s; \
1368 $(SET_LIB_PATH) \
1369 for flag in $(EXTRA_HOST_FLAGS); do \
1370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1371 done; \
1372 echo "Doing info in gzip" ; \
1373 (cd gzip && \
1374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1376 "RANLIB=$${RANLIB}" \
1377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1378 info) \
1379 || exit 1
1382 .PHONY: maybe-info-hello info-hello
1383 maybe-info-hello:
1385 info-hello: \
1386 configure-hello
1387 @[ -f ./hello/Makefile ] || exit 0; \
1388 r=`${PWD}`; export r; \
1389 s=`cd $(srcdir); ${PWD}`; export s; \
1390 $(SET_LIB_PATH) \
1391 for flag in $(EXTRA_HOST_FLAGS); do \
1392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1393 done; \
1394 echo "Doing info in hello" ; \
1395 (cd hello && \
1396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1398 "RANLIB=$${RANLIB}" \
1399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1400 info) \
1401 || exit 1
1404 .PHONY: maybe-info-indent info-indent
1405 maybe-info-indent:
1407 info-indent: \
1408 configure-indent
1409 @[ -f ./indent/Makefile ] || exit 0; \
1410 r=`${PWD}`; export r; \
1411 s=`cd $(srcdir); ${PWD}`; export s; \
1412 $(SET_LIB_PATH) \
1413 for flag in $(EXTRA_HOST_FLAGS); do \
1414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1415 done; \
1416 echo "Doing info in indent" ; \
1417 (cd indent && \
1418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1420 "RANLIB=$${RANLIB}" \
1421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1422 info) \
1423 || exit 1
1426 .PHONY: maybe-info-intl info-intl
1427 maybe-info-intl:
1429 info-intl: \
1430 configure-intl
1431 @[ -f ./intl/Makefile ] || exit 0; \
1432 r=`${PWD}`; export r; \
1433 s=`cd $(srcdir); ${PWD}`; export s; \
1434 $(SET_LIB_PATH) \
1435 for flag in $(EXTRA_HOST_FLAGS); do \
1436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1437 done; \
1438 echo "Doing info in intl" ; \
1439 (cd intl && \
1440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1442 "RANLIB=$${RANLIB}" \
1443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1444 info) \
1445 || exit 1
1448 .PHONY: maybe-info-tcl info-tcl
1449 maybe-info-tcl:
1451 info-tcl: \
1452 configure-tcl
1453 @[ -f ./tcl/Makefile ] || exit 0; \
1454 r=`${PWD}`; export r; \
1455 s=`cd $(srcdir); ${PWD}`; export s; \
1456 $(SET_LIB_PATH) \
1457 for flag in $(EXTRA_HOST_FLAGS); do \
1458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1459 done; \
1460 echo "Doing info in tcl" ; \
1461 (cd tcl && \
1462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1464 "RANLIB=$${RANLIB}" \
1465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1466 info) \
1467 || exit 1
1470 .PHONY: maybe-info-itcl info-itcl
1471 maybe-info-itcl:
1473 info-itcl: \
1474 configure-itcl
1475 @[ -f ./itcl/Makefile ] || exit 0; \
1476 r=`${PWD}`; export r; \
1477 s=`cd $(srcdir); ${PWD}`; export s; \
1478 $(SET_LIB_PATH) \
1479 for flag in $(EXTRA_HOST_FLAGS); do \
1480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1481 done; \
1482 echo "Doing info in itcl" ; \
1483 (cd itcl && \
1484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1486 "RANLIB=$${RANLIB}" \
1487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1488 info) \
1489 || exit 1
1492 .PHONY: maybe-info-ld info-ld
1493 maybe-info-ld:
1495 info-ld: \
1496 configure-ld
1497 @[ -f ./ld/Makefile ] || exit 0; \
1498 r=`${PWD}`; export r; \
1499 s=`cd $(srcdir); ${PWD}`; export s; \
1500 $(SET_LIB_PATH) \
1501 for flag in $(EXTRA_HOST_FLAGS); do \
1502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1503 done; \
1504 echo "Doing info in ld" ; \
1505 (cd ld && \
1506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1508 "RANLIB=$${RANLIB}" \
1509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1510 info) \
1511 || exit 1
1514 .PHONY: maybe-info-libgui info-libgui
1515 maybe-info-libgui:
1517 info-libgui: \
1518 configure-libgui
1519 @[ -f ./libgui/Makefile ] || exit 0; \
1520 r=`${PWD}`; export r; \
1521 s=`cd $(srcdir); ${PWD}`; export s; \
1522 $(SET_LIB_PATH) \
1523 for flag in $(EXTRA_HOST_FLAGS); do \
1524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1525 done; \
1526 echo "Doing info in libgui" ; \
1527 (cd libgui && \
1528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1530 "RANLIB=$${RANLIB}" \
1531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1532 info) \
1533 || exit 1
1536 .PHONY: maybe-info-libiberty info-libiberty
1537 maybe-info-libiberty:
1539 info-libiberty: \
1540 configure-libiberty
1541 @[ -f ./libiberty/Makefile ] || exit 0; \
1542 r=`${PWD}`; export r; \
1543 s=`cd $(srcdir); ${PWD}`; export s; \
1544 $(SET_LIB_PATH) \
1545 for flag in $(EXTRA_HOST_FLAGS); do \
1546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1547 done; \
1548 echo "Doing info in libiberty" ; \
1549 (cd libiberty && \
1550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1552 "RANLIB=$${RANLIB}" \
1553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1554 info) \
1555 || exit 1
1558 .PHONY: maybe-info-libtool info-libtool
1559 maybe-info-libtool:
1561 info-libtool: \
1562 configure-libtool
1563 @[ -f ./libtool/Makefile ] || exit 0; \
1564 r=`${PWD}`; export r; \
1565 s=`cd $(srcdir); ${PWD}`; export s; \
1566 $(SET_LIB_PATH) \
1567 for flag in $(EXTRA_HOST_FLAGS); do \
1568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1569 done; \
1570 echo "Doing info in libtool" ; \
1571 (cd libtool && \
1572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1574 "RANLIB=$${RANLIB}" \
1575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1576 info) \
1577 || exit 1
1580 .PHONY: maybe-info-m4 info-m4
1581 maybe-info-m4:
1583 info-m4: \
1584 configure-m4
1585 @[ -f ./m4/Makefile ] || exit 0; \
1586 r=`${PWD}`; export r; \
1587 s=`cd $(srcdir); ${PWD}`; export s; \
1588 $(SET_LIB_PATH) \
1589 for flag in $(EXTRA_HOST_FLAGS); do \
1590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1591 done; \
1592 echo "Doing info in m4" ; \
1593 (cd m4 && \
1594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1596 "RANLIB=$${RANLIB}" \
1597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1598 info) \
1599 || exit 1
1602 .PHONY: maybe-info-make info-make
1603 maybe-info-make:
1605 info-make: \
1606 configure-make
1607 @[ -f ./make/Makefile ] || exit 0; \
1608 r=`${PWD}`; export r; \
1609 s=`cd $(srcdir); ${PWD}`; export s; \
1610 $(SET_LIB_PATH) \
1611 for flag in $(EXTRA_HOST_FLAGS); do \
1612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1613 done; \
1614 echo "Doing info in make" ; \
1615 (cd make && \
1616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1618 "RANLIB=$${RANLIB}" \
1619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1620 info) \
1621 || exit 1
1624 .PHONY: maybe-info-mmalloc info-mmalloc
1625 maybe-info-mmalloc:
1627 info-mmalloc: \
1628 configure-mmalloc
1629 @[ -f ./mmalloc/Makefile ] || exit 0; \
1630 r=`${PWD}`; export r; \
1631 s=`cd $(srcdir); ${PWD}`; export s; \
1632 $(SET_LIB_PATH) \
1633 for flag in $(EXTRA_HOST_FLAGS); do \
1634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1635 done; \
1636 echo "Doing info in mmalloc" ; \
1637 (cd mmalloc && \
1638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1640 "RANLIB=$${RANLIB}" \
1641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1642 info) \
1643 || exit 1
1646 .PHONY: maybe-info-patch info-patch
1647 maybe-info-patch:
1649 info-patch: \
1650 configure-patch
1651 @[ -f ./patch/Makefile ] || exit 0; \
1652 r=`${PWD}`; export r; \
1653 s=`cd $(srcdir); ${PWD}`; export s; \
1654 $(SET_LIB_PATH) \
1655 for flag in $(EXTRA_HOST_FLAGS); do \
1656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1657 done; \
1658 echo "Doing info in patch" ; \
1659 (cd patch && \
1660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1662 "RANLIB=$${RANLIB}" \
1663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1664 info) \
1665 || exit 1
1668 .PHONY: maybe-info-perl info-perl
1669 maybe-info-perl:
1671 info-perl: \
1672 configure-perl
1673 @[ -f ./perl/Makefile ] || exit 0; \
1674 r=`${PWD}`; export r; \
1675 s=`cd $(srcdir); ${PWD}`; export s; \
1676 $(SET_LIB_PATH) \
1677 for flag in $(EXTRA_HOST_FLAGS); do \
1678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1679 done; \
1680 echo "Doing info in perl" ; \
1681 (cd perl && \
1682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1684 "RANLIB=$${RANLIB}" \
1685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1686 info) \
1687 || exit 1
1690 .PHONY: maybe-info-prms info-prms
1691 maybe-info-prms:
1693 info-prms: \
1694 configure-prms
1695 @[ -f ./prms/Makefile ] || exit 0; \
1696 r=`${PWD}`; export r; \
1697 s=`cd $(srcdir); ${PWD}`; export s; \
1698 $(SET_LIB_PATH) \
1699 for flag in $(EXTRA_HOST_FLAGS); do \
1700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1701 done; \
1702 echo "Doing info in prms" ; \
1703 (cd prms && \
1704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1706 "RANLIB=$${RANLIB}" \
1707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1708 info) \
1709 || exit 1
1712 .PHONY: maybe-info-rcs info-rcs
1713 maybe-info-rcs:
1715 info-rcs: \
1716 configure-rcs
1717 @[ -f ./rcs/Makefile ] || exit 0; \
1718 r=`${PWD}`; export r; \
1719 s=`cd $(srcdir); ${PWD}`; export s; \
1720 $(SET_LIB_PATH) \
1721 for flag in $(EXTRA_HOST_FLAGS); do \
1722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1723 done; \
1724 echo "Doing info in rcs" ; \
1725 (cd rcs && \
1726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1728 "RANLIB=$${RANLIB}" \
1729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1730 info) \
1731 || exit 1
1734 .PHONY: maybe-info-readline info-readline
1735 maybe-info-readline:
1737 info-readline: \
1738 configure-readline
1739 @[ -f ./readline/Makefile ] || exit 0; \
1740 r=`${PWD}`; export r; \
1741 s=`cd $(srcdir); ${PWD}`; export s; \
1742 $(SET_LIB_PATH) \
1743 for flag in $(EXTRA_HOST_FLAGS); do \
1744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1745 done; \
1746 echo "Doing info in readline" ; \
1747 (cd readline && \
1748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1750 "RANLIB=$${RANLIB}" \
1751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1752 info) \
1753 || exit 1
1756 .PHONY: maybe-info-release info-release
1757 maybe-info-release:
1759 info-release: \
1760 configure-release
1761 @[ -f ./release/Makefile ] || exit 0; \
1762 r=`${PWD}`; export r; \
1763 s=`cd $(srcdir); ${PWD}`; export s; \
1764 $(SET_LIB_PATH) \
1765 for flag in $(EXTRA_HOST_FLAGS); do \
1766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1767 done; \
1768 echo "Doing info in release" ; \
1769 (cd release && \
1770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1772 "RANLIB=$${RANLIB}" \
1773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1774 info) \
1775 || exit 1
1778 .PHONY: maybe-info-recode info-recode
1779 maybe-info-recode:
1781 info-recode: \
1782 configure-recode
1783 @[ -f ./recode/Makefile ] || exit 0; \
1784 r=`${PWD}`; export r; \
1785 s=`cd $(srcdir); ${PWD}`; export s; \
1786 $(SET_LIB_PATH) \
1787 for flag in $(EXTRA_HOST_FLAGS); do \
1788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1789 done; \
1790 echo "Doing info in recode" ; \
1791 (cd recode && \
1792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1794 "RANLIB=$${RANLIB}" \
1795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1796 info) \
1797 || exit 1
1800 .PHONY: maybe-info-sed info-sed
1801 maybe-info-sed:
1803 info-sed: \
1804 configure-sed
1805 @[ -f ./sed/Makefile ] || exit 0; \
1806 r=`${PWD}`; export r; \
1807 s=`cd $(srcdir); ${PWD}`; export s; \
1808 $(SET_LIB_PATH) \
1809 for flag in $(EXTRA_HOST_FLAGS); do \
1810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1811 done; \
1812 echo "Doing info in sed" ; \
1813 (cd sed && \
1814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1816 "RANLIB=$${RANLIB}" \
1817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1818 info) \
1819 || exit 1
1822 .PHONY: maybe-info-send-pr info-send-pr
1823 maybe-info-send-pr:
1825 info-send-pr: \
1826 configure-send-pr
1827 @[ -f ./send-pr/Makefile ] || exit 0; \
1828 r=`${PWD}`; export r; \
1829 s=`cd $(srcdir); ${PWD}`; export s; \
1830 $(SET_LIB_PATH) \
1831 for flag in $(EXTRA_HOST_FLAGS); do \
1832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1833 done; \
1834 echo "Doing info in send-pr" ; \
1835 (cd send-pr && \
1836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1838 "RANLIB=$${RANLIB}" \
1839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1840 info) \
1841 || exit 1
1844 .PHONY: maybe-info-shellutils info-shellutils
1845 maybe-info-shellutils:
1847 info-shellutils: \
1848 configure-shellutils
1849 @[ -f ./shellutils/Makefile ] || exit 0; \
1850 r=`${PWD}`; export r; \
1851 s=`cd $(srcdir); ${PWD}`; export s; \
1852 $(SET_LIB_PATH) \
1853 for flag in $(EXTRA_HOST_FLAGS); do \
1854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1855 done; \
1856 echo "Doing info in shellutils" ; \
1857 (cd shellutils && \
1858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1860 "RANLIB=$${RANLIB}" \
1861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1862 info) \
1863 || exit 1
1866 .PHONY: maybe-info-sid info-sid
1867 maybe-info-sid:
1869 info-sid: \
1870 configure-sid
1871 @[ -f ./sid/Makefile ] || exit 0; \
1872 r=`${PWD}`; export r; \
1873 s=`cd $(srcdir); ${PWD}`; export s; \
1874 $(SET_LIB_PATH) \
1875 for flag in $(EXTRA_HOST_FLAGS); do \
1876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1877 done; \
1878 echo "Doing info in sid" ; \
1879 (cd sid && \
1880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1882 "RANLIB=$${RANLIB}" \
1883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1884 info) \
1885 || exit 1
1888 .PHONY: maybe-info-sim info-sim
1889 maybe-info-sim:
1891 info-sim: \
1892 configure-sim
1893 @[ -f ./sim/Makefile ] || exit 0; \
1894 r=`${PWD}`; export r; \
1895 s=`cd $(srcdir); ${PWD}`; export s; \
1896 $(SET_LIB_PATH) \
1897 for flag in $(EXTRA_HOST_FLAGS); do \
1898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1899 done; \
1900 echo "Doing info in sim" ; \
1901 (cd sim && \
1902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1904 "RANLIB=$${RANLIB}" \
1905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1906 info) \
1907 || exit 1
1910 .PHONY: maybe-info-tar info-tar
1911 maybe-info-tar:
1913 info-tar: \
1914 configure-tar
1915 @[ -f ./tar/Makefile ] || exit 0; \
1916 r=`${PWD}`; export r; \
1917 s=`cd $(srcdir); ${PWD}`; export s; \
1918 $(SET_LIB_PATH) \
1919 for flag in $(EXTRA_HOST_FLAGS); do \
1920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1921 done; \
1922 echo "Doing info in tar" ; \
1923 (cd tar && \
1924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1926 "RANLIB=$${RANLIB}" \
1927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1928 info) \
1929 || exit 1
1932 .PHONY: maybe-info-texinfo info-texinfo
1933 maybe-info-texinfo:
1935 info-texinfo: \
1936 configure-texinfo
1937 @[ -f ./texinfo/Makefile ] || exit 0; \
1938 r=`${PWD}`; export r; \
1939 s=`cd $(srcdir); ${PWD}`; export s; \
1940 $(SET_LIB_PATH) \
1941 for flag in $(EXTRA_HOST_FLAGS); do \
1942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1943 done; \
1944 echo "Doing info in texinfo" ; \
1945 (cd texinfo && \
1946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1948 "RANLIB=$${RANLIB}" \
1949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1950 info) \
1951 || exit 1
1954 .PHONY: maybe-info-textutils info-textutils
1955 maybe-info-textutils:
1957 info-textutils: \
1958 configure-textutils
1959 @[ -f ./textutils/Makefile ] || exit 0; \
1960 r=`${PWD}`; export r; \
1961 s=`cd $(srcdir); ${PWD}`; export s; \
1962 $(SET_LIB_PATH) \
1963 for flag in $(EXTRA_HOST_FLAGS); do \
1964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1965 done; \
1966 echo "Doing info in textutils" ; \
1967 (cd textutils && \
1968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1970 "RANLIB=$${RANLIB}" \
1971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1972 info) \
1973 || exit 1
1976 .PHONY: maybe-info-time info-time
1977 maybe-info-time:
1979 info-time: \
1980 configure-time
1981 @[ -f ./time/Makefile ] || exit 0; \
1982 r=`${PWD}`; export r; \
1983 s=`cd $(srcdir); ${PWD}`; export s; \
1984 $(SET_LIB_PATH) \
1985 for flag in $(EXTRA_HOST_FLAGS); do \
1986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1987 done; \
1988 echo "Doing info in time" ; \
1989 (cd time && \
1990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1992 "RANLIB=$${RANLIB}" \
1993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1994 info) \
1995 || exit 1
1998 .PHONY: maybe-info-uudecode info-uudecode
1999 maybe-info-uudecode:
2001 info-uudecode: \
2002 configure-uudecode
2003 @[ -f ./uudecode/Makefile ] || exit 0; \
2004 r=`${PWD}`; export r; \
2005 s=`cd $(srcdir); ${PWD}`; export s; \
2006 $(SET_LIB_PATH) \
2007 for flag in $(EXTRA_HOST_FLAGS); do \
2008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2009 done; \
2010 echo "Doing info in uudecode" ; \
2011 (cd uudecode && \
2012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2014 "RANLIB=$${RANLIB}" \
2015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2016 info) \
2017 || exit 1
2020 .PHONY: maybe-info-wdiff info-wdiff
2021 maybe-info-wdiff:
2023 info-wdiff: \
2024 configure-wdiff
2025 @[ -f ./wdiff/Makefile ] || exit 0; \
2026 r=`${PWD}`; export r; \
2027 s=`cd $(srcdir); ${PWD}`; export s; \
2028 $(SET_LIB_PATH) \
2029 for flag in $(EXTRA_HOST_FLAGS); do \
2030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2031 done; \
2032 echo "Doing info in wdiff" ; \
2033 (cd wdiff && \
2034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2036 "RANLIB=$${RANLIB}" \
2037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2038 info) \
2039 || exit 1
2042 .PHONY: maybe-info-zip info-zip
2043 maybe-info-zip:
2045 info-zip: \
2046 configure-zip
2047 @[ -f ./zip/Makefile ] || exit 0; \
2048 r=`${PWD}`; export r; \
2049 s=`cd $(srcdir); ${PWD}`; export s; \
2050 $(SET_LIB_PATH) \
2051 for flag in $(EXTRA_HOST_FLAGS); do \
2052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2053 done; \
2054 echo "Doing info in zip" ; \
2055 (cd zip && \
2056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2058 "RANLIB=$${RANLIB}" \
2059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2060 info) \
2061 || exit 1
2064 .PHONY: maybe-info-zlib info-zlib
2065 maybe-info-zlib:
2067 info-zlib: \
2068 configure-zlib
2069 @[ -f ./zlib/Makefile ] || exit 0; \
2070 r=`${PWD}`; export r; \
2071 s=`cd $(srcdir); ${PWD}`; export s; \
2072 $(SET_LIB_PATH) \
2073 for flag in $(EXTRA_HOST_FLAGS); do \
2074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2075 done; \
2076 echo "Doing info in zlib" ; \
2077 (cd zlib && \
2078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2080 "RANLIB=$${RANLIB}" \
2081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2082 info) \
2083 || exit 1
2086 .PHONY: maybe-info-gdb info-gdb
2087 maybe-info-gdb:
2089 info-gdb: \
2090 configure-gdb
2091 @[ -f ./gdb/Makefile ] || exit 0; \
2092 r=`${PWD}`; export r; \
2093 s=`cd $(srcdir); ${PWD}`; export s; \
2094 $(SET_LIB_PATH) \
2095 for flag in $(EXTRA_HOST_FLAGS); do \
2096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2097 done; \
2098 echo "Doing info in gdb" ; \
2099 (cd gdb && \
2100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2102 "RANLIB=$${RANLIB}" \
2103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2104 info) \
2105 || exit 1
2108 .PHONY: maybe-info-expect info-expect
2109 maybe-info-expect:
2111 info-expect: \
2112 configure-expect
2113 @[ -f ./expect/Makefile ] || exit 0; \
2114 r=`${PWD}`; export r; \
2115 s=`cd $(srcdir); ${PWD}`; export s; \
2116 $(SET_LIB_PATH) \
2117 for flag in $(EXTRA_HOST_FLAGS); do \
2118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2119 done; \
2120 echo "Doing info in expect" ; \
2121 (cd expect && \
2122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2124 "RANLIB=$${RANLIB}" \
2125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2126 info) \
2127 || exit 1
2130 .PHONY: maybe-info-guile info-guile
2131 maybe-info-guile:
2133 info-guile: \
2134 configure-guile
2135 @[ -f ./guile/Makefile ] || exit 0; \
2136 r=`${PWD}`; export r; \
2137 s=`cd $(srcdir); ${PWD}`; export s; \
2138 $(SET_LIB_PATH) \
2139 for flag in $(EXTRA_HOST_FLAGS); do \
2140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2141 done; \
2142 echo "Doing info in guile" ; \
2143 (cd guile && \
2144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2146 "RANLIB=$${RANLIB}" \
2147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2148 info) \
2149 || exit 1
2152 .PHONY: maybe-info-tk info-tk
2153 maybe-info-tk:
2155 info-tk: \
2156 configure-tk
2157 @[ -f ./tk/Makefile ] || exit 0; \
2158 r=`${PWD}`; export r; \
2159 s=`cd $(srcdir); ${PWD}`; export s; \
2160 $(SET_LIB_PATH) \
2161 for flag in $(EXTRA_HOST_FLAGS); do \
2162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2163 done; \
2164 echo "Doing info in tk" ; \
2165 (cd tk && \
2166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2168 "RANLIB=$${RANLIB}" \
2169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2170 info) \
2171 || exit 1
2174 .PHONY: maybe-info-tix info-tix
2175 maybe-info-tix:
2177 info-tix: \
2178 configure-tix
2179 @[ -f ./tix/Makefile ] || exit 0; \
2180 r=`${PWD}`; export r; \
2181 s=`cd $(srcdir); ${PWD}`; export s; \
2182 $(SET_LIB_PATH) \
2183 for flag in $(EXTRA_HOST_FLAGS); do \
2184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2185 done; \
2186 echo "Doing info in tix" ; \
2187 (cd tix && \
2188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2190 "RANLIB=$${RANLIB}" \
2191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2192 info) \
2193 || exit 1
2196 .PHONY: maybe-info-libtermcap info-libtermcap
2197 maybe-info-libtermcap:
2199 info-libtermcap: \
2200 configure-libtermcap
2201 @[ -f ./libtermcap/Makefile ] || exit 0; \
2202 r=`${PWD}`; export r; \
2203 s=`cd $(srcdir); ${PWD}`; export s; \
2204 $(SET_LIB_PATH) \
2205 for flag in $(EXTRA_HOST_FLAGS); do \
2206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2207 done; \
2208 echo "Doing info in libtermcap" ; \
2209 (cd libtermcap && \
2210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2212 "RANLIB=$${RANLIB}" \
2213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2214 info) \
2215 || exit 1
2218 .PHONY: maybe-info-utils info-utils
2219 maybe-info-utils:
2221 info-utils: \
2222 configure-utils
2223 @[ -f ./utils/Makefile ] || exit 0; \
2224 r=`${PWD}`; export r; \
2225 s=`cd $(srcdir); ${PWD}`; export s; \
2226 $(SET_LIB_PATH) \
2227 for flag in $(EXTRA_HOST_FLAGS); do \
2228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2229 done; \
2230 echo "Doing info in utils" ; \
2231 (cd utils && \
2232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2234 "RANLIB=$${RANLIB}" \
2235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2236 info) \
2237 || exit 1
2241 # Target modules.
2243 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
2244 maybe-info-target-libstdc++-v3:
2246 info-target-libstdc++-v3: \
2247 configure-target-libstdc++-v3
2248 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
2249 r=`${PWD}`; export r; \
2250 s=`cd $(srcdir); ${PWD}`; export s; \
2251 $(SET_LIB_PATH) \
2252 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
2253 for flag in $(EXTRA_TARGET_FLAGS); do \
2254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2255 done; \
2256 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
2257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2259 "RANLIB=$${RANLIB}" \
2260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2261 info) \
2262 || exit 1
2265 .PHONY: maybe-info-target-newlib info-target-newlib
2266 maybe-info-target-newlib:
2268 info-target-newlib: \
2269 configure-target-newlib
2270 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
2271 r=`${PWD}`; export r; \
2272 s=`cd $(srcdir); ${PWD}`; export s; \
2273 $(SET_LIB_PATH) \
2274 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
2275 for flag in $(EXTRA_TARGET_FLAGS); do \
2276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2277 done; \
2278 (cd $(TARGET_SUBDIR)/newlib && \
2279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2281 "RANLIB=$${RANLIB}" \
2282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2283 info) \
2284 || exit 1
2287 .PHONY: maybe-info-target-libf2c info-target-libf2c
2288 maybe-info-target-libf2c:
2290 info-target-libf2c: \
2291 configure-target-libf2c
2292 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
2293 r=`${PWD}`; export r; \
2294 s=`cd $(srcdir); ${PWD}`; export s; \
2295 $(SET_LIB_PATH) \
2296 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
2297 for flag in $(EXTRA_TARGET_FLAGS); do \
2298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2299 done; \
2300 (cd $(TARGET_SUBDIR)/libf2c && \
2301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2303 "RANLIB=$${RANLIB}" \
2304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2305 info) \
2306 || exit 1
2309 .PHONY: maybe-info-target-libobjc info-target-libobjc
2310 maybe-info-target-libobjc:
2312 info-target-libobjc: \
2313 configure-target-libobjc
2314 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
2315 r=`${PWD}`; export r; \
2316 s=`cd $(srcdir); ${PWD}`; export s; \
2317 $(SET_LIB_PATH) \
2318 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
2319 for flag in $(EXTRA_TARGET_FLAGS); do \
2320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2321 done; \
2322 (cd $(TARGET_SUBDIR)/libobjc && \
2323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2325 "RANLIB=$${RANLIB}" \
2326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2327 info) \
2328 || exit 1
2331 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
2332 maybe-info-target-libtermcap:
2334 info-target-libtermcap: \
2335 configure-target-libtermcap
2336 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
2337 r=`${PWD}`; export r; \
2338 s=`cd $(srcdir); ${PWD}`; export s; \
2339 $(SET_LIB_PATH) \
2340 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
2341 for flag in $(EXTRA_TARGET_FLAGS); do \
2342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2343 done; \
2344 (cd $(TARGET_SUBDIR)/libtermcap && \
2345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2347 "RANLIB=$${RANLIB}" \
2348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2349 info) \
2350 || exit 1
2353 .PHONY: maybe-info-target-winsup info-target-winsup
2354 maybe-info-target-winsup:
2356 info-target-winsup: \
2357 configure-target-winsup
2358 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
2359 r=`${PWD}`; export r; \
2360 s=`cd $(srcdir); ${PWD}`; export s; \
2361 $(SET_LIB_PATH) \
2362 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
2363 for flag in $(EXTRA_TARGET_FLAGS); do \
2364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2365 done; \
2366 (cd $(TARGET_SUBDIR)/winsup && \
2367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2369 "RANLIB=$${RANLIB}" \
2370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2371 info) \
2372 || exit 1
2375 .PHONY: maybe-info-target-libgloss info-target-libgloss
2376 maybe-info-target-libgloss:
2378 info-target-libgloss: \
2379 configure-target-libgloss
2380 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
2381 r=`${PWD}`; export r; \
2382 s=`cd $(srcdir); ${PWD}`; export s; \
2383 $(SET_LIB_PATH) \
2384 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
2385 for flag in $(EXTRA_TARGET_FLAGS); do \
2386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2387 done; \
2388 (cd $(TARGET_SUBDIR)/libgloss && \
2389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2391 "RANLIB=$${RANLIB}" \
2392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2393 info) \
2394 || exit 1
2397 .PHONY: maybe-info-target-libiberty info-target-libiberty
2398 maybe-info-target-libiberty:
2400 info-target-libiberty: \
2401 configure-target-libiberty
2402 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
2403 r=`${PWD}`; export r; \
2404 s=`cd $(srcdir); ${PWD}`; export s; \
2405 $(SET_LIB_PATH) \
2406 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
2407 for flag in $(EXTRA_TARGET_FLAGS); do \
2408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2409 done; \
2410 (cd $(TARGET_SUBDIR)/libiberty && \
2411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2413 "RANLIB=$${RANLIB}" \
2414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2415 info) \
2416 || exit 1
2419 .PHONY: maybe-info-target-gperf info-target-gperf
2420 maybe-info-target-gperf:
2422 info-target-gperf: \
2423 configure-target-gperf
2424 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
2425 r=`${PWD}`; export r; \
2426 s=`cd $(srcdir); ${PWD}`; export s; \
2427 $(SET_LIB_PATH) \
2428 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
2429 for flag in $(EXTRA_TARGET_FLAGS); do \
2430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2431 done; \
2432 (cd $(TARGET_SUBDIR)/gperf && \
2433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2435 "RANLIB=$${RANLIB}" \
2436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2437 info) \
2438 || exit 1
2441 .PHONY: maybe-info-target-examples info-target-examples
2442 maybe-info-target-examples:
2444 info-target-examples: \
2445 configure-target-examples
2446 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
2447 r=`${PWD}`; export r; \
2448 s=`cd $(srcdir); ${PWD}`; export s; \
2449 $(SET_LIB_PATH) \
2450 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
2451 for flag in $(EXTRA_TARGET_FLAGS); do \
2452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2453 done; \
2454 (cd $(TARGET_SUBDIR)/examples && \
2455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2457 "RANLIB=$${RANLIB}" \
2458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2459 info) \
2460 || exit 1
2463 .PHONY: maybe-info-target-libffi info-target-libffi
2464 maybe-info-target-libffi:
2466 info-target-libffi: \
2467 configure-target-libffi
2468 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
2469 r=`${PWD}`; export r; \
2470 s=`cd $(srcdir); ${PWD}`; export s; \
2471 $(SET_LIB_PATH) \
2472 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
2473 for flag in $(EXTRA_TARGET_FLAGS); do \
2474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2475 done; \
2476 (cd $(TARGET_SUBDIR)/libffi && \
2477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2479 "RANLIB=$${RANLIB}" \
2480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2481 info) \
2482 || exit 1
2485 .PHONY: maybe-info-target-libjava info-target-libjava
2486 maybe-info-target-libjava:
2488 info-target-libjava: \
2489 configure-target-libjava
2490 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
2491 r=`${PWD}`; export r; \
2492 s=`cd $(srcdir); ${PWD}`; export s; \
2493 $(SET_LIB_PATH) \
2494 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
2495 for flag in $(EXTRA_TARGET_FLAGS); do \
2496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2497 done; \
2498 (cd $(TARGET_SUBDIR)/libjava && \
2499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2501 "RANLIB=$${RANLIB}" \
2502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2503 info) \
2504 || exit 1
2507 .PHONY: maybe-info-target-zlib info-target-zlib
2508 maybe-info-target-zlib:
2510 info-target-zlib: \
2511 configure-target-zlib
2512 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
2513 r=`${PWD}`; export r; \
2514 s=`cd $(srcdir); ${PWD}`; export s; \
2515 $(SET_LIB_PATH) \
2516 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
2517 for flag in $(EXTRA_TARGET_FLAGS); do \
2518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2519 done; \
2520 (cd $(TARGET_SUBDIR)/zlib && \
2521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2523 "RANLIB=$${RANLIB}" \
2524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2525 info) \
2526 || exit 1
2529 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
2530 maybe-info-target-boehm-gc:
2532 info-target-boehm-gc: \
2533 configure-target-boehm-gc
2534 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
2535 r=`${PWD}`; export r; \
2536 s=`cd $(srcdir); ${PWD}`; export s; \
2537 $(SET_LIB_PATH) \
2538 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
2539 for flag in $(EXTRA_TARGET_FLAGS); do \
2540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2541 done; \
2542 (cd $(TARGET_SUBDIR)/boehm-gc && \
2543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2545 "RANLIB=$${RANLIB}" \
2546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2547 info) \
2548 || exit 1
2551 .PHONY: maybe-info-target-qthreads info-target-qthreads
2552 maybe-info-target-qthreads:
2554 info-target-qthreads: \
2555 configure-target-qthreads
2556 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
2557 r=`${PWD}`; export r; \
2558 s=`cd $(srcdir); ${PWD}`; export s; \
2559 $(SET_LIB_PATH) \
2560 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
2561 for flag in $(EXTRA_TARGET_FLAGS); do \
2562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2563 done; \
2564 (cd $(TARGET_SUBDIR)/qthreads && \
2565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2567 "RANLIB=$${RANLIB}" \
2568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2569 info) \
2570 || exit 1
2573 .PHONY: maybe-info-target-rda info-target-rda
2574 maybe-info-target-rda:
2576 info-target-rda: \
2577 configure-target-rda
2578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
2579 r=`${PWD}`; export r; \
2580 s=`cd $(srcdir); ${PWD}`; export s; \
2581 $(SET_LIB_PATH) \
2582 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
2583 for flag in $(EXTRA_TARGET_FLAGS); do \
2584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2585 done; \
2586 (cd $(TARGET_SUBDIR)/rda && \
2587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2589 "RANLIB=$${RANLIB}" \
2590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2591 info) \
2592 || exit 1
2596 .PHONY: do-dvi
2597 do-dvi: dvi-host dvi-target
2599 .PHONY: dvi-host
2600 dvi-host: maybe-dvi-gcc \
2601 maybe-dvi-ash \
2602 maybe-dvi-autoconf \
2603 maybe-dvi-automake \
2604 maybe-dvi-bash \
2605 maybe-dvi-bfd \
2606 maybe-dvi-opcodes \
2607 maybe-dvi-binutils \
2608 maybe-dvi-bison \
2609 maybe-dvi-byacc \
2610 maybe-dvi-bzip2 \
2611 maybe-dvi-dejagnu \
2612 maybe-dvi-diff \
2613 maybe-dvi-dosutils \
2614 maybe-dvi-etc \
2615 maybe-dvi-fastjar \
2616 maybe-dvi-fileutils \
2617 maybe-dvi-findutils \
2618 maybe-dvi-find \
2619 maybe-dvi-flex \
2620 maybe-dvi-gas \
2621 maybe-dvi-gawk \
2622 maybe-dvi-gettext \
2623 maybe-dvi-gnuserv \
2624 maybe-dvi-gprof \
2625 maybe-dvi-gzip \
2626 maybe-dvi-hello \
2627 maybe-dvi-indent \
2628 maybe-dvi-intl \
2629 maybe-dvi-tcl \
2630 maybe-dvi-itcl \
2631 maybe-dvi-ld \
2632 maybe-dvi-libgui \
2633 maybe-dvi-libiberty \
2634 maybe-dvi-libtool \
2635 maybe-dvi-m4 \
2636 maybe-dvi-make \
2637 maybe-dvi-mmalloc \
2638 maybe-dvi-patch \
2639 maybe-dvi-perl \
2640 maybe-dvi-prms \
2641 maybe-dvi-rcs \
2642 maybe-dvi-readline \
2643 maybe-dvi-release \
2644 maybe-dvi-recode \
2645 maybe-dvi-sed \
2646 maybe-dvi-send-pr \
2647 maybe-dvi-shellutils \
2648 maybe-dvi-sid \
2649 maybe-dvi-sim \
2650 maybe-dvi-tar \
2651 maybe-dvi-texinfo \
2652 maybe-dvi-textutils \
2653 maybe-dvi-time \
2654 maybe-dvi-uudecode \
2655 maybe-dvi-wdiff \
2656 maybe-dvi-zip \
2657 maybe-dvi-zlib \
2658 maybe-dvi-gdb \
2659 maybe-dvi-expect \
2660 maybe-dvi-guile \
2661 maybe-dvi-tk \
2662 maybe-dvi-tix \
2663 maybe-dvi-libtermcap \
2664 maybe-dvi-utils
2666 .PHONY: dvi-target
2667 dvi-target: \
2668 maybe-dvi-target-libstdc++-v3 \
2669 maybe-dvi-target-newlib \
2670 maybe-dvi-target-libf2c \
2671 maybe-dvi-target-libobjc \
2672 maybe-dvi-target-libtermcap \
2673 maybe-dvi-target-winsup \
2674 maybe-dvi-target-libgloss \
2675 maybe-dvi-target-libiberty \
2676 maybe-dvi-target-gperf \
2677 maybe-dvi-target-examples \
2678 maybe-dvi-target-libffi \
2679 maybe-dvi-target-libjava \
2680 maybe-dvi-target-zlib \
2681 maybe-dvi-target-boehm-gc \
2682 maybe-dvi-target-qthreads \
2683 maybe-dvi-target-rda
2685 # GCC, the eternal special case
2686 .PHONY: maybe-dvi-gcc dvi-gcc
2687 maybe-dvi-gcc:
2688 dvi-gcc: \
2689 configure-gcc
2690 @[ -f ./gcc/Makefile ] || exit 0; \
2691 r=`${PWD}`; export r; \
2692 s=`cd $(srcdir); ${PWD}`; export s; \
2693 $(SET_LIB_PATH) \
2694 for flag in $(EXTRA_GCC_FLAGS); do \
2695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2696 done; \
2697 echo "Doing dvi in gcc" ; \
2698 (cd gcc && \
2699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2701 "RANLIB=$${RANLIB}" \
2702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2703 dvi) \
2704 || exit 1
2706 # Host modules.
2708 .PHONY: maybe-dvi-ash dvi-ash
2709 maybe-dvi-ash:
2711 dvi-ash: \
2712 configure-ash
2713 @[ -f ./ash/Makefile ] || exit 0; \
2714 r=`${PWD}`; export r; \
2715 s=`cd $(srcdir); ${PWD}`; export s; \
2716 $(SET_LIB_PATH) \
2717 for flag in $(EXTRA_HOST_FLAGS); do \
2718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2719 done; \
2720 echo "Doing dvi in ash" ; \
2721 (cd ash && \
2722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2724 "RANLIB=$${RANLIB}" \
2725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2726 dvi) \
2727 || exit 1
2730 .PHONY: maybe-dvi-autoconf dvi-autoconf
2731 maybe-dvi-autoconf:
2733 dvi-autoconf: \
2734 configure-autoconf
2735 @[ -f ./autoconf/Makefile ] || exit 0; \
2736 r=`${PWD}`; export r; \
2737 s=`cd $(srcdir); ${PWD}`; export s; \
2738 $(SET_LIB_PATH) \
2739 for flag in $(EXTRA_HOST_FLAGS); do \
2740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2741 done; \
2742 echo "Doing dvi in autoconf" ; \
2743 (cd autoconf && \
2744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2746 "RANLIB=$${RANLIB}" \
2747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2748 dvi) \
2749 || exit 1
2752 .PHONY: maybe-dvi-automake dvi-automake
2753 maybe-dvi-automake:
2755 dvi-automake: \
2756 configure-automake
2757 @[ -f ./automake/Makefile ] || exit 0; \
2758 r=`${PWD}`; export r; \
2759 s=`cd $(srcdir); ${PWD}`; export s; \
2760 $(SET_LIB_PATH) \
2761 for flag in $(EXTRA_HOST_FLAGS); do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2763 done; \
2764 echo "Doing dvi in automake" ; \
2765 (cd automake && \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2770 dvi) \
2771 || exit 1
2774 .PHONY: maybe-dvi-bash dvi-bash
2775 maybe-dvi-bash:
2777 dvi-bash: \
2778 configure-bash
2779 @[ -f ./bash/Makefile ] || exit 0; \
2780 r=`${PWD}`; export r; \
2781 s=`cd $(srcdir); ${PWD}`; export s; \
2782 $(SET_LIB_PATH) \
2783 for flag in $(EXTRA_HOST_FLAGS); do \
2784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2785 done; \
2786 echo "Doing dvi in bash" ; \
2787 (cd bash && \
2788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2790 "RANLIB=$${RANLIB}" \
2791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2792 dvi) \
2793 || exit 1
2796 .PHONY: maybe-dvi-bfd dvi-bfd
2797 maybe-dvi-bfd:
2799 dvi-bfd: \
2800 configure-bfd
2801 @[ -f ./bfd/Makefile ] || exit 0; \
2802 r=`${PWD}`; export r; \
2803 s=`cd $(srcdir); ${PWD}`; export s; \
2804 $(SET_LIB_PATH) \
2805 for flag in $(EXTRA_HOST_FLAGS); do \
2806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2807 done; \
2808 echo "Doing dvi in bfd" ; \
2809 (cd bfd && \
2810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2812 "RANLIB=$${RANLIB}" \
2813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2814 dvi) \
2815 || exit 1
2818 .PHONY: maybe-dvi-opcodes dvi-opcodes
2819 maybe-dvi-opcodes:
2821 dvi-opcodes: \
2822 configure-opcodes
2823 @[ -f ./opcodes/Makefile ] || exit 0; \
2824 r=`${PWD}`; export r; \
2825 s=`cd $(srcdir); ${PWD}`; export s; \
2826 $(SET_LIB_PATH) \
2827 for flag in $(EXTRA_HOST_FLAGS); do \
2828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2829 done; \
2830 echo "Doing dvi in opcodes" ; \
2831 (cd opcodes && \
2832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2834 "RANLIB=$${RANLIB}" \
2835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2836 dvi) \
2837 || exit 1
2840 .PHONY: maybe-dvi-binutils dvi-binutils
2841 maybe-dvi-binutils:
2843 dvi-binutils: \
2844 configure-binutils
2845 @[ -f ./binutils/Makefile ] || exit 0; \
2846 r=`${PWD}`; export r; \
2847 s=`cd $(srcdir); ${PWD}`; export s; \
2848 $(SET_LIB_PATH) \
2849 for flag in $(EXTRA_HOST_FLAGS); do \
2850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2851 done; \
2852 echo "Doing dvi in binutils" ; \
2853 (cd binutils && \
2854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2856 "RANLIB=$${RANLIB}" \
2857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2858 dvi) \
2859 || exit 1
2862 .PHONY: maybe-dvi-bison dvi-bison
2863 maybe-dvi-bison:
2865 dvi-bison: \
2866 configure-bison
2867 @[ -f ./bison/Makefile ] || exit 0; \
2868 r=`${PWD}`; export r; \
2869 s=`cd $(srcdir); ${PWD}`; export s; \
2870 $(SET_LIB_PATH) \
2871 for flag in $(EXTRA_HOST_FLAGS); do \
2872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2873 done; \
2874 echo "Doing dvi in bison" ; \
2875 (cd bison && \
2876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2878 "RANLIB=$${RANLIB}" \
2879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2880 dvi) \
2881 || exit 1
2884 .PHONY: maybe-dvi-byacc dvi-byacc
2885 maybe-dvi-byacc:
2887 dvi-byacc: \
2888 configure-byacc
2889 @[ -f ./byacc/Makefile ] || exit 0; \
2890 r=`${PWD}`; export r; \
2891 s=`cd $(srcdir); ${PWD}`; export s; \
2892 $(SET_LIB_PATH) \
2893 for flag in $(EXTRA_HOST_FLAGS); do \
2894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2895 done; \
2896 echo "Doing dvi in byacc" ; \
2897 (cd byacc && \
2898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2900 "RANLIB=$${RANLIB}" \
2901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2902 dvi) \
2903 || exit 1
2906 .PHONY: maybe-dvi-bzip2 dvi-bzip2
2907 maybe-dvi-bzip2:
2909 dvi-bzip2: \
2910 configure-bzip2
2911 @[ -f ./bzip2/Makefile ] || exit 0; \
2912 r=`${PWD}`; export r; \
2913 s=`cd $(srcdir); ${PWD}`; export s; \
2914 $(SET_LIB_PATH) \
2915 for flag in $(EXTRA_HOST_FLAGS); do \
2916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2917 done; \
2918 echo "Doing dvi in bzip2" ; \
2919 (cd bzip2 && \
2920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2922 "RANLIB=$${RANLIB}" \
2923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2924 dvi) \
2925 || exit 1
2928 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
2929 maybe-dvi-dejagnu:
2931 dvi-dejagnu: \
2932 configure-dejagnu
2933 @[ -f ./dejagnu/Makefile ] || exit 0; \
2934 r=`${PWD}`; export r; \
2935 s=`cd $(srcdir); ${PWD}`; export s; \
2936 $(SET_LIB_PATH) \
2937 for flag in $(EXTRA_HOST_FLAGS); do \
2938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2939 done; \
2940 echo "Doing dvi in dejagnu" ; \
2941 (cd dejagnu && \
2942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2944 "RANLIB=$${RANLIB}" \
2945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2946 dvi) \
2947 || exit 1
2950 .PHONY: maybe-dvi-diff dvi-diff
2951 maybe-dvi-diff:
2953 dvi-diff: \
2954 configure-diff
2955 @[ -f ./diff/Makefile ] || exit 0; \
2956 r=`${PWD}`; export r; \
2957 s=`cd $(srcdir); ${PWD}`; export s; \
2958 $(SET_LIB_PATH) \
2959 for flag in $(EXTRA_HOST_FLAGS); do \
2960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2961 done; \
2962 echo "Doing dvi in diff" ; \
2963 (cd diff && \
2964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2966 "RANLIB=$${RANLIB}" \
2967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2968 dvi) \
2969 || exit 1
2972 .PHONY: maybe-dvi-dosutils dvi-dosutils
2973 maybe-dvi-dosutils:
2975 dvi-dosutils: \
2976 configure-dosutils
2977 @[ -f ./dosutils/Makefile ] || exit 0; \
2978 r=`${PWD}`; export r; \
2979 s=`cd $(srcdir); ${PWD}`; export s; \
2980 $(SET_LIB_PATH) \
2981 for flag in $(EXTRA_HOST_FLAGS); do \
2982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2983 done; \
2984 echo "Doing dvi in dosutils" ; \
2985 (cd dosutils && \
2986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2988 "RANLIB=$${RANLIB}" \
2989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2990 dvi) \
2991 || exit 1
2994 .PHONY: maybe-dvi-etc dvi-etc
2995 maybe-dvi-etc:
2997 dvi-etc: \
2998 configure-etc
2999 @[ -f ./etc/Makefile ] || exit 0; \
3000 r=`${PWD}`; export r; \
3001 s=`cd $(srcdir); ${PWD}`; export s; \
3002 $(SET_LIB_PATH) \
3003 for flag in $(EXTRA_HOST_FLAGS); do \
3004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3005 done; \
3006 echo "Doing dvi in etc" ; \
3007 (cd etc && \
3008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3010 "RANLIB=$${RANLIB}" \
3011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3012 dvi) \
3013 || exit 1
3016 .PHONY: maybe-dvi-fastjar dvi-fastjar
3017 maybe-dvi-fastjar:
3019 dvi-fastjar: \
3020 configure-fastjar
3021 @[ -f ./fastjar/Makefile ] || exit 0; \
3022 r=`${PWD}`; export r; \
3023 s=`cd $(srcdir); ${PWD}`; export s; \
3024 $(SET_LIB_PATH) \
3025 for flag in $(EXTRA_HOST_FLAGS); do \
3026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3027 done; \
3028 echo "Doing dvi in fastjar" ; \
3029 (cd fastjar && \
3030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3032 "RANLIB=$${RANLIB}" \
3033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3034 dvi) \
3035 || exit 1
3038 .PHONY: maybe-dvi-fileutils dvi-fileutils
3039 maybe-dvi-fileutils:
3041 dvi-fileutils: \
3042 configure-fileutils
3043 @[ -f ./fileutils/Makefile ] || exit 0; \
3044 r=`${PWD}`; export r; \
3045 s=`cd $(srcdir); ${PWD}`; export s; \
3046 $(SET_LIB_PATH) \
3047 for flag in $(EXTRA_HOST_FLAGS); do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3049 done; \
3050 echo "Doing dvi in fileutils" ; \
3051 (cd fileutils && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3056 dvi) \
3057 || exit 1
3060 .PHONY: maybe-dvi-findutils dvi-findutils
3061 maybe-dvi-findutils:
3063 dvi-findutils: \
3064 configure-findutils
3065 @[ -f ./findutils/Makefile ] || exit 0; \
3066 r=`${PWD}`; export r; \
3067 s=`cd $(srcdir); ${PWD}`; export s; \
3068 $(SET_LIB_PATH) \
3069 for flag in $(EXTRA_HOST_FLAGS); do \
3070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3071 done; \
3072 echo "Doing dvi in findutils" ; \
3073 (cd findutils && \
3074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3076 "RANLIB=$${RANLIB}" \
3077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3078 dvi) \
3079 || exit 1
3082 .PHONY: maybe-dvi-find dvi-find
3083 maybe-dvi-find:
3085 dvi-find: \
3086 configure-find
3087 @[ -f ./find/Makefile ] || exit 0; \
3088 r=`${PWD}`; export r; \
3089 s=`cd $(srcdir); ${PWD}`; export s; \
3090 $(SET_LIB_PATH) \
3091 for flag in $(EXTRA_HOST_FLAGS); do \
3092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3093 done; \
3094 echo "Doing dvi in find" ; \
3095 (cd find && \
3096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3098 "RANLIB=$${RANLIB}" \
3099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3100 dvi) \
3101 || exit 1
3104 .PHONY: maybe-dvi-flex dvi-flex
3105 maybe-dvi-flex:
3107 dvi-flex: \
3108 configure-flex
3109 @[ -f ./flex/Makefile ] || exit 0; \
3110 r=`${PWD}`; export r; \
3111 s=`cd $(srcdir); ${PWD}`; export s; \
3112 $(SET_LIB_PATH) \
3113 for flag in $(EXTRA_HOST_FLAGS); do \
3114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3115 done; \
3116 echo "Doing dvi in flex" ; \
3117 (cd flex && \
3118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3120 "RANLIB=$${RANLIB}" \
3121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3122 dvi) \
3123 || exit 1
3126 .PHONY: maybe-dvi-gas dvi-gas
3127 maybe-dvi-gas:
3129 dvi-gas: \
3130 configure-gas
3131 @[ -f ./gas/Makefile ] || exit 0; \
3132 r=`${PWD}`; export r; \
3133 s=`cd $(srcdir); ${PWD}`; export s; \
3134 $(SET_LIB_PATH) \
3135 for flag in $(EXTRA_HOST_FLAGS); do \
3136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3137 done; \
3138 echo "Doing dvi in gas" ; \
3139 (cd gas && \
3140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3142 "RANLIB=$${RANLIB}" \
3143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3144 dvi) \
3145 || exit 1
3148 .PHONY: maybe-dvi-gawk dvi-gawk
3149 maybe-dvi-gawk:
3151 dvi-gawk: \
3152 configure-gawk
3153 @[ -f ./gawk/Makefile ] || exit 0; \
3154 r=`${PWD}`; export r; \
3155 s=`cd $(srcdir); ${PWD}`; export s; \
3156 $(SET_LIB_PATH) \
3157 for flag in $(EXTRA_HOST_FLAGS); do \
3158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3159 done; \
3160 echo "Doing dvi in gawk" ; \
3161 (cd gawk && \
3162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3164 "RANLIB=$${RANLIB}" \
3165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3166 dvi) \
3167 || exit 1
3170 .PHONY: maybe-dvi-gettext dvi-gettext
3171 maybe-dvi-gettext:
3173 dvi-gettext: \
3174 configure-gettext
3175 @[ -f ./gettext/Makefile ] || exit 0; \
3176 r=`${PWD}`; export r; \
3177 s=`cd $(srcdir); ${PWD}`; export s; \
3178 $(SET_LIB_PATH) \
3179 for flag in $(EXTRA_HOST_FLAGS); do \
3180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3181 done; \
3182 echo "Doing dvi in gettext" ; \
3183 (cd gettext && \
3184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3186 "RANLIB=$${RANLIB}" \
3187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3188 dvi) \
3189 || exit 1
3192 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
3193 maybe-dvi-gnuserv:
3195 dvi-gnuserv: \
3196 configure-gnuserv
3197 @[ -f ./gnuserv/Makefile ] || exit 0; \
3198 r=`${PWD}`; export r; \
3199 s=`cd $(srcdir); ${PWD}`; export s; \
3200 $(SET_LIB_PATH) \
3201 for flag in $(EXTRA_HOST_FLAGS); do \
3202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3203 done; \
3204 echo "Doing dvi in gnuserv" ; \
3205 (cd gnuserv && \
3206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3208 "RANLIB=$${RANLIB}" \
3209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3210 dvi) \
3211 || exit 1
3214 .PHONY: maybe-dvi-gprof dvi-gprof
3215 maybe-dvi-gprof:
3217 dvi-gprof: \
3218 configure-gprof
3219 @[ -f ./gprof/Makefile ] || exit 0; \
3220 r=`${PWD}`; export r; \
3221 s=`cd $(srcdir); ${PWD}`; export s; \
3222 $(SET_LIB_PATH) \
3223 for flag in $(EXTRA_HOST_FLAGS); do \
3224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3225 done; \
3226 echo "Doing dvi in gprof" ; \
3227 (cd gprof && \
3228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3230 "RANLIB=$${RANLIB}" \
3231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3232 dvi) \
3233 || exit 1
3236 .PHONY: maybe-dvi-gzip dvi-gzip
3237 maybe-dvi-gzip:
3239 dvi-gzip: \
3240 configure-gzip
3241 @[ -f ./gzip/Makefile ] || exit 0; \
3242 r=`${PWD}`; export r; \
3243 s=`cd $(srcdir); ${PWD}`; export s; \
3244 $(SET_LIB_PATH) \
3245 for flag in $(EXTRA_HOST_FLAGS); do \
3246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3247 done; \
3248 echo "Doing dvi in gzip" ; \
3249 (cd gzip && \
3250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3252 "RANLIB=$${RANLIB}" \
3253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3254 dvi) \
3255 || exit 1
3258 .PHONY: maybe-dvi-hello dvi-hello
3259 maybe-dvi-hello:
3261 dvi-hello: \
3262 configure-hello
3263 @[ -f ./hello/Makefile ] || exit 0; \
3264 r=`${PWD}`; export r; \
3265 s=`cd $(srcdir); ${PWD}`; export s; \
3266 $(SET_LIB_PATH) \
3267 for flag in $(EXTRA_HOST_FLAGS); do \
3268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3269 done; \
3270 echo "Doing dvi in hello" ; \
3271 (cd hello && \
3272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3274 "RANLIB=$${RANLIB}" \
3275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3276 dvi) \
3277 || exit 1
3280 .PHONY: maybe-dvi-indent dvi-indent
3281 maybe-dvi-indent:
3283 dvi-indent: \
3284 configure-indent
3285 @[ -f ./indent/Makefile ] || exit 0; \
3286 r=`${PWD}`; export r; \
3287 s=`cd $(srcdir); ${PWD}`; export s; \
3288 $(SET_LIB_PATH) \
3289 for flag in $(EXTRA_HOST_FLAGS); do \
3290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3291 done; \
3292 echo "Doing dvi in indent" ; \
3293 (cd indent && \
3294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3296 "RANLIB=$${RANLIB}" \
3297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3298 dvi) \
3299 || exit 1
3302 .PHONY: maybe-dvi-intl dvi-intl
3303 maybe-dvi-intl:
3305 dvi-intl: \
3306 configure-intl
3307 @[ -f ./intl/Makefile ] || exit 0; \
3308 r=`${PWD}`; export r; \
3309 s=`cd $(srcdir); ${PWD}`; export s; \
3310 $(SET_LIB_PATH) \
3311 for flag in $(EXTRA_HOST_FLAGS); do \
3312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3313 done; \
3314 echo "Doing dvi in intl" ; \
3315 (cd intl && \
3316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3318 "RANLIB=$${RANLIB}" \
3319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3320 dvi) \
3321 || exit 1
3324 .PHONY: maybe-dvi-tcl dvi-tcl
3325 maybe-dvi-tcl:
3327 dvi-tcl: \
3328 configure-tcl
3329 @[ -f ./tcl/Makefile ] || exit 0; \
3330 r=`${PWD}`; export r; \
3331 s=`cd $(srcdir); ${PWD}`; export s; \
3332 $(SET_LIB_PATH) \
3333 for flag in $(EXTRA_HOST_FLAGS); do \
3334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3335 done; \
3336 echo "Doing dvi in tcl" ; \
3337 (cd tcl && \
3338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3340 "RANLIB=$${RANLIB}" \
3341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3342 dvi) \
3343 || exit 1
3346 .PHONY: maybe-dvi-itcl dvi-itcl
3347 maybe-dvi-itcl:
3349 dvi-itcl: \
3350 configure-itcl
3351 @[ -f ./itcl/Makefile ] || exit 0; \
3352 r=`${PWD}`; export r; \
3353 s=`cd $(srcdir); ${PWD}`; export s; \
3354 $(SET_LIB_PATH) \
3355 for flag in $(EXTRA_HOST_FLAGS); do \
3356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3357 done; \
3358 echo "Doing dvi in itcl" ; \
3359 (cd itcl && \
3360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3362 "RANLIB=$${RANLIB}" \
3363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3364 dvi) \
3365 || exit 1
3368 .PHONY: maybe-dvi-ld dvi-ld
3369 maybe-dvi-ld:
3371 dvi-ld: \
3372 configure-ld
3373 @[ -f ./ld/Makefile ] || exit 0; \
3374 r=`${PWD}`; export r; \
3375 s=`cd $(srcdir); ${PWD}`; export s; \
3376 $(SET_LIB_PATH) \
3377 for flag in $(EXTRA_HOST_FLAGS); do \
3378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3379 done; \
3380 echo "Doing dvi in ld" ; \
3381 (cd ld && \
3382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3384 "RANLIB=$${RANLIB}" \
3385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3386 dvi) \
3387 || exit 1
3390 .PHONY: maybe-dvi-libgui dvi-libgui
3391 maybe-dvi-libgui:
3393 dvi-libgui: \
3394 configure-libgui
3395 @[ -f ./libgui/Makefile ] || exit 0; \
3396 r=`${PWD}`; export r; \
3397 s=`cd $(srcdir); ${PWD}`; export s; \
3398 $(SET_LIB_PATH) \
3399 for flag in $(EXTRA_HOST_FLAGS); do \
3400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3401 done; \
3402 echo "Doing dvi in libgui" ; \
3403 (cd libgui && \
3404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3406 "RANLIB=$${RANLIB}" \
3407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3408 dvi) \
3409 || exit 1
3412 .PHONY: maybe-dvi-libiberty dvi-libiberty
3413 maybe-dvi-libiberty:
3415 dvi-libiberty: \
3416 configure-libiberty
3417 @[ -f ./libiberty/Makefile ] || exit 0; \
3418 r=`${PWD}`; export r; \
3419 s=`cd $(srcdir); ${PWD}`; export s; \
3420 $(SET_LIB_PATH) \
3421 for flag in $(EXTRA_HOST_FLAGS); do \
3422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3423 done; \
3424 echo "Doing dvi in libiberty" ; \
3425 (cd libiberty && \
3426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3428 "RANLIB=$${RANLIB}" \
3429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3430 dvi) \
3431 || exit 1
3434 .PHONY: maybe-dvi-libtool dvi-libtool
3435 maybe-dvi-libtool:
3437 dvi-libtool: \
3438 configure-libtool
3439 @[ -f ./libtool/Makefile ] || exit 0; \
3440 r=`${PWD}`; export r; \
3441 s=`cd $(srcdir); ${PWD}`; export s; \
3442 $(SET_LIB_PATH) \
3443 for flag in $(EXTRA_HOST_FLAGS); do \
3444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3445 done; \
3446 echo "Doing dvi in libtool" ; \
3447 (cd libtool && \
3448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3450 "RANLIB=$${RANLIB}" \
3451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3452 dvi) \
3453 || exit 1
3456 .PHONY: maybe-dvi-m4 dvi-m4
3457 maybe-dvi-m4:
3459 dvi-m4: \
3460 configure-m4
3461 @[ -f ./m4/Makefile ] || exit 0; \
3462 r=`${PWD}`; export r; \
3463 s=`cd $(srcdir); ${PWD}`; export s; \
3464 $(SET_LIB_PATH) \
3465 for flag in $(EXTRA_HOST_FLAGS); do \
3466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3467 done; \
3468 echo "Doing dvi in m4" ; \
3469 (cd m4 && \
3470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3472 "RANLIB=$${RANLIB}" \
3473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3474 dvi) \
3475 || exit 1
3478 .PHONY: maybe-dvi-make dvi-make
3479 maybe-dvi-make:
3481 dvi-make: \
3482 configure-make
3483 @[ -f ./make/Makefile ] || exit 0; \
3484 r=`${PWD}`; export r; \
3485 s=`cd $(srcdir); ${PWD}`; export s; \
3486 $(SET_LIB_PATH) \
3487 for flag in $(EXTRA_HOST_FLAGS); do \
3488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3489 done; \
3490 echo "Doing dvi in make" ; \
3491 (cd make && \
3492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3494 "RANLIB=$${RANLIB}" \
3495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3496 dvi) \
3497 || exit 1
3500 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
3501 maybe-dvi-mmalloc:
3503 dvi-mmalloc: \
3504 configure-mmalloc
3505 @[ -f ./mmalloc/Makefile ] || exit 0; \
3506 r=`${PWD}`; export r; \
3507 s=`cd $(srcdir); ${PWD}`; export s; \
3508 $(SET_LIB_PATH) \
3509 for flag in $(EXTRA_HOST_FLAGS); do \
3510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3511 done; \
3512 echo "Doing dvi in mmalloc" ; \
3513 (cd mmalloc && \
3514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3516 "RANLIB=$${RANLIB}" \
3517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3518 dvi) \
3519 || exit 1
3522 .PHONY: maybe-dvi-patch dvi-patch
3523 maybe-dvi-patch:
3525 dvi-patch: \
3526 configure-patch
3527 @[ -f ./patch/Makefile ] || exit 0; \
3528 r=`${PWD}`; export r; \
3529 s=`cd $(srcdir); ${PWD}`; export s; \
3530 $(SET_LIB_PATH) \
3531 for flag in $(EXTRA_HOST_FLAGS); do \
3532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3533 done; \
3534 echo "Doing dvi in patch" ; \
3535 (cd patch && \
3536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3538 "RANLIB=$${RANLIB}" \
3539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3540 dvi) \
3541 || exit 1
3544 .PHONY: maybe-dvi-perl dvi-perl
3545 maybe-dvi-perl:
3547 dvi-perl: \
3548 configure-perl
3549 @[ -f ./perl/Makefile ] || exit 0; \
3550 r=`${PWD}`; export r; \
3551 s=`cd $(srcdir); ${PWD}`; export s; \
3552 $(SET_LIB_PATH) \
3553 for flag in $(EXTRA_HOST_FLAGS); do \
3554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3555 done; \
3556 echo "Doing dvi in perl" ; \
3557 (cd perl && \
3558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3560 "RANLIB=$${RANLIB}" \
3561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3562 dvi) \
3563 || exit 1
3566 .PHONY: maybe-dvi-prms dvi-prms
3567 maybe-dvi-prms:
3569 dvi-prms: \
3570 configure-prms
3571 @[ -f ./prms/Makefile ] || exit 0; \
3572 r=`${PWD}`; export r; \
3573 s=`cd $(srcdir); ${PWD}`; export s; \
3574 $(SET_LIB_PATH) \
3575 for flag in $(EXTRA_HOST_FLAGS); do \
3576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3577 done; \
3578 echo "Doing dvi in prms" ; \
3579 (cd prms && \
3580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3582 "RANLIB=$${RANLIB}" \
3583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3584 dvi) \
3585 || exit 1
3588 .PHONY: maybe-dvi-rcs dvi-rcs
3589 maybe-dvi-rcs:
3591 dvi-rcs: \
3592 configure-rcs
3593 @[ -f ./rcs/Makefile ] || exit 0; \
3594 r=`${PWD}`; export r; \
3595 s=`cd $(srcdir); ${PWD}`; export s; \
3596 $(SET_LIB_PATH) \
3597 for flag in $(EXTRA_HOST_FLAGS); do \
3598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3599 done; \
3600 echo "Doing dvi in rcs" ; \
3601 (cd rcs && \
3602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3604 "RANLIB=$${RANLIB}" \
3605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3606 dvi) \
3607 || exit 1
3610 .PHONY: maybe-dvi-readline dvi-readline
3611 maybe-dvi-readline:
3613 dvi-readline: \
3614 configure-readline
3615 @[ -f ./readline/Makefile ] || exit 0; \
3616 r=`${PWD}`; export r; \
3617 s=`cd $(srcdir); ${PWD}`; export s; \
3618 $(SET_LIB_PATH) \
3619 for flag in $(EXTRA_HOST_FLAGS); do \
3620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3621 done; \
3622 echo "Doing dvi in readline" ; \
3623 (cd readline && \
3624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3626 "RANLIB=$${RANLIB}" \
3627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3628 dvi) \
3629 || exit 1
3632 .PHONY: maybe-dvi-release dvi-release
3633 maybe-dvi-release:
3635 dvi-release: \
3636 configure-release
3637 @[ -f ./release/Makefile ] || exit 0; \
3638 r=`${PWD}`; export r; \
3639 s=`cd $(srcdir); ${PWD}`; export s; \
3640 $(SET_LIB_PATH) \
3641 for flag in $(EXTRA_HOST_FLAGS); do \
3642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3643 done; \
3644 echo "Doing dvi in release" ; \
3645 (cd release && \
3646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3648 "RANLIB=$${RANLIB}" \
3649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3650 dvi) \
3651 || exit 1
3654 .PHONY: maybe-dvi-recode dvi-recode
3655 maybe-dvi-recode:
3657 dvi-recode: \
3658 configure-recode
3659 @[ -f ./recode/Makefile ] || exit 0; \
3660 r=`${PWD}`; export r; \
3661 s=`cd $(srcdir); ${PWD}`; export s; \
3662 $(SET_LIB_PATH) \
3663 for flag in $(EXTRA_HOST_FLAGS); do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing dvi in recode" ; \
3667 (cd recode && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3672 dvi) \
3673 || exit 1
3676 .PHONY: maybe-dvi-sed dvi-sed
3677 maybe-dvi-sed:
3679 dvi-sed: \
3680 configure-sed
3681 @[ -f ./sed/Makefile ] || exit 0; \
3682 r=`${PWD}`; export r; \
3683 s=`cd $(srcdir); ${PWD}`; export s; \
3684 $(SET_LIB_PATH) \
3685 for flag in $(EXTRA_HOST_FLAGS); do \
3686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3687 done; \
3688 echo "Doing dvi in sed" ; \
3689 (cd sed && \
3690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3692 "RANLIB=$${RANLIB}" \
3693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3694 dvi) \
3695 || exit 1
3698 .PHONY: maybe-dvi-send-pr dvi-send-pr
3699 maybe-dvi-send-pr:
3701 dvi-send-pr: \
3702 configure-send-pr
3703 @[ -f ./send-pr/Makefile ] || exit 0; \
3704 r=`${PWD}`; export r; \
3705 s=`cd $(srcdir); ${PWD}`; export s; \
3706 $(SET_LIB_PATH) \
3707 for flag in $(EXTRA_HOST_FLAGS); do \
3708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3709 done; \
3710 echo "Doing dvi in send-pr" ; \
3711 (cd send-pr && \
3712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3714 "RANLIB=$${RANLIB}" \
3715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3716 dvi) \
3717 || exit 1
3720 .PHONY: maybe-dvi-shellutils dvi-shellutils
3721 maybe-dvi-shellutils:
3723 dvi-shellutils: \
3724 configure-shellutils
3725 @[ -f ./shellutils/Makefile ] || exit 0; \
3726 r=`${PWD}`; export r; \
3727 s=`cd $(srcdir); ${PWD}`; export s; \
3728 $(SET_LIB_PATH) \
3729 for flag in $(EXTRA_HOST_FLAGS); do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing dvi in shellutils" ; \
3733 (cd shellutils && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3738 dvi) \
3739 || exit 1
3742 .PHONY: maybe-dvi-sid dvi-sid
3743 maybe-dvi-sid:
3745 dvi-sid: \
3746 configure-sid
3747 @[ -f ./sid/Makefile ] || exit 0; \
3748 r=`${PWD}`; export r; \
3749 s=`cd $(srcdir); ${PWD}`; export s; \
3750 $(SET_LIB_PATH) \
3751 for flag in $(EXTRA_HOST_FLAGS); do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 done; \
3754 echo "Doing dvi in sid" ; \
3755 (cd sid && \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3760 dvi) \
3761 || exit 1
3764 .PHONY: maybe-dvi-sim dvi-sim
3765 maybe-dvi-sim:
3767 dvi-sim: \
3768 configure-sim
3769 @[ -f ./sim/Makefile ] || exit 0; \
3770 r=`${PWD}`; export r; \
3771 s=`cd $(srcdir); ${PWD}`; export s; \
3772 $(SET_LIB_PATH) \
3773 for flag in $(EXTRA_HOST_FLAGS); do \
3774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3775 done; \
3776 echo "Doing dvi in sim" ; \
3777 (cd sim && \
3778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3780 "RANLIB=$${RANLIB}" \
3781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3782 dvi) \
3783 || exit 1
3786 .PHONY: maybe-dvi-tar dvi-tar
3787 maybe-dvi-tar:
3789 dvi-tar: \
3790 configure-tar
3791 @[ -f ./tar/Makefile ] || exit 0; \
3792 r=`${PWD}`; export r; \
3793 s=`cd $(srcdir); ${PWD}`; export s; \
3794 $(SET_LIB_PATH) \
3795 for flag in $(EXTRA_HOST_FLAGS); do \
3796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3797 done; \
3798 echo "Doing dvi in tar" ; \
3799 (cd tar && \
3800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3802 "RANLIB=$${RANLIB}" \
3803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3804 dvi) \
3805 || exit 1
3808 .PHONY: maybe-dvi-texinfo dvi-texinfo
3809 maybe-dvi-texinfo:
3811 dvi-texinfo: \
3812 configure-texinfo
3813 @[ -f ./texinfo/Makefile ] || exit 0; \
3814 r=`${PWD}`; export r; \
3815 s=`cd $(srcdir); ${PWD}`; export s; \
3816 $(SET_LIB_PATH) \
3817 for flag in $(EXTRA_HOST_FLAGS); do \
3818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3819 done; \
3820 echo "Doing dvi in texinfo" ; \
3821 (cd texinfo && \
3822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3824 "RANLIB=$${RANLIB}" \
3825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3826 dvi) \
3827 || exit 1
3830 .PHONY: maybe-dvi-textutils dvi-textutils
3831 maybe-dvi-textutils:
3833 dvi-textutils: \
3834 configure-textutils
3835 @[ -f ./textutils/Makefile ] || exit 0; \
3836 r=`${PWD}`; export r; \
3837 s=`cd $(srcdir); ${PWD}`; export s; \
3838 $(SET_LIB_PATH) \
3839 for flag in $(EXTRA_HOST_FLAGS); do \
3840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3841 done; \
3842 echo "Doing dvi in textutils" ; \
3843 (cd textutils && \
3844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846 "RANLIB=$${RANLIB}" \
3847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3848 dvi) \
3849 || exit 1
3852 .PHONY: maybe-dvi-time dvi-time
3853 maybe-dvi-time:
3855 dvi-time: \
3856 configure-time
3857 @[ -f ./time/Makefile ] || exit 0; \
3858 r=`${PWD}`; export r; \
3859 s=`cd $(srcdir); ${PWD}`; export s; \
3860 $(SET_LIB_PATH) \
3861 for flag in $(EXTRA_HOST_FLAGS); do \
3862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3863 done; \
3864 echo "Doing dvi in time" ; \
3865 (cd time && \
3866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3868 "RANLIB=$${RANLIB}" \
3869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3870 dvi) \
3871 || exit 1
3874 .PHONY: maybe-dvi-uudecode dvi-uudecode
3875 maybe-dvi-uudecode:
3877 dvi-uudecode: \
3878 configure-uudecode
3879 @[ -f ./uudecode/Makefile ] || exit 0; \
3880 r=`${PWD}`; export r; \
3881 s=`cd $(srcdir); ${PWD}`; export s; \
3882 $(SET_LIB_PATH) \
3883 for flag in $(EXTRA_HOST_FLAGS); do \
3884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3885 done; \
3886 echo "Doing dvi in uudecode" ; \
3887 (cd uudecode && \
3888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3890 "RANLIB=$${RANLIB}" \
3891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3892 dvi) \
3893 || exit 1
3896 .PHONY: maybe-dvi-wdiff dvi-wdiff
3897 maybe-dvi-wdiff:
3899 dvi-wdiff: \
3900 configure-wdiff
3901 @[ -f ./wdiff/Makefile ] || exit 0; \
3902 r=`${PWD}`; export r; \
3903 s=`cd $(srcdir); ${PWD}`; export s; \
3904 $(SET_LIB_PATH) \
3905 for flag in $(EXTRA_HOST_FLAGS); do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 done; \
3908 echo "Doing dvi in wdiff" ; \
3909 (cd wdiff && \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3914 dvi) \
3915 || exit 1
3918 .PHONY: maybe-dvi-zip dvi-zip
3919 maybe-dvi-zip:
3921 dvi-zip: \
3922 configure-zip
3923 @[ -f ./zip/Makefile ] || exit 0; \
3924 r=`${PWD}`; export r; \
3925 s=`cd $(srcdir); ${PWD}`; export s; \
3926 $(SET_LIB_PATH) \
3927 for flag in $(EXTRA_HOST_FLAGS); do \
3928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3929 done; \
3930 echo "Doing dvi in zip" ; \
3931 (cd zip && \
3932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3934 "RANLIB=$${RANLIB}" \
3935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3936 dvi) \
3937 || exit 1
3940 .PHONY: maybe-dvi-zlib dvi-zlib
3941 maybe-dvi-zlib:
3943 dvi-zlib: \
3944 configure-zlib
3945 @[ -f ./zlib/Makefile ] || exit 0; \
3946 r=`${PWD}`; export r; \
3947 s=`cd $(srcdir); ${PWD}`; export s; \
3948 $(SET_LIB_PATH) \
3949 for flag in $(EXTRA_HOST_FLAGS); do \
3950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3951 done; \
3952 echo "Doing dvi in zlib" ; \
3953 (cd zlib && \
3954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3956 "RANLIB=$${RANLIB}" \
3957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3958 dvi) \
3959 || exit 1
3962 .PHONY: maybe-dvi-gdb dvi-gdb
3963 maybe-dvi-gdb:
3965 dvi-gdb: \
3966 configure-gdb
3967 @[ -f ./gdb/Makefile ] || exit 0; \
3968 r=`${PWD}`; export r; \
3969 s=`cd $(srcdir); ${PWD}`; export s; \
3970 $(SET_LIB_PATH) \
3971 for flag in $(EXTRA_HOST_FLAGS); do \
3972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3973 done; \
3974 echo "Doing dvi in gdb" ; \
3975 (cd gdb && \
3976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3978 "RANLIB=$${RANLIB}" \
3979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3980 dvi) \
3981 || exit 1
3984 .PHONY: maybe-dvi-expect dvi-expect
3985 maybe-dvi-expect:
3987 dvi-expect: \
3988 configure-expect
3989 @[ -f ./expect/Makefile ] || exit 0; \
3990 r=`${PWD}`; export r; \
3991 s=`cd $(srcdir); ${PWD}`; export s; \
3992 $(SET_LIB_PATH) \
3993 for flag in $(EXTRA_HOST_FLAGS); do \
3994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3995 done; \
3996 echo "Doing dvi in expect" ; \
3997 (cd expect && \
3998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4000 "RANLIB=$${RANLIB}" \
4001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4002 dvi) \
4003 || exit 1
4006 .PHONY: maybe-dvi-guile dvi-guile
4007 maybe-dvi-guile:
4009 dvi-guile: \
4010 configure-guile
4011 @[ -f ./guile/Makefile ] || exit 0; \
4012 r=`${PWD}`; export r; \
4013 s=`cd $(srcdir); ${PWD}`; export s; \
4014 $(SET_LIB_PATH) \
4015 for flag in $(EXTRA_HOST_FLAGS); do \
4016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4017 done; \
4018 echo "Doing dvi in guile" ; \
4019 (cd guile && \
4020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4022 "RANLIB=$${RANLIB}" \
4023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4024 dvi) \
4025 || exit 1
4028 .PHONY: maybe-dvi-tk dvi-tk
4029 maybe-dvi-tk:
4031 dvi-tk: \
4032 configure-tk
4033 @[ -f ./tk/Makefile ] || exit 0; \
4034 r=`${PWD}`; export r; \
4035 s=`cd $(srcdir); ${PWD}`; export s; \
4036 $(SET_LIB_PATH) \
4037 for flag in $(EXTRA_HOST_FLAGS); do \
4038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4039 done; \
4040 echo "Doing dvi in tk" ; \
4041 (cd tk && \
4042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4044 "RANLIB=$${RANLIB}" \
4045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4046 dvi) \
4047 || exit 1
4050 .PHONY: maybe-dvi-tix dvi-tix
4051 maybe-dvi-tix:
4053 dvi-tix: \
4054 configure-tix
4055 @[ -f ./tix/Makefile ] || exit 0; \
4056 r=`${PWD}`; export r; \
4057 s=`cd $(srcdir); ${PWD}`; export s; \
4058 $(SET_LIB_PATH) \
4059 for flag in $(EXTRA_HOST_FLAGS); do \
4060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4061 done; \
4062 echo "Doing dvi in tix" ; \
4063 (cd tix && \
4064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4066 "RANLIB=$${RANLIB}" \
4067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4068 dvi) \
4069 || exit 1
4072 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
4073 maybe-dvi-libtermcap:
4075 dvi-libtermcap: \
4076 configure-libtermcap
4077 @[ -f ./libtermcap/Makefile ] || exit 0; \
4078 r=`${PWD}`; export r; \
4079 s=`cd $(srcdir); ${PWD}`; export s; \
4080 $(SET_LIB_PATH) \
4081 for flag in $(EXTRA_HOST_FLAGS); do \
4082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4083 done; \
4084 echo "Doing dvi in libtermcap" ; \
4085 (cd libtermcap && \
4086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4088 "RANLIB=$${RANLIB}" \
4089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4090 dvi) \
4091 || exit 1
4094 .PHONY: maybe-dvi-utils dvi-utils
4095 maybe-dvi-utils:
4097 dvi-utils: \
4098 configure-utils
4099 @[ -f ./utils/Makefile ] || exit 0; \
4100 r=`${PWD}`; export r; \
4101 s=`cd $(srcdir); ${PWD}`; export s; \
4102 $(SET_LIB_PATH) \
4103 for flag in $(EXTRA_HOST_FLAGS); do \
4104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4105 done; \
4106 echo "Doing dvi in utils" ; \
4107 (cd utils && \
4108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4110 "RANLIB=$${RANLIB}" \
4111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4112 dvi) \
4113 || exit 1
4117 # Target modules.
4119 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
4120 maybe-dvi-target-libstdc++-v3:
4122 dvi-target-libstdc++-v3: \
4123 configure-target-libstdc++-v3
4124 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
4125 r=`${PWD}`; export r; \
4126 s=`cd $(srcdir); ${PWD}`; export s; \
4127 $(SET_LIB_PATH) \
4128 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
4129 for flag in $(EXTRA_TARGET_FLAGS); do \
4130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4131 done; \
4132 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135 "RANLIB=$${RANLIB}" \
4136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137 dvi) \
4138 || exit 1
4141 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
4142 maybe-dvi-target-newlib:
4144 dvi-target-newlib: \
4145 configure-target-newlib
4146 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
4147 r=`${PWD}`; export r; \
4148 s=`cd $(srcdir); ${PWD}`; export s; \
4149 $(SET_LIB_PATH) \
4150 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
4151 for flag in $(EXTRA_TARGET_FLAGS); do \
4152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4153 done; \
4154 (cd $(TARGET_SUBDIR)/newlib && \
4155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4157 "RANLIB=$${RANLIB}" \
4158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4159 dvi) \
4160 || exit 1
4163 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
4164 maybe-dvi-target-libf2c:
4166 dvi-target-libf2c: \
4167 configure-target-libf2c
4168 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
4169 r=`${PWD}`; export r; \
4170 s=`cd $(srcdir); ${PWD}`; export s; \
4171 $(SET_LIB_PATH) \
4172 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
4173 for flag in $(EXTRA_TARGET_FLAGS); do \
4174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4175 done; \
4176 (cd $(TARGET_SUBDIR)/libf2c && \
4177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4179 "RANLIB=$${RANLIB}" \
4180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4181 dvi) \
4182 || exit 1
4185 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
4186 maybe-dvi-target-libobjc:
4188 dvi-target-libobjc: \
4189 configure-target-libobjc
4190 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
4191 r=`${PWD}`; export r; \
4192 s=`cd $(srcdir); ${PWD}`; export s; \
4193 $(SET_LIB_PATH) \
4194 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
4195 for flag in $(EXTRA_TARGET_FLAGS); do \
4196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4197 done; \
4198 (cd $(TARGET_SUBDIR)/libobjc && \
4199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4201 "RANLIB=$${RANLIB}" \
4202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4203 dvi) \
4204 || exit 1
4207 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
4208 maybe-dvi-target-libtermcap:
4210 dvi-target-libtermcap: \
4211 configure-target-libtermcap
4212 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
4213 r=`${PWD}`; export r; \
4214 s=`cd $(srcdir); ${PWD}`; export s; \
4215 $(SET_LIB_PATH) \
4216 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
4217 for flag in $(EXTRA_TARGET_FLAGS); do \
4218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4219 done; \
4220 (cd $(TARGET_SUBDIR)/libtermcap && \
4221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223 "RANLIB=$${RANLIB}" \
4224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225 dvi) \
4226 || exit 1
4229 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
4230 maybe-dvi-target-winsup:
4232 dvi-target-winsup: \
4233 configure-target-winsup
4234 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
4235 r=`${PWD}`; export r; \
4236 s=`cd $(srcdir); ${PWD}`; export s; \
4237 $(SET_LIB_PATH) \
4238 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
4239 for flag in $(EXTRA_TARGET_FLAGS); do \
4240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4241 done; \
4242 (cd $(TARGET_SUBDIR)/winsup && \
4243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4245 "RANLIB=$${RANLIB}" \
4246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4247 dvi) \
4248 || exit 1
4251 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
4252 maybe-dvi-target-libgloss:
4254 dvi-target-libgloss: \
4255 configure-target-libgloss
4256 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
4257 r=`${PWD}`; export r; \
4258 s=`cd $(srcdir); ${PWD}`; export s; \
4259 $(SET_LIB_PATH) \
4260 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
4261 for flag in $(EXTRA_TARGET_FLAGS); do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 done; \
4264 (cd $(TARGET_SUBDIR)/libgloss && \
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 dvi) \
4270 || exit 1
4273 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
4274 maybe-dvi-target-libiberty:
4276 dvi-target-libiberty: \
4277 configure-target-libiberty
4278 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
4279 r=`${PWD}`; export r; \
4280 s=`cd $(srcdir); ${PWD}`; export s; \
4281 $(SET_LIB_PATH) \
4282 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
4283 for flag in $(EXTRA_TARGET_FLAGS); do \
4284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4285 done; \
4286 (cd $(TARGET_SUBDIR)/libiberty && \
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 dvi) \
4292 || exit 1
4295 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
4296 maybe-dvi-target-gperf:
4298 dvi-target-gperf: \
4299 configure-target-gperf
4300 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
4301 r=`${PWD}`; export r; \
4302 s=`cd $(srcdir); ${PWD}`; export s; \
4303 $(SET_LIB_PATH) \
4304 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
4305 for flag in $(EXTRA_TARGET_FLAGS); do \
4306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4307 done; \
4308 (cd $(TARGET_SUBDIR)/gperf && \
4309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4311 "RANLIB=$${RANLIB}" \
4312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4313 dvi) \
4314 || exit 1
4317 .PHONY: maybe-dvi-target-examples dvi-target-examples
4318 maybe-dvi-target-examples:
4320 dvi-target-examples: \
4321 configure-target-examples
4322 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
4323 r=`${PWD}`; export r; \
4324 s=`cd $(srcdir); ${PWD}`; export s; \
4325 $(SET_LIB_PATH) \
4326 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
4327 for flag in $(EXTRA_TARGET_FLAGS); do \
4328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4329 done; \
4330 (cd $(TARGET_SUBDIR)/examples && \
4331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4333 "RANLIB=$${RANLIB}" \
4334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4335 dvi) \
4336 || exit 1
4339 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
4340 maybe-dvi-target-libffi:
4342 dvi-target-libffi: \
4343 configure-target-libffi
4344 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
4345 r=`${PWD}`; export r; \
4346 s=`cd $(srcdir); ${PWD}`; export s; \
4347 $(SET_LIB_PATH) \
4348 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
4349 for flag in $(EXTRA_TARGET_FLAGS); do \
4350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4351 done; \
4352 (cd $(TARGET_SUBDIR)/libffi && \
4353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4355 "RANLIB=$${RANLIB}" \
4356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4357 dvi) \
4358 || exit 1
4361 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
4362 maybe-dvi-target-libjava:
4364 dvi-target-libjava: \
4365 configure-target-libjava
4366 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
4367 r=`${PWD}`; export r; \
4368 s=`cd $(srcdir); ${PWD}`; export s; \
4369 $(SET_LIB_PATH) \
4370 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
4371 for flag in $(EXTRA_TARGET_FLAGS); do \
4372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4373 done; \
4374 (cd $(TARGET_SUBDIR)/libjava && \
4375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4377 "RANLIB=$${RANLIB}" \
4378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4379 dvi) \
4380 || exit 1
4383 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
4384 maybe-dvi-target-zlib:
4386 dvi-target-zlib: \
4387 configure-target-zlib
4388 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
4389 r=`${PWD}`; export r; \
4390 s=`cd $(srcdir); ${PWD}`; export s; \
4391 $(SET_LIB_PATH) \
4392 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
4393 for flag in $(EXTRA_TARGET_FLAGS); do \
4394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4395 done; \
4396 (cd $(TARGET_SUBDIR)/zlib && \
4397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4399 "RANLIB=$${RANLIB}" \
4400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4401 dvi) \
4402 || exit 1
4405 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
4406 maybe-dvi-target-boehm-gc:
4408 dvi-target-boehm-gc: \
4409 configure-target-boehm-gc
4410 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
4411 r=`${PWD}`; export r; \
4412 s=`cd $(srcdir); ${PWD}`; export s; \
4413 $(SET_LIB_PATH) \
4414 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
4415 for flag in $(EXTRA_TARGET_FLAGS); do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 (cd $(TARGET_SUBDIR)/boehm-gc && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4423 dvi) \
4424 || exit 1
4427 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
4428 maybe-dvi-target-qthreads:
4430 dvi-target-qthreads: \
4431 configure-target-qthreads
4432 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
4433 r=`${PWD}`; export r; \
4434 s=`cd $(srcdir); ${PWD}`; export s; \
4435 $(SET_LIB_PATH) \
4436 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
4437 for flag in $(EXTRA_TARGET_FLAGS); do \
4438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4439 done; \
4440 (cd $(TARGET_SUBDIR)/qthreads && \
4441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4443 "RANLIB=$${RANLIB}" \
4444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4445 dvi) \
4446 || exit 1
4449 .PHONY: maybe-dvi-target-rda dvi-target-rda
4450 maybe-dvi-target-rda:
4452 dvi-target-rda: \
4453 configure-target-rda
4454 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
4455 r=`${PWD}`; export r; \
4456 s=`cd $(srcdir); ${PWD}`; export s; \
4457 $(SET_LIB_PATH) \
4458 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
4459 for flag in $(EXTRA_TARGET_FLAGS); do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 (cd $(TARGET_SUBDIR)/rda && \
4463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4465 "RANLIB=$${RANLIB}" \
4466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4467 dvi) \
4468 || exit 1
4472 .PHONY: do-TAGS
4473 do-TAGS: TAGS-host TAGS-target
4475 .PHONY: TAGS-host
4476 TAGS-host: maybe-TAGS-gcc \
4477 maybe-TAGS-ash \
4478 maybe-TAGS-autoconf \
4479 maybe-TAGS-automake \
4480 maybe-TAGS-bash \
4481 maybe-TAGS-bfd \
4482 maybe-TAGS-opcodes \
4483 maybe-TAGS-binutils \
4484 maybe-TAGS-bison \
4485 maybe-TAGS-byacc \
4486 maybe-TAGS-bzip2 \
4487 maybe-TAGS-dejagnu \
4488 maybe-TAGS-diff \
4489 maybe-TAGS-dosutils \
4490 maybe-TAGS-etc \
4491 maybe-TAGS-fastjar \
4492 maybe-TAGS-fileutils \
4493 maybe-TAGS-findutils \
4494 maybe-TAGS-find \
4495 maybe-TAGS-flex \
4496 maybe-TAGS-gas \
4497 maybe-TAGS-gawk \
4498 maybe-TAGS-gettext \
4499 maybe-TAGS-gnuserv \
4500 maybe-TAGS-gprof \
4501 maybe-TAGS-gzip \
4502 maybe-TAGS-hello \
4503 maybe-TAGS-indent \
4504 maybe-TAGS-intl \
4505 maybe-TAGS-tcl \
4506 maybe-TAGS-itcl \
4507 maybe-TAGS-ld \
4508 maybe-TAGS-libgui \
4509 maybe-TAGS-libiberty \
4510 maybe-TAGS-libtool \
4511 maybe-TAGS-m4 \
4512 maybe-TAGS-make \
4513 maybe-TAGS-mmalloc \
4514 maybe-TAGS-patch \
4515 maybe-TAGS-perl \
4516 maybe-TAGS-prms \
4517 maybe-TAGS-rcs \
4518 maybe-TAGS-readline \
4519 maybe-TAGS-release \
4520 maybe-TAGS-recode \
4521 maybe-TAGS-sed \
4522 maybe-TAGS-send-pr \
4523 maybe-TAGS-shellutils \
4524 maybe-TAGS-sid \
4525 maybe-TAGS-sim \
4526 maybe-TAGS-tar \
4527 maybe-TAGS-texinfo \
4528 maybe-TAGS-textutils \
4529 maybe-TAGS-time \
4530 maybe-TAGS-uudecode \
4531 maybe-TAGS-wdiff \
4532 maybe-TAGS-zip \
4533 maybe-TAGS-zlib \
4534 maybe-TAGS-gdb \
4535 maybe-TAGS-expect \
4536 maybe-TAGS-guile \
4537 maybe-TAGS-tk \
4538 maybe-TAGS-tix \
4539 maybe-TAGS-libtermcap \
4540 maybe-TAGS-utils
4542 .PHONY: TAGS-target
4543 TAGS-target: \
4544 maybe-TAGS-target-libstdc++-v3 \
4545 maybe-TAGS-target-newlib \
4546 maybe-TAGS-target-libf2c \
4547 maybe-TAGS-target-libobjc \
4548 maybe-TAGS-target-libtermcap \
4549 maybe-TAGS-target-winsup \
4550 maybe-TAGS-target-libgloss \
4551 maybe-TAGS-target-libiberty \
4552 maybe-TAGS-target-gperf \
4553 maybe-TAGS-target-examples \
4554 maybe-TAGS-target-libffi \
4555 maybe-TAGS-target-libjava \
4556 maybe-TAGS-target-zlib \
4557 maybe-TAGS-target-boehm-gc \
4558 maybe-TAGS-target-qthreads \
4559 maybe-TAGS-target-rda
4561 # GCC, the eternal special case
4562 .PHONY: maybe-TAGS-gcc TAGS-gcc
4563 maybe-TAGS-gcc:
4564 TAGS-gcc: \
4565 configure-gcc
4566 @[ -f ./gcc/Makefile ] || exit 0; \
4567 r=`${PWD}`; export r; \
4568 s=`cd $(srcdir); ${PWD}`; export s; \
4569 $(SET_LIB_PATH) \
4570 for flag in $(EXTRA_GCC_FLAGS); do \
4571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 done; \
4573 echo "Doing TAGS in gcc" ; \
4574 (cd gcc && \
4575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577 "RANLIB=$${RANLIB}" \
4578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4579 TAGS) \
4580 || exit 1
4582 # Host modules.
4584 .PHONY: maybe-TAGS-ash TAGS-ash
4585 maybe-TAGS-ash:
4587 TAGS-ash: \
4588 configure-ash
4589 @[ -f ./ash/Makefile ] || exit 0; \
4590 r=`${PWD}`; export r; \
4591 s=`cd $(srcdir); ${PWD}`; export s; \
4592 $(SET_LIB_PATH) \
4593 for flag in $(EXTRA_HOST_FLAGS); do \
4594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4595 done; \
4596 echo "Doing TAGS in ash" ; \
4597 (cd ash && \
4598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4600 "RANLIB=$${RANLIB}" \
4601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4602 TAGS) \
4603 || exit 1
4606 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4607 maybe-TAGS-autoconf:
4609 TAGS-autoconf: \
4610 configure-autoconf
4611 @[ -f ./autoconf/Makefile ] || exit 0; \
4612 r=`${PWD}`; export r; \
4613 s=`cd $(srcdir); ${PWD}`; export s; \
4614 $(SET_LIB_PATH) \
4615 for flag in $(EXTRA_HOST_FLAGS); do \
4616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4617 done; \
4618 echo "Doing TAGS in autoconf" ; \
4619 (cd autoconf && \
4620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622 "RANLIB=$${RANLIB}" \
4623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4624 TAGS) \
4625 || exit 1
4628 .PHONY: maybe-TAGS-automake TAGS-automake
4629 maybe-TAGS-automake:
4631 TAGS-automake: \
4632 configure-automake
4633 @[ -f ./automake/Makefile ] || exit 0; \
4634 r=`${PWD}`; export r; \
4635 s=`cd $(srcdir); ${PWD}`; export s; \
4636 $(SET_LIB_PATH) \
4637 for flag in $(EXTRA_HOST_FLAGS); do \
4638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4639 done; \
4640 echo "Doing TAGS in automake" ; \
4641 (cd automake && \
4642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4644 "RANLIB=$${RANLIB}" \
4645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4646 TAGS) \
4647 || exit 1
4650 .PHONY: maybe-TAGS-bash TAGS-bash
4651 maybe-TAGS-bash:
4653 TAGS-bash: \
4654 configure-bash
4655 @[ -f ./bash/Makefile ] || exit 0; \
4656 r=`${PWD}`; export r; \
4657 s=`cd $(srcdir); ${PWD}`; export s; \
4658 $(SET_LIB_PATH) \
4659 for flag in $(EXTRA_HOST_FLAGS); do \
4660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4661 done; \
4662 echo "Doing TAGS in bash" ; \
4663 (cd bash && \
4664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4666 "RANLIB=$${RANLIB}" \
4667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4668 TAGS) \
4669 || exit 1
4672 .PHONY: maybe-TAGS-bfd TAGS-bfd
4673 maybe-TAGS-bfd:
4675 TAGS-bfd: \
4676 configure-bfd
4677 @[ -f ./bfd/Makefile ] || exit 0; \
4678 r=`${PWD}`; export r; \
4679 s=`cd $(srcdir); ${PWD}`; export s; \
4680 $(SET_LIB_PATH) \
4681 for flag in $(EXTRA_HOST_FLAGS); do \
4682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4683 done; \
4684 echo "Doing TAGS in bfd" ; \
4685 (cd bfd && \
4686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4688 "RANLIB=$${RANLIB}" \
4689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4690 TAGS) \
4691 || exit 1
4694 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4695 maybe-TAGS-opcodes:
4697 TAGS-opcodes: \
4698 configure-opcodes
4699 @[ -f ./opcodes/Makefile ] || exit 0; \
4700 r=`${PWD}`; export r; \
4701 s=`cd $(srcdir); ${PWD}`; export s; \
4702 $(SET_LIB_PATH) \
4703 for flag in $(EXTRA_HOST_FLAGS); do \
4704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4705 done; \
4706 echo "Doing TAGS in opcodes" ; \
4707 (cd opcodes && \
4708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4710 "RANLIB=$${RANLIB}" \
4711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4712 TAGS) \
4713 || exit 1
4716 .PHONY: maybe-TAGS-binutils TAGS-binutils
4717 maybe-TAGS-binutils:
4719 TAGS-binutils: \
4720 configure-binutils
4721 @[ -f ./binutils/Makefile ] || exit 0; \
4722 r=`${PWD}`; export r; \
4723 s=`cd $(srcdir); ${PWD}`; 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 TAGS in binutils" ; \
4729 (cd binutils && \
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 TAGS) \
4735 || exit 1
4738 .PHONY: maybe-TAGS-bison TAGS-bison
4739 maybe-TAGS-bison:
4741 TAGS-bison: \
4742 configure-bison
4743 @[ -f ./bison/Makefile ] || exit 0; \
4744 r=`${PWD}`; export r; \
4745 s=`cd $(srcdir); ${PWD}`; 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 TAGS in bison" ; \
4751 (cd bison && \
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 TAGS) \
4757 || exit 1
4760 .PHONY: maybe-TAGS-byacc TAGS-byacc
4761 maybe-TAGS-byacc:
4763 TAGS-byacc: \
4764 configure-byacc
4765 @[ -f ./byacc/Makefile ] || exit 0; \
4766 r=`${PWD}`; export r; \
4767 s=`cd $(srcdir); ${PWD}`; 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 byacc" ; \
4773 (cd byacc && \
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
4782 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4783 maybe-TAGS-bzip2:
4785 TAGS-bzip2: \
4786 configure-bzip2
4787 @[ -f ./bzip2/Makefile ] || exit 0; \
4788 r=`${PWD}`; export r; \
4789 s=`cd $(srcdir); ${PWD}`; export s; \
4790 $(SET_LIB_PATH) \
4791 for flag in $(EXTRA_HOST_FLAGS); do \
4792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4793 done; \
4794 echo "Doing TAGS in bzip2" ; \
4795 (cd bzip2 && \
4796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4798 "RANLIB=$${RANLIB}" \
4799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4800 TAGS) \
4801 || exit 1
4804 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4805 maybe-TAGS-dejagnu:
4807 TAGS-dejagnu: \
4808 configure-dejagnu
4809 @[ -f ./dejagnu/Makefile ] || exit 0; \
4810 r=`${PWD}`; export r; \
4811 s=`cd $(srcdir); ${PWD}`; export s; \
4812 $(SET_LIB_PATH) \
4813 for flag in $(EXTRA_HOST_FLAGS); do \
4814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4815 done; \
4816 echo "Doing TAGS in dejagnu" ; \
4817 (cd dejagnu && \
4818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4820 "RANLIB=$${RANLIB}" \
4821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4822 TAGS) \
4823 || exit 1
4826 .PHONY: maybe-TAGS-diff TAGS-diff
4827 maybe-TAGS-diff:
4829 TAGS-diff: \
4830 configure-diff
4831 @[ -f ./diff/Makefile ] || exit 0; \
4832 r=`${PWD}`; export r; \
4833 s=`cd $(srcdir); ${PWD}`; 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 TAGS in diff" ; \
4839 (cd diff && \
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 TAGS) \
4845 || exit 1
4848 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
4849 maybe-TAGS-dosutils:
4851 TAGS-dosutils: \
4852 configure-dosutils
4853 @[ -f ./dosutils/Makefile ] || exit 0; \
4854 r=`${PWD}`; export r; \
4855 s=`cd $(srcdir); ${PWD}`; export s; \
4856 $(SET_LIB_PATH) \
4857 for flag in $(EXTRA_HOST_FLAGS); do \
4858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4859 done; \
4860 echo "Doing TAGS in dosutils" ; \
4861 (cd dosutils && \
4862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4864 "RANLIB=$${RANLIB}" \
4865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4866 TAGS) \
4867 || exit 1
4870 .PHONY: maybe-TAGS-etc TAGS-etc
4871 maybe-TAGS-etc:
4873 TAGS-etc: \
4874 configure-etc
4875 @[ -f ./etc/Makefile ] || exit 0; \
4876 r=`${PWD}`; export r; \
4877 s=`cd $(srcdir); ${PWD}`; export s; \
4878 $(SET_LIB_PATH) \
4879 for flag in $(EXTRA_HOST_FLAGS); do \
4880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4881 done; \
4882 echo "Doing TAGS in etc" ; \
4883 (cd etc && \
4884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4886 "RANLIB=$${RANLIB}" \
4887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4888 TAGS) \
4889 || exit 1
4892 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
4893 maybe-TAGS-fastjar:
4895 TAGS-fastjar: \
4896 configure-fastjar
4897 @[ -f ./fastjar/Makefile ] || exit 0; \
4898 r=`${PWD}`; export r; \
4899 s=`cd $(srcdir); ${PWD}`; export s; \
4900 $(SET_LIB_PATH) \
4901 for flag in $(EXTRA_HOST_FLAGS); do \
4902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4903 done; \
4904 echo "Doing TAGS in fastjar" ; \
4905 (cd fastjar && \
4906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4908 "RANLIB=$${RANLIB}" \
4909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4910 TAGS) \
4911 || exit 1
4914 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
4915 maybe-TAGS-fileutils:
4917 TAGS-fileutils: \
4918 configure-fileutils
4919 @[ -f ./fileutils/Makefile ] || exit 0; \
4920 r=`${PWD}`; export r; \
4921 s=`cd $(srcdir); ${PWD}`; export s; \
4922 $(SET_LIB_PATH) \
4923 for flag in $(EXTRA_HOST_FLAGS); do \
4924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4925 done; \
4926 echo "Doing TAGS in fileutils" ; \
4927 (cd fileutils && \
4928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4930 "RANLIB=$${RANLIB}" \
4931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4932 TAGS) \
4933 || exit 1
4936 .PHONY: maybe-TAGS-findutils TAGS-findutils
4937 maybe-TAGS-findutils:
4939 TAGS-findutils: \
4940 configure-findutils
4941 @[ -f ./findutils/Makefile ] || exit 0; \
4942 r=`${PWD}`; export r; \
4943 s=`cd $(srcdir); ${PWD}`; export s; \
4944 $(SET_LIB_PATH) \
4945 for flag in $(EXTRA_HOST_FLAGS); do \
4946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4947 done; \
4948 echo "Doing TAGS in findutils" ; \
4949 (cd findutils && \
4950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4952 "RANLIB=$${RANLIB}" \
4953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4954 TAGS) \
4955 || exit 1
4958 .PHONY: maybe-TAGS-find TAGS-find
4959 maybe-TAGS-find:
4961 TAGS-find: \
4962 configure-find
4963 @[ -f ./find/Makefile ] || exit 0; \
4964 r=`${PWD}`; export r; \
4965 s=`cd $(srcdir); ${PWD}`; export s; \
4966 $(SET_LIB_PATH) \
4967 for flag in $(EXTRA_HOST_FLAGS); do \
4968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4969 done; \
4970 echo "Doing TAGS in find" ; \
4971 (cd find && \
4972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4974 "RANLIB=$${RANLIB}" \
4975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4976 TAGS) \
4977 || exit 1
4980 .PHONY: maybe-TAGS-flex TAGS-flex
4981 maybe-TAGS-flex:
4983 TAGS-flex: \
4984 configure-flex
4985 @[ -f ./flex/Makefile ] || exit 0; \
4986 r=`${PWD}`; export r; \
4987 s=`cd $(srcdir); ${PWD}`; export s; \
4988 $(SET_LIB_PATH) \
4989 for flag in $(EXTRA_HOST_FLAGS); do \
4990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4991 done; \
4992 echo "Doing TAGS in flex" ; \
4993 (cd flex && \
4994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4996 "RANLIB=$${RANLIB}" \
4997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4998 TAGS) \
4999 || exit 1
5002 .PHONY: maybe-TAGS-gas TAGS-gas
5003 maybe-TAGS-gas:
5005 TAGS-gas: \
5006 configure-gas
5007 @[ -f ./gas/Makefile ] || exit 0; \
5008 r=`${PWD}`; export r; \
5009 s=`cd $(srcdir); ${PWD}`; export s; \
5010 $(SET_LIB_PATH) \
5011 for flag in $(EXTRA_HOST_FLAGS); do \
5012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5013 done; \
5014 echo "Doing TAGS in gas" ; \
5015 (cd gas && \
5016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5018 "RANLIB=$${RANLIB}" \
5019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5020 TAGS) \
5021 || exit 1
5024 .PHONY: maybe-TAGS-gawk TAGS-gawk
5025 maybe-TAGS-gawk:
5027 TAGS-gawk: \
5028 configure-gawk
5029 @[ -f ./gawk/Makefile ] || exit 0; \
5030 r=`${PWD}`; export r; \
5031 s=`cd $(srcdir); ${PWD}`; export s; \
5032 $(SET_LIB_PATH) \
5033 for flag in $(EXTRA_HOST_FLAGS); do \
5034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5035 done; \
5036 echo "Doing TAGS in gawk" ; \
5037 (cd gawk && \
5038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5040 "RANLIB=$${RANLIB}" \
5041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5042 TAGS) \
5043 || exit 1
5046 .PHONY: maybe-TAGS-gettext TAGS-gettext
5047 maybe-TAGS-gettext:
5049 TAGS-gettext: \
5050 configure-gettext
5051 @[ -f ./gettext/Makefile ] || exit 0; \
5052 r=`${PWD}`; export r; \
5053 s=`cd $(srcdir); ${PWD}`; export s; \
5054 $(SET_LIB_PATH) \
5055 for flag in $(EXTRA_HOST_FLAGS); do \
5056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5057 done; \
5058 echo "Doing TAGS in gettext" ; \
5059 (cd gettext && \
5060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5062 "RANLIB=$${RANLIB}" \
5063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5064 TAGS) \
5065 || exit 1
5068 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
5069 maybe-TAGS-gnuserv:
5071 TAGS-gnuserv: \
5072 configure-gnuserv
5073 @[ -f ./gnuserv/Makefile ] || exit 0; \
5074 r=`${PWD}`; export r; \
5075 s=`cd $(srcdir); ${PWD}`; export s; \
5076 $(SET_LIB_PATH) \
5077 for flag in $(EXTRA_HOST_FLAGS); do \
5078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5079 done; \
5080 echo "Doing TAGS in gnuserv" ; \
5081 (cd gnuserv && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5084 "RANLIB=$${RANLIB}" \
5085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5086 TAGS) \
5087 || exit 1
5090 .PHONY: maybe-TAGS-gprof TAGS-gprof
5091 maybe-TAGS-gprof:
5093 TAGS-gprof: \
5094 configure-gprof
5095 @[ -f ./gprof/Makefile ] || exit 0; \
5096 r=`${PWD}`; export r; \
5097 s=`cd $(srcdir); ${PWD}`; export s; \
5098 $(SET_LIB_PATH) \
5099 for flag in $(EXTRA_HOST_FLAGS); do \
5100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5101 done; \
5102 echo "Doing TAGS in gprof" ; \
5103 (cd gprof && \
5104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5106 "RANLIB=$${RANLIB}" \
5107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5108 TAGS) \
5109 || exit 1
5112 .PHONY: maybe-TAGS-gzip TAGS-gzip
5113 maybe-TAGS-gzip:
5115 TAGS-gzip: \
5116 configure-gzip
5117 @[ -f ./gzip/Makefile ] || exit 0; \
5118 r=`${PWD}`; export r; \
5119 s=`cd $(srcdir); ${PWD}`; export s; \
5120 $(SET_LIB_PATH) \
5121 for flag in $(EXTRA_HOST_FLAGS); do \
5122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5123 done; \
5124 echo "Doing TAGS in gzip" ; \
5125 (cd gzip && \
5126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5128 "RANLIB=$${RANLIB}" \
5129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5130 TAGS) \
5131 || exit 1
5134 .PHONY: maybe-TAGS-hello TAGS-hello
5135 maybe-TAGS-hello:
5137 TAGS-hello: \
5138 configure-hello
5139 @[ -f ./hello/Makefile ] || exit 0; \
5140 r=`${PWD}`; export r; \
5141 s=`cd $(srcdir); ${PWD}`; 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 TAGS in hello" ; \
5147 (cd hello && \
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 TAGS) \
5153 || exit 1
5156 .PHONY: maybe-TAGS-indent TAGS-indent
5157 maybe-TAGS-indent:
5159 TAGS-indent: \
5160 configure-indent
5161 @[ -f ./indent/Makefile ] || exit 0; \
5162 r=`${PWD}`; export r; \
5163 s=`cd $(srcdir); ${PWD}`; export s; \
5164 $(SET_LIB_PATH) \
5165 for flag in $(EXTRA_HOST_FLAGS); do \
5166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5167 done; \
5168 echo "Doing TAGS in indent" ; \
5169 (cd indent && \
5170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5172 "RANLIB=$${RANLIB}" \
5173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5174 TAGS) \
5175 || exit 1
5178 .PHONY: maybe-TAGS-intl TAGS-intl
5179 maybe-TAGS-intl:
5181 TAGS-intl: \
5182 configure-intl
5183 @[ -f ./intl/Makefile ] || exit 0; \
5184 r=`${PWD}`; export r; \
5185 s=`cd $(srcdir); ${PWD}`; export s; \
5186 $(SET_LIB_PATH) \
5187 for flag in $(EXTRA_HOST_FLAGS); do \
5188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5189 done; \
5190 echo "Doing TAGS in intl" ; \
5191 (cd intl && \
5192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5194 "RANLIB=$${RANLIB}" \
5195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5196 TAGS) \
5197 || exit 1
5200 .PHONY: maybe-TAGS-tcl TAGS-tcl
5201 maybe-TAGS-tcl:
5203 TAGS-tcl: \
5204 configure-tcl
5205 @[ -f ./tcl/Makefile ] || exit 0; \
5206 r=`${PWD}`; export r; \
5207 s=`cd $(srcdir); ${PWD}`; export s; \
5208 $(SET_LIB_PATH) \
5209 for flag in $(EXTRA_HOST_FLAGS); do \
5210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5211 done; \
5212 echo "Doing TAGS in tcl" ; \
5213 (cd tcl && \
5214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5216 "RANLIB=$${RANLIB}" \
5217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5218 TAGS) \
5219 || exit 1
5222 .PHONY: maybe-TAGS-itcl TAGS-itcl
5223 maybe-TAGS-itcl:
5225 TAGS-itcl: \
5226 configure-itcl
5227 @[ -f ./itcl/Makefile ] || exit 0; \
5228 r=`${PWD}`; export r; \
5229 s=`cd $(srcdir); ${PWD}`; export s; \
5230 $(SET_LIB_PATH) \
5231 for flag in $(EXTRA_HOST_FLAGS); do \
5232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5233 done; \
5234 echo "Doing TAGS in itcl" ; \
5235 (cd itcl && \
5236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5238 "RANLIB=$${RANLIB}" \
5239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5240 TAGS) \
5241 || exit 1
5244 .PHONY: maybe-TAGS-ld TAGS-ld
5245 maybe-TAGS-ld:
5247 TAGS-ld: \
5248 configure-ld
5249 @[ -f ./ld/Makefile ] || exit 0; \
5250 r=`${PWD}`; export r; \
5251 s=`cd $(srcdir); ${PWD}`; 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 TAGS in ld" ; \
5257 (cd ld && \
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 TAGS) \
5263 || exit 1
5266 .PHONY: maybe-TAGS-libgui TAGS-libgui
5267 maybe-TAGS-libgui:
5269 TAGS-libgui: \
5270 configure-libgui
5271 @[ -f ./libgui/Makefile ] || exit 0; \
5272 r=`${PWD}`; export r; \
5273 s=`cd $(srcdir); ${PWD}`; 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 TAGS in libgui" ; \
5279 (cd libgui && \
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 TAGS) \
5285 || exit 1
5288 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
5289 maybe-TAGS-libiberty:
5291 TAGS-libiberty: \
5292 configure-libiberty
5293 @[ -f ./libiberty/Makefile ] || exit 0; \
5294 r=`${PWD}`; export r; \
5295 s=`cd $(srcdir); ${PWD}`; 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 libiberty" ; \
5301 (cd libiberty && \
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
5310 .PHONY: maybe-TAGS-libtool TAGS-libtool
5311 maybe-TAGS-libtool:
5313 TAGS-libtool: \
5314 configure-libtool
5315 @[ -f ./libtool/Makefile ] || exit 0; \
5316 r=`${PWD}`; export r; \
5317 s=`cd $(srcdir); ${PWD}`; export s; \
5318 $(SET_LIB_PATH) \
5319 for flag in $(EXTRA_HOST_FLAGS); do \
5320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5321 done; \
5322 echo "Doing TAGS in libtool" ; \
5323 (cd libtool && \
5324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5326 "RANLIB=$${RANLIB}" \
5327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5328 TAGS) \
5329 || exit 1
5332 .PHONY: maybe-TAGS-m4 TAGS-m4
5333 maybe-TAGS-m4:
5335 TAGS-m4: \
5336 configure-m4
5337 @[ -f ./m4/Makefile ] || exit 0; \
5338 r=`${PWD}`; export r; \
5339 s=`cd $(srcdir); ${PWD}`; export s; \
5340 $(SET_LIB_PATH) \
5341 for flag in $(EXTRA_HOST_FLAGS); do \
5342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5343 done; \
5344 echo "Doing TAGS in m4" ; \
5345 (cd m4 && \
5346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5348 "RANLIB=$${RANLIB}" \
5349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5350 TAGS) \
5351 || exit 1
5354 .PHONY: maybe-TAGS-make TAGS-make
5355 maybe-TAGS-make:
5357 TAGS-make: \
5358 configure-make
5359 @[ -f ./make/Makefile ] || exit 0; \
5360 r=`${PWD}`; export r; \
5361 s=`cd $(srcdir); ${PWD}`; 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 TAGS in make" ; \
5367 (cd make && \
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 TAGS) \
5373 || exit 1
5376 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
5377 maybe-TAGS-mmalloc:
5379 TAGS-mmalloc: \
5380 configure-mmalloc
5381 @[ -f ./mmalloc/Makefile ] || exit 0; \
5382 r=`${PWD}`; export r; \
5383 s=`cd $(srcdir); ${PWD}`; export s; \
5384 $(SET_LIB_PATH) \
5385 for flag in $(EXTRA_HOST_FLAGS); do \
5386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5387 done; \
5388 echo "Doing TAGS in mmalloc" ; \
5389 (cd mmalloc && \
5390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5392 "RANLIB=$${RANLIB}" \
5393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5394 TAGS) \
5395 || exit 1
5398 .PHONY: maybe-TAGS-patch TAGS-patch
5399 maybe-TAGS-patch:
5401 TAGS-patch: \
5402 configure-patch
5403 @[ -f ./patch/Makefile ] || exit 0; \
5404 r=`${PWD}`; export r; \
5405 s=`cd $(srcdir); ${PWD}`; export s; \
5406 $(SET_LIB_PATH) \
5407 for flag in $(EXTRA_HOST_FLAGS); do \
5408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5409 done; \
5410 echo "Doing TAGS in patch" ; \
5411 (cd patch && \
5412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5414 "RANLIB=$${RANLIB}" \
5415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5416 TAGS) \
5417 || exit 1
5420 .PHONY: maybe-TAGS-perl TAGS-perl
5421 maybe-TAGS-perl:
5423 TAGS-perl: \
5424 configure-perl
5425 @[ -f ./perl/Makefile ] || exit 0; \
5426 r=`${PWD}`; export r; \
5427 s=`cd $(srcdir); ${PWD}`; export s; \
5428 $(SET_LIB_PATH) \
5429 for flag in $(EXTRA_HOST_FLAGS); do \
5430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5431 done; \
5432 echo "Doing TAGS in perl" ; \
5433 (cd perl && \
5434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5436 "RANLIB=$${RANLIB}" \
5437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5438 TAGS) \
5439 || exit 1
5442 .PHONY: maybe-TAGS-prms TAGS-prms
5443 maybe-TAGS-prms:
5445 TAGS-prms: \
5446 configure-prms
5447 @[ -f ./prms/Makefile ] || exit 0; \
5448 r=`${PWD}`; export r; \
5449 s=`cd $(srcdir); ${PWD}`; export s; \
5450 $(SET_LIB_PATH) \
5451 for flag in $(EXTRA_HOST_FLAGS); do \
5452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5453 done; \
5454 echo "Doing TAGS in prms" ; \
5455 (cd prms && \
5456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5458 "RANLIB=$${RANLIB}" \
5459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5460 TAGS) \
5461 || exit 1
5464 .PHONY: maybe-TAGS-rcs TAGS-rcs
5465 maybe-TAGS-rcs:
5467 TAGS-rcs: \
5468 configure-rcs
5469 @[ -f ./rcs/Makefile ] || exit 0; \
5470 r=`${PWD}`; export r; \
5471 s=`cd $(srcdir); ${PWD}`; export s; \
5472 $(SET_LIB_PATH) \
5473 for flag in $(EXTRA_HOST_FLAGS); do \
5474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5475 done; \
5476 echo "Doing TAGS in rcs" ; \
5477 (cd rcs && \
5478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5480 "RANLIB=$${RANLIB}" \
5481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5482 TAGS) \
5483 || exit 1
5486 .PHONY: maybe-TAGS-readline TAGS-readline
5487 maybe-TAGS-readline:
5489 TAGS-readline: \
5490 configure-readline
5491 @[ -f ./readline/Makefile ] || exit 0; \
5492 r=`${PWD}`; export r; \
5493 s=`cd $(srcdir); ${PWD}`; export s; \
5494 $(SET_LIB_PATH) \
5495 for flag in $(EXTRA_HOST_FLAGS); do \
5496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5497 done; \
5498 echo "Doing TAGS in readline" ; \
5499 (cd readline && \
5500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5502 "RANLIB=$${RANLIB}" \
5503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5504 TAGS) \
5505 || exit 1
5508 .PHONY: maybe-TAGS-release TAGS-release
5509 maybe-TAGS-release:
5511 TAGS-release: \
5512 configure-release
5513 @[ -f ./release/Makefile ] || exit 0; \
5514 r=`${PWD}`; export r; \
5515 s=`cd $(srcdir); ${PWD}`; export s; \
5516 $(SET_LIB_PATH) \
5517 for flag in $(EXTRA_HOST_FLAGS); do \
5518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5519 done; \
5520 echo "Doing TAGS in release" ; \
5521 (cd release && \
5522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5524 "RANLIB=$${RANLIB}" \
5525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5526 TAGS) \
5527 || exit 1
5530 .PHONY: maybe-TAGS-recode TAGS-recode
5531 maybe-TAGS-recode:
5533 TAGS-recode: \
5534 configure-recode
5535 @[ -f ./recode/Makefile ] || exit 0; \
5536 r=`${PWD}`; export r; \
5537 s=`cd $(srcdir); ${PWD}`; export s; \
5538 $(SET_LIB_PATH) \
5539 for flag in $(EXTRA_HOST_FLAGS); do \
5540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5541 done; \
5542 echo "Doing TAGS in recode" ; \
5543 (cd recode && \
5544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5546 "RANLIB=$${RANLIB}" \
5547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5548 TAGS) \
5549 || exit 1
5552 .PHONY: maybe-TAGS-sed TAGS-sed
5553 maybe-TAGS-sed:
5555 TAGS-sed: \
5556 configure-sed
5557 @[ -f ./sed/Makefile ] || exit 0; \
5558 r=`${PWD}`; export r; \
5559 s=`cd $(srcdir); ${PWD}`; export s; \
5560 $(SET_LIB_PATH) \
5561 for flag in $(EXTRA_HOST_FLAGS); do \
5562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5563 done; \
5564 echo "Doing TAGS in sed" ; \
5565 (cd sed && \
5566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5568 "RANLIB=$${RANLIB}" \
5569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5570 TAGS) \
5571 || exit 1
5574 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
5575 maybe-TAGS-send-pr:
5577 TAGS-send-pr: \
5578 configure-send-pr
5579 @[ -f ./send-pr/Makefile ] || exit 0; \
5580 r=`${PWD}`; export r; \
5581 s=`cd $(srcdir); ${PWD}`; export s; \
5582 $(SET_LIB_PATH) \
5583 for flag in $(EXTRA_HOST_FLAGS); do \
5584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5585 done; \
5586 echo "Doing TAGS in send-pr" ; \
5587 (cd send-pr && \
5588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5590 "RANLIB=$${RANLIB}" \
5591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5592 TAGS) \
5593 || exit 1
5596 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
5597 maybe-TAGS-shellutils:
5599 TAGS-shellutils: \
5600 configure-shellutils
5601 @[ -f ./shellutils/Makefile ] || exit 0; \
5602 r=`${PWD}`; export r; \
5603 s=`cd $(srcdir); ${PWD}`; export s; \
5604 $(SET_LIB_PATH) \
5605 for flag in $(EXTRA_HOST_FLAGS); do \
5606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5607 done; \
5608 echo "Doing TAGS in shellutils" ; \
5609 (cd shellutils && \
5610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5612 "RANLIB=$${RANLIB}" \
5613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5614 TAGS) \
5615 || exit 1
5618 .PHONY: maybe-TAGS-sid TAGS-sid
5619 maybe-TAGS-sid:
5621 TAGS-sid: \
5622 configure-sid
5623 @[ -f ./sid/Makefile ] || exit 0; \
5624 r=`${PWD}`; export r; \
5625 s=`cd $(srcdir); ${PWD}`; export s; \
5626 $(SET_LIB_PATH) \
5627 for flag in $(EXTRA_HOST_FLAGS); do \
5628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5629 done; \
5630 echo "Doing TAGS in sid" ; \
5631 (cd sid && \
5632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5634 "RANLIB=$${RANLIB}" \
5635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5636 TAGS) \
5637 || exit 1
5640 .PHONY: maybe-TAGS-sim TAGS-sim
5641 maybe-TAGS-sim:
5643 TAGS-sim: \
5644 configure-sim
5645 @[ -f ./sim/Makefile ] || exit 0; \
5646 r=`${PWD}`; export r; \
5647 s=`cd $(srcdir); ${PWD}`; export s; \
5648 $(SET_LIB_PATH) \
5649 for flag in $(EXTRA_HOST_FLAGS); do \
5650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5651 done; \
5652 echo "Doing TAGS in sim" ; \
5653 (cd sim && \
5654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5656 "RANLIB=$${RANLIB}" \
5657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5658 TAGS) \
5659 || exit 1
5662 .PHONY: maybe-TAGS-tar TAGS-tar
5663 maybe-TAGS-tar:
5665 TAGS-tar: \
5666 configure-tar
5667 @[ -f ./tar/Makefile ] || exit 0; \
5668 r=`${PWD}`; export r; \
5669 s=`cd $(srcdir); ${PWD}`; 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 TAGS in tar" ; \
5675 (cd tar && \
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 TAGS) \
5681 || exit 1
5684 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
5685 maybe-TAGS-texinfo:
5687 TAGS-texinfo: \
5688 configure-texinfo
5689 @[ -f ./texinfo/Makefile ] || exit 0; \
5690 r=`${PWD}`; export r; \
5691 s=`cd $(srcdir); ${PWD}`; export s; \
5692 $(SET_LIB_PATH) \
5693 for flag in $(EXTRA_HOST_FLAGS); do \
5694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5695 done; \
5696 echo "Doing TAGS in texinfo" ; \
5697 (cd texinfo && \
5698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5700 "RANLIB=$${RANLIB}" \
5701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5702 TAGS) \
5703 || exit 1
5706 .PHONY: maybe-TAGS-textutils TAGS-textutils
5707 maybe-TAGS-textutils:
5709 TAGS-textutils: \
5710 configure-textutils
5711 @[ -f ./textutils/Makefile ] || exit 0; \
5712 r=`${PWD}`; export r; \
5713 s=`cd $(srcdir); ${PWD}`; export s; \
5714 $(SET_LIB_PATH) \
5715 for flag in $(EXTRA_HOST_FLAGS); do \
5716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 done; \
5718 echo "Doing TAGS in textutils" ; \
5719 (cd textutils && \
5720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5722 "RANLIB=$${RANLIB}" \
5723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 TAGS) \
5725 || exit 1
5728 .PHONY: maybe-TAGS-time TAGS-time
5729 maybe-TAGS-time:
5731 TAGS-time: \
5732 configure-time
5733 @[ -f ./time/Makefile ] || exit 0; \
5734 r=`${PWD}`; export r; \
5735 s=`cd $(srcdir); ${PWD}`; export s; \
5736 $(SET_LIB_PATH) \
5737 for flag in $(EXTRA_HOST_FLAGS); do \
5738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5739 done; \
5740 echo "Doing TAGS in time" ; \
5741 (cd time && \
5742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5744 "RANLIB=$${RANLIB}" \
5745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5746 TAGS) \
5747 || exit 1
5750 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
5751 maybe-TAGS-uudecode:
5753 TAGS-uudecode: \
5754 configure-uudecode
5755 @[ -f ./uudecode/Makefile ] || exit 0; \
5756 r=`${PWD}`; export r; \
5757 s=`cd $(srcdir); ${PWD}`; export s; \
5758 $(SET_LIB_PATH) \
5759 for flag in $(EXTRA_HOST_FLAGS); do \
5760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5761 done; \
5762 echo "Doing TAGS in uudecode" ; \
5763 (cd uudecode && \
5764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5766 "RANLIB=$${RANLIB}" \
5767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5768 TAGS) \
5769 || exit 1
5772 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
5773 maybe-TAGS-wdiff:
5775 TAGS-wdiff: \
5776 configure-wdiff
5777 @[ -f ./wdiff/Makefile ] || exit 0; \
5778 r=`${PWD}`; export r; \
5779 s=`cd $(srcdir); ${PWD}`; export s; \
5780 $(SET_LIB_PATH) \
5781 for flag in $(EXTRA_HOST_FLAGS); do \
5782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5783 done; \
5784 echo "Doing TAGS in wdiff" ; \
5785 (cd wdiff && \
5786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5788 "RANLIB=$${RANLIB}" \
5789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5790 TAGS) \
5791 || exit 1
5794 .PHONY: maybe-TAGS-zip TAGS-zip
5795 maybe-TAGS-zip:
5797 TAGS-zip: \
5798 configure-zip
5799 @[ -f ./zip/Makefile ] || exit 0; \
5800 r=`${PWD}`; export r; \
5801 s=`cd $(srcdir); ${PWD}`; export s; \
5802 $(SET_LIB_PATH) \
5803 for flag in $(EXTRA_HOST_FLAGS); do \
5804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5805 done; \
5806 echo "Doing TAGS in zip" ; \
5807 (cd zip && \
5808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5810 "RANLIB=$${RANLIB}" \
5811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5812 TAGS) \
5813 || exit 1
5816 .PHONY: maybe-TAGS-zlib TAGS-zlib
5817 maybe-TAGS-zlib:
5819 TAGS-zlib: \
5820 configure-zlib
5821 @[ -f ./zlib/Makefile ] || exit 0; \
5822 r=`${PWD}`; export r; \
5823 s=`cd $(srcdir); ${PWD}`; export s; \
5824 $(SET_LIB_PATH) \
5825 for flag in $(EXTRA_HOST_FLAGS); do \
5826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5827 done; \
5828 echo "Doing TAGS in zlib" ; \
5829 (cd zlib && \
5830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5832 "RANLIB=$${RANLIB}" \
5833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5834 TAGS) \
5835 || exit 1
5838 .PHONY: maybe-TAGS-gdb TAGS-gdb
5839 maybe-TAGS-gdb:
5841 TAGS-gdb: \
5842 configure-gdb
5843 @[ -f ./gdb/Makefile ] || exit 0; \
5844 r=`${PWD}`; export r; \
5845 s=`cd $(srcdir); ${PWD}`; export s; \
5846 $(SET_LIB_PATH) \
5847 for flag in $(EXTRA_HOST_FLAGS); do \
5848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5849 done; \
5850 echo "Doing TAGS in gdb" ; \
5851 (cd gdb && \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5854 "RANLIB=$${RANLIB}" \
5855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5856 TAGS) \
5857 || exit 1
5860 .PHONY: maybe-TAGS-expect TAGS-expect
5861 maybe-TAGS-expect:
5863 TAGS-expect: \
5864 configure-expect
5865 @[ -f ./expect/Makefile ] || exit 0; \
5866 r=`${PWD}`; export r; \
5867 s=`cd $(srcdir); ${PWD}`; export s; \
5868 $(SET_LIB_PATH) \
5869 for flag in $(EXTRA_HOST_FLAGS); do \
5870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5871 done; \
5872 echo "Doing TAGS in expect" ; \
5873 (cd expect && \
5874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5876 "RANLIB=$${RANLIB}" \
5877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5878 TAGS) \
5879 || exit 1
5882 .PHONY: maybe-TAGS-guile TAGS-guile
5883 maybe-TAGS-guile:
5885 TAGS-guile: \
5886 configure-guile
5887 @[ -f ./guile/Makefile ] || exit 0; \
5888 r=`${PWD}`; export r; \
5889 s=`cd $(srcdir); ${PWD}`; export s; \
5890 $(SET_LIB_PATH) \
5891 for flag in $(EXTRA_HOST_FLAGS); do \
5892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5893 done; \
5894 echo "Doing TAGS in guile" ; \
5895 (cd guile && \
5896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5898 "RANLIB=$${RANLIB}" \
5899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5900 TAGS) \
5901 || exit 1
5904 .PHONY: maybe-TAGS-tk TAGS-tk
5905 maybe-TAGS-tk:
5907 TAGS-tk: \
5908 configure-tk
5909 @[ -f ./tk/Makefile ] || exit 0; \
5910 r=`${PWD}`; export r; \
5911 s=`cd $(srcdir); ${PWD}`; export s; \
5912 $(SET_LIB_PATH) \
5913 for flag in $(EXTRA_HOST_FLAGS); do \
5914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5915 done; \
5916 echo "Doing TAGS in tk" ; \
5917 (cd tk && \
5918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5920 "RANLIB=$${RANLIB}" \
5921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5922 TAGS) \
5923 || exit 1
5926 .PHONY: maybe-TAGS-tix TAGS-tix
5927 maybe-TAGS-tix:
5929 TAGS-tix: \
5930 configure-tix
5931 @[ -f ./tix/Makefile ] || exit 0; \
5932 r=`${PWD}`; export r; \
5933 s=`cd $(srcdir); ${PWD}`; export s; \
5934 $(SET_LIB_PATH) \
5935 for flag in $(EXTRA_HOST_FLAGS); do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing TAGS in tix" ; \
5939 (cd tix && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5944 TAGS) \
5945 || exit 1
5948 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
5949 maybe-TAGS-libtermcap:
5951 TAGS-libtermcap: \
5952 configure-libtermcap
5953 @[ -f ./libtermcap/Makefile ] || exit 0; \
5954 r=`${PWD}`; export r; \
5955 s=`cd $(srcdir); ${PWD}`; export s; \
5956 $(SET_LIB_PATH) \
5957 for flag in $(EXTRA_HOST_FLAGS); do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing TAGS in libtermcap" ; \
5961 (cd libtermcap && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 TAGS) \
5967 || exit 1
5970 .PHONY: maybe-TAGS-utils TAGS-utils
5971 maybe-TAGS-utils:
5973 TAGS-utils: \
5974 configure-utils
5975 @[ -f ./utils/Makefile ] || exit 0; \
5976 r=`${PWD}`; export r; \
5977 s=`cd $(srcdir); ${PWD}`; export s; \
5978 $(SET_LIB_PATH) \
5979 for flag in $(EXTRA_HOST_FLAGS); do \
5980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 done; \
5982 echo "Doing TAGS in utils" ; \
5983 (cd utils && \
5984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5986 "RANLIB=$${RANLIB}" \
5987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5988 TAGS) \
5989 || exit 1
5993 # Target modules.
5995 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
5996 maybe-TAGS-target-libstdc++-v3:
5998 TAGS-target-libstdc++-v3: \
5999 configure-target-libstdc++-v3
6000 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
6001 r=`${PWD}`; export r; \
6002 s=`cd $(srcdir); ${PWD}`; export s; \
6003 $(SET_LIB_PATH) \
6004 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
6005 for flag in $(EXTRA_TARGET_FLAGS); do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
6009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6011 "RANLIB=$${RANLIB}" \
6012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6013 TAGS) \
6014 || exit 1
6017 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
6018 maybe-TAGS-target-newlib:
6020 TAGS-target-newlib: \
6021 configure-target-newlib
6022 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
6023 r=`${PWD}`; export r; \
6024 s=`cd $(srcdir); ${PWD}`; export s; \
6025 $(SET_LIB_PATH) \
6026 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
6027 for flag in $(EXTRA_TARGET_FLAGS); do \
6028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6029 done; \
6030 (cd $(TARGET_SUBDIR)/newlib && \
6031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6033 "RANLIB=$${RANLIB}" \
6034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6035 TAGS) \
6036 || exit 1
6039 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
6040 maybe-TAGS-target-libf2c:
6042 TAGS-target-libf2c: \
6043 configure-target-libf2c
6044 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
6045 r=`${PWD}`; export r; \
6046 s=`cd $(srcdir); ${PWD}`; export s; \
6047 $(SET_LIB_PATH) \
6048 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
6049 for flag in $(EXTRA_TARGET_FLAGS); do \
6050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6051 done; \
6052 (cd $(TARGET_SUBDIR)/libf2c && \
6053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6055 "RANLIB=$${RANLIB}" \
6056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6057 TAGS) \
6058 || exit 1
6061 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
6062 maybe-TAGS-target-libobjc:
6064 TAGS-target-libobjc: \
6065 configure-target-libobjc
6066 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
6067 r=`${PWD}`; export r; \
6068 s=`cd $(srcdir); ${PWD}`; export s; \
6069 $(SET_LIB_PATH) \
6070 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
6071 for flag in $(EXTRA_TARGET_FLAGS); do \
6072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6073 done; \
6074 (cd $(TARGET_SUBDIR)/libobjc && \
6075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6077 "RANLIB=$${RANLIB}" \
6078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6079 TAGS) \
6080 || exit 1
6083 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
6084 maybe-TAGS-target-libtermcap:
6086 TAGS-target-libtermcap: \
6087 configure-target-libtermcap
6088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
6089 r=`${PWD}`; export r; \
6090 s=`cd $(srcdir); ${PWD}`; export s; \
6091 $(SET_LIB_PATH) \
6092 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
6093 for flag in $(EXTRA_TARGET_FLAGS); do \
6094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6095 done; \
6096 (cd $(TARGET_SUBDIR)/libtermcap && \
6097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6099 "RANLIB=$${RANLIB}" \
6100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6101 TAGS) \
6102 || exit 1
6105 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
6106 maybe-TAGS-target-winsup:
6108 TAGS-target-winsup: \
6109 configure-target-winsup
6110 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
6111 r=`${PWD}`; export r; \
6112 s=`cd $(srcdir); ${PWD}`; export s; \
6113 $(SET_LIB_PATH) \
6114 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
6115 for flag in $(EXTRA_TARGET_FLAGS); do \
6116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6117 done; \
6118 (cd $(TARGET_SUBDIR)/winsup && \
6119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6121 "RANLIB=$${RANLIB}" \
6122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6123 TAGS) \
6124 || exit 1
6127 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
6128 maybe-TAGS-target-libgloss:
6130 TAGS-target-libgloss: \
6131 configure-target-libgloss
6132 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
6133 r=`${PWD}`; export r; \
6134 s=`cd $(srcdir); ${PWD}`; export s; \
6135 $(SET_LIB_PATH) \
6136 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
6137 for flag in $(EXTRA_TARGET_FLAGS); do \
6138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6139 done; \
6140 (cd $(TARGET_SUBDIR)/libgloss && \
6141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6143 "RANLIB=$${RANLIB}" \
6144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6145 TAGS) \
6146 || exit 1
6149 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
6150 maybe-TAGS-target-libiberty:
6152 TAGS-target-libiberty: \
6153 configure-target-libiberty
6154 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
6155 r=`${PWD}`; export r; \
6156 s=`cd $(srcdir); ${PWD}`; export s; \
6157 $(SET_LIB_PATH) \
6158 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
6159 for flag in $(EXTRA_TARGET_FLAGS); do \
6160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6161 done; \
6162 (cd $(TARGET_SUBDIR)/libiberty && \
6163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165 "RANLIB=$${RANLIB}" \
6166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6167 TAGS) \
6168 || exit 1
6171 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6172 maybe-TAGS-target-gperf:
6174 TAGS-target-gperf: \
6175 configure-target-gperf
6176 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
6177 r=`${PWD}`; export r; \
6178 s=`cd $(srcdir); ${PWD}`; export s; \
6179 $(SET_LIB_PATH) \
6180 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
6181 for flag in $(EXTRA_TARGET_FLAGS); do \
6182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6183 done; \
6184 (cd $(TARGET_SUBDIR)/gperf && \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189 TAGS) \
6190 || exit 1
6193 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
6194 maybe-TAGS-target-examples:
6196 TAGS-target-examples: \
6197 configure-target-examples
6198 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
6199 r=`${PWD}`; export r; \
6200 s=`cd $(srcdir); ${PWD}`; export s; \
6201 $(SET_LIB_PATH) \
6202 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
6203 for flag in $(EXTRA_TARGET_FLAGS); do \
6204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 done; \
6206 (cd $(TARGET_SUBDIR)/examples && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211 TAGS) \
6212 || exit 1
6215 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
6216 maybe-TAGS-target-libffi:
6218 TAGS-target-libffi: \
6219 configure-target-libffi
6220 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
6221 r=`${PWD}`; export r; \
6222 s=`cd $(srcdir); ${PWD}`; export s; \
6223 $(SET_LIB_PATH) \
6224 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
6225 for flag in $(EXTRA_TARGET_FLAGS); do \
6226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6227 done; \
6228 (cd $(TARGET_SUBDIR)/libffi && \
6229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6231 "RANLIB=$${RANLIB}" \
6232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6233 TAGS) \
6234 || exit 1
6237 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
6238 maybe-TAGS-target-libjava:
6240 TAGS-target-libjava: \
6241 configure-target-libjava
6242 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
6243 r=`${PWD}`; export r; \
6244 s=`cd $(srcdir); ${PWD}`; export s; \
6245 $(SET_LIB_PATH) \
6246 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
6247 for flag in $(EXTRA_TARGET_FLAGS); do \
6248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6249 done; \
6250 (cd $(TARGET_SUBDIR)/libjava && \
6251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6253 "RANLIB=$${RANLIB}" \
6254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6255 TAGS) \
6256 || exit 1
6259 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
6260 maybe-TAGS-target-zlib:
6262 TAGS-target-zlib: \
6263 configure-target-zlib
6264 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
6265 r=`${PWD}`; export r; \
6266 s=`cd $(srcdir); ${PWD}`; export s; \
6267 $(SET_LIB_PATH) \
6268 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
6269 for flag in $(EXTRA_TARGET_FLAGS); do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 (cd $(TARGET_SUBDIR)/zlib && \
6273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6275 "RANLIB=$${RANLIB}" \
6276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6277 TAGS) \
6278 || exit 1
6281 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
6282 maybe-TAGS-target-boehm-gc:
6284 TAGS-target-boehm-gc: \
6285 configure-target-boehm-gc
6286 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
6287 r=`${PWD}`; export r; \
6288 s=`cd $(srcdir); ${PWD}`; export s; \
6289 $(SET_LIB_PATH) \
6290 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
6291 for flag in $(EXTRA_TARGET_FLAGS); do \
6292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6293 done; \
6294 (cd $(TARGET_SUBDIR)/boehm-gc && \
6295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6297 "RANLIB=$${RANLIB}" \
6298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6299 TAGS) \
6300 || exit 1
6303 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
6304 maybe-TAGS-target-qthreads:
6306 TAGS-target-qthreads: \
6307 configure-target-qthreads
6308 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
6309 r=`${PWD}`; export r; \
6310 s=`cd $(srcdir); ${PWD}`; export s; \
6311 $(SET_LIB_PATH) \
6312 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
6313 for flag in $(EXTRA_TARGET_FLAGS); do \
6314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6315 done; \
6316 (cd $(TARGET_SUBDIR)/qthreads && \
6317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6319 "RANLIB=$${RANLIB}" \
6320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6321 TAGS) \
6322 || exit 1
6325 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
6326 maybe-TAGS-target-rda:
6328 TAGS-target-rda: \
6329 configure-target-rda
6330 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
6331 r=`${PWD}`; export r; \
6332 s=`cd $(srcdir); ${PWD}`; export s; \
6333 $(SET_LIB_PATH) \
6334 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
6335 for flag in $(EXTRA_TARGET_FLAGS); do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337 done; \
6338 (cd $(TARGET_SUBDIR)/rda && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6341 "RANLIB=$${RANLIB}" \
6342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6343 TAGS) \
6344 || exit 1
6348 .PHONY: do-install-info
6349 do-install-info: install-info-host install-info-target
6351 .PHONY: install-info-host
6352 install-info-host: maybe-install-info-gcc \
6353 maybe-install-info-ash \
6354 maybe-install-info-autoconf \
6355 maybe-install-info-automake \
6356 maybe-install-info-bash \
6357 maybe-install-info-bfd \
6358 maybe-install-info-opcodes \
6359 maybe-install-info-binutils \
6360 maybe-install-info-bison \
6361 maybe-install-info-byacc \
6362 maybe-install-info-bzip2 \
6363 maybe-install-info-dejagnu \
6364 maybe-install-info-diff \
6365 maybe-install-info-dosutils \
6366 maybe-install-info-etc \
6367 maybe-install-info-fastjar \
6368 maybe-install-info-fileutils \
6369 maybe-install-info-findutils \
6370 maybe-install-info-find \
6371 maybe-install-info-flex \
6372 maybe-install-info-gas \
6373 maybe-install-info-gawk \
6374 maybe-install-info-gettext \
6375 maybe-install-info-gnuserv \
6376 maybe-install-info-gprof \
6377 maybe-install-info-gzip \
6378 maybe-install-info-hello \
6379 maybe-install-info-indent \
6380 maybe-install-info-intl \
6381 maybe-install-info-tcl \
6382 maybe-install-info-itcl \
6383 maybe-install-info-ld \
6384 maybe-install-info-libgui \
6385 maybe-install-info-libiberty \
6386 maybe-install-info-libtool \
6387 maybe-install-info-m4 \
6388 maybe-install-info-make \
6389 maybe-install-info-mmalloc \
6390 maybe-install-info-patch \
6391 maybe-install-info-perl \
6392 maybe-install-info-prms \
6393 maybe-install-info-rcs \
6394 maybe-install-info-readline \
6395 maybe-install-info-release \
6396 maybe-install-info-recode \
6397 maybe-install-info-sed \
6398 maybe-install-info-send-pr \
6399 maybe-install-info-shellutils \
6400 maybe-install-info-sid \
6401 maybe-install-info-sim \
6402 maybe-install-info-tar \
6403 maybe-install-info-texinfo \
6404 maybe-install-info-textutils \
6405 maybe-install-info-time \
6406 maybe-install-info-uudecode \
6407 maybe-install-info-wdiff \
6408 maybe-install-info-zip \
6409 maybe-install-info-zlib \
6410 maybe-install-info-gdb \
6411 maybe-install-info-expect \
6412 maybe-install-info-guile \
6413 maybe-install-info-tk \
6414 maybe-install-info-tix \
6415 maybe-install-info-libtermcap \
6416 maybe-install-info-utils
6418 .PHONY: install-info-target
6419 install-info-target: \
6420 maybe-install-info-target-libstdc++-v3 \
6421 maybe-install-info-target-newlib \
6422 maybe-install-info-target-libf2c \
6423 maybe-install-info-target-libobjc \
6424 maybe-install-info-target-libtermcap \
6425 maybe-install-info-target-winsup \
6426 maybe-install-info-target-libgloss \
6427 maybe-install-info-target-libiberty \
6428 maybe-install-info-target-gperf \
6429 maybe-install-info-target-examples \
6430 maybe-install-info-target-libffi \
6431 maybe-install-info-target-libjava \
6432 maybe-install-info-target-zlib \
6433 maybe-install-info-target-boehm-gc \
6434 maybe-install-info-target-qthreads \
6435 maybe-install-info-target-rda
6437 # GCC, the eternal special case
6438 .PHONY: maybe-install-info-gcc install-info-gcc
6439 maybe-install-info-gcc:
6440 install-info-gcc: \
6441 configure-gcc \
6442 info-gcc
6443 @[ -f ./gcc/Makefile ] || exit 0; \
6444 r=`${PWD}`; export r; \
6445 s=`cd $(srcdir); ${PWD}`; export s; \
6446 $(SET_LIB_PATH) \
6447 for flag in $(EXTRA_GCC_FLAGS); do \
6448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6449 done; \
6450 echo "Doing install-info in gcc" ; \
6451 (cd gcc && \
6452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6454 "RANLIB=$${RANLIB}" \
6455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6456 install-info) \
6457 || exit 1
6459 # Host modules.
6461 .PHONY: maybe-install-info-ash install-info-ash
6462 maybe-install-info-ash:
6464 install-info-ash: \
6465 configure-ash \
6466 info-ash
6467 @[ -f ./ash/Makefile ] || exit 0; \
6468 r=`${PWD}`; export r; \
6469 s=`cd $(srcdir); ${PWD}`; export s; \
6470 $(SET_LIB_PATH) \
6471 for flag in $(EXTRA_HOST_FLAGS); do \
6472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6473 done; \
6474 echo "Doing install-info in ash" ; \
6475 (cd ash && \
6476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6478 "RANLIB=$${RANLIB}" \
6479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6480 install-info) \
6481 || exit 1
6484 .PHONY: maybe-install-info-autoconf install-info-autoconf
6485 maybe-install-info-autoconf:
6487 install-info-autoconf: \
6488 configure-autoconf \
6489 info-autoconf
6490 @[ -f ./autoconf/Makefile ] || exit 0; \
6491 r=`${PWD}`; export r; \
6492 s=`cd $(srcdir); ${PWD}`; export s; \
6493 $(SET_LIB_PATH) \
6494 for flag in $(EXTRA_HOST_FLAGS); do \
6495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6496 done; \
6497 echo "Doing install-info in autoconf" ; \
6498 (cd autoconf && \
6499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6501 "RANLIB=$${RANLIB}" \
6502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6503 install-info) \
6504 || exit 1
6507 .PHONY: maybe-install-info-automake install-info-automake
6508 maybe-install-info-automake:
6510 install-info-automake: \
6511 configure-automake \
6512 info-automake
6513 @[ -f ./automake/Makefile ] || exit 0; \
6514 r=`${PWD}`; export r; \
6515 s=`cd $(srcdir); ${PWD}`; export s; \
6516 $(SET_LIB_PATH) \
6517 for flag in $(EXTRA_HOST_FLAGS); do \
6518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6519 done; \
6520 echo "Doing install-info in automake" ; \
6521 (cd automake && \
6522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6524 "RANLIB=$${RANLIB}" \
6525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6526 install-info) \
6527 || exit 1
6530 .PHONY: maybe-install-info-bash install-info-bash
6531 maybe-install-info-bash:
6533 install-info-bash: \
6534 configure-bash \
6535 info-bash
6536 @[ -f ./bash/Makefile ] || exit 0; \
6537 r=`${PWD}`; export r; \
6538 s=`cd $(srcdir); ${PWD}`; export s; \
6539 $(SET_LIB_PATH) \
6540 for flag in $(EXTRA_HOST_FLAGS); do \
6541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6542 done; \
6543 echo "Doing install-info in bash" ; \
6544 (cd bash && \
6545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547 "RANLIB=$${RANLIB}" \
6548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6549 install-info) \
6550 || exit 1
6553 .PHONY: maybe-install-info-bfd install-info-bfd
6554 maybe-install-info-bfd:
6556 install-info-bfd: \
6557 configure-bfd \
6558 info-bfd
6559 @[ -f ./bfd/Makefile ] || exit 0; \
6560 r=`${PWD}`; export r; \
6561 s=`cd $(srcdir); ${PWD}`; export s; \
6562 $(SET_LIB_PATH) \
6563 for flag in $(EXTRA_HOST_FLAGS); do \
6564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6565 done; \
6566 echo "Doing install-info in bfd" ; \
6567 (cd bfd && \
6568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6570 "RANLIB=$${RANLIB}" \
6571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6572 install-info) \
6573 || exit 1
6576 .PHONY: maybe-install-info-opcodes install-info-opcodes
6577 maybe-install-info-opcodes:
6579 install-info-opcodes: \
6580 configure-opcodes \
6581 info-opcodes
6582 @[ -f ./opcodes/Makefile ] || exit 0; \
6583 r=`${PWD}`; export r; \
6584 s=`cd $(srcdir); ${PWD}`; 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 install-info in opcodes" ; \
6590 (cd opcodes && \
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 install-info) \
6596 || exit 1
6599 .PHONY: maybe-install-info-binutils install-info-binutils
6600 maybe-install-info-binutils:
6602 install-info-binutils: \
6603 configure-binutils \
6604 info-binutils
6605 @[ -f ./binutils/Makefile ] || exit 0; \
6606 r=`${PWD}`; export r; \
6607 s=`cd $(srcdir); ${PWD}`; export s; \
6608 $(SET_LIB_PATH) \
6609 for flag in $(EXTRA_HOST_FLAGS); do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing install-info in binutils" ; \
6613 (cd binutils && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6618 install-info) \
6619 || exit 1
6622 .PHONY: maybe-install-info-bison install-info-bison
6623 maybe-install-info-bison:
6625 install-info-bison: \
6626 configure-bison \
6627 info-bison
6628 @[ -f ./bison/Makefile ] || exit 0; \
6629 r=`${PWD}`; export r; \
6630 s=`cd $(srcdir); ${PWD}`; export s; \
6631 $(SET_LIB_PATH) \
6632 for flag in $(EXTRA_HOST_FLAGS); do \
6633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6634 done; \
6635 echo "Doing install-info in bison" ; \
6636 (cd bison && \
6637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6639 "RANLIB=$${RANLIB}" \
6640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6641 install-info) \
6642 || exit 1
6645 .PHONY: maybe-install-info-byacc install-info-byacc
6646 maybe-install-info-byacc:
6648 install-info-byacc: \
6649 configure-byacc \
6650 info-byacc
6651 @[ -f ./byacc/Makefile ] || exit 0; \
6652 r=`${PWD}`; export r; \
6653 s=`cd $(srcdir); ${PWD}`; export s; \
6654 $(SET_LIB_PATH) \
6655 for flag in $(EXTRA_HOST_FLAGS); do \
6656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6657 done; \
6658 echo "Doing install-info in byacc" ; \
6659 (cd byacc && \
6660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662 "RANLIB=$${RANLIB}" \
6663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6664 install-info) \
6665 || exit 1
6668 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6669 maybe-install-info-bzip2:
6671 install-info-bzip2: \
6672 configure-bzip2 \
6673 info-bzip2
6674 @[ -f ./bzip2/Makefile ] || exit 0; \
6675 r=`${PWD}`; export r; \
6676 s=`cd $(srcdir); ${PWD}`; export s; \
6677 $(SET_LIB_PATH) \
6678 for flag in $(EXTRA_HOST_FLAGS); do \
6679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6680 done; \
6681 echo "Doing install-info in bzip2" ; \
6682 (cd bzip2 && \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6685 "RANLIB=$${RANLIB}" \
6686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6687 install-info) \
6688 || exit 1
6691 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6692 maybe-install-info-dejagnu:
6694 install-info-dejagnu: \
6695 configure-dejagnu \
6696 info-dejagnu
6697 @[ -f ./dejagnu/Makefile ] || exit 0; \
6698 r=`${PWD}`; export r; \
6699 s=`cd $(srcdir); ${PWD}`; export s; \
6700 $(SET_LIB_PATH) \
6701 for flag in $(EXTRA_HOST_FLAGS); do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 done; \
6704 echo "Doing install-info in dejagnu" ; \
6705 (cd dejagnu && \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6710 install-info) \
6711 || exit 1
6714 .PHONY: maybe-install-info-diff install-info-diff
6715 maybe-install-info-diff:
6717 install-info-diff: \
6718 configure-diff \
6719 info-diff
6720 @[ -f ./diff/Makefile ] || exit 0; \
6721 r=`${PWD}`; export r; \
6722 s=`cd $(srcdir); ${PWD}`; export s; \
6723 $(SET_LIB_PATH) \
6724 for flag in $(EXTRA_HOST_FLAGS); do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6726 done; \
6727 echo "Doing install-info in diff" ; \
6728 (cd diff && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6733 install-info) \
6734 || exit 1
6737 .PHONY: maybe-install-info-dosutils install-info-dosutils
6738 maybe-install-info-dosutils:
6740 install-info-dosutils: \
6741 configure-dosutils \
6742 info-dosutils
6743 @[ -f ./dosutils/Makefile ] || exit 0; \
6744 r=`${PWD}`; export r; \
6745 s=`cd $(srcdir); ${PWD}`; export s; \
6746 $(SET_LIB_PATH) \
6747 for flag in $(EXTRA_HOST_FLAGS); do \
6748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6749 done; \
6750 echo "Doing install-info in dosutils" ; \
6751 (cd dosutils && \
6752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6754 "RANLIB=$${RANLIB}" \
6755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6756 install-info) \
6757 || exit 1
6760 .PHONY: maybe-install-info-etc install-info-etc
6761 maybe-install-info-etc:
6763 install-info-etc: \
6764 configure-etc \
6765 info-etc
6766 @[ -f ./etc/Makefile ] || exit 0; \
6767 r=`${PWD}`; export r; \
6768 s=`cd $(srcdir); ${PWD}`; export s; \
6769 $(SET_LIB_PATH) \
6770 for flag in $(EXTRA_HOST_FLAGS); do \
6771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6772 done; \
6773 echo "Doing install-info in etc" ; \
6774 (cd etc && \
6775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6777 "RANLIB=$${RANLIB}" \
6778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6779 install-info) \
6780 || exit 1
6783 .PHONY: maybe-install-info-fastjar install-info-fastjar
6784 maybe-install-info-fastjar:
6786 install-info-fastjar: \
6787 configure-fastjar \
6788 info-fastjar
6789 @[ -f ./fastjar/Makefile ] || exit 0; \
6790 r=`${PWD}`; export r; \
6791 s=`cd $(srcdir); ${PWD}`; export s; \
6792 $(SET_LIB_PATH) \
6793 for flag in $(EXTRA_HOST_FLAGS); do \
6794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6795 done; \
6796 echo "Doing install-info in fastjar" ; \
6797 (cd fastjar && \
6798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6800 "RANLIB=$${RANLIB}" \
6801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6802 install-info) \
6803 || exit 1
6806 .PHONY: maybe-install-info-fileutils install-info-fileutils
6807 maybe-install-info-fileutils:
6809 install-info-fileutils: \
6810 configure-fileutils \
6811 info-fileutils
6812 @[ -f ./fileutils/Makefile ] || exit 0; \
6813 r=`${PWD}`; export r; \
6814 s=`cd $(srcdir); ${PWD}`; export s; \
6815 $(SET_LIB_PATH) \
6816 for flag in $(EXTRA_HOST_FLAGS); do \
6817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6818 done; \
6819 echo "Doing install-info in fileutils" ; \
6820 (cd fileutils && \
6821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6823 "RANLIB=$${RANLIB}" \
6824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6825 install-info) \
6826 || exit 1
6829 .PHONY: maybe-install-info-findutils install-info-findutils
6830 maybe-install-info-findutils:
6832 install-info-findutils: \
6833 configure-findutils \
6834 info-findutils
6835 @[ -f ./findutils/Makefile ] || exit 0; \
6836 r=`${PWD}`; export r; \
6837 s=`cd $(srcdir); ${PWD}`; export s; \
6838 $(SET_LIB_PATH) \
6839 for flag in $(EXTRA_HOST_FLAGS); do \
6840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6841 done; \
6842 echo "Doing install-info in findutils" ; \
6843 (cd findutils && \
6844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6846 "RANLIB=$${RANLIB}" \
6847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 install-info) \
6849 || exit 1
6852 .PHONY: maybe-install-info-find install-info-find
6853 maybe-install-info-find:
6855 install-info-find: \
6856 configure-find \
6857 info-find
6858 @[ -f ./find/Makefile ] || exit 0; \
6859 r=`${PWD}`; export r; \
6860 s=`cd $(srcdir); ${PWD}`; export s; \
6861 $(SET_LIB_PATH) \
6862 for flag in $(EXTRA_HOST_FLAGS); do \
6863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6864 done; \
6865 echo "Doing install-info in find" ; \
6866 (cd find && \
6867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6869 "RANLIB=$${RANLIB}" \
6870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 install-info) \
6872 || exit 1
6875 .PHONY: maybe-install-info-flex install-info-flex
6876 maybe-install-info-flex:
6878 install-info-flex: \
6879 configure-flex \
6880 info-flex
6881 @[ -f ./flex/Makefile ] || exit 0; \
6882 r=`${PWD}`; export r; \
6883 s=`cd $(srcdir); ${PWD}`; export s; \
6884 $(SET_LIB_PATH) \
6885 for flag in $(EXTRA_HOST_FLAGS); do \
6886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6887 done; \
6888 echo "Doing install-info in flex" ; \
6889 (cd flex && \
6890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6892 "RANLIB=$${RANLIB}" \
6893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6894 install-info) \
6895 || exit 1
6898 .PHONY: maybe-install-info-gas install-info-gas
6899 maybe-install-info-gas:
6901 install-info-gas: \
6902 configure-gas \
6903 info-gas
6904 @[ -f ./gas/Makefile ] || exit 0; \
6905 r=`${PWD}`; export r; \
6906 s=`cd $(srcdir); ${PWD}`; export s; \
6907 $(SET_LIB_PATH) \
6908 for flag in $(EXTRA_HOST_FLAGS); do \
6909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6910 done; \
6911 echo "Doing install-info in gas" ; \
6912 (cd gas && \
6913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6915 "RANLIB=$${RANLIB}" \
6916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6917 install-info) \
6918 || exit 1
6921 .PHONY: maybe-install-info-gawk install-info-gawk
6922 maybe-install-info-gawk:
6924 install-info-gawk: \
6925 configure-gawk \
6926 info-gawk
6927 @[ -f ./gawk/Makefile ] || exit 0; \
6928 r=`${PWD}`; export r; \
6929 s=`cd $(srcdir); ${PWD}`; export s; \
6930 $(SET_LIB_PATH) \
6931 for flag in $(EXTRA_HOST_FLAGS); do \
6932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6933 done; \
6934 echo "Doing install-info in gawk" ; \
6935 (cd gawk && \
6936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6938 "RANLIB=$${RANLIB}" \
6939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6940 install-info) \
6941 || exit 1
6944 .PHONY: maybe-install-info-gettext install-info-gettext
6945 maybe-install-info-gettext:
6947 install-info-gettext: \
6948 configure-gettext \
6949 info-gettext
6950 @[ -f ./gettext/Makefile ] || exit 0; \
6951 r=`${PWD}`; export r; \
6952 s=`cd $(srcdir); ${PWD}`; export s; \
6953 $(SET_LIB_PATH) \
6954 for flag in $(EXTRA_HOST_FLAGS); do \
6955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6956 done; \
6957 echo "Doing install-info in gettext" ; \
6958 (cd gettext && \
6959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6961 "RANLIB=$${RANLIB}" \
6962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6963 install-info) \
6964 || exit 1
6967 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
6968 maybe-install-info-gnuserv:
6970 install-info-gnuserv: \
6971 configure-gnuserv \
6972 info-gnuserv
6973 @[ -f ./gnuserv/Makefile ] || exit 0; \
6974 r=`${PWD}`; export r; \
6975 s=`cd $(srcdir); ${PWD}`; export s; \
6976 $(SET_LIB_PATH) \
6977 for flag in $(EXTRA_HOST_FLAGS); do \
6978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6979 done; \
6980 echo "Doing install-info in gnuserv" ; \
6981 (cd gnuserv && \
6982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6984 "RANLIB=$${RANLIB}" \
6985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6986 install-info) \
6987 || exit 1
6990 .PHONY: maybe-install-info-gprof install-info-gprof
6991 maybe-install-info-gprof:
6993 install-info-gprof: \
6994 configure-gprof \
6995 info-gprof
6996 @[ -f ./gprof/Makefile ] || exit 0; \
6997 r=`${PWD}`; export r; \
6998 s=`cd $(srcdir); ${PWD}`; export s; \
6999 $(SET_LIB_PATH) \
7000 for flag in $(EXTRA_HOST_FLAGS); do \
7001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7002 done; \
7003 echo "Doing install-info in gprof" ; \
7004 (cd gprof && \
7005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7007 "RANLIB=$${RANLIB}" \
7008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7009 install-info) \
7010 || exit 1
7013 .PHONY: maybe-install-info-gzip install-info-gzip
7014 maybe-install-info-gzip:
7016 install-info-gzip: \
7017 configure-gzip \
7018 info-gzip
7019 @[ -f ./gzip/Makefile ] || exit 0; \
7020 r=`${PWD}`; export r; \
7021 s=`cd $(srcdir); ${PWD}`; export s; \
7022 $(SET_LIB_PATH) \
7023 for flag in $(EXTRA_HOST_FLAGS); do \
7024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7025 done; \
7026 echo "Doing install-info in gzip" ; \
7027 (cd gzip && \
7028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7030 "RANLIB=$${RANLIB}" \
7031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7032 install-info) \
7033 || exit 1
7036 .PHONY: maybe-install-info-hello install-info-hello
7037 maybe-install-info-hello:
7039 install-info-hello: \
7040 configure-hello \
7041 info-hello
7042 @[ -f ./hello/Makefile ] || exit 0; \
7043 r=`${PWD}`; export r; \
7044 s=`cd $(srcdir); ${PWD}`; export s; \
7045 $(SET_LIB_PATH) \
7046 for flag in $(EXTRA_HOST_FLAGS); do \
7047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7048 done; \
7049 echo "Doing install-info in hello" ; \
7050 (cd hello && \
7051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7053 "RANLIB=$${RANLIB}" \
7054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7055 install-info) \
7056 || exit 1
7059 .PHONY: maybe-install-info-indent install-info-indent
7060 maybe-install-info-indent:
7062 install-info-indent: \
7063 configure-indent \
7064 info-indent
7065 @[ -f ./indent/Makefile ] || exit 0; \
7066 r=`${PWD}`; export r; \
7067 s=`cd $(srcdir); ${PWD}`; export s; \
7068 $(SET_LIB_PATH) \
7069 for flag in $(EXTRA_HOST_FLAGS); do \
7070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7071 done; \
7072 echo "Doing install-info in indent" ; \
7073 (cd indent && \
7074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076 "RANLIB=$${RANLIB}" \
7077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7078 install-info) \
7079 || exit 1
7082 .PHONY: maybe-install-info-intl install-info-intl
7083 maybe-install-info-intl:
7085 install-info-intl: \
7086 configure-intl \
7087 info-intl
7088 @[ -f ./intl/Makefile ] || exit 0; \
7089 r=`${PWD}`; export r; \
7090 s=`cd $(srcdir); ${PWD}`; export s; \
7091 $(SET_LIB_PATH) \
7092 for flag in $(EXTRA_HOST_FLAGS); do \
7093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7094 done; \
7095 echo "Doing install-info in intl" ; \
7096 (cd intl && \
7097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7099 "RANLIB=$${RANLIB}" \
7100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7101 install-info) \
7102 || exit 1
7105 .PHONY: maybe-install-info-tcl install-info-tcl
7106 maybe-install-info-tcl:
7108 install-info-tcl: \
7109 configure-tcl \
7110 info-tcl
7111 @[ -f ./tcl/Makefile ] || exit 0; \
7112 r=`${PWD}`; export r; \
7113 s=`cd $(srcdir); ${PWD}`; export s; \
7114 $(SET_LIB_PATH) \
7115 for flag in $(EXTRA_HOST_FLAGS); do \
7116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7117 done; \
7118 echo "Doing install-info in tcl" ; \
7119 (cd tcl && \
7120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7122 "RANLIB=$${RANLIB}" \
7123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7124 install-info) \
7125 || exit 1
7128 .PHONY: maybe-install-info-itcl install-info-itcl
7129 maybe-install-info-itcl:
7131 install-info-itcl: \
7132 configure-itcl \
7133 info-itcl
7134 @[ -f ./itcl/Makefile ] || exit 0; \
7135 r=`${PWD}`; export r; \
7136 s=`cd $(srcdir); ${PWD}`; export s; \
7137 $(SET_LIB_PATH) \
7138 for flag in $(EXTRA_HOST_FLAGS); do \
7139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 done; \
7141 echo "Doing install-info in itcl" ; \
7142 (cd itcl && \
7143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7145 "RANLIB=$${RANLIB}" \
7146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7147 install-info) \
7148 || exit 1
7151 .PHONY: maybe-install-info-ld install-info-ld
7152 maybe-install-info-ld:
7154 install-info-ld: \
7155 configure-ld \
7156 info-ld
7157 @[ -f ./ld/Makefile ] || exit 0; \
7158 r=`${PWD}`; export r; \
7159 s=`cd $(srcdir); ${PWD}`; export s; \
7160 $(SET_LIB_PATH) \
7161 for flag in $(EXTRA_HOST_FLAGS); do \
7162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7163 done; \
7164 echo "Doing install-info in ld" ; \
7165 (cd ld && \
7166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7168 "RANLIB=$${RANLIB}" \
7169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7170 install-info) \
7171 || exit 1
7174 .PHONY: maybe-install-info-libgui install-info-libgui
7175 maybe-install-info-libgui:
7177 install-info-libgui: \
7178 configure-libgui \
7179 info-libgui
7180 @[ -f ./libgui/Makefile ] || exit 0; \
7181 r=`${PWD}`; export r; \
7182 s=`cd $(srcdir); ${PWD}`; export s; \
7183 $(SET_LIB_PATH) \
7184 for flag in $(EXTRA_HOST_FLAGS); do \
7185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186 done; \
7187 echo "Doing install-info in libgui" ; \
7188 (cd libgui && \
7189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191 "RANLIB=$${RANLIB}" \
7192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7193 install-info) \
7194 || exit 1
7197 .PHONY: maybe-install-info-libiberty install-info-libiberty
7198 maybe-install-info-libiberty:
7200 install-info-libiberty: \
7201 configure-libiberty \
7202 info-libiberty
7203 @[ -f ./libiberty/Makefile ] || exit 0; \
7204 r=`${PWD}`; export r; \
7205 s=`cd $(srcdir); ${PWD}`; export s; \
7206 $(SET_LIB_PATH) \
7207 for flag in $(EXTRA_HOST_FLAGS); do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing install-info in libiberty" ; \
7211 (cd libiberty && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7216 install-info) \
7217 || exit 1
7220 .PHONY: maybe-install-info-libtool install-info-libtool
7221 maybe-install-info-libtool:
7223 install-info-libtool: \
7224 configure-libtool \
7225 info-libtool
7226 @[ -f ./libtool/Makefile ] || exit 0; \
7227 r=`${PWD}`; export r; \
7228 s=`cd $(srcdir); ${PWD}`; export s; \
7229 $(SET_LIB_PATH) \
7230 for flag in $(EXTRA_HOST_FLAGS); do \
7231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7232 done; \
7233 echo "Doing install-info in libtool" ; \
7234 (cd libtool && \
7235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7237 "RANLIB=$${RANLIB}" \
7238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7239 install-info) \
7240 || exit 1
7243 .PHONY: maybe-install-info-m4 install-info-m4
7244 maybe-install-info-m4:
7246 install-info-m4: \
7247 configure-m4 \
7248 info-m4
7249 @[ -f ./m4/Makefile ] || exit 0; \
7250 r=`${PWD}`; export r; \
7251 s=`cd $(srcdir); ${PWD}`; export s; \
7252 $(SET_LIB_PATH) \
7253 for flag in $(EXTRA_HOST_FLAGS); do \
7254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7255 done; \
7256 echo "Doing install-info in m4" ; \
7257 (cd m4 && \
7258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7260 "RANLIB=$${RANLIB}" \
7261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7262 install-info) \
7263 || exit 1
7266 .PHONY: maybe-install-info-make install-info-make
7267 maybe-install-info-make:
7269 install-info-make: \
7270 configure-make \
7271 info-make
7272 @[ -f ./make/Makefile ] || exit 0; \
7273 r=`${PWD}`; export r; \
7274 s=`cd $(srcdir); ${PWD}`; export s; \
7275 $(SET_LIB_PATH) \
7276 for flag in $(EXTRA_HOST_FLAGS); do \
7277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7278 done; \
7279 echo "Doing install-info in make" ; \
7280 (cd make && \
7281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7283 "RANLIB=$${RANLIB}" \
7284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7285 install-info) \
7286 || exit 1
7289 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
7290 maybe-install-info-mmalloc:
7292 install-info-mmalloc: \
7293 configure-mmalloc \
7294 info-mmalloc
7295 @[ -f ./mmalloc/Makefile ] || exit 0; \
7296 r=`${PWD}`; export r; \
7297 s=`cd $(srcdir); ${PWD}`; export s; \
7298 $(SET_LIB_PATH) \
7299 for flag in $(EXTRA_HOST_FLAGS); do \
7300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7301 done; \
7302 echo "Doing install-info in mmalloc" ; \
7303 (cd mmalloc && \
7304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7306 "RANLIB=$${RANLIB}" \
7307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7308 install-info) \
7309 || exit 1
7312 .PHONY: maybe-install-info-patch install-info-patch
7313 maybe-install-info-patch:
7315 install-info-patch: \
7316 configure-patch \
7317 info-patch
7318 @[ -f ./patch/Makefile ] || exit 0; \
7319 r=`${PWD}`; export r; \
7320 s=`cd $(srcdir); ${PWD}`; export s; \
7321 $(SET_LIB_PATH) \
7322 for flag in $(EXTRA_HOST_FLAGS); do \
7323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7324 done; \
7325 echo "Doing install-info in patch" ; \
7326 (cd patch && \
7327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7329 "RANLIB=$${RANLIB}" \
7330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7331 install-info) \
7332 || exit 1
7335 .PHONY: maybe-install-info-perl install-info-perl
7336 maybe-install-info-perl:
7338 install-info-perl: \
7339 configure-perl \
7340 info-perl
7341 @[ -f ./perl/Makefile ] || exit 0; \
7342 r=`${PWD}`; export r; \
7343 s=`cd $(srcdir); ${PWD}`; export s; \
7344 $(SET_LIB_PATH) \
7345 for flag in $(EXTRA_HOST_FLAGS); do \
7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7347 done; \
7348 echo "Doing install-info in perl" ; \
7349 (cd perl && \
7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7352 "RANLIB=$${RANLIB}" \
7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7354 install-info) \
7355 || exit 1
7358 .PHONY: maybe-install-info-prms install-info-prms
7359 maybe-install-info-prms:
7361 install-info-prms: \
7362 configure-prms \
7363 info-prms
7364 @[ -f ./prms/Makefile ] || exit 0; \
7365 r=`${PWD}`; export r; \
7366 s=`cd $(srcdir); ${PWD}`; export s; \
7367 $(SET_LIB_PATH) \
7368 for flag in $(EXTRA_HOST_FLAGS); do \
7369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7370 done; \
7371 echo "Doing install-info in prms" ; \
7372 (cd prms && \
7373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7375 "RANLIB=$${RANLIB}" \
7376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7377 install-info) \
7378 || exit 1
7381 .PHONY: maybe-install-info-rcs install-info-rcs
7382 maybe-install-info-rcs:
7384 install-info-rcs: \
7385 configure-rcs \
7386 info-rcs
7387 @[ -f ./rcs/Makefile ] || exit 0; \
7388 r=`${PWD}`; export r; \
7389 s=`cd $(srcdir); ${PWD}`; export s; \
7390 $(SET_LIB_PATH) \
7391 for flag in $(EXTRA_HOST_FLAGS); do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 done; \
7394 echo "Doing install-info in rcs" ; \
7395 (cd rcs && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7400 install-info) \
7401 || exit 1
7404 .PHONY: maybe-install-info-readline install-info-readline
7405 maybe-install-info-readline:
7407 install-info-readline: \
7408 configure-readline \
7409 info-readline
7410 @[ -f ./readline/Makefile ] || exit 0; \
7411 r=`${PWD}`; export r; \
7412 s=`cd $(srcdir); ${PWD}`; export s; \
7413 $(SET_LIB_PATH) \
7414 for flag in $(EXTRA_HOST_FLAGS); do \
7415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7416 done; \
7417 echo "Doing install-info in readline" ; \
7418 (cd readline && \
7419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7421 "RANLIB=$${RANLIB}" \
7422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7423 install-info) \
7424 || exit 1
7427 .PHONY: maybe-install-info-release install-info-release
7428 maybe-install-info-release:
7430 install-info-release: \
7431 configure-release \
7432 info-release
7433 @[ -f ./release/Makefile ] || exit 0; \
7434 r=`${PWD}`; export r; \
7435 s=`cd $(srcdir); ${PWD}`; export s; \
7436 $(SET_LIB_PATH) \
7437 for flag in $(EXTRA_HOST_FLAGS); do \
7438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7439 done; \
7440 echo "Doing install-info in release" ; \
7441 (cd release && \
7442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7444 "RANLIB=$${RANLIB}" \
7445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7446 install-info) \
7447 || exit 1
7450 .PHONY: maybe-install-info-recode install-info-recode
7451 maybe-install-info-recode:
7453 install-info-recode: \
7454 configure-recode \
7455 info-recode
7456 @[ -f ./recode/Makefile ] || exit 0; \
7457 r=`${PWD}`; export r; \
7458 s=`cd $(srcdir); ${PWD}`; export s; \
7459 $(SET_LIB_PATH) \
7460 for flag in $(EXTRA_HOST_FLAGS); do \
7461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7462 done; \
7463 echo "Doing install-info in recode" ; \
7464 (cd recode && \
7465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467 "RANLIB=$${RANLIB}" \
7468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7469 install-info) \
7470 || exit 1
7473 .PHONY: maybe-install-info-sed install-info-sed
7474 maybe-install-info-sed:
7476 install-info-sed: \
7477 configure-sed \
7478 info-sed
7479 @[ -f ./sed/Makefile ] || exit 0; \
7480 r=`${PWD}`; export r; \
7481 s=`cd $(srcdir); ${PWD}`; export s; \
7482 $(SET_LIB_PATH) \
7483 for flag in $(EXTRA_HOST_FLAGS); do \
7484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7485 done; \
7486 echo "Doing install-info in sed" ; \
7487 (cd sed && \
7488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7490 "RANLIB=$${RANLIB}" \
7491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7492 install-info) \
7493 || exit 1
7496 .PHONY: maybe-install-info-send-pr install-info-send-pr
7497 maybe-install-info-send-pr:
7499 install-info-send-pr: \
7500 configure-send-pr \
7501 info-send-pr
7502 @[ -f ./send-pr/Makefile ] || exit 0; \
7503 r=`${PWD}`; export r; \
7504 s=`cd $(srcdir); ${PWD}`; export s; \
7505 $(SET_LIB_PATH) \
7506 for flag in $(EXTRA_HOST_FLAGS); do \
7507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7508 done; \
7509 echo "Doing install-info in send-pr" ; \
7510 (cd send-pr && \
7511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7513 "RANLIB=$${RANLIB}" \
7514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7515 install-info) \
7516 || exit 1
7519 .PHONY: maybe-install-info-shellutils install-info-shellutils
7520 maybe-install-info-shellutils:
7522 install-info-shellutils: \
7523 configure-shellutils \
7524 info-shellutils
7525 @[ -f ./shellutils/Makefile ] || exit 0; \
7526 r=`${PWD}`; export r; \
7527 s=`cd $(srcdir); ${PWD}`; export s; \
7528 $(SET_LIB_PATH) \
7529 for flag in $(EXTRA_HOST_FLAGS); do \
7530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7531 done; \
7532 echo "Doing install-info in shellutils" ; \
7533 (cd shellutils && \
7534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7536 "RANLIB=$${RANLIB}" \
7537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7538 install-info) \
7539 || exit 1
7542 .PHONY: maybe-install-info-sid install-info-sid
7543 maybe-install-info-sid:
7545 install-info-sid: \
7546 configure-sid \
7547 info-sid
7548 @[ -f ./sid/Makefile ] || exit 0; \
7549 r=`${PWD}`; export r; \
7550 s=`cd $(srcdir); ${PWD}`; export s; \
7551 $(SET_LIB_PATH) \
7552 for flag in $(EXTRA_HOST_FLAGS); do \
7553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7554 done; \
7555 echo "Doing install-info in sid" ; \
7556 (cd sid && \
7557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7559 "RANLIB=$${RANLIB}" \
7560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7561 install-info) \
7562 || exit 1
7565 .PHONY: maybe-install-info-sim install-info-sim
7566 maybe-install-info-sim:
7568 install-info-sim: \
7569 configure-sim \
7570 info-sim
7571 @[ -f ./sim/Makefile ] || exit 0; \
7572 r=`${PWD}`; export r; \
7573 s=`cd $(srcdir); ${PWD}`; export s; \
7574 $(SET_LIB_PATH) \
7575 for flag in $(EXTRA_HOST_FLAGS); do \
7576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7577 done; \
7578 echo "Doing install-info in sim" ; \
7579 (cd sim && \
7580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7582 "RANLIB=$${RANLIB}" \
7583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7584 install-info) \
7585 || exit 1
7588 .PHONY: maybe-install-info-tar install-info-tar
7589 maybe-install-info-tar:
7591 install-info-tar: \
7592 configure-tar \
7593 info-tar
7594 @[ -f ./tar/Makefile ] || exit 0; \
7595 r=`${PWD}`; export r; \
7596 s=`cd $(srcdir); ${PWD}`; export s; \
7597 $(SET_LIB_PATH) \
7598 for flag in $(EXTRA_HOST_FLAGS); do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600 done; \
7601 echo "Doing install-info in tar" ; \
7602 (cd tar && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7607 install-info) \
7608 || exit 1
7611 .PHONY: maybe-install-info-texinfo install-info-texinfo
7612 maybe-install-info-texinfo:
7614 install-info-texinfo: \
7615 configure-texinfo \
7616 info-texinfo
7617 @[ -f ./texinfo/Makefile ] || exit 0; \
7618 r=`${PWD}`; export r; \
7619 s=`cd $(srcdir); ${PWD}`; export s; \
7620 $(SET_LIB_PATH) \
7621 for flag in $(EXTRA_HOST_FLAGS); do \
7622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7623 done; \
7624 echo "Doing install-info in texinfo" ; \
7625 (cd texinfo && \
7626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7628 "RANLIB=$${RANLIB}" \
7629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7630 install-info) \
7631 || exit 1
7634 .PHONY: maybe-install-info-textutils install-info-textutils
7635 maybe-install-info-textutils:
7637 install-info-textutils: \
7638 configure-textutils \
7639 info-textutils
7640 @[ -f ./textutils/Makefile ] || exit 0; \
7641 r=`${PWD}`; export r; \
7642 s=`cd $(srcdir); ${PWD}`; export s; \
7643 $(SET_LIB_PATH) \
7644 for flag in $(EXTRA_HOST_FLAGS); do \
7645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7646 done; \
7647 echo "Doing install-info in textutils" ; \
7648 (cd textutils && \
7649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7651 "RANLIB=$${RANLIB}" \
7652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7653 install-info) \
7654 || exit 1
7657 .PHONY: maybe-install-info-time install-info-time
7658 maybe-install-info-time:
7660 install-info-time: \
7661 configure-time \
7662 info-time
7663 @[ -f ./time/Makefile ] || exit 0; \
7664 r=`${PWD}`; export r; \
7665 s=`cd $(srcdir); ${PWD}`; export s; \
7666 $(SET_LIB_PATH) \
7667 for flag in $(EXTRA_HOST_FLAGS); do \
7668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7669 done; \
7670 echo "Doing install-info in time" ; \
7671 (cd time && \
7672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7674 "RANLIB=$${RANLIB}" \
7675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7676 install-info) \
7677 || exit 1
7680 .PHONY: maybe-install-info-uudecode install-info-uudecode
7681 maybe-install-info-uudecode:
7683 install-info-uudecode: \
7684 configure-uudecode \
7685 info-uudecode
7686 @[ -f ./uudecode/Makefile ] || exit 0; \
7687 r=`${PWD}`; export r; \
7688 s=`cd $(srcdir); ${PWD}`; export s; \
7689 $(SET_LIB_PATH) \
7690 for flag in $(EXTRA_HOST_FLAGS); do \
7691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7692 done; \
7693 echo "Doing install-info in uudecode" ; \
7694 (cd uudecode && \
7695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7697 "RANLIB=$${RANLIB}" \
7698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7699 install-info) \
7700 || exit 1
7703 .PHONY: maybe-install-info-wdiff install-info-wdiff
7704 maybe-install-info-wdiff:
7706 install-info-wdiff: \
7707 configure-wdiff \
7708 info-wdiff
7709 @[ -f ./wdiff/Makefile ] || exit 0; \
7710 r=`${PWD}`; export r; \
7711 s=`cd $(srcdir); ${PWD}`; export s; \
7712 $(SET_LIB_PATH) \
7713 for flag in $(EXTRA_HOST_FLAGS); do \
7714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7715 done; \
7716 echo "Doing install-info in wdiff" ; \
7717 (cd wdiff && \
7718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7720 "RANLIB=$${RANLIB}" \
7721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7722 install-info) \
7723 || exit 1
7726 .PHONY: maybe-install-info-zip install-info-zip
7727 maybe-install-info-zip:
7729 install-info-zip: \
7730 configure-zip \
7731 info-zip
7732 @[ -f ./zip/Makefile ] || exit 0; \
7733 r=`${PWD}`; export r; \
7734 s=`cd $(srcdir); ${PWD}`; export s; \
7735 $(SET_LIB_PATH) \
7736 for flag in $(EXTRA_HOST_FLAGS); do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738 done; \
7739 echo "Doing install-info in zip" ; \
7740 (cd zip && \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7745 install-info) \
7746 || exit 1
7749 .PHONY: maybe-install-info-zlib install-info-zlib
7750 maybe-install-info-zlib:
7752 install-info-zlib: \
7753 configure-zlib \
7754 info-zlib
7755 @[ -f ./zlib/Makefile ] || exit 0; \
7756 r=`${PWD}`; export r; \
7757 s=`cd $(srcdir); ${PWD}`; export s; \
7758 $(SET_LIB_PATH) \
7759 for flag in $(EXTRA_HOST_FLAGS); do \
7760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7761 done; \
7762 echo "Doing install-info in zlib" ; \
7763 (cd zlib && \
7764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7766 "RANLIB=$${RANLIB}" \
7767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7768 install-info) \
7769 || exit 1
7772 .PHONY: maybe-install-info-gdb install-info-gdb
7773 maybe-install-info-gdb:
7775 install-info-gdb: \
7776 configure-gdb \
7777 info-gdb
7778 @[ -f ./gdb/Makefile ] || exit 0; \
7779 r=`${PWD}`; export r; \
7780 s=`cd $(srcdir); ${PWD}`; export s; \
7781 $(SET_LIB_PATH) \
7782 for flag in $(EXTRA_HOST_FLAGS); do \
7783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7784 done; \
7785 echo "Doing install-info in gdb" ; \
7786 (cd gdb && \
7787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7789 "RANLIB=$${RANLIB}" \
7790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7791 install-info) \
7792 || exit 1
7795 .PHONY: maybe-install-info-expect install-info-expect
7796 maybe-install-info-expect:
7798 install-info-expect: \
7799 configure-expect \
7800 info-expect
7801 @[ -f ./expect/Makefile ] || exit 0; \
7802 r=`${PWD}`; export r; \
7803 s=`cd $(srcdir); ${PWD}`; 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 install-info in expect" ; \
7809 (cd expect && \
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 install-info) \
7815 || exit 1
7818 .PHONY: maybe-install-info-guile install-info-guile
7819 maybe-install-info-guile:
7821 install-info-guile: \
7822 configure-guile \
7823 info-guile
7824 @[ -f ./guile/Makefile ] || exit 0; \
7825 r=`${PWD}`; export r; \
7826 s=`cd $(srcdir); ${PWD}`; export s; \
7827 $(SET_LIB_PATH) \
7828 for flag in $(EXTRA_HOST_FLAGS); do \
7829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7830 done; \
7831 echo "Doing install-info in guile" ; \
7832 (cd guile && \
7833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7835 "RANLIB=$${RANLIB}" \
7836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7837 install-info) \
7838 || exit 1
7841 .PHONY: maybe-install-info-tk install-info-tk
7842 maybe-install-info-tk:
7844 install-info-tk: \
7845 configure-tk \
7846 info-tk
7847 @[ -f ./tk/Makefile ] || exit 0; \
7848 r=`${PWD}`; export r; \
7849 s=`cd $(srcdir); ${PWD}`; export s; \
7850 $(SET_LIB_PATH) \
7851 for flag in $(EXTRA_HOST_FLAGS); do \
7852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7853 done; \
7854 echo "Doing install-info in tk" ; \
7855 (cd tk && \
7856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7858 "RANLIB=$${RANLIB}" \
7859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7860 install-info) \
7861 || exit 1
7864 .PHONY: maybe-install-info-tix install-info-tix
7865 maybe-install-info-tix:
7867 install-info-tix: \
7868 configure-tix \
7869 info-tix
7870 @[ -f ./tix/Makefile ] || exit 0; \
7871 r=`${PWD}`; export r; \
7872 s=`cd $(srcdir); ${PWD}`; export s; \
7873 $(SET_LIB_PATH) \
7874 for flag in $(EXTRA_HOST_FLAGS); do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 done; \
7877 echo "Doing install-info in tix" ; \
7878 (cd tix && \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7883 install-info) \
7884 || exit 1
7887 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
7888 maybe-install-info-libtermcap:
7890 install-info-libtermcap: \
7891 configure-libtermcap \
7892 info-libtermcap
7893 @[ -f ./libtermcap/Makefile ] || exit 0; \
7894 r=`${PWD}`; export r; \
7895 s=`cd $(srcdir); ${PWD}`; export s; \
7896 $(SET_LIB_PATH) \
7897 for flag in $(EXTRA_HOST_FLAGS); do \
7898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 done; \
7900 echo "Doing install-info in libtermcap" ; \
7901 (cd libtermcap && \
7902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7904 "RANLIB=$${RANLIB}" \
7905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7906 install-info) \
7907 || exit 1
7910 .PHONY: maybe-install-info-utils install-info-utils
7911 maybe-install-info-utils:
7913 install-info-utils: \
7914 configure-utils \
7915 info-utils
7916 @[ -f ./utils/Makefile ] || exit 0; \
7917 r=`${PWD}`; export r; \
7918 s=`cd $(srcdir); ${PWD}`; export s; \
7919 $(SET_LIB_PATH) \
7920 for flag in $(EXTRA_HOST_FLAGS); do \
7921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7922 done; \
7923 echo "Doing install-info in utils" ; \
7924 (cd utils && \
7925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7927 "RANLIB=$${RANLIB}" \
7928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7929 install-info) \
7930 || exit 1
7934 # Target modules.
7936 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
7937 maybe-install-info-target-libstdc++-v3:
7939 install-info-target-libstdc++-v3: \
7940 configure-target-libstdc++-v3 \
7941 info-target-libstdc++-v3
7942 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
7943 r=`${PWD}`; export r; \
7944 s=`cd $(srcdir); ${PWD}`; export s; \
7945 $(SET_LIB_PATH) \
7946 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
7947 for flag in $(EXTRA_TARGET_FLAGS); do \
7948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7949 done; \
7950 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7955 install-info) \
7956 || exit 1
7959 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
7960 maybe-install-info-target-newlib:
7962 install-info-target-newlib: \
7963 configure-target-newlib \
7964 info-target-newlib
7965 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
7966 r=`${PWD}`; export r; \
7967 s=`cd $(srcdir); ${PWD}`; export s; \
7968 $(SET_LIB_PATH) \
7969 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
7970 for flag in $(EXTRA_TARGET_FLAGS); do \
7971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7972 done; \
7973 (cd $(TARGET_SUBDIR)/newlib && \
7974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7976 "RANLIB=$${RANLIB}" \
7977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7978 install-info) \
7979 || exit 1
7982 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
7983 maybe-install-info-target-libf2c:
7985 install-info-target-libf2c: \
7986 configure-target-libf2c \
7987 info-target-libf2c
7988 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
7989 r=`${PWD}`; export r; \
7990 s=`cd $(srcdir); ${PWD}`; export s; \
7991 $(SET_LIB_PATH) \
7992 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
7993 for flag in $(EXTRA_TARGET_FLAGS); do \
7994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7995 done; \
7996 (cd $(TARGET_SUBDIR)/libf2c && \
7997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7999 "RANLIB=$${RANLIB}" \
8000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8001 install-info) \
8002 || exit 1
8005 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
8006 maybe-install-info-target-libobjc:
8008 install-info-target-libobjc: \
8009 configure-target-libobjc \
8010 info-target-libobjc
8011 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8012 r=`${PWD}`; export r; \
8013 s=`cd $(srcdir); ${PWD}`; export s; \
8014 $(SET_LIB_PATH) \
8015 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
8016 for flag in $(EXTRA_TARGET_FLAGS); do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 (cd $(TARGET_SUBDIR)/libobjc && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8024 install-info) \
8025 || exit 1
8028 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
8029 maybe-install-info-target-libtermcap:
8031 install-info-target-libtermcap: \
8032 configure-target-libtermcap \
8033 info-target-libtermcap
8034 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8035 r=`${PWD}`; export r; \
8036 s=`cd $(srcdir); ${PWD}`; export s; \
8037 $(SET_LIB_PATH) \
8038 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
8039 for flag in $(EXTRA_TARGET_FLAGS); do \
8040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8041 done; \
8042 (cd $(TARGET_SUBDIR)/libtermcap && \
8043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8045 "RANLIB=$${RANLIB}" \
8046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8047 install-info) \
8048 || exit 1
8051 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
8052 maybe-install-info-target-winsup:
8054 install-info-target-winsup: \
8055 configure-target-winsup \
8056 info-target-winsup
8057 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8058 r=`${PWD}`; export r; \
8059 s=`cd $(srcdir); ${PWD}`; export s; \
8060 $(SET_LIB_PATH) \
8061 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
8062 for flag in $(EXTRA_TARGET_FLAGS); do \
8063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8064 done; \
8065 (cd $(TARGET_SUBDIR)/winsup && \
8066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8068 "RANLIB=$${RANLIB}" \
8069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8070 install-info) \
8071 || exit 1
8074 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
8075 maybe-install-info-target-libgloss:
8077 install-info-target-libgloss: \
8078 configure-target-libgloss \
8079 info-target-libgloss
8080 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8081 r=`${PWD}`; export r; \
8082 s=`cd $(srcdir); ${PWD}`; export s; \
8083 $(SET_LIB_PATH) \
8084 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
8085 for flag in $(EXTRA_TARGET_FLAGS); do \
8086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8087 done; \
8088 (cd $(TARGET_SUBDIR)/libgloss && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8093 install-info) \
8094 || exit 1
8097 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
8098 maybe-install-info-target-libiberty:
8100 install-info-target-libiberty: \
8101 configure-target-libiberty \
8102 info-target-libiberty
8103 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8104 r=`${PWD}`; export r; \
8105 s=`cd $(srcdir); ${PWD}`; export s; \
8106 $(SET_LIB_PATH) \
8107 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
8108 for flag in $(EXTRA_TARGET_FLAGS); do \
8109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8110 done; \
8111 (cd $(TARGET_SUBDIR)/libiberty && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8116 install-info) \
8117 || exit 1
8120 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
8121 maybe-install-info-target-gperf:
8123 install-info-target-gperf: \
8124 configure-target-gperf \
8125 info-target-gperf
8126 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8127 r=`${PWD}`; export r; \
8128 s=`cd $(srcdir); ${PWD}`; export s; \
8129 $(SET_LIB_PATH) \
8130 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
8131 for flag in $(EXTRA_TARGET_FLAGS); do \
8132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8133 done; \
8134 (cd $(TARGET_SUBDIR)/gperf && \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8139 install-info) \
8140 || exit 1
8143 .PHONY: maybe-install-info-target-examples install-info-target-examples
8144 maybe-install-info-target-examples:
8146 install-info-target-examples: \
8147 configure-target-examples \
8148 info-target-examples
8149 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8150 r=`${PWD}`; export r; \
8151 s=`cd $(srcdir); ${PWD}`; export s; \
8152 $(SET_LIB_PATH) \
8153 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
8154 for flag in $(EXTRA_TARGET_FLAGS); do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156 done; \
8157 (cd $(TARGET_SUBDIR)/examples && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8160 "RANLIB=$${RANLIB}" \
8161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8162 install-info) \
8163 || exit 1
8166 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
8167 maybe-install-info-target-libffi:
8169 install-info-target-libffi: \
8170 configure-target-libffi \
8171 info-target-libffi
8172 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8173 r=`${PWD}`; export r; \
8174 s=`cd $(srcdir); ${PWD}`; export s; \
8175 $(SET_LIB_PATH) \
8176 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
8177 for flag in $(EXTRA_TARGET_FLAGS); do \
8178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8179 done; \
8180 (cd $(TARGET_SUBDIR)/libffi && \
8181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8183 "RANLIB=$${RANLIB}" \
8184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8185 install-info) \
8186 || exit 1
8189 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
8190 maybe-install-info-target-libjava:
8192 install-info-target-libjava: \
8193 configure-target-libjava \
8194 info-target-libjava
8195 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8196 r=`${PWD}`; export r; \
8197 s=`cd $(srcdir); ${PWD}`; export s; \
8198 $(SET_LIB_PATH) \
8199 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
8200 for flag in $(EXTRA_TARGET_FLAGS); do \
8201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8202 done; \
8203 (cd $(TARGET_SUBDIR)/libjava && \
8204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8206 "RANLIB=$${RANLIB}" \
8207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8208 install-info) \
8209 || exit 1
8212 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
8213 maybe-install-info-target-zlib:
8215 install-info-target-zlib: \
8216 configure-target-zlib \
8217 info-target-zlib
8218 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8219 r=`${PWD}`; export r; \
8220 s=`cd $(srcdir); ${PWD}`; export s; \
8221 $(SET_LIB_PATH) \
8222 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
8223 for flag in $(EXTRA_TARGET_FLAGS); do \
8224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8225 done; \
8226 (cd $(TARGET_SUBDIR)/zlib && \
8227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8229 "RANLIB=$${RANLIB}" \
8230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8231 install-info) \
8232 || exit 1
8235 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
8236 maybe-install-info-target-boehm-gc:
8238 install-info-target-boehm-gc: \
8239 configure-target-boehm-gc \
8240 info-target-boehm-gc
8241 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8242 r=`${PWD}`; export r; \
8243 s=`cd $(srcdir); ${PWD}`; export s; \
8244 $(SET_LIB_PATH) \
8245 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
8246 for flag in $(EXTRA_TARGET_FLAGS); do \
8247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8248 done; \
8249 (cd $(TARGET_SUBDIR)/boehm-gc && \
8250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8252 "RANLIB=$${RANLIB}" \
8253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8254 install-info) \
8255 || exit 1
8258 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
8259 maybe-install-info-target-qthreads:
8261 install-info-target-qthreads: \
8262 configure-target-qthreads \
8263 info-target-qthreads
8264 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8265 r=`${PWD}`; export r; \
8266 s=`cd $(srcdir); ${PWD}`; export s; \
8267 $(SET_LIB_PATH) \
8268 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
8269 for flag in $(EXTRA_TARGET_FLAGS); do \
8270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8271 done; \
8272 (cd $(TARGET_SUBDIR)/qthreads && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8275 "RANLIB=$${RANLIB}" \
8276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8277 install-info) \
8278 || exit 1
8281 .PHONY: maybe-install-info-target-rda install-info-target-rda
8282 maybe-install-info-target-rda:
8284 install-info-target-rda: \
8285 configure-target-rda \
8286 info-target-rda
8287 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8288 r=`${PWD}`; export r; \
8289 s=`cd $(srcdir); ${PWD}`; export s; \
8290 $(SET_LIB_PATH) \
8291 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
8292 for flag in $(EXTRA_TARGET_FLAGS); do \
8293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8294 done; \
8295 (cd $(TARGET_SUBDIR)/rda && \
8296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8298 "RANLIB=$${RANLIB}" \
8299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8300 install-info) \
8301 || exit 1
8305 .PHONY: do-installcheck
8306 do-installcheck: installcheck-host installcheck-target
8308 .PHONY: installcheck-host
8309 installcheck-host: maybe-installcheck-gcc \
8310 maybe-installcheck-ash \
8311 maybe-installcheck-autoconf \
8312 maybe-installcheck-automake \
8313 maybe-installcheck-bash \
8314 maybe-installcheck-bfd \
8315 maybe-installcheck-opcodes \
8316 maybe-installcheck-binutils \
8317 maybe-installcheck-bison \
8318 maybe-installcheck-byacc \
8319 maybe-installcheck-bzip2 \
8320 maybe-installcheck-dejagnu \
8321 maybe-installcheck-diff \
8322 maybe-installcheck-dosutils \
8323 maybe-installcheck-etc \
8324 maybe-installcheck-fastjar \
8325 maybe-installcheck-fileutils \
8326 maybe-installcheck-findutils \
8327 maybe-installcheck-find \
8328 maybe-installcheck-flex \
8329 maybe-installcheck-gas \
8330 maybe-installcheck-gawk \
8331 maybe-installcheck-gettext \
8332 maybe-installcheck-gnuserv \
8333 maybe-installcheck-gprof \
8334 maybe-installcheck-gzip \
8335 maybe-installcheck-hello \
8336 maybe-installcheck-indent \
8337 maybe-installcheck-intl \
8338 maybe-installcheck-tcl \
8339 maybe-installcheck-itcl \
8340 maybe-installcheck-ld \
8341 maybe-installcheck-libgui \
8342 maybe-installcheck-libiberty \
8343 maybe-installcheck-libtool \
8344 maybe-installcheck-m4 \
8345 maybe-installcheck-make \
8346 maybe-installcheck-mmalloc \
8347 maybe-installcheck-patch \
8348 maybe-installcheck-perl \
8349 maybe-installcheck-prms \
8350 maybe-installcheck-rcs \
8351 maybe-installcheck-readline \
8352 maybe-installcheck-release \
8353 maybe-installcheck-recode \
8354 maybe-installcheck-sed \
8355 maybe-installcheck-send-pr \
8356 maybe-installcheck-shellutils \
8357 maybe-installcheck-sid \
8358 maybe-installcheck-sim \
8359 maybe-installcheck-tar \
8360 maybe-installcheck-texinfo \
8361 maybe-installcheck-textutils \
8362 maybe-installcheck-time \
8363 maybe-installcheck-uudecode \
8364 maybe-installcheck-wdiff \
8365 maybe-installcheck-zip \
8366 maybe-installcheck-zlib \
8367 maybe-installcheck-gdb \
8368 maybe-installcheck-expect \
8369 maybe-installcheck-guile \
8370 maybe-installcheck-tk \
8371 maybe-installcheck-tix \
8372 maybe-installcheck-libtermcap \
8373 maybe-installcheck-utils
8375 .PHONY: installcheck-target
8376 installcheck-target: \
8377 maybe-installcheck-target-libstdc++-v3 \
8378 maybe-installcheck-target-newlib \
8379 maybe-installcheck-target-libf2c \
8380 maybe-installcheck-target-libobjc \
8381 maybe-installcheck-target-libtermcap \
8382 maybe-installcheck-target-winsup \
8383 maybe-installcheck-target-libgloss \
8384 maybe-installcheck-target-libiberty \
8385 maybe-installcheck-target-gperf \
8386 maybe-installcheck-target-examples \
8387 maybe-installcheck-target-libffi \
8388 maybe-installcheck-target-libjava \
8389 maybe-installcheck-target-zlib \
8390 maybe-installcheck-target-boehm-gc \
8391 maybe-installcheck-target-qthreads \
8392 maybe-installcheck-target-rda
8394 # GCC, the eternal special case
8395 .PHONY: maybe-installcheck-gcc installcheck-gcc
8396 maybe-installcheck-gcc:
8397 installcheck-gcc: \
8398 configure-gcc
8399 @[ -f ./gcc/Makefile ] || exit 0; \
8400 r=`${PWD}`; export r; \
8401 s=`cd $(srcdir); ${PWD}`; export s; \
8402 $(SET_LIB_PATH) \
8403 for flag in $(EXTRA_GCC_FLAGS); do \
8404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8405 done; \
8406 echo "Doing installcheck in gcc" ; \
8407 (cd gcc && \
8408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8410 "RANLIB=$${RANLIB}" \
8411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8412 installcheck) \
8413 || exit 1
8415 # Host modules.
8417 .PHONY: maybe-installcheck-ash installcheck-ash
8418 maybe-installcheck-ash:
8420 installcheck-ash: \
8421 configure-ash
8422 @[ -f ./ash/Makefile ] || exit 0; \
8423 r=`${PWD}`; export r; \
8424 s=`cd $(srcdir); ${PWD}`; export s; \
8425 $(SET_LIB_PATH) \
8426 for flag in $(EXTRA_HOST_FLAGS); do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing installcheck in ash" ; \
8430 (cd ash && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 installcheck) \
8436 || exit 1
8439 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
8440 maybe-installcheck-autoconf:
8442 installcheck-autoconf: \
8443 configure-autoconf
8444 @[ -f ./autoconf/Makefile ] || exit 0; \
8445 r=`${PWD}`; export r; \
8446 s=`cd $(srcdir); ${PWD}`; export s; \
8447 $(SET_LIB_PATH) \
8448 for flag in $(EXTRA_HOST_FLAGS); do \
8449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8450 done; \
8451 echo "Doing installcheck in autoconf" ; \
8452 (cd autoconf && \
8453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8455 "RANLIB=$${RANLIB}" \
8456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8457 installcheck) \
8458 || exit 1
8461 .PHONY: maybe-installcheck-automake installcheck-automake
8462 maybe-installcheck-automake:
8464 installcheck-automake: \
8465 configure-automake
8466 @[ -f ./automake/Makefile ] || exit 0; \
8467 r=`${PWD}`; export r; \
8468 s=`cd $(srcdir); ${PWD}`; export s; \
8469 $(SET_LIB_PATH) \
8470 for flag in $(EXTRA_HOST_FLAGS); do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472 done; \
8473 echo "Doing installcheck in automake" ; \
8474 (cd automake && \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8479 installcheck) \
8480 || exit 1
8483 .PHONY: maybe-installcheck-bash installcheck-bash
8484 maybe-installcheck-bash:
8486 installcheck-bash: \
8487 configure-bash
8488 @[ -f ./bash/Makefile ] || exit 0; \
8489 r=`${PWD}`; export r; \
8490 s=`cd $(srcdir); ${PWD}`; export s; \
8491 $(SET_LIB_PATH) \
8492 for flag in $(EXTRA_HOST_FLAGS); do \
8493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8494 done; \
8495 echo "Doing installcheck in bash" ; \
8496 (cd bash && \
8497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8499 "RANLIB=$${RANLIB}" \
8500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8501 installcheck) \
8502 || exit 1
8505 .PHONY: maybe-installcheck-bfd installcheck-bfd
8506 maybe-installcheck-bfd:
8508 installcheck-bfd: \
8509 configure-bfd
8510 @[ -f ./bfd/Makefile ] || exit 0; \
8511 r=`${PWD}`; export r; \
8512 s=`cd $(srcdir); ${PWD}`; export s; \
8513 $(SET_LIB_PATH) \
8514 for flag in $(EXTRA_HOST_FLAGS); do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing installcheck in bfd" ; \
8518 (cd bfd && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 installcheck) \
8524 || exit 1
8527 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
8528 maybe-installcheck-opcodes:
8530 installcheck-opcodes: \
8531 configure-opcodes
8532 @[ -f ./opcodes/Makefile ] || exit 0; \
8533 r=`${PWD}`; export r; \
8534 s=`cd $(srcdir); ${PWD}`; export s; \
8535 $(SET_LIB_PATH) \
8536 for flag in $(EXTRA_HOST_FLAGS); do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 done; \
8539 echo "Doing installcheck in opcodes" ; \
8540 (cd opcodes && \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8545 installcheck) \
8546 || exit 1
8549 .PHONY: maybe-installcheck-binutils installcheck-binutils
8550 maybe-installcheck-binutils:
8552 installcheck-binutils: \
8553 configure-binutils
8554 @[ -f ./binutils/Makefile ] || exit 0; \
8555 r=`${PWD}`; export r; \
8556 s=`cd $(srcdir); ${PWD}`; export s; \
8557 $(SET_LIB_PATH) \
8558 for flag in $(EXTRA_HOST_FLAGS); do \
8559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8560 done; \
8561 echo "Doing installcheck in binutils" ; \
8562 (cd binutils && \
8563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8565 "RANLIB=$${RANLIB}" \
8566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8567 installcheck) \
8568 || exit 1
8571 .PHONY: maybe-installcheck-bison installcheck-bison
8572 maybe-installcheck-bison:
8574 installcheck-bison: \
8575 configure-bison
8576 @[ -f ./bison/Makefile ] || exit 0; \
8577 r=`${PWD}`; export r; \
8578 s=`cd $(srcdir); ${PWD}`; export s; \
8579 $(SET_LIB_PATH) \
8580 for flag in $(EXTRA_HOST_FLAGS); do \
8581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8582 done; \
8583 echo "Doing installcheck in bison" ; \
8584 (cd bison && \
8585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8587 "RANLIB=$${RANLIB}" \
8588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8589 installcheck) \
8590 || exit 1
8593 .PHONY: maybe-installcheck-byacc installcheck-byacc
8594 maybe-installcheck-byacc:
8596 installcheck-byacc: \
8597 configure-byacc
8598 @[ -f ./byacc/Makefile ] || exit 0; \
8599 r=`${PWD}`; export r; \
8600 s=`cd $(srcdir); ${PWD}`; export s; \
8601 $(SET_LIB_PATH) \
8602 for flag in $(EXTRA_HOST_FLAGS); do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing installcheck in byacc" ; \
8606 (cd byacc && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611 installcheck) \
8612 || exit 1
8615 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8616 maybe-installcheck-bzip2:
8618 installcheck-bzip2: \
8619 configure-bzip2
8620 @[ -f ./bzip2/Makefile ] || exit 0; \
8621 r=`${PWD}`; export r; \
8622 s=`cd $(srcdir); ${PWD}`; 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 installcheck in bzip2" ; \
8628 (cd bzip2 && \
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 installcheck) \
8634 || exit 1
8637 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8638 maybe-installcheck-dejagnu:
8640 installcheck-dejagnu: \
8641 configure-dejagnu
8642 @[ -f ./dejagnu/Makefile ] || exit 0; \
8643 r=`${PWD}`; export r; \
8644 s=`cd $(srcdir); ${PWD}`; export s; \
8645 $(SET_LIB_PATH) \
8646 for flag in $(EXTRA_HOST_FLAGS); do \
8647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8648 done; \
8649 echo "Doing installcheck in dejagnu" ; \
8650 (cd dejagnu && \
8651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8653 "RANLIB=$${RANLIB}" \
8654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8655 installcheck) \
8656 || exit 1
8659 .PHONY: maybe-installcheck-diff installcheck-diff
8660 maybe-installcheck-diff:
8662 installcheck-diff: \
8663 configure-diff
8664 @[ -f ./diff/Makefile ] || exit 0; \
8665 r=`${PWD}`; export r; \
8666 s=`cd $(srcdir); ${PWD}`; export s; \
8667 $(SET_LIB_PATH) \
8668 for flag in $(EXTRA_HOST_FLAGS); do \
8669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8670 done; \
8671 echo "Doing installcheck in diff" ; \
8672 (cd diff && \
8673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8675 "RANLIB=$${RANLIB}" \
8676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8677 installcheck) \
8678 || exit 1
8681 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8682 maybe-installcheck-dosutils:
8684 installcheck-dosutils: \
8685 configure-dosutils
8686 @[ -f ./dosutils/Makefile ] || exit 0; \
8687 r=`${PWD}`; export r; \
8688 s=`cd $(srcdir); ${PWD}`; export s; \
8689 $(SET_LIB_PATH) \
8690 for flag in $(EXTRA_HOST_FLAGS); do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing installcheck in dosutils" ; \
8694 (cd dosutils && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8699 installcheck) \
8700 || exit 1
8703 .PHONY: maybe-installcheck-etc installcheck-etc
8704 maybe-installcheck-etc:
8706 installcheck-etc: \
8707 configure-etc
8708 @[ -f ./etc/Makefile ] || exit 0; \
8709 r=`${PWD}`; export r; \
8710 s=`cd $(srcdir); ${PWD}`; export s; \
8711 $(SET_LIB_PATH) \
8712 for flag in $(EXTRA_HOST_FLAGS); do \
8713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8714 done; \
8715 echo "Doing installcheck in etc" ; \
8716 (cd etc && \
8717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8719 "RANLIB=$${RANLIB}" \
8720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8721 installcheck) \
8722 || exit 1
8725 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8726 maybe-installcheck-fastjar:
8728 installcheck-fastjar: \
8729 configure-fastjar
8730 @[ -f ./fastjar/Makefile ] || exit 0; \
8731 r=`${PWD}`; export r; \
8732 s=`cd $(srcdir); ${PWD}`; export s; \
8733 $(SET_LIB_PATH) \
8734 for flag in $(EXTRA_HOST_FLAGS); do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8736 done; \
8737 echo "Doing installcheck in fastjar" ; \
8738 (cd fastjar && \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8743 installcheck) \
8744 || exit 1
8747 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8748 maybe-installcheck-fileutils:
8750 installcheck-fileutils: \
8751 configure-fileutils
8752 @[ -f ./fileutils/Makefile ] || exit 0; \
8753 r=`${PWD}`; export r; \
8754 s=`cd $(srcdir); ${PWD}`; export s; \
8755 $(SET_LIB_PATH) \
8756 for flag in $(EXTRA_HOST_FLAGS); do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 done; \
8759 echo "Doing installcheck in fileutils" ; \
8760 (cd fileutils && \
8761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8763 "RANLIB=$${RANLIB}" \
8764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8765 installcheck) \
8766 || exit 1
8769 .PHONY: maybe-installcheck-findutils installcheck-findutils
8770 maybe-installcheck-findutils:
8772 installcheck-findutils: \
8773 configure-findutils
8774 @[ -f ./findutils/Makefile ] || exit 0; \
8775 r=`${PWD}`; export r; \
8776 s=`cd $(srcdir); ${PWD}`; export s; \
8777 $(SET_LIB_PATH) \
8778 for flag in $(EXTRA_HOST_FLAGS); do \
8779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8780 done; \
8781 echo "Doing installcheck in findutils" ; \
8782 (cd findutils && \
8783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8785 "RANLIB=$${RANLIB}" \
8786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8787 installcheck) \
8788 || exit 1
8791 .PHONY: maybe-installcheck-find installcheck-find
8792 maybe-installcheck-find:
8794 installcheck-find: \
8795 configure-find
8796 @[ -f ./find/Makefile ] || exit 0; \
8797 r=`${PWD}`; export r; \
8798 s=`cd $(srcdir); ${PWD}`; export s; \
8799 $(SET_LIB_PATH) \
8800 for flag in $(EXTRA_HOST_FLAGS); do \
8801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8802 done; \
8803 echo "Doing installcheck in find" ; \
8804 (cd find && \
8805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8807 "RANLIB=$${RANLIB}" \
8808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8809 installcheck) \
8810 || exit 1
8813 .PHONY: maybe-installcheck-flex installcheck-flex
8814 maybe-installcheck-flex:
8816 installcheck-flex: \
8817 configure-flex
8818 @[ -f ./flex/Makefile ] || exit 0; \
8819 r=`${PWD}`; export r; \
8820 s=`cd $(srcdir); ${PWD}`; export s; \
8821 $(SET_LIB_PATH) \
8822 for flag in $(EXTRA_HOST_FLAGS); do \
8823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8824 done; \
8825 echo "Doing installcheck in flex" ; \
8826 (cd flex && \
8827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8829 "RANLIB=$${RANLIB}" \
8830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8831 installcheck) \
8832 || exit 1
8835 .PHONY: maybe-installcheck-gas installcheck-gas
8836 maybe-installcheck-gas:
8838 installcheck-gas: \
8839 configure-gas
8840 @[ -f ./gas/Makefile ] || exit 0; \
8841 r=`${PWD}`; export r; \
8842 s=`cd $(srcdir); ${PWD}`; export s; \
8843 $(SET_LIB_PATH) \
8844 for flag in $(EXTRA_HOST_FLAGS); do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing installcheck in gas" ; \
8848 (cd gas && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8853 installcheck) \
8854 || exit 1
8857 .PHONY: maybe-installcheck-gawk installcheck-gawk
8858 maybe-installcheck-gawk:
8860 installcheck-gawk: \
8861 configure-gawk
8862 @[ -f ./gawk/Makefile ] || exit 0; \
8863 r=`${PWD}`; export r; \
8864 s=`cd $(srcdir); ${PWD}`; export s; \
8865 $(SET_LIB_PATH) \
8866 for flag in $(EXTRA_HOST_FLAGS); do \
8867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8868 done; \
8869 echo "Doing installcheck in gawk" ; \
8870 (cd gawk && \
8871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8873 "RANLIB=$${RANLIB}" \
8874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8875 installcheck) \
8876 || exit 1
8879 .PHONY: maybe-installcheck-gettext installcheck-gettext
8880 maybe-installcheck-gettext:
8882 installcheck-gettext: \
8883 configure-gettext
8884 @[ -f ./gettext/Makefile ] || exit 0; \
8885 r=`${PWD}`; export r; \
8886 s=`cd $(srcdir); ${PWD}`; export s; \
8887 $(SET_LIB_PATH) \
8888 for flag in $(EXTRA_HOST_FLAGS); do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8890 done; \
8891 echo "Doing installcheck in gettext" ; \
8892 (cd gettext && \
8893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895 "RANLIB=$${RANLIB}" \
8896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8897 installcheck) \
8898 || exit 1
8901 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8902 maybe-installcheck-gnuserv:
8904 installcheck-gnuserv: \
8905 configure-gnuserv
8906 @[ -f ./gnuserv/Makefile ] || exit 0; \
8907 r=`${PWD}`; export r; \
8908 s=`cd $(srcdir); ${PWD}`; export s; \
8909 $(SET_LIB_PATH) \
8910 for flag in $(EXTRA_HOST_FLAGS); do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8912 done; \
8913 echo "Doing installcheck in gnuserv" ; \
8914 (cd gnuserv && \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8919 installcheck) \
8920 || exit 1
8923 .PHONY: maybe-installcheck-gprof installcheck-gprof
8924 maybe-installcheck-gprof:
8926 installcheck-gprof: \
8927 configure-gprof
8928 @[ -f ./gprof/Makefile ] || exit 0; \
8929 r=`${PWD}`; export r; \
8930 s=`cd $(srcdir); ${PWD}`; export s; \
8931 $(SET_LIB_PATH) \
8932 for flag in $(EXTRA_HOST_FLAGS); do \
8933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8934 done; \
8935 echo "Doing installcheck in gprof" ; \
8936 (cd gprof && \
8937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8939 "RANLIB=$${RANLIB}" \
8940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8941 installcheck) \
8942 || exit 1
8945 .PHONY: maybe-installcheck-gzip installcheck-gzip
8946 maybe-installcheck-gzip:
8948 installcheck-gzip: \
8949 configure-gzip
8950 @[ -f ./gzip/Makefile ] || exit 0; \
8951 r=`${PWD}`; export r; \
8952 s=`cd $(srcdir); ${PWD}`; export s; \
8953 $(SET_LIB_PATH) \
8954 for flag in $(EXTRA_HOST_FLAGS); do \
8955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8956 done; \
8957 echo "Doing installcheck in gzip" ; \
8958 (cd gzip && \
8959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8961 "RANLIB=$${RANLIB}" \
8962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8963 installcheck) \
8964 || exit 1
8967 .PHONY: maybe-installcheck-hello installcheck-hello
8968 maybe-installcheck-hello:
8970 installcheck-hello: \
8971 configure-hello
8972 @[ -f ./hello/Makefile ] || exit 0; \
8973 r=`${PWD}`; export r; \
8974 s=`cd $(srcdir); ${PWD}`; export s; \
8975 $(SET_LIB_PATH) \
8976 for flag in $(EXTRA_HOST_FLAGS); do \
8977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8978 done; \
8979 echo "Doing installcheck in hello" ; \
8980 (cd hello && \
8981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8983 "RANLIB=$${RANLIB}" \
8984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8985 installcheck) \
8986 || exit 1
8989 .PHONY: maybe-installcheck-indent installcheck-indent
8990 maybe-installcheck-indent:
8992 installcheck-indent: \
8993 configure-indent
8994 @[ -f ./indent/Makefile ] || exit 0; \
8995 r=`${PWD}`; export r; \
8996 s=`cd $(srcdir); ${PWD}`; export s; \
8997 $(SET_LIB_PATH) \
8998 for flag in $(EXTRA_HOST_FLAGS); do \
8999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9000 done; \
9001 echo "Doing installcheck in indent" ; \
9002 (cd indent && \
9003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9005 "RANLIB=$${RANLIB}" \
9006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9007 installcheck) \
9008 || exit 1
9011 .PHONY: maybe-installcheck-intl installcheck-intl
9012 maybe-installcheck-intl:
9014 installcheck-intl: \
9015 configure-intl
9016 @[ -f ./intl/Makefile ] || exit 0; \
9017 r=`${PWD}`; export r; \
9018 s=`cd $(srcdir); ${PWD}`; export s; \
9019 $(SET_LIB_PATH) \
9020 for flag in $(EXTRA_HOST_FLAGS); do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing installcheck in intl" ; \
9024 (cd intl && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 installcheck) \
9030 || exit 1
9033 .PHONY: maybe-installcheck-tcl installcheck-tcl
9034 maybe-installcheck-tcl:
9036 installcheck-tcl: \
9037 configure-tcl
9038 @[ -f ./tcl/Makefile ] || exit 0; \
9039 r=`${PWD}`; export r; \
9040 s=`cd $(srcdir); ${PWD}`; export s; \
9041 $(SET_LIB_PATH) \
9042 for flag in $(EXTRA_HOST_FLAGS); do \
9043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044 done; \
9045 echo "Doing installcheck in tcl" ; \
9046 (cd tcl && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049 "RANLIB=$${RANLIB}" \
9050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9051 installcheck) \
9052 || exit 1
9055 .PHONY: maybe-installcheck-itcl installcheck-itcl
9056 maybe-installcheck-itcl:
9058 installcheck-itcl: \
9059 configure-itcl
9060 @[ -f ./itcl/Makefile ] || exit 0; \
9061 r=`${PWD}`; export r; \
9062 s=`cd $(srcdir); ${PWD}`; export s; \
9063 $(SET_LIB_PATH) \
9064 for flag in $(EXTRA_HOST_FLAGS); do \
9065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9066 done; \
9067 echo "Doing installcheck in itcl" ; \
9068 (cd itcl && \
9069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9071 "RANLIB=$${RANLIB}" \
9072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9073 installcheck) \
9074 || exit 1
9077 .PHONY: maybe-installcheck-ld installcheck-ld
9078 maybe-installcheck-ld:
9080 installcheck-ld: \
9081 configure-ld
9082 @[ -f ./ld/Makefile ] || exit 0; \
9083 r=`${PWD}`; export r; \
9084 s=`cd $(srcdir); ${PWD}`; export s; \
9085 $(SET_LIB_PATH) \
9086 for flag in $(EXTRA_HOST_FLAGS); do \
9087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9088 done; \
9089 echo "Doing installcheck in ld" ; \
9090 (cd ld && \
9091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9093 "RANLIB=$${RANLIB}" \
9094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9095 installcheck) \
9096 || exit 1
9099 .PHONY: maybe-installcheck-libgui installcheck-libgui
9100 maybe-installcheck-libgui:
9102 installcheck-libgui: \
9103 configure-libgui
9104 @[ -f ./libgui/Makefile ] || exit 0; \
9105 r=`${PWD}`; export r; \
9106 s=`cd $(srcdir); ${PWD}`; export s; \
9107 $(SET_LIB_PATH) \
9108 for flag in $(EXTRA_HOST_FLAGS); do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 done; \
9111 echo "Doing installcheck in libgui" ; \
9112 (cd libgui && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9117 installcheck) \
9118 || exit 1
9121 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
9122 maybe-installcheck-libiberty:
9124 installcheck-libiberty: \
9125 configure-libiberty
9126 @[ -f ./libiberty/Makefile ] || exit 0; \
9127 r=`${PWD}`; export r; \
9128 s=`cd $(srcdir); ${PWD}`; export s; \
9129 $(SET_LIB_PATH) \
9130 for flag in $(EXTRA_HOST_FLAGS); do \
9131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132 done; \
9133 echo "Doing installcheck in libiberty" ; \
9134 (cd libiberty && \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9137 "RANLIB=$${RANLIB}" \
9138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9139 installcheck) \
9140 || exit 1
9143 .PHONY: maybe-installcheck-libtool installcheck-libtool
9144 maybe-installcheck-libtool:
9146 installcheck-libtool: \
9147 configure-libtool
9148 @[ -f ./libtool/Makefile ] || exit 0; \
9149 r=`${PWD}`; export r; \
9150 s=`cd $(srcdir); ${PWD}`; export s; \
9151 $(SET_LIB_PATH) \
9152 for flag in $(EXTRA_HOST_FLAGS); do \
9153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9154 done; \
9155 echo "Doing installcheck in libtool" ; \
9156 (cd libtool && \
9157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9159 "RANLIB=$${RANLIB}" \
9160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9161 installcheck) \
9162 || exit 1
9165 .PHONY: maybe-installcheck-m4 installcheck-m4
9166 maybe-installcheck-m4:
9168 installcheck-m4: \
9169 configure-m4
9170 @[ -f ./m4/Makefile ] || exit 0; \
9171 r=`${PWD}`; export r; \
9172 s=`cd $(srcdir); ${PWD}`; export s; \
9173 $(SET_LIB_PATH) \
9174 for flag in $(EXTRA_HOST_FLAGS); do \
9175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9176 done; \
9177 echo "Doing installcheck in m4" ; \
9178 (cd m4 && \
9179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9181 "RANLIB=$${RANLIB}" \
9182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9183 installcheck) \
9184 || exit 1
9187 .PHONY: maybe-installcheck-make installcheck-make
9188 maybe-installcheck-make:
9190 installcheck-make: \
9191 configure-make
9192 @[ -f ./make/Makefile ] || exit 0; \
9193 r=`${PWD}`; export r; \
9194 s=`cd $(srcdir); ${PWD}`; export s; \
9195 $(SET_LIB_PATH) \
9196 for flag in $(EXTRA_HOST_FLAGS); do \
9197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9198 done; \
9199 echo "Doing installcheck in make" ; \
9200 (cd make && \
9201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9203 "RANLIB=$${RANLIB}" \
9204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9205 installcheck) \
9206 || exit 1
9209 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
9210 maybe-installcheck-mmalloc:
9212 installcheck-mmalloc: \
9213 configure-mmalloc
9214 @[ -f ./mmalloc/Makefile ] || exit 0; \
9215 r=`${PWD}`; export r; \
9216 s=`cd $(srcdir); ${PWD}`; export s; \
9217 $(SET_LIB_PATH) \
9218 for flag in $(EXTRA_HOST_FLAGS); do \
9219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9220 done; \
9221 echo "Doing installcheck in mmalloc" ; \
9222 (cd mmalloc && \
9223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9225 "RANLIB=$${RANLIB}" \
9226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9227 installcheck) \
9228 || exit 1
9231 .PHONY: maybe-installcheck-patch installcheck-patch
9232 maybe-installcheck-patch:
9234 installcheck-patch: \
9235 configure-patch
9236 @[ -f ./patch/Makefile ] || exit 0; \
9237 r=`${PWD}`; export r; \
9238 s=`cd $(srcdir); ${PWD}`; export s; \
9239 $(SET_LIB_PATH) \
9240 for flag in $(EXTRA_HOST_FLAGS); do \
9241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9242 done; \
9243 echo "Doing installcheck in patch" ; \
9244 (cd patch && \
9245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9247 "RANLIB=$${RANLIB}" \
9248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9249 installcheck) \
9250 || exit 1
9253 .PHONY: maybe-installcheck-perl installcheck-perl
9254 maybe-installcheck-perl:
9256 installcheck-perl: \
9257 configure-perl
9258 @[ -f ./perl/Makefile ] || exit 0; \
9259 r=`${PWD}`; export r; \
9260 s=`cd $(srcdir); ${PWD}`; export s; \
9261 $(SET_LIB_PATH) \
9262 for flag in $(EXTRA_HOST_FLAGS); do \
9263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9264 done; \
9265 echo "Doing installcheck in perl" ; \
9266 (cd perl && \
9267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9269 "RANLIB=$${RANLIB}" \
9270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9271 installcheck) \
9272 || exit 1
9275 .PHONY: maybe-installcheck-prms installcheck-prms
9276 maybe-installcheck-prms:
9278 installcheck-prms: \
9279 configure-prms
9280 @[ -f ./prms/Makefile ] || exit 0; \
9281 r=`${PWD}`; export r; \
9282 s=`cd $(srcdir); ${PWD}`; export s; \
9283 $(SET_LIB_PATH) \
9284 for flag in $(EXTRA_HOST_FLAGS); do \
9285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9286 done; \
9287 echo "Doing installcheck in prms" ; \
9288 (cd prms && \
9289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9291 "RANLIB=$${RANLIB}" \
9292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9293 installcheck) \
9294 || exit 1
9297 .PHONY: maybe-installcheck-rcs installcheck-rcs
9298 maybe-installcheck-rcs:
9300 installcheck-rcs: \
9301 configure-rcs
9302 @[ -f ./rcs/Makefile ] || exit 0; \
9303 r=`${PWD}`; export r; \
9304 s=`cd $(srcdir); ${PWD}`; export s; \
9305 $(SET_LIB_PATH) \
9306 for flag in $(EXTRA_HOST_FLAGS); do \
9307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9308 done; \
9309 echo "Doing installcheck in rcs" ; \
9310 (cd rcs && \
9311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9313 "RANLIB=$${RANLIB}" \
9314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9315 installcheck) \
9316 || exit 1
9319 .PHONY: maybe-installcheck-readline installcheck-readline
9320 maybe-installcheck-readline:
9322 installcheck-readline: \
9323 configure-readline
9324 @[ -f ./readline/Makefile ] || exit 0; \
9325 r=`${PWD}`; export r; \
9326 s=`cd $(srcdir); ${PWD}`; export s; \
9327 $(SET_LIB_PATH) \
9328 for flag in $(EXTRA_HOST_FLAGS); do \
9329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9330 done; \
9331 echo "Doing installcheck in readline" ; \
9332 (cd readline && \
9333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9335 "RANLIB=$${RANLIB}" \
9336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9337 installcheck) \
9338 || exit 1
9341 .PHONY: maybe-installcheck-release installcheck-release
9342 maybe-installcheck-release:
9344 installcheck-release: \
9345 configure-release
9346 @[ -f ./release/Makefile ] || exit 0; \
9347 r=`${PWD}`; export r; \
9348 s=`cd $(srcdir); ${PWD}`; export s; \
9349 $(SET_LIB_PATH) \
9350 for flag in $(EXTRA_HOST_FLAGS); do \
9351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9352 done; \
9353 echo "Doing installcheck in release" ; \
9354 (cd release && \
9355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9357 "RANLIB=$${RANLIB}" \
9358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9359 installcheck) \
9360 || exit 1
9363 .PHONY: maybe-installcheck-recode installcheck-recode
9364 maybe-installcheck-recode:
9366 installcheck-recode: \
9367 configure-recode
9368 @[ -f ./recode/Makefile ] || exit 0; \
9369 r=`${PWD}`; export r; \
9370 s=`cd $(srcdir); ${PWD}`; export s; \
9371 $(SET_LIB_PATH) \
9372 for flag in $(EXTRA_HOST_FLAGS); do \
9373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9374 done; \
9375 echo "Doing installcheck in recode" ; \
9376 (cd recode && \
9377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9379 "RANLIB=$${RANLIB}" \
9380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9381 installcheck) \
9382 || exit 1
9385 .PHONY: maybe-installcheck-sed installcheck-sed
9386 maybe-installcheck-sed:
9388 installcheck-sed: \
9389 configure-sed
9390 @[ -f ./sed/Makefile ] || exit 0; \
9391 r=`${PWD}`; export r; \
9392 s=`cd $(srcdir); ${PWD}`; export s; \
9393 $(SET_LIB_PATH) \
9394 for flag in $(EXTRA_HOST_FLAGS); do \
9395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9396 done; \
9397 echo "Doing installcheck in sed" ; \
9398 (cd sed && \
9399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9401 "RANLIB=$${RANLIB}" \
9402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9403 installcheck) \
9404 || exit 1
9407 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
9408 maybe-installcheck-send-pr:
9410 installcheck-send-pr: \
9411 configure-send-pr
9412 @[ -f ./send-pr/Makefile ] || exit 0; \
9413 r=`${PWD}`; export r; \
9414 s=`cd $(srcdir); ${PWD}`; export s; \
9415 $(SET_LIB_PATH) \
9416 for flag in $(EXTRA_HOST_FLAGS); do \
9417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9418 done; \
9419 echo "Doing installcheck in send-pr" ; \
9420 (cd send-pr && \
9421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9423 "RANLIB=$${RANLIB}" \
9424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9425 installcheck) \
9426 || exit 1
9429 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
9430 maybe-installcheck-shellutils:
9432 installcheck-shellutils: \
9433 configure-shellutils
9434 @[ -f ./shellutils/Makefile ] || exit 0; \
9435 r=`${PWD}`; export r; \
9436 s=`cd $(srcdir); ${PWD}`; export s; \
9437 $(SET_LIB_PATH) \
9438 for flag in $(EXTRA_HOST_FLAGS); do \
9439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9440 done; \
9441 echo "Doing installcheck in shellutils" ; \
9442 (cd shellutils && \
9443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9445 "RANLIB=$${RANLIB}" \
9446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9447 installcheck) \
9448 || exit 1
9451 .PHONY: maybe-installcheck-sid installcheck-sid
9452 maybe-installcheck-sid:
9454 installcheck-sid: \
9455 configure-sid
9456 @[ -f ./sid/Makefile ] || exit 0; \
9457 r=`${PWD}`; export r; \
9458 s=`cd $(srcdir); ${PWD}`; export s; \
9459 $(SET_LIB_PATH) \
9460 for flag in $(EXTRA_HOST_FLAGS); do \
9461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9462 done; \
9463 echo "Doing installcheck in sid" ; \
9464 (cd sid && \
9465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9467 "RANLIB=$${RANLIB}" \
9468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9469 installcheck) \
9470 || exit 1
9473 .PHONY: maybe-installcheck-sim installcheck-sim
9474 maybe-installcheck-sim:
9476 installcheck-sim: \
9477 configure-sim
9478 @[ -f ./sim/Makefile ] || exit 0; \
9479 r=`${PWD}`; export r; \
9480 s=`cd $(srcdir); ${PWD}`; export s; \
9481 $(SET_LIB_PATH) \
9482 for flag in $(EXTRA_HOST_FLAGS); do \
9483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9484 done; \
9485 echo "Doing installcheck in sim" ; \
9486 (cd sim && \
9487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9489 "RANLIB=$${RANLIB}" \
9490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9491 installcheck) \
9492 || exit 1
9495 .PHONY: maybe-installcheck-tar installcheck-tar
9496 maybe-installcheck-tar:
9498 installcheck-tar: \
9499 configure-tar
9500 @[ -f ./tar/Makefile ] || exit 0; \
9501 r=`${PWD}`; export r; \
9502 s=`cd $(srcdir); ${PWD}`; export s; \
9503 $(SET_LIB_PATH) \
9504 for flag in $(EXTRA_HOST_FLAGS); do \
9505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9506 done; \
9507 echo "Doing installcheck in tar" ; \
9508 (cd tar && \
9509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9511 "RANLIB=$${RANLIB}" \
9512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9513 installcheck) \
9514 || exit 1
9517 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
9518 maybe-installcheck-texinfo:
9520 installcheck-texinfo: \
9521 configure-texinfo
9522 @[ -f ./texinfo/Makefile ] || exit 0; \
9523 r=`${PWD}`; export r; \
9524 s=`cd $(srcdir); ${PWD}`; export s; \
9525 $(SET_LIB_PATH) \
9526 for flag in $(EXTRA_HOST_FLAGS); do \
9527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9528 done; \
9529 echo "Doing installcheck in texinfo" ; \
9530 (cd texinfo && \
9531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9533 "RANLIB=$${RANLIB}" \
9534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9535 installcheck) \
9536 || exit 1
9539 .PHONY: maybe-installcheck-textutils installcheck-textutils
9540 maybe-installcheck-textutils:
9542 installcheck-textutils: \
9543 configure-textutils
9544 @[ -f ./textutils/Makefile ] || exit 0; \
9545 r=`${PWD}`; export r; \
9546 s=`cd $(srcdir); ${PWD}`; export s; \
9547 $(SET_LIB_PATH) \
9548 for flag in $(EXTRA_HOST_FLAGS); do \
9549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9550 done; \
9551 echo "Doing installcheck in textutils" ; \
9552 (cd textutils && \
9553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9555 "RANLIB=$${RANLIB}" \
9556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9557 installcheck) \
9558 || exit 1
9561 .PHONY: maybe-installcheck-time installcheck-time
9562 maybe-installcheck-time:
9564 installcheck-time: \
9565 configure-time
9566 @[ -f ./time/Makefile ] || exit 0; \
9567 r=`${PWD}`; export r; \
9568 s=`cd $(srcdir); ${PWD}`; export s; \
9569 $(SET_LIB_PATH) \
9570 for flag in $(EXTRA_HOST_FLAGS); do \
9571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 done; \
9573 echo "Doing installcheck in time" ; \
9574 (cd time && \
9575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9577 "RANLIB=$${RANLIB}" \
9578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9579 installcheck) \
9580 || exit 1
9583 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
9584 maybe-installcheck-uudecode:
9586 installcheck-uudecode: \
9587 configure-uudecode
9588 @[ -f ./uudecode/Makefile ] || exit 0; \
9589 r=`${PWD}`; export r; \
9590 s=`cd $(srcdir); ${PWD}`; export s; \
9591 $(SET_LIB_PATH) \
9592 for flag in $(EXTRA_HOST_FLAGS); do \
9593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9594 done; \
9595 echo "Doing installcheck in uudecode" ; \
9596 (cd uudecode && \
9597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9599 "RANLIB=$${RANLIB}" \
9600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9601 installcheck) \
9602 || exit 1
9605 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
9606 maybe-installcheck-wdiff:
9608 installcheck-wdiff: \
9609 configure-wdiff
9610 @[ -f ./wdiff/Makefile ] || exit 0; \
9611 r=`${PWD}`; export r; \
9612 s=`cd $(srcdir); ${PWD}`; export s; \
9613 $(SET_LIB_PATH) \
9614 for flag in $(EXTRA_HOST_FLAGS); do \
9615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9616 done; \
9617 echo "Doing installcheck in wdiff" ; \
9618 (cd wdiff && \
9619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9621 "RANLIB=$${RANLIB}" \
9622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9623 installcheck) \
9624 || exit 1
9627 .PHONY: maybe-installcheck-zip installcheck-zip
9628 maybe-installcheck-zip:
9630 installcheck-zip: \
9631 configure-zip
9632 @[ -f ./zip/Makefile ] || exit 0; \
9633 r=`${PWD}`; export r; \
9634 s=`cd $(srcdir); ${PWD}`; export s; \
9635 $(SET_LIB_PATH) \
9636 for flag in $(EXTRA_HOST_FLAGS); do \
9637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9638 done; \
9639 echo "Doing installcheck in zip" ; \
9640 (cd zip && \
9641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9643 "RANLIB=$${RANLIB}" \
9644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9645 installcheck) \
9646 || exit 1
9649 .PHONY: maybe-installcheck-zlib installcheck-zlib
9650 maybe-installcheck-zlib:
9652 installcheck-zlib: \
9653 configure-zlib
9654 @[ -f ./zlib/Makefile ] || exit 0; \
9655 r=`${PWD}`; export r; \
9656 s=`cd $(srcdir); ${PWD}`; export s; \
9657 $(SET_LIB_PATH) \
9658 for flag in $(EXTRA_HOST_FLAGS); do \
9659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9660 done; \
9661 echo "Doing installcheck in zlib" ; \
9662 (cd zlib && \
9663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9665 "RANLIB=$${RANLIB}" \
9666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9667 installcheck) \
9668 || exit 1
9671 .PHONY: maybe-installcheck-gdb installcheck-gdb
9672 maybe-installcheck-gdb:
9674 installcheck-gdb: \
9675 configure-gdb
9676 @[ -f ./gdb/Makefile ] || exit 0; \
9677 r=`${PWD}`; export r; \
9678 s=`cd $(srcdir); ${PWD}`; export s; \
9679 $(SET_LIB_PATH) \
9680 for flag in $(EXTRA_HOST_FLAGS); do \
9681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9682 done; \
9683 echo "Doing installcheck in gdb" ; \
9684 (cd gdb && \
9685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9687 "RANLIB=$${RANLIB}" \
9688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9689 installcheck) \
9690 || exit 1
9693 .PHONY: maybe-installcheck-expect installcheck-expect
9694 maybe-installcheck-expect:
9696 installcheck-expect: \
9697 configure-expect
9698 @[ -f ./expect/Makefile ] || exit 0; \
9699 r=`${PWD}`; export r; \
9700 s=`cd $(srcdir); ${PWD}`; export s; \
9701 $(SET_LIB_PATH) \
9702 for flag in $(EXTRA_HOST_FLAGS); do \
9703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9704 done; \
9705 echo "Doing installcheck in expect" ; \
9706 (cd expect && \
9707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9709 "RANLIB=$${RANLIB}" \
9710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9711 installcheck) \
9712 || exit 1
9715 .PHONY: maybe-installcheck-guile installcheck-guile
9716 maybe-installcheck-guile:
9718 installcheck-guile: \
9719 configure-guile
9720 @[ -f ./guile/Makefile ] || exit 0; \
9721 r=`${PWD}`; export r; \
9722 s=`cd $(srcdir); ${PWD}`; export s; \
9723 $(SET_LIB_PATH) \
9724 for flag in $(EXTRA_HOST_FLAGS); do \
9725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9726 done; \
9727 echo "Doing installcheck in guile" ; \
9728 (cd guile && \
9729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9731 "RANLIB=$${RANLIB}" \
9732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9733 installcheck) \
9734 || exit 1
9737 .PHONY: maybe-installcheck-tk installcheck-tk
9738 maybe-installcheck-tk:
9740 installcheck-tk: \
9741 configure-tk
9742 @[ -f ./tk/Makefile ] || exit 0; \
9743 r=`${PWD}`; export r; \
9744 s=`cd $(srcdir); ${PWD}`; export s; \
9745 $(SET_LIB_PATH) \
9746 for flag in $(EXTRA_HOST_FLAGS); do \
9747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9748 done; \
9749 echo "Doing installcheck in tk" ; \
9750 (cd tk && \
9751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9753 "RANLIB=$${RANLIB}" \
9754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9755 installcheck) \
9756 || exit 1
9759 .PHONY: maybe-installcheck-tix installcheck-tix
9760 maybe-installcheck-tix:
9762 installcheck-tix: \
9763 configure-tix
9764 @[ -f ./tix/Makefile ] || exit 0; \
9765 r=`${PWD}`; export r; \
9766 s=`cd $(srcdir); ${PWD}`; export s; \
9767 $(SET_LIB_PATH) \
9768 for flag in $(EXTRA_HOST_FLAGS); do \
9769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9770 done; \
9771 echo "Doing installcheck in tix" ; \
9772 (cd tix && \
9773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9775 "RANLIB=$${RANLIB}" \
9776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9777 installcheck) \
9778 || exit 1
9781 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
9782 maybe-installcheck-libtermcap:
9784 installcheck-libtermcap: \
9785 configure-libtermcap
9786 @[ -f ./libtermcap/Makefile ] || exit 0; \
9787 r=`${PWD}`; export r; \
9788 s=`cd $(srcdir); ${PWD}`; export s; \
9789 $(SET_LIB_PATH) \
9790 for flag in $(EXTRA_HOST_FLAGS); do \
9791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9792 done; \
9793 echo "Doing installcheck in libtermcap" ; \
9794 (cd libtermcap && \
9795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9797 "RANLIB=$${RANLIB}" \
9798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9799 installcheck) \
9800 || exit 1
9803 .PHONY: maybe-installcheck-utils installcheck-utils
9804 maybe-installcheck-utils:
9806 installcheck-utils: \
9807 configure-utils
9808 @[ -f ./utils/Makefile ] || exit 0; \
9809 r=`${PWD}`; export r; \
9810 s=`cd $(srcdir); ${PWD}`; export s; \
9811 $(SET_LIB_PATH) \
9812 for flag in $(EXTRA_HOST_FLAGS); do \
9813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9814 done; \
9815 echo "Doing installcheck in utils" ; \
9816 (cd utils && \
9817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9819 "RANLIB=$${RANLIB}" \
9820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9821 installcheck) \
9822 || exit 1
9826 # Target modules.
9828 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
9829 maybe-installcheck-target-libstdc++-v3:
9831 installcheck-target-libstdc++-v3: \
9832 configure-target-libstdc++-v3
9833 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
9834 r=`${PWD}`; export r; \
9835 s=`cd $(srcdir); ${PWD}`; export s; \
9836 $(SET_LIB_PATH) \
9837 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
9838 for flag in $(EXTRA_TARGET_FLAGS); do \
9839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9840 done; \
9841 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9844 "RANLIB=$${RANLIB}" \
9845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9846 installcheck) \
9847 || exit 1
9850 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
9851 maybe-installcheck-target-newlib:
9853 installcheck-target-newlib: \
9854 configure-target-newlib
9855 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
9856 r=`${PWD}`; export r; \
9857 s=`cd $(srcdir); ${PWD}`; export s; \
9858 $(SET_LIB_PATH) \
9859 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
9860 for flag in $(EXTRA_TARGET_FLAGS); do \
9861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9862 done; \
9863 (cd $(TARGET_SUBDIR)/newlib && \
9864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9866 "RANLIB=$${RANLIB}" \
9867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9868 installcheck) \
9869 || exit 1
9872 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
9873 maybe-installcheck-target-libf2c:
9875 installcheck-target-libf2c: \
9876 configure-target-libf2c
9877 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
9878 r=`${PWD}`; export r; \
9879 s=`cd $(srcdir); ${PWD}`; export s; \
9880 $(SET_LIB_PATH) \
9881 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
9882 for flag in $(EXTRA_TARGET_FLAGS); do \
9883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9884 done; \
9885 (cd $(TARGET_SUBDIR)/libf2c && \
9886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9888 "RANLIB=$${RANLIB}" \
9889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9890 installcheck) \
9891 || exit 1
9894 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
9895 maybe-installcheck-target-libobjc:
9897 installcheck-target-libobjc: \
9898 configure-target-libobjc
9899 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
9900 r=`${PWD}`; export r; \
9901 s=`cd $(srcdir); ${PWD}`; export s; \
9902 $(SET_LIB_PATH) \
9903 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
9904 for flag in $(EXTRA_TARGET_FLAGS); do \
9905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9906 done; \
9907 (cd $(TARGET_SUBDIR)/libobjc && \
9908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9910 "RANLIB=$${RANLIB}" \
9911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9912 installcheck) \
9913 || exit 1
9916 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
9917 maybe-installcheck-target-libtermcap:
9919 installcheck-target-libtermcap: \
9920 configure-target-libtermcap
9921 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
9922 r=`${PWD}`; export r; \
9923 s=`cd $(srcdir); ${PWD}`; export s; \
9924 $(SET_LIB_PATH) \
9925 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
9926 for flag in $(EXTRA_TARGET_FLAGS); do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9928 done; \
9929 (cd $(TARGET_SUBDIR)/libtermcap && \
9930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9932 "RANLIB=$${RANLIB}" \
9933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9934 installcheck) \
9935 || exit 1
9938 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
9939 maybe-installcheck-target-winsup:
9941 installcheck-target-winsup: \
9942 configure-target-winsup
9943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
9944 r=`${PWD}`; export r; \
9945 s=`cd $(srcdir); ${PWD}`; export s; \
9946 $(SET_LIB_PATH) \
9947 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
9948 for flag in $(EXTRA_TARGET_FLAGS); do \
9949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9950 done; \
9951 (cd $(TARGET_SUBDIR)/winsup && \
9952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9954 "RANLIB=$${RANLIB}" \
9955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9956 installcheck) \
9957 || exit 1
9960 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
9961 maybe-installcheck-target-libgloss:
9963 installcheck-target-libgloss: \
9964 configure-target-libgloss
9965 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
9966 r=`${PWD}`; export r; \
9967 s=`cd $(srcdir); ${PWD}`; export s; \
9968 $(SET_LIB_PATH) \
9969 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
9970 for flag in $(EXTRA_TARGET_FLAGS); do \
9971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9972 done; \
9973 (cd $(TARGET_SUBDIR)/libgloss && \
9974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9976 "RANLIB=$${RANLIB}" \
9977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9978 installcheck) \
9979 || exit 1
9982 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
9983 maybe-installcheck-target-libiberty:
9985 installcheck-target-libiberty: \
9986 configure-target-libiberty
9987 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
9988 r=`${PWD}`; export r; \
9989 s=`cd $(srcdir); ${PWD}`; export s; \
9990 $(SET_LIB_PATH) \
9991 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
9992 for flag in $(EXTRA_TARGET_FLAGS); do \
9993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 done; \
9995 (cd $(TARGET_SUBDIR)/libiberty && \
9996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9998 "RANLIB=$${RANLIB}" \
9999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10000 installcheck) \
10001 || exit 1
10004 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10005 maybe-installcheck-target-gperf:
10007 installcheck-target-gperf: \
10008 configure-target-gperf
10009 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
10010 r=`${PWD}`; export r; \
10011 s=`cd $(srcdir); ${PWD}`; export s; \
10012 $(SET_LIB_PATH) \
10013 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
10014 for flag in $(EXTRA_TARGET_FLAGS); do \
10015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10016 done; \
10017 (cd $(TARGET_SUBDIR)/gperf && \
10018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10020 "RANLIB=$${RANLIB}" \
10021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10022 installcheck) \
10023 || exit 1
10026 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
10027 maybe-installcheck-target-examples:
10029 installcheck-target-examples: \
10030 configure-target-examples
10031 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
10032 r=`${PWD}`; export r; \
10033 s=`cd $(srcdir); ${PWD}`; export s; \
10034 $(SET_LIB_PATH) \
10035 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
10036 for flag in $(EXTRA_TARGET_FLAGS); do \
10037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10038 done; \
10039 (cd $(TARGET_SUBDIR)/examples && \
10040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10042 "RANLIB=$${RANLIB}" \
10043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10044 installcheck) \
10045 || exit 1
10048 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
10049 maybe-installcheck-target-libffi:
10051 installcheck-target-libffi: \
10052 configure-target-libffi
10053 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
10054 r=`${PWD}`; export r; \
10055 s=`cd $(srcdir); ${PWD}`; export s; \
10056 $(SET_LIB_PATH) \
10057 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
10058 for flag in $(EXTRA_TARGET_FLAGS); do \
10059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10060 done; \
10061 (cd $(TARGET_SUBDIR)/libffi && \
10062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10064 "RANLIB=$${RANLIB}" \
10065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10066 installcheck) \
10067 || exit 1
10070 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
10071 maybe-installcheck-target-libjava:
10073 installcheck-target-libjava: \
10074 configure-target-libjava
10075 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
10076 r=`${PWD}`; export r; \
10077 s=`cd $(srcdir); ${PWD}`; export s; \
10078 $(SET_LIB_PATH) \
10079 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
10080 for flag in $(EXTRA_TARGET_FLAGS); do \
10081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10082 done; \
10083 (cd $(TARGET_SUBDIR)/libjava && \
10084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10086 "RANLIB=$${RANLIB}" \
10087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10088 installcheck) \
10089 || exit 1
10092 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
10093 maybe-installcheck-target-zlib:
10095 installcheck-target-zlib: \
10096 configure-target-zlib
10097 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
10098 r=`${PWD}`; export r; \
10099 s=`cd $(srcdir); ${PWD}`; export s; \
10100 $(SET_LIB_PATH) \
10101 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
10102 for flag in $(EXTRA_TARGET_FLAGS); do \
10103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10104 done; \
10105 (cd $(TARGET_SUBDIR)/zlib && \
10106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10108 "RANLIB=$${RANLIB}" \
10109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10110 installcheck) \
10111 || exit 1
10114 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
10115 maybe-installcheck-target-boehm-gc:
10117 installcheck-target-boehm-gc: \
10118 configure-target-boehm-gc
10119 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
10120 r=`${PWD}`; export r; \
10121 s=`cd $(srcdir); ${PWD}`; export s; \
10122 $(SET_LIB_PATH) \
10123 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
10124 for flag in $(EXTRA_TARGET_FLAGS); do \
10125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10126 done; \
10127 (cd $(TARGET_SUBDIR)/boehm-gc && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10132 installcheck) \
10133 || exit 1
10136 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
10137 maybe-installcheck-target-qthreads:
10139 installcheck-target-qthreads: \
10140 configure-target-qthreads
10141 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
10142 r=`${PWD}`; export r; \
10143 s=`cd $(srcdir); ${PWD}`; export s; \
10144 $(SET_LIB_PATH) \
10145 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
10146 for flag in $(EXTRA_TARGET_FLAGS); do \
10147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10148 done; \
10149 (cd $(TARGET_SUBDIR)/qthreads && \
10150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10152 "RANLIB=$${RANLIB}" \
10153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10154 installcheck) \
10155 || exit 1
10158 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
10159 maybe-installcheck-target-rda:
10161 installcheck-target-rda: \
10162 configure-target-rda
10163 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
10164 r=`${PWD}`; export r; \
10165 s=`cd $(srcdir); ${PWD}`; export s; \
10166 $(SET_LIB_PATH) \
10167 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
10168 for flag in $(EXTRA_TARGET_FLAGS); do \
10169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10170 done; \
10171 (cd $(TARGET_SUBDIR)/rda && \
10172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10174 "RANLIB=$${RANLIB}" \
10175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10176 installcheck) \
10177 || exit 1
10181 .PHONY: do-mostlyclean
10182 do-mostlyclean: mostlyclean-host mostlyclean-target
10184 .PHONY: mostlyclean-host
10185 mostlyclean-host: maybe-mostlyclean-gcc \
10186 maybe-mostlyclean-ash \
10187 maybe-mostlyclean-autoconf \
10188 maybe-mostlyclean-automake \
10189 maybe-mostlyclean-bash \
10190 maybe-mostlyclean-bfd \
10191 maybe-mostlyclean-opcodes \
10192 maybe-mostlyclean-binutils \
10193 maybe-mostlyclean-bison \
10194 maybe-mostlyclean-byacc \
10195 maybe-mostlyclean-bzip2 \
10196 maybe-mostlyclean-dejagnu \
10197 maybe-mostlyclean-diff \
10198 maybe-mostlyclean-dosutils \
10199 maybe-mostlyclean-etc \
10200 maybe-mostlyclean-fastjar \
10201 maybe-mostlyclean-fileutils \
10202 maybe-mostlyclean-findutils \
10203 maybe-mostlyclean-find \
10204 maybe-mostlyclean-flex \
10205 maybe-mostlyclean-gas \
10206 maybe-mostlyclean-gawk \
10207 maybe-mostlyclean-gettext \
10208 maybe-mostlyclean-gnuserv \
10209 maybe-mostlyclean-gprof \
10210 maybe-mostlyclean-gzip \
10211 maybe-mostlyclean-hello \
10212 maybe-mostlyclean-indent \
10213 maybe-mostlyclean-intl \
10214 maybe-mostlyclean-tcl \
10215 maybe-mostlyclean-itcl \
10216 maybe-mostlyclean-ld \
10217 maybe-mostlyclean-libgui \
10218 maybe-mostlyclean-libiberty \
10219 maybe-mostlyclean-libtool \
10220 maybe-mostlyclean-m4 \
10221 maybe-mostlyclean-make \
10222 maybe-mostlyclean-mmalloc \
10223 maybe-mostlyclean-patch \
10224 maybe-mostlyclean-perl \
10225 maybe-mostlyclean-prms \
10226 maybe-mostlyclean-rcs \
10227 maybe-mostlyclean-readline \
10228 maybe-mostlyclean-release \
10229 maybe-mostlyclean-recode \
10230 maybe-mostlyclean-sed \
10231 maybe-mostlyclean-send-pr \
10232 maybe-mostlyclean-shellutils \
10233 maybe-mostlyclean-sid \
10234 maybe-mostlyclean-sim \
10235 maybe-mostlyclean-tar \
10236 maybe-mostlyclean-texinfo \
10237 maybe-mostlyclean-textutils \
10238 maybe-mostlyclean-time \
10239 maybe-mostlyclean-uudecode \
10240 maybe-mostlyclean-wdiff \
10241 maybe-mostlyclean-zip \
10242 maybe-mostlyclean-zlib \
10243 maybe-mostlyclean-gdb \
10244 maybe-mostlyclean-expect \
10245 maybe-mostlyclean-guile \
10246 maybe-mostlyclean-tk \
10247 maybe-mostlyclean-tix \
10248 maybe-mostlyclean-libtermcap \
10249 maybe-mostlyclean-utils
10251 .PHONY: mostlyclean-target
10252 mostlyclean-target: \
10253 maybe-mostlyclean-target-libstdc++-v3 \
10254 maybe-mostlyclean-target-newlib \
10255 maybe-mostlyclean-target-libf2c \
10256 maybe-mostlyclean-target-libobjc \
10257 maybe-mostlyclean-target-libtermcap \
10258 maybe-mostlyclean-target-winsup \
10259 maybe-mostlyclean-target-libgloss \
10260 maybe-mostlyclean-target-libiberty \
10261 maybe-mostlyclean-target-gperf \
10262 maybe-mostlyclean-target-examples \
10263 maybe-mostlyclean-target-libffi \
10264 maybe-mostlyclean-target-libjava \
10265 maybe-mostlyclean-target-zlib \
10266 maybe-mostlyclean-target-boehm-gc \
10267 maybe-mostlyclean-target-qthreads \
10268 maybe-mostlyclean-target-rda
10270 # GCC, the eternal special case
10271 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10272 maybe-mostlyclean-gcc:
10273 mostlyclean-gcc:
10274 @[ -f ./gcc/Makefile ] || exit 0; \
10275 r=`${PWD}`; export r; \
10276 s=`cd $(srcdir); ${PWD}`; export s; \
10277 $(SET_LIB_PATH) \
10278 for flag in $(EXTRA_GCC_FLAGS); do \
10279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10280 done; \
10281 echo "Doing mostlyclean in gcc" ; \
10282 (cd gcc && \
10283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10285 "RANLIB=$${RANLIB}" \
10286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10287 mostlyclean) \
10288 || exit 1
10290 # Host modules.
10292 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
10293 maybe-mostlyclean-ash:
10295 mostlyclean-ash:
10296 @[ -f ./ash/Makefile ] || exit 0; \
10297 r=`${PWD}`; export r; \
10298 s=`cd $(srcdir); ${PWD}`; export s; \
10299 $(SET_LIB_PATH) \
10300 for flag in $(EXTRA_HOST_FLAGS); do \
10301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10302 done; \
10303 echo "Doing mostlyclean in ash" ; \
10304 (cd ash && \
10305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10307 "RANLIB=$${RANLIB}" \
10308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10309 mostlyclean) \
10310 || exit 1
10313 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
10314 maybe-mostlyclean-autoconf:
10316 mostlyclean-autoconf:
10317 @[ -f ./autoconf/Makefile ] || exit 0; \
10318 r=`${PWD}`; export r; \
10319 s=`cd $(srcdir); ${PWD}`; 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 mostlyclean in autoconf" ; \
10325 (cd autoconf && \
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 mostlyclean) \
10331 || exit 1
10334 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
10335 maybe-mostlyclean-automake:
10337 mostlyclean-automake:
10338 @[ -f ./automake/Makefile ] || exit 0; \
10339 r=`${PWD}`; export r; \
10340 s=`cd $(srcdir); ${PWD}`; export s; \
10341 $(SET_LIB_PATH) \
10342 for flag in $(EXTRA_HOST_FLAGS); do \
10343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10344 done; \
10345 echo "Doing mostlyclean in automake" ; \
10346 (cd automake && \
10347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10349 "RANLIB=$${RANLIB}" \
10350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10351 mostlyclean) \
10352 || exit 1
10355 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
10356 maybe-mostlyclean-bash:
10358 mostlyclean-bash:
10359 @[ -f ./bash/Makefile ] || exit 0; \
10360 r=`${PWD}`; export r; \
10361 s=`cd $(srcdir); ${PWD}`; export s; \
10362 $(SET_LIB_PATH) \
10363 for flag in $(EXTRA_HOST_FLAGS); do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing mostlyclean in bash" ; \
10367 (cd bash && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10372 mostlyclean) \
10373 || exit 1
10376 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
10377 maybe-mostlyclean-bfd:
10379 mostlyclean-bfd:
10380 @[ -f ./bfd/Makefile ] || exit 0; \
10381 r=`${PWD}`; export r; \
10382 s=`cd $(srcdir); ${PWD}`; export s; \
10383 $(SET_LIB_PATH) \
10384 for flag in $(EXTRA_HOST_FLAGS); do \
10385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10386 done; \
10387 echo "Doing mostlyclean in bfd" ; \
10388 (cd bfd && \
10389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10391 "RANLIB=$${RANLIB}" \
10392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10393 mostlyclean) \
10394 || exit 1
10397 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
10398 maybe-mostlyclean-opcodes:
10400 mostlyclean-opcodes:
10401 @[ -f ./opcodes/Makefile ] || exit 0; \
10402 r=`${PWD}`; export r; \
10403 s=`cd $(srcdir); ${PWD}`; export s; \
10404 $(SET_LIB_PATH) \
10405 for flag in $(EXTRA_HOST_FLAGS); do \
10406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10407 done; \
10408 echo "Doing mostlyclean in opcodes" ; \
10409 (cd opcodes && \
10410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10412 "RANLIB=$${RANLIB}" \
10413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10414 mostlyclean) \
10415 || exit 1
10418 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
10419 maybe-mostlyclean-binutils:
10421 mostlyclean-binutils:
10422 @[ -f ./binutils/Makefile ] || exit 0; \
10423 r=`${PWD}`; export r; \
10424 s=`cd $(srcdir); ${PWD}`; export s; \
10425 $(SET_LIB_PATH) \
10426 for flag in $(EXTRA_HOST_FLAGS); do \
10427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10428 done; \
10429 echo "Doing mostlyclean in binutils" ; \
10430 (cd binutils && \
10431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10433 "RANLIB=$${RANLIB}" \
10434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10435 mostlyclean) \
10436 || exit 1
10439 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
10440 maybe-mostlyclean-bison:
10442 mostlyclean-bison:
10443 @[ -f ./bison/Makefile ] || exit 0; \
10444 r=`${PWD}`; export r; \
10445 s=`cd $(srcdir); ${PWD}`; export s; \
10446 $(SET_LIB_PATH) \
10447 for flag in $(EXTRA_HOST_FLAGS); do \
10448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10449 done; \
10450 echo "Doing mostlyclean in bison" ; \
10451 (cd bison && \
10452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10454 "RANLIB=$${RANLIB}" \
10455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10456 mostlyclean) \
10457 || exit 1
10460 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
10461 maybe-mostlyclean-byacc:
10463 mostlyclean-byacc:
10464 @[ -f ./byacc/Makefile ] || exit 0; \
10465 r=`${PWD}`; export r; \
10466 s=`cd $(srcdir); ${PWD}`; export s; \
10467 $(SET_LIB_PATH) \
10468 for flag in $(EXTRA_HOST_FLAGS); do \
10469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10470 done; \
10471 echo "Doing mostlyclean in byacc" ; \
10472 (cd byacc && \
10473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10475 "RANLIB=$${RANLIB}" \
10476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10477 mostlyclean) \
10478 || exit 1
10481 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
10482 maybe-mostlyclean-bzip2:
10484 mostlyclean-bzip2:
10485 @[ -f ./bzip2/Makefile ] || exit 0; \
10486 r=`${PWD}`; export r; \
10487 s=`cd $(srcdir); ${PWD}`; export s; \
10488 $(SET_LIB_PATH) \
10489 for flag in $(EXTRA_HOST_FLAGS); do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing mostlyclean in bzip2" ; \
10493 (cd bzip2 && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10498 mostlyclean) \
10499 || exit 1
10502 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10503 maybe-mostlyclean-dejagnu:
10505 mostlyclean-dejagnu:
10506 @[ -f ./dejagnu/Makefile ] || exit 0; \
10507 r=`${PWD}`; export r; \
10508 s=`cd $(srcdir); ${PWD}`; export s; \
10509 $(SET_LIB_PATH) \
10510 for flag in $(EXTRA_HOST_FLAGS); do \
10511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10512 done; \
10513 echo "Doing mostlyclean in dejagnu" ; \
10514 (cd dejagnu && \
10515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10517 "RANLIB=$${RANLIB}" \
10518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10519 mostlyclean) \
10520 || exit 1
10523 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10524 maybe-mostlyclean-diff:
10526 mostlyclean-diff:
10527 @[ -f ./diff/Makefile ] || exit 0; \
10528 r=`${PWD}`; export r; \
10529 s=`cd $(srcdir); ${PWD}`; export s; \
10530 $(SET_LIB_PATH) \
10531 for flag in $(EXTRA_HOST_FLAGS); do \
10532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10533 done; \
10534 echo "Doing mostlyclean in diff" ; \
10535 (cd diff && \
10536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10538 "RANLIB=$${RANLIB}" \
10539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10540 mostlyclean) \
10541 || exit 1
10544 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10545 maybe-mostlyclean-dosutils:
10547 mostlyclean-dosutils:
10548 @[ -f ./dosutils/Makefile ] || exit 0; \
10549 r=`${PWD}`; export r; \
10550 s=`cd $(srcdir); ${PWD}`; export s; \
10551 $(SET_LIB_PATH) \
10552 for flag in $(EXTRA_HOST_FLAGS); do \
10553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10554 done; \
10555 echo "Doing mostlyclean in dosutils" ; \
10556 (cd dosutils && \
10557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10559 "RANLIB=$${RANLIB}" \
10560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10561 mostlyclean) \
10562 || exit 1
10565 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10566 maybe-mostlyclean-etc:
10568 mostlyclean-etc:
10569 @[ -f ./etc/Makefile ] || exit 0; \
10570 r=`${PWD}`; export r; \
10571 s=`cd $(srcdir); ${PWD}`; export s; \
10572 $(SET_LIB_PATH) \
10573 for flag in $(EXTRA_HOST_FLAGS); do \
10574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10575 done; \
10576 echo "Doing mostlyclean in etc" ; \
10577 (cd etc && \
10578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10580 "RANLIB=$${RANLIB}" \
10581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10582 mostlyclean) \
10583 || exit 1
10586 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10587 maybe-mostlyclean-fastjar:
10589 mostlyclean-fastjar:
10590 @[ -f ./fastjar/Makefile ] || exit 0; \
10591 r=`${PWD}`; export r; \
10592 s=`cd $(srcdir); ${PWD}`; export s; \
10593 $(SET_LIB_PATH) \
10594 for flag in $(EXTRA_HOST_FLAGS); do \
10595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10596 done; \
10597 echo "Doing mostlyclean in fastjar" ; \
10598 (cd fastjar && \
10599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10601 "RANLIB=$${RANLIB}" \
10602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10603 mostlyclean) \
10604 || exit 1
10607 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10608 maybe-mostlyclean-fileutils:
10610 mostlyclean-fileutils:
10611 @[ -f ./fileutils/Makefile ] || exit 0; \
10612 r=`${PWD}`; export r; \
10613 s=`cd $(srcdir); ${PWD}`; export s; \
10614 $(SET_LIB_PATH) \
10615 for flag in $(EXTRA_HOST_FLAGS); do \
10616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10617 done; \
10618 echo "Doing mostlyclean in fileutils" ; \
10619 (cd fileutils && \
10620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10622 "RANLIB=$${RANLIB}" \
10623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10624 mostlyclean) \
10625 || exit 1
10628 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10629 maybe-mostlyclean-findutils:
10631 mostlyclean-findutils:
10632 @[ -f ./findutils/Makefile ] || exit 0; \
10633 r=`${PWD}`; export r; \
10634 s=`cd $(srcdir); ${PWD}`; export s; \
10635 $(SET_LIB_PATH) \
10636 for flag in $(EXTRA_HOST_FLAGS); do \
10637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10638 done; \
10639 echo "Doing mostlyclean in findutils" ; \
10640 (cd findutils && \
10641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10643 "RANLIB=$${RANLIB}" \
10644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10645 mostlyclean) \
10646 || exit 1
10649 .PHONY: maybe-mostlyclean-find mostlyclean-find
10650 maybe-mostlyclean-find:
10652 mostlyclean-find:
10653 @[ -f ./find/Makefile ] || exit 0; \
10654 r=`${PWD}`; export r; \
10655 s=`cd $(srcdir); ${PWD}`; export s; \
10656 $(SET_LIB_PATH) \
10657 for flag in $(EXTRA_HOST_FLAGS); do \
10658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10659 done; \
10660 echo "Doing mostlyclean in find" ; \
10661 (cd find && \
10662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10664 "RANLIB=$${RANLIB}" \
10665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10666 mostlyclean) \
10667 || exit 1
10670 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10671 maybe-mostlyclean-flex:
10673 mostlyclean-flex:
10674 @[ -f ./flex/Makefile ] || exit 0; \
10675 r=`${PWD}`; export r; \
10676 s=`cd $(srcdir); ${PWD}`; export s; \
10677 $(SET_LIB_PATH) \
10678 for flag in $(EXTRA_HOST_FLAGS); do \
10679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10680 done; \
10681 echo "Doing mostlyclean in flex" ; \
10682 (cd flex && \
10683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10685 "RANLIB=$${RANLIB}" \
10686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10687 mostlyclean) \
10688 || exit 1
10691 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10692 maybe-mostlyclean-gas:
10694 mostlyclean-gas:
10695 @[ -f ./gas/Makefile ] || exit 0; \
10696 r=`${PWD}`; export r; \
10697 s=`cd $(srcdir); ${PWD}`; export s; \
10698 $(SET_LIB_PATH) \
10699 for flag in $(EXTRA_HOST_FLAGS); do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10701 done; \
10702 echo "Doing mostlyclean in gas" ; \
10703 (cd gas && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10708 mostlyclean) \
10709 || exit 1
10712 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10713 maybe-mostlyclean-gawk:
10715 mostlyclean-gawk:
10716 @[ -f ./gawk/Makefile ] || exit 0; \
10717 r=`${PWD}`; export r; \
10718 s=`cd $(srcdir); ${PWD}`; export s; \
10719 $(SET_LIB_PATH) \
10720 for flag in $(EXTRA_HOST_FLAGS); do \
10721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10722 done; \
10723 echo "Doing mostlyclean in gawk" ; \
10724 (cd gawk && \
10725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10727 "RANLIB=$${RANLIB}" \
10728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10729 mostlyclean) \
10730 || exit 1
10733 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10734 maybe-mostlyclean-gettext:
10736 mostlyclean-gettext:
10737 @[ -f ./gettext/Makefile ] || exit 0; \
10738 r=`${PWD}`; export r; \
10739 s=`cd $(srcdir); ${PWD}`; export s; \
10740 $(SET_LIB_PATH) \
10741 for flag in $(EXTRA_HOST_FLAGS); do \
10742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10743 done; \
10744 echo "Doing mostlyclean in gettext" ; \
10745 (cd gettext && \
10746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10748 "RANLIB=$${RANLIB}" \
10749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10750 mostlyclean) \
10751 || exit 1
10754 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10755 maybe-mostlyclean-gnuserv:
10757 mostlyclean-gnuserv:
10758 @[ -f ./gnuserv/Makefile ] || exit 0; \
10759 r=`${PWD}`; export r; \
10760 s=`cd $(srcdir); ${PWD}`; export s; \
10761 $(SET_LIB_PATH) \
10762 for flag in $(EXTRA_HOST_FLAGS); do \
10763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10764 done; \
10765 echo "Doing mostlyclean in gnuserv" ; \
10766 (cd gnuserv && \
10767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10769 "RANLIB=$${RANLIB}" \
10770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10771 mostlyclean) \
10772 || exit 1
10775 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10776 maybe-mostlyclean-gprof:
10778 mostlyclean-gprof:
10779 @[ -f ./gprof/Makefile ] || exit 0; \
10780 r=`${PWD}`; export r; \
10781 s=`cd $(srcdir); ${PWD}`; export s; \
10782 $(SET_LIB_PATH) \
10783 for flag in $(EXTRA_HOST_FLAGS); do \
10784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10785 done; \
10786 echo "Doing mostlyclean in gprof" ; \
10787 (cd gprof && \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10790 "RANLIB=$${RANLIB}" \
10791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10792 mostlyclean) \
10793 || exit 1
10796 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10797 maybe-mostlyclean-gzip:
10799 mostlyclean-gzip:
10800 @[ -f ./gzip/Makefile ] || exit 0; \
10801 r=`${PWD}`; export r; \
10802 s=`cd $(srcdir); ${PWD}`; export s; \
10803 $(SET_LIB_PATH) \
10804 for flag in $(EXTRA_HOST_FLAGS); do \
10805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10806 done; \
10807 echo "Doing mostlyclean in gzip" ; \
10808 (cd gzip && \
10809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10811 "RANLIB=$${RANLIB}" \
10812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10813 mostlyclean) \
10814 || exit 1
10817 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10818 maybe-mostlyclean-hello:
10820 mostlyclean-hello:
10821 @[ -f ./hello/Makefile ] || exit 0; \
10822 r=`${PWD}`; export r; \
10823 s=`cd $(srcdir); ${PWD}`; export s; \
10824 $(SET_LIB_PATH) \
10825 for flag in $(EXTRA_HOST_FLAGS); do \
10826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10827 done; \
10828 echo "Doing mostlyclean in hello" ; \
10829 (cd hello && \
10830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10832 "RANLIB=$${RANLIB}" \
10833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10834 mostlyclean) \
10835 || exit 1
10838 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10839 maybe-mostlyclean-indent:
10841 mostlyclean-indent:
10842 @[ -f ./indent/Makefile ] || exit 0; \
10843 r=`${PWD}`; export r; \
10844 s=`cd $(srcdir); ${PWD}`; export s; \
10845 $(SET_LIB_PATH) \
10846 for flag in $(EXTRA_HOST_FLAGS); do \
10847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10848 done; \
10849 echo "Doing mostlyclean in indent" ; \
10850 (cd indent && \
10851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10853 "RANLIB=$${RANLIB}" \
10854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10855 mostlyclean) \
10856 || exit 1
10859 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10860 maybe-mostlyclean-intl:
10862 mostlyclean-intl:
10863 @[ -f ./intl/Makefile ] || exit 0; \
10864 r=`${PWD}`; export r; \
10865 s=`cd $(srcdir); ${PWD}`; export s; \
10866 $(SET_LIB_PATH) \
10867 for flag in $(EXTRA_HOST_FLAGS); do \
10868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10869 done; \
10870 echo "Doing mostlyclean in intl" ; \
10871 (cd intl && \
10872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10874 "RANLIB=$${RANLIB}" \
10875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10876 mostlyclean) \
10877 || exit 1
10880 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10881 maybe-mostlyclean-tcl:
10883 # tcl doesn't support mostlyclean.
10884 mostlyclean-tcl:
10887 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
10888 maybe-mostlyclean-itcl:
10890 mostlyclean-itcl:
10891 @[ -f ./itcl/Makefile ] || exit 0; \
10892 r=`${PWD}`; export r; \
10893 s=`cd $(srcdir); ${PWD}`; export s; \
10894 $(SET_LIB_PATH) \
10895 for flag in $(EXTRA_HOST_FLAGS); do \
10896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10897 done; \
10898 echo "Doing mostlyclean in itcl" ; \
10899 (cd itcl && \
10900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10902 "RANLIB=$${RANLIB}" \
10903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10904 mostlyclean) \
10905 || exit 1
10908 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10909 maybe-mostlyclean-ld:
10911 mostlyclean-ld:
10912 @[ -f ./ld/Makefile ] || exit 0; \
10913 r=`${PWD}`; export r; \
10914 s=`cd $(srcdir); ${PWD}`; export s; \
10915 $(SET_LIB_PATH) \
10916 for flag in $(EXTRA_HOST_FLAGS); do \
10917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10918 done; \
10919 echo "Doing mostlyclean in ld" ; \
10920 (cd ld && \
10921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10923 "RANLIB=$${RANLIB}" \
10924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10925 mostlyclean) \
10926 || exit 1
10929 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10930 maybe-mostlyclean-libgui:
10932 mostlyclean-libgui:
10933 @[ -f ./libgui/Makefile ] || exit 0; \
10934 r=`${PWD}`; export r; \
10935 s=`cd $(srcdir); ${PWD}`; export s; \
10936 $(SET_LIB_PATH) \
10937 for flag in $(EXTRA_HOST_FLAGS); do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing mostlyclean in libgui" ; \
10941 (cd libgui && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10946 mostlyclean) \
10947 || exit 1
10950 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10951 maybe-mostlyclean-libiberty:
10953 mostlyclean-libiberty:
10954 @[ -f ./libiberty/Makefile ] || exit 0; \
10955 r=`${PWD}`; export r; \
10956 s=`cd $(srcdir); ${PWD}`; export s; \
10957 $(SET_LIB_PATH) \
10958 for flag in $(EXTRA_HOST_FLAGS); do \
10959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10960 done; \
10961 echo "Doing mostlyclean in libiberty" ; \
10962 (cd libiberty && \
10963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10965 "RANLIB=$${RANLIB}" \
10966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10967 mostlyclean) \
10968 || exit 1
10971 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10972 maybe-mostlyclean-libtool:
10974 mostlyclean-libtool:
10975 @[ -f ./libtool/Makefile ] || exit 0; \
10976 r=`${PWD}`; export r; \
10977 s=`cd $(srcdir); ${PWD}`; export s; \
10978 $(SET_LIB_PATH) \
10979 for flag in $(EXTRA_HOST_FLAGS); do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10981 done; \
10982 echo "Doing mostlyclean in libtool" ; \
10983 (cd libtool && \
10984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986 "RANLIB=$${RANLIB}" \
10987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10988 mostlyclean) \
10989 || exit 1
10992 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
10993 maybe-mostlyclean-m4:
10995 mostlyclean-m4:
10996 @[ -f ./m4/Makefile ] || exit 0; \
10997 r=`${PWD}`; export r; \
10998 s=`cd $(srcdir); ${PWD}`; export s; \
10999 $(SET_LIB_PATH) \
11000 for flag in $(EXTRA_HOST_FLAGS); do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 done; \
11003 echo "Doing mostlyclean in m4" ; \
11004 (cd m4 && \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11009 mostlyclean) \
11010 || exit 1
11013 .PHONY: maybe-mostlyclean-make mostlyclean-make
11014 maybe-mostlyclean-make:
11016 mostlyclean-make:
11017 @[ -f ./make/Makefile ] || exit 0; \
11018 r=`${PWD}`; export r; \
11019 s=`cd $(srcdir); ${PWD}`; export s; \
11020 $(SET_LIB_PATH) \
11021 for flag in $(EXTRA_HOST_FLAGS); do \
11022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11023 done; \
11024 echo "Doing mostlyclean in make" ; \
11025 (cd make && \
11026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11028 "RANLIB=$${RANLIB}" \
11029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11030 mostlyclean) \
11031 || exit 1
11034 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11035 maybe-mostlyclean-mmalloc:
11037 mostlyclean-mmalloc:
11038 @[ -f ./mmalloc/Makefile ] || exit 0; \
11039 r=`${PWD}`; export r; \
11040 s=`cd $(srcdir); ${PWD}`; export s; \
11041 $(SET_LIB_PATH) \
11042 for flag in $(EXTRA_HOST_FLAGS); do \
11043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11044 done; \
11045 echo "Doing mostlyclean in mmalloc" ; \
11046 (cd mmalloc && \
11047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11049 "RANLIB=$${RANLIB}" \
11050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11051 mostlyclean) \
11052 || exit 1
11055 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11056 maybe-mostlyclean-patch:
11058 mostlyclean-patch:
11059 @[ -f ./patch/Makefile ] || exit 0; \
11060 r=`${PWD}`; export r; \
11061 s=`cd $(srcdir); ${PWD}`; export s; \
11062 $(SET_LIB_PATH) \
11063 for flag in $(EXTRA_HOST_FLAGS); do \
11064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 done; \
11066 echo "Doing mostlyclean in patch" ; \
11067 (cd patch && \
11068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11070 "RANLIB=$${RANLIB}" \
11071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11072 mostlyclean) \
11073 || exit 1
11076 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
11077 maybe-mostlyclean-perl:
11079 mostlyclean-perl:
11080 @[ -f ./perl/Makefile ] || exit 0; \
11081 r=`${PWD}`; export r; \
11082 s=`cd $(srcdir); ${PWD}`; export s; \
11083 $(SET_LIB_PATH) \
11084 for flag in $(EXTRA_HOST_FLAGS); do \
11085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11086 done; \
11087 echo "Doing mostlyclean in perl" ; \
11088 (cd perl && \
11089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11091 "RANLIB=$${RANLIB}" \
11092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11093 mostlyclean) \
11094 || exit 1
11097 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
11098 maybe-mostlyclean-prms:
11100 mostlyclean-prms:
11101 @[ -f ./prms/Makefile ] || exit 0; \
11102 r=`${PWD}`; export r; \
11103 s=`cd $(srcdir); ${PWD}`; export s; \
11104 $(SET_LIB_PATH) \
11105 for flag in $(EXTRA_HOST_FLAGS); do \
11106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11107 done; \
11108 echo "Doing mostlyclean in prms" ; \
11109 (cd prms && \
11110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11112 "RANLIB=$${RANLIB}" \
11113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11114 mostlyclean) \
11115 || exit 1
11118 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
11119 maybe-mostlyclean-rcs:
11121 mostlyclean-rcs:
11122 @[ -f ./rcs/Makefile ] || exit 0; \
11123 r=`${PWD}`; export r; \
11124 s=`cd $(srcdir); ${PWD}`; export s; \
11125 $(SET_LIB_PATH) \
11126 for flag in $(EXTRA_HOST_FLAGS); do \
11127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11128 done; \
11129 echo "Doing mostlyclean in rcs" ; \
11130 (cd rcs && \
11131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11133 "RANLIB=$${RANLIB}" \
11134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11135 mostlyclean) \
11136 || exit 1
11139 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
11140 maybe-mostlyclean-readline:
11142 mostlyclean-readline:
11143 @[ -f ./readline/Makefile ] || exit 0; \
11144 r=`${PWD}`; export r; \
11145 s=`cd $(srcdir); ${PWD}`; export s; \
11146 $(SET_LIB_PATH) \
11147 for flag in $(EXTRA_HOST_FLAGS); do \
11148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11149 done; \
11150 echo "Doing mostlyclean in readline" ; \
11151 (cd readline && \
11152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11154 "RANLIB=$${RANLIB}" \
11155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11156 mostlyclean) \
11157 || exit 1
11160 .PHONY: maybe-mostlyclean-release mostlyclean-release
11161 maybe-mostlyclean-release:
11163 mostlyclean-release:
11164 @[ -f ./release/Makefile ] || exit 0; \
11165 r=`${PWD}`; export r; \
11166 s=`cd $(srcdir); ${PWD}`; export s; \
11167 $(SET_LIB_PATH) \
11168 for flag in $(EXTRA_HOST_FLAGS); do \
11169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11170 done; \
11171 echo "Doing mostlyclean in release" ; \
11172 (cd release && \
11173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11175 "RANLIB=$${RANLIB}" \
11176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11177 mostlyclean) \
11178 || exit 1
11181 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
11182 maybe-mostlyclean-recode:
11184 mostlyclean-recode:
11185 @[ -f ./recode/Makefile ] || exit 0; \
11186 r=`${PWD}`; export r; \
11187 s=`cd $(srcdir); ${PWD}`; export s; \
11188 $(SET_LIB_PATH) \
11189 for flag in $(EXTRA_HOST_FLAGS); do \
11190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11191 done; \
11192 echo "Doing mostlyclean in recode" ; \
11193 (cd recode && \
11194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11196 "RANLIB=$${RANLIB}" \
11197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11198 mostlyclean) \
11199 || exit 1
11202 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
11203 maybe-mostlyclean-sed:
11205 mostlyclean-sed:
11206 @[ -f ./sed/Makefile ] || exit 0; \
11207 r=`${PWD}`; export r; \
11208 s=`cd $(srcdir); ${PWD}`; export s; \
11209 $(SET_LIB_PATH) \
11210 for flag in $(EXTRA_HOST_FLAGS); do \
11211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11212 done; \
11213 echo "Doing mostlyclean in sed" ; \
11214 (cd sed && \
11215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11217 "RANLIB=$${RANLIB}" \
11218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11219 mostlyclean) \
11220 || exit 1
11223 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
11224 maybe-mostlyclean-send-pr:
11226 mostlyclean-send-pr:
11227 @[ -f ./send-pr/Makefile ] || exit 0; \
11228 r=`${PWD}`; export r; \
11229 s=`cd $(srcdir); ${PWD}`; export s; \
11230 $(SET_LIB_PATH) \
11231 for flag in $(EXTRA_HOST_FLAGS); do \
11232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11233 done; \
11234 echo "Doing mostlyclean in send-pr" ; \
11235 (cd send-pr && \
11236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11238 "RANLIB=$${RANLIB}" \
11239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11240 mostlyclean) \
11241 || exit 1
11244 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
11245 maybe-mostlyclean-shellutils:
11247 mostlyclean-shellutils:
11248 @[ -f ./shellutils/Makefile ] || exit 0; \
11249 r=`${PWD}`; export r; \
11250 s=`cd $(srcdir); ${PWD}`; export s; \
11251 $(SET_LIB_PATH) \
11252 for flag in $(EXTRA_HOST_FLAGS); do \
11253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11254 done; \
11255 echo "Doing mostlyclean in shellutils" ; \
11256 (cd shellutils && \
11257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11259 "RANLIB=$${RANLIB}" \
11260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11261 mostlyclean) \
11262 || exit 1
11265 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
11266 maybe-mostlyclean-sid:
11268 mostlyclean-sid:
11269 @[ -f ./sid/Makefile ] || exit 0; \
11270 r=`${PWD}`; export r; \
11271 s=`cd $(srcdir); ${PWD}`; export s; \
11272 $(SET_LIB_PATH) \
11273 for flag in $(EXTRA_HOST_FLAGS); do \
11274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11275 done; \
11276 echo "Doing mostlyclean in sid" ; \
11277 (cd sid && \
11278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11280 "RANLIB=$${RANLIB}" \
11281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11282 mostlyclean) \
11283 || exit 1
11286 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
11287 maybe-mostlyclean-sim:
11289 mostlyclean-sim:
11290 @[ -f ./sim/Makefile ] || exit 0; \
11291 r=`${PWD}`; export r; \
11292 s=`cd $(srcdir); ${PWD}`; export s; \
11293 $(SET_LIB_PATH) \
11294 for flag in $(EXTRA_HOST_FLAGS); do \
11295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11296 done; \
11297 echo "Doing mostlyclean in sim" ; \
11298 (cd sim && \
11299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11301 "RANLIB=$${RANLIB}" \
11302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11303 mostlyclean) \
11304 || exit 1
11307 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
11308 maybe-mostlyclean-tar:
11310 mostlyclean-tar:
11311 @[ -f ./tar/Makefile ] || exit 0; \
11312 r=`${PWD}`; export r; \
11313 s=`cd $(srcdir); ${PWD}`; export s; \
11314 $(SET_LIB_PATH) \
11315 for flag in $(EXTRA_HOST_FLAGS); do \
11316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11317 done; \
11318 echo "Doing mostlyclean in tar" ; \
11319 (cd tar && \
11320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11322 "RANLIB=$${RANLIB}" \
11323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11324 mostlyclean) \
11325 || exit 1
11328 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
11329 maybe-mostlyclean-texinfo:
11331 mostlyclean-texinfo:
11332 @[ -f ./texinfo/Makefile ] || exit 0; \
11333 r=`${PWD}`; export r; \
11334 s=`cd $(srcdir); ${PWD}`; export s; \
11335 $(SET_LIB_PATH) \
11336 for flag in $(EXTRA_HOST_FLAGS); do \
11337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11338 done; \
11339 echo "Doing mostlyclean in texinfo" ; \
11340 (cd texinfo && \
11341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11343 "RANLIB=$${RANLIB}" \
11344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11345 mostlyclean) \
11346 || exit 1
11349 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
11350 maybe-mostlyclean-textutils:
11352 mostlyclean-textutils:
11353 @[ -f ./textutils/Makefile ] || exit 0; \
11354 r=`${PWD}`; export r; \
11355 s=`cd $(srcdir); ${PWD}`; export s; \
11356 $(SET_LIB_PATH) \
11357 for flag in $(EXTRA_HOST_FLAGS); do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing mostlyclean in textutils" ; \
11361 (cd textutils && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11366 mostlyclean) \
11367 || exit 1
11370 .PHONY: maybe-mostlyclean-time mostlyclean-time
11371 maybe-mostlyclean-time:
11373 mostlyclean-time:
11374 @[ -f ./time/Makefile ] || exit 0; \
11375 r=`${PWD}`; export r; \
11376 s=`cd $(srcdir); ${PWD}`; export s; \
11377 $(SET_LIB_PATH) \
11378 for flag in $(EXTRA_HOST_FLAGS); do \
11379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11380 done; \
11381 echo "Doing mostlyclean in time" ; \
11382 (cd time && \
11383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11385 "RANLIB=$${RANLIB}" \
11386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11387 mostlyclean) \
11388 || exit 1
11391 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
11392 maybe-mostlyclean-uudecode:
11394 mostlyclean-uudecode:
11395 @[ -f ./uudecode/Makefile ] || exit 0; \
11396 r=`${PWD}`; export r; \
11397 s=`cd $(srcdir); ${PWD}`; export s; \
11398 $(SET_LIB_PATH) \
11399 for flag in $(EXTRA_HOST_FLAGS); do \
11400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11401 done; \
11402 echo "Doing mostlyclean in uudecode" ; \
11403 (cd uudecode && \
11404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11406 "RANLIB=$${RANLIB}" \
11407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11408 mostlyclean) \
11409 || exit 1
11412 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
11413 maybe-mostlyclean-wdiff:
11415 mostlyclean-wdiff:
11416 @[ -f ./wdiff/Makefile ] || exit 0; \
11417 r=`${PWD}`; export r; \
11418 s=`cd $(srcdir); ${PWD}`; export s; \
11419 $(SET_LIB_PATH) \
11420 for flag in $(EXTRA_HOST_FLAGS); do \
11421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11422 done; \
11423 echo "Doing mostlyclean in wdiff" ; \
11424 (cd wdiff && \
11425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11427 "RANLIB=$${RANLIB}" \
11428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11429 mostlyclean) \
11430 || exit 1
11433 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
11434 maybe-mostlyclean-zip:
11436 mostlyclean-zip:
11437 @[ -f ./zip/Makefile ] || exit 0; \
11438 r=`${PWD}`; export r; \
11439 s=`cd $(srcdir); ${PWD}`; export s; \
11440 $(SET_LIB_PATH) \
11441 for flag in $(EXTRA_HOST_FLAGS); do \
11442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11443 done; \
11444 echo "Doing mostlyclean in zip" ; \
11445 (cd zip && \
11446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11448 "RANLIB=$${RANLIB}" \
11449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11450 mostlyclean) \
11451 || exit 1
11454 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
11455 maybe-mostlyclean-zlib:
11457 mostlyclean-zlib:
11458 @[ -f ./zlib/Makefile ] || exit 0; \
11459 r=`${PWD}`; export r; \
11460 s=`cd $(srcdir); ${PWD}`; export s; \
11461 $(SET_LIB_PATH) \
11462 for flag in $(EXTRA_HOST_FLAGS); do \
11463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11464 done; \
11465 echo "Doing mostlyclean in zlib" ; \
11466 (cd zlib && \
11467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11469 "RANLIB=$${RANLIB}" \
11470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11471 mostlyclean) \
11472 || exit 1
11475 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
11476 maybe-mostlyclean-gdb:
11478 mostlyclean-gdb:
11479 @[ -f ./gdb/Makefile ] || exit 0; \
11480 r=`${PWD}`; export r; \
11481 s=`cd $(srcdir); ${PWD}`; export s; \
11482 $(SET_LIB_PATH) \
11483 for flag in $(EXTRA_HOST_FLAGS); do \
11484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11485 done; \
11486 echo "Doing mostlyclean in gdb" ; \
11487 (cd gdb && \
11488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11490 "RANLIB=$${RANLIB}" \
11491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11492 mostlyclean) \
11493 || exit 1
11496 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
11497 maybe-mostlyclean-expect:
11499 mostlyclean-expect:
11500 @[ -f ./expect/Makefile ] || exit 0; \
11501 r=`${PWD}`; export r; \
11502 s=`cd $(srcdir); ${PWD}`; export s; \
11503 $(SET_LIB_PATH) \
11504 for flag in $(EXTRA_HOST_FLAGS); do \
11505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11506 done; \
11507 echo "Doing mostlyclean in expect" ; \
11508 (cd expect && \
11509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11511 "RANLIB=$${RANLIB}" \
11512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11513 mostlyclean) \
11514 || exit 1
11517 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
11518 maybe-mostlyclean-guile:
11520 mostlyclean-guile:
11521 @[ -f ./guile/Makefile ] || exit 0; \
11522 r=`${PWD}`; export r; \
11523 s=`cd $(srcdir); ${PWD}`; export s; \
11524 $(SET_LIB_PATH) \
11525 for flag in $(EXTRA_HOST_FLAGS); do \
11526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11527 done; \
11528 echo "Doing mostlyclean in guile" ; \
11529 (cd guile && \
11530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11532 "RANLIB=$${RANLIB}" \
11533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11534 mostlyclean) \
11535 || exit 1
11538 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
11539 maybe-mostlyclean-tk:
11541 mostlyclean-tk:
11542 @[ -f ./tk/Makefile ] || exit 0; \
11543 r=`${PWD}`; export r; \
11544 s=`cd $(srcdir); ${PWD}`; export s; \
11545 $(SET_LIB_PATH) \
11546 for flag in $(EXTRA_HOST_FLAGS); do \
11547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11548 done; \
11549 echo "Doing mostlyclean in tk" ; \
11550 (cd tk && \
11551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11553 "RANLIB=$${RANLIB}" \
11554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11555 mostlyclean) \
11556 || exit 1
11559 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
11560 maybe-mostlyclean-tix:
11562 mostlyclean-tix:
11563 @[ -f ./tix/Makefile ] || exit 0; \
11564 r=`${PWD}`; export r; \
11565 s=`cd $(srcdir); ${PWD}`; export s; \
11566 $(SET_LIB_PATH) \
11567 for flag in $(EXTRA_HOST_FLAGS); do \
11568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11569 done; \
11570 echo "Doing mostlyclean in tix" ; \
11571 (cd tix && \
11572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11574 "RANLIB=$${RANLIB}" \
11575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11576 mostlyclean) \
11577 || exit 1
11580 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
11581 maybe-mostlyclean-libtermcap:
11583 # libtermcap doesn't support mostlyclean.
11584 mostlyclean-libtermcap:
11587 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
11588 maybe-mostlyclean-utils:
11590 mostlyclean-utils:
11591 @[ -f ./utils/Makefile ] || exit 0; \
11592 r=`${PWD}`; export r; \
11593 s=`cd $(srcdir); ${PWD}`; export s; \
11594 $(SET_LIB_PATH) \
11595 for flag in $(EXTRA_HOST_FLAGS); do \
11596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11597 done; \
11598 echo "Doing mostlyclean in utils" ; \
11599 (cd utils && \
11600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11602 "RANLIB=$${RANLIB}" \
11603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11604 mostlyclean) \
11605 || exit 1
11609 # Target modules.
11611 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
11612 maybe-mostlyclean-target-libstdc++-v3:
11614 mostlyclean-target-libstdc++-v3:
11615 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
11616 r=`${PWD}`; export r; \
11617 s=`cd $(srcdir); ${PWD}`; export s; \
11618 $(SET_LIB_PATH) \
11619 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
11620 for flag in $(EXTRA_TARGET_FLAGS); do \
11621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11622 done; \
11623 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11626 "RANLIB=$${RANLIB}" \
11627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11628 mostlyclean) \
11629 || exit 1
11632 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
11633 maybe-mostlyclean-target-newlib:
11635 mostlyclean-target-newlib:
11636 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
11637 r=`${PWD}`; export r; \
11638 s=`cd $(srcdir); ${PWD}`; export s; \
11639 $(SET_LIB_PATH) \
11640 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
11641 for flag in $(EXTRA_TARGET_FLAGS); do \
11642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11643 done; \
11644 (cd $(TARGET_SUBDIR)/newlib && \
11645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11647 "RANLIB=$${RANLIB}" \
11648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11649 mostlyclean) \
11650 || exit 1
11653 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
11654 maybe-mostlyclean-target-libf2c:
11656 mostlyclean-target-libf2c:
11657 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
11658 r=`${PWD}`; export r; \
11659 s=`cd $(srcdir); ${PWD}`; export s; \
11660 $(SET_LIB_PATH) \
11661 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
11662 for flag in $(EXTRA_TARGET_FLAGS); do \
11663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11664 done; \
11665 (cd $(TARGET_SUBDIR)/libf2c && \
11666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11668 "RANLIB=$${RANLIB}" \
11669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11670 mostlyclean) \
11671 || exit 1
11674 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
11675 maybe-mostlyclean-target-libobjc:
11677 mostlyclean-target-libobjc:
11678 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
11679 r=`${PWD}`; export r; \
11680 s=`cd $(srcdir); ${PWD}`; export s; \
11681 $(SET_LIB_PATH) \
11682 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
11683 for flag in $(EXTRA_TARGET_FLAGS); do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 (cd $(TARGET_SUBDIR)/libobjc && \
11687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11689 "RANLIB=$${RANLIB}" \
11690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11691 mostlyclean) \
11692 || exit 1
11695 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
11696 maybe-mostlyclean-target-libtermcap:
11698 # libtermcap doesn't support mostlyclean.
11699 mostlyclean-target-libtermcap:
11702 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
11703 maybe-mostlyclean-target-winsup:
11705 mostlyclean-target-winsup:
11706 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
11707 r=`${PWD}`; export r; \
11708 s=`cd $(srcdir); ${PWD}`; export s; \
11709 $(SET_LIB_PATH) \
11710 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
11711 for flag in $(EXTRA_TARGET_FLAGS); do \
11712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11713 done; \
11714 (cd $(TARGET_SUBDIR)/winsup && \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11717 "RANLIB=$${RANLIB}" \
11718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11719 mostlyclean) \
11720 || exit 1
11723 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
11724 maybe-mostlyclean-target-libgloss:
11726 mostlyclean-target-libgloss:
11727 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
11728 r=`${PWD}`; export r; \
11729 s=`cd $(srcdir); ${PWD}`; export s; \
11730 $(SET_LIB_PATH) \
11731 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
11732 for flag in $(EXTRA_TARGET_FLAGS); do \
11733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11734 done; \
11735 (cd $(TARGET_SUBDIR)/libgloss && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11740 mostlyclean) \
11741 || exit 1
11744 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
11745 maybe-mostlyclean-target-libiberty:
11747 mostlyclean-target-libiberty:
11748 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
11749 r=`${PWD}`; export r; \
11750 s=`cd $(srcdir); ${PWD}`; export s; \
11751 $(SET_LIB_PATH) \
11752 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
11753 for flag in $(EXTRA_TARGET_FLAGS); do \
11754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11755 done; \
11756 (cd $(TARGET_SUBDIR)/libiberty && \
11757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11759 "RANLIB=$${RANLIB}" \
11760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11761 mostlyclean) \
11762 || exit 1
11765 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
11766 maybe-mostlyclean-target-gperf:
11768 mostlyclean-target-gperf:
11769 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
11770 r=`${PWD}`; export r; \
11771 s=`cd $(srcdir); ${PWD}`; export s; \
11772 $(SET_LIB_PATH) \
11773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
11774 for flag in $(EXTRA_TARGET_FLAGS); do \
11775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11776 done; \
11777 (cd $(TARGET_SUBDIR)/gperf && \
11778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11780 "RANLIB=$${RANLIB}" \
11781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11782 mostlyclean) \
11783 || exit 1
11786 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
11787 maybe-mostlyclean-target-examples:
11789 mostlyclean-target-examples:
11790 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
11791 r=`${PWD}`; export r; \
11792 s=`cd $(srcdir); ${PWD}`; export s; \
11793 $(SET_LIB_PATH) \
11794 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
11795 for flag in $(EXTRA_TARGET_FLAGS); do \
11796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11797 done; \
11798 (cd $(TARGET_SUBDIR)/examples && \
11799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11801 "RANLIB=$${RANLIB}" \
11802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11803 mostlyclean) \
11804 || exit 1
11807 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
11808 maybe-mostlyclean-target-libffi:
11810 mostlyclean-target-libffi:
11811 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
11812 r=`${PWD}`; export r; \
11813 s=`cd $(srcdir); ${PWD}`; export s; \
11814 $(SET_LIB_PATH) \
11815 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
11816 for flag in $(EXTRA_TARGET_FLAGS); do \
11817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11818 done; \
11819 (cd $(TARGET_SUBDIR)/libffi && \
11820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11822 "RANLIB=$${RANLIB}" \
11823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11824 mostlyclean) \
11825 || exit 1
11828 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
11829 maybe-mostlyclean-target-libjava:
11831 mostlyclean-target-libjava:
11832 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
11833 r=`${PWD}`; export r; \
11834 s=`cd $(srcdir); ${PWD}`; export s; \
11835 $(SET_LIB_PATH) \
11836 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
11837 for flag in $(EXTRA_TARGET_FLAGS); do \
11838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11839 done; \
11840 (cd $(TARGET_SUBDIR)/libjava && \
11841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11843 "RANLIB=$${RANLIB}" \
11844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11845 mostlyclean) \
11846 || exit 1
11849 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
11850 maybe-mostlyclean-target-zlib:
11852 mostlyclean-target-zlib:
11853 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
11854 r=`${PWD}`; export r; \
11855 s=`cd $(srcdir); ${PWD}`; export s; \
11856 $(SET_LIB_PATH) \
11857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
11858 for flag in $(EXTRA_TARGET_FLAGS); do \
11859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11860 done; \
11861 (cd $(TARGET_SUBDIR)/zlib && \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11866 mostlyclean) \
11867 || exit 1
11870 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
11871 maybe-mostlyclean-target-boehm-gc:
11873 mostlyclean-target-boehm-gc:
11874 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
11875 r=`${PWD}`; export r; \
11876 s=`cd $(srcdir); ${PWD}`; export s; \
11877 $(SET_LIB_PATH) \
11878 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
11879 for flag in $(EXTRA_TARGET_FLAGS); do \
11880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11881 done; \
11882 (cd $(TARGET_SUBDIR)/boehm-gc && \
11883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11885 "RANLIB=$${RANLIB}" \
11886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11887 mostlyclean) \
11888 || exit 1
11891 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
11892 maybe-mostlyclean-target-qthreads:
11894 mostlyclean-target-qthreads:
11895 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
11896 r=`${PWD}`; export r; \
11897 s=`cd $(srcdir); ${PWD}`; export s; \
11898 $(SET_LIB_PATH) \
11899 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
11900 for flag in $(EXTRA_TARGET_FLAGS); do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 (cd $(TARGET_SUBDIR)/qthreads && \
11904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11906 "RANLIB=$${RANLIB}" \
11907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11908 mostlyclean) \
11909 || exit 1
11912 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
11913 maybe-mostlyclean-target-rda:
11915 mostlyclean-target-rda:
11916 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
11917 r=`${PWD}`; export r; \
11918 s=`cd $(srcdir); ${PWD}`; export s; \
11919 $(SET_LIB_PATH) \
11920 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
11921 for flag in $(EXTRA_TARGET_FLAGS); do \
11922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11923 done; \
11924 (cd $(TARGET_SUBDIR)/rda && \
11925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11927 "RANLIB=$${RANLIB}" \
11928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11929 mostlyclean) \
11930 || exit 1
11934 .PHONY: do-clean
11935 do-clean: clean-host clean-target
11937 .PHONY: clean-host
11938 clean-host: maybe-clean-gcc \
11939 maybe-clean-ash \
11940 maybe-clean-autoconf \
11941 maybe-clean-automake \
11942 maybe-clean-bash \
11943 maybe-clean-bfd \
11944 maybe-clean-opcodes \
11945 maybe-clean-binutils \
11946 maybe-clean-bison \
11947 maybe-clean-byacc \
11948 maybe-clean-bzip2 \
11949 maybe-clean-dejagnu \
11950 maybe-clean-diff \
11951 maybe-clean-dosutils \
11952 maybe-clean-etc \
11953 maybe-clean-fastjar \
11954 maybe-clean-fileutils \
11955 maybe-clean-findutils \
11956 maybe-clean-find \
11957 maybe-clean-flex \
11958 maybe-clean-gas \
11959 maybe-clean-gawk \
11960 maybe-clean-gettext \
11961 maybe-clean-gnuserv \
11962 maybe-clean-gprof \
11963 maybe-clean-gzip \
11964 maybe-clean-hello \
11965 maybe-clean-indent \
11966 maybe-clean-intl \
11967 maybe-clean-tcl \
11968 maybe-clean-itcl \
11969 maybe-clean-ld \
11970 maybe-clean-libgui \
11971 maybe-clean-libiberty \
11972 maybe-clean-libtool \
11973 maybe-clean-m4 \
11974 maybe-clean-make \
11975 maybe-clean-mmalloc \
11976 maybe-clean-patch \
11977 maybe-clean-perl \
11978 maybe-clean-prms \
11979 maybe-clean-rcs \
11980 maybe-clean-readline \
11981 maybe-clean-release \
11982 maybe-clean-recode \
11983 maybe-clean-sed \
11984 maybe-clean-send-pr \
11985 maybe-clean-shellutils \
11986 maybe-clean-sid \
11987 maybe-clean-sim \
11988 maybe-clean-tar \
11989 maybe-clean-texinfo \
11990 maybe-clean-textutils \
11991 maybe-clean-time \
11992 maybe-clean-uudecode \
11993 maybe-clean-wdiff \
11994 maybe-clean-zip \
11995 maybe-clean-zlib \
11996 maybe-clean-gdb \
11997 maybe-clean-expect \
11998 maybe-clean-guile \
11999 maybe-clean-tk \
12000 maybe-clean-tix \
12001 maybe-clean-libtermcap \
12002 maybe-clean-utils
12004 .PHONY: clean-target
12005 clean-target: \
12006 maybe-clean-target-libstdc++-v3 \
12007 maybe-clean-target-newlib \
12008 maybe-clean-target-libf2c \
12009 maybe-clean-target-libobjc \
12010 maybe-clean-target-libtermcap \
12011 maybe-clean-target-winsup \
12012 maybe-clean-target-libgloss \
12013 maybe-clean-target-libiberty \
12014 maybe-clean-target-gperf \
12015 maybe-clean-target-examples \
12016 maybe-clean-target-libffi \
12017 maybe-clean-target-libjava \
12018 maybe-clean-target-zlib \
12019 maybe-clean-target-boehm-gc \
12020 maybe-clean-target-qthreads \
12021 maybe-clean-target-rda
12023 # GCC, the eternal special case
12024 .PHONY: maybe-clean-gcc clean-gcc
12025 maybe-clean-gcc:
12026 clean-gcc:
12027 @[ -f ./gcc/Makefile ] || exit 0; \
12028 r=`${PWD}`; export r; \
12029 s=`cd $(srcdir); ${PWD}`; export s; \
12030 $(SET_LIB_PATH) \
12031 for flag in $(EXTRA_GCC_FLAGS); do \
12032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12033 done; \
12034 echo "Doing clean in gcc" ; \
12035 (cd gcc && \
12036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12038 "RANLIB=$${RANLIB}" \
12039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12040 clean) \
12041 || exit 1
12043 # Host modules.
12045 .PHONY: maybe-clean-ash clean-ash
12046 maybe-clean-ash:
12048 clean-ash:
12049 @[ -f ./ash/Makefile ] || exit 0; \
12050 r=`${PWD}`; export r; \
12051 s=`cd $(srcdir); ${PWD}`; export s; \
12052 $(SET_LIB_PATH) \
12053 for flag in $(EXTRA_HOST_FLAGS); do \
12054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12055 done; \
12056 echo "Doing clean in ash" ; \
12057 (cd ash && \
12058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12060 "RANLIB=$${RANLIB}" \
12061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12062 clean) \
12063 || exit 1
12066 .PHONY: maybe-clean-autoconf clean-autoconf
12067 maybe-clean-autoconf:
12069 clean-autoconf:
12070 @[ -f ./autoconf/Makefile ] || exit 0; \
12071 r=`${PWD}`; export r; \
12072 s=`cd $(srcdir); ${PWD}`; export s; \
12073 $(SET_LIB_PATH) \
12074 for flag in $(EXTRA_HOST_FLAGS); do \
12075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12076 done; \
12077 echo "Doing clean in autoconf" ; \
12078 (cd autoconf && \
12079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12081 "RANLIB=$${RANLIB}" \
12082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12083 clean) \
12084 || exit 1
12087 .PHONY: maybe-clean-automake clean-automake
12088 maybe-clean-automake:
12090 clean-automake:
12091 @[ -f ./automake/Makefile ] || exit 0; \
12092 r=`${PWD}`; export r; \
12093 s=`cd $(srcdir); ${PWD}`; export s; \
12094 $(SET_LIB_PATH) \
12095 for flag in $(EXTRA_HOST_FLAGS); do \
12096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12097 done; \
12098 echo "Doing clean in automake" ; \
12099 (cd automake && \
12100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12102 "RANLIB=$${RANLIB}" \
12103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12104 clean) \
12105 || exit 1
12108 .PHONY: maybe-clean-bash clean-bash
12109 maybe-clean-bash:
12111 clean-bash:
12112 @[ -f ./bash/Makefile ] || exit 0; \
12113 r=`${PWD}`; export r; \
12114 s=`cd $(srcdir); ${PWD}`; export s; \
12115 $(SET_LIB_PATH) \
12116 for flag in $(EXTRA_HOST_FLAGS); do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 done; \
12119 echo "Doing clean in bash" ; \
12120 (cd bash && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125 clean) \
12126 || exit 1
12129 .PHONY: maybe-clean-bfd clean-bfd
12130 maybe-clean-bfd:
12132 clean-bfd:
12133 @[ -f ./bfd/Makefile ] || exit 0; \
12134 r=`${PWD}`; export r; \
12135 s=`cd $(srcdir); ${PWD}`; export s; \
12136 $(SET_LIB_PATH) \
12137 for flag in $(EXTRA_HOST_FLAGS); do \
12138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12139 done; \
12140 echo "Doing clean in bfd" ; \
12141 (cd bfd && \
12142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12144 "RANLIB=$${RANLIB}" \
12145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12146 clean) \
12147 || exit 1
12150 .PHONY: maybe-clean-opcodes clean-opcodes
12151 maybe-clean-opcodes:
12153 clean-opcodes:
12154 @[ -f ./opcodes/Makefile ] || exit 0; \
12155 r=`${PWD}`; export r; \
12156 s=`cd $(srcdir); ${PWD}`; export s; \
12157 $(SET_LIB_PATH) \
12158 for flag in $(EXTRA_HOST_FLAGS); do \
12159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12160 done; \
12161 echo "Doing clean in opcodes" ; \
12162 (cd opcodes && \
12163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12165 "RANLIB=$${RANLIB}" \
12166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12167 clean) \
12168 || exit 1
12171 .PHONY: maybe-clean-binutils clean-binutils
12172 maybe-clean-binutils:
12174 clean-binutils:
12175 @[ -f ./binutils/Makefile ] || exit 0; \
12176 r=`${PWD}`; export r; \
12177 s=`cd $(srcdir); ${PWD}`; 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 clean in binutils" ; \
12183 (cd binutils && \
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 clean) \
12189 || exit 1
12192 .PHONY: maybe-clean-bison clean-bison
12193 maybe-clean-bison:
12195 clean-bison:
12196 @[ -f ./bison/Makefile ] || exit 0; \
12197 r=`${PWD}`; export r; \
12198 s=`cd $(srcdir); ${PWD}`; export s; \
12199 $(SET_LIB_PATH) \
12200 for flag in $(EXTRA_HOST_FLAGS); do \
12201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12202 done; \
12203 echo "Doing clean in bison" ; \
12204 (cd bison && \
12205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12207 "RANLIB=$${RANLIB}" \
12208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12209 clean) \
12210 || exit 1
12213 .PHONY: maybe-clean-byacc clean-byacc
12214 maybe-clean-byacc:
12216 clean-byacc:
12217 @[ -f ./byacc/Makefile ] || exit 0; \
12218 r=`${PWD}`; export r; \
12219 s=`cd $(srcdir); ${PWD}`; export s; \
12220 $(SET_LIB_PATH) \
12221 for flag in $(EXTRA_HOST_FLAGS); do \
12222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12223 done; \
12224 echo "Doing clean in byacc" ; \
12225 (cd byacc && \
12226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12228 "RANLIB=$${RANLIB}" \
12229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12230 clean) \
12231 || exit 1
12234 .PHONY: maybe-clean-bzip2 clean-bzip2
12235 maybe-clean-bzip2:
12237 clean-bzip2:
12238 @[ -f ./bzip2/Makefile ] || exit 0; \
12239 r=`${PWD}`; export r; \
12240 s=`cd $(srcdir); ${PWD}`; export s; \
12241 $(SET_LIB_PATH) \
12242 for flag in $(EXTRA_HOST_FLAGS); do \
12243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12244 done; \
12245 echo "Doing clean in bzip2" ; \
12246 (cd bzip2 && \
12247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12249 "RANLIB=$${RANLIB}" \
12250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12251 clean) \
12252 || exit 1
12255 .PHONY: maybe-clean-dejagnu clean-dejagnu
12256 maybe-clean-dejagnu:
12258 clean-dejagnu:
12259 @[ -f ./dejagnu/Makefile ] || exit 0; \
12260 r=`${PWD}`; export r; \
12261 s=`cd $(srcdir); ${PWD}`; export s; \
12262 $(SET_LIB_PATH) \
12263 for flag in $(EXTRA_HOST_FLAGS); do \
12264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12265 done; \
12266 echo "Doing clean in dejagnu" ; \
12267 (cd dejagnu && \
12268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12270 "RANLIB=$${RANLIB}" \
12271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12272 clean) \
12273 || exit 1
12276 .PHONY: maybe-clean-diff clean-diff
12277 maybe-clean-diff:
12279 clean-diff:
12280 @[ -f ./diff/Makefile ] || exit 0; \
12281 r=`${PWD}`; export r; \
12282 s=`cd $(srcdir); ${PWD}`; export s; \
12283 $(SET_LIB_PATH) \
12284 for flag in $(EXTRA_HOST_FLAGS); do \
12285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12286 done; \
12287 echo "Doing clean in diff" ; \
12288 (cd diff && \
12289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12291 "RANLIB=$${RANLIB}" \
12292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12293 clean) \
12294 || exit 1
12297 .PHONY: maybe-clean-dosutils clean-dosutils
12298 maybe-clean-dosutils:
12300 clean-dosutils:
12301 @[ -f ./dosutils/Makefile ] || exit 0; \
12302 r=`${PWD}`; export r; \
12303 s=`cd $(srcdir); ${PWD}`; export s; \
12304 $(SET_LIB_PATH) \
12305 for flag in $(EXTRA_HOST_FLAGS); do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing clean in dosutils" ; \
12309 (cd dosutils && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 clean) \
12315 || exit 1
12318 .PHONY: maybe-clean-etc clean-etc
12319 maybe-clean-etc:
12321 clean-etc:
12322 @[ -f ./etc/Makefile ] || exit 0; \
12323 r=`${PWD}`; export r; \
12324 s=`cd $(srcdir); ${PWD}`; export s; \
12325 $(SET_LIB_PATH) \
12326 for flag in $(EXTRA_HOST_FLAGS); do \
12327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12328 done; \
12329 echo "Doing clean in etc" ; \
12330 (cd etc && \
12331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12333 "RANLIB=$${RANLIB}" \
12334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12335 clean) \
12336 || exit 1
12339 .PHONY: maybe-clean-fastjar clean-fastjar
12340 maybe-clean-fastjar:
12342 clean-fastjar:
12343 @[ -f ./fastjar/Makefile ] || exit 0; \
12344 r=`${PWD}`; export r; \
12345 s=`cd $(srcdir); ${PWD}`; export s; \
12346 $(SET_LIB_PATH) \
12347 for flag in $(EXTRA_HOST_FLAGS); do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing clean in fastjar" ; \
12351 (cd fastjar && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12356 clean) \
12357 || exit 1
12360 .PHONY: maybe-clean-fileutils clean-fileutils
12361 maybe-clean-fileutils:
12363 clean-fileutils:
12364 @[ -f ./fileutils/Makefile ] || exit 0; \
12365 r=`${PWD}`; export r; \
12366 s=`cd $(srcdir); ${PWD}`; export s; \
12367 $(SET_LIB_PATH) \
12368 for flag in $(EXTRA_HOST_FLAGS); do \
12369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12370 done; \
12371 echo "Doing clean in fileutils" ; \
12372 (cd fileutils && \
12373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12375 "RANLIB=$${RANLIB}" \
12376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12377 clean) \
12378 || exit 1
12381 .PHONY: maybe-clean-findutils clean-findutils
12382 maybe-clean-findutils:
12384 clean-findutils:
12385 @[ -f ./findutils/Makefile ] || exit 0; \
12386 r=`${PWD}`; export r; \
12387 s=`cd $(srcdir); ${PWD}`; export s; \
12388 $(SET_LIB_PATH) \
12389 for flag in $(EXTRA_HOST_FLAGS); do \
12390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 done; \
12392 echo "Doing clean in findutils" ; \
12393 (cd findutils && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12396 "RANLIB=$${RANLIB}" \
12397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12398 clean) \
12399 || exit 1
12402 .PHONY: maybe-clean-find clean-find
12403 maybe-clean-find:
12405 clean-find:
12406 @[ -f ./find/Makefile ] || exit 0; \
12407 r=`${PWD}`; export r; \
12408 s=`cd $(srcdir); ${PWD}`; export s; \
12409 $(SET_LIB_PATH) \
12410 for flag in $(EXTRA_HOST_FLAGS); do \
12411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12412 done; \
12413 echo "Doing clean in find" ; \
12414 (cd find && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12417 "RANLIB=$${RANLIB}" \
12418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12419 clean) \
12420 || exit 1
12423 .PHONY: maybe-clean-flex clean-flex
12424 maybe-clean-flex:
12426 clean-flex:
12427 @[ -f ./flex/Makefile ] || exit 0; \
12428 r=`${PWD}`; export r; \
12429 s=`cd $(srcdir); ${PWD}`; export s; \
12430 $(SET_LIB_PATH) \
12431 for flag in $(EXTRA_HOST_FLAGS); do \
12432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 done; \
12434 echo "Doing clean in flex" ; \
12435 (cd flex && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12438 "RANLIB=$${RANLIB}" \
12439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12440 clean) \
12441 || exit 1
12444 .PHONY: maybe-clean-gas clean-gas
12445 maybe-clean-gas:
12447 clean-gas:
12448 @[ -f ./gas/Makefile ] || exit 0; \
12449 r=`${PWD}`; export r; \
12450 s=`cd $(srcdir); ${PWD}`; export s; \
12451 $(SET_LIB_PATH) \
12452 for flag in $(EXTRA_HOST_FLAGS); do \
12453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12454 done; \
12455 echo "Doing clean in gas" ; \
12456 (cd gas && \
12457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12459 "RANLIB=$${RANLIB}" \
12460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12461 clean) \
12462 || exit 1
12465 .PHONY: maybe-clean-gawk clean-gawk
12466 maybe-clean-gawk:
12468 clean-gawk:
12469 @[ -f ./gawk/Makefile ] || exit 0; \
12470 r=`${PWD}`; export r; \
12471 s=`cd $(srcdir); ${PWD}`; export s; \
12472 $(SET_LIB_PATH) \
12473 for flag in $(EXTRA_HOST_FLAGS); do \
12474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12475 done; \
12476 echo "Doing clean in gawk" ; \
12477 (cd gawk && \
12478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12480 "RANLIB=$${RANLIB}" \
12481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12482 clean) \
12483 || exit 1
12486 .PHONY: maybe-clean-gettext clean-gettext
12487 maybe-clean-gettext:
12489 clean-gettext:
12490 @[ -f ./gettext/Makefile ] || exit 0; \
12491 r=`${PWD}`; export r; \
12492 s=`cd $(srcdir); ${PWD}`; export s; \
12493 $(SET_LIB_PATH) \
12494 for flag in $(EXTRA_HOST_FLAGS); do \
12495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 done; \
12497 echo "Doing clean in gettext" ; \
12498 (cd gettext && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12501 "RANLIB=$${RANLIB}" \
12502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12503 clean) \
12504 || exit 1
12507 .PHONY: maybe-clean-gnuserv clean-gnuserv
12508 maybe-clean-gnuserv:
12510 clean-gnuserv:
12511 @[ -f ./gnuserv/Makefile ] || exit 0; \
12512 r=`${PWD}`; export r; \
12513 s=`cd $(srcdir); ${PWD}`; export s; \
12514 $(SET_LIB_PATH) \
12515 for flag in $(EXTRA_HOST_FLAGS); do \
12516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12517 done; \
12518 echo "Doing clean in gnuserv" ; \
12519 (cd gnuserv && \
12520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12522 "RANLIB=$${RANLIB}" \
12523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12524 clean) \
12525 || exit 1
12528 .PHONY: maybe-clean-gprof clean-gprof
12529 maybe-clean-gprof:
12531 clean-gprof:
12532 @[ -f ./gprof/Makefile ] || exit 0; \
12533 r=`${PWD}`; export r; \
12534 s=`cd $(srcdir); ${PWD}`; export s; \
12535 $(SET_LIB_PATH) \
12536 for flag in $(EXTRA_HOST_FLAGS); do \
12537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12538 done; \
12539 echo "Doing clean in gprof" ; \
12540 (cd gprof && \
12541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12543 "RANLIB=$${RANLIB}" \
12544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12545 clean) \
12546 || exit 1
12549 .PHONY: maybe-clean-gzip clean-gzip
12550 maybe-clean-gzip:
12552 clean-gzip:
12553 @[ -f ./gzip/Makefile ] || exit 0; \
12554 r=`${PWD}`; export r; \
12555 s=`cd $(srcdir); ${PWD}`; export s; \
12556 $(SET_LIB_PATH) \
12557 for flag in $(EXTRA_HOST_FLAGS); do \
12558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 done; \
12560 echo "Doing clean in gzip" ; \
12561 (cd gzip && \
12562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12564 "RANLIB=$${RANLIB}" \
12565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12566 clean) \
12567 || exit 1
12570 .PHONY: maybe-clean-hello clean-hello
12571 maybe-clean-hello:
12573 clean-hello:
12574 @[ -f ./hello/Makefile ] || exit 0; \
12575 r=`${PWD}`; export r; \
12576 s=`cd $(srcdir); ${PWD}`; export s; \
12577 $(SET_LIB_PATH) \
12578 for flag in $(EXTRA_HOST_FLAGS); do \
12579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12580 done; \
12581 echo "Doing clean in hello" ; \
12582 (cd hello && \
12583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12585 "RANLIB=$${RANLIB}" \
12586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12587 clean) \
12588 || exit 1
12591 .PHONY: maybe-clean-indent clean-indent
12592 maybe-clean-indent:
12594 clean-indent:
12595 @[ -f ./indent/Makefile ] || exit 0; \
12596 r=`${PWD}`; export r; \
12597 s=`cd $(srcdir); ${PWD}`; export s; \
12598 $(SET_LIB_PATH) \
12599 for flag in $(EXTRA_HOST_FLAGS); do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing clean in indent" ; \
12603 (cd indent && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608 clean) \
12609 || exit 1
12612 .PHONY: maybe-clean-intl clean-intl
12613 maybe-clean-intl:
12615 clean-intl:
12616 @[ -f ./intl/Makefile ] || exit 0; \
12617 r=`${PWD}`; export r; \
12618 s=`cd $(srcdir); ${PWD}`; export s; \
12619 $(SET_LIB_PATH) \
12620 for flag in $(EXTRA_HOST_FLAGS); do \
12621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12622 done; \
12623 echo "Doing clean in intl" ; \
12624 (cd intl && \
12625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12627 "RANLIB=$${RANLIB}" \
12628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12629 clean) \
12630 || exit 1
12633 .PHONY: maybe-clean-tcl clean-tcl
12634 maybe-clean-tcl:
12636 clean-tcl:
12637 @[ -f ./tcl/Makefile ] || exit 0; \
12638 r=`${PWD}`; export r; \
12639 s=`cd $(srcdir); ${PWD}`; export s; \
12640 $(SET_LIB_PATH) \
12641 for flag in $(EXTRA_HOST_FLAGS); do \
12642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12643 done; \
12644 echo "Doing clean in tcl" ; \
12645 (cd tcl && \
12646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12648 "RANLIB=$${RANLIB}" \
12649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12650 clean) \
12651 || exit 1
12654 .PHONY: maybe-clean-itcl clean-itcl
12655 maybe-clean-itcl:
12657 clean-itcl:
12658 @[ -f ./itcl/Makefile ] || exit 0; \
12659 r=`${PWD}`; export r; \
12660 s=`cd $(srcdir); ${PWD}`; export s; \
12661 $(SET_LIB_PATH) \
12662 for flag in $(EXTRA_HOST_FLAGS); do \
12663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12664 done; \
12665 echo "Doing clean in itcl" ; \
12666 (cd itcl && \
12667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12669 "RANLIB=$${RANLIB}" \
12670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12671 clean) \
12672 || exit 1
12675 .PHONY: maybe-clean-ld clean-ld
12676 maybe-clean-ld:
12678 clean-ld:
12679 @[ -f ./ld/Makefile ] || exit 0; \
12680 r=`${PWD}`; export r; \
12681 s=`cd $(srcdir); ${PWD}`; export s; \
12682 $(SET_LIB_PATH) \
12683 for flag in $(EXTRA_HOST_FLAGS); do \
12684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12685 done; \
12686 echo "Doing clean in ld" ; \
12687 (cd ld && \
12688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12690 "RANLIB=$${RANLIB}" \
12691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12692 clean) \
12693 || exit 1
12696 .PHONY: maybe-clean-libgui clean-libgui
12697 maybe-clean-libgui:
12699 clean-libgui:
12700 @[ -f ./libgui/Makefile ] || exit 0; \
12701 r=`${PWD}`; export r; \
12702 s=`cd $(srcdir); ${PWD}`; export s; \
12703 $(SET_LIB_PATH) \
12704 for flag in $(EXTRA_HOST_FLAGS); do \
12705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12706 done; \
12707 echo "Doing clean in libgui" ; \
12708 (cd libgui && \
12709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12711 "RANLIB=$${RANLIB}" \
12712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12713 clean) \
12714 || exit 1
12717 .PHONY: maybe-clean-libiberty clean-libiberty
12718 maybe-clean-libiberty:
12720 clean-libiberty:
12721 @[ -f ./libiberty/Makefile ] || exit 0; \
12722 r=`${PWD}`; export r; \
12723 s=`cd $(srcdir); ${PWD}`; export s; \
12724 $(SET_LIB_PATH) \
12725 for flag in $(EXTRA_HOST_FLAGS); do \
12726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12727 done; \
12728 echo "Doing clean in libiberty" ; \
12729 (cd libiberty && \
12730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12732 "RANLIB=$${RANLIB}" \
12733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12734 clean) \
12735 || exit 1
12738 .PHONY: maybe-clean-libtool clean-libtool
12739 maybe-clean-libtool:
12741 clean-libtool:
12742 @[ -f ./libtool/Makefile ] || exit 0; \
12743 r=`${PWD}`; export r; \
12744 s=`cd $(srcdir); ${PWD}`; export s; \
12745 $(SET_LIB_PATH) \
12746 for flag in $(EXTRA_HOST_FLAGS); do \
12747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12748 done; \
12749 echo "Doing clean in libtool" ; \
12750 (cd libtool && \
12751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12753 "RANLIB=$${RANLIB}" \
12754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12755 clean) \
12756 || exit 1
12759 .PHONY: maybe-clean-m4 clean-m4
12760 maybe-clean-m4:
12762 clean-m4:
12763 @[ -f ./m4/Makefile ] || exit 0; \
12764 r=`${PWD}`; export r; \
12765 s=`cd $(srcdir); ${PWD}`; export s; \
12766 $(SET_LIB_PATH) \
12767 for flag in $(EXTRA_HOST_FLAGS); do \
12768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12769 done; \
12770 echo "Doing clean in m4" ; \
12771 (cd m4 && \
12772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12774 "RANLIB=$${RANLIB}" \
12775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12776 clean) \
12777 || exit 1
12780 .PHONY: maybe-clean-make clean-make
12781 maybe-clean-make:
12783 clean-make:
12784 @[ -f ./make/Makefile ] || exit 0; \
12785 r=`${PWD}`; export r; \
12786 s=`cd $(srcdir); ${PWD}`; export s; \
12787 $(SET_LIB_PATH) \
12788 for flag in $(EXTRA_HOST_FLAGS); do \
12789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12790 done; \
12791 echo "Doing clean in make" ; \
12792 (cd make && \
12793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12795 "RANLIB=$${RANLIB}" \
12796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12797 clean) \
12798 || exit 1
12801 .PHONY: maybe-clean-mmalloc clean-mmalloc
12802 maybe-clean-mmalloc:
12804 clean-mmalloc:
12805 @[ -f ./mmalloc/Makefile ] || exit 0; \
12806 r=`${PWD}`; export r; \
12807 s=`cd $(srcdir); ${PWD}`; export s; \
12808 $(SET_LIB_PATH) \
12809 for flag in $(EXTRA_HOST_FLAGS); do \
12810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12811 done; \
12812 echo "Doing clean in mmalloc" ; \
12813 (cd mmalloc && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12816 "RANLIB=$${RANLIB}" \
12817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12818 clean) \
12819 || exit 1
12822 .PHONY: maybe-clean-patch clean-patch
12823 maybe-clean-patch:
12825 clean-patch:
12826 @[ -f ./patch/Makefile ] || exit 0; \
12827 r=`${PWD}`; export r; \
12828 s=`cd $(srcdir); ${PWD}`; export s; \
12829 $(SET_LIB_PATH) \
12830 for flag in $(EXTRA_HOST_FLAGS); do \
12831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12832 done; \
12833 echo "Doing clean in patch" ; \
12834 (cd patch && \
12835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12837 "RANLIB=$${RANLIB}" \
12838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12839 clean) \
12840 || exit 1
12843 .PHONY: maybe-clean-perl clean-perl
12844 maybe-clean-perl:
12846 clean-perl:
12847 @[ -f ./perl/Makefile ] || exit 0; \
12848 r=`${PWD}`; export r; \
12849 s=`cd $(srcdir); ${PWD}`; export s; \
12850 $(SET_LIB_PATH) \
12851 for flag in $(EXTRA_HOST_FLAGS); do \
12852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12853 done; \
12854 echo "Doing clean in perl" ; \
12855 (cd perl && \
12856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12858 "RANLIB=$${RANLIB}" \
12859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12860 clean) \
12861 || exit 1
12864 .PHONY: maybe-clean-prms clean-prms
12865 maybe-clean-prms:
12867 clean-prms:
12868 @[ -f ./prms/Makefile ] || exit 0; \
12869 r=`${PWD}`; export r; \
12870 s=`cd $(srcdir); ${PWD}`; export s; \
12871 $(SET_LIB_PATH) \
12872 for flag in $(EXTRA_HOST_FLAGS); do \
12873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12874 done; \
12875 echo "Doing clean in prms" ; \
12876 (cd prms && \
12877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12879 "RANLIB=$${RANLIB}" \
12880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12881 clean) \
12882 || exit 1
12885 .PHONY: maybe-clean-rcs clean-rcs
12886 maybe-clean-rcs:
12888 clean-rcs:
12889 @[ -f ./rcs/Makefile ] || exit 0; \
12890 r=`${PWD}`; export r; \
12891 s=`cd $(srcdir); ${PWD}`; export s; \
12892 $(SET_LIB_PATH) \
12893 for flag in $(EXTRA_HOST_FLAGS); do \
12894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12895 done; \
12896 echo "Doing clean in rcs" ; \
12897 (cd rcs && \
12898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12900 "RANLIB=$${RANLIB}" \
12901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12902 clean) \
12903 || exit 1
12906 .PHONY: maybe-clean-readline clean-readline
12907 maybe-clean-readline:
12909 clean-readline:
12910 @[ -f ./readline/Makefile ] || exit 0; \
12911 r=`${PWD}`; export r; \
12912 s=`cd $(srcdir); ${PWD}`; export s; \
12913 $(SET_LIB_PATH) \
12914 for flag in $(EXTRA_HOST_FLAGS); do \
12915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12916 done; \
12917 echo "Doing clean in readline" ; \
12918 (cd readline && \
12919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12921 "RANLIB=$${RANLIB}" \
12922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12923 clean) \
12924 || exit 1
12927 .PHONY: maybe-clean-release clean-release
12928 maybe-clean-release:
12930 clean-release:
12931 @[ -f ./release/Makefile ] || exit 0; \
12932 r=`${PWD}`; export r; \
12933 s=`cd $(srcdir); ${PWD}`; export s; \
12934 $(SET_LIB_PATH) \
12935 for flag in $(EXTRA_HOST_FLAGS); do \
12936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12937 done; \
12938 echo "Doing clean in release" ; \
12939 (cd release && \
12940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12942 "RANLIB=$${RANLIB}" \
12943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12944 clean) \
12945 || exit 1
12948 .PHONY: maybe-clean-recode clean-recode
12949 maybe-clean-recode:
12951 clean-recode:
12952 @[ -f ./recode/Makefile ] || exit 0; \
12953 r=`${PWD}`; export r; \
12954 s=`cd $(srcdir); ${PWD}`; export s; \
12955 $(SET_LIB_PATH) \
12956 for flag in $(EXTRA_HOST_FLAGS); do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing clean in recode" ; \
12960 (cd recode && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12965 clean) \
12966 || exit 1
12969 .PHONY: maybe-clean-sed clean-sed
12970 maybe-clean-sed:
12972 clean-sed:
12973 @[ -f ./sed/Makefile ] || exit 0; \
12974 r=`${PWD}`; export r; \
12975 s=`cd $(srcdir); ${PWD}`; 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 clean in sed" ; \
12981 (cd sed && \
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 clean) \
12987 || exit 1
12990 .PHONY: maybe-clean-send-pr clean-send-pr
12991 maybe-clean-send-pr:
12993 clean-send-pr:
12994 @[ -f ./send-pr/Makefile ] || exit 0; \
12995 r=`${PWD}`; export r; \
12996 s=`cd $(srcdir); ${PWD}`; export s; \
12997 $(SET_LIB_PATH) \
12998 for flag in $(EXTRA_HOST_FLAGS); do \
12999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13000 done; \
13001 echo "Doing clean in send-pr" ; \
13002 (cd send-pr && \
13003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13005 "RANLIB=$${RANLIB}" \
13006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13007 clean) \
13008 || exit 1
13011 .PHONY: maybe-clean-shellutils clean-shellutils
13012 maybe-clean-shellutils:
13014 clean-shellutils:
13015 @[ -f ./shellutils/Makefile ] || exit 0; \
13016 r=`${PWD}`; export r; \
13017 s=`cd $(srcdir); ${PWD}`; export s; \
13018 $(SET_LIB_PATH) \
13019 for flag in $(EXTRA_HOST_FLAGS); do \
13020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13021 done; \
13022 echo "Doing clean in shellutils" ; \
13023 (cd shellutils && \
13024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13026 "RANLIB=$${RANLIB}" \
13027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13028 clean) \
13029 || exit 1
13032 .PHONY: maybe-clean-sid clean-sid
13033 maybe-clean-sid:
13035 clean-sid:
13036 @[ -f ./sid/Makefile ] || exit 0; \
13037 r=`${PWD}`; export r; \
13038 s=`cd $(srcdir); ${PWD}`; export s; \
13039 $(SET_LIB_PATH) \
13040 for flag in $(EXTRA_HOST_FLAGS); do \
13041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13042 done; \
13043 echo "Doing clean in sid" ; \
13044 (cd sid && \
13045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13047 "RANLIB=$${RANLIB}" \
13048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13049 clean) \
13050 || exit 1
13053 .PHONY: maybe-clean-sim clean-sim
13054 maybe-clean-sim:
13056 clean-sim:
13057 @[ -f ./sim/Makefile ] || exit 0; \
13058 r=`${PWD}`; export r; \
13059 s=`cd $(srcdir); ${PWD}`; export s; \
13060 $(SET_LIB_PATH) \
13061 for flag in $(EXTRA_HOST_FLAGS); do \
13062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13063 done; \
13064 echo "Doing clean in sim" ; \
13065 (cd sim && \
13066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13068 "RANLIB=$${RANLIB}" \
13069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13070 clean) \
13071 || exit 1
13074 .PHONY: maybe-clean-tar clean-tar
13075 maybe-clean-tar:
13077 clean-tar:
13078 @[ -f ./tar/Makefile ] || exit 0; \
13079 r=`${PWD}`; export r; \
13080 s=`cd $(srcdir); ${PWD}`; export s; \
13081 $(SET_LIB_PATH) \
13082 for flag in $(EXTRA_HOST_FLAGS); do \
13083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13084 done; \
13085 echo "Doing clean in tar" ; \
13086 (cd tar && \
13087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13089 "RANLIB=$${RANLIB}" \
13090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13091 clean) \
13092 || exit 1
13095 .PHONY: maybe-clean-texinfo clean-texinfo
13096 maybe-clean-texinfo:
13098 clean-texinfo:
13099 @[ -f ./texinfo/Makefile ] || exit 0; \
13100 r=`${PWD}`; export r; \
13101 s=`cd $(srcdir); ${PWD}`; export s; \
13102 $(SET_LIB_PATH) \
13103 for flag in $(EXTRA_HOST_FLAGS); do \
13104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13105 done; \
13106 echo "Doing clean in texinfo" ; \
13107 (cd texinfo && \
13108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13110 "RANLIB=$${RANLIB}" \
13111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13112 clean) \
13113 || exit 1
13116 .PHONY: maybe-clean-textutils clean-textutils
13117 maybe-clean-textutils:
13119 clean-textutils:
13120 @[ -f ./textutils/Makefile ] || exit 0; \
13121 r=`${PWD}`; export r; \
13122 s=`cd $(srcdir); ${PWD}`; export s; \
13123 $(SET_LIB_PATH) \
13124 for flag in $(EXTRA_HOST_FLAGS); do \
13125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13126 done; \
13127 echo "Doing clean in textutils" ; \
13128 (cd textutils && \
13129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13131 "RANLIB=$${RANLIB}" \
13132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13133 clean) \
13134 || exit 1
13137 .PHONY: maybe-clean-time clean-time
13138 maybe-clean-time:
13140 clean-time:
13141 @[ -f ./time/Makefile ] || exit 0; \
13142 r=`${PWD}`; export r; \
13143 s=`cd $(srcdir); ${PWD}`; export s; \
13144 $(SET_LIB_PATH) \
13145 for flag in $(EXTRA_HOST_FLAGS); do \
13146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13147 done; \
13148 echo "Doing clean in time" ; \
13149 (cd time && \
13150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13152 "RANLIB=$${RANLIB}" \
13153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13154 clean) \
13155 || exit 1
13158 .PHONY: maybe-clean-uudecode clean-uudecode
13159 maybe-clean-uudecode:
13161 clean-uudecode:
13162 @[ -f ./uudecode/Makefile ] || exit 0; \
13163 r=`${PWD}`; export r; \
13164 s=`cd $(srcdir); ${PWD}`; export s; \
13165 $(SET_LIB_PATH) \
13166 for flag in $(EXTRA_HOST_FLAGS); do \
13167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13168 done; \
13169 echo "Doing clean in uudecode" ; \
13170 (cd uudecode && \
13171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13173 "RANLIB=$${RANLIB}" \
13174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13175 clean) \
13176 || exit 1
13179 .PHONY: maybe-clean-wdiff clean-wdiff
13180 maybe-clean-wdiff:
13182 clean-wdiff:
13183 @[ -f ./wdiff/Makefile ] || exit 0; \
13184 r=`${PWD}`; export r; \
13185 s=`cd $(srcdir); ${PWD}`; export s; \
13186 $(SET_LIB_PATH) \
13187 for flag in $(EXTRA_HOST_FLAGS); do \
13188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13189 done; \
13190 echo "Doing clean in wdiff" ; \
13191 (cd wdiff && \
13192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13194 "RANLIB=$${RANLIB}" \
13195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13196 clean) \
13197 || exit 1
13200 .PHONY: maybe-clean-zip clean-zip
13201 maybe-clean-zip:
13203 clean-zip:
13204 @[ -f ./zip/Makefile ] || exit 0; \
13205 r=`${PWD}`; export r; \
13206 s=`cd $(srcdir); ${PWD}`; export s; \
13207 $(SET_LIB_PATH) \
13208 for flag in $(EXTRA_HOST_FLAGS); do \
13209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13210 done; \
13211 echo "Doing clean in zip" ; \
13212 (cd zip && \
13213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13215 "RANLIB=$${RANLIB}" \
13216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13217 clean) \
13218 || exit 1
13221 .PHONY: maybe-clean-zlib clean-zlib
13222 maybe-clean-zlib:
13224 clean-zlib:
13225 @[ -f ./zlib/Makefile ] || exit 0; \
13226 r=`${PWD}`; export r; \
13227 s=`cd $(srcdir); ${PWD}`; export s; \
13228 $(SET_LIB_PATH) \
13229 for flag in $(EXTRA_HOST_FLAGS); do \
13230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13231 done; \
13232 echo "Doing clean in zlib" ; \
13233 (cd zlib && \
13234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13236 "RANLIB=$${RANLIB}" \
13237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13238 clean) \
13239 || exit 1
13242 .PHONY: maybe-clean-gdb clean-gdb
13243 maybe-clean-gdb:
13245 clean-gdb:
13246 @[ -f ./gdb/Makefile ] || exit 0; \
13247 r=`${PWD}`; export r; \
13248 s=`cd $(srcdir); ${PWD}`; export s; \
13249 $(SET_LIB_PATH) \
13250 for flag in $(EXTRA_HOST_FLAGS); do \
13251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13252 done; \
13253 echo "Doing clean in gdb" ; \
13254 (cd gdb && \
13255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13257 "RANLIB=$${RANLIB}" \
13258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13259 clean) \
13260 || exit 1
13263 .PHONY: maybe-clean-expect clean-expect
13264 maybe-clean-expect:
13266 clean-expect:
13267 @[ -f ./expect/Makefile ] || exit 0; \
13268 r=`${PWD}`; export r; \
13269 s=`cd $(srcdir); ${PWD}`; export s; \
13270 $(SET_LIB_PATH) \
13271 for flag in $(EXTRA_HOST_FLAGS); do \
13272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13273 done; \
13274 echo "Doing clean in expect" ; \
13275 (cd expect && \
13276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13278 "RANLIB=$${RANLIB}" \
13279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13280 clean) \
13281 || exit 1
13284 .PHONY: maybe-clean-guile clean-guile
13285 maybe-clean-guile:
13287 clean-guile:
13288 @[ -f ./guile/Makefile ] || exit 0; \
13289 r=`${PWD}`; export r; \
13290 s=`cd $(srcdir); ${PWD}`; export s; \
13291 $(SET_LIB_PATH) \
13292 for flag in $(EXTRA_HOST_FLAGS); do \
13293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13294 done; \
13295 echo "Doing clean in guile" ; \
13296 (cd guile && \
13297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13299 "RANLIB=$${RANLIB}" \
13300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13301 clean) \
13302 || exit 1
13305 .PHONY: maybe-clean-tk clean-tk
13306 maybe-clean-tk:
13308 clean-tk:
13309 @[ -f ./tk/Makefile ] || exit 0; \
13310 r=`${PWD}`; export r; \
13311 s=`cd $(srcdir); ${PWD}`; export s; \
13312 $(SET_LIB_PATH) \
13313 for flag in $(EXTRA_HOST_FLAGS); do \
13314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13315 done; \
13316 echo "Doing clean in tk" ; \
13317 (cd tk && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13320 "RANLIB=$${RANLIB}" \
13321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 clean) \
13323 || exit 1
13326 .PHONY: maybe-clean-tix clean-tix
13327 maybe-clean-tix:
13329 clean-tix:
13330 @[ -f ./tix/Makefile ] || exit 0; \
13331 r=`${PWD}`; export r; \
13332 s=`cd $(srcdir); ${PWD}`; export s; \
13333 $(SET_LIB_PATH) \
13334 for flag in $(EXTRA_HOST_FLAGS); do \
13335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13336 done; \
13337 echo "Doing clean in tix" ; \
13338 (cd tix && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13341 "RANLIB=$${RANLIB}" \
13342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13343 clean) \
13344 || exit 1
13347 .PHONY: maybe-clean-libtermcap clean-libtermcap
13348 maybe-clean-libtermcap:
13350 # libtermcap doesn't support clean.
13351 clean-libtermcap:
13354 .PHONY: maybe-clean-utils clean-utils
13355 maybe-clean-utils:
13357 clean-utils:
13358 @[ -f ./utils/Makefile ] || exit 0; \
13359 r=`${PWD}`; export r; \
13360 s=`cd $(srcdir); ${PWD}`; export s; \
13361 $(SET_LIB_PATH) \
13362 for flag in $(EXTRA_HOST_FLAGS); do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing clean in utils" ; \
13366 (cd utils && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13371 clean) \
13372 || exit 1
13376 # Target modules.
13378 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
13379 maybe-clean-target-libstdc++-v3:
13381 clean-target-libstdc++-v3:
13382 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
13383 r=`${PWD}`; export r; \
13384 s=`cd $(srcdir); ${PWD}`; export s; \
13385 $(SET_LIB_PATH) \
13386 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
13387 for flag in $(EXTRA_TARGET_FLAGS); do \
13388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13389 done; \
13390 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 clean) \
13396 || exit 1
13399 .PHONY: maybe-clean-target-newlib clean-target-newlib
13400 maybe-clean-target-newlib:
13402 clean-target-newlib:
13403 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
13404 r=`${PWD}`; export r; \
13405 s=`cd $(srcdir); ${PWD}`; export s; \
13406 $(SET_LIB_PATH) \
13407 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
13408 for flag in $(EXTRA_TARGET_FLAGS); do \
13409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13410 done; \
13411 (cd $(TARGET_SUBDIR)/newlib && \
13412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13414 "RANLIB=$${RANLIB}" \
13415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13416 clean) \
13417 || exit 1
13420 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
13421 maybe-clean-target-libf2c:
13423 clean-target-libf2c:
13424 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
13425 r=`${PWD}`; export r; \
13426 s=`cd $(srcdir); ${PWD}`; export s; \
13427 $(SET_LIB_PATH) \
13428 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
13429 for flag in $(EXTRA_TARGET_FLAGS); do \
13430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13431 done; \
13432 (cd $(TARGET_SUBDIR)/libf2c && \
13433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13435 "RANLIB=$${RANLIB}" \
13436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13437 clean) \
13438 || exit 1
13441 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
13442 maybe-clean-target-libobjc:
13444 clean-target-libobjc:
13445 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
13446 r=`${PWD}`; export r; \
13447 s=`cd $(srcdir); ${PWD}`; export s; \
13448 $(SET_LIB_PATH) \
13449 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
13450 for flag in $(EXTRA_TARGET_FLAGS); do \
13451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13452 done; \
13453 (cd $(TARGET_SUBDIR)/libobjc && \
13454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13456 "RANLIB=$${RANLIB}" \
13457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13458 clean) \
13459 || exit 1
13462 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
13463 maybe-clean-target-libtermcap:
13465 # libtermcap doesn't support clean.
13466 clean-target-libtermcap:
13469 .PHONY: maybe-clean-target-winsup clean-target-winsup
13470 maybe-clean-target-winsup:
13472 clean-target-winsup:
13473 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
13474 r=`${PWD}`; export r; \
13475 s=`cd $(srcdir); ${PWD}`; export s; \
13476 $(SET_LIB_PATH) \
13477 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
13478 for flag in $(EXTRA_TARGET_FLAGS); do \
13479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13480 done; \
13481 (cd $(TARGET_SUBDIR)/winsup && \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13484 "RANLIB=$${RANLIB}" \
13485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13486 clean) \
13487 || exit 1
13490 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
13491 maybe-clean-target-libgloss:
13493 clean-target-libgloss:
13494 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
13495 r=`${PWD}`; export r; \
13496 s=`cd $(srcdir); ${PWD}`; export s; \
13497 $(SET_LIB_PATH) \
13498 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
13499 for flag in $(EXTRA_TARGET_FLAGS); do \
13500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13501 done; \
13502 (cd $(TARGET_SUBDIR)/libgloss && \
13503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13505 "RANLIB=$${RANLIB}" \
13506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13507 clean) \
13508 || exit 1
13511 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
13512 maybe-clean-target-libiberty:
13514 clean-target-libiberty:
13515 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
13516 r=`${PWD}`; export r; \
13517 s=`cd $(srcdir); ${PWD}`; export s; \
13518 $(SET_LIB_PATH) \
13519 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
13520 for flag in $(EXTRA_TARGET_FLAGS); do \
13521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13522 done; \
13523 (cd $(TARGET_SUBDIR)/libiberty && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 clean) \
13529 || exit 1
13532 .PHONY: maybe-clean-target-gperf clean-target-gperf
13533 maybe-clean-target-gperf:
13535 clean-target-gperf:
13536 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
13537 r=`${PWD}`; export r; \
13538 s=`cd $(srcdir); ${PWD}`; export s; \
13539 $(SET_LIB_PATH) \
13540 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
13541 for flag in $(EXTRA_TARGET_FLAGS); do \
13542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13543 done; \
13544 (cd $(TARGET_SUBDIR)/gperf && \
13545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13547 "RANLIB=$${RANLIB}" \
13548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13549 clean) \
13550 || exit 1
13553 .PHONY: maybe-clean-target-examples clean-target-examples
13554 maybe-clean-target-examples:
13556 clean-target-examples:
13557 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
13558 r=`${PWD}`; export r; \
13559 s=`cd $(srcdir); ${PWD}`; export s; \
13560 $(SET_LIB_PATH) \
13561 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
13562 for flag in $(EXTRA_TARGET_FLAGS); do \
13563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13564 done; \
13565 (cd $(TARGET_SUBDIR)/examples && \
13566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568 "RANLIB=$${RANLIB}" \
13569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13570 clean) \
13571 || exit 1
13574 .PHONY: maybe-clean-target-libffi clean-target-libffi
13575 maybe-clean-target-libffi:
13577 clean-target-libffi:
13578 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
13579 r=`${PWD}`; export r; \
13580 s=`cd $(srcdir); ${PWD}`; export s; \
13581 $(SET_LIB_PATH) \
13582 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
13583 for flag in $(EXTRA_TARGET_FLAGS); do \
13584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13585 done; \
13586 (cd $(TARGET_SUBDIR)/libffi && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13591 clean) \
13592 || exit 1
13595 .PHONY: maybe-clean-target-libjava clean-target-libjava
13596 maybe-clean-target-libjava:
13598 clean-target-libjava:
13599 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
13600 r=`${PWD}`; export r; \
13601 s=`cd $(srcdir); ${PWD}`; export s; \
13602 $(SET_LIB_PATH) \
13603 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
13604 for flag in $(EXTRA_TARGET_FLAGS); do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 (cd $(TARGET_SUBDIR)/libjava && \
13608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610 "RANLIB=$${RANLIB}" \
13611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13612 clean) \
13613 || exit 1
13616 .PHONY: maybe-clean-target-zlib clean-target-zlib
13617 maybe-clean-target-zlib:
13619 clean-target-zlib:
13620 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
13621 r=`${PWD}`; export r; \
13622 s=`cd $(srcdir); ${PWD}`; export s; \
13623 $(SET_LIB_PATH) \
13624 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
13625 for flag in $(EXTRA_TARGET_FLAGS); do \
13626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13627 done; \
13628 (cd $(TARGET_SUBDIR)/zlib && \
13629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13631 "RANLIB=$${RANLIB}" \
13632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13633 clean) \
13634 || exit 1
13637 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
13638 maybe-clean-target-boehm-gc:
13640 clean-target-boehm-gc:
13641 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
13642 r=`${PWD}`; export r; \
13643 s=`cd $(srcdir); ${PWD}`; export s; \
13644 $(SET_LIB_PATH) \
13645 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
13646 for flag in $(EXTRA_TARGET_FLAGS); do \
13647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13648 done; \
13649 (cd $(TARGET_SUBDIR)/boehm-gc && \
13650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13652 "RANLIB=$${RANLIB}" \
13653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13654 clean) \
13655 || exit 1
13658 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
13659 maybe-clean-target-qthreads:
13661 clean-target-qthreads:
13662 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
13663 r=`${PWD}`; export r; \
13664 s=`cd $(srcdir); ${PWD}`; export s; \
13665 $(SET_LIB_PATH) \
13666 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
13667 for flag in $(EXTRA_TARGET_FLAGS); do \
13668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13669 done; \
13670 (cd $(TARGET_SUBDIR)/qthreads && \
13671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13673 "RANLIB=$${RANLIB}" \
13674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13675 clean) \
13676 || exit 1
13679 .PHONY: maybe-clean-target-rda clean-target-rda
13680 maybe-clean-target-rda:
13682 clean-target-rda:
13683 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
13684 r=`${PWD}`; export r; \
13685 s=`cd $(srcdir); ${PWD}`; export s; \
13686 $(SET_LIB_PATH) \
13687 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
13688 for flag in $(EXTRA_TARGET_FLAGS); do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 (cd $(TARGET_SUBDIR)/rda && \
13692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13694 "RANLIB=$${RANLIB}" \
13695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13696 clean) \
13697 || exit 1
13701 .PHONY: do-distclean
13702 do-distclean: distclean-host distclean-target
13704 .PHONY: distclean-host
13705 distclean-host: maybe-distclean-gcc \
13706 maybe-distclean-ash \
13707 maybe-distclean-autoconf \
13708 maybe-distclean-automake \
13709 maybe-distclean-bash \
13710 maybe-distclean-bfd \
13711 maybe-distclean-opcodes \
13712 maybe-distclean-binutils \
13713 maybe-distclean-bison \
13714 maybe-distclean-byacc \
13715 maybe-distclean-bzip2 \
13716 maybe-distclean-dejagnu \
13717 maybe-distclean-diff \
13718 maybe-distclean-dosutils \
13719 maybe-distclean-etc \
13720 maybe-distclean-fastjar \
13721 maybe-distclean-fileutils \
13722 maybe-distclean-findutils \
13723 maybe-distclean-find \
13724 maybe-distclean-flex \
13725 maybe-distclean-gas \
13726 maybe-distclean-gawk \
13727 maybe-distclean-gettext \
13728 maybe-distclean-gnuserv \
13729 maybe-distclean-gprof \
13730 maybe-distclean-gzip \
13731 maybe-distclean-hello \
13732 maybe-distclean-indent \
13733 maybe-distclean-intl \
13734 maybe-distclean-tcl \
13735 maybe-distclean-itcl \
13736 maybe-distclean-ld \
13737 maybe-distclean-libgui \
13738 maybe-distclean-libiberty \
13739 maybe-distclean-libtool \
13740 maybe-distclean-m4 \
13741 maybe-distclean-make \
13742 maybe-distclean-mmalloc \
13743 maybe-distclean-patch \
13744 maybe-distclean-perl \
13745 maybe-distclean-prms \
13746 maybe-distclean-rcs \
13747 maybe-distclean-readline \
13748 maybe-distclean-release \
13749 maybe-distclean-recode \
13750 maybe-distclean-sed \
13751 maybe-distclean-send-pr \
13752 maybe-distclean-shellutils \
13753 maybe-distclean-sid \
13754 maybe-distclean-sim \
13755 maybe-distclean-tar \
13756 maybe-distclean-texinfo \
13757 maybe-distclean-textutils \
13758 maybe-distclean-time \
13759 maybe-distclean-uudecode \
13760 maybe-distclean-wdiff \
13761 maybe-distclean-zip \
13762 maybe-distclean-zlib \
13763 maybe-distclean-gdb \
13764 maybe-distclean-expect \
13765 maybe-distclean-guile \
13766 maybe-distclean-tk \
13767 maybe-distclean-tix \
13768 maybe-distclean-libtermcap \
13769 maybe-distclean-utils
13771 .PHONY: distclean-target
13772 distclean-target: \
13773 maybe-distclean-target-libstdc++-v3 \
13774 maybe-distclean-target-newlib \
13775 maybe-distclean-target-libf2c \
13776 maybe-distclean-target-libobjc \
13777 maybe-distclean-target-libtermcap \
13778 maybe-distclean-target-winsup \
13779 maybe-distclean-target-libgloss \
13780 maybe-distclean-target-libiberty \
13781 maybe-distclean-target-gperf \
13782 maybe-distclean-target-examples \
13783 maybe-distclean-target-libffi \
13784 maybe-distclean-target-libjava \
13785 maybe-distclean-target-zlib \
13786 maybe-distclean-target-boehm-gc \
13787 maybe-distclean-target-qthreads \
13788 maybe-distclean-target-rda
13790 # GCC, the eternal special case
13791 .PHONY: maybe-distclean-gcc distclean-gcc
13792 maybe-distclean-gcc:
13793 distclean-gcc:
13794 @[ -f ./gcc/Makefile ] || exit 0; \
13795 r=`${PWD}`; export r; \
13796 s=`cd $(srcdir); ${PWD}`; export s; \
13797 $(SET_LIB_PATH) \
13798 for flag in $(EXTRA_GCC_FLAGS); do \
13799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13800 done; \
13801 echo "Doing distclean in gcc" ; \
13802 (cd gcc && \
13803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13805 "RANLIB=$${RANLIB}" \
13806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13807 distclean) \
13808 || exit 1
13810 # Host modules.
13812 .PHONY: maybe-distclean-ash distclean-ash
13813 maybe-distclean-ash:
13815 distclean-ash:
13816 @[ -f ./ash/Makefile ] || exit 0; \
13817 r=`${PWD}`; export r; \
13818 s=`cd $(srcdir); ${PWD}`; export s; \
13819 $(SET_LIB_PATH) \
13820 for flag in $(EXTRA_HOST_FLAGS); do \
13821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13822 done; \
13823 echo "Doing distclean in ash" ; \
13824 (cd ash && \
13825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13827 "RANLIB=$${RANLIB}" \
13828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13829 distclean) \
13830 || exit 1
13833 .PHONY: maybe-distclean-autoconf distclean-autoconf
13834 maybe-distclean-autoconf:
13836 distclean-autoconf:
13837 @[ -f ./autoconf/Makefile ] || exit 0; \
13838 r=`${PWD}`; export r; \
13839 s=`cd $(srcdir); ${PWD}`; export s; \
13840 $(SET_LIB_PATH) \
13841 for flag in $(EXTRA_HOST_FLAGS); do \
13842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13843 done; \
13844 echo "Doing distclean in autoconf" ; \
13845 (cd autoconf && \
13846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13848 "RANLIB=$${RANLIB}" \
13849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13850 distclean) \
13851 || exit 1
13854 .PHONY: maybe-distclean-automake distclean-automake
13855 maybe-distclean-automake:
13857 distclean-automake:
13858 @[ -f ./automake/Makefile ] || exit 0; \
13859 r=`${PWD}`; export r; \
13860 s=`cd $(srcdir); ${PWD}`; export s; \
13861 $(SET_LIB_PATH) \
13862 for flag in $(EXTRA_HOST_FLAGS); do \
13863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13864 done; \
13865 echo "Doing distclean in automake" ; \
13866 (cd automake && \
13867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13869 "RANLIB=$${RANLIB}" \
13870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13871 distclean) \
13872 || exit 1
13875 .PHONY: maybe-distclean-bash distclean-bash
13876 maybe-distclean-bash:
13878 distclean-bash:
13879 @[ -f ./bash/Makefile ] || exit 0; \
13880 r=`${PWD}`; export r; \
13881 s=`cd $(srcdir); ${PWD}`; export s; \
13882 $(SET_LIB_PATH) \
13883 for flag in $(EXTRA_HOST_FLAGS); do \
13884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13885 done; \
13886 echo "Doing distclean in bash" ; \
13887 (cd bash && \
13888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13890 "RANLIB=$${RANLIB}" \
13891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13892 distclean) \
13893 || exit 1
13896 .PHONY: maybe-distclean-bfd distclean-bfd
13897 maybe-distclean-bfd:
13899 distclean-bfd:
13900 @[ -f ./bfd/Makefile ] || exit 0; \
13901 r=`${PWD}`; export r; \
13902 s=`cd $(srcdir); ${PWD}`; export s; \
13903 $(SET_LIB_PATH) \
13904 for flag in $(EXTRA_HOST_FLAGS); do \
13905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13906 done; \
13907 echo "Doing distclean in bfd" ; \
13908 (cd bfd && \
13909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13911 "RANLIB=$${RANLIB}" \
13912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13913 distclean) \
13914 || exit 1
13917 .PHONY: maybe-distclean-opcodes distclean-opcodes
13918 maybe-distclean-opcodes:
13920 distclean-opcodes:
13921 @[ -f ./opcodes/Makefile ] || exit 0; \
13922 r=`${PWD}`; export r; \
13923 s=`cd $(srcdir); ${PWD}`; export s; \
13924 $(SET_LIB_PATH) \
13925 for flag in $(EXTRA_HOST_FLAGS); do \
13926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13927 done; \
13928 echo "Doing distclean in opcodes" ; \
13929 (cd opcodes && \
13930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13932 "RANLIB=$${RANLIB}" \
13933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13934 distclean) \
13935 || exit 1
13938 .PHONY: maybe-distclean-binutils distclean-binutils
13939 maybe-distclean-binutils:
13941 distclean-binutils:
13942 @[ -f ./binutils/Makefile ] || exit 0; \
13943 r=`${PWD}`; export r; \
13944 s=`cd $(srcdir); ${PWD}`; export s; \
13945 $(SET_LIB_PATH) \
13946 for flag in $(EXTRA_HOST_FLAGS); do \
13947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13948 done; \
13949 echo "Doing distclean in binutils" ; \
13950 (cd binutils && \
13951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13953 "RANLIB=$${RANLIB}" \
13954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13955 distclean) \
13956 || exit 1
13959 .PHONY: maybe-distclean-bison distclean-bison
13960 maybe-distclean-bison:
13962 distclean-bison:
13963 @[ -f ./bison/Makefile ] || exit 0; \
13964 r=`${PWD}`; export r; \
13965 s=`cd $(srcdir); ${PWD}`; export s; \
13966 $(SET_LIB_PATH) \
13967 for flag in $(EXTRA_HOST_FLAGS); do \
13968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13969 done; \
13970 echo "Doing distclean in bison" ; \
13971 (cd bison && \
13972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13974 "RANLIB=$${RANLIB}" \
13975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13976 distclean) \
13977 || exit 1
13980 .PHONY: maybe-distclean-byacc distclean-byacc
13981 maybe-distclean-byacc:
13983 distclean-byacc:
13984 @[ -f ./byacc/Makefile ] || exit 0; \
13985 r=`${PWD}`; export r; \
13986 s=`cd $(srcdir); ${PWD}`; export s; \
13987 $(SET_LIB_PATH) \
13988 for flag in $(EXTRA_HOST_FLAGS); do \
13989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13990 done; \
13991 echo "Doing distclean in byacc" ; \
13992 (cd byacc && \
13993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13995 "RANLIB=$${RANLIB}" \
13996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13997 distclean) \
13998 || exit 1
14001 .PHONY: maybe-distclean-bzip2 distclean-bzip2
14002 maybe-distclean-bzip2:
14004 distclean-bzip2:
14005 @[ -f ./bzip2/Makefile ] || exit 0; \
14006 r=`${PWD}`; export r; \
14007 s=`cd $(srcdir); ${PWD}`; export s; \
14008 $(SET_LIB_PATH) \
14009 for flag in $(EXTRA_HOST_FLAGS); do \
14010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14011 done; \
14012 echo "Doing distclean in bzip2" ; \
14013 (cd bzip2 && \
14014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14016 "RANLIB=$${RANLIB}" \
14017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14018 distclean) \
14019 || exit 1
14022 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
14023 maybe-distclean-dejagnu:
14025 distclean-dejagnu:
14026 @[ -f ./dejagnu/Makefile ] || exit 0; \
14027 r=`${PWD}`; export r; \
14028 s=`cd $(srcdir); ${PWD}`; export s; \
14029 $(SET_LIB_PATH) \
14030 for flag in $(EXTRA_HOST_FLAGS); do \
14031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14032 done; \
14033 echo "Doing distclean in dejagnu" ; \
14034 (cd dejagnu && \
14035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14037 "RANLIB=$${RANLIB}" \
14038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14039 distclean) \
14040 || exit 1
14043 .PHONY: maybe-distclean-diff distclean-diff
14044 maybe-distclean-diff:
14046 distclean-diff:
14047 @[ -f ./diff/Makefile ] || exit 0; \
14048 r=`${PWD}`; export r; \
14049 s=`cd $(srcdir); ${PWD}`; export s; \
14050 $(SET_LIB_PATH) \
14051 for flag in $(EXTRA_HOST_FLAGS); do \
14052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14053 done; \
14054 echo "Doing distclean in diff" ; \
14055 (cd diff && \
14056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14058 "RANLIB=$${RANLIB}" \
14059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14060 distclean) \
14061 || exit 1
14064 .PHONY: maybe-distclean-dosutils distclean-dosutils
14065 maybe-distclean-dosutils:
14067 distclean-dosutils:
14068 @[ -f ./dosutils/Makefile ] || exit 0; \
14069 r=`${PWD}`; export r; \
14070 s=`cd $(srcdir); ${PWD}`; export s; \
14071 $(SET_LIB_PATH) \
14072 for flag in $(EXTRA_HOST_FLAGS); do \
14073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14074 done; \
14075 echo "Doing distclean in dosutils" ; \
14076 (cd dosutils && \
14077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14079 "RANLIB=$${RANLIB}" \
14080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14081 distclean) \
14082 || exit 1
14085 .PHONY: maybe-distclean-etc distclean-etc
14086 maybe-distclean-etc:
14088 distclean-etc:
14089 @[ -f ./etc/Makefile ] || exit 0; \
14090 r=`${PWD}`; export r; \
14091 s=`cd $(srcdir); ${PWD}`; export s; \
14092 $(SET_LIB_PATH) \
14093 for flag in $(EXTRA_HOST_FLAGS); do \
14094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14095 done; \
14096 echo "Doing distclean in etc" ; \
14097 (cd etc && \
14098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14100 "RANLIB=$${RANLIB}" \
14101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14102 distclean) \
14103 || exit 1
14106 .PHONY: maybe-distclean-fastjar distclean-fastjar
14107 maybe-distclean-fastjar:
14109 distclean-fastjar:
14110 @[ -f ./fastjar/Makefile ] || exit 0; \
14111 r=`${PWD}`; export r; \
14112 s=`cd $(srcdir); ${PWD}`; export s; \
14113 $(SET_LIB_PATH) \
14114 for flag in $(EXTRA_HOST_FLAGS); do \
14115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14116 done; \
14117 echo "Doing distclean in fastjar" ; \
14118 (cd fastjar && \
14119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14121 "RANLIB=$${RANLIB}" \
14122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14123 distclean) \
14124 || exit 1
14127 .PHONY: maybe-distclean-fileutils distclean-fileutils
14128 maybe-distclean-fileutils:
14130 distclean-fileutils:
14131 @[ -f ./fileutils/Makefile ] || exit 0; \
14132 r=`${PWD}`; export r; \
14133 s=`cd $(srcdir); ${PWD}`; export s; \
14134 $(SET_LIB_PATH) \
14135 for flag in $(EXTRA_HOST_FLAGS); do \
14136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14137 done; \
14138 echo "Doing distclean in fileutils" ; \
14139 (cd fileutils && \
14140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14142 "RANLIB=$${RANLIB}" \
14143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14144 distclean) \
14145 || exit 1
14148 .PHONY: maybe-distclean-findutils distclean-findutils
14149 maybe-distclean-findutils:
14151 distclean-findutils:
14152 @[ -f ./findutils/Makefile ] || exit 0; \
14153 r=`${PWD}`; export r; \
14154 s=`cd $(srcdir); ${PWD}`; export s; \
14155 $(SET_LIB_PATH) \
14156 for flag in $(EXTRA_HOST_FLAGS); do \
14157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158 done; \
14159 echo "Doing distclean in findutils" ; \
14160 (cd findutils && \
14161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14163 "RANLIB=$${RANLIB}" \
14164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14165 distclean) \
14166 || exit 1
14169 .PHONY: maybe-distclean-find distclean-find
14170 maybe-distclean-find:
14172 distclean-find:
14173 @[ -f ./find/Makefile ] || exit 0; \
14174 r=`${PWD}`; export r; \
14175 s=`cd $(srcdir); ${PWD}`; export s; \
14176 $(SET_LIB_PATH) \
14177 for flag in $(EXTRA_HOST_FLAGS); do \
14178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14179 done; \
14180 echo "Doing distclean in find" ; \
14181 (cd find && \
14182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14184 "RANLIB=$${RANLIB}" \
14185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14186 distclean) \
14187 || exit 1
14190 .PHONY: maybe-distclean-flex distclean-flex
14191 maybe-distclean-flex:
14193 distclean-flex:
14194 @[ -f ./flex/Makefile ] || exit 0; \
14195 r=`${PWD}`; export r; \
14196 s=`cd $(srcdir); ${PWD}`; export s; \
14197 $(SET_LIB_PATH) \
14198 for flag in $(EXTRA_HOST_FLAGS); do \
14199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14200 done; \
14201 echo "Doing distclean in flex" ; \
14202 (cd flex && \
14203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14205 "RANLIB=$${RANLIB}" \
14206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14207 distclean) \
14208 || exit 1
14211 .PHONY: maybe-distclean-gas distclean-gas
14212 maybe-distclean-gas:
14214 distclean-gas:
14215 @[ -f ./gas/Makefile ] || exit 0; \
14216 r=`${PWD}`; export r; \
14217 s=`cd $(srcdir); ${PWD}`; export s; \
14218 $(SET_LIB_PATH) \
14219 for flag in $(EXTRA_HOST_FLAGS); do \
14220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14221 done; \
14222 echo "Doing distclean in gas" ; \
14223 (cd gas && \
14224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14226 "RANLIB=$${RANLIB}" \
14227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14228 distclean) \
14229 || exit 1
14232 .PHONY: maybe-distclean-gawk distclean-gawk
14233 maybe-distclean-gawk:
14235 distclean-gawk:
14236 @[ -f ./gawk/Makefile ] || exit 0; \
14237 r=`${PWD}`; export r; \
14238 s=`cd $(srcdir); ${PWD}`; export s; \
14239 $(SET_LIB_PATH) \
14240 for flag in $(EXTRA_HOST_FLAGS); do \
14241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14242 done; \
14243 echo "Doing distclean in gawk" ; \
14244 (cd gawk && \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14247 "RANLIB=$${RANLIB}" \
14248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14249 distclean) \
14250 || exit 1
14253 .PHONY: maybe-distclean-gettext distclean-gettext
14254 maybe-distclean-gettext:
14256 distclean-gettext:
14257 @[ -f ./gettext/Makefile ] || exit 0; \
14258 r=`${PWD}`; export r; \
14259 s=`cd $(srcdir); ${PWD}`; export s; \
14260 $(SET_LIB_PATH) \
14261 for flag in $(EXTRA_HOST_FLAGS); do \
14262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14263 done; \
14264 echo "Doing distclean in gettext" ; \
14265 (cd gettext && \
14266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268 "RANLIB=$${RANLIB}" \
14269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14270 distclean) \
14271 || exit 1
14274 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14275 maybe-distclean-gnuserv:
14277 distclean-gnuserv:
14278 @[ -f ./gnuserv/Makefile ] || exit 0; \
14279 r=`${PWD}`; export r; \
14280 s=`cd $(srcdir); ${PWD}`; export s; \
14281 $(SET_LIB_PATH) \
14282 for flag in $(EXTRA_HOST_FLAGS); do \
14283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14284 done; \
14285 echo "Doing distclean in gnuserv" ; \
14286 (cd gnuserv && \
14287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14289 "RANLIB=$${RANLIB}" \
14290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14291 distclean) \
14292 || exit 1
14295 .PHONY: maybe-distclean-gprof distclean-gprof
14296 maybe-distclean-gprof:
14298 distclean-gprof:
14299 @[ -f ./gprof/Makefile ] || exit 0; \
14300 r=`${PWD}`; export r; \
14301 s=`cd $(srcdir); ${PWD}`; export s; \
14302 $(SET_LIB_PATH) \
14303 for flag in $(EXTRA_HOST_FLAGS); do \
14304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14305 done; \
14306 echo "Doing distclean in gprof" ; \
14307 (cd gprof && \
14308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14310 "RANLIB=$${RANLIB}" \
14311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14312 distclean) \
14313 || exit 1
14316 .PHONY: maybe-distclean-gzip distclean-gzip
14317 maybe-distclean-gzip:
14319 distclean-gzip:
14320 @[ -f ./gzip/Makefile ] || exit 0; \
14321 r=`${PWD}`; export r; \
14322 s=`cd $(srcdir); ${PWD}`; export s; \
14323 $(SET_LIB_PATH) \
14324 for flag in $(EXTRA_HOST_FLAGS); do \
14325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14326 done; \
14327 echo "Doing distclean in gzip" ; \
14328 (cd gzip && \
14329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14331 "RANLIB=$${RANLIB}" \
14332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14333 distclean) \
14334 || exit 1
14337 .PHONY: maybe-distclean-hello distclean-hello
14338 maybe-distclean-hello:
14340 distclean-hello:
14341 @[ -f ./hello/Makefile ] || exit 0; \
14342 r=`${PWD}`; export r; \
14343 s=`cd $(srcdir); ${PWD}`; export s; \
14344 $(SET_LIB_PATH) \
14345 for flag in $(EXTRA_HOST_FLAGS); do \
14346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 done; \
14348 echo "Doing distclean in hello" ; \
14349 (cd hello && \
14350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14352 "RANLIB=$${RANLIB}" \
14353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14354 distclean) \
14355 || exit 1
14358 .PHONY: maybe-distclean-indent distclean-indent
14359 maybe-distclean-indent:
14361 distclean-indent:
14362 @[ -f ./indent/Makefile ] || exit 0; \
14363 r=`${PWD}`; export r; \
14364 s=`cd $(srcdir); ${PWD}`; 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 distclean in indent" ; \
14370 (cd indent && \
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 distclean) \
14376 || exit 1
14379 .PHONY: maybe-distclean-intl distclean-intl
14380 maybe-distclean-intl:
14382 distclean-intl:
14383 @[ -f ./intl/Makefile ] || exit 0; \
14384 r=`${PWD}`; export r; \
14385 s=`cd $(srcdir); ${PWD}`; 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 distclean in intl" ; \
14391 (cd intl && \
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 distclean) \
14397 || exit 1
14400 .PHONY: maybe-distclean-tcl distclean-tcl
14401 maybe-distclean-tcl:
14403 distclean-tcl:
14404 @[ -f ./tcl/Makefile ] || exit 0; \
14405 r=`${PWD}`; export r; \
14406 s=`cd $(srcdir); ${PWD}`; 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 distclean in tcl" ; \
14412 (cd tcl && \
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 distclean) \
14418 || exit 1
14421 .PHONY: maybe-distclean-itcl distclean-itcl
14422 maybe-distclean-itcl:
14424 distclean-itcl:
14425 @[ -f ./itcl/Makefile ] || exit 0; \
14426 r=`${PWD}`; export r; \
14427 s=`cd $(srcdir); ${PWD}`; 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 itcl" ; \
14433 (cd itcl && \
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
14442 .PHONY: maybe-distclean-ld distclean-ld
14443 maybe-distclean-ld:
14445 distclean-ld:
14446 @[ -f ./ld/Makefile ] || exit 0; \
14447 r=`${PWD}`; export r; \
14448 s=`cd $(srcdir); ${PWD}`; 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 distclean in ld" ; \
14454 (cd ld && \
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 distclean) \
14460 || exit 1
14463 .PHONY: maybe-distclean-libgui distclean-libgui
14464 maybe-distclean-libgui:
14466 distclean-libgui:
14467 @[ -f ./libgui/Makefile ] || exit 0; \
14468 r=`${PWD}`; export r; \
14469 s=`cd $(srcdir); ${PWD}`; export s; \
14470 $(SET_LIB_PATH) \
14471 for flag in $(EXTRA_HOST_FLAGS); do \
14472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14473 done; \
14474 echo "Doing distclean in libgui" ; \
14475 (cd libgui && \
14476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14478 "RANLIB=$${RANLIB}" \
14479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14480 distclean) \
14481 || exit 1
14484 .PHONY: maybe-distclean-libiberty distclean-libiberty
14485 maybe-distclean-libiberty:
14487 distclean-libiberty:
14488 @[ -f ./libiberty/Makefile ] || exit 0; \
14489 r=`${PWD}`; export r; \
14490 s=`cd $(srcdir); ${PWD}`; export s; \
14491 $(SET_LIB_PATH) \
14492 for flag in $(EXTRA_HOST_FLAGS); do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing distclean in libiberty" ; \
14496 (cd libiberty && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14501 distclean) \
14502 || exit 1
14505 .PHONY: maybe-distclean-libtool distclean-libtool
14506 maybe-distclean-libtool:
14508 distclean-libtool:
14509 @[ -f ./libtool/Makefile ] || exit 0; \
14510 r=`${PWD}`; export r; \
14511 s=`cd $(srcdir); ${PWD}`; export s; \
14512 $(SET_LIB_PATH) \
14513 for flag in $(EXTRA_HOST_FLAGS); do \
14514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14515 done; \
14516 echo "Doing distclean in libtool" ; \
14517 (cd libtool && \
14518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14520 "RANLIB=$${RANLIB}" \
14521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14522 distclean) \
14523 || exit 1
14526 .PHONY: maybe-distclean-m4 distclean-m4
14527 maybe-distclean-m4:
14529 distclean-m4:
14530 @[ -f ./m4/Makefile ] || exit 0; \
14531 r=`${PWD}`; export r; \
14532 s=`cd $(srcdir); ${PWD}`; export s; \
14533 $(SET_LIB_PATH) \
14534 for flag in $(EXTRA_HOST_FLAGS); do \
14535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14536 done; \
14537 echo "Doing distclean in m4" ; \
14538 (cd m4 && \
14539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14541 "RANLIB=$${RANLIB}" \
14542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14543 distclean) \
14544 || exit 1
14547 .PHONY: maybe-distclean-make distclean-make
14548 maybe-distclean-make:
14550 distclean-make:
14551 @[ -f ./make/Makefile ] || exit 0; \
14552 r=`${PWD}`; export r; \
14553 s=`cd $(srcdir); ${PWD}`; export s; \
14554 $(SET_LIB_PATH) \
14555 for flag in $(EXTRA_HOST_FLAGS); do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing distclean in make" ; \
14559 (cd make && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14564 distclean) \
14565 || exit 1
14568 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14569 maybe-distclean-mmalloc:
14571 distclean-mmalloc:
14572 @[ -f ./mmalloc/Makefile ] || exit 0; \
14573 r=`${PWD}`; export r; \
14574 s=`cd $(srcdir); ${PWD}`; export s; \
14575 $(SET_LIB_PATH) \
14576 for flag in $(EXTRA_HOST_FLAGS); do \
14577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14578 done; \
14579 echo "Doing distclean in mmalloc" ; \
14580 (cd mmalloc && \
14581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14583 "RANLIB=$${RANLIB}" \
14584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14585 distclean) \
14586 || exit 1
14589 .PHONY: maybe-distclean-patch distclean-patch
14590 maybe-distclean-patch:
14592 distclean-patch:
14593 @[ -f ./patch/Makefile ] || exit 0; \
14594 r=`${PWD}`; export r; \
14595 s=`cd $(srcdir); ${PWD}`; export s; \
14596 $(SET_LIB_PATH) \
14597 for flag in $(EXTRA_HOST_FLAGS); do \
14598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14599 done; \
14600 echo "Doing distclean in patch" ; \
14601 (cd patch && \
14602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14604 "RANLIB=$${RANLIB}" \
14605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14606 distclean) \
14607 || exit 1
14610 .PHONY: maybe-distclean-perl distclean-perl
14611 maybe-distclean-perl:
14613 distclean-perl:
14614 @[ -f ./perl/Makefile ] || exit 0; \
14615 r=`${PWD}`; export r; \
14616 s=`cd $(srcdir); ${PWD}`; export s; \
14617 $(SET_LIB_PATH) \
14618 for flag in $(EXTRA_HOST_FLAGS); do \
14619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14620 done; \
14621 echo "Doing distclean in perl" ; \
14622 (cd perl && \
14623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14625 "RANLIB=$${RANLIB}" \
14626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14627 distclean) \
14628 || exit 1
14631 .PHONY: maybe-distclean-prms distclean-prms
14632 maybe-distclean-prms:
14634 distclean-prms:
14635 @[ -f ./prms/Makefile ] || exit 0; \
14636 r=`${PWD}`; export r; \
14637 s=`cd $(srcdir); ${PWD}`; export s; \
14638 $(SET_LIB_PATH) \
14639 for flag in $(EXTRA_HOST_FLAGS); do \
14640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14641 done; \
14642 echo "Doing distclean in prms" ; \
14643 (cd prms && \
14644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14646 "RANLIB=$${RANLIB}" \
14647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14648 distclean) \
14649 || exit 1
14652 .PHONY: maybe-distclean-rcs distclean-rcs
14653 maybe-distclean-rcs:
14655 distclean-rcs:
14656 @[ -f ./rcs/Makefile ] || exit 0; \
14657 r=`${PWD}`; export r; \
14658 s=`cd $(srcdir); ${PWD}`; export s; \
14659 $(SET_LIB_PATH) \
14660 for flag in $(EXTRA_HOST_FLAGS); do \
14661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14662 done; \
14663 echo "Doing distclean in rcs" ; \
14664 (cd rcs && \
14665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14667 "RANLIB=$${RANLIB}" \
14668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14669 distclean) \
14670 || exit 1
14673 .PHONY: maybe-distclean-readline distclean-readline
14674 maybe-distclean-readline:
14676 distclean-readline:
14677 @[ -f ./readline/Makefile ] || exit 0; \
14678 r=`${PWD}`; export r; \
14679 s=`cd $(srcdir); ${PWD}`; export s; \
14680 $(SET_LIB_PATH) \
14681 for flag in $(EXTRA_HOST_FLAGS); do \
14682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14683 done; \
14684 echo "Doing distclean in readline" ; \
14685 (cd readline && \
14686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14688 "RANLIB=$${RANLIB}" \
14689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14690 distclean) \
14691 || exit 1
14694 .PHONY: maybe-distclean-release distclean-release
14695 maybe-distclean-release:
14697 distclean-release:
14698 @[ -f ./release/Makefile ] || exit 0; \
14699 r=`${PWD}`; export r; \
14700 s=`cd $(srcdir); ${PWD}`; export s; \
14701 $(SET_LIB_PATH) \
14702 for flag in $(EXTRA_HOST_FLAGS); do \
14703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14704 done; \
14705 echo "Doing distclean in release" ; \
14706 (cd release && \
14707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14709 "RANLIB=$${RANLIB}" \
14710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14711 distclean) \
14712 || exit 1
14715 .PHONY: maybe-distclean-recode distclean-recode
14716 maybe-distclean-recode:
14718 distclean-recode:
14719 @[ -f ./recode/Makefile ] || exit 0; \
14720 r=`${PWD}`; export r; \
14721 s=`cd $(srcdir); ${PWD}`; export s; \
14722 $(SET_LIB_PATH) \
14723 for flag in $(EXTRA_HOST_FLAGS); do \
14724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14725 done; \
14726 echo "Doing distclean in recode" ; \
14727 (cd recode && \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14730 "RANLIB=$${RANLIB}" \
14731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14732 distclean) \
14733 || exit 1
14736 .PHONY: maybe-distclean-sed distclean-sed
14737 maybe-distclean-sed:
14739 distclean-sed:
14740 @[ -f ./sed/Makefile ] || exit 0; \
14741 r=`${PWD}`; export r; \
14742 s=`cd $(srcdir); ${PWD}`; export s; \
14743 $(SET_LIB_PATH) \
14744 for flag in $(EXTRA_HOST_FLAGS); do \
14745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14746 done; \
14747 echo "Doing distclean in sed" ; \
14748 (cd sed && \
14749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14751 "RANLIB=$${RANLIB}" \
14752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14753 distclean) \
14754 || exit 1
14757 .PHONY: maybe-distclean-send-pr distclean-send-pr
14758 maybe-distclean-send-pr:
14760 distclean-send-pr:
14761 @[ -f ./send-pr/Makefile ] || exit 0; \
14762 r=`${PWD}`; export r; \
14763 s=`cd $(srcdir); ${PWD}`; export s; \
14764 $(SET_LIB_PATH) \
14765 for flag in $(EXTRA_HOST_FLAGS); do \
14766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14767 done; \
14768 echo "Doing distclean in send-pr" ; \
14769 (cd send-pr && \
14770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14772 "RANLIB=$${RANLIB}" \
14773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14774 distclean) \
14775 || exit 1
14778 .PHONY: maybe-distclean-shellutils distclean-shellutils
14779 maybe-distclean-shellutils:
14781 distclean-shellutils:
14782 @[ -f ./shellutils/Makefile ] || exit 0; \
14783 r=`${PWD}`; export r; \
14784 s=`cd $(srcdir); ${PWD}`; export s; \
14785 $(SET_LIB_PATH) \
14786 for flag in $(EXTRA_HOST_FLAGS); do \
14787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14788 done; \
14789 echo "Doing distclean in shellutils" ; \
14790 (cd shellutils && \
14791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14793 "RANLIB=$${RANLIB}" \
14794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14795 distclean) \
14796 || exit 1
14799 .PHONY: maybe-distclean-sid distclean-sid
14800 maybe-distclean-sid:
14802 distclean-sid:
14803 @[ -f ./sid/Makefile ] || exit 0; \
14804 r=`${PWD}`; export r; \
14805 s=`cd $(srcdir); ${PWD}`; export s; \
14806 $(SET_LIB_PATH) \
14807 for flag in $(EXTRA_HOST_FLAGS); do \
14808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14809 done; \
14810 echo "Doing distclean in sid" ; \
14811 (cd sid && \
14812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14814 "RANLIB=$${RANLIB}" \
14815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14816 distclean) \
14817 || exit 1
14820 .PHONY: maybe-distclean-sim distclean-sim
14821 maybe-distclean-sim:
14823 distclean-sim:
14824 @[ -f ./sim/Makefile ] || exit 0; \
14825 r=`${PWD}`; export r; \
14826 s=`cd $(srcdir); ${PWD}`; export s; \
14827 $(SET_LIB_PATH) \
14828 for flag in $(EXTRA_HOST_FLAGS); do \
14829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14830 done; \
14831 echo "Doing distclean in sim" ; \
14832 (cd sim && \
14833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14835 "RANLIB=$${RANLIB}" \
14836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14837 distclean) \
14838 || exit 1
14841 .PHONY: maybe-distclean-tar distclean-tar
14842 maybe-distclean-tar:
14844 distclean-tar:
14845 @[ -f ./tar/Makefile ] || exit 0; \
14846 r=`${PWD}`; export r; \
14847 s=`cd $(srcdir); ${PWD}`; export s; \
14848 $(SET_LIB_PATH) \
14849 for flag in $(EXTRA_HOST_FLAGS); do \
14850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14851 done; \
14852 echo "Doing distclean in tar" ; \
14853 (cd tar && \
14854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14856 "RANLIB=$${RANLIB}" \
14857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14858 distclean) \
14859 || exit 1
14862 .PHONY: maybe-distclean-texinfo distclean-texinfo
14863 maybe-distclean-texinfo:
14865 distclean-texinfo:
14866 @[ -f ./texinfo/Makefile ] || exit 0; \
14867 r=`${PWD}`; export r; \
14868 s=`cd $(srcdir); ${PWD}`; export s; \
14869 $(SET_LIB_PATH) \
14870 for flag in $(EXTRA_HOST_FLAGS); do \
14871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14872 done; \
14873 echo "Doing distclean in texinfo" ; \
14874 (cd texinfo && \
14875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14877 "RANLIB=$${RANLIB}" \
14878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14879 distclean) \
14880 || exit 1
14883 .PHONY: maybe-distclean-textutils distclean-textutils
14884 maybe-distclean-textutils:
14886 distclean-textutils:
14887 @[ -f ./textutils/Makefile ] || exit 0; \
14888 r=`${PWD}`; export r; \
14889 s=`cd $(srcdir); ${PWD}`; export s; \
14890 $(SET_LIB_PATH) \
14891 for flag in $(EXTRA_HOST_FLAGS); do \
14892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14893 done; \
14894 echo "Doing distclean in textutils" ; \
14895 (cd textutils && \
14896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14898 "RANLIB=$${RANLIB}" \
14899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14900 distclean) \
14901 || exit 1
14904 .PHONY: maybe-distclean-time distclean-time
14905 maybe-distclean-time:
14907 distclean-time:
14908 @[ -f ./time/Makefile ] || exit 0; \
14909 r=`${PWD}`; export r; \
14910 s=`cd $(srcdir); ${PWD}`; export s; \
14911 $(SET_LIB_PATH) \
14912 for flag in $(EXTRA_HOST_FLAGS); do \
14913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14914 done; \
14915 echo "Doing distclean in time" ; \
14916 (cd time && \
14917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14919 "RANLIB=$${RANLIB}" \
14920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14921 distclean) \
14922 || exit 1
14925 .PHONY: maybe-distclean-uudecode distclean-uudecode
14926 maybe-distclean-uudecode:
14928 distclean-uudecode:
14929 @[ -f ./uudecode/Makefile ] || exit 0; \
14930 r=`${PWD}`; export r; \
14931 s=`cd $(srcdir); ${PWD}`; export s; \
14932 $(SET_LIB_PATH) \
14933 for flag in $(EXTRA_HOST_FLAGS); do \
14934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14935 done; \
14936 echo "Doing distclean in uudecode" ; \
14937 (cd uudecode && \
14938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14940 "RANLIB=$${RANLIB}" \
14941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14942 distclean) \
14943 || exit 1
14946 .PHONY: maybe-distclean-wdiff distclean-wdiff
14947 maybe-distclean-wdiff:
14949 distclean-wdiff:
14950 @[ -f ./wdiff/Makefile ] || exit 0; \
14951 r=`${PWD}`; export r; \
14952 s=`cd $(srcdir); ${PWD}`; export s; \
14953 $(SET_LIB_PATH) \
14954 for flag in $(EXTRA_HOST_FLAGS); do \
14955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14956 done; \
14957 echo "Doing distclean in wdiff" ; \
14958 (cd wdiff && \
14959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14961 "RANLIB=$${RANLIB}" \
14962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14963 distclean) \
14964 || exit 1
14967 .PHONY: maybe-distclean-zip distclean-zip
14968 maybe-distclean-zip:
14970 distclean-zip:
14971 @[ -f ./zip/Makefile ] || exit 0; \
14972 r=`${PWD}`; export r; \
14973 s=`cd $(srcdir); ${PWD}`; export s; \
14974 $(SET_LIB_PATH) \
14975 for flag in $(EXTRA_HOST_FLAGS); do \
14976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14977 done; \
14978 echo "Doing distclean in zip" ; \
14979 (cd zip && \
14980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14982 "RANLIB=$${RANLIB}" \
14983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14984 distclean) \
14985 || exit 1
14988 .PHONY: maybe-distclean-zlib distclean-zlib
14989 maybe-distclean-zlib:
14991 distclean-zlib:
14992 @[ -f ./zlib/Makefile ] || exit 0; \
14993 r=`${PWD}`; export r; \
14994 s=`cd $(srcdir); ${PWD}`; export s; \
14995 $(SET_LIB_PATH) \
14996 for flag in $(EXTRA_HOST_FLAGS); do \
14997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14998 done; \
14999 echo "Doing distclean in zlib" ; \
15000 (cd zlib && \
15001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15003 "RANLIB=$${RANLIB}" \
15004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15005 distclean) \
15006 || exit 1
15009 .PHONY: maybe-distclean-gdb distclean-gdb
15010 maybe-distclean-gdb:
15012 distclean-gdb:
15013 @[ -f ./gdb/Makefile ] || exit 0; \
15014 r=`${PWD}`; export r; \
15015 s=`cd $(srcdir); ${PWD}`; export s; \
15016 $(SET_LIB_PATH) \
15017 for flag in $(EXTRA_HOST_FLAGS); do \
15018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15019 done; \
15020 echo "Doing distclean in gdb" ; \
15021 (cd gdb && \
15022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15024 "RANLIB=$${RANLIB}" \
15025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15026 distclean) \
15027 || exit 1
15030 .PHONY: maybe-distclean-expect distclean-expect
15031 maybe-distclean-expect:
15033 distclean-expect:
15034 @[ -f ./expect/Makefile ] || exit 0; \
15035 r=`${PWD}`; export r; \
15036 s=`cd $(srcdir); ${PWD}`; export s; \
15037 $(SET_LIB_PATH) \
15038 for flag in $(EXTRA_HOST_FLAGS); do \
15039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15040 done; \
15041 echo "Doing distclean in expect" ; \
15042 (cd expect && \
15043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15045 "RANLIB=$${RANLIB}" \
15046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15047 distclean) \
15048 || exit 1
15051 .PHONY: maybe-distclean-guile distclean-guile
15052 maybe-distclean-guile:
15054 distclean-guile:
15055 @[ -f ./guile/Makefile ] || exit 0; \
15056 r=`${PWD}`; export r; \
15057 s=`cd $(srcdir); ${PWD}`; export s; \
15058 $(SET_LIB_PATH) \
15059 for flag in $(EXTRA_HOST_FLAGS); do \
15060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15061 done; \
15062 echo "Doing distclean in guile" ; \
15063 (cd guile && \
15064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15066 "RANLIB=$${RANLIB}" \
15067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15068 distclean) \
15069 || exit 1
15072 .PHONY: maybe-distclean-tk distclean-tk
15073 maybe-distclean-tk:
15075 distclean-tk:
15076 @[ -f ./tk/Makefile ] || exit 0; \
15077 r=`${PWD}`; export r; \
15078 s=`cd $(srcdir); ${PWD}`; export s; \
15079 $(SET_LIB_PATH) \
15080 for flag in $(EXTRA_HOST_FLAGS); do \
15081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15082 done; \
15083 echo "Doing distclean in tk" ; \
15084 (cd tk && \
15085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15087 "RANLIB=$${RANLIB}" \
15088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15089 distclean) \
15090 || exit 1
15093 .PHONY: maybe-distclean-tix distclean-tix
15094 maybe-distclean-tix:
15096 distclean-tix:
15097 @[ -f ./tix/Makefile ] || exit 0; \
15098 r=`${PWD}`; export r; \
15099 s=`cd $(srcdir); ${PWD}`; export s; \
15100 $(SET_LIB_PATH) \
15101 for flag in $(EXTRA_HOST_FLAGS); do \
15102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15103 done; \
15104 echo "Doing distclean in tix" ; \
15105 (cd tix && \
15106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15108 "RANLIB=$${RANLIB}" \
15109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15110 distclean) \
15111 || exit 1
15114 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
15115 maybe-distclean-libtermcap:
15117 # libtermcap doesn't support distclean.
15118 distclean-libtermcap:
15121 .PHONY: maybe-distclean-utils distclean-utils
15122 maybe-distclean-utils:
15124 distclean-utils:
15125 @[ -f ./utils/Makefile ] || exit 0; \
15126 r=`${PWD}`; export r; \
15127 s=`cd $(srcdir); ${PWD}`; export s; \
15128 $(SET_LIB_PATH) \
15129 for flag in $(EXTRA_HOST_FLAGS); do \
15130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 done; \
15132 echo "Doing distclean in utils" ; \
15133 (cd utils && \
15134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15136 "RANLIB=$${RANLIB}" \
15137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15138 distclean) \
15139 || exit 1
15143 # Target modules.
15145 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
15146 maybe-distclean-target-libstdc++-v3:
15148 distclean-target-libstdc++-v3:
15149 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
15150 r=`${PWD}`; export r; \
15151 s=`cd $(srcdir); ${PWD}`; export s; \
15152 $(SET_LIB_PATH) \
15153 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
15154 for flag in $(EXTRA_TARGET_FLAGS); do \
15155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15156 done; \
15157 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15162 distclean) \
15163 || exit 1
15166 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
15167 maybe-distclean-target-newlib:
15169 distclean-target-newlib:
15170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
15171 r=`${PWD}`; export r; \
15172 s=`cd $(srcdir); ${PWD}`; export s; \
15173 $(SET_LIB_PATH) \
15174 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
15175 for flag in $(EXTRA_TARGET_FLAGS); do \
15176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15177 done; \
15178 (cd $(TARGET_SUBDIR)/newlib && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15181 "RANLIB=$${RANLIB}" \
15182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15183 distclean) \
15184 || exit 1
15187 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
15188 maybe-distclean-target-libf2c:
15190 distclean-target-libf2c:
15191 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
15192 r=`${PWD}`; export r; \
15193 s=`cd $(srcdir); ${PWD}`; export s; \
15194 $(SET_LIB_PATH) \
15195 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
15196 for flag in $(EXTRA_TARGET_FLAGS); do \
15197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15198 done; \
15199 (cd $(TARGET_SUBDIR)/libf2c && \
15200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15202 "RANLIB=$${RANLIB}" \
15203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15204 distclean) \
15205 || exit 1
15208 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
15209 maybe-distclean-target-libobjc:
15211 distclean-target-libobjc:
15212 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
15213 r=`${PWD}`; export r; \
15214 s=`cd $(srcdir); ${PWD}`; export s; \
15215 $(SET_LIB_PATH) \
15216 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
15217 for flag in $(EXTRA_TARGET_FLAGS); do \
15218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15219 done; \
15220 (cd $(TARGET_SUBDIR)/libobjc && \
15221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15223 "RANLIB=$${RANLIB}" \
15224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15225 distclean) \
15226 || exit 1
15229 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
15230 maybe-distclean-target-libtermcap:
15232 # libtermcap doesn't support distclean.
15233 distclean-target-libtermcap:
15236 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
15237 maybe-distclean-target-winsup:
15239 distclean-target-winsup:
15240 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
15241 r=`${PWD}`; export r; \
15242 s=`cd $(srcdir); ${PWD}`; export s; \
15243 $(SET_LIB_PATH) \
15244 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
15245 for flag in $(EXTRA_TARGET_FLAGS); do \
15246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15247 done; \
15248 (cd $(TARGET_SUBDIR)/winsup && \
15249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15251 "RANLIB=$${RANLIB}" \
15252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15253 distclean) \
15254 || exit 1
15257 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
15258 maybe-distclean-target-libgloss:
15260 distclean-target-libgloss:
15261 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
15262 r=`${PWD}`; export r; \
15263 s=`cd $(srcdir); ${PWD}`; export s; \
15264 $(SET_LIB_PATH) \
15265 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
15266 for flag in $(EXTRA_TARGET_FLAGS); do \
15267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15268 done; \
15269 (cd $(TARGET_SUBDIR)/libgloss && \
15270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15272 "RANLIB=$${RANLIB}" \
15273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15274 distclean) \
15275 || exit 1
15278 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
15279 maybe-distclean-target-libiberty:
15281 distclean-target-libiberty:
15282 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
15283 r=`${PWD}`; export r; \
15284 s=`cd $(srcdir); ${PWD}`; export s; \
15285 $(SET_LIB_PATH) \
15286 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
15287 for flag in $(EXTRA_TARGET_FLAGS); do \
15288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15289 done; \
15290 (cd $(TARGET_SUBDIR)/libiberty && \
15291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15293 "RANLIB=$${RANLIB}" \
15294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15295 distclean) \
15296 || exit 1
15299 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
15300 maybe-distclean-target-gperf:
15302 distclean-target-gperf:
15303 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
15304 r=`${PWD}`; export r; \
15305 s=`cd $(srcdir); ${PWD}`; export s; \
15306 $(SET_LIB_PATH) \
15307 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
15308 for flag in $(EXTRA_TARGET_FLAGS); do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 done; \
15311 (cd $(TARGET_SUBDIR)/gperf && \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15316 distclean) \
15317 || exit 1
15320 .PHONY: maybe-distclean-target-examples distclean-target-examples
15321 maybe-distclean-target-examples:
15323 distclean-target-examples:
15324 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
15325 r=`${PWD}`; export r; \
15326 s=`cd $(srcdir); ${PWD}`; export s; \
15327 $(SET_LIB_PATH) \
15328 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
15329 for flag in $(EXTRA_TARGET_FLAGS); do \
15330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15331 done; \
15332 (cd $(TARGET_SUBDIR)/examples && \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15335 "RANLIB=$${RANLIB}" \
15336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15337 distclean) \
15338 || exit 1
15341 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
15342 maybe-distclean-target-libffi:
15344 distclean-target-libffi:
15345 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
15346 r=`${PWD}`; export r; \
15347 s=`cd $(srcdir); ${PWD}`; export s; \
15348 $(SET_LIB_PATH) \
15349 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
15350 for flag in $(EXTRA_TARGET_FLAGS); do \
15351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15352 done; \
15353 (cd $(TARGET_SUBDIR)/libffi && \
15354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15356 "RANLIB=$${RANLIB}" \
15357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15358 distclean) \
15359 || exit 1
15362 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
15363 maybe-distclean-target-libjava:
15365 distclean-target-libjava:
15366 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
15367 r=`${PWD}`; export r; \
15368 s=`cd $(srcdir); ${PWD}`; export s; \
15369 $(SET_LIB_PATH) \
15370 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
15371 for flag in $(EXTRA_TARGET_FLAGS); do \
15372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 done; \
15374 (cd $(TARGET_SUBDIR)/libjava && \
15375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15377 "RANLIB=$${RANLIB}" \
15378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15379 distclean) \
15380 || exit 1
15383 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
15384 maybe-distclean-target-zlib:
15386 distclean-target-zlib:
15387 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
15388 r=`${PWD}`; export r; \
15389 s=`cd $(srcdir); ${PWD}`; export s; \
15390 $(SET_LIB_PATH) \
15391 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
15392 for flag in $(EXTRA_TARGET_FLAGS); do \
15393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15394 done; \
15395 (cd $(TARGET_SUBDIR)/zlib && \
15396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15398 "RANLIB=$${RANLIB}" \
15399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15400 distclean) \
15401 || exit 1
15404 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
15405 maybe-distclean-target-boehm-gc:
15407 distclean-target-boehm-gc:
15408 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
15409 r=`${PWD}`; export r; \
15410 s=`cd $(srcdir); ${PWD}`; export s; \
15411 $(SET_LIB_PATH) \
15412 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
15413 for flag in $(EXTRA_TARGET_FLAGS); do \
15414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15415 done; \
15416 (cd $(TARGET_SUBDIR)/boehm-gc && \
15417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15419 "RANLIB=$${RANLIB}" \
15420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15421 distclean) \
15422 || exit 1
15425 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
15426 maybe-distclean-target-qthreads:
15428 distclean-target-qthreads:
15429 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
15430 r=`${PWD}`; export r; \
15431 s=`cd $(srcdir); ${PWD}`; export s; \
15432 $(SET_LIB_PATH) \
15433 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
15434 for flag in $(EXTRA_TARGET_FLAGS); do \
15435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15436 done; \
15437 (cd $(TARGET_SUBDIR)/qthreads && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15440 "RANLIB=$${RANLIB}" \
15441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15442 distclean) \
15443 || exit 1
15446 .PHONY: maybe-distclean-target-rda distclean-target-rda
15447 maybe-distclean-target-rda:
15449 distclean-target-rda:
15450 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
15451 r=`${PWD}`; export r; \
15452 s=`cd $(srcdir); ${PWD}`; export s; \
15453 $(SET_LIB_PATH) \
15454 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
15455 for flag in $(EXTRA_TARGET_FLAGS); do \
15456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15457 done; \
15458 (cd $(TARGET_SUBDIR)/rda && \
15459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15461 "RANLIB=$${RANLIB}" \
15462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15463 distclean) \
15464 || exit 1
15468 .PHONY: do-maintainer-clean
15469 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
15471 .PHONY: maintainer-clean-host
15472 maintainer-clean-host: maybe-maintainer-clean-gcc \
15473 maybe-maintainer-clean-ash \
15474 maybe-maintainer-clean-autoconf \
15475 maybe-maintainer-clean-automake \
15476 maybe-maintainer-clean-bash \
15477 maybe-maintainer-clean-bfd \
15478 maybe-maintainer-clean-opcodes \
15479 maybe-maintainer-clean-binutils \
15480 maybe-maintainer-clean-bison \
15481 maybe-maintainer-clean-byacc \
15482 maybe-maintainer-clean-bzip2 \
15483 maybe-maintainer-clean-dejagnu \
15484 maybe-maintainer-clean-diff \
15485 maybe-maintainer-clean-dosutils \
15486 maybe-maintainer-clean-etc \
15487 maybe-maintainer-clean-fastjar \
15488 maybe-maintainer-clean-fileutils \
15489 maybe-maintainer-clean-findutils \
15490 maybe-maintainer-clean-find \
15491 maybe-maintainer-clean-flex \
15492 maybe-maintainer-clean-gas \
15493 maybe-maintainer-clean-gawk \
15494 maybe-maintainer-clean-gettext \
15495 maybe-maintainer-clean-gnuserv \
15496 maybe-maintainer-clean-gprof \
15497 maybe-maintainer-clean-gzip \
15498 maybe-maintainer-clean-hello \
15499 maybe-maintainer-clean-indent \
15500 maybe-maintainer-clean-intl \
15501 maybe-maintainer-clean-tcl \
15502 maybe-maintainer-clean-itcl \
15503 maybe-maintainer-clean-ld \
15504 maybe-maintainer-clean-libgui \
15505 maybe-maintainer-clean-libiberty \
15506 maybe-maintainer-clean-libtool \
15507 maybe-maintainer-clean-m4 \
15508 maybe-maintainer-clean-make \
15509 maybe-maintainer-clean-mmalloc \
15510 maybe-maintainer-clean-patch \
15511 maybe-maintainer-clean-perl \
15512 maybe-maintainer-clean-prms \
15513 maybe-maintainer-clean-rcs \
15514 maybe-maintainer-clean-readline \
15515 maybe-maintainer-clean-release \
15516 maybe-maintainer-clean-recode \
15517 maybe-maintainer-clean-sed \
15518 maybe-maintainer-clean-send-pr \
15519 maybe-maintainer-clean-shellutils \
15520 maybe-maintainer-clean-sid \
15521 maybe-maintainer-clean-sim \
15522 maybe-maintainer-clean-tar \
15523 maybe-maintainer-clean-texinfo \
15524 maybe-maintainer-clean-textutils \
15525 maybe-maintainer-clean-time \
15526 maybe-maintainer-clean-uudecode \
15527 maybe-maintainer-clean-wdiff \
15528 maybe-maintainer-clean-zip \
15529 maybe-maintainer-clean-zlib \
15530 maybe-maintainer-clean-gdb \
15531 maybe-maintainer-clean-expect \
15532 maybe-maintainer-clean-guile \
15533 maybe-maintainer-clean-tk \
15534 maybe-maintainer-clean-tix \
15535 maybe-maintainer-clean-libtermcap \
15536 maybe-maintainer-clean-utils
15538 .PHONY: maintainer-clean-target
15539 maintainer-clean-target: \
15540 maybe-maintainer-clean-target-libstdc++-v3 \
15541 maybe-maintainer-clean-target-newlib \
15542 maybe-maintainer-clean-target-libf2c \
15543 maybe-maintainer-clean-target-libobjc \
15544 maybe-maintainer-clean-target-libtermcap \
15545 maybe-maintainer-clean-target-winsup \
15546 maybe-maintainer-clean-target-libgloss \
15547 maybe-maintainer-clean-target-libiberty \
15548 maybe-maintainer-clean-target-gperf \
15549 maybe-maintainer-clean-target-examples \
15550 maybe-maintainer-clean-target-libffi \
15551 maybe-maintainer-clean-target-libjava \
15552 maybe-maintainer-clean-target-zlib \
15553 maybe-maintainer-clean-target-boehm-gc \
15554 maybe-maintainer-clean-target-qthreads \
15555 maybe-maintainer-clean-target-rda
15557 # GCC, the eternal special case
15558 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15559 maybe-maintainer-clean-gcc:
15560 maintainer-clean-gcc:
15561 @[ -f ./gcc/Makefile ] || exit 0; \
15562 r=`${PWD}`; export r; \
15563 s=`cd $(srcdir); ${PWD}`; export s; \
15564 $(SET_LIB_PATH) \
15565 for flag in $(EXTRA_GCC_FLAGS); do \
15566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15567 done; \
15568 echo "Doing maintainer-clean in gcc" ; \
15569 (cd gcc && \
15570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15572 "RANLIB=$${RANLIB}" \
15573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15574 maintainer-clean) \
15575 || exit 1
15577 # Host modules.
15579 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
15580 maybe-maintainer-clean-ash:
15582 maintainer-clean-ash:
15583 @[ -f ./ash/Makefile ] || exit 0; \
15584 r=`${PWD}`; export r; \
15585 s=`cd $(srcdir); ${PWD}`; export s; \
15586 $(SET_LIB_PATH) \
15587 for flag in $(EXTRA_HOST_FLAGS); do \
15588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15589 done; \
15590 echo "Doing maintainer-clean in ash" ; \
15591 (cd ash && \
15592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15594 "RANLIB=$${RANLIB}" \
15595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15596 maintainer-clean) \
15597 || exit 1
15600 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
15601 maybe-maintainer-clean-autoconf:
15603 maintainer-clean-autoconf:
15604 @[ -f ./autoconf/Makefile ] || exit 0; \
15605 r=`${PWD}`; export r; \
15606 s=`cd $(srcdir); ${PWD}`; export s; \
15607 $(SET_LIB_PATH) \
15608 for flag in $(EXTRA_HOST_FLAGS); do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 done; \
15611 echo "Doing maintainer-clean in autoconf" ; \
15612 (cd autoconf && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15617 maintainer-clean) \
15618 || exit 1
15621 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
15622 maybe-maintainer-clean-automake:
15624 maintainer-clean-automake:
15625 @[ -f ./automake/Makefile ] || exit 0; \
15626 r=`${PWD}`; export r; \
15627 s=`cd $(srcdir); ${PWD}`; export s; \
15628 $(SET_LIB_PATH) \
15629 for flag in $(EXTRA_HOST_FLAGS); do \
15630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15631 done; \
15632 echo "Doing maintainer-clean in automake" ; \
15633 (cd automake && \
15634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15636 "RANLIB=$${RANLIB}" \
15637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15638 maintainer-clean) \
15639 || exit 1
15642 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
15643 maybe-maintainer-clean-bash:
15645 maintainer-clean-bash:
15646 @[ -f ./bash/Makefile ] || exit 0; \
15647 r=`${PWD}`; export r; \
15648 s=`cd $(srcdir); ${PWD}`; export s; \
15649 $(SET_LIB_PATH) \
15650 for flag in $(EXTRA_HOST_FLAGS); do \
15651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15652 done; \
15653 echo "Doing maintainer-clean in bash" ; \
15654 (cd bash && \
15655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15657 "RANLIB=$${RANLIB}" \
15658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15659 maintainer-clean) \
15660 || exit 1
15663 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
15664 maybe-maintainer-clean-bfd:
15666 maintainer-clean-bfd:
15667 @[ -f ./bfd/Makefile ] || exit 0; \
15668 r=`${PWD}`; export r; \
15669 s=`cd $(srcdir); ${PWD}`; export s; \
15670 $(SET_LIB_PATH) \
15671 for flag in $(EXTRA_HOST_FLAGS); do \
15672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15673 done; \
15674 echo "Doing maintainer-clean in bfd" ; \
15675 (cd bfd && \
15676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15678 "RANLIB=$${RANLIB}" \
15679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15680 maintainer-clean) \
15681 || exit 1
15684 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
15685 maybe-maintainer-clean-opcodes:
15687 maintainer-clean-opcodes:
15688 @[ -f ./opcodes/Makefile ] || exit 0; \
15689 r=`${PWD}`; export r; \
15690 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in opcodes" ; \
15696 (cd opcodes && \
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 maintainer-clean) \
15702 || exit 1
15705 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
15706 maybe-maintainer-clean-binutils:
15708 maintainer-clean-binutils:
15709 @[ -f ./binutils/Makefile ] || exit 0; \
15710 r=`${PWD}`; export r; \
15711 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in binutils" ; \
15717 (cd binutils && \
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 maintainer-clean) \
15723 || exit 1
15726 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
15727 maybe-maintainer-clean-bison:
15729 maintainer-clean-bison:
15730 @[ -f ./bison/Makefile ] || exit 0; \
15731 r=`${PWD}`; export r; \
15732 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in bison" ; \
15738 (cd bison && \
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 maintainer-clean) \
15744 || exit 1
15747 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
15748 maybe-maintainer-clean-byacc:
15750 maintainer-clean-byacc:
15751 @[ -f ./byacc/Makefile ] || exit 0; \
15752 r=`${PWD}`; export r; \
15753 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in byacc" ; \
15759 (cd byacc && \
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 maintainer-clean) \
15765 || exit 1
15768 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
15769 maybe-maintainer-clean-bzip2:
15771 maintainer-clean-bzip2:
15772 @[ -f ./bzip2/Makefile ] || exit 0; \
15773 r=`${PWD}`; export r; \
15774 s=`cd $(srcdir); ${PWD}`; 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 bzip2" ; \
15780 (cd bzip2 && \
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
15789 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
15790 maybe-maintainer-clean-dejagnu:
15792 maintainer-clean-dejagnu:
15793 @[ -f ./dejagnu/Makefile ] || exit 0; \
15794 r=`${PWD}`; export r; \
15795 s=`cd $(srcdir); ${PWD}`; export s; \
15796 $(SET_LIB_PATH) \
15797 for flag in $(EXTRA_HOST_FLAGS); do \
15798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15799 done; \
15800 echo "Doing maintainer-clean in dejagnu" ; \
15801 (cd dejagnu && \
15802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15804 "RANLIB=$${RANLIB}" \
15805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15806 maintainer-clean) \
15807 || exit 1
15810 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
15811 maybe-maintainer-clean-diff:
15813 maintainer-clean-diff:
15814 @[ -f ./diff/Makefile ] || exit 0; \
15815 r=`${PWD}`; export r; \
15816 s=`cd $(srcdir); ${PWD}`; export s; \
15817 $(SET_LIB_PATH) \
15818 for flag in $(EXTRA_HOST_FLAGS); do \
15819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15820 done; \
15821 echo "Doing maintainer-clean in diff" ; \
15822 (cd diff && \
15823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15825 "RANLIB=$${RANLIB}" \
15826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15827 maintainer-clean) \
15828 || exit 1
15831 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
15832 maybe-maintainer-clean-dosutils:
15834 maintainer-clean-dosutils:
15835 @[ -f ./dosutils/Makefile ] || exit 0; \
15836 r=`${PWD}`; export r; \
15837 s=`cd $(srcdir); ${PWD}`; export s; \
15838 $(SET_LIB_PATH) \
15839 for flag in $(EXTRA_HOST_FLAGS); do \
15840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15841 done; \
15842 echo "Doing maintainer-clean in dosutils" ; \
15843 (cd dosutils && \
15844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15846 "RANLIB=$${RANLIB}" \
15847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15848 maintainer-clean) \
15849 || exit 1
15852 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
15853 maybe-maintainer-clean-etc:
15855 maintainer-clean-etc:
15856 @[ -f ./etc/Makefile ] || exit 0; \
15857 r=`${PWD}`; export r; \
15858 s=`cd $(srcdir); ${PWD}`; export s; \
15859 $(SET_LIB_PATH) \
15860 for flag in $(EXTRA_HOST_FLAGS); do \
15861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15862 done; \
15863 echo "Doing maintainer-clean in etc" ; \
15864 (cd etc && \
15865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15867 "RANLIB=$${RANLIB}" \
15868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15869 maintainer-clean) \
15870 || exit 1
15873 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
15874 maybe-maintainer-clean-fastjar:
15876 maintainer-clean-fastjar:
15877 @[ -f ./fastjar/Makefile ] || exit 0; \
15878 r=`${PWD}`; export r; \
15879 s=`cd $(srcdir); ${PWD}`; export s; \
15880 $(SET_LIB_PATH) \
15881 for flag in $(EXTRA_HOST_FLAGS); do \
15882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15883 done; \
15884 echo "Doing maintainer-clean in fastjar" ; \
15885 (cd fastjar && \
15886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15888 "RANLIB=$${RANLIB}" \
15889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890 maintainer-clean) \
15891 || exit 1
15894 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
15895 maybe-maintainer-clean-fileutils:
15897 maintainer-clean-fileutils:
15898 @[ -f ./fileutils/Makefile ] || exit 0; \
15899 r=`${PWD}`; export r; \
15900 s=`cd $(srcdir); ${PWD}`; export s; \
15901 $(SET_LIB_PATH) \
15902 for flag in $(EXTRA_HOST_FLAGS); do \
15903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15904 done; \
15905 echo "Doing maintainer-clean in fileutils" ; \
15906 (cd fileutils && \
15907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15909 "RANLIB=$${RANLIB}" \
15910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15911 maintainer-clean) \
15912 || exit 1
15915 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
15916 maybe-maintainer-clean-findutils:
15918 maintainer-clean-findutils:
15919 @[ -f ./findutils/Makefile ] || exit 0; \
15920 r=`${PWD}`; export r; \
15921 s=`cd $(srcdir); ${PWD}`; export s; \
15922 $(SET_LIB_PATH) \
15923 for flag in $(EXTRA_HOST_FLAGS); do \
15924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15925 done; \
15926 echo "Doing maintainer-clean in findutils" ; \
15927 (cd findutils && \
15928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15930 "RANLIB=$${RANLIB}" \
15931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15932 maintainer-clean) \
15933 || exit 1
15936 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
15937 maybe-maintainer-clean-find:
15939 maintainer-clean-find:
15940 @[ -f ./find/Makefile ] || exit 0; \
15941 r=`${PWD}`; export r; \
15942 s=`cd $(srcdir); ${PWD}`; export s; \
15943 $(SET_LIB_PATH) \
15944 for flag in $(EXTRA_HOST_FLAGS); do \
15945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15946 done; \
15947 echo "Doing maintainer-clean in find" ; \
15948 (cd find && \
15949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15951 "RANLIB=$${RANLIB}" \
15952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15953 maintainer-clean) \
15954 || exit 1
15957 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
15958 maybe-maintainer-clean-flex:
15960 maintainer-clean-flex:
15961 @[ -f ./flex/Makefile ] || exit 0; \
15962 r=`${PWD}`; export r; \
15963 s=`cd $(srcdir); ${PWD}`; export s; \
15964 $(SET_LIB_PATH) \
15965 for flag in $(EXTRA_HOST_FLAGS); do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 done; \
15968 echo "Doing maintainer-clean in flex" ; \
15969 (cd flex && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15972 "RANLIB=$${RANLIB}" \
15973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 maintainer-clean) \
15975 || exit 1
15978 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15979 maybe-maintainer-clean-gas:
15981 maintainer-clean-gas:
15982 @[ -f ./gas/Makefile ] || exit 0; \
15983 r=`${PWD}`; export r; \
15984 s=`cd $(srcdir); ${PWD}`; export s; \
15985 $(SET_LIB_PATH) \
15986 for flag in $(EXTRA_HOST_FLAGS); do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15988 done; \
15989 echo "Doing maintainer-clean in gas" ; \
15990 (cd gas && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15995 maintainer-clean) \
15996 || exit 1
15999 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
16000 maybe-maintainer-clean-gawk:
16002 maintainer-clean-gawk:
16003 @[ -f ./gawk/Makefile ] || exit 0; \
16004 r=`${PWD}`; export r; \
16005 s=`cd $(srcdir); ${PWD}`; export s; \
16006 $(SET_LIB_PATH) \
16007 for flag in $(EXTRA_HOST_FLAGS); do \
16008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16009 done; \
16010 echo "Doing maintainer-clean in gawk" ; \
16011 (cd gawk && \
16012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16014 "RANLIB=$${RANLIB}" \
16015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16016 maintainer-clean) \
16017 || exit 1
16020 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16021 maybe-maintainer-clean-gettext:
16023 maintainer-clean-gettext:
16024 @[ -f ./gettext/Makefile ] || exit 0; \
16025 r=`${PWD}`; export r; \
16026 s=`cd $(srcdir); ${PWD}`; export s; \
16027 $(SET_LIB_PATH) \
16028 for flag in $(EXTRA_HOST_FLAGS); do \
16029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16030 done; \
16031 echo "Doing maintainer-clean in gettext" ; \
16032 (cd gettext && \
16033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16035 "RANLIB=$${RANLIB}" \
16036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16037 maintainer-clean) \
16038 || exit 1
16041 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16042 maybe-maintainer-clean-gnuserv:
16044 maintainer-clean-gnuserv:
16045 @[ -f ./gnuserv/Makefile ] || exit 0; \
16046 r=`${PWD}`; export r; \
16047 s=`cd $(srcdir); ${PWD}`; export s; \
16048 $(SET_LIB_PATH) \
16049 for flag in $(EXTRA_HOST_FLAGS); do \
16050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16051 done; \
16052 echo "Doing maintainer-clean in gnuserv" ; \
16053 (cd gnuserv && \
16054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16056 "RANLIB=$${RANLIB}" \
16057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16058 maintainer-clean) \
16059 || exit 1
16062 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16063 maybe-maintainer-clean-gprof:
16065 maintainer-clean-gprof:
16066 @[ -f ./gprof/Makefile ] || exit 0; \
16067 r=`${PWD}`; export r; \
16068 s=`cd $(srcdir); ${PWD}`; export s; \
16069 $(SET_LIB_PATH) \
16070 for flag in $(EXTRA_HOST_FLAGS); do \
16071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16072 done; \
16073 echo "Doing maintainer-clean in gprof" ; \
16074 (cd gprof && \
16075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16077 "RANLIB=$${RANLIB}" \
16078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16079 maintainer-clean) \
16080 || exit 1
16083 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16084 maybe-maintainer-clean-gzip:
16086 maintainer-clean-gzip:
16087 @[ -f ./gzip/Makefile ] || exit 0; \
16088 r=`${PWD}`; export r; \
16089 s=`cd $(srcdir); ${PWD}`; export s; \
16090 $(SET_LIB_PATH) \
16091 for flag in $(EXTRA_HOST_FLAGS); do \
16092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16093 done; \
16094 echo "Doing maintainer-clean in gzip" ; \
16095 (cd gzip && \
16096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16098 "RANLIB=$${RANLIB}" \
16099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16100 maintainer-clean) \
16101 || exit 1
16104 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
16105 maybe-maintainer-clean-hello:
16107 maintainer-clean-hello:
16108 @[ -f ./hello/Makefile ] || exit 0; \
16109 r=`${PWD}`; export r; \
16110 s=`cd $(srcdir); ${PWD}`; export s; \
16111 $(SET_LIB_PATH) \
16112 for flag in $(EXTRA_HOST_FLAGS); do \
16113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16114 done; \
16115 echo "Doing maintainer-clean in hello" ; \
16116 (cd hello && \
16117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16119 "RANLIB=$${RANLIB}" \
16120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16121 maintainer-clean) \
16122 || exit 1
16125 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16126 maybe-maintainer-clean-indent:
16128 maintainer-clean-indent:
16129 @[ -f ./indent/Makefile ] || exit 0; \
16130 r=`${PWD}`; export r; \
16131 s=`cd $(srcdir); ${PWD}`; export s; \
16132 $(SET_LIB_PATH) \
16133 for flag in $(EXTRA_HOST_FLAGS); do \
16134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16135 done; \
16136 echo "Doing maintainer-clean in indent" ; \
16137 (cd indent && \
16138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16140 "RANLIB=$${RANLIB}" \
16141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16142 maintainer-clean) \
16143 || exit 1
16146 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16147 maybe-maintainer-clean-intl:
16149 maintainer-clean-intl:
16150 @[ -f ./intl/Makefile ] || exit 0; \
16151 r=`${PWD}`; export r; \
16152 s=`cd $(srcdir); ${PWD}`; export s; \
16153 $(SET_LIB_PATH) \
16154 for flag in $(EXTRA_HOST_FLAGS); do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16156 done; \
16157 echo "Doing maintainer-clean in intl" ; \
16158 (cd intl && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16163 maintainer-clean) \
16164 || exit 1
16167 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16168 maybe-maintainer-clean-tcl:
16170 maintainer-clean-tcl:
16171 @[ -f ./tcl/Makefile ] || exit 0; \
16172 r=`${PWD}`; export r; \
16173 s=`cd $(srcdir); ${PWD}`; export s; \
16174 $(SET_LIB_PATH) \
16175 for flag in $(EXTRA_HOST_FLAGS); do \
16176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16177 done; \
16178 echo "Doing maintainer-clean in tcl" ; \
16179 (cd tcl && \
16180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16182 "RANLIB=$${RANLIB}" \
16183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16184 maintainer-clean) \
16185 || exit 1
16188 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16189 maybe-maintainer-clean-itcl:
16191 maintainer-clean-itcl:
16192 @[ -f ./itcl/Makefile ] || exit 0; \
16193 r=`${PWD}`; export r; \
16194 s=`cd $(srcdir); ${PWD}`; export s; \
16195 $(SET_LIB_PATH) \
16196 for flag in $(EXTRA_HOST_FLAGS); do \
16197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16198 done; \
16199 echo "Doing maintainer-clean in itcl" ; \
16200 (cd itcl && \
16201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16203 "RANLIB=$${RANLIB}" \
16204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16205 maintainer-clean) \
16206 || exit 1
16209 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16210 maybe-maintainer-clean-ld:
16212 maintainer-clean-ld:
16213 @[ -f ./ld/Makefile ] || exit 0; \
16214 r=`${PWD}`; export r; \
16215 s=`cd $(srcdir); ${PWD}`; export s; \
16216 $(SET_LIB_PATH) \
16217 for flag in $(EXTRA_HOST_FLAGS); do \
16218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16219 done; \
16220 echo "Doing maintainer-clean in ld" ; \
16221 (cd ld && \
16222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16224 "RANLIB=$${RANLIB}" \
16225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16226 maintainer-clean) \
16227 || exit 1
16230 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16231 maybe-maintainer-clean-libgui:
16233 maintainer-clean-libgui:
16234 @[ -f ./libgui/Makefile ] || exit 0; \
16235 r=`${PWD}`; export r; \
16236 s=`cd $(srcdir); ${PWD}`; export s; \
16237 $(SET_LIB_PATH) \
16238 for flag in $(EXTRA_HOST_FLAGS); do \
16239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16240 done; \
16241 echo "Doing maintainer-clean in libgui" ; \
16242 (cd libgui && \
16243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16245 "RANLIB=$${RANLIB}" \
16246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16247 maintainer-clean) \
16248 || exit 1
16251 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16252 maybe-maintainer-clean-libiberty:
16254 maintainer-clean-libiberty:
16255 @[ -f ./libiberty/Makefile ] || exit 0; \
16256 r=`${PWD}`; export r; \
16257 s=`cd $(srcdir); ${PWD}`; export s; \
16258 $(SET_LIB_PATH) \
16259 for flag in $(EXTRA_HOST_FLAGS); do \
16260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16261 done; \
16262 echo "Doing maintainer-clean in libiberty" ; \
16263 (cd libiberty && \
16264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16266 "RANLIB=$${RANLIB}" \
16267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16268 maintainer-clean) \
16269 || exit 1
16272 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
16273 maybe-maintainer-clean-libtool:
16275 maintainer-clean-libtool:
16276 @[ -f ./libtool/Makefile ] || exit 0; \
16277 r=`${PWD}`; export r; \
16278 s=`cd $(srcdir); ${PWD}`; export s; \
16279 $(SET_LIB_PATH) \
16280 for flag in $(EXTRA_HOST_FLAGS); do \
16281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16282 done; \
16283 echo "Doing maintainer-clean in libtool" ; \
16284 (cd libtool && \
16285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16287 "RANLIB=$${RANLIB}" \
16288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16289 maintainer-clean) \
16290 || exit 1
16293 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
16294 maybe-maintainer-clean-m4:
16296 maintainer-clean-m4:
16297 @[ -f ./m4/Makefile ] || exit 0; \
16298 r=`${PWD}`; export r; \
16299 s=`cd $(srcdir); ${PWD}`; export s; \
16300 $(SET_LIB_PATH) \
16301 for flag in $(EXTRA_HOST_FLAGS); do \
16302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16303 done; \
16304 echo "Doing maintainer-clean in m4" ; \
16305 (cd m4 && \
16306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16308 "RANLIB=$${RANLIB}" \
16309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16310 maintainer-clean) \
16311 || exit 1
16314 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
16315 maybe-maintainer-clean-make:
16317 maintainer-clean-make:
16318 @[ -f ./make/Makefile ] || exit 0; \
16319 r=`${PWD}`; export r; \
16320 s=`cd $(srcdir); ${PWD}`; export s; \
16321 $(SET_LIB_PATH) \
16322 for flag in $(EXTRA_HOST_FLAGS); do \
16323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16324 done; \
16325 echo "Doing maintainer-clean in make" ; \
16326 (cd make && \
16327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16329 "RANLIB=$${RANLIB}" \
16330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16331 maintainer-clean) \
16332 || exit 1
16335 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
16336 maybe-maintainer-clean-mmalloc:
16338 maintainer-clean-mmalloc:
16339 @[ -f ./mmalloc/Makefile ] || exit 0; \
16340 r=`${PWD}`; export r; \
16341 s=`cd $(srcdir); ${PWD}`; export s; \
16342 $(SET_LIB_PATH) \
16343 for flag in $(EXTRA_HOST_FLAGS); do \
16344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16345 done; \
16346 echo "Doing maintainer-clean in mmalloc" ; \
16347 (cd mmalloc && \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16350 "RANLIB=$${RANLIB}" \
16351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16352 maintainer-clean) \
16353 || exit 1
16356 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16357 maybe-maintainer-clean-patch:
16359 maintainer-clean-patch:
16360 @[ -f ./patch/Makefile ] || exit 0; \
16361 r=`${PWD}`; export r; \
16362 s=`cd $(srcdir); ${PWD}`; export s; \
16363 $(SET_LIB_PATH) \
16364 for flag in $(EXTRA_HOST_FLAGS); do \
16365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16366 done; \
16367 echo "Doing maintainer-clean in patch" ; \
16368 (cd patch && \
16369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16371 "RANLIB=$${RANLIB}" \
16372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16373 maintainer-clean) \
16374 || exit 1
16377 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16378 maybe-maintainer-clean-perl:
16380 maintainer-clean-perl:
16381 @[ -f ./perl/Makefile ] || exit 0; \
16382 r=`${PWD}`; export r; \
16383 s=`cd $(srcdir); ${PWD}`; export s; \
16384 $(SET_LIB_PATH) \
16385 for flag in $(EXTRA_HOST_FLAGS); do \
16386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16387 done; \
16388 echo "Doing maintainer-clean in perl" ; \
16389 (cd perl && \
16390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16392 "RANLIB=$${RANLIB}" \
16393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16394 maintainer-clean) \
16395 || exit 1
16398 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16399 maybe-maintainer-clean-prms:
16401 maintainer-clean-prms:
16402 @[ -f ./prms/Makefile ] || exit 0; \
16403 r=`${PWD}`; export r; \
16404 s=`cd $(srcdir); ${PWD}`; export s; \
16405 $(SET_LIB_PATH) \
16406 for flag in $(EXTRA_HOST_FLAGS); do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing maintainer-clean in prms" ; \
16410 (cd prms && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16415 maintainer-clean) \
16416 || exit 1
16419 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16420 maybe-maintainer-clean-rcs:
16422 maintainer-clean-rcs:
16423 @[ -f ./rcs/Makefile ] || exit 0; \
16424 r=`${PWD}`; export r; \
16425 s=`cd $(srcdir); ${PWD}`; export s; \
16426 $(SET_LIB_PATH) \
16427 for flag in $(EXTRA_HOST_FLAGS); do \
16428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16429 done; \
16430 echo "Doing maintainer-clean in rcs" ; \
16431 (cd rcs && \
16432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16434 "RANLIB=$${RANLIB}" \
16435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16436 maintainer-clean) \
16437 || exit 1
16440 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16441 maybe-maintainer-clean-readline:
16443 maintainer-clean-readline:
16444 @[ -f ./readline/Makefile ] || exit 0; \
16445 r=`${PWD}`; export r; \
16446 s=`cd $(srcdir); ${PWD}`; export s; \
16447 $(SET_LIB_PATH) \
16448 for flag in $(EXTRA_HOST_FLAGS); do \
16449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16450 done; \
16451 echo "Doing maintainer-clean in readline" ; \
16452 (cd readline && \
16453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16455 "RANLIB=$${RANLIB}" \
16456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16457 maintainer-clean) \
16458 || exit 1
16461 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16462 maybe-maintainer-clean-release:
16464 maintainer-clean-release:
16465 @[ -f ./release/Makefile ] || exit 0; \
16466 r=`${PWD}`; export r; \
16467 s=`cd $(srcdir); ${PWD}`; export s; \
16468 $(SET_LIB_PATH) \
16469 for flag in $(EXTRA_HOST_FLAGS); do \
16470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16471 done; \
16472 echo "Doing maintainer-clean in release" ; \
16473 (cd release && \
16474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16476 "RANLIB=$${RANLIB}" \
16477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16478 maintainer-clean) \
16479 || exit 1
16482 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16483 maybe-maintainer-clean-recode:
16485 maintainer-clean-recode:
16486 @[ -f ./recode/Makefile ] || exit 0; \
16487 r=`${PWD}`; export r; \
16488 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in recode" ; \
16494 (cd recode && \
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 maintainer-clean) \
16500 || exit 1
16503 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16504 maybe-maintainer-clean-sed:
16506 maintainer-clean-sed:
16507 @[ -f ./sed/Makefile ] || exit 0; \
16508 r=`${PWD}`; export r; \
16509 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in sed" ; \
16515 (cd sed && \
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 maintainer-clean) \
16521 || exit 1
16524 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16525 maybe-maintainer-clean-send-pr:
16527 maintainer-clean-send-pr:
16528 @[ -f ./send-pr/Makefile ] || exit 0; \
16529 r=`${PWD}`; export r; \
16530 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in send-pr" ; \
16536 (cd send-pr && \
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 maintainer-clean) \
16542 || exit 1
16545 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16546 maybe-maintainer-clean-shellutils:
16548 maintainer-clean-shellutils:
16549 @[ -f ./shellutils/Makefile ] || exit 0; \
16550 r=`${PWD}`; export r; \
16551 s=`cd $(srcdir); ${PWD}`; 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 maintainer-clean in shellutils" ; \
16557 (cd shellutils && \
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 maintainer-clean) \
16563 || exit 1
16566 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16567 maybe-maintainer-clean-sid:
16569 maintainer-clean-sid:
16570 @[ -f ./sid/Makefile ] || exit 0; \
16571 r=`${PWD}`; export r; \
16572 s=`cd $(srcdir); ${PWD}`; 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 sid" ; \
16578 (cd sid && \
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
16587 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
16588 maybe-maintainer-clean-sim:
16590 maintainer-clean-sim:
16591 @[ -f ./sim/Makefile ] || exit 0; \
16592 r=`${PWD}`; export r; \
16593 s=`cd $(srcdir); ${PWD}`; export s; \
16594 $(SET_LIB_PATH) \
16595 for flag in $(EXTRA_HOST_FLAGS); do \
16596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16597 done; \
16598 echo "Doing maintainer-clean in sim" ; \
16599 (cd sim && \
16600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16602 "RANLIB=$${RANLIB}" \
16603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16604 maintainer-clean) \
16605 || exit 1
16608 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
16609 maybe-maintainer-clean-tar:
16611 maintainer-clean-tar:
16612 @[ -f ./tar/Makefile ] || exit 0; \
16613 r=`${PWD}`; export r; \
16614 s=`cd $(srcdir); ${PWD}`; export s; \
16615 $(SET_LIB_PATH) \
16616 for flag in $(EXTRA_HOST_FLAGS); do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing maintainer-clean in tar" ; \
16620 (cd tar && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 maintainer-clean) \
16626 || exit 1
16629 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
16630 maybe-maintainer-clean-texinfo:
16632 maintainer-clean-texinfo:
16633 @[ -f ./texinfo/Makefile ] || exit 0; \
16634 r=`${PWD}`; export r; \
16635 s=`cd $(srcdir); ${PWD}`; export s; \
16636 $(SET_LIB_PATH) \
16637 for flag in $(EXTRA_HOST_FLAGS); do \
16638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16639 done; \
16640 echo "Doing maintainer-clean in texinfo" ; \
16641 (cd texinfo && \
16642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16644 "RANLIB=$${RANLIB}" \
16645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16646 maintainer-clean) \
16647 || exit 1
16650 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16651 maybe-maintainer-clean-textutils:
16653 maintainer-clean-textutils:
16654 @[ -f ./textutils/Makefile ] || exit 0; \
16655 r=`${PWD}`; export r; \
16656 s=`cd $(srcdir); ${PWD}`; export s; \
16657 $(SET_LIB_PATH) \
16658 for flag in $(EXTRA_HOST_FLAGS); do \
16659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16660 done; \
16661 echo "Doing maintainer-clean in textutils" ; \
16662 (cd textutils && \
16663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16665 "RANLIB=$${RANLIB}" \
16666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16667 maintainer-clean) \
16668 || exit 1
16671 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16672 maybe-maintainer-clean-time:
16674 maintainer-clean-time:
16675 @[ -f ./time/Makefile ] || exit 0; \
16676 r=`${PWD}`; export r; \
16677 s=`cd $(srcdir); ${PWD}`; export s; \
16678 $(SET_LIB_PATH) \
16679 for flag in $(EXTRA_HOST_FLAGS); do \
16680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16681 done; \
16682 echo "Doing maintainer-clean in time" ; \
16683 (cd time && \
16684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16686 "RANLIB=$${RANLIB}" \
16687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16688 maintainer-clean) \
16689 || exit 1
16692 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16693 maybe-maintainer-clean-uudecode:
16695 maintainer-clean-uudecode:
16696 @[ -f ./uudecode/Makefile ] || exit 0; \
16697 r=`${PWD}`; export r; \
16698 s=`cd $(srcdir); ${PWD}`; export s; \
16699 $(SET_LIB_PATH) \
16700 for flag in $(EXTRA_HOST_FLAGS); do \
16701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16702 done; \
16703 echo "Doing maintainer-clean in uudecode" ; \
16704 (cd uudecode && \
16705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16707 "RANLIB=$${RANLIB}" \
16708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16709 maintainer-clean) \
16710 || exit 1
16713 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16714 maybe-maintainer-clean-wdiff:
16716 maintainer-clean-wdiff:
16717 @[ -f ./wdiff/Makefile ] || exit 0; \
16718 r=`${PWD}`; export r; \
16719 s=`cd $(srcdir); ${PWD}`; export s; \
16720 $(SET_LIB_PATH) \
16721 for flag in $(EXTRA_HOST_FLAGS); do \
16722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 done; \
16724 echo "Doing maintainer-clean in wdiff" ; \
16725 (cd wdiff && \
16726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16728 "RANLIB=$${RANLIB}" \
16729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16730 maintainer-clean) \
16731 || exit 1
16734 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16735 maybe-maintainer-clean-zip:
16737 maintainer-clean-zip:
16738 @[ -f ./zip/Makefile ] || exit 0; \
16739 r=`${PWD}`; export r; \
16740 s=`cd $(srcdir); ${PWD}`; export s; \
16741 $(SET_LIB_PATH) \
16742 for flag in $(EXTRA_HOST_FLAGS); do \
16743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16744 done; \
16745 echo "Doing maintainer-clean in zip" ; \
16746 (cd zip && \
16747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16749 "RANLIB=$${RANLIB}" \
16750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16751 maintainer-clean) \
16752 || exit 1
16755 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
16756 maybe-maintainer-clean-zlib:
16758 maintainer-clean-zlib:
16759 @[ -f ./zlib/Makefile ] || exit 0; \
16760 r=`${PWD}`; export r; \
16761 s=`cd $(srcdir); ${PWD}`; export s; \
16762 $(SET_LIB_PATH) \
16763 for flag in $(EXTRA_HOST_FLAGS); do \
16764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16765 done; \
16766 echo "Doing maintainer-clean in zlib" ; \
16767 (cd zlib && \
16768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16770 "RANLIB=$${RANLIB}" \
16771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16772 maintainer-clean) \
16773 || exit 1
16776 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
16777 maybe-maintainer-clean-gdb:
16779 maintainer-clean-gdb:
16780 @[ -f ./gdb/Makefile ] || exit 0; \
16781 r=`${PWD}`; export r; \
16782 s=`cd $(srcdir); ${PWD}`; export s; \
16783 $(SET_LIB_PATH) \
16784 for flag in $(EXTRA_HOST_FLAGS); do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 done; \
16787 echo "Doing maintainer-clean in gdb" ; \
16788 (cd gdb && \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 maintainer-clean) \
16794 || exit 1
16797 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
16798 maybe-maintainer-clean-expect:
16800 maintainer-clean-expect:
16801 @[ -f ./expect/Makefile ] || exit 0; \
16802 r=`${PWD}`; export r; \
16803 s=`cd $(srcdir); ${PWD}`; export s; \
16804 $(SET_LIB_PATH) \
16805 for flag in $(EXTRA_HOST_FLAGS); do \
16806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16807 done; \
16808 echo "Doing maintainer-clean in expect" ; \
16809 (cd expect && \
16810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16812 "RANLIB=$${RANLIB}" \
16813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16814 maintainer-clean) \
16815 || exit 1
16818 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
16819 maybe-maintainer-clean-guile:
16821 maintainer-clean-guile:
16822 @[ -f ./guile/Makefile ] || exit 0; \
16823 r=`${PWD}`; export r; \
16824 s=`cd $(srcdir); ${PWD}`; export s; \
16825 $(SET_LIB_PATH) \
16826 for flag in $(EXTRA_HOST_FLAGS); do \
16827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16828 done; \
16829 echo "Doing maintainer-clean in guile" ; \
16830 (cd guile && \
16831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16833 "RANLIB=$${RANLIB}" \
16834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16835 maintainer-clean) \
16836 || exit 1
16839 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
16840 maybe-maintainer-clean-tk:
16842 maintainer-clean-tk:
16843 @[ -f ./tk/Makefile ] || exit 0; \
16844 r=`${PWD}`; export r; \
16845 s=`cd $(srcdir); ${PWD}`; export s; \
16846 $(SET_LIB_PATH) \
16847 for flag in $(EXTRA_HOST_FLAGS); do \
16848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16849 done; \
16850 echo "Doing maintainer-clean in tk" ; \
16851 (cd tk && \
16852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16854 "RANLIB=$${RANLIB}" \
16855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16856 maintainer-clean) \
16857 || exit 1
16860 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
16861 maybe-maintainer-clean-tix:
16863 maintainer-clean-tix:
16864 @[ -f ./tix/Makefile ] || exit 0; \
16865 r=`${PWD}`; export r; \
16866 s=`cd $(srcdir); ${PWD}`; export s; \
16867 $(SET_LIB_PATH) \
16868 for flag in $(EXTRA_HOST_FLAGS); do \
16869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16870 done; \
16871 echo "Doing maintainer-clean in tix" ; \
16872 (cd tix && \
16873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16875 "RANLIB=$${RANLIB}" \
16876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16877 maintainer-clean) \
16878 || exit 1
16881 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
16882 maybe-maintainer-clean-libtermcap:
16884 # libtermcap doesn't support maintainer-clean.
16885 maintainer-clean-libtermcap:
16888 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
16889 maybe-maintainer-clean-utils:
16891 maintainer-clean-utils:
16892 @[ -f ./utils/Makefile ] || exit 0; \
16893 r=`${PWD}`; export r; \
16894 s=`cd $(srcdir); ${PWD}`; export s; \
16895 $(SET_LIB_PATH) \
16896 for flag in $(EXTRA_HOST_FLAGS); do \
16897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16898 done; \
16899 echo "Doing maintainer-clean in utils" ; \
16900 (cd utils && \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16903 "RANLIB=$${RANLIB}" \
16904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16905 maintainer-clean) \
16906 || exit 1
16910 # Target modules.
16912 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
16913 maybe-maintainer-clean-target-libstdc++-v3:
16915 maintainer-clean-target-libstdc++-v3:
16916 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
16917 r=`${PWD}`; export r; \
16918 s=`cd $(srcdir); ${PWD}`; export s; \
16919 $(SET_LIB_PATH) \
16920 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
16921 for flag in $(EXTRA_TARGET_FLAGS); do \
16922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16923 done; \
16924 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16929 maintainer-clean) \
16930 || exit 1
16933 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
16934 maybe-maintainer-clean-target-newlib:
16936 maintainer-clean-target-newlib:
16937 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
16938 r=`${PWD}`; export r; \
16939 s=`cd $(srcdir); ${PWD}`; export s; \
16940 $(SET_LIB_PATH) \
16941 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
16942 for flag in $(EXTRA_TARGET_FLAGS); do \
16943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16944 done; \
16945 (cd $(TARGET_SUBDIR)/newlib && \
16946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16948 "RANLIB=$${RANLIB}" \
16949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16950 maintainer-clean) \
16951 || exit 1
16954 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
16955 maybe-maintainer-clean-target-libf2c:
16957 maintainer-clean-target-libf2c:
16958 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
16959 r=`${PWD}`; export r; \
16960 s=`cd $(srcdir); ${PWD}`; export s; \
16961 $(SET_LIB_PATH) \
16962 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
16963 for flag in $(EXTRA_TARGET_FLAGS); do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 (cd $(TARGET_SUBDIR)/libf2c && \
16967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16969 "RANLIB=$${RANLIB}" \
16970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16971 maintainer-clean) \
16972 || exit 1
16975 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
16976 maybe-maintainer-clean-target-libobjc:
16978 maintainer-clean-target-libobjc:
16979 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
16980 r=`${PWD}`; export r; \
16981 s=`cd $(srcdir); ${PWD}`; export s; \
16982 $(SET_LIB_PATH) \
16983 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
16984 for flag in $(EXTRA_TARGET_FLAGS); do \
16985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16986 done; \
16987 (cd $(TARGET_SUBDIR)/libobjc && \
16988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16990 "RANLIB=$${RANLIB}" \
16991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16992 maintainer-clean) \
16993 || exit 1
16996 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
16997 maybe-maintainer-clean-target-libtermcap:
16999 # libtermcap doesn't support maintainer-clean.
17000 maintainer-clean-target-libtermcap:
17003 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
17004 maybe-maintainer-clean-target-winsup:
17006 maintainer-clean-target-winsup:
17007 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
17008 r=`${PWD}`; export r; \
17009 s=`cd $(srcdir); ${PWD}`; export s; \
17010 $(SET_LIB_PATH) \
17011 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
17012 for flag in $(EXTRA_TARGET_FLAGS); do \
17013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17014 done; \
17015 (cd $(TARGET_SUBDIR)/winsup && \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17018 "RANLIB=$${RANLIB}" \
17019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17020 maintainer-clean) \
17021 || exit 1
17024 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
17025 maybe-maintainer-clean-target-libgloss:
17027 maintainer-clean-target-libgloss:
17028 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
17029 r=`${PWD}`; export r; \
17030 s=`cd $(srcdir); ${PWD}`; export s; \
17031 $(SET_LIB_PATH) \
17032 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
17033 for flag in $(EXTRA_TARGET_FLAGS); do \
17034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17035 done; \
17036 (cd $(TARGET_SUBDIR)/libgloss && \
17037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17039 "RANLIB=$${RANLIB}" \
17040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17041 maintainer-clean) \
17042 || exit 1
17045 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
17046 maybe-maintainer-clean-target-libiberty:
17048 maintainer-clean-target-libiberty:
17049 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
17050 r=`${PWD}`; export r; \
17051 s=`cd $(srcdir); ${PWD}`; export s; \
17052 $(SET_LIB_PATH) \
17053 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
17054 for flag in $(EXTRA_TARGET_FLAGS); do \
17055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17056 done; \
17057 (cd $(TARGET_SUBDIR)/libiberty && \
17058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17060 "RANLIB=$${RANLIB}" \
17061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17062 maintainer-clean) \
17063 || exit 1
17066 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17067 maybe-maintainer-clean-target-gperf:
17069 maintainer-clean-target-gperf:
17070 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
17071 r=`${PWD}`; export r; \
17072 s=`cd $(srcdir); ${PWD}`; export s; \
17073 $(SET_LIB_PATH) \
17074 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
17075 for flag in $(EXTRA_TARGET_FLAGS); do \
17076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17077 done; \
17078 (cd $(TARGET_SUBDIR)/gperf && \
17079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17081 "RANLIB=$${RANLIB}" \
17082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17083 maintainer-clean) \
17084 || exit 1
17087 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
17088 maybe-maintainer-clean-target-examples:
17090 maintainer-clean-target-examples:
17091 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
17092 r=`${PWD}`; export r; \
17093 s=`cd $(srcdir); ${PWD}`; export s; \
17094 $(SET_LIB_PATH) \
17095 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
17096 for flag in $(EXTRA_TARGET_FLAGS); do \
17097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17098 done; \
17099 (cd $(TARGET_SUBDIR)/examples && \
17100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17102 "RANLIB=$${RANLIB}" \
17103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17104 maintainer-clean) \
17105 || exit 1
17108 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
17109 maybe-maintainer-clean-target-libffi:
17111 maintainer-clean-target-libffi:
17112 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
17113 r=`${PWD}`; export r; \
17114 s=`cd $(srcdir); ${PWD}`; export s; \
17115 $(SET_LIB_PATH) \
17116 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
17117 for flag in $(EXTRA_TARGET_FLAGS); do \
17118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17119 done; \
17120 (cd $(TARGET_SUBDIR)/libffi && \
17121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17123 "RANLIB=$${RANLIB}" \
17124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17125 maintainer-clean) \
17126 || exit 1
17129 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
17130 maybe-maintainer-clean-target-libjava:
17132 maintainer-clean-target-libjava:
17133 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
17134 r=`${PWD}`; export r; \
17135 s=`cd $(srcdir); ${PWD}`; export s; \
17136 $(SET_LIB_PATH) \
17137 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
17138 for flag in $(EXTRA_TARGET_FLAGS); do \
17139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17140 done; \
17141 (cd $(TARGET_SUBDIR)/libjava && \
17142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144 "RANLIB=$${RANLIB}" \
17145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17146 maintainer-clean) \
17147 || exit 1
17150 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
17151 maybe-maintainer-clean-target-zlib:
17153 maintainer-clean-target-zlib:
17154 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
17155 r=`${PWD}`; export r; \
17156 s=`cd $(srcdir); ${PWD}`; export s; \
17157 $(SET_LIB_PATH) \
17158 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
17159 for flag in $(EXTRA_TARGET_FLAGS); do \
17160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17161 done; \
17162 (cd $(TARGET_SUBDIR)/zlib && \
17163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17165 "RANLIB=$${RANLIB}" \
17166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17167 maintainer-clean) \
17168 || exit 1
17171 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
17172 maybe-maintainer-clean-target-boehm-gc:
17174 maintainer-clean-target-boehm-gc:
17175 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
17176 r=`${PWD}`; export r; \
17177 s=`cd $(srcdir); ${PWD}`; export s; \
17178 $(SET_LIB_PATH) \
17179 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
17180 for flag in $(EXTRA_TARGET_FLAGS); do \
17181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17182 done; \
17183 (cd $(TARGET_SUBDIR)/boehm-gc && \
17184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17186 "RANLIB=$${RANLIB}" \
17187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17188 maintainer-clean) \
17189 || exit 1
17192 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
17193 maybe-maintainer-clean-target-qthreads:
17195 maintainer-clean-target-qthreads:
17196 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
17197 r=`${PWD}`; export r; \
17198 s=`cd $(srcdir); ${PWD}`; export s; \
17199 $(SET_LIB_PATH) \
17200 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
17201 for flag in $(EXTRA_TARGET_FLAGS); do \
17202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17203 done; \
17204 (cd $(TARGET_SUBDIR)/qthreads && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 maintainer-clean) \
17210 || exit 1
17213 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
17214 maybe-maintainer-clean-target-rda:
17216 maintainer-clean-target-rda:
17217 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
17218 r=`${PWD}`; export r; \
17219 s=`cd $(srcdir); ${PWD}`; export s; \
17220 $(SET_LIB_PATH) \
17221 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
17222 for flag in $(EXTRA_TARGET_FLAGS); do \
17223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17224 done; \
17225 (cd $(TARGET_SUBDIR)/rda && \
17226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17228 "RANLIB=$${RANLIB}" \
17229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17230 maintainer-clean) \
17231 || exit 1
17236 # Here are the targets which correspond to the do-X targets.
17238 .PHONY: info installcheck dvi install-info
17239 .PHONY: clean distclean mostlyclean maintainer-clean realclean
17240 .PHONY: local-clean local-distclean local-maintainer-clean
17241 info: do-info
17242 installcheck: do-installcheck
17243 dvi: do-dvi
17245 # Make sure makeinfo is built before we do a `make info', if we're
17246 # in fact building texinfo.
17247 do-info: maybe-all-texinfo
17249 install-info: do-install-info dir.info
17250 s=`cd $(srcdir); ${PWD}`; export s; \
17251 if [ -f dir.info ] ; then \
17252 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
17253 else true ; fi
17255 local-clean:
17256 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
17258 local-distclean:
17259 -rm -f Makefile config.status config.cache mh-frag mt-frag
17260 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
17261 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
17262 rm -rf $(TARGET_SUBDIR); \
17263 else true; fi
17264 -rm -rf $(BUILD_SUBDIR)
17265 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
17266 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
17267 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
17268 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
17269 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
17271 local-maintainer-clean:
17272 @echo "This command is intended for maintainers to use;"
17273 @echo "it deletes files that may require special tools to rebuild."
17275 clean: do-clean local-clean
17276 mostlyclean: do-mostlyclean local-clean
17277 distclean: do-distclean local-clean local-distclean
17278 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
17279 maintainer-clean: local-distclean
17280 realclean: maintainer-clean
17282 # Extra dependency for clean-target, owing to the mixed nature of gcc
17283 clean-target: clean-target-libgcc
17284 clean-target-libgcc:
17285 test ! -d gcc/libgcc || \
17286 (cd gcc/libgcc && find . -type d -print) | \
17287 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
17288 -rm -rf gcc/libgcc
17290 # Check target.
17292 .PHONY: check do-check
17293 check:
17294 $(MAKE) do-check
17296 # Only include modules actually being configured and built.
17297 do-check: maybe-check-gcc \
17298 maybe-check-ash \
17299 maybe-check-autoconf \
17300 maybe-check-automake \
17301 maybe-check-bash \
17302 maybe-check-bfd \
17303 maybe-check-opcodes \
17304 maybe-check-binutils \
17305 maybe-check-bison \
17306 maybe-check-byacc \
17307 maybe-check-bzip2 \
17308 maybe-check-dejagnu \
17309 maybe-check-diff \
17310 maybe-check-dosutils \
17311 maybe-check-etc \
17312 maybe-check-fastjar \
17313 maybe-check-fileutils \
17314 maybe-check-findutils \
17315 maybe-check-find \
17316 maybe-check-flex \
17317 maybe-check-gas \
17318 maybe-check-gawk \
17319 maybe-check-gettext \
17320 maybe-check-gnuserv \
17321 maybe-check-gprof \
17322 maybe-check-gzip \
17323 maybe-check-hello \
17324 maybe-check-indent \
17325 maybe-check-intl \
17326 maybe-check-tcl \
17327 maybe-check-itcl \
17328 maybe-check-ld \
17329 maybe-check-libgui \
17330 maybe-check-libiberty \
17331 maybe-check-libtool \
17332 maybe-check-m4 \
17333 maybe-check-make \
17334 maybe-check-mmalloc \
17335 maybe-check-patch \
17336 maybe-check-perl \
17337 maybe-check-prms \
17338 maybe-check-rcs \
17339 maybe-check-readline \
17340 maybe-check-release \
17341 maybe-check-recode \
17342 maybe-check-sed \
17343 maybe-check-send-pr \
17344 maybe-check-shellutils \
17345 maybe-check-sid \
17346 maybe-check-sim \
17347 maybe-check-tar \
17348 maybe-check-texinfo \
17349 maybe-check-textutils \
17350 maybe-check-time \
17351 maybe-check-uudecode \
17352 maybe-check-wdiff \
17353 maybe-check-zip \
17354 maybe-check-zlib \
17355 maybe-check-gdb \
17356 maybe-check-expect \
17357 maybe-check-guile \
17358 maybe-check-tk \
17359 maybe-check-tix \
17360 maybe-check-libtermcap \
17361 maybe-check-utils \
17362 maybe-check-target-libstdc++-v3 \
17363 maybe-check-target-newlib \
17364 maybe-check-target-libf2c \
17365 maybe-check-target-libobjc \
17366 maybe-check-target-libtermcap \
17367 maybe-check-target-winsup \
17368 maybe-check-target-libgloss \
17369 maybe-check-target-libiberty \
17370 maybe-check-target-gperf \
17371 maybe-check-target-examples \
17372 maybe-check-target-libffi \
17373 maybe-check-target-libjava \
17374 maybe-check-target-zlib \
17375 maybe-check-target-boehm-gc \
17376 maybe-check-target-qthreads \
17377 maybe-check-target-rda
17379 # Automated reporting of test results.
17381 warning.log: build.log
17382 $(srcdir)/contrib/warn_summary build.log > $@
17384 mail-report.log:
17385 if test x'$(BOOT_CFLAGS)' != x''; then \
17386 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17387 fi; \
17388 $(srcdir)/contrib/test_summary -t >$@
17389 chmod +x $@
17390 echo If you really want to send e-mail, run ./$@ now
17392 mail-report-with-warnings.log: warning.log
17393 if test x'$(BOOT_CFLAGS)' != x''; then \
17394 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17395 fi; \
17396 $(srcdir)/contrib/test_summary -t -i warning.log >$@
17397 chmod +x $@
17398 echo If you really want to send e-mail, run ./$@ now
17400 # Installation targets.
17402 .PHONY: install uninstall
17403 install: installdirs install-host install-target
17405 .PHONY: install-host-nogcc
17406 install-host-nogcc: \
17407 maybe-install-ash \
17408 maybe-install-autoconf \
17409 maybe-install-automake \
17410 maybe-install-bash \
17411 maybe-install-bfd \
17412 maybe-install-opcodes \
17413 maybe-install-binutils \
17414 maybe-install-bison \
17415 maybe-install-byacc \
17416 maybe-install-bzip2 \
17417 maybe-install-dejagnu \
17418 maybe-install-diff \
17419 maybe-install-dosutils \
17420 maybe-install-etc \
17421 maybe-install-fastjar \
17422 maybe-install-fileutils \
17423 maybe-install-findutils \
17424 maybe-install-find \
17425 maybe-install-flex \
17426 maybe-install-gas \
17427 maybe-install-gawk \
17428 maybe-install-gettext \
17429 maybe-install-gnuserv \
17430 maybe-install-gprof \
17431 maybe-install-gzip \
17432 maybe-install-hello \
17433 maybe-install-indent \
17434 maybe-install-intl \
17435 maybe-install-tcl \
17436 maybe-install-itcl \
17437 maybe-install-ld \
17438 maybe-install-libgui \
17439 maybe-install-libiberty \
17440 maybe-install-libtool \
17441 maybe-install-m4 \
17442 maybe-install-make \
17443 maybe-install-mmalloc \
17444 maybe-install-patch \
17445 maybe-install-perl \
17446 maybe-install-prms \
17447 maybe-install-rcs \
17448 maybe-install-readline \
17449 maybe-install-release \
17450 maybe-install-recode \
17451 maybe-install-sed \
17452 maybe-install-send-pr \
17453 maybe-install-shellutils \
17454 maybe-install-sid \
17455 maybe-install-sim \
17456 maybe-install-tar \
17457 maybe-install-texinfo \
17458 maybe-install-textutils \
17459 maybe-install-time \
17460 maybe-install-uudecode \
17461 maybe-install-wdiff \
17462 maybe-install-zip \
17463 maybe-install-zlib \
17464 maybe-install-gdb \
17465 maybe-install-expect \
17466 maybe-install-guile \
17467 maybe-install-tk \
17468 maybe-install-tix \
17469 maybe-install-libtermcap \
17470 maybe-install-utils
17472 .PHONY: install-host
17473 install-host: maybe-install-gcc \
17474 maybe-install-ash \
17475 maybe-install-autoconf \
17476 maybe-install-automake \
17477 maybe-install-bash \
17478 maybe-install-bfd \
17479 maybe-install-opcodes \
17480 maybe-install-binutils \
17481 maybe-install-bison \
17482 maybe-install-byacc \
17483 maybe-install-bzip2 \
17484 maybe-install-dejagnu \
17485 maybe-install-diff \
17486 maybe-install-dosutils \
17487 maybe-install-etc \
17488 maybe-install-fastjar \
17489 maybe-install-fileutils \
17490 maybe-install-findutils \
17491 maybe-install-find \
17492 maybe-install-flex \
17493 maybe-install-gas \
17494 maybe-install-gawk \
17495 maybe-install-gettext \
17496 maybe-install-gnuserv \
17497 maybe-install-gprof \
17498 maybe-install-gzip \
17499 maybe-install-hello \
17500 maybe-install-indent \
17501 maybe-install-intl \
17502 maybe-install-tcl \
17503 maybe-install-itcl \
17504 maybe-install-ld \
17505 maybe-install-libgui \
17506 maybe-install-libiberty \
17507 maybe-install-libtool \
17508 maybe-install-m4 \
17509 maybe-install-make \
17510 maybe-install-mmalloc \
17511 maybe-install-patch \
17512 maybe-install-perl \
17513 maybe-install-prms \
17514 maybe-install-rcs \
17515 maybe-install-readline \
17516 maybe-install-release \
17517 maybe-install-recode \
17518 maybe-install-sed \
17519 maybe-install-send-pr \
17520 maybe-install-shellutils \
17521 maybe-install-sid \
17522 maybe-install-sim \
17523 maybe-install-tar \
17524 maybe-install-texinfo \
17525 maybe-install-textutils \
17526 maybe-install-time \
17527 maybe-install-uudecode \
17528 maybe-install-wdiff \
17529 maybe-install-zip \
17530 maybe-install-zlib \
17531 maybe-install-gdb \
17532 maybe-install-expect \
17533 maybe-install-guile \
17534 maybe-install-tk \
17535 maybe-install-tix \
17536 maybe-install-libtermcap \
17537 maybe-install-utils
17539 .PHONY: install-target
17540 install-target: \
17541 maybe-install-target-libstdc++-v3 \
17542 maybe-install-target-newlib \
17543 maybe-install-target-libf2c \
17544 maybe-install-target-libobjc \
17545 maybe-install-target-libtermcap \
17546 maybe-install-target-winsup \
17547 maybe-install-target-libgloss \
17548 maybe-install-target-libiberty \
17549 maybe-install-target-gperf \
17550 maybe-install-target-examples \
17551 maybe-install-target-libffi \
17552 maybe-install-target-libjava \
17553 maybe-install-target-zlib \
17554 maybe-install-target-boehm-gc \
17555 maybe-install-target-qthreads \
17556 maybe-install-target-rda
17558 uninstall:
17559 @echo "the uninstall target is not supported in this tree"
17561 .PHONY: install.all
17562 install.all: install-no-fixedincludes
17563 @if [ -f ./gcc/Makefile ] ; then \
17564 r=`${PWD}` ; export r ; \
17565 $(SET_LIB_PATH) \
17566 (cd ./gcc && \
17567 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
17568 else \
17569 true ; \
17572 # install-no-fixedincludes is used because Cygnus can not distribute
17573 # the fixed header files.
17574 .PHONY: install-no-fixedincludes
17575 install-no-fixedincludes: installdirs install-host-nogcc \
17576 install-target gcc-no-fixedincludes
17578 ### other supporting targets
17580 MAKEDIRS= \
17581 $(DESTDIR)$(prefix) \
17582 $(DESTDIR)$(exec_prefix)
17583 .PHONY: installdirs
17584 installdirs: mkinstalldirs
17585 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
17587 dir.info: do-install-info
17588 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
17589 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
17590 mv -f dir.info.new dir.info ; \
17591 else true ; \
17594 dist:
17595 @echo "Building a full distribution of this tree isn't done"
17596 @echo "via 'make dist'. Check out the etc/ subdirectory"
17598 etags tags: TAGS
17600 # Right now this just builds TAGS in each subdirectory. emacs19 has the
17601 # ability to use several tags files at once, so there is probably no need
17602 # to combine them into one big TAGS file (like CVS 1.3 does). We could
17603 # (if we felt like it) have this Makefile write a piece of elisp which
17604 # the user could load to tell emacs19 where all the TAGS files we just
17605 # built are.
17606 TAGS: do-TAGS
17608 # --------------------------------------
17609 # Modules which run on the build machine
17610 # --------------------------------------
17612 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
17613 maybe-configure-build-libiberty:
17614 configure-build-libiberty:
17615 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
17616 [ -d $(BUILD_SUBDIR)/libiberty ] || \
17617 mkdir $(BUILD_SUBDIR)/libiberty;\
17618 r=`${PWD}`; export r; \
17619 s=`cd $(srcdir); ${PWD}`; export s; \
17620 AR="$(AR_FOR_BUILD)"; export AR; \
17621 AS="$(AS_FOR_BUILD)"; export AS; \
17622 CC="$(CC_FOR_BUILD)"; export CC; \
17623 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17624 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17625 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17626 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17627 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17628 LD="$(LD_FOR_BUILD)"; export LD; \
17629 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17630 NM="$(NM_FOR_BUILD)"; export NM; \
17631 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17632 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17633 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
17634 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
17635 case $(srcdir) in \
17636 /* | [A-Za-z]:[\\/]*) \
17637 topdir=$(srcdir) ;; \
17638 *) \
17639 case "$(BUILD_SUBDIR)" in \
17640 .) topdir="../$(srcdir)" ;; \
17641 *) topdir="../../$(srcdir)" ;; \
17642 esac ;; \
17643 esac; \
17644 if [ "$(srcdir)" = "." ] ; then \
17645 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17646 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
17647 if [ -f Makefile ]; then \
17648 if $(MAKE) distclean; then \
17649 true; \
17650 else \
17651 exit 1; \
17652 fi; \
17653 else \
17654 true; \
17655 fi; \
17656 else \
17657 exit 1; \
17658 fi; \
17659 else \
17660 true; \
17661 fi; \
17662 srcdiroption="--srcdir=."; \
17663 libsrcdir="."; \
17664 else \
17665 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17666 libsrcdir="$$s/libiberty"; \
17667 fi; \
17668 rm -f no-such-file || : ; \
17669 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17670 $(BUILD_CONFIGARGS) $${srcdiroption} \
17671 --with-build-subdir="$(BUILD_SUBDIR)" \
17672 || exit 1
17674 .PHONY: all-build-libiberty maybe-all-build-libiberty
17675 maybe-all-build-libiberty:
17676 all-build-libiberty: configure-build-libiberty
17677 @r=`${PWD}`; export r; \
17678 s=`cd $(srcdir); ${PWD}`; export s; \
17679 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
17682 # --------------------------------------
17683 # Modules which run on the host machine
17684 # --------------------------------------
17686 .PHONY: configure-ash maybe-configure-ash
17687 maybe-configure-ash:
17688 configure-ash:
17689 @test ! -f ash/Makefile || exit 0; \
17690 [ -d ash ] || mkdir ash; \
17691 r=`${PWD}`; export r; \
17692 s=`cd $(srcdir); ${PWD}`; export s; \
17693 CC="$(CC)"; export CC; \
17694 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17695 CXX="$(CXX)"; export CXX; \
17696 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17697 AR="$(AR)"; export AR; \
17698 AS="$(AS)"; export AS; \
17699 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17700 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17701 LD="$(LD)"; export LD; \
17702 NM="$(NM)"; export NM; \
17703 RANLIB="$(RANLIB)"; export RANLIB; \
17704 WINDRES="$(WINDRES)"; export WINDRES; \
17705 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17706 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17707 echo Configuring in ash; \
17708 cd ash || exit 1; \
17709 case $(srcdir) in \
17710 \.) \
17711 srcdiroption="--srcdir=."; \
17712 libsrcdir=".";; \
17713 /* | [A-Za-z]:[\\/]*) \
17714 srcdiroption="--srcdir=$(srcdir)/ash"; \
17715 libsrcdir="$$s/ash";; \
17716 *) \
17717 srcdiroption="--srcdir=../$(srcdir)/ash"; \
17718 libsrcdir="$$s/ash";; \
17719 esac; \
17720 $(SHELL) $${libsrcdir}/configure \
17721 $(HOST_CONFIGARGS) $${srcdiroption} \
17722 || exit 1
17724 .PHONY: all-ash maybe-all-ash
17725 maybe-all-ash:
17726 all-ash: configure-ash
17727 @r=`${PWD}`; export r; \
17728 s=`cd $(srcdir); ${PWD}`; export s; \
17729 $(SET_LIB_PATH) \
17730 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
17732 .PHONY: check-ash maybe-check-ash
17733 maybe-check-ash:
17735 check-ash:
17736 @r=`${PWD}`; export r; \
17737 s=`cd $(srcdir); ${PWD}`; export s; \
17738 $(SET_LIB_PATH) \
17739 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
17742 .PHONY: install-ash maybe-install-ash
17743 maybe-install-ash:
17745 install-ash: installdirs
17746 @r=`${PWD}`; export r; \
17747 s=`cd $(srcdir); ${PWD}`; export s; \
17748 $(SET_LIB_PATH) \
17749 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
17752 .PHONY: configure-autoconf maybe-configure-autoconf
17753 maybe-configure-autoconf:
17754 configure-autoconf:
17755 @test ! -f autoconf/Makefile || exit 0; \
17756 [ -d autoconf ] || mkdir autoconf; \
17757 r=`${PWD}`; export r; \
17758 s=`cd $(srcdir); ${PWD}`; export s; \
17759 CC="$(CC)"; export CC; \
17760 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17761 CXX="$(CXX)"; export CXX; \
17762 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17763 AR="$(AR)"; export AR; \
17764 AS="$(AS)"; export AS; \
17765 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17766 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17767 LD="$(LD)"; export LD; \
17768 NM="$(NM)"; export NM; \
17769 RANLIB="$(RANLIB)"; export RANLIB; \
17770 WINDRES="$(WINDRES)"; export WINDRES; \
17771 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17772 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17773 echo Configuring in autoconf; \
17774 cd autoconf || exit 1; \
17775 case $(srcdir) in \
17776 \.) \
17777 srcdiroption="--srcdir=."; \
17778 libsrcdir=".";; \
17779 /* | [A-Za-z]:[\\/]*) \
17780 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
17781 libsrcdir="$$s/autoconf";; \
17782 *) \
17783 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
17784 libsrcdir="$$s/autoconf";; \
17785 esac; \
17786 $(SHELL) $${libsrcdir}/configure \
17787 $(HOST_CONFIGARGS) $${srcdiroption} \
17788 || exit 1
17790 .PHONY: all-autoconf maybe-all-autoconf
17791 maybe-all-autoconf:
17792 all-autoconf: configure-autoconf
17793 @r=`${PWD}`; export r; \
17794 s=`cd $(srcdir); ${PWD}`; export s; \
17795 $(SET_LIB_PATH) \
17796 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
17798 .PHONY: check-autoconf maybe-check-autoconf
17799 maybe-check-autoconf:
17801 check-autoconf:
17802 @r=`${PWD}`; export r; \
17803 s=`cd $(srcdir); ${PWD}`; export s; \
17804 $(SET_LIB_PATH) \
17805 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
17808 .PHONY: install-autoconf maybe-install-autoconf
17809 maybe-install-autoconf:
17811 install-autoconf: installdirs
17812 @r=`${PWD}`; export r; \
17813 s=`cd $(srcdir); ${PWD}`; export s; \
17814 $(SET_LIB_PATH) \
17815 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
17818 .PHONY: configure-automake maybe-configure-automake
17819 maybe-configure-automake:
17820 configure-automake:
17821 @test ! -f automake/Makefile || exit 0; \
17822 [ -d automake ] || mkdir automake; \
17823 r=`${PWD}`; export r; \
17824 s=`cd $(srcdir); ${PWD}`; export s; \
17825 CC="$(CC)"; export CC; \
17826 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17827 CXX="$(CXX)"; export CXX; \
17828 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17829 AR="$(AR)"; export AR; \
17830 AS="$(AS)"; export AS; \
17831 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17832 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17833 LD="$(LD)"; export LD; \
17834 NM="$(NM)"; export NM; \
17835 RANLIB="$(RANLIB)"; export RANLIB; \
17836 WINDRES="$(WINDRES)"; export WINDRES; \
17837 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17838 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17839 echo Configuring in automake; \
17840 cd automake || exit 1; \
17841 case $(srcdir) in \
17842 \.) \
17843 srcdiroption="--srcdir=."; \
17844 libsrcdir=".";; \
17845 /* | [A-Za-z]:[\\/]*) \
17846 srcdiroption="--srcdir=$(srcdir)/automake"; \
17847 libsrcdir="$$s/automake";; \
17848 *) \
17849 srcdiroption="--srcdir=../$(srcdir)/automake"; \
17850 libsrcdir="$$s/automake";; \
17851 esac; \
17852 $(SHELL) $${libsrcdir}/configure \
17853 $(HOST_CONFIGARGS) $${srcdiroption} \
17854 || exit 1
17856 .PHONY: all-automake maybe-all-automake
17857 maybe-all-automake:
17858 all-automake: configure-automake
17859 @r=`${PWD}`; export r; \
17860 s=`cd $(srcdir); ${PWD}`; export s; \
17861 $(SET_LIB_PATH) \
17862 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
17864 .PHONY: check-automake maybe-check-automake
17865 maybe-check-automake:
17867 check-automake:
17868 @r=`${PWD}`; export r; \
17869 s=`cd $(srcdir); ${PWD}`; export s; \
17870 $(SET_LIB_PATH) \
17871 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
17874 .PHONY: install-automake maybe-install-automake
17875 maybe-install-automake:
17877 install-automake: installdirs
17878 @r=`${PWD}`; export r; \
17879 s=`cd $(srcdir); ${PWD}`; export s; \
17880 $(SET_LIB_PATH) \
17881 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
17884 .PHONY: configure-bash maybe-configure-bash
17885 maybe-configure-bash:
17886 configure-bash:
17887 @test ! -f bash/Makefile || exit 0; \
17888 [ -d bash ] || mkdir bash; \
17889 r=`${PWD}`; export r; \
17890 s=`cd $(srcdir); ${PWD}`; export s; \
17891 CC="$(CC)"; export CC; \
17892 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17893 CXX="$(CXX)"; export CXX; \
17894 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17895 AR="$(AR)"; export AR; \
17896 AS="$(AS)"; export AS; \
17897 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17898 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17899 LD="$(LD)"; export LD; \
17900 NM="$(NM)"; export NM; \
17901 RANLIB="$(RANLIB)"; export RANLIB; \
17902 WINDRES="$(WINDRES)"; export WINDRES; \
17903 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17904 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17905 echo Configuring in bash; \
17906 cd bash || exit 1; \
17907 case $(srcdir) in \
17908 \.) \
17909 srcdiroption="--srcdir=."; \
17910 libsrcdir=".";; \
17911 /* | [A-Za-z]:[\\/]*) \
17912 srcdiroption="--srcdir=$(srcdir)/bash"; \
17913 libsrcdir="$$s/bash";; \
17914 *) \
17915 srcdiroption="--srcdir=../$(srcdir)/bash"; \
17916 libsrcdir="$$s/bash";; \
17917 esac; \
17918 $(SHELL) $${libsrcdir}/configure \
17919 $(HOST_CONFIGARGS) $${srcdiroption} \
17920 || exit 1
17922 .PHONY: all-bash maybe-all-bash
17923 maybe-all-bash:
17924 all-bash: configure-bash
17925 @r=`${PWD}`; export r; \
17926 s=`cd $(srcdir); ${PWD}`; export s; \
17927 $(SET_LIB_PATH) \
17928 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
17930 .PHONY: check-bash maybe-check-bash
17931 maybe-check-bash:
17933 check-bash:
17934 @r=`${PWD}`; export r; \
17935 s=`cd $(srcdir); ${PWD}`; export s; \
17936 $(SET_LIB_PATH) \
17937 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
17940 .PHONY: install-bash maybe-install-bash
17941 maybe-install-bash:
17943 install-bash: installdirs
17944 @r=`${PWD}`; export r; \
17945 s=`cd $(srcdir); ${PWD}`; export s; \
17946 $(SET_LIB_PATH) \
17947 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
17950 .PHONY: configure-bfd maybe-configure-bfd
17951 maybe-configure-bfd:
17952 configure-bfd:
17953 @test ! -f bfd/Makefile || exit 0; \
17954 [ -d bfd ] || mkdir bfd; \
17955 r=`${PWD}`; export r; \
17956 s=`cd $(srcdir); ${PWD}`; export s; \
17957 CC="$(CC)"; export CC; \
17958 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17959 CXX="$(CXX)"; export CXX; \
17960 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17961 AR="$(AR)"; export AR; \
17962 AS="$(AS)"; export AS; \
17963 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17964 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17965 LD="$(LD)"; export LD; \
17966 NM="$(NM)"; export NM; \
17967 RANLIB="$(RANLIB)"; export RANLIB; \
17968 WINDRES="$(WINDRES)"; export WINDRES; \
17969 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17970 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17971 echo Configuring in bfd; \
17972 cd bfd || exit 1; \
17973 case $(srcdir) in \
17974 \.) \
17975 srcdiroption="--srcdir=."; \
17976 libsrcdir=".";; \
17977 /* | [A-Za-z]:[\\/]*) \
17978 srcdiroption="--srcdir=$(srcdir)/bfd"; \
17979 libsrcdir="$$s/bfd";; \
17980 *) \
17981 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
17982 libsrcdir="$$s/bfd";; \
17983 esac; \
17984 $(SHELL) $${libsrcdir}/configure \
17985 $(HOST_CONFIGARGS) $${srcdiroption} \
17986 || exit 1
17988 .PHONY: all-bfd maybe-all-bfd
17989 maybe-all-bfd:
17990 all-bfd: configure-bfd
17991 @r=`${PWD}`; export r; \
17992 s=`cd $(srcdir); ${PWD}`; export s; \
17993 $(SET_LIB_PATH) \
17994 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
17996 .PHONY: check-bfd maybe-check-bfd
17997 maybe-check-bfd:
17999 check-bfd:
18000 @r=`${PWD}`; export r; \
18001 s=`cd $(srcdir); ${PWD}`; export s; \
18002 $(SET_LIB_PATH) \
18003 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
18006 .PHONY: install-bfd maybe-install-bfd
18007 maybe-install-bfd:
18009 install-bfd: installdirs
18010 @r=`${PWD}`; export r; \
18011 s=`cd $(srcdir); ${PWD}`; export s; \
18012 $(SET_LIB_PATH) \
18013 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
18016 .PHONY: configure-opcodes maybe-configure-opcodes
18017 maybe-configure-opcodes:
18018 configure-opcodes:
18019 @test ! -f opcodes/Makefile || exit 0; \
18020 [ -d opcodes ] || mkdir opcodes; \
18021 r=`${PWD}`; export r; \
18022 s=`cd $(srcdir); ${PWD}`; export s; \
18023 CC="$(CC)"; export CC; \
18024 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18025 CXX="$(CXX)"; export CXX; \
18026 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18027 AR="$(AR)"; export AR; \
18028 AS="$(AS)"; export AS; \
18029 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18030 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18031 LD="$(LD)"; export LD; \
18032 NM="$(NM)"; export NM; \
18033 RANLIB="$(RANLIB)"; export RANLIB; \
18034 WINDRES="$(WINDRES)"; export WINDRES; \
18035 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18036 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18037 echo Configuring in opcodes; \
18038 cd opcodes || exit 1; \
18039 case $(srcdir) in \
18040 \.) \
18041 srcdiroption="--srcdir=."; \
18042 libsrcdir=".";; \
18043 /* | [A-Za-z]:[\\/]*) \
18044 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
18045 libsrcdir="$$s/opcodes";; \
18046 *) \
18047 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
18048 libsrcdir="$$s/opcodes";; \
18049 esac; \
18050 $(SHELL) $${libsrcdir}/configure \
18051 $(HOST_CONFIGARGS) $${srcdiroption} \
18052 || exit 1
18054 .PHONY: all-opcodes maybe-all-opcodes
18055 maybe-all-opcodes:
18056 all-opcodes: configure-opcodes
18057 @r=`${PWD}`; export r; \
18058 s=`cd $(srcdir); ${PWD}`; export s; \
18059 $(SET_LIB_PATH) \
18060 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
18062 .PHONY: check-opcodes maybe-check-opcodes
18063 maybe-check-opcodes:
18065 check-opcodes:
18066 @r=`${PWD}`; export r; \
18067 s=`cd $(srcdir); ${PWD}`; export s; \
18068 $(SET_LIB_PATH) \
18069 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
18072 .PHONY: install-opcodes maybe-install-opcodes
18073 maybe-install-opcodes:
18075 install-opcodes: installdirs
18076 @r=`${PWD}`; export r; \
18077 s=`cd $(srcdir); ${PWD}`; export s; \
18078 $(SET_LIB_PATH) \
18079 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
18082 .PHONY: configure-binutils maybe-configure-binutils
18083 maybe-configure-binutils:
18084 configure-binutils:
18085 @test ! -f binutils/Makefile || exit 0; \
18086 [ -d binutils ] || mkdir binutils; \
18087 r=`${PWD}`; export r; \
18088 s=`cd $(srcdir); ${PWD}`; export s; \
18089 CC="$(CC)"; export CC; \
18090 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18091 CXX="$(CXX)"; export CXX; \
18092 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18093 AR="$(AR)"; export AR; \
18094 AS="$(AS)"; export AS; \
18095 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18096 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18097 LD="$(LD)"; export LD; \
18098 NM="$(NM)"; export NM; \
18099 RANLIB="$(RANLIB)"; export RANLIB; \
18100 WINDRES="$(WINDRES)"; export WINDRES; \
18101 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18102 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18103 echo Configuring in binutils; \
18104 cd binutils || exit 1; \
18105 case $(srcdir) in \
18106 \.) \
18107 srcdiroption="--srcdir=."; \
18108 libsrcdir=".";; \
18109 /* | [A-Za-z]:[\\/]*) \
18110 srcdiroption="--srcdir=$(srcdir)/binutils"; \
18111 libsrcdir="$$s/binutils";; \
18112 *) \
18113 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
18114 libsrcdir="$$s/binutils";; \
18115 esac; \
18116 $(SHELL) $${libsrcdir}/configure \
18117 $(HOST_CONFIGARGS) $${srcdiroption} \
18118 || exit 1
18120 .PHONY: all-binutils maybe-all-binutils
18121 maybe-all-binutils:
18122 all-binutils: configure-binutils
18123 @r=`${PWD}`; export r; \
18124 s=`cd $(srcdir); ${PWD}`; export s; \
18125 $(SET_LIB_PATH) \
18126 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
18128 .PHONY: check-binutils maybe-check-binutils
18129 maybe-check-binutils:
18131 check-binutils:
18132 @r=`${PWD}`; export r; \
18133 s=`cd $(srcdir); ${PWD}`; export s; \
18134 $(SET_LIB_PATH) \
18135 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
18138 .PHONY: install-binutils maybe-install-binutils
18139 maybe-install-binutils:
18141 install-binutils: installdirs
18142 @r=`${PWD}`; export r; \
18143 s=`cd $(srcdir); ${PWD}`; export s; \
18144 $(SET_LIB_PATH) \
18145 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
18148 .PHONY: configure-bison maybe-configure-bison
18149 maybe-configure-bison:
18150 configure-bison:
18151 @test ! -f bison/Makefile || exit 0; \
18152 [ -d bison ] || mkdir bison; \
18153 r=`${PWD}`; export r; \
18154 s=`cd $(srcdir); ${PWD}`; export s; \
18155 CC="$(CC)"; export CC; \
18156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18157 CXX="$(CXX)"; export CXX; \
18158 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18159 AR="$(AR)"; export AR; \
18160 AS="$(AS)"; export AS; \
18161 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18162 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18163 LD="$(LD)"; export LD; \
18164 NM="$(NM)"; export NM; \
18165 RANLIB="$(RANLIB)"; export RANLIB; \
18166 WINDRES="$(WINDRES)"; export WINDRES; \
18167 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18168 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18169 echo Configuring in bison; \
18170 cd bison || exit 1; \
18171 case $(srcdir) in \
18172 \.) \
18173 srcdiroption="--srcdir=."; \
18174 libsrcdir=".";; \
18175 /* | [A-Za-z]:[\\/]*) \
18176 srcdiroption="--srcdir=$(srcdir)/bison"; \
18177 libsrcdir="$$s/bison";; \
18178 *) \
18179 srcdiroption="--srcdir=../$(srcdir)/bison"; \
18180 libsrcdir="$$s/bison";; \
18181 esac; \
18182 $(SHELL) $${libsrcdir}/configure \
18183 $(HOST_CONFIGARGS) $${srcdiroption} \
18184 || exit 1
18186 .PHONY: all-bison maybe-all-bison
18187 maybe-all-bison:
18188 all-bison: configure-bison
18189 @r=`${PWD}`; export r; \
18190 s=`cd $(srcdir); ${PWD}`; export s; \
18191 $(SET_LIB_PATH) \
18192 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
18194 .PHONY: check-bison maybe-check-bison
18195 maybe-check-bison:
18197 # This module is only tested in a native toolchain.
18198 check-bison:
18199 @if [ '$(host)' = '$(target)' ] ; then \
18200 r=`${PWD}`; export r; \
18201 s=`cd $(srcdir); ${PWD}`; export s; \
18202 $(SET_LIB_PATH) \
18203 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
18207 .PHONY: install-bison maybe-install-bison
18208 maybe-install-bison:
18210 install-bison: installdirs
18211 @r=`${PWD}`; export r; \
18212 s=`cd $(srcdir); ${PWD}`; export s; \
18213 $(SET_LIB_PATH) \
18214 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
18217 .PHONY: configure-byacc maybe-configure-byacc
18218 maybe-configure-byacc:
18219 configure-byacc:
18220 @test ! -f byacc/Makefile || exit 0; \
18221 [ -d byacc ] || mkdir byacc; \
18222 r=`${PWD}`; export r; \
18223 s=`cd $(srcdir); ${PWD}`; export s; \
18224 CC="$(CC)"; export CC; \
18225 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18226 CXX="$(CXX)"; export CXX; \
18227 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18228 AR="$(AR)"; export AR; \
18229 AS="$(AS)"; export AS; \
18230 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18231 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18232 LD="$(LD)"; export LD; \
18233 NM="$(NM)"; export NM; \
18234 RANLIB="$(RANLIB)"; export RANLIB; \
18235 WINDRES="$(WINDRES)"; export WINDRES; \
18236 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18237 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18238 echo Configuring in byacc; \
18239 cd byacc || exit 1; \
18240 case $(srcdir) in \
18241 \.) \
18242 srcdiroption="--srcdir=."; \
18243 libsrcdir=".";; \
18244 /* | [A-Za-z]:[\\/]*) \
18245 srcdiroption="--srcdir=$(srcdir)/byacc"; \
18246 libsrcdir="$$s/byacc";; \
18247 *) \
18248 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
18249 libsrcdir="$$s/byacc";; \
18250 esac; \
18251 $(SHELL) $${libsrcdir}/configure \
18252 $(HOST_CONFIGARGS) $${srcdiroption} \
18253 || exit 1
18255 .PHONY: all-byacc maybe-all-byacc
18256 maybe-all-byacc:
18257 all-byacc: configure-byacc
18258 @r=`${PWD}`; export r; \
18259 s=`cd $(srcdir); ${PWD}`; export s; \
18260 $(SET_LIB_PATH) \
18261 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
18263 .PHONY: check-byacc maybe-check-byacc
18264 maybe-check-byacc:
18266 # This module is only tested in a native toolchain.
18267 check-byacc:
18268 @if [ '$(host)' = '$(target)' ] ; then \
18269 r=`${PWD}`; export r; \
18270 s=`cd $(srcdir); ${PWD}`; export s; \
18271 $(SET_LIB_PATH) \
18272 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
18276 .PHONY: install-byacc maybe-install-byacc
18277 maybe-install-byacc:
18279 install-byacc: installdirs
18280 @r=`${PWD}`; export r; \
18281 s=`cd $(srcdir); ${PWD}`; export s; \
18282 $(SET_LIB_PATH) \
18283 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
18286 .PHONY: configure-bzip2 maybe-configure-bzip2
18287 maybe-configure-bzip2:
18288 configure-bzip2:
18289 @test ! -f bzip2/Makefile || exit 0; \
18290 [ -d bzip2 ] || mkdir bzip2; \
18291 r=`${PWD}`; export r; \
18292 s=`cd $(srcdir); ${PWD}`; export s; \
18293 CC="$(CC)"; export CC; \
18294 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18295 CXX="$(CXX)"; export CXX; \
18296 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18297 AR="$(AR)"; export AR; \
18298 AS="$(AS)"; export AS; \
18299 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18300 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18301 LD="$(LD)"; export LD; \
18302 NM="$(NM)"; export NM; \
18303 RANLIB="$(RANLIB)"; export RANLIB; \
18304 WINDRES="$(WINDRES)"; export WINDRES; \
18305 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18306 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18307 echo Configuring in bzip2; \
18308 cd bzip2 || exit 1; \
18309 case $(srcdir) in \
18310 \.) \
18311 srcdiroption="--srcdir=."; \
18312 libsrcdir=".";; \
18313 /* | [A-Za-z]:[\\/]*) \
18314 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
18315 libsrcdir="$$s/bzip2";; \
18316 *) \
18317 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
18318 libsrcdir="$$s/bzip2";; \
18319 esac; \
18320 $(SHELL) $${libsrcdir}/configure \
18321 $(HOST_CONFIGARGS) $${srcdiroption} \
18322 || exit 1
18324 .PHONY: all-bzip2 maybe-all-bzip2
18325 maybe-all-bzip2:
18326 all-bzip2: configure-bzip2
18327 @r=`${PWD}`; export r; \
18328 s=`cd $(srcdir); ${PWD}`; export s; \
18329 $(SET_LIB_PATH) \
18330 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
18332 .PHONY: check-bzip2 maybe-check-bzip2
18333 maybe-check-bzip2:
18335 check-bzip2:
18336 @r=`${PWD}`; export r; \
18337 s=`cd $(srcdir); ${PWD}`; export s; \
18338 $(SET_LIB_PATH) \
18339 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
18342 .PHONY: install-bzip2 maybe-install-bzip2
18343 maybe-install-bzip2:
18345 install-bzip2: installdirs
18346 @r=`${PWD}`; export r; \
18347 s=`cd $(srcdir); ${PWD}`; export s; \
18348 $(SET_LIB_PATH) \
18349 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
18352 .PHONY: configure-dejagnu maybe-configure-dejagnu
18353 maybe-configure-dejagnu:
18354 configure-dejagnu:
18355 @test ! -f dejagnu/Makefile || exit 0; \
18356 [ -d dejagnu ] || mkdir dejagnu; \
18357 r=`${PWD}`; export r; \
18358 s=`cd $(srcdir); ${PWD}`; export s; \
18359 CC="$(CC)"; export CC; \
18360 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18361 CXX="$(CXX)"; export CXX; \
18362 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18363 AR="$(AR)"; export AR; \
18364 AS="$(AS)"; export AS; \
18365 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18366 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18367 LD="$(LD)"; export LD; \
18368 NM="$(NM)"; export NM; \
18369 RANLIB="$(RANLIB)"; export RANLIB; \
18370 WINDRES="$(WINDRES)"; export WINDRES; \
18371 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18372 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18373 echo Configuring in dejagnu; \
18374 cd dejagnu || exit 1; \
18375 case $(srcdir) in \
18376 \.) \
18377 srcdiroption="--srcdir=."; \
18378 libsrcdir=".";; \
18379 /* | [A-Za-z]:[\\/]*) \
18380 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
18381 libsrcdir="$$s/dejagnu";; \
18382 *) \
18383 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
18384 libsrcdir="$$s/dejagnu";; \
18385 esac; \
18386 $(SHELL) $${libsrcdir}/configure \
18387 $(HOST_CONFIGARGS) $${srcdiroption} \
18388 || exit 1
18390 .PHONY: all-dejagnu maybe-all-dejagnu
18391 maybe-all-dejagnu:
18392 all-dejagnu: configure-dejagnu
18393 @r=`${PWD}`; export r; \
18394 s=`cd $(srcdir); ${PWD}`; export s; \
18395 $(SET_LIB_PATH) \
18396 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
18398 .PHONY: check-dejagnu maybe-check-dejagnu
18399 maybe-check-dejagnu:
18401 check-dejagnu:
18402 @r=`${PWD}`; export r; \
18403 s=`cd $(srcdir); ${PWD}`; export s; \
18404 $(SET_LIB_PATH) \
18405 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
18408 .PHONY: install-dejagnu maybe-install-dejagnu
18409 maybe-install-dejagnu:
18411 install-dejagnu: installdirs
18412 @r=`${PWD}`; export r; \
18413 s=`cd $(srcdir); ${PWD}`; export s; \
18414 $(SET_LIB_PATH) \
18415 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
18418 .PHONY: configure-diff maybe-configure-diff
18419 maybe-configure-diff:
18420 configure-diff:
18421 @test ! -f diff/Makefile || exit 0; \
18422 [ -d diff ] || mkdir diff; \
18423 r=`${PWD}`; export r; \
18424 s=`cd $(srcdir); ${PWD}`; export s; \
18425 CC="$(CC)"; export CC; \
18426 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18427 CXX="$(CXX)"; export CXX; \
18428 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18429 AR="$(AR)"; export AR; \
18430 AS="$(AS)"; export AS; \
18431 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18432 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18433 LD="$(LD)"; export LD; \
18434 NM="$(NM)"; export NM; \
18435 RANLIB="$(RANLIB)"; export RANLIB; \
18436 WINDRES="$(WINDRES)"; export WINDRES; \
18437 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18438 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18439 echo Configuring in diff; \
18440 cd diff || exit 1; \
18441 case $(srcdir) in \
18442 \.) \
18443 srcdiroption="--srcdir=."; \
18444 libsrcdir=".";; \
18445 /* | [A-Za-z]:[\\/]*) \
18446 srcdiroption="--srcdir=$(srcdir)/diff"; \
18447 libsrcdir="$$s/diff";; \
18448 *) \
18449 srcdiroption="--srcdir=../$(srcdir)/diff"; \
18450 libsrcdir="$$s/diff";; \
18451 esac; \
18452 $(SHELL) $${libsrcdir}/configure \
18453 $(HOST_CONFIGARGS) $${srcdiroption} \
18454 || exit 1
18456 .PHONY: all-diff maybe-all-diff
18457 maybe-all-diff:
18458 all-diff: configure-diff
18459 @r=`${PWD}`; export r; \
18460 s=`cd $(srcdir); ${PWD}`; export s; \
18461 $(SET_LIB_PATH) \
18462 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
18464 .PHONY: check-diff maybe-check-diff
18465 maybe-check-diff:
18467 check-diff:
18468 @r=`${PWD}`; export r; \
18469 s=`cd $(srcdir); ${PWD}`; export s; \
18470 $(SET_LIB_PATH) \
18471 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
18474 .PHONY: install-diff maybe-install-diff
18475 maybe-install-diff:
18477 install-diff: installdirs
18478 @r=`${PWD}`; export r; \
18479 s=`cd $(srcdir); ${PWD}`; export s; \
18480 $(SET_LIB_PATH) \
18481 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
18484 .PHONY: configure-dosutils maybe-configure-dosutils
18485 maybe-configure-dosutils:
18486 configure-dosutils:
18487 @test ! -f dosutils/Makefile || exit 0; \
18488 [ -d dosutils ] || mkdir dosutils; \
18489 r=`${PWD}`; export r; \
18490 s=`cd $(srcdir); ${PWD}`; export s; \
18491 CC="$(CC)"; export CC; \
18492 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18493 CXX="$(CXX)"; export CXX; \
18494 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18495 AR="$(AR)"; export AR; \
18496 AS="$(AS)"; export AS; \
18497 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18498 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18499 LD="$(LD)"; export LD; \
18500 NM="$(NM)"; export NM; \
18501 RANLIB="$(RANLIB)"; export RANLIB; \
18502 WINDRES="$(WINDRES)"; export WINDRES; \
18503 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18504 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18505 echo Configuring in dosutils; \
18506 cd dosutils || exit 1; \
18507 case $(srcdir) in \
18508 \.) \
18509 srcdiroption="--srcdir=."; \
18510 libsrcdir=".";; \
18511 /* | [A-Za-z]:[\\/]*) \
18512 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
18513 libsrcdir="$$s/dosutils";; \
18514 *) \
18515 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
18516 libsrcdir="$$s/dosutils";; \
18517 esac; \
18518 $(SHELL) $${libsrcdir}/configure \
18519 $(HOST_CONFIGARGS) $${srcdiroption} \
18520 || exit 1
18522 .PHONY: all-dosutils maybe-all-dosutils
18523 maybe-all-dosutils:
18524 all-dosutils: configure-dosutils
18525 @r=`${PWD}`; export r; \
18526 s=`cd $(srcdir); ${PWD}`; export s; \
18527 $(SET_LIB_PATH) \
18528 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
18530 .PHONY: check-dosutils maybe-check-dosutils
18531 maybe-check-dosutils:
18533 check-dosutils:
18536 .PHONY: install-dosutils maybe-install-dosutils
18537 maybe-install-dosutils:
18539 install-dosutils: installdirs
18540 @r=`${PWD}`; export r; \
18541 s=`cd $(srcdir); ${PWD}`; export s; \
18542 $(SET_LIB_PATH) \
18543 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
18546 .PHONY: configure-etc maybe-configure-etc
18547 maybe-configure-etc:
18548 configure-etc:
18549 @test ! -f etc/Makefile || exit 0; \
18550 [ -d etc ] || mkdir etc; \
18551 r=`${PWD}`; export r; \
18552 s=`cd $(srcdir); ${PWD}`; export s; \
18553 CC="$(CC)"; export CC; \
18554 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18555 CXX="$(CXX)"; export CXX; \
18556 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18557 AR="$(AR)"; export AR; \
18558 AS="$(AS)"; export AS; \
18559 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18560 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18561 LD="$(LD)"; export LD; \
18562 NM="$(NM)"; export NM; \
18563 RANLIB="$(RANLIB)"; export RANLIB; \
18564 WINDRES="$(WINDRES)"; export WINDRES; \
18565 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18566 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18567 echo Configuring in etc; \
18568 cd etc || exit 1; \
18569 case $(srcdir) in \
18570 \.) \
18571 srcdiroption="--srcdir=."; \
18572 libsrcdir=".";; \
18573 /* | [A-Za-z]:[\\/]*) \
18574 srcdiroption="--srcdir=$(srcdir)/etc"; \
18575 libsrcdir="$$s/etc";; \
18576 *) \
18577 srcdiroption="--srcdir=../$(srcdir)/etc"; \
18578 libsrcdir="$$s/etc";; \
18579 esac; \
18580 $(SHELL) $${libsrcdir}/configure \
18581 $(HOST_CONFIGARGS) $${srcdiroption} \
18582 || exit 1
18584 .PHONY: all-etc maybe-all-etc
18585 maybe-all-etc:
18586 all-etc: configure-etc
18587 @r=`${PWD}`; export r; \
18588 s=`cd $(srcdir); ${PWD}`; export s; \
18589 $(SET_LIB_PATH) \
18590 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
18592 .PHONY: check-etc maybe-check-etc
18593 maybe-check-etc:
18595 check-etc:
18596 @r=`${PWD}`; export r; \
18597 s=`cd $(srcdir); ${PWD}`; export s; \
18598 $(SET_LIB_PATH) \
18599 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
18602 .PHONY: install-etc maybe-install-etc
18603 maybe-install-etc:
18605 install-etc: installdirs
18606 @r=`${PWD}`; export r; \
18607 s=`cd $(srcdir); ${PWD}`; export s; \
18608 $(SET_LIB_PATH) \
18609 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
18612 .PHONY: configure-fastjar maybe-configure-fastjar
18613 maybe-configure-fastjar:
18614 configure-fastjar:
18615 @test ! -f fastjar/Makefile || exit 0; \
18616 [ -d fastjar ] || mkdir fastjar; \
18617 r=`${PWD}`; export r; \
18618 s=`cd $(srcdir); ${PWD}`; export s; \
18619 CC="$(CC)"; export CC; \
18620 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18621 CXX="$(CXX)"; export CXX; \
18622 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18623 AR="$(AR)"; export AR; \
18624 AS="$(AS)"; export AS; \
18625 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18626 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18627 LD="$(LD)"; export LD; \
18628 NM="$(NM)"; export NM; \
18629 RANLIB="$(RANLIB)"; export RANLIB; \
18630 WINDRES="$(WINDRES)"; export WINDRES; \
18631 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18632 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18633 echo Configuring in fastjar; \
18634 cd fastjar || exit 1; \
18635 case $(srcdir) in \
18636 \.) \
18637 srcdiroption="--srcdir=."; \
18638 libsrcdir=".";; \
18639 /* | [A-Za-z]:[\\/]*) \
18640 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
18641 libsrcdir="$$s/fastjar";; \
18642 *) \
18643 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
18644 libsrcdir="$$s/fastjar";; \
18645 esac; \
18646 $(SHELL) $${libsrcdir}/configure \
18647 $(HOST_CONFIGARGS) $${srcdiroption} \
18648 || exit 1
18650 .PHONY: all-fastjar maybe-all-fastjar
18651 maybe-all-fastjar:
18652 all-fastjar: configure-fastjar
18653 @r=`${PWD}`; export r; \
18654 s=`cd $(srcdir); ${PWD}`; export s; \
18655 $(SET_LIB_PATH) \
18656 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
18658 .PHONY: check-fastjar maybe-check-fastjar
18659 maybe-check-fastjar:
18661 # This module is only tested in a native toolchain.
18662 check-fastjar:
18663 @if [ '$(host)' = '$(target)' ] ; then \
18664 r=`${PWD}`; export r; \
18665 s=`cd $(srcdir); ${PWD}`; export s; \
18666 $(SET_LIB_PATH) \
18667 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
18671 .PHONY: install-fastjar maybe-install-fastjar
18672 maybe-install-fastjar:
18674 install-fastjar: installdirs
18675 @r=`${PWD}`; export r; \
18676 s=`cd $(srcdir); ${PWD}`; export s; \
18677 $(SET_LIB_PATH) \
18678 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
18681 .PHONY: configure-fileutils maybe-configure-fileutils
18682 maybe-configure-fileutils:
18683 configure-fileutils:
18684 @test ! -f fileutils/Makefile || exit 0; \
18685 [ -d fileutils ] || mkdir fileutils; \
18686 r=`${PWD}`; export r; \
18687 s=`cd $(srcdir); ${PWD}`; export s; \
18688 CC="$(CC)"; export CC; \
18689 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18690 CXX="$(CXX)"; export CXX; \
18691 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18692 AR="$(AR)"; export AR; \
18693 AS="$(AS)"; export AS; \
18694 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18695 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18696 LD="$(LD)"; export LD; \
18697 NM="$(NM)"; export NM; \
18698 RANLIB="$(RANLIB)"; export RANLIB; \
18699 WINDRES="$(WINDRES)"; export WINDRES; \
18700 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18701 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18702 echo Configuring in fileutils; \
18703 cd fileutils || exit 1; \
18704 case $(srcdir) in \
18705 \.) \
18706 srcdiroption="--srcdir=."; \
18707 libsrcdir=".";; \
18708 /* | [A-Za-z]:[\\/]*) \
18709 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
18710 libsrcdir="$$s/fileutils";; \
18711 *) \
18712 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
18713 libsrcdir="$$s/fileutils";; \
18714 esac; \
18715 $(SHELL) $${libsrcdir}/configure \
18716 $(HOST_CONFIGARGS) $${srcdiroption} \
18717 || exit 1
18719 .PHONY: all-fileutils maybe-all-fileutils
18720 maybe-all-fileutils:
18721 all-fileutils: configure-fileutils
18722 @r=`${PWD}`; export r; \
18723 s=`cd $(srcdir); ${PWD}`; export s; \
18724 $(SET_LIB_PATH) \
18725 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
18727 .PHONY: check-fileutils maybe-check-fileutils
18728 maybe-check-fileutils:
18730 check-fileutils:
18731 @r=`${PWD}`; export r; \
18732 s=`cd $(srcdir); ${PWD}`; export s; \
18733 $(SET_LIB_PATH) \
18734 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
18737 .PHONY: install-fileutils maybe-install-fileutils
18738 maybe-install-fileutils:
18740 install-fileutils: installdirs
18741 @r=`${PWD}`; export r; \
18742 s=`cd $(srcdir); ${PWD}`; export s; \
18743 $(SET_LIB_PATH) \
18744 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
18747 .PHONY: configure-findutils maybe-configure-findutils
18748 maybe-configure-findutils:
18749 configure-findutils:
18750 @test ! -f findutils/Makefile || exit 0; \
18751 [ -d findutils ] || mkdir findutils; \
18752 r=`${PWD}`; export r; \
18753 s=`cd $(srcdir); ${PWD}`; export s; \
18754 CC="$(CC)"; export CC; \
18755 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18756 CXX="$(CXX)"; export CXX; \
18757 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18758 AR="$(AR)"; export AR; \
18759 AS="$(AS)"; export AS; \
18760 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18761 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18762 LD="$(LD)"; export LD; \
18763 NM="$(NM)"; export NM; \
18764 RANLIB="$(RANLIB)"; export RANLIB; \
18765 WINDRES="$(WINDRES)"; export WINDRES; \
18766 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18767 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18768 echo Configuring in findutils; \
18769 cd findutils || exit 1; \
18770 case $(srcdir) in \
18771 \.) \
18772 srcdiroption="--srcdir=."; \
18773 libsrcdir=".";; \
18774 /* | [A-Za-z]:[\\/]*) \
18775 srcdiroption="--srcdir=$(srcdir)/findutils"; \
18776 libsrcdir="$$s/findutils";; \
18777 *) \
18778 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
18779 libsrcdir="$$s/findutils";; \
18780 esac; \
18781 $(SHELL) $${libsrcdir}/configure \
18782 $(HOST_CONFIGARGS) $${srcdiroption} \
18783 || exit 1
18785 .PHONY: all-findutils maybe-all-findutils
18786 maybe-all-findutils:
18787 all-findutils: configure-findutils
18788 @r=`${PWD}`; export r; \
18789 s=`cd $(srcdir); ${PWD}`; export s; \
18790 $(SET_LIB_PATH) \
18791 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
18793 .PHONY: check-findutils maybe-check-findutils
18794 maybe-check-findutils:
18796 check-findutils:
18797 @r=`${PWD}`; export r; \
18798 s=`cd $(srcdir); ${PWD}`; export s; \
18799 $(SET_LIB_PATH) \
18800 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
18803 .PHONY: install-findutils maybe-install-findutils
18804 maybe-install-findutils:
18806 install-findutils: installdirs
18807 @r=`${PWD}`; export r; \
18808 s=`cd $(srcdir); ${PWD}`; export s; \
18809 $(SET_LIB_PATH) \
18810 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
18813 .PHONY: configure-find maybe-configure-find
18814 maybe-configure-find:
18815 configure-find:
18816 @test ! -f find/Makefile || exit 0; \
18817 [ -d find ] || mkdir find; \
18818 r=`${PWD}`; export r; \
18819 s=`cd $(srcdir); ${PWD}`; export s; \
18820 CC="$(CC)"; export CC; \
18821 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18822 CXX="$(CXX)"; export CXX; \
18823 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18824 AR="$(AR)"; export AR; \
18825 AS="$(AS)"; export AS; \
18826 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18827 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18828 LD="$(LD)"; export LD; \
18829 NM="$(NM)"; export NM; \
18830 RANLIB="$(RANLIB)"; export RANLIB; \
18831 WINDRES="$(WINDRES)"; export WINDRES; \
18832 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18833 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18834 echo Configuring in find; \
18835 cd find || exit 1; \
18836 case $(srcdir) in \
18837 \.) \
18838 srcdiroption="--srcdir=."; \
18839 libsrcdir=".";; \
18840 /* | [A-Za-z]:[\\/]*) \
18841 srcdiroption="--srcdir=$(srcdir)/find"; \
18842 libsrcdir="$$s/find";; \
18843 *) \
18844 srcdiroption="--srcdir=../$(srcdir)/find"; \
18845 libsrcdir="$$s/find";; \
18846 esac; \
18847 $(SHELL) $${libsrcdir}/configure \
18848 $(HOST_CONFIGARGS) $${srcdiroption} \
18849 || exit 1
18851 .PHONY: all-find maybe-all-find
18852 maybe-all-find:
18853 all-find: configure-find
18854 @r=`${PWD}`; export r; \
18855 s=`cd $(srcdir); ${PWD}`; export s; \
18856 $(SET_LIB_PATH) \
18857 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
18859 .PHONY: check-find maybe-check-find
18860 maybe-check-find:
18862 check-find:
18863 @r=`${PWD}`; export r; \
18864 s=`cd $(srcdir); ${PWD}`; export s; \
18865 $(SET_LIB_PATH) \
18866 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
18869 .PHONY: install-find maybe-install-find
18870 maybe-install-find:
18872 install-find: installdirs
18873 @r=`${PWD}`; export r; \
18874 s=`cd $(srcdir); ${PWD}`; export s; \
18875 $(SET_LIB_PATH) \
18876 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
18879 .PHONY: configure-flex maybe-configure-flex
18880 maybe-configure-flex:
18881 configure-flex:
18882 @test ! -f flex/Makefile || exit 0; \
18883 [ -d flex ] || mkdir flex; \
18884 r=`${PWD}`; export r; \
18885 s=`cd $(srcdir); ${PWD}`; export s; \
18886 CC="$(CC)"; export CC; \
18887 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18888 CXX="$(CXX)"; export CXX; \
18889 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18890 AR="$(AR)"; export AR; \
18891 AS="$(AS)"; export AS; \
18892 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18893 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18894 LD="$(LD)"; export LD; \
18895 NM="$(NM)"; export NM; \
18896 RANLIB="$(RANLIB)"; export RANLIB; \
18897 WINDRES="$(WINDRES)"; export WINDRES; \
18898 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18899 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18900 echo Configuring in flex; \
18901 cd flex || exit 1; \
18902 case $(srcdir) in \
18903 \.) \
18904 srcdiroption="--srcdir=."; \
18905 libsrcdir=".";; \
18906 /* | [A-Za-z]:[\\/]*) \
18907 srcdiroption="--srcdir=$(srcdir)/flex"; \
18908 libsrcdir="$$s/flex";; \
18909 *) \
18910 srcdiroption="--srcdir=../$(srcdir)/flex"; \
18911 libsrcdir="$$s/flex";; \
18912 esac; \
18913 $(SHELL) $${libsrcdir}/configure \
18914 $(HOST_CONFIGARGS) $${srcdiroption} \
18915 || exit 1
18917 .PHONY: all-flex maybe-all-flex
18918 maybe-all-flex:
18919 all-flex: configure-flex
18920 @r=`${PWD}`; export r; \
18921 s=`cd $(srcdir); ${PWD}`; export s; \
18922 $(SET_LIB_PATH) \
18923 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
18925 .PHONY: check-flex maybe-check-flex
18926 maybe-check-flex:
18928 # This module is only tested in a native toolchain.
18929 check-flex:
18930 @if [ '$(host)' = '$(target)' ] ; then \
18931 r=`${PWD}`; export r; \
18932 s=`cd $(srcdir); ${PWD}`; export s; \
18933 $(SET_LIB_PATH) \
18934 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
18938 .PHONY: install-flex maybe-install-flex
18939 maybe-install-flex:
18941 install-flex: installdirs
18942 @r=`${PWD}`; export r; \
18943 s=`cd $(srcdir); ${PWD}`; export s; \
18944 $(SET_LIB_PATH) \
18945 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
18948 .PHONY: configure-gas maybe-configure-gas
18949 maybe-configure-gas:
18950 configure-gas:
18951 @test ! -f gas/Makefile || exit 0; \
18952 [ -d gas ] || mkdir gas; \
18953 r=`${PWD}`; export r; \
18954 s=`cd $(srcdir); ${PWD}`; export s; \
18955 CC="$(CC)"; export CC; \
18956 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18957 CXX="$(CXX)"; export CXX; \
18958 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18959 AR="$(AR)"; export AR; \
18960 AS="$(AS)"; export AS; \
18961 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18962 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18963 LD="$(LD)"; export LD; \
18964 NM="$(NM)"; export NM; \
18965 RANLIB="$(RANLIB)"; export RANLIB; \
18966 WINDRES="$(WINDRES)"; export WINDRES; \
18967 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18968 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18969 echo Configuring in gas; \
18970 cd gas || exit 1; \
18971 case $(srcdir) in \
18972 \.) \
18973 srcdiroption="--srcdir=."; \
18974 libsrcdir=".";; \
18975 /* | [A-Za-z]:[\\/]*) \
18976 srcdiroption="--srcdir=$(srcdir)/gas"; \
18977 libsrcdir="$$s/gas";; \
18978 *) \
18979 srcdiroption="--srcdir=../$(srcdir)/gas"; \
18980 libsrcdir="$$s/gas";; \
18981 esac; \
18982 $(SHELL) $${libsrcdir}/configure \
18983 $(HOST_CONFIGARGS) $${srcdiroption} \
18984 || exit 1
18986 .PHONY: all-gas maybe-all-gas
18987 maybe-all-gas:
18988 all-gas: configure-gas
18989 @r=`${PWD}`; export r; \
18990 s=`cd $(srcdir); ${PWD}`; export s; \
18991 $(SET_LIB_PATH) \
18992 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
18994 .PHONY: check-gas maybe-check-gas
18995 maybe-check-gas:
18997 check-gas:
18998 @r=`${PWD}`; export r; \
18999 s=`cd $(srcdir); ${PWD}`; export s; \
19000 $(SET_LIB_PATH) \
19001 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
19004 .PHONY: install-gas maybe-install-gas
19005 maybe-install-gas:
19007 install-gas: installdirs
19008 @r=`${PWD}`; export r; \
19009 s=`cd $(srcdir); ${PWD}`; export s; \
19010 $(SET_LIB_PATH) \
19011 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
19014 .PHONY: configure-gawk maybe-configure-gawk
19015 maybe-configure-gawk:
19016 configure-gawk:
19017 @test ! -f gawk/Makefile || exit 0; \
19018 [ -d gawk ] || mkdir gawk; \
19019 r=`${PWD}`; export r; \
19020 s=`cd $(srcdir); ${PWD}`; export s; \
19021 CC="$(CC)"; export CC; \
19022 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19023 CXX="$(CXX)"; export CXX; \
19024 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19025 AR="$(AR)"; export AR; \
19026 AS="$(AS)"; export AS; \
19027 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19028 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19029 LD="$(LD)"; export LD; \
19030 NM="$(NM)"; export NM; \
19031 RANLIB="$(RANLIB)"; export RANLIB; \
19032 WINDRES="$(WINDRES)"; export WINDRES; \
19033 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19034 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19035 echo Configuring in gawk; \
19036 cd gawk || exit 1; \
19037 case $(srcdir) in \
19038 \.) \
19039 srcdiroption="--srcdir=."; \
19040 libsrcdir=".";; \
19041 /* | [A-Za-z]:[\\/]*) \
19042 srcdiroption="--srcdir=$(srcdir)/gawk"; \
19043 libsrcdir="$$s/gawk";; \
19044 *) \
19045 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
19046 libsrcdir="$$s/gawk";; \
19047 esac; \
19048 $(SHELL) $${libsrcdir}/configure \
19049 $(HOST_CONFIGARGS) $${srcdiroption} \
19050 || exit 1
19052 .PHONY: all-gawk maybe-all-gawk
19053 maybe-all-gawk:
19054 all-gawk: configure-gawk
19055 @r=`${PWD}`; export r; \
19056 s=`cd $(srcdir); ${PWD}`; export s; \
19057 $(SET_LIB_PATH) \
19058 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
19060 .PHONY: check-gawk maybe-check-gawk
19061 maybe-check-gawk:
19063 check-gawk:
19064 @r=`${PWD}`; export r; \
19065 s=`cd $(srcdir); ${PWD}`; export s; \
19066 $(SET_LIB_PATH) \
19067 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
19070 .PHONY: install-gawk maybe-install-gawk
19071 maybe-install-gawk:
19073 install-gawk: installdirs
19074 @r=`${PWD}`; export r; \
19075 s=`cd $(srcdir); ${PWD}`; export s; \
19076 $(SET_LIB_PATH) \
19077 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
19080 .PHONY: configure-gettext maybe-configure-gettext
19081 maybe-configure-gettext:
19082 configure-gettext:
19083 @test ! -f gettext/Makefile || exit 0; \
19084 [ -d gettext ] || mkdir gettext; \
19085 r=`${PWD}`; export r; \
19086 s=`cd $(srcdir); ${PWD}`; export s; \
19087 CC="$(CC)"; export CC; \
19088 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19089 CXX="$(CXX)"; export CXX; \
19090 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19091 AR="$(AR)"; export AR; \
19092 AS="$(AS)"; export AS; \
19093 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19094 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19095 LD="$(LD)"; export LD; \
19096 NM="$(NM)"; export NM; \
19097 RANLIB="$(RANLIB)"; export RANLIB; \
19098 WINDRES="$(WINDRES)"; export WINDRES; \
19099 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19100 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19101 echo Configuring in gettext; \
19102 cd gettext || exit 1; \
19103 case $(srcdir) in \
19104 \.) \
19105 srcdiroption="--srcdir=."; \
19106 libsrcdir=".";; \
19107 /* | [A-Za-z]:[\\/]*) \
19108 srcdiroption="--srcdir=$(srcdir)/gettext"; \
19109 libsrcdir="$$s/gettext";; \
19110 *) \
19111 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
19112 libsrcdir="$$s/gettext";; \
19113 esac; \
19114 $(SHELL) $${libsrcdir}/configure \
19115 $(HOST_CONFIGARGS) $${srcdiroption} \
19116 || exit 1
19118 .PHONY: all-gettext maybe-all-gettext
19119 maybe-all-gettext:
19120 all-gettext: configure-gettext
19121 @r=`${PWD}`; export r; \
19122 s=`cd $(srcdir); ${PWD}`; export s; \
19123 $(SET_LIB_PATH) \
19124 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
19126 .PHONY: check-gettext maybe-check-gettext
19127 maybe-check-gettext:
19129 check-gettext:
19130 @r=`${PWD}`; export r; \
19131 s=`cd $(srcdir); ${PWD}`; export s; \
19132 $(SET_LIB_PATH) \
19133 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
19136 .PHONY: install-gettext maybe-install-gettext
19137 maybe-install-gettext:
19139 install-gettext: installdirs
19140 @r=`${PWD}`; export r; \
19141 s=`cd $(srcdir); ${PWD}`; export s; \
19142 $(SET_LIB_PATH) \
19143 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
19146 .PHONY: configure-gnuserv maybe-configure-gnuserv
19147 maybe-configure-gnuserv:
19148 configure-gnuserv:
19149 @test ! -f gnuserv/Makefile || exit 0; \
19150 [ -d gnuserv ] || mkdir gnuserv; \
19151 r=`${PWD}`; export r; \
19152 s=`cd $(srcdir); ${PWD}`; export s; \
19153 CC="$(CC)"; export CC; \
19154 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19155 CXX="$(CXX)"; export CXX; \
19156 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19157 AR="$(AR)"; export AR; \
19158 AS="$(AS)"; export AS; \
19159 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19160 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19161 LD="$(LD)"; export LD; \
19162 NM="$(NM)"; export NM; \
19163 RANLIB="$(RANLIB)"; export RANLIB; \
19164 WINDRES="$(WINDRES)"; export WINDRES; \
19165 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19166 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19167 echo Configuring in gnuserv; \
19168 cd gnuserv || exit 1; \
19169 case $(srcdir) in \
19170 \.) \
19171 srcdiroption="--srcdir=."; \
19172 libsrcdir=".";; \
19173 /* | [A-Za-z]:[\\/]*) \
19174 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
19175 libsrcdir="$$s/gnuserv";; \
19176 *) \
19177 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
19178 libsrcdir="$$s/gnuserv";; \
19179 esac; \
19180 $(SHELL) $${libsrcdir}/configure \
19181 $(HOST_CONFIGARGS) $${srcdiroption} \
19182 || exit 1
19184 .PHONY: all-gnuserv maybe-all-gnuserv
19185 maybe-all-gnuserv:
19186 all-gnuserv: configure-gnuserv
19187 @r=`${PWD}`; export r; \
19188 s=`cd $(srcdir); ${PWD}`; export s; \
19189 $(SET_LIB_PATH) \
19190 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
19192 .PHONY: check-gnuserv maybe-check-gnuserv
19193 maybe-check-gnuserv:
19195 check-gnuserv:
19196 @r=`${PWD}`; export r; \
19197 s=`cd $(srcdir); ${PWD}`; export s; \
19198 $(SET_LIB_PATH) \
19199 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
19202 .PHONY: install-gnuserv maybe-install-gnuserv
19203 maybe-install-gnuserv:
19205 install-gnuserv: installdirs
19206 @r=`${PWD}`; export r; \
19207 s=`cd $(srcdir); ${PWD}`; export s; \
19208 $(SET_LIB_PATH) \
19209 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
19212 .PHONY: configure-gprof maybe-configure-gprof
19213 maybe-configure-gprof:
19214 configure-gprof:
19215 @test ! -f gprof/Makefile || exit 0; \
19216 [ -d gprof ] || mkdir gprof; \
19217 r=`${PWD}`; export r; \
19218 s=`cd $(srcdir); ${PWD}`; export s; \
19219 CC="$(CC)"; export CC; \
19220 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19221 CXX="$(CXX)"; export CXX; \
19222 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19223 AR="$(AR)"; export AR; \
19224 AS="$(AS)"; export AS; \
19225 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19226 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19227 LD="$(LD)"; export LD; \
19228 NM="$(NM)"; export NM; \
19229 RANLIB="$(RANLIB)"; export RANLIB; \
19230 WINDRES="$(WINDRES)"; export WINDRES; \
19231 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19232 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19233 echo Configuring in gprof; \
19234 cd gprof || exit 1; \
19235 case $(srcdir) in \
19236 \.) \
19237 srcdiroption="--srcdir=."; \
19238 libsrcdir=".";; \
19239 /* | [A-Za-z]:[\\/]*) \
19240 srcdiroption="--srcdir=$(srcdir)/gprof"; \
19241 libsrcdir="$$s/gprof";; \
19242 *) \
19243 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
19244 libsrcdir="$$s/gprof";; \
19245 esac; \
19246 $(SHELL) $${libsrcdir}/configure \
19247 $(HOST_CONFIGARGS) $${srcdiroption} \
19248 || exit 1
19250 .PHONY: all-gprof maybe-all-gprof
19251 maybe-all-gprof:
19252 all-gprof: configure-gprof
19253 @r=`${PWD}`; export r; \
19254 s=`cd $(srcdir); ${PWD}`; export s; \
19255 $(SET_LIB_PATH) \
19256 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
19258 .PHONY: check-gprof maybe-check-gprof
19259 maybe-check-gprof:
19261 check-gprof:
19262 @r=`${PWD}`; export r; \
19263 s=`cd $(srcdir); ${PWD}`; export s; \
19264 $(SET_LIB_PATH) \
19265 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
19268 .PHONY: install-gprof maybe-install-gprof
19269 maybe-install-gprof:
19271 install-gprof: installdirs
19272 @r=`${PWD}`; export r; \
19273 s=`cd $(srcdir); ${PWD}`; export s; \
19274 $(SET_LIB_PATH) \
19275 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
19278 .PHONY: configure-gzip maybe-configure-gzip
19279 maybe-configure-gzip:
19280 configure-gzip:
19281 @test ! -f gzip/Makefile || exit 0; \
19282 [ -d gzip ] || mkdir gzip; \
19283 r=`${PWD}`; export r; \
19284 s=`cd $(srcdir); ${PWD}`; export s; \
19285 CC="$(CC)"; export CC; \
19286 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19287 CXX="$(CXX)"; export CXX; \
19288 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19289 AR="$(AR)"; export AR; \
19290 AS="$(AS)"; export AS; \
19291 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19292 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19293 LD="$(LD)"; export LD; \
19294 NM="$(NM)"; export NM; \
19295 RANLIB="$(RANLIB)"; export RANLIB; \
19296 WINDRES="$(WINDRES)"; export WINDRES; \
19297 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19298 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19299 echo Configuring in gzip; \
19300 cd gzip || exit 1; \
19301 case $(srcdir) in \
19302 \.) \
19303 srcdiroption="--srcdir=."; \
19304 libsrcdir=".";; \
19305 /* | [A-Za-z]:[\\/]*) \
19306 srcdiroption="--srcdir=$(srcdir)/gzip"; \
19307 libsrcdir="$$s/gzip";; \
19308 *) \
19309 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
19310 libsrcdir="$$s/gzip";; \
19311 esac; \
19312 $(SHELL) $${libsrcdir}/configure \
19313 $(HOST_CONFIGARGS) $${srcdiroption} \
19314 || exit 1
19316 .PHONY: all-gzip maybe-all-gzip
19317 maybe-all-gzip:
19318 all-gzip: configure-gzip
19319 @r=`${PWD}`; export r; \
19320 s=`cd $(srcdir); ${PWD}`; export s; \
19321 $(SET_LIB_PATH) \
19322 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
19324 .PHONY: check-gzip maybe-check-gzip
19325 maybe-check-gzip:
19327 check-gzip:
19328 @r=`${PWD}`; export r; \
19329 s=`cd $(srcdir); ${PWD}`; export s; \
19330 $(SET_LIB_PATH) \
19331 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
19334 .PHONY: install-gzip maybe-install-gzip
19335 maybe-install-gzip:
19337 install-gzip: installdirs
19338 @r=`${PWD}`; export r; \
19339 s=`cd $(srcdir); ${PWD}`; export s; \
19340 $(SET_LIB_PATH) \
19341 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
19344 .PHONY: configure-hello maybe-configure-hello
19345 maybe-configure-hello:
19346 configure-hello:
19347 @test ! -f hello/Makefile || exit 0; \
19348 [ -d hello ] || mkdir hello; \
19349 r=`${PWD}`; export r; \
19350 s=`cd $(srcdir); ${PWD}`; export s; \
19351 CC="$(CC)"; export CC; \
19352 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19353 CXX="$(CXX)"; export CXX; \
19354 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19355 AR="$(AR)"; export AR; \
19356 AS="$(AS)"; export AS; \
19357 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19358 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19359 LD="$(LD)"; export LD; \
19360 NM="$(NM)"; export NM; \
19361 RANLIB="$(RANLIB)"; export RANLIB; \
19362 WINDRES="$(WINDRES)"; export WINDRES; \
19363 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19364 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19365 echo Configuring in hello; \
19366 cd hello || exit 1; \
19367 case $(srcdir) in \
19368 \.) \
19369 srcdiroption="--srcdir=."; \
19370 libsrcdir=".";; \
19371 /* | [A-Za-z]:[\\/]*) \
19372 srcdiroption="--srcdir=$(srcdir)/hello"; \
19373 libsrcdir="$$s/hello";; \
19374 *) \
19375 srcdiroption="--srcdir=../$(srcdir)/hello"; \
19376 libsrcdir="$$s/hello";; \
19377 esac; \
19378 $(SHELL) $${libsrcdir}/configure \
19379 $(HOST_CONFIGARGS) $${srcdiroption} \
19380 || exit 1
19382 .PHONY: all-hello maybe-all-hello
19383 maybe-all-hello:
19384 all-hello: configure-hello
19385 @r=`${PWD}`; export r; \
19386 s=`cd $(srcdir); ${PWD}`; export s; \
19387 $(SET_LIB_PATH) \
19388 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
19390 .PHONY: check-hello maybe-check-hello
19391 maybe-check-hello:
19393 check-hello:
19394 @r=`${PWD}`; export r; \
19395 s=`cd $(srcdir); ${PWD}`; export s; \
19396 $(SET_LIB_PATH) \
19397 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
19400 .PHONY: install-hello maybe-install-hello
19401 maybe-install-hello:
19403 install-hello: installdirs
19404 @r=`${PWD}`; export r; \
19405 s=`cd $(srcdir); ${PWD}`; export s; \
19406 $(SET_LIB_PATH) \
19407 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
19410 .PHONY: configure-indent maybe-configure-indent
19411 maybe-configure-indent:
19412 configure-indent:
19413 @test ! -f indent/Makefile || exit 0; \
19414 [ -d indent ] || mkdir indent; \
19415 r=`${PWD}`; export r; \
19416 s=`cd $(srcdir); ${PWD}`; export s; \
19417 CC="$(CC)"; export CC; \
19418 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19419 CXX="$(CXX)"; export CXX; \
19420 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19421 AR="$(AR)"; export AR; \
19422 AS="$(AS)"; export AS; \
19423 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19424 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19425 LD="$(LD)"; export LD; \
19426 NM="$(NM)"; export NM; \
19427 RANLIB="$(RANLIB)"; export RANLIB; \
19428 WINDRES="$(WINDRES)"; export WINDRES; \
19429 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19430 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19431 echo Configuring in indent; \
19432 cd indent || exit 1; \
19433 case $(srcdir) in \
19434 \.) \
19435 srcdiroption="--srcdir=."; \
19436 libsrcdir=".";; \
19437 /* | [A-Za-z]:[\\/]*) \
19438 srcdiroption="--srcdir=$(srcdir)/indent"; \
19439 libsrcdir="$$s/indent";; \
19440 *) \
19441 srcdiroption="--srcdir=../$(srcdir)/indent"; \
19442 libsrcdir="$$s/indent";; \
19443 esac; \
19444 $(SHELL) $${libsrcdir}/configure \
19445 $(HOST_CONFIGARGS) $${srcdiroption} \
19446 || exit 1
19448 .PHONY: all-indent maybe-all-indent
19449 maybe-all-indent:
19450 all-indent: configure-indent
19451 @r=`${PWD}`; export r; \
19452 s=`cd $(srcdir); ${PWD}`; export s; \
19453 $(SET_LIB_PATH) \
19454 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
19456 .PHONY: check-indent maybe-check-indent
19457 maybe-check-indent:
19459 check-indent:
19460 @r=`${PWD}`; export r; \
19461 s=`cd $(srcdir); ${PWD}`; export s; \
19462 $(SET_LIB_PATH) \
19463 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
19466 .PHONY: install-indent maybe-install-indent
19467 maybe-install-indent:
19469 install-indent: installdirs
19470 @r=`${PWD}`; export r; \
19471 s=`cd $(srcdir); ${PWD}`; export s; \
19472 $(SET_LIB_PATH) \
19473 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
19476 .PHONY: configure-intl maybe-configure-intl
19477 maybe-configure-intl:
19478 configure-intl:
19479 @test ! -f intl/Makefile || exit 0; \
19480 [ -d intl ] || mkdir intl; \
19481 r=`${PWD}`; export r; \
19482 s=`cd $(srcdir); ${PWD}`; export s; \
19483 CC="$(CC)"; export CC; \
19484 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19485 CXX="$(CXX)"; export CXX; \
19486 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19487 AR="$(AR)"; export AR; \
19488 AS="$(AS)"; export AS; \
19489 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19490 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19491 LD="$(LD)"; export LD; \
19492 NM="$(NM)"; export NM; \
19493 RANLIB="$(RANLIB)"; export RANLIB; \
19494 WINDRES="$(WINDRES)"; export WINDRES; \
19495 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19496 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19497 echo Configuring in intl; \
19498 cd intl || exit 1; \
19499 case $(srcdir) in \
19500 \.) \
19501 srcdiroption="--srcdir=."; \
19502 libsrcdir=".";; \
19503 /* | [A-Za-z]:[\\/]*) \
19504 srcdiroption="--srcdir=$(srcdir)/intl"; \
19505 libsrcdir="$$s/intl";; \
19506 *) \
19507 srcdiroption="--srcdir=../$(srcdir)/intl"; \
19508 libsrcdir="$$s/intl";; \
19509 esac; \
19510 $(SHELL) $${libsrcdir}/configure \
19511 $(HOST_CONFIGARGS) $${srcdiroption} \
19512 || exit 1
19514 .PHONY: all-intl maybe-all-intl
19515 maybe-all-intl:
19516 all-intl: configure-intl
19517 @r=`${PWD}`; export r; \
19518 s=`cd $(srcdir); ${PWD}`; export s; \
19519 $(SET_LIB_PATH) \
19520 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
19522 .PHONY: check-intl maybe-check-intl
19523 maybe-check-intl:
19525 check-intl:
19526 @r=`${PWD}`; export r; \
19527 s=`cd $(srcdir); ${PWD}`; export s; \
19528 $(SET_LIB_PATH) \
19529 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
19532 .PHONY: install-intl maybe-install-intl
19533 maybe-install-intl:
19535 install-intl: installdirs
19536 @r=`${PWD}`; export r; \
19537 s=`cd $(srcdir); ${PWD}`; export s; \
19538 $(SET_LIB_PATH) \
19539 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
19542 .PHONY: configure-tcl maybe-configure-tcl
19543 maybe-configure-tcl:
19544 configure-tcl:
19545 @test ! -f tcl/Makefile || exit 0; \
19546 [ -d tcl ] || mkdir tcl; \
19547 r=`${PWD}`; export r; \
19548 s=`cd $(srcdir); ${PWD}`; export s; \
19549 CC="$(CC)"; export CC; \
19550 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19551 CXX="$(CXX)"; export CXX; \
19552 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19553 AR="$(AR)"; export AR; \
19554 AS="$(AS)"; export AS; \
19555 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19556 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19557 LD="$(LD)"; export LD; \
19558 NM="$(NM)"; export NM; \
19559 RANLIB="$(RANLIB)"; export RANLIB; \
19560 WINDRES="$(WINDRES)"; export WINDRES; \
19561 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19562 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19563 echo Configuring in tcl; \
19564 cd tcl || exit 1; \
19565 case $(srcdir) in \
19566 \.) \
19567 srcdiroption="--srcdir=."; \
19568 libsrcdir=".";; \
19569 /* | [A-Za-z]:[\\/]*) \
19570 srcdiroption="--srcdir=$(srcdir)/tcl"; \
19571 libsrcdir="$$s/tcl";; \
19572 *) \
19573 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
19574 libsrcdir="$$s/tcl";; \
19575 esac; \
19576 $(SHELL) $${libsrcdir}/configure \
19577 $(HOST_CONFIGARGS) $${srcdiroption} \
19578 || exit 1
19580 .PHONY: all-tcl maybe-all-tcl
19581 maybe-all-tcl:
19582 all-tcl: configure-tcl
19583 @r=`${PWD}`; export r; \
19584 s=`cd $(srcdir); ${PWD}`; export s; \
19585 $(SET_LIB_PATH) \
19586 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
19588 .PHONY: check-tcl maybe-check-tcl
19589 maybe-check-tcl:
19591 check-tcl:
19592 @r=`${PWD}`; export r; \
19593 s=`cd $(srcdir); ${PWD}`; export s; \
19594 $(SET_LIB_PATH) \
19595 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
19598 .PHONY: install-tcl maybe-install-tcl
19599 maybe-install-tcl:
19601 install-tcl: installdirs
19602 @r=`${PWD}`; export r; \
19603 s=`cd $(srcdir); ${PWD}`; export s; \
19604 $(SET_LIB_PATH) \
19605 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
19608 .PHONY: configure-itcl maybe-configure-itcl
19609 maybe-configure-itcl:
19610 configure-itcl:
19611 @test ! -f itcl/Makefile || exit 0; \
19612 [ -d itcl ] || mkdir itcl; \
19613 r=`${PWD}`; export r; \
19614 s=`cd $(srcdir); ${PWD}`; export s; \
19615 CC="$(CC)"; export CC; \
19616 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19617 CXX="$(CXX)"; export CXX; \
19618 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19619 AR="$(AR)"; export AR; \
19620 AS="$(AS)"; export AS; \
19621 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19622 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19623 LD="$(LD)"; export LD; \
19624 NM="$(NM)"; export NM; \
19625 RANLIB="$(RANLIB)"; export RANLIB; \
19626 WINDRES="$(WINDRES)"; export WINDRES; \
19627 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19628 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19629 echo Configuring in itcl; \
19630 cd itcl || exit 1; \
19631 case $(srcdir) in \
19632 \.) \
19633 srcdiroption="--srcdir=."; \
19634 libsrcdir=".";; \
19635 /* | [A-Za-z]:[\\/]*) \
19636 srcdiroption="--srcdir=$(srcdir)/itcl"; \
19637 libsrcdir="$$s/itcl";; \
19638 *) \
19639 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
19640 libsrcdir="$$s/itcl";; \
19641 esac; \
19642 $(SHELL) $${libsrcdir}/configure \
19643 $(HOST_CONFIGARGS) $${srcdiroption} \
19644 || exit 1
19646 .PHONY: all-itcl maybe-all-itcl
19647 maybe-all-itcl:
19648 all-itcl: configure-itcl
19649 @r=`${PWD}`; export r; \
19650 s=`cd $(srcdir); ${PWD}`; export s; \
19651 $(SET_LIB_PATH) \
19652 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
19654 .PHONY: check-itcl maybe-check-itcl
19655 maybe-check-itcl:
19657 check-itcl:
19658 @r=`${PWD}`; export r; \
19659 s=`cd $(srcdir); ${PWD}`; export s; \
19660 $(SET_LIB_PATH) \
19661 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
19664 .PHONY: install-itcl maybe-install-itcl
19665 maybe-install-itcl:
19667 install-itcl: installdirs
19668 @r=`${PWD}`; export r; \
19669 s=`cd $(srcdir); ${PWD}`; export s; \
19670 $(SET_LIB_PATH) \
19671 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
19674 .PHONY: configure-ld maybe-configure-ld
19675 maybe-configure-ld:
19676 configure-ld:
19677 @test ! -f ld/Makefile || exit 0; \
19678 [ -d ld ] || mkdir ld; \
19679 r=`${PWD}`; export r; \
19680 s=`cd $(srcdir); ${PWD}`; export s; \
19681 CC="$(CC)"; export CC; \
19682 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19683 CXX="$(CXX)"; export CXX; \
19684 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19685 AR="$(AR)"; export AR; \
19686 AS="$(AS)"; export AS; \
19687 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19688 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19689 LD="$(LD)"; export LD; \
19690 NM="$(NM)"; export NM; \
19691 RANLIB="$(RANLIB)"; export RANLIB; \
19692 WINDRES="$(WINDRES)"; export WINDRES; \
19693 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19694 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19695 echo Configuring in ld; \
19696 cd ld || exit 1; \
19697 case $(srcdir) in \
19698 \.) \
19699 srcdiroption="--srcdir=."; \
19700 libsrcdir=".";; \
19701 /* | [A-Za-z]:[\\/]*) \
19702 srcdiroption="--srcdir=$(srcdir)/ld"; \
19703 libsrcdir="$$s/ld";; \
19704 *) \
19705 srcdiroption="--srcdir=../$(srcdir)/ld"; \
19706 libsrcdir="$$s/ld";; \
19707 esac; \
19708 $(SHELL) $${libsrcdir}/configure \
19709 $(HOST_CONFIGARGS) $${srcdiroption} \
19710 || exit 1
19712 .PHONY: all-ld maybe-all-ld
19713 maybe-all-ld:
19714 all-ld: configure-ld
19715 @r=`${PWD}`; export r; \
19716 s=`cd $(srcdir); ${PWD}`; export s; \
19717 $(SET_LIB_PATH) \
19718 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
19720 .PHONY: check-ld maybe-check-ld
19721 maybe-check-ld:
19723 check-ld:
19724 @r=`${PWD}`; export r; \
19725 s=`cd $(srcdir); ${PWD}`; export s; \
19726 $(SET_LIB_PATH) \
19727 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
19730 .PHONY: install-ld maybe-install-ld
19731 maybe-install-ld:
19733 install-ld: installdirs
19734 @r=`${PWD}`; export r; \
19735 s=`cd $(srcdir); ${PWD}`; export s; \
19736 $(SET_LIB_PATH) \
19737 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
19740 .PHONY: configure-libgui maybe-configure-libgui
19741 maybe-configure-libgui:
19742 configure-libgui:
19743 @test ! -f libgui/Makefile || exit 0; \
19744 [ -d libgui ] || mkdir libgui; \
19745 r=`${PWD}`; export r; \
19746 s=`cd $(srcdir); ${PWD}`; export s; \
19747 CC="$(CC)"; export CC; \
19748 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19749 CXX="$(CXX)"; export CXX; \
19750 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19751 AR="$(AR)"; export AR; \
19752 AS="$(AS)"; export AS; \
19753 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19754 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19755 LD="$(LD)"; export LD; \
19756 NM="$(NM)"; export NM; \
19757 RANLIB="$(RANLIB)"; export RANLIB; \
19758 WINDRES="$(WINDRES)"; export WINDRES; \
19759 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19760 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19761 echo Configuring in libgui; \
19762 cd libgui || exit 1; \
19763 case $(srcdir) in \
19764 \.) \
19765 srcdiroption="--srcdir=."; \
19766 libsrcdir=".";; \
19767 /* | [A-Za-z]:[\\/]*) \
19768 srcdiroption="--srcdir=$(srcdir)/libgui"; \
19769 libsrcdir="$$s/libgui";; \
19770 *) \
19771 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
19772 libsrcdir="$$s/libgui";; \
19773 esac; \
19774 $(SHELL) $${libsrcdir}/configure \
19775 $(HOST_CONFIGARGS) $${srcdiroption} \
19776 || exit 1
19778 .PHONY: all-libgui maybe-all-libgui
19779 maybe-all-libgui:
19780 all-libgui: configure-libgui
19781 @r=`${PWD}`; export r; \
19782 s=`cd $(srcdir); ${PWD}`; export s; \
19783 $(SET_LIB_PATH) \
19784 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
19786 .PHONY: check-libgui maybe-check-libgui
19787 maybe-check-libgui:
19789 check-libgui:
19790 @r=`${PWD}`; export r; \
19791 s=`cd $(srcdir); ${PWD}`; export s; \
19792 $(SET_LIB_PATH) \
19793 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
19796 .PHONY: install-libgui maybe-install-libgui
19797 maybe-install-libgui:
19799 install-libgui: installdirs
19800 @r=`${PWD}`; export r; \
19801 s=`cd $(srcdir); ${PWD}`; export s; \
19802 $(SET_LIB_PATH) \
19803 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
19806 .PHONY: configure-libiberty maybe-configure-libiberty
19807 maybe-configure-libiberty:
19808 configure-libiberty:
19809 @test ! -f libiberty/Makefile || exit 0; \
19810 [ -d libiberty ] || mkdir libiberty; \
19811 r=`${PWD}`; export r; \
19812 s=`cd $(srcdir); ${PWD}`; export s; \
19813 CC="$(CC)"; export CC; \
19814 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19815 CXX="$(CXX)"; export CXX; \
19816 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19817 AR="$(AR)"; export AR; \
19818 AS="$(AS)"; export AS; \
19819 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19820 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19821 LD="$(LD)"; export LD; \
19822 NM="$(NM)"; export NM; \
19823 RANLIB="$(RANLIB)"; export RANLIB; \
19824 WINDRES="$(WINDRES)"; export WINDRES; \
19825 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19826 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19827 echo Configuring in libiberty; \
19828 cd libiberty || exit 1; \
19829 case $(srcdir) in \
19830 \.) \
19831 srcdiroption="--srcdir=."; \
19832 libsrcdir=".";; \
19833 /* | [A-Za-z]:[\\/]*) \
19834 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
19835 libsrcdir="$$s/libiberty";; \
19836 *) \
19837 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
19838 libsrcdir="$$s/libiberty";; \
19839 esac; \
19840 $(SHELL) $${libsrcdir}/configure \
19841 $(HOST_CONFIGARGS) $${srcdiroption} \
19842 || exit 1
19844 .PHONY: all-libiberty maybe-all-libiberty
19845 maybe-all-libiberty:
19846 all-libiberty: configure-libiberty
19847 @r=`${PWD}`; export r; \
19848 s=`cd $(srcdir); ${PWD}`; export s; \
19849 $(SET_LIB_PATH) \
19850 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
19852 .PHONY: check-libiberty maybe-check-libiberty
19853 maybe-check-libiberty:
19855 check-libiberty:
19856 @r=`${PWD}`; export r; \
19857 s=`cd $(srcdir); ${PWD}`; export s; \
19858 $(SET_LIB_PATH) \
19859 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
19862 .PHONY: install-libiberty maybe-install-libiberty
19863 maybe-install-libiberty:
19865 install-libiberty: installdirs
19866 @r=`${PWD}`; export r; \
19867 s=`cd $(srcdir); ${PWD}`; export s; \
19868 $(SET_LIB_PATH) \
19869 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
19872 .PHONY: configure-libtool maybe-configure-libtool
19873 maybe-configure-libtool:
19874 configure-libtool:
19875 @test ! -f libtool/Makefile || exit 0; \
19876 [ -d libtool ] || mkdir libtool; \
19877 r=`${PWD}`; export r; \
19878 s=`cd $(srcdir); ${PWD}`; export s; \
19879 CC="$(CC)"; export CC; \
19880 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19881 CXX="$(CXX)"; export CXX; \
19882 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19883 AR="$(AR)"; export AR; \
19884 AS="$(AS)"; export AS; \
19885 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19886 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19887 LD="$(LD)"; export LD; \
19888 NM="$(NM)"; export NM; \
19889 RANLIB="$(RANLIB)"; export RANLIB; \
19890 WINDRES="$(WINDRES)"; export WINDRES; \
19891 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19892 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19893 echo Configuring in libtool; \
19894 cd libtool || exit 1; \
19895 case $(srcdir) in \
19896 \.) \
19897 srcdiroption="--srcdir=."; \
19898 libsrcdir=".";; \
19899 /* | [A-Za-z]:[\\/]*) \
19900 srcdiroption="--srcdir=$(srcdir)/libtool"; \
19901 libsrcdir="$$s/libtool";; \
19902 *) \
19903 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
19904 libsrcdir="$$s/libtool";; \
19905 esac; \
19906 $(SHELL) $${libsrcdir}/configure \
19907 $(HOST_CONFIGARGS) $${srcdiroption} \
19908 || exit 1
19910 .PHONY: all-libtool maybe-all-libtool
19911 maybe-all-libtool:
19912 all-libtool: configure-libtool
19913 @r=`${PWD}`; export r; \
19914 s=`cd $(srcdir); ${PWD}`; export s; \
19915 $(SET_LIB_PATH) \
19916 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
19918 .PHONY: check-libtool maybe-check-libtool
19919 maybe-check-libtool:
19921 check-libtool:
19922 @r=`${PWD}`; export r; \
19923 s=`cd $(srcdir); ${PWD}`; export s; \
19924 $(SET_LIB_PATH) \
19925 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
19928 .PHONY: install-libtool maybe-install-libtool
19929 maybe-install-libtool:
19931 install-libtool: installdirs
19932 @r=`${PWD}`; export r; \
19933 s=`cd $(srcdir); ${PWD}`; export s; \
19934 $(SET_LIB_PATH) \
19935 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
19938 .PHONY: configure-m4 maybe-configure-m4
19939 maybe-configure-m4:
19940 configure-m4:
19941 @test ! -f m4/Makefile || exit 0; \
19942 [ -d m4 ] || mkdir m4; \
19943 r=`${PWD}`; export r; \
19944 s=`cd $(srcdir); ${PWD}`; export s; \
19945 CC="$(CC)"; export CC; \
19946 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19947 CXX="$(CXX)"; export CXX; \
19948 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19949 AR="$(AR)"; export AR; \
19950 AS="$(AS)"; export AS; \
19951 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19952 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19953 LD="$(LD)"; export LD; \
19954 NM="$(NM)"; export NM; \
19955 RANLIB="$(RANLIB)"; export RANLIB; \
19956 WINDRES="$(WINDRES)"; export WINDRES; \
19957 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19958 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19959 echo Configuring in m4; \
19960 cd m4 || exit 1; \
19961 case $(srcdir) in \
19962 \.) \
19963 srcdiroption="--srcdir=."; \
19964 libsrcdir=".";; \
19965 /* | [A-Za-z]:[\\/]*) \
19966 srcdiroption="--srcdir=$(srcdir)/m4"; \
19967 libsrcdir="$$s/m4";; \
19968 *) \
19969 srcdiroption="--srcdir=../$(srcdir)/m4"; \
19970 libsrcdir="$$s/m4";; \
19971 esac; \
19972 $(SHELL) $${libsrcdir}/configure \
19973 $(HOST_CONFIGARGS) $${srcdiroption} \
19974 || exit 1
19976 .PHONY: all-m4 maybe-all-m4
19977 maybe-all-m4:
19978 all-m4: configure-m4
19979 @r=`${PWD}`; export r; \
19980 s=`cd $(srcdir); ${PWD}`; export s; \
19981 $(SET_LIB_PATH) \
19982 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
19984 .PHONY: check-m4 maybe-check-m4
19985 maybe-check-m4:
19987 check-m4:
19988 @r=`${PWD}`; export r; \
19989 s=`cd $(srcdir); ${PWD}`; export s; \
19990 $(SET_LIB_PATH) \
19991 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
19994 .PHONY: install-m4 maybe-install-m4
19995 maybe-install-m4:
19997 install-m4: installdirs
19998 @r=`${PWD}`; export r; \
19999 s=`cd $(srcdir); ${PWD}`; export s; \
20000 $(SET_LIB_PATH) \
20001 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
20004 .PHONY: configure-make maybe-configure-make
20005 maybe-configure-make:
20006 configure-make:
20007 @test ! -f make/Makefile || exit 0; \
20008 [ -d make ] || mkdir make; \
20009 r=`${PWD}`; export r; \
20010 s=`cd $(srcdir); ${PWD}`; export s; \
20011 CC="$(CC)"; export CC; \
20012 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20013 CXX="$(CXX)"; export CXX; \
20014 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20015 AR="$(AR)"; export AR; \
20016 AS="$(AS)"; export AS; \
20017 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20018 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20019 LD="$(LD)"; export LD; \
20020 NM="$(NM)"; export NM; \
20021 RANLIB="$(RANLIB)"; export RANLIB; \
20022 WINDRES="$(WINDRES)"; export WINDRES; \
20023 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20024 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20025 echo Configuring in make; \
20026 cd make || exit 1; \
20027 case $(srcdir) in \
20028 \.) \
20029 srcdiroption="--srcdir=."; \
20030 libsrcdir=".";; \
20031 /* | [A-Za-z]:[\\/]*) \
20032 srcdiroption="--srcdir=$(srcdir)/make"; \
20033 libsrcdir="$$s/make";; \
20034 *) \
20035 srcdiroption="--srcdir=../$(srcdir)/make"; \
20036 libsrcdir="$$s/make";; \
20037 esac; \
20038 $(SHELL) $${libsrcdir}/configure \
20039 $(HOST_CONFIGARGS) $${srcdiroption} \
20040 || exit 1
20042 .PHONY: all-make maybe-all-make
20043 maybe-all-make:
20044 all-make: configure-make
20045 @r=`${PWD}`; export r; \
20046 s=`cd $(srcdir); ${PWD}`; export s; \
20047 $(SET_LIB_PATH) \
20048 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
20050 .PHONY: check-make maybe-check-make
20051 maybe-check-make:
20053 check-make:
20054 @r=`${PWD}`; export r; \
20055 s=`cd $(srcdir); ${PWD}`; export s; \
20056 $(SET_LIB_PATH) \
20057 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
20060 .PHONY: install-make maybe-install-make
20061 maybe-install-make:
20063 install-make: installdirs
20064 @r=`${PWD}`; export r; \
20065 s=`cd $(srcdir); ${PWD}`; export s; \
20066 $(SET_LIB_PATH) \
20067 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
20070 .PHONY: configure-mmalloc maybe-configure-mmalloc
20071 maybe-configure-mmalloc:
20072 configure-mmalloc:
20073 @test ! -f mmalloc/Makefile || exit 0; \
20074 [ -d mmalloc ] || mkdir mmalloc; \
20075 r=`${PWD}`; export r; \
20076 s=`cd $(srcdir); ${PWD}`; export s; \
20077 CC="$(CC)"; export CC; \
20078 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20079 CXX="$(CXX)"; export CXX; \
20080 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20081 AR="$(AR)"; export AR; \
20082 AS="$(AS)"; export AS; \
20083 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20084 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20085 LD="$(LD)"; export LD; \
20086 NM="$(NM)"; export NM; \
20087 RANLIB="$(RANLIB)"; export RANLIB; \
20088 WINDRES="$(WINDRES)"; export WINDRES; \
20089 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20090 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20091 echo Configuring in mmalloc; \
20092 cd mmalloc || exit 1; \
20093 case $(srcdir) in \
20094 \.) \
20095 srcdiroption="--srcdir=."; \
20096 libsrcdir=".";; \
20097 /* | [A-Za-z]:[\\/]*) \
20098 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
20099 libsrcdir="$$s/mmalloc";; \
20100 *) \
20101 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
20102 libsrcdir="$$s/mmalloc";; \
20103 esac; \
20104 $(SHELL) $${libsrcdir}/configure \
20105 $(HOST_CONFIGARGS) $${srcdiroption} \
20106 || exit 1
20108 .PHONY: all-mmalloc maybe-all-mmalloc
20109 maybe-all-mmalloc:
20110 all-mmalloc: configure-mmalloc
20111 @r=`${PWD}`; export r; \
20112 s=`cd $(srcdir); ${PWD}`; export s; \
20113 $(SET_LIB_PATH) \
20114 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
20116 .PHONY: check-mmalloc maybe-check-mmalloc
20117 maybe-check-mmalloc:
20119 check-mmalloc:
20122 .PHONY: install-mmalloc maybe-install-mmalloc
20123 maybe-install-mmalloc:
20125 install-mmalloc: installdirs
20126 @r=`${PWD}`; export r; \
20127 s=`cd $(srcdir); ${PWD}`; export s; \
20128 $(SET_LIB_PATH) \
20129 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
20132 .PHONY: configure-patch maybe-configure-patch
20133 maybe-configure-patch:
20134 configure-patch:
20135 @test ! -f patch/Makefile || exit 0; \
20136 [ -d patch ] || mkdir patch; \
20137 r=`${PWD}`; export r; \
20138 s=`cd $(srcdir); ${PWD}`; export s; \
20139 CC="$(CC)"; export CC; \
20140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20141 CXX="$(CXX)"; export CXX; \
20142 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20143 AR="$(AR)"; export AR; \
20144 AS="$(AS)"; export AS; \
20145 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20146 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20147 LD="$(LD)"; export LD; \
20148 NM="$(NM)"; export NM; \
20149 RANLIB="$(RANLIB)"; export RANLIB; \
20150 WINDRES="$(WINDRES)"; export WINDRES; \
20151 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20152 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20153 echo Configuring in patch; \
20154 cd patch || exit 1; \
20155 case $(srcdir) in \
20156 \.) \
20157 srcdiroption="--srcdir=."; \
20158 libsrcdir=".";; \
20159 /* | [A-Za-z]:[\\/]*) \
20160 srcdiroption="--srcdir=$(srcdir)/patch"; \
20161 libsrcdir="$$s/patch";; \
20162 *) \
20163 srcdiroption="--srcdir=../$(srcdir)/patch"; \
20164 libsrcdir="$$s/patch";; \
20165 esac; \
20166 $(SHELL) $${libsrcdir}/configure \
20167 $(HOST_CONFIGARGS) $${srcdiroption} \
20168 || exit 1
20170 .PHONY: all-patch maybe-all-patch
20171 maybe-all-patch:
20172 all-patch: configure-patch
20173 @r=`${PWD}`; export r; \
20174 s=`cd $(srcdir); ${PWD}`; export s; \
20175 $(SET_LIB_PATH) \
20176 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
20178 .PHONY: check-patch maybe-check-patch
20179 maybe-check-patch:
20181 check-patch:
20182 @r=`${PWD}`; export r; \
20183 s=`cd $(srcdir); ${PWD}`; export s; \
20184 $(SET_LIB_PATH) \
20185 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
20188 .PHONY: install-patch maybe-install-patch
20189 maybe-install-patch:
20191 install-patch: installdirs
20192 @r=`${PWD}`; export r; \
20193 s=`cd $(srcdir); ${PWD}`; export s; \
20194 $(SET_LIB_PATH) \
20195 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
20198 .PHONY: configure-perl maybe-configure-perl
20199 maybe-configure-perl:
20200 configure-perl:
20201 @test ! -f perl/Makefile || exit 0; \
20202 [ -d perl ] || mkdir perl; \
20203 r=`${PWD}`; export r; \
20204 s=`cd $(srcdir); ${PWD}`; export s; \
20205 CC="$(CC)"; export CC; \
20206 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20207 CXX="$(CXX)"; export CXX; \
20208 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20209 AR="$(AR)"; export AR; \
20210 AS="$(AS)"; export AS; \
20211 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20212 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20213 LD="$(LD)"; export LD; \
20214 NM="$(NM)"; export NM; \
20215 RANLIB="$(RANLIB)"; export RANLIB; \
20216 WINDRES="$(WINDRES)"; export WINDRES; \
20217 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20218 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20219 echo Configuring in perl; \
20220 cd perl || exit 1; \
20221 case $(srcdir) in \
20222 \.) \
20223 srcdiroption="--srcdir=."; \
20224 libsrcdir=".";; \
20225 /* | [A-Za-z]:[\\/]*) \
20226 srcdiroption="--srcdir=$(srcdir)/perl"; \
20227 libsrcdir="$$s/perl";; \
20228 *) \
20229 srcdiroption="--srcdir=../$(srcdir)/perl"; \
20230 libsrcdir="$$s/perl";; \
20231 esac; \
20232 $(SHELL) $${libsrcdir}/configure \
20233 $(HOST_CONFIGARGS) $${srcdiroption} \
20234 || exit 1
20236 .PHONY: all-perl maybe-all-perl
20237 maybe-all-perl:
20238 all-perl: configure-perl
20239 @r=`${PWD}`; export r; \
20240 s=`cd $(srcdir); ${PWD}`; export s; \
20241 $(SET_LIB_PATH) \
20242 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
20244 .PHONY: check-perl maybe-check-perl
20245 maybe-check-perl:
20247 check-perl:
20248 @r=`${PWD}`; export r; \
20249 s=`cd $(srcdir); ${PWD}`; export s; \
20250 $(SET_LIB_PATH) \
20251 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
20254 .PHONY: install-perl maybe-install-perl
20255 maybe-install-perl:
20257 install-perl: installdirs
20258 @r=`${PWD}`; export r; \
20259 s=`cd $(srcdir); ${PWD}`; export s; \
20260 $(SET_LIB_PATH) \
20261 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
20264 .PHONY: configure-prms maybe-configure-prms
20265 maybe-configure-prms:
20266 configure-prms:
20267 @test ! -f prms/Makefile || exit 0; \
20268 [ -d prms ] || mkdir prms; \
20269 r=`${PWD}`; export r; \
20270 s=`cd $(srcdir); ${PWD}`; export s; \
20271 CC="$(CC)"; export CC; \
20272 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20273 CXX="$(CXX)"; export CXX; \
20274 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20275 AR="$(AR)"; export AR; \
20276 AS="$(AS)"; export AS; \
20277 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20278 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20279 LD="$(LD)"; export LD; \
20280 NM="$(NM)"; export NM; \
20281 RANLIB="$(RANLIB)"; export RANLIB; \
20282 WINDRES="$(WINDRES)"; export WINDRES; \
20283 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20284 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20285 echo Configuring in prms; \
20286 cd prms || exit 1; \
20287 case $(srcdir) in \
20288 \.) \
20289 srcdiroption="--srcdir=."; \
20290 libsrcdir=".";; \
20291 /* | [A-Za-z]:[\\/]*) \
20292 srcdiroption="--srcdir=$(srcdir)/prms"; \
20293 libsrcdir="$$s/prms";; \
20294 *) \
20295 srcdiroption="--srcdir=../$(srcdir)/prms"; \
20296 libsrcdir="$$s/prms";; \
20297 esac; \
20298 $(SHELL) $${libsrcdir}/configure \
20299 $(HOST_CONFIGARGS) $${srcdiroption} \
20300 || exit 1
20302 .PHONY: all-prms maybe-all-prms
20303 maybe-all-prms:
20304 all-prms: configure-prms
20305 @r=`${PWD}`; export r; \
20306 s=`cd $(srcdir); ${PWD}`; export s; \
20307 $(SET_LIB_PATH) \
20308 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
20310 .PHONY: check-prms maybe-check-prms
20311 maybe-check-prms:
20313 check-prms:
20314 @r=`${PWD}`; export r; \
20315 s=`cd $(srcdir); ${PWD}`; export s; \
20316 $(SET_LIB_PATH) \
20317 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
20320 .PHONY: install-prms maybe-install-prms
20321 maybe-install-prms:
20323 install-prms: installdirs
20324 @r=`${PWD}`; export r; \
20325 s=`cd $(srcdir); ${PWD}`; export s; \
20326 $(SET_LIB_PATH) \
20327 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
20330 .PHONY: configure-rcs maybe-configure-rcs
20331 maybe-configure-rcs:
20332 configure-rcs:
20333 @test ! -f rcs/Makefile || exit 0; \
20334 [ -d rcs ] || mkdir rcs; \
20335 r=`${PWD}`; export r; \
20336 s=`cd $(srcdir); ${PWD}`; export s; \
20337 CC="$(CC)"; export CC; \
20338 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20339 CXX="$(CXX)"; export CXX; \
20340 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20341 AR="$(AR)"; export AR; \
20342 AS="$(AS)"; export AS; \
20343 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20344 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20345 LD="$(LD)"; export LD; \
20346 NM="$(NM)"; export NM; \
20347 RANLIB="$(RANLIB)"; export RANLIB; \
20348 WINDRES="$(WINDRES)"; export WINDRES; \
20349 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20350 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20351 echo Configuring in rcs; \
20352 cd rcs || exit 1; \
20353 case $(srcdir) in \
20354 \.) \
20355 srcdiroption="--srcdir=."; \
20356 libsrcdir=".";; \
20357 /* | [A-Za-z]:[\\/]*) \
20358 srcdiroption="--srcdir=$(srcdir)/rcs"; \
20359 libsrcdir="$$s/rcs";; \
20360 *) \
20361 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
20362 libsrcdir="$$s/rcs";; \
20363 esac; \
20364 $(SHELL) $${libsrcdir}/configure \
20365 $(HOST_CONFIGARGS) $${srcdiroption} \
20366 || exit 1
20368 .PHONY: all-rcs maybe-all-rcs
20369 maybe-all-rcs:
20370 all-rcs: configure-rcs
20371 @r=`${PWD}`; export r; \
20372 s=`cd $(srcdir); ${PWD}`; export s; \
20373 $(SET_LIB_PATH) \
20374 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
20376 .PHONY: check-rcs maybe-check-rcs
20377 maybe-check-rcs:
20379 check-rcs:
20380 @r=`${PWD}`; export r; \
20381 s=`cd $(srcdir); ${PWD}`; export s; \
20382 $(SET_LIB_PATH) \
20383 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
20386 .PHONY: install-rcs maybe-install-rcs
20387 maybe-install-rcs:
20389 install-rcs: installdirs
20390 @r=`${PWD}`; export r; \
20391 s=`cd $(srcdir); ${PWD}`; export s; \
20392 $(SET_LIB_PATH) \
20393 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
20396 .PHONY: configure-readline maybe-configure-readline
20397 maybe-configure-readline:
20398 configure-readline:
20399 @test ! -f readline/Makefile || exit 0; \
20400 [ -d readline ] || mkdir readline; \
20401 r=`${PWD}`; export r; \
20402 s=`cd $(srcdir); ${PWD}`; export s; \
20403 CC="$(CC)"; export CC; \
20404 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20405 CXX="$(CXX)"; export CXX; \
20406 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20407 AR="$(AR)"; export AR; \
20408 AS="$(AS)"; export AS; \
20409 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20410 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20411 LD="$(LD)"; export LD; \
20412 NM="$(NM)"; export NM; \
20413 RANLIB="$(RANLIB)"; export RANLIB; \
20414 WINDRES="$(WINDRES)"; export WINDRES; \
20415 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20416 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20417 echo Configuring in readline; \
20418 cd readline || exit 1; \
20419 case $(srcdir) in \
20420 \.) \
20421 srcdiroption="--srcdir=."; \
20422 libsrcdir=".";; \
20423 /* | [A-Za-z]:[\\/]*) \
20424 srcdiroption="--srcdir=$(srcdir)/readline"; \
20425 libsrcdir="$$s/readline";; \
20426 *) \
20427 srcdiroption="--srcdir=../$(srcdir)/readline"; \
20428 libsrcdir="$$s/readline";; \
20429 esac; \
20430 $(SHELL) $${libsrcdir}/configure \
20431 $(HOST_CONFIGARGS) $${srcdiroption} \
20432 || exit 1
20434 .PHONY: all-readline maybe-all-readline
20435 maybe-all-readline:
20436 all-readline: configure-readline
20437 @r=`${PWD}`; export r; \
20438 s=`cd $(srcdir); ${PWD}`; export s; \
20439 $(SET_LIB_PATH) \
20440 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
20442 .PHONY: check-readline maybe-check-readline
20443 maybe-check-readline:
20445 check-readline:
20446 @r=`${PWD}`; export r; \
20447 s=`cd $(srcdir); ${PWD}`; export s; \
20448 $(SET_LIB_PATH) \
20449 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
20452 .PHONY: install-readline maybe-install-readline
20453 maybe-install-readline:
20455 install-readline: installdirs
20456 @r=`${PWD}`; export r; \
20457 s=`cd $(srcdir); ${PWD}`; export s; \
20458 $(SET_LIB_PATH) \
20459 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
20462 .PHONY: configure-release maybe-configure-release
20463 maybe-configure-release:
20464 configure-release:
20465 @test ! -f release/Makefile || exit 0; \
20466 [ -d release ] || mkdir release; \
20467 r=`${PWD}`; export r; \
20468 s=`cd $(srcdir); ${PWD}`; export s; \
20469 CC="$(CC)"; export CC; \
20470 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20471 CXX="$(CXX)"; export CXX; \
20472 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20473 AR="$(AR)"; export AR; \
20474 AS="$(AS)"; export AS; \
20475 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20476 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20477 LD="$(LD)"; export LD; \
20478 NM="$(NM)"; export NM; \
20479 RANLIB="$(RANLIB)"; export RANLIB; \
20480 WINDRES="$(WINDRES)"; export WINDRES; \
20481 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20482 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20483 echo Configuring in release; \
20484 cd release || exit 1; \
20485 case $(srcdir) in \
20486 \.) \
20487 srcdiroption="--srcdir=."; \
20488 libsrcdir=".";; \
20489 /* | [A-Za-z]:[\\/]*) \
20490 srcdiroption="--srcdir=$(srcdir)/release"; \
20491 libsrcdir="$$s/release";; \
20492 *) \
20493 srcdiroption="--srcdir=../$(srcdir)/release"; \
20494 libsrcdir="$$s/release";; \
20495 esac; \
20496 $(SHELL) $${libsrcdir}/configure \
20497 $(HOST_CONFIGARGS) $${srcdiroption} \
20498 || exit 1
20500 .PHONY: all-release maybe-all-release
20501 maybe-all-release:
20502 all-release: configure-release
20503 @r=`${PWD}`; export r; \
20504 s=`cd $(srcdir); ${PWD}`; export s; \
20505 $(SET_LIB_PATH) \
20506 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
20508 .PHONY: check-release maybe-check-release
20509 maybe-check-release:
20511 check-release:
20514 .PHONY: install-release maybe-install-release
20515 maybe-install-release:
20517 install-release:
20520 .PHONY: configure-recode maybe-configure-recode
20521 maybe-configure-recode:
20522 configure-recode:
20523 @test ! -f recode/Makefile || exit 0; \
20524 [ -d recode ] || mkdir recode; \
20525 r=`${PWD}`; export r; \
20526 s=`cd $(srcdir); ${PWD}`; export s; \
20527 CC="$(CC)"; export CC; \
20528 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20529 CXX="$(CXX)"; export CXX; \
20530 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20531 AR="$(AR)"; export AR; \
20532 AS="$(AS)"; export AS; \
20533 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20534 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20535 LD="$(LD)"; export LD; \
20536 NM="$(NM)"; export NM; \
20537 RANLIB="$(RANLIB)"; export RANLIB; \
20538 WINDRES="$(WINDRES)"; export WINDRES; \
20539 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20540 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20541 echo Configuring in recode; \
20542 cd recode || exit 1; \
20543 case $(srcdir) in \
20544 \.) \
20545 srcdiroption="--srcdir=."; \
20546 libsrcdir=".";; \
20547 /* | [A-Za-z]:[\\/]*) \
20548 srcdiroption="--srcdir=$(srcdir)/recode"; \
20549 libsrcdir="$$s/recode";; \
20550 *) \
20551 srcdiroption="--srcdir=../$(srcdir)/recode"; \
20552 libsrcdir="$$s/recode";; \
20553 esac; \
20554 $(SHELL) $${libsrcdir}/configure \
20555 $(HOST_CONFIGARGS) $${srcdiroption} \
20556 || exit 1
20558 .PHONY: all-recode maybe-all-recode
20559 maybe-all-recode:
20560 all-recode: configure-recode
20561 @r=`${PWD}`; export r; \
20562 s=`cd $(srcdir); ${PWD}`; export s; \
20563 $(SET_LIB_PATH) \
20564 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
20566 .PHONY: check-recode maybe-check-recode
20567 maybe-check-recode:
20569 check-recode:
20570 @r=`${PWD}`; export r; \
20571 s=`cd $(srcdir); ${PWD}`; export s; \
20572 $(SET_LIB_PATH) \
20573 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
20576 .PHONY: install-recode maybe-install-recode
20577 maybe-install-recode:
20579 install-recode: installdirs
20580 @r=`${PWD}`; export r; \
20581 s=`cd $(srcdir); ${PWD}`; export s; \
20582 $(SET_LIB_PATH) \
20583 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
20586 .PHONY: configure-sed maybe-configure-sed
20587 maybe-configure-sed:
20588 configure-sed:
20589 @test ! -f sed/Makefile || exit 0; \
20590 [ -d sed ] || mkdir sed; \
20591 r=`${PWD}`; export r; \
20592 s=`cd $(srcdir); ${PWD}`; export s; \
20593 CC="$(CC)"; export CC; \
20594 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20595 CXX="$(CXX)"; export CXX; \
20596 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20597 AR="$(AR)"; export AR; \
20598 AS="$(AS)"; export AS; \
20599 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20600 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20601 LD="$(LD)"; export LD; \
20602 NM="$(NM)"; export NM; \
20603 RANLIB="$(RANLIB)"; export RANLIB; \
20604 WINDRES="$(WINDRES)"; export WINDRES; \
20605 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20606 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20607 echo Configuring in sed; \
20608 cd sed || exit 1; \
20609 case $(srcdir) in \
20610 \.) \
20611 srcdiroption="--srcdir=."; \
20612 libsrcdir=".";; \
20613 /* | [A-Za-z]:[\\/]*) \
20614 srcdiroption="--srcdir=$(srcdir)/sed"; \
20615 libsrcdir="$$s/sed";; \
20616 *) \
20617 srcdiroption="--srcdir=../$(srcdir)/sed"; \
20618 libsrcdir="$$s/sed";; \
20619 esac; \
20620 $(SHELL) $${libsrcdir}/configure \
20621 $(HOST_CONFIGARGS) $${srcdiroption} \
20622 || exit 1
20624 .PHONY: all-sed maybe-all-sed
20625 maybe-all-sed:
20626 all-sed: configure-sed
20627 @r=`${PWD}`; export r; \
20628 s=`cd $(srcdir); ${PWD}`; export s; \
20629 $(SET_LIB_PATH) \
20630 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
20632 .PHONY: check-sed maybe-check-sed
20633 maybe-check-sed:
20635 check-sed:
20636 @r=`${PWD}`; export r; \
20637 s=`cd $(srcdir); ${PWD}`; export s; \
20638 $(SET_LIB_PATH) \
20639 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
20642 .PHONY: install-sed maybe-install-sed
20643 maybe-install-sed:
20645 install-sed: installdirs
20646 @r=`${PWD}`; export r; \
20647 s=`cd $(srcdir); ${PWD}`; export s; \
20648 $(SET_LIB_PATH) \
20649 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
20652 .PHONY: configure-send-pr maybe-configure-send-pr
20653 maybe-configure-send-pr:
20654 configure-send-pr:
20655 @test ! -f send-pr/Makefile || exit 0; \
20656 [ -d send-pr ] || mkdir send-pr; \
20657 r=`${PWD}`; export r; \
20658 s=`cd $(srcdir); ${PWD}`; export s; \
20659 CC="$(CC)"; export CC; \
20660 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20661 CXX="$(CXX)"; export CXX; \
20662 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20663 AR="$(AR)"; export AR; \
20664 AS="$(AS)"; export AS; \
20665 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20666 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20667 LD="$(LD)"; export LD; \
20668 NM="$(NM)"; export NM; \
20669 RANLIB="$(RANLIB)"; export RANLIB; \
20670 WINDRES="$(WINDRES)"; export WINDRES; \
20671 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20672 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20673 echo Configuring in send-pr; \
20674 cd send-pr || exit 1; \
20675 case $(srcdir) in \
20676 \.) \
20677 srcdiroption="--srcdir=."; \
20678 libsrcdir=".";; \
20679 /* | [A-Za-z]:[\\/]*) \
20680 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
20681 libsrcdir="$$s/send-pr";; \
20682 *) \
20683 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
20684 libsrcdir="$$s/send-pr";; \
20685 esac; \
20686 $(SHELL) $${libsrcdir}/configure \
20687 $(HOST_CONFIGARGS) $${srcdiroption} \
20688 || exit 1
20690 .PHONY: all-send-pr maybe-all-send-pr
20691 maybe-all-send-pr:
20692 all-send-pr: configure-send-pr
20693 @r=`${PWD}`; export r; \
20694 s=`cd $(srcdir); ${PWD}`; export s; \
20695 $(SET_LIB_PATH) \
20696 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
20698 .PHONY: check-send-pr maybe-check-send-pr
20699 maybe-check-send-pr:
20701 check-send-pr:
20702 @r=`${PWD}`; export r; \
20703 s=`cd $(srcdir); ${PWD}`; export s; \
20704 $(SET_LIB_PATH) \
20705 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
20708 .PHONY: install-send-pr maybe-install-send-pr
20709 maybe-install-send-pr:
20711 install-send-pr: installdirs
20712 @r=`${PWD}`; export r; \
20713 s=`cd $(srcdir); ${PWD}`; export s; \
20714 $(SET_LIB_PATH) \
20715 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
20718 .PHONY: configure-shellutils maybe-configure-shellutils
20719 maybe-configure-shellutils:
20720 configure-shellutils:
20721 @test ! -f shellutils/Makefile || exit 0; \
20722 [ -d shellutils ] || mkdir shellutils; \
20723 r=`${PWD}`; export r; \
20724 s=`cd $(srcdir); ${PWD}`; export s; \
20725 CC="$(CC)"; export CC; \
20726 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20727 CXX="$(CXX)"; export CXX; \
20728 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20729 AR="$(AR)"; export AR; \
20730 AS="$(AS)"; export AS; \
20731 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20732 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20733 LD="$(LD)"; export LD; \
20734 NM="$(NM)"; export NM; \
20735 RANLIB="$(RANLIB)"; export RANLIB; \
20736 WINDRES="$(WINDRES)"; export WINDRES; \
20737 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20738 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20739 echo Configuring in shellutils; \
20740 cd shellutils || exit 1; \
20741 case $(srcdir) in \
20742 \.) \
20743 srcdiroption="--srcdir=."; \
20744 libsrcdir=".";; \
20745 /* | [A-Za-z]:[\\/]*) \
20746 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
20747 libsrcdir="$$s/shellutils";; \
20748 *) \
20749 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
20750 libsrcdir="$$s/shellutils";; \
20751 esac; \
20752 $(SHELL) $${libsrcdir}/configure \
20753 $(HOST_CONFIGARGS) $${srcdiroption} \
20754 || exit 1
20756 .PHONY: all-shellutils maybe-all-shellutils
20757 maybe-all-shellutils:
20758 all-shellutils: configure-shellutils
20759 @r=`${PWD}`; export r; \
20760 s=`cd $(srcdir); ${PWD}`; export s; \
20761 $(SET_LIB_PATH) \
20762 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
20764 .PHONY: check-shellutils maybe-check-shellutils
20765 maybe-check-shellutils:
20767 check-shellutils:
20768 @r=`${PWD}`; export r; \
20769 s=`cd $(srcdir); ${PWD}`; export s; \
20770 $(SET_LIB_PATH) \
20771 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
20774 .PHONY: install-shellutils maybe-install-shellutils
20775 maybe-install-shellutils:
20777 install-shellutils: installdirs
20778 @r=`${PWD}`; export r; \
20779 s=`cd $(srcdir); ${PWD}`; export s; \
20780 $(SET_LIB_PATH) \
20781 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
20784 .PHONY: configure-sid maybe-configure-sid
20785 maybe-configure-sid:
20786 configure-sid:
20787 @test ! -f sid/Makefile || exit 0; \
20788 [ -d sid ] || mkdir sid; \
20789 r=`${PWD}`; export r; \
20790 s=`cd $(srcdir); ${PWD}`; export s; \
20791 CC="$(CC)"; export CC; \
20792 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20793 CXX="$(CXX)"; export CXX; \
20794 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20795 AR="$(AR)"; export AR; \
20796 AS="$(AS)"; export AS; \
20797 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20798 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20799 LD="$(LD)"; export LD; \
20800 NM="$(NM)"; export NM; \
20801 RANLIB="$(RANLIB)"; export RANLIB; \
20802 WINDRES="$(WINDRES)"; export WINDRES; \
20803 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20804 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20805 echo Configuring in sid; \
20806 cd sid || exit 1; \
20807 case $(srcdir) in \
20808 \.) \
20809 srcdiroption="--srcdir=."; \
20810 libsrcdir=".";; \
20811 /* | [A-Za-z]:[\\/]*) \
20812 srcdiroption="--srcdir=$(srcdir)/sid"; \
20813 libsrcdir="$$s/sid";; \
20814 *) \
20815 srcdiroption="--srcdir=../$(srcdir)/sid"; \
20816 libsrcdir="$$s/sid";; \
20817 esac; \
20818 $(SHELL) $${libsrcdir}/configure \
20819 $(HOST_CONFIGARGS) $${srcdiroption} \
20820 || exit 1
20822 .PHONY: all-sid maybe-all-sid
20823 maybe-all-sid:
20824 all-sid: configure-sid
20825 @r=`${PWD}`; export r; \
20826 s=`cd $(srcdir); ${PWD}`; export s; \
20827 $(SET_LIB_PATH) \
20828 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
20830 .PHONY: check-sid maybe-check-sid
20831 maybe-check-sid:
20833 check-sid:
20834 @r=`${PWD}`; export r; \
20835 s=`cd $(srcdir); ${PWD}`; export s; \
20836 $(SET_LIB_PATH) \
20837 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
20840 .PHONY: install-sid maybe-install-sid
20841 maybe-install-sid:
20843 install-sid: installdirs
20844 @r=`${PWD}`; export r; \
20845 s=`cd $(srcdir); ${PWD}`; export s; \
20846 $(SET_LIB_PATH) \
20847 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
20850 .PHONY: configure-sim maybe-configure-sim
20851 maybe-configure-sim:
20852 configure-sim:
20853 @test ! -f sim/Makefile || exit 0; \
20854 [ -d sim ] || mkdir sim; \
20855 r=`${PWD}`; export r; \
20856 s=`cd $(srcdir); ${PWD}`; export s; \
20857 CC="$(CC)"; export CC; \
20858 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20859 CXX="$(CXX)"; export CXX; \
20860 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20861 AR="$(AR)"; export AR; \
20862 AS="$(AS)"; export AS; \
20863 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20864 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20865 LD="$(LD)"; export LD; \
20866 NM="$(NM)"; export NM; \
20867 RANLIB="$(RANLIB)"; export RANLIB; \
20868 WINDRES="$(WINDRES)"; export WINDRES; \
20869 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20870 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20871 echo Configuring in sim; \
20872 cd sim || exit 1; \
20873 case $(srcdir) in \
20874 \.) \
20875 srcdiroption="--srcdir=."; \
20876 libsrcdir=".";; \
20877 /* | [A-Za-z]:[\\/]*) \
20878 srcdiroption="--srcdir=$(srcdir)/sim"; \
20879 libsrcdir="$$s/sim";; \
20880 *) \
20881 srcdiroption="--srcdir=../$(srcdir)/sim"; \
20882 libsrcdir="$$s/sim";; \
20883 esac; \
20884 $(SHELL) $${libsrcdir}/configure \
20885 $(HOST_CONFIGARGS) $${srcdiroption} \
20886 || exit 1
20888 .PHONY: all-sim maybe-all-sim
20889 maybe-all-sim:
20890 all-sim: configure-sim
20891 @r=`${PWD}`; export r; \
20892 s=`cd $(srcdir); ${PWD}`; export s; \
20893 $(SET_LIB_PATH) \
20894 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
20896 .PHONY: check-sim maybe-check-sim
20897 maybe-check-sim:
20899 check-sim:
20900 @r=`${PWD}`; export r; \
20901 s=`cd $(srcdir); ${PWD}`; export s; \
20902 $(SET_LIB_PATH) \
20903 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
20906 .PHONY: install-sim maybe-install-sim
20907 maybe-install-sim:
20909 install-sim: installdirs
20910 @r=`${PWD}`; export r; \
20911 s=`cd $(srcdir); ${PWD}`; export s; \
20912 $(SET_LIB_PATH) \
20913 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
20916 .PHONY: configure-tar maybe-configure-tar
20917 maybe-configure-tar:
20918 configure-tar:
20919 @test ! -f tar/Makefile || exit 0; \
20920 [ -d tar ] || mkdir tar; \
20921 r=`${PWD}`; export r; \
20922 s=`cd $(srcdir); ${PWD}`; export s; \
20923 CC="$(CC)"; export CC; \
20924 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20925 CXX="$(CXX)"; export CXX; \
20926 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20927 AR="$(AR)"; export AR; \
20928 AS="$(AS)"; export AS; \
20929 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20930 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20931 LD="$(LD)"; export LD; \
20932 NM="$(NM)"; export NM; \
20933 RANLIB="$(RANLIB)"; export RANLIB; \
20934 WINDRES="$(WINDRES)"; export WINDRES; \
20935 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20936 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20937 echo Configuring in tar; \
20938 cd tar || exit 1; \
20939 case $(srcdir) in \
20940 \.) \
20941 srcdiroption="--srcdir=."; \
20942 libsrcdir=".";; \
20943 /* | [A-Za-z]:[\\/]*) \
20944 srcdiroption="--srcdir=$(srcdir)/tar"; \
20945 libsrcdir="$$s/tar";; \
20946 *) \
20947 srcdiroption="--srcdir=../$(srcdir)/tar"; \
20948 libsrcdir="$$s/tar";; \
20949 esac; \
20950 $(SHELL) $${libsrcdir}/configure \
20951 $(HOST_CONFIGARGS) $${srcdiroption} \
20952 || exit 1
20954 .PHONY: all-tar maybe-all-tar
20955 maybe-all-tar:
20956 all-tar: configure-tar
20957 @r=`${PWD}`; export r; \
20958 s=`cd $(srcdir); ${PWD}`; export s; \
20959 $(SET_LIB_PATH) \
20960 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
20962 .PHONY: check-tar maybe-check-tar
20963 maybe-check-tar:
20965 check-tar:
20966 @r=`${PWD}`; export r; \
20967 s=`cd $(srcdir); ${PWD}`; export s; \
20968 $(SET_LIB_PATH) \
20969 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
20972 .PHONY: install-tar maybe-install-tar
20973 maybe-install-tar:
20975 install-tar: installdirs
20976 @r=`${PWD}`; export r; \
20977 s=`cd $(srcdir); ${PWD}`; export s; \
20978 $(SET_LIB_PATH) \
20979 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
20982 .PHONY: configure-texinfo maybe-configure-texinfo
20983 maybe-configure-texinfo:
20984 configure-texinfo:
20985 @test ! -f texinfo/Makefile || exit 0; \
20986 [ -d texinfo ] || mkdir texinfo; \
20987 r=`${PWD}`; export r; \
20988 s=`cd $(srcdir); ${PWD}`; export s; \
20989 CC="$(CC)"; export CC; \
20990 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20991 CXX="$(CXX)"; export CXX; \
20992 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20993 AR="$(AR)"; export AR; \
20994 AS="$(AS)"; export AS; \
20995 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20996 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20997 LD="$(LD)"; export LD; \
20998 NM="$(NM)"; export NM; \
20999 RANLIB="$(RANLIB)"; export RANLIB; \
21000 WINDRES="$(WINDRES)"; export WINDRES; \
21001 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21002 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21003 echo Configuring in texinfo; \
21004 cd texinfo || exit 1; \
21005 case $(srcdir) in \
21006 \.) \
21007 srcdiroption="--srcdir=."; \
21008 libsrcdir=".";; \
21009 /* | [A-Za-z]:[\\/]*) \
21010 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
21011 libsrcdir="$$s/texinfo";; \
21012 *) \
21013 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
21014 libsrcdir="$$s/texinfo";; \
21015 esac; \
21016 $(SHELL) $${libsrcdir}/configure \
21017 $(HOST_CONFIGARGS) $${srcdiroption} \
21018 || exit 1
21020 .PHONY: all-texinfo maybe-all-texinfo
21021 maybe-all-texinfo:
21022 all-texinfo: configure-texinfo
21023 @r=`${PWD}`; export r; \
21024 s=`cd $(srcdir); ${PWD}`; export s; \
21025 $(SET_LIB_PATH) \
21026 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
21028 .PHONY: check-texinfo maybe-check-texinfo
21029 maybe-check-texinfo:
21031 check-texinfo:
21032 @r=`${PWD}`; export r; \
21033 s=`cd $(srcdir); ${PWD}`; export s; \
21034 $(SET_LIB_PATH) \
21035 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
21038 .PHONY: install-texinfo maybe-install-texinfo
21039 maybe-install-texinfo:
21041 install-texinfo:
21044 .PHONY: configure-textutils maybe-configure-textutils
21045 maybe-configure-textutils:
21046 configure-textutils:
21047 @test ! -f textutils/Makefile || exit 0; \
21048 [ -d textutils ] || mkdir textutils; \
21049 r=`${PWD}`; export r; \
21050 s=`cd $(srcdir); ${PWD}`; export s; \
21051 CC="$(CC)"; export CC; \
21052 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21053 CXX="$(CXX)"; export CXX; \
21054 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21055 AR="$(AR)"; export AR; \
21056 AS="$(AS)"; export AS; \
21057 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21058 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21059 LD="$(LD)"; export LD; \
21060 NM="$(NM)"; export NM; \
21061 RANLIB="$(RANLIB)"; export RANLIB; \
21062 WINDRES="$(WINDRES)"; export WINDRES; \
21063 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21064 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21065 echo Configuring in textutils; \
21066 cd textutils || exit 1; \
21067 case $(srcdir) in \
21068 \.) \
21069 srcdiroption="--srcdir=."; \
21070 libsrcdir=".";; \
21071 /* | [A-Za-z]:[\\/]*) \
21072 srcdiroption="--srcdir=$(srcdir)/textutils"; \
21073 libsrcdir="$$s/textutils";; \
21074 *) \
21075 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
21076 libsrcdir="$$s/textutils";; \
21077 esac; \
21078 $(SHELL) $${libsrcdir}/configure \
21079 $(HOST_CONFIGARGS) $${srcdiroption} \
21080 || exit 1
21082 .PHONY: all-textutils maybe-all-textutils
21083 maybe-all-textutils:
21084 all-textutils: configure-textutils
21085 @r=`${PWD}`; export r; \
21086 s=`cd $(srcdir); ${PWD}`; export s; \
21087 $(SET_LIB_PATH) \
21088 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
21090 .PHONY: check-textutils maybe-check-textutils
21091 maybe-check-textutils:
21093 check-textutils:
21094 @r=`${PWD}`; export r; \
21095 s=`cd $(srcdir); ${PWD}`; export s; \
21096 $(SET_LIB_PATH) \
21097 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
21100 .PHONY: install-textutils maybe-install-textutils
21101 maybe-install-textutils:
21103 install-textutils: installdirs
21104 @r=`${PWD}`; export r; \
21105 s=`cd $(srcdir); ${PWD}`; export s; \
21106 $(SET_LIB_PATH) \
21107 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
21110 .PHONY: configure-time maybe-configure-time
21111 maybe-configure-time:
21112 configure-time:
21113 @test ! -f time/Makefile || exit 0; \
21114 [ -d time ] || mkdir time; \
21115 r=`${PWD}`; export r; \
21116 s=`cd $(srcdir); ${PWD}`; export s; \
21117 CC="$(CC)"; export CC; \
21118 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21119 CXX="$(CXX)"; export CXX; \
21120 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21121 AR="$(AR)"; export AR; \
21122 AS="$(AS)"; export AS; \
21123 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21124 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21125 LD="$(LD)"; export LD; \
21126 NM="$(NM)"; export NM; \
21127 RANLIB="$(RANLIB)"; export RANLIB; \
21128 WINDRES="$(WINDRES)"; export WINDRES; \
21129 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21130 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21131 echo Configuring in time; \
21132 cd time || exit 1; \
21133 case $(srcdir) in \
21134 \.) \
21135 srcdiroption="--srcdir=."; \
21136 libsrcdir=".";; \
21137 /* | [A-Za-z]:[\\/]*) \
21138 srcdiroption="--srcdir=$(srcdir)/time"; \
21139 libsrcdir="$$s/time";; \
21140 *) \
21141 srcdiroption="--srcdir=../$(srcdir)/time"; \
21142 libsrcdir="$$s/time";; \
21143 esac; \
21144 $(SHELL) $${libsrcdir}/configure \
21145 $(HOST_CONFIGARGS) $${srcdiroption} \
21146 || exit 1
21148 .PHONY: all-time maybe-all-time
21149 maybe-all-time:
21150 all-time: configure-time
21151 @r=`${PWD}`; export r; \
21152 s=`cd $(srcdir); ${PWD}`; export s; \
21153 $(SET_LIB_PATH) \
21154 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
21156 .PHONY: check-time maybe-check-time
21157 maybe-check-time:
21159 check-time:
21160 @r=`${PWD}`; export r; \
21161 s=`cd $(srcdir); ${PWD}`; export s; \
21162 $(SET_LIB_PATH) \
21163 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
21166 .PHONY: install-time maybe-install-time
21167 maybe-install-time:
21169 install-time: installdirs
21170 @r=`${PWD}`; export r; \
21171 s=`cd $(srcdir); ${PWD}`; export s; \
21172 $(SET_LIB_PATH) \
21173 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
21176 .PHONY: configure-uudecode maybe-configure-uudecode
21177 maybe-configure-uudecode:
21178 configure-uudecode:
21179 @test ! -f uudecode/Makefile || exit 0; \
21180 [ -d uudecode ] || mkdir uudecode; \
21181 r=`${PWD}`; export r; \
21182 s=`cd $(srcdir); ${PWD}`; export s; \
21183 CC="$(CC)"; export CC; \
21184 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21185 CXX="$(CXX)"; export CXX; \
21186 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21187 AR="$(AR)"; export AR; \
21188 AS="$(AS)"; export AS; \
21189 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21190 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21191 LD="$(LD)"; export LD; \
21192 NM="$(NM)"; export NM; \
21193 RANLIB="$(RANLIB)"; export RANLIB; \
21194 WINDRES="$(WINDRES)"; export WINDRES; \
21195 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21196 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21197 echo Configuring in uudecode; \
21198 cd uudecode || exit 1; \
21199 case $(srcdir) in \
21200 \.) \
21201 srcdiroption="--srcdir=."; \
21202 libsrcdir=".";; \
21203 /* | [A-Za-z]:[\\/]*) \
21204 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21205 libsrcdir="$$s/uudecode";; \
21206 *) \
21207 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21208 libsrcdir="$$s/uudecode";; \
21209 esac; \
21210 $(SHELL) $${libsrcdir}/configure \
21211 $(HOST_CONFIGARGS) $${srcdiroption} \
21212 || exit 1
21214 .PHONY: all-uudecode maybe-all-uudecode
21215 maybe-all-uudecode:
21216 all-uudecode: configure-uudecode
21217 @r=`${PWD}`; export r; \
21218 s=`cd $(srcdir); ${PWD}`; export s; \
21219 $(SET_LIB_PATH) \
21220 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
21222 .PHONY: check-uudecode maybe-check-uudecode
21223 maybe-check-uudecode:
21225 check-uudecode:
21226 @r=`${PWD}`; export r; \
21227 s=`cd $(srcdir); ${PWD}`; export s; \
21228 $(SET_LIB_PATH) \
21229 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21232 .PHONY: install-uudecode maybe-install-uudecode
21233 maybe-install-uudecode:
21235 install-uudecode: installdirs
21236 @r=`${PWD}`; export r; \
21237 s=`cd $(srcdir); ${PWD}`; export s; \
21238 $(SET_LIB_PATH) \
21239 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21242 .PHONY: configure-wdiff maybe-configure-wdiff
21243 maybe-configure-wdiff:
21244 configure-wdiff:
21245 @test ! -f wdiff/Makefile || exit 0; \
21246 [ -d wdiff ] || mkdir wdiff; \
21247 r=`${PWD}`; export r; \
21248 s=`cd $(srcdir); ${PWD}`; export s; \
21249 CC="$(CC)"; export CC; \
21250 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21251 CXX="$(CXX)"; export CXX; \
21252 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21253 AR="$(AR)"; export AR; \
21254 AS="$(AS)"; export AS; \
21255 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21256 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21257 LD="$(LD)"; export LD; \
21258 NM="$(NM)"; export NM; \
21259 RANLIB="$(RANLIB)"; export RANLIB; \
21260 WINDRES="$(WINDRES)"; export WINDRES; \
21261 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21262 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21263 echo Configuring in wdiff; \
21264 cd wdiff || exit 1; \
21265 case $(srcdir) in \
21266 \.) \
21267 srcdiroption="--srcdir=."; \
21268 libsrcdir=".";; \
21269 /* | [A-Za-z]:[\\/]*) \
21270 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21271 libsrcdir="$$s/wdiff";; \
21272 *) \
21273 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21274 libsrcdir="$$s/wdiff";; \
21275 esac; \
21276 $(SHELL) $${libsrcdir}/configure \
21277 $(HOST_CONFIGARGS) $${srcdiroption} \
21278 || exit 1
21280 .PHONY: all-wdiff maybe-all-wdiff
21281 maybe-all-wdiff:
21282 all-wdiff: configure-wdiff
21283 @r=`${PWD}`; export r; \
21284 s=`cd $(srcdir); ${PWD}`; export s; \
21285 $(SET_LIB_PATH) \
21286 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
21288 .PHONY: check-wdiff maybe-check-wdiff
21289 maybe-check-wdiff:
21291 check-wdiff:
21292 @r=`${PWD}`; export r; \
21293 s=`cd $(srcdir); ${PWD}`; export s; \
21294 $(SET_LIB_PATH) \
21295 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21298 .PHONY: install-wdiff maybe-install-wdiff
21299 maybe-install-wdiff:
21301 install-wdiff: installdirs
21302 @r=`${PWD}`; export r; \
21303 s=`cd $(srcdir); ${PWD}`; export s; \
21304 $(SET_LIB_PATH) \
21305 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21308 .PHONY: configure-zip maybe-configure-zip
21309 maybe-configure-zip:
21310 configure-zip:
21311 @test ! -f zip/Makefile || exit 0; \
21312 [ -d zip ] || mkdir zip; \
21313 r=`${PWD}`; export r; \
21314 s=`cd $(srcdir); ${PWD}`; export s; \
21315 CC="$(CC)"; export CC; \
21316 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21317 CXX="$(CXX)"; export CXX; \
21318 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21319 AR="$(AR)"; export AR; \
21320 AS="$(AS)"; export AS; \
21321 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21322 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21323 LD="$(LD)"; export LD; \
21324 NM="$(NM)"; export NM; \
21325 RANLIB="$(RANLIB)"; export RANLIB; \
21326 WINDRES="$(WINDRES)"; export WINDRES; \
21327 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21328 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21329 echo Configuring in zip; \
21330 cd zip || exit 1; \
21331 case $(srcdir) in \
21332 \.) \
21333 srcdiroption="--srcdir=."; \
21334 libsrcdir=".";; \
21335 /* | [A-Za-z]:[\\/]*) \
21336 srcdiroption="--srcdir=$(srcdir)/zip"; \
21337 libsrcdir="$$s/zip";; \
21338 *) \
21339 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21340 libsrcdir="$$s/zip";; \
21341 esac; \
21342 $(SHELL) $${libsrcdir}/configure \
21343 $(HOST_CONFIGARGS) $${srcdiroption} \
21344 || exit 1
21346 .PHONY: all-zip maybe-all-zip
21347 maybe-all-zip:
21348 all-zip: configure-zip
21349 @r=`${PWD}`; export r; \
21350 s=`cd $(srcdir); ${PWD}`; export s; \
21351 $(SET_LIB_PATH) \
21352 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
21354 .PHONY: check-zip maybe-check-zip
21355 maybe-check-zip:
21357 # This module is only tested in a native toolchain.
21358 check-zip:
21359 @if [ '$(host)' = '$(target)' ] ; then \
21360 r=`${PWD}`; export r; \
21361 s=`cd $(srcdir); ${PWD}`; export s; \
21362 $(SET_LIB_PATH) \
21363 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21367 .PHONY: install-zip maybe-install-zip
21368 maybe-install-zip:
21370 install-zip: installdirs
21371 @r=`${PWD}`; export r; \
21372 s=`cd $(srcdir); ${PWD}`; export s; \
21373 $(SET_LIB_PATH) \
21374 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21377 .PHONY: configure-zlib maybe-configure-zlib
21378 maybe-configure-zlib:
21379 configure-zlib:
21380 @test ! -f zlib/Makefile || exit 0; \
21381 [ -d zlib ] || mkdir zlib; \
21382 r=`${PWD}`; export r; \
21383 s=`cd $(srcdir); ${PWD}`; export s; \
21384 CC="$(CC)"; export CC; \
21385 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21386 CXX="$(CXX)"; export CXX; \
21387 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21388 AR="$(AR)"; export AR; \
21389 AS="$(AS)"; export AS; \
21390 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21391 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21392 LD="$(LD)"; export LD; \
21393 NM="$(NM)"; export NM; \
21394 RANLIB="$(RANLIB)"; export RANLIB; \
21395 WINDRES="$(WINDRES)"; export WINDRES; \
21396 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21397 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21398 echo Configuring in zlib; \
21399 cd zlib || exit 1; \
21400 case $(srcdir) in \
21401 \.) \
21402 srcdiroption="--srcdir=."; \
21403 libsrcdir=".";; \
21404 /* | [A-Za-z]:[\\/]*) \
21405 srcdiroption="--srcdir=$(srcdir)/zlib"; \
21406 libsrcdir="$$s/zlib";; \
21407 *) \
21408 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
21409 libsrcdir="$$s/zlib";; \
21410 esac; \
21411 $(SHELL) $${libsrcdir}/configure \
21412 $(HOST_CONFIGARGS) $${srcdiroption} \
21413 || exit 1
21415 .PHONY: all-zlib maybe-all-zlib
21416 maybe-all-zlib:
21417 all-zlib: configure-zlib
21418 @r=`${PWD}`; export r; \
21419 s=`cd $(srcdir); ${PWD}`; export s; \
21420 $(SET_LIB_PATH) \
21421 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
21423 .PHONY: check-zlib maybe-check-zlib
21424 maybe-check-zlib:
21426 check-zlib:
21429 .PHONY: install-zlib maybe-install-zlib
21430 maybe-install-zlib:
21432 install-zlib:
21435 .PHONY: configure-gdb maybe-configure-gdb
21436 maybe-configure-gdb:
21437 configure-gdb:
21438 @test ! -f gdb/Makefile || exit 0; \
21439 [ -d gdb ] || mkdir gdb; \
21440 r=`${PWD}`; export r; \
21441 s=`cd $(srcdir); ${PWD}`; export s; \
21442 CC="$(CC)"; export CC; \
21443 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21444 CXX="$(CXX)"; export CXX; \
21445 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21446 AR="$(AR)"; export AR; \
21447 AS="$(AS)"; export AS; \
21448 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21449 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21450 LD="$(LD)"; export LD; \
21451 NM="$(NM)"; export NM; \
21452 RANLIB="$(RANLIB)"; export RANLIB; \
21453 WINDRES="$(WINDRES)"; export WINDRES; \
21454 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21455 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21456 echo Configuring in gdb; \
21457 cd gdb || exit 1; \
21458 case $(srcdir) in \
21459 \.) \
21460 srcdiroption="--srcdir=."; \
21461 libsrcdir=".";; \
21462 /* | [A-Za-z]:[\\/]*) \
21463 srcdiroption="--srcdir=$(srcdir)/gdb"; \
21464 libsrcdir="$$s/gdb";; \
21465 *) \
21466 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
21467 libsrcdir="$$s/gdb";; \
21468 esac; \
21469 $(SHELL) $${libsrcdir}/configure \
21470 $(HOST_CONFIGARGS) $${srcdiroption} \
21471 || exit 1
21473 .PHONY: all-gdb maybe-all-gdb
21474 maybe-all-gdb:
21475 all-gdb: configure-gdb
21476 @r=`${PWD}`; export r; \
21477 s=`cd $(srcdir); ${PWD}`; export s; \
21478 $(SET_LIB_PATH) \
21479 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21481 .PHONY: check-gdb maybe-check-gdb
21482 maybe-check-gdb:
21484 check-gdb:
21485 @r=`${PWD}`; export r; \
21486 s=`cd $(srcdir); ${PWD}`; export s; \
21487 $(SET_LIB_PATH) \
21488 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21491 .PHONY: install-gdb maybe-install-gdb
21492 maybe-install-gdb:
21494 install-gdb: installdirs
21495 @r=`${PWD}`; export r; \
21496 s=`cd $(srcdir); ${PWD}`; export s; \
21497 $(SET_LIB_PATH) \
21498 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21501 .PHONY: configure-expect maybe-configure-expect
21502 maybe-configure-expect:
21503 configure-expect:
21504 @test ! -f expect/Makefile || exit 0; \
21505 [ -d expect ] || mkdir expect; \
21506 r=`${PWD}`; export r; \
21507 s=`cd $(srcdir); ${PWD}`; export s; \
21508 CC="$(CC)"; export CC; \
21509 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21510 CXX="$(CXX)"; export CXX; \
21511 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21512 AR="$(AR)"; export AR; \
21513 AS="$(AS)"; export AS; \
21514 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21515 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21516 LD="$(LD)"; export LD; \
21517 NM="$(NM)"; export NM; \
21518 RANLIB="$(RANLIB)"; export RANLIB; \
21519 WINDRES="$(WINDRES)"; export WINDRES; \
21520 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21521 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21522 echo Configuring in expect; \
21523 cd expect || exit 1; \
21524 case $(srcdir) in \
21525 \.) \
21526 srcdiroption="--srcdir=."; \
21527 libsrcdir=".";; \
21528 /* | [A-Za-z]:[\\/]*) \
21529 srcdiroption="--srcdir=$(srcdir)/expect"; \
21530 libsrcdir="$$s/expect";; \
21531 *) \
21532 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21533 libsrcdir="$$s/expect";; \
21534 esac; \
21535 $(SHELL) $${libsrcdir}/configure \
21536 $(HOST_CONFIGARGS) $${srcdiroption} \
21537 || exit 1
21539 .PHONY: all-expect maybe-all-expect
21540 maybe-all-expect:
21541 all-expect: configure-expect
21542 @r=`${PWD}`; export r; \
21543 s=`cd $(srcdir); ${PWD}`; export s; \
21544 $(SET_LIB_PATH) \
21545 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21547 .PHONY: check-expect maybe-check-expect
21548 maybe-check-expect:
21550 check-expect:
21551 @r=`${PWD}`; export r; \
21552 s=`cd $(srcdir); ${PWD}`; export s; \
21553 $(SET_LIB_PATH) \
21554 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21557 .PHONY: install-expect maybe-install-expect
21558 maybe-install-expect:
21560 install-expect: installdirs
21561 @r=`${PWD}`; export r; \
21562 s=`cd $(srcdir); ${PWD}`; export s; \
21563 $(SET_LIB_PATH) \
21564 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21567 .PHONY: configure-guile maybe-configure-guile
21568 maybe-configure-guile:
21569 configure-guile:
21570 @test ! -f guile/Makefile || exit 0; \
21571 [ -d guile ] || mkdir guile; \
21572 r=`${PWD}`; export r; \
21573 s=`cd $(srcdir); ${PWD}`; export s; \
21574 CC="$(CC)"; export CC; \
21575 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21576 CXX="$(CXX)"; export CXX; \
21577 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21578 AR="$(AR)"; export AR; \
21579 AS="$(AS)"; export AS; \
21580 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21581 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21582 LD="$(LD)"; export LD; \
21583 NM="$(NM)"; export NM; \
21584 RANLIB="$(RANLIB)"; export RANLIB; \
21585 WINDRES="$(WINDRES)"; export WINDRES; \
21586 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21587 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21588 echo Configuring in guile; \
21589 cd guile || exit 1; \
21590 case $(srcdir) in \
21591 \.) \
21592 srcdiroption="--srcdir=."; \
21593 libsrcdir=".";; \
21594 /* | [A-Za-z]:[\\/]*) \
21595 srcdiroption="--srcdir=$(srcdir)/guile"; \
21596 libsrcdir="$$s/guile";; \
21597 *) \
21598 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21599 libsrcdir="$$s/guile";; \
21600 esac; \
21601 $(SHELL) $${libsrcdir}/configure \
21602 $(HOST_CONFIGARGS) $${srcdiroption} \
21603 || exit 1
21605 .PHONY: all-guile maybe-all-guile
21606 maybe-all-guile:
21607 all-guile: configure-guile
21608 @r=`${PWD}`; export r; \
21609 s=`cd $(srcdir); ${PWD}`; export s; \
21610 $(SET_LIB_PATH) \
21611 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21613 .PHONY: check-guile maybe-check-guile
21614 maybe-check-guile:
21616 check-guile:
21617 @r=`${PWD}`; export r; \
21618 s=`cd $(srcdir); ${PWD}`; export s; \
21619 $(SET_LIB_PATH) \
21620 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21623 .PHONY: install-guile maybe-install-guile
21624 maybe-install-guile:
21626 install-guile: installdirs
21627 @r=`${PWD}`; export r; \
21628 s=`cd $(srcdir); ${PWD}`; export s; \
21629 $(SET_LIB_PATH) \
21630 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21633 .PHONY: configure-tk maybe-configure-tk
21634 maybe-configure-tk:
21635 configure-tk:
21636 @test ! -f tk/Makefile || exit 0; \
21637 [ -d tk ] || mkdir tk; \
21638 r=`${PWD}`; export r; \
21639 s=`cd $(srcdir); ${PWD}`; export s; \
21640 CC="$(CC)"; export CC; \
21641 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21642 CXX="$(CXX)"; export CXX; \
21643 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21644 AR="$(AR)"; export AR; \
21645 AS="$(AS)"; export AS; \
21646 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21647 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21648 LD="$(LD)"; export LD; \
21649 NM="$(NM)"; export NM; \
21650 RANLIB="$(RANLIB)"; export RANLIB; \
21651 WINDRES="$(WINDRES)"; export WINDRES; \
21652 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21653 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21654 echo Configuring in tk; \
21655 cd tk || exit 1; \
21656 case $(srcdir) in \
21657 \.) \
21658 srcdiroption="--srcdir=."; \
21659 libsrcdir=".";; \
21660 /* | [A-Za-z]:[\\/]*) \
21661 srcdiroption="--srcdir=$(srcdir)/tk"; \
21662 libsrcdir="$$s/tk";; \
21663 *) \
21664 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21665 libsrcdir="$$s/tk";; \
21666 esac; \
21667 $(SHELL) $${libsrcdir}/configure \
21668 $(HOST_CONFIGARGS) $${srcdiroption} \
21669 || exit 1
21671 .PHONY: all-tk maybe-all-tk
21672 maybe-all-tk:
21673 all-tk: configure-tk
21674 @r=`${PWD}`; export r; \
21675 s=`cd $(srcdir); ${PWD}`; export s; \
21676 $(SET_LIB_PATH) \
21677 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21679 .PHONY: check-tk maybe-check-tk
21680 maybe-check-tk:
21682 check-tk:
21683 @r=`${PWD}`; export r; \
21684 s=`cd $(srcdir); ${PWD}`; export s; \
21685 $(SET_LIB_PATH) \
21686 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21689 .PHONY: install-tk maybe-install-tk
21690 maybe-install-tk:
21692 install-tk: installdirs
21693 @r=`${PWD}`; export r; \
21694 s=`cd $(srcdir); ${PWD}`; export s; \
21695 $(SET_LIB_PATH) \
21696 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21699 .PHONY: configure-tix maybe-configure-tix
21700 maybe-configure-tix:
21701 configure-tix:
21702 @test ! -f tix/Makefile || exit 0; \
21703 [ -d tix ] || mkdir tix; \
21704 r=`${PWD}`; export r; \
21705 s=`cd $(srcdir); ${PWD}`; export s; \
21706 CC="$(CC)"; export CC; \
21707 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21708 CXX="$(CXX)"; export CXX; \
21709 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21710 AR="$(AR)"; export AR; \
21711 AS="$(AS)"; export AS; \
21712 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21713 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21714 LD="$(LD)"; export LD; \
21715 NM="$(NM)"; export NM; \
21716 RANLIB="$(RANLIB)"; export RANLIB; \
21717 WINDRES="$(WINDRES)"; export WINDRES; \
21718 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21719 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21720 echo Configuring in tix; \
21721 cd tix || exit 1; \
21722 case $(srcdir) in \
21723 \.) \
21724 srcdiroption="--srcdir=."; \
21725 libsrcdir=".";; \
21726 /* | [A-Za-z]:[\\/]*) \
21727 srcdiroption="--srcdir=$(srcdir)/tix"; \
21728 libsrcdir="$$s/tix";; \
21729 *) \
21730 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21731 libsrcdir="$$s/tix";; \
21732 esac; \
21733 $(SHELL) $${libsrcdir}/configure \
21734 $(HOST_CONFIGARGS) $${srcdiroption} \
21735 || exit 1
21737 .PHONY: all-tix maybe-all-tix
21738 maybe-all-tix:
21739 all-tix: configure-tix
21740 @r=`${PWD}`; export r; \
21741 s=`cd $(srcdir); ${PWD}`; export s; \
21742 $(SET_LIB_PATH) \
21743 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21745 .PHONY: check-tix maybe-check-tix
21746 maybe-check-tix:
21748 check-tix:
21749 @r=`${PWD}`; export r; \
21750 s=`cd $(srcdir); ${PWD}`; export s; \
21751 $(SET_LIB_PATH) \
21752 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21755 .PHONY: install-tix maybe-install-tix
21756 maybe-install-tix:
21758 install-tix: installdirs
21759 @r=`${PWD}`; export r; \
21760 s=`cd $(srcdir); ${PWD}`; export s; \
21761 $(SET_LIB_PATH) \
21762 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21765 .PHONY: configure-libtermcap maybe-configure-libtermcap
21766 maybe-configure-libtermcap:
21767 configure-libtermcap:
21768 @test ! -f libtermcap/Makefile || exit 0; \
21769 [ -d libtermcap ] || mkdir libtermcap; \
21770 r=`${PWD}`; export r; \
21771 s=`cd $(srcdir); ${PWD}`; export s; \
21772 CC="$(CC)"; export CC; \
21773 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21774 CXX="$(CXX)"; export CXX; \
21775 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21776 AR="$(AR)"; export AR; \
21777 AS="$(AS)"; export AS; \
21778 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21779 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21780 LD="$(LD)"; export LD; \
21781 NM="$(NM)"; export NM; \
21782 RANLIB="$(RANLIB)"; export RANLIB; \
21783 WINDRES="$(WINDRES)"; export WINDRES; \
21784 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21785 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21786 echo Configuring in libtermcap; \
21787 cd libtermcap || exit 1; \
21788 case $(srcdir) in \
21789 \.) \
21790 srcdiroption="--srcdir=."; \
21791 libsrcdir=".";; \
21792 /* | [A-Za-z]:[\\/]*) \
21793 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21794 libsrcdir="$$s/libtermcap";; \
21795 *) \
21796 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21797 libsrcdir="$$s/libtermcap";; \
21798 esac; \
21799 $(SHELL) $${libsrcdir}/configure \
21800 $(HOST_CONFIGARGS) $${srcdiroption} \
21801 || exit 1
21803 .PHONY: all-libtermcap maybe-all-libtermcap
21804 maybe-all-libtermcap:
21805 all-libtermcap: configure-libtermcap
21806 @r=`${PWD}`; export r; \
21807 s=`cd $(srcdir); ${PWD}`; export s; \
21808 $(SET_LIB_PATH) \
21809 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21811 .PHONY: check-libtermcap maybe-check-libtermcap
21812 maybe-check-libtermcap:
21814 check-libtermcap:
21817 .PHONY: install-libtermcap maybe-install-libtermcap
21818 maybe-install-libtermcap:
21820 install-libtermcap: installdirs
21821 @r=`${PWD}`; export r; \
21822 s=`cd $(srcdir); ${PWD}`; export s; \
21823 $(SET_LIB_PATH) \
21824 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21827 .PHONY: configure-utils maybe-configure-utils
21828 maybe-configure-utils:
21829 configure-utils:
21830 @test ! -f utils/Makefile || exit 0; \
21831 [ -d utils ] || mkdir utils; \
21832 r=`${PWD}`; export r; \
21833 s=`cd $(srcdir); ${PWD}`; export s; \
21834 CC="$(CC)"; export CC; \
21835 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21836 CXX="$(CXX)"; export CXX; \
21837 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21838 AR="$(AR)"; export AR; \
21839 AS="$(AS)"; export AS; \
21840 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21841 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21842 LD="$(LD)"; export LD; \
21843 NM="$(NM)"; export NM; \
21844 RANLIB="$(RANLIB)"; export RANLIB; \
21845 WINDRES="$(WINDRES)"; export WINDRES; \
21846 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21847 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21848 echo Configuring in utils; \
21849 cd utils || exit 1; \
21850 case $(srcdir) in \
21851 \.) \
21852 srcdiroption="--srcdir=."; \
21853 libsrcdir=".";; \
21854 /* | [A-Za-z]:[\\/]*) \
21855 srcdiroption="--srcdir=$(srcdir)/utils"; \
21856 libsrcdir="$$s/utils";; \
21857 *) \
21858 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21859 libsrcdir="$$s/utils";; \
21860 esac; \
21861 $(SHELL) $${libsrcdir}/configure \
21862 $(HOST_CONFIGARGS) $${srcdiroption} \
21863 || exit 1
21865 .PHONY: all-utils maybe-all-utils
21866 maybe-all-utils:
21867 all-utils: configure-utils
21868 @r=`${PWD}`; export r; \
21869 s=`cd $(srcdir); ${PWD}`; export s; \
21870 $(SET_LIB_PATH) \
21871 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21873 .PHONY: check-utils maybe-check-utils
21874 maybe-check-utils:
21876 check-utils:
21879 .PHONY: install-utils maybe-install-utils
21880 maybe-install-utils:
21882 install-utils: installdirs
21883 @r=`${PWD}`; export r; \
21884 s=`cd $(srcdir); ${PWD}`; export s; \
21885 $(SET_LIB_PATH) \
21886 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21890 # ---------------------------------------
21891 # Modules which run on the target machine
21892 # ---------------------------------------
21894 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21895 maybe-configure-target-libstdc++-v3:
21897 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21898 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
21899 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21900 mkdir $(TARGET_SUBDIR)/libstdc++-v3; \
21901 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
21902 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21904 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21905 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
21906 [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21907 mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
21908 r=`${PWD}`; export r; \
21909 s=`cd $(srcdir); ${PWD}`; export s; \
21910 $(SET_LIB_PATH) \
21911 AR="$(AR_FOR_TARGET)"; export AR; \
21912 AS="$(AS_FOR_TARGET)"; export AS; \
21913 CC="$(CC_FOR_TARGET)"; export CC; \
21914 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21915 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21916 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21917 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21918 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21919 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21920 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21921 LD="$(LD_FOR_TARGET)"; export LD; \
21922 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21923 NM="$(NM_FOR_TARGET)"; export NM; \
21924 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21925 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21926 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21927 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21928 case $(srcdir) in \
21929 /* | [A-Za-z]:[\\/]*) \
21930 topdir=$(srcdir) ;; \
21931 *) \
21932 case "$(TARGET_SUBDIR)" in \
21933 .) topdir="../$(srcdir)" ;; \
21934 *) topdir="../../$(srcdir)" ;; \
21935 esac ;; \
21936 esac; \
21937 if [ "$(srcdir)" = "." ] ; then \
21938 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
21939 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
21940 if [ -f Makefile ]; then \
21941 if $(MAKE) distclean; then \
21942 true; \
21943 else \
21944 exit 1; \
21945 fi; \
21946 else \
21947 true; \
21948 fi; \
21949 else \
21950 exit 1; \
21951 fi; \
21952 else \
21953 true; \
21954 fi; \
21955 srcdiroption="--srcdir=."; \
21956 libsrcdir="."; \
21957 else \
21958 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
21959 libsrcdir="$$s/libstdc++-v3"; \
21960 fi; \
21961 rm -f no-such-file || : ; \
21962 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21963 $(TARGET_CONFIGARGS) $${srcdiroption} \
21964 --with-target-subdir="$(TARGET_SUBDIR)" \
21965 || exit 1
21967 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
21968 maybe-all-target-libstdc++-v3:
21969 all-target-libstdc++-v3: configure-target-libstdc++-v3
21970 @r=`${PWD}`; export r; \
21971 s=`cd $(srcdir); ${PWD}`; export s; \
21972 $(SET_LIB_PATH) \
21973 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21974 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21976 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
21977 maybe-check-target-libstdc++-v3:
21979 check-target-libstdc++-v3:
21980 @r=`${PWD}`; export r; \
21981 s=`cd $(srcdir); ${PWD}`; export s; \
21982 $(SET_LIB_PATH) \
21983 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21984 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21987 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
21988 maybe-install-target-libstdc++-v3:
21990 install-target-libstdc++-v3: installdirs
21991 @r=`${PWD}`; export r; \
21992 s=`cd $(srcdir); ${PWD}`; export s; \
21993 $(SET_LIB_PATH) \
21994 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21995 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21998 .PHONY: configure-target-newlib maybe-configure-target-newlib
21999 maybe-configure-target-newlib:
22001 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22002 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22003 @[ -d $(TARGET_SUBDIR)/newlib ] || \
22004 mkdir $(TARGET_SUBDIR)/newlib; \
22005 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22006 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22008 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22009 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22010 [ -d $(TARGET_SUBDIR)/newlib ] || \
22011 mkdir $(TARGET_SUBDIR)/newlib;\
22012 r=`${PWD}`; export r; \
22013 s=`cd $(srcdir); ${PWD}`; export s; \
22014 $(SET_LIB_PATH) \
22015 AR="$(AR_FOR_TARGET)"; export AR; \
22016 AS="$(AS_FOR_TARGET)"; export AS; \
22017 CC="$(CC_FOR_TARGET)"; export CC; \
22018 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22019 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22020 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22021 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22022 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22023 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22024 LD="$(LD_FOR_TARGET)"; export LD; \
22025 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22026 NM="$(NM_FOR_TARGET)"; export NM; \
22027 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22028 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22029 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22030 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22031 case $(srcdir) in \
22032 /* | [A-Za-z]:[\\/]*) \
22033 topdir=$(srcdir) ;; \
22034 *) \
22035 case "$(TARGET_SUBDIR)" in \
22036 .) topdir="../$(srcdir)" ;; \
22037 *) topdir="../../$(srcdir)" ;; \
22038 esac ;; \
22039 esac; \
22040 if [ "$(srcdir)" = "." ] ; then \
22041 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22042 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22043 if [ -f Makefile ]; then \
22044 if $(MAKE) distclean; then \
22045 true; \
22046 else \
22047 exit 1; \
22048 fi; \
22049 else \
22050 true; \
22051 fi; \
22052 else \
22053 exit 1; \
22054 fi; \
22055 else \
22056 true; \
22057 fi; \
22058 srcdiroption="--srcdir=."; \
22059 libsrcdir="."; \
22060 else \
22061 srcdiroption="--srcdir=$${topdir}/newlib"; \
22062 libsrcdir="$$s/newlib"; \
22063 fi; \
22064 rm -f no-such-file || : ; \
22065 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22066 $(TARGET_CONFIGARGS) $${srcdiroption} \
22067 --with-target-subdir="$(TARGET_SUBDIR)" \
22068 || exit 1
22070 .PHONY: all-target-newlib maybe-all-target-newlib
22071 maybe-all-target-newlib:
22072 all-target-newlib: configure-target-newlib
22073 @r=`${PWD}`; export r; \
22074 s=`cd $(srcdir); ${PWD}`; export s; \
22075 $(SET_LIB_PATH) \
22076 (cd $(TARGET_SUBDIR)/newlib && \
22077 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22079 .PHONY: check-target-newlib maybe-check-target-newlib
22080 maybe-check-target-newlib:
22082 check-target-newlib:
22083 @r=`${PWD}`; export r; \
22084 s=`cd $(srcdir); ${PWD}`; export s; \
22085 $(SET_LIB_PATH) \
22086 (cd $(TARGET_SUBDIR)/newlib && \
22087 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22090 .PHONY: install-target-newlib maybe-install-target-newlib
22091 maybe-install-target-newlib:
22093 install-target-newlib: installdirs
22094 @r=`${PWD}`; export r; \
22095 s=`cd $(srcdir); ${PWD}`; export s; \
22096 $(SET_LIB_PATH) \
22097 (cd $(TARGET_SUBDIR)/newlib && \
22098 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22101 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
22102 maybe-configure-target-libf2c:
22104 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22105 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
22106 @[ -d $(TARGET_SUBDIR)/libf2c ] || \
22107 mkdir $(TARGET_SUBDIR)/libf2c; \
22108 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
22109 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
22111 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
22112 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
22113 [ -d $(TARGET_SUBDIR)/libf2c ] || \
22114 mkdir $(TARGET_SUBDIR)/libf2c;\
22115 r=`${PWD}`; export r; \
22116 s=`cd $(srcdir); ${PWD}`; export s; \
22117 $(SET_LIB_PATH) \
22118 AR="$(AR_FOR_TARGET)"; export AR; \
22119 AS="$(AS_FOR_TARGET)"; export AS; \
22120 CC="$(CC_FOR_TARGET)"; export CC; \
22121 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22122 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22123 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22124 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22125 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22126 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22127 LD="$(LD_FOR_TARGET)"; export LD; \
22128 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22129 NM="$(NM_FOR_TARGET)"; export NM; \
22130 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22131 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22132 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
22133 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
22134 case $(srcdir) in \
22135 /* | [A-Za-z]:[\\/]*) \
22136 topdir=$(srcdir) ;; \
22137 *) \
22138 case "$(TARGET_SUBDIR)" in \
22139 .) topdir="../$(srcdir)" ;; \
22140 *) topdir="../../$(srcdir)" ;; \
22141 esac ;; \
22142 esac; \
22143 if [ "$(srcdir)" = "." ] ; then \
22144 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22145 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22146 if [ -f Makefile ]; then \
22147 if $(MAKE) distclean; then \
22148 true; \
22149 else \
22150 exit 1; \
22151 fi; \
22152 else \
22153 true; \
22154 fi; \
22155 else \
22156 exit 1; \
22157 fi; \
22158 else \
22159 true; \
22160 fi; \
22161 srcdiroption="--srcdir=."; \
22162 libsrcdir="."; \
22163 else \
22164 srcdiroption="--srcdir=$${topdir}/libf2c"; \
22165 libsrcdir="$$s/libf2c"; \
22166 fi; \
22167 rm -f no-such-file || : ; \
22168 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22169 $(TARGET_CONFIGARGS) $${srcdiroption} \
22170 --with-target-subdir="$(TARGET_SUBDIR)" \
22171 || exit 1
22173 .PHONY: all-target-libf2c maybe-all-target-libf2c
22174 maybe-all-target-libf2c:
22175 all-target-libf2c: configure-target-libf2c
22176 @r=`${PWD}`; export r; \
22177 s=`cd $(srcdir); ${PWD}`; export s; \
22178 $(SET_LIB_PATH) \
22179 (cd $(TARGET_SUBDIR)/libf2c && \
22180 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22182 .PHONY: check-target-libf2c maybe-check-target-libf2c
22183 maybe-check-target-libf2c:
22185 check-target-libf2c:
22186 @r=`${PWD}`; export r; \
22187 s=`cd $(srcdir); ${PWD}`; export s; \
22188 $(SET_LIB_PATH) \
22189 (cd $(TARGET_SUBDIR)/libf2c && \
22190 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22193 .PHONY: install-target-libf2c maybe-install-target-libf2c
22194 maybe-install-target-libf2c:
22196 install-target-libf2c: installdirs
22197 @r=`${PWD}`; export r; \
22198 s=`cd $(srcdir); ${PWD}`; export s; \
22199 $(SET_LIB_PATH) \
22200 (cd $(TARGET_SUBDIR)/libf2c && \
22201 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22204 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
22205 maybe-configure-target-libobjc:
22207 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22208 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
22209 @[ -d $(TARGET_SUBDIR)/libobjc ] || \
22210 mkdir $(TARGET_SUBDIR)/libobjc; \
22211 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
22212 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
22214 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
22215 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
22216 [ -d $(TARGET_SUBDIR)/libobjc ] || \
22217 mkdir $(TARGET_SUBDIR)/libobjc;\
22218 r=`${PWD}`; export r; \
22219 s=`cd $(srcdir); ${PWD}`; 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 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22226 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22228 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22229 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22230 LD="$(LD_FOR_TARGET)"; export LD; \
22231 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22232 NM="$(NM_FOR_TARGET)"; export NM; \
22233 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22234 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22235 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
22236 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
22237 case $(srcdir) in \
22238 /* | [A-Za-z]:[\\/]*) \
22239 topdir=$(srcdir) ;; \
22240 *) \
22241 case "$(TARGET_SUBDIR)" in \
22242 .) topdir="../$(srcdir)" ;; \
22243 *) topdir="../../$(srcdir)" ;; \
22244 esac ;; \
22245 esac; \
22246 if [ "$(srcdir)" = "." ] ; then \
22247 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22248 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22249 if [ -f Makefile ]; then \
22250 if $(MAKE) distclean; then \
22251 true; \
22252 else \
22253 exit 1; \
22254 fi; \
22255 else \
22256 true; \
22257 fi; \
22258 else \
22259 exit 1; \
22260 fi; \
22261 else \
22262 true; \
22263 fi; \
22264 srcdiroption="--srcdir=."; \
22265 libsrcdir="."; \
22266 else \
22267 srcdiroption="--srcdir=$${topdir}/libobjc"; \
22268 libsrcdir="$$s/libobjc"; \
22269 fi; \
22270 rm -f no-such-file || : ; \
22271 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22272 $(TARGET_CONFIGARGS) $${srcdiroption} \
22273 --with-target-subdir="$(TARGET_SUBDIR)" \
22274 || exit 1
22276 .PHONY: all-target-libobjc maybe-all-target-libobjc
22277 maybe-all-target-libobjc:
22278 all-target-libobjc: configure-target-libobjc
22279 @r=`${PWD}`; export r; \
22280 s=`cd $(srcdir); ${PWD}`; export s; \
22281 $(SET_LIB_PATH) \
22282 (cd $(TARGET_SUBDIR)/libobjc && \
22283 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22285 .PHONY: check-target-libobjc maybe-check-target-libobjc
22286 maybe-check-target-libobjc:
22288 check-target-libobjc:
22289 @r=`${PWD}`; export r; \
22290 s=`cd $(srcdir); ${PWD}`; export s; \
22291 $(SET_LIB_PATH) \
22292 (cd $(TARGET_SUBDIR)/libobjc && \
22293 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22296 .PHONY: install-target-libobjc maybe-install-target-libobjc
22297 maybe-install-target-libobjc:
22299 install-target-libobjc: installdirs
22300 @r=`${PWD}`; export r; \
22301 s=`cd $(srcdir); ${PWD}`; export s; \
22302 $(SET_LIB_PATH) \
22303 (cd $(TARGET_SUBDIR)/libobjc && \
22304 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22307 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
22308 maybe-configure-target-libtermcap:
22310 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22311 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
22312 @[ -d $(TARGET_SUBDIR)/libtermcap ] || \
22313 mkdir $(TARGET_SUBDIR)/libtermcap; \
22314 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
22315 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
22317 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
22318 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
22319 [ -d $(TARGET_SUBDIR)/libtermcap ] || \
22320 mkdir $(TARGET_SUBDIR)/libtermcap;\
22321 r=`${PWD}`; export r; \
22322 s=`cd $(srcdir); ${PWD}`; export s; \
22323 $(SET_LIB_PATH) \
22324 AR="$(AR_FOR_TARGET)"; export AR; \
22325 AS="$(AS_FOR_TARGET)"; export AS; \
22326 CC="$(CC_FOR_TARGET)"; export CC; \
22327 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22328 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22329 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22330 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22331 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22332 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22333 LD="$(LD_FOR_TARGET)"; export LD; \
22334 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22335 NM="$(NM_FOR_TARGET)"; export NM; \
22336 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22337 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22338 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
22339 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
22340 case $(srcdir) in \
22341 /* | [A-Za-z]:[\\/]*) \
22342 topdir=$(srcdir) ;; \
22343 *) \
22344 case "$(TARGET_SUBDIR)" in \
22345 .) topdir="../$(srcdir)" ;; \
22346 *) topdir="../../$(srcdir)" ;; \
22347 esac ;; \
22348 esac; \
22349 if [ "$(srcdir)" = "." ] ; then \
22350 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22351 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
22352 if [ -f Makefile ]; then \
22353 if $(MAKE) distclean; then \
22354 true; \
22355 else \
22356 exit 1; \
22357 fi; \
22358 else \
22359 true; \
22360 fi; \
22361 else \
22362 exit 1; \
22363 fi; \
22364 else \
22365 true; \
22366 fi; \
22367 srcdiroption="--srcdir=."; \
22368 libsrcdir="."; \
22369 else \
22370 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22371 libsrcdir="$$s/libtermcap"; \
22372 fi; \
22373 rm -f no-such-file || : ; \
22374 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22375 $(TARGET_CONFIGARGS) $${srcdiroption} \
22376 --with-target-subdir="$(TARGET_SUBDIR)" \
22377 || exit 1
22379 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
22380 maybe-all-target-libtermcap:
22381 all-target-libtermcap: configure-target-libtermcap
22382 @r=`${PWD}`; export r; \
22383 s=`cd $(srcdir); ${PWD}`; export s; \
22384 $(SET_LIB_PATH) \
22385 (cd $(TARGET_SUBDIR)/libtermcap && \
22386 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22388 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
22389 maybe-check-target-libtermcap:
22391 # Dummy target for uncheckable module.
22392 check-target-libtermcap:
22395 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
22396 maybe-install-target-libtermcap:
22398 install-target-libtermcap: installdirs
22399 @r=`${PWD}`; export r; \
22400 s=`cd $(srcdir); ${PWD}`; export s; \
22401 $(SET_LIB_PATH) \
22402 (cd $(TARGET_SUBDIR)/libtermcap && \
22403 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22406 .PHONY: configure-target-winsup maybe-configure-target-winsup
22407 maybe-configure-target-winsup:
22409 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22410 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
22411 @[ -d $(TARGET_SUBDIR)/winsup ] || \
22412 mkdir $(TARGET_SUBDIR)/winsup; \
22413 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
22414 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
22416 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
22417 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
22418 [ -d $(TARGET_SUBDIR)/winsup ] || \
22419 mkdir $(TARGET_SUBDIR)/winsup;\
22420 r=`${PWD}`; export r; \
22421 s=`cd $(srcdir); ${PWD}`; export s; \
22422 $(SET_LIB_PATH) \
22423 AR="$(AR_FOR_TARGET)"; export AR; \
22424 AS="$(AS_FOR_TARGET)"; export AS; \
22425 CC="$(CC_FOR_TARGET)"; export CC; \
22426 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22427 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22428 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22429 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22430 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22431 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22432 LD="$(LD_FOR_TARGET)"; export LD; \
22433 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22434 NM="$(NM_FOR_TARGET)"; export NM; \
22435 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22436 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22437 echo Configuring in $(TARGET_SUBDIR)/winsup; \
22438 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
22439 case $(srcdir) in \
22440 /* | [A-Za-z]:[\\/]*) \
22441 topdir=$(srcdir) ;; \
22442 *) \
22443 case "$(TARGET_SUBDIR)" in \
22444 .) topdir="../$(srcdir)" ;; \
22445 *) topdir="../../$(srcdir)" ;; \
22446 esac ;; \
22447 esac; \
22448 if [ "$(srcdir)" = "." ] ; then \
22449 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22450 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22451 if [ -f Makefile ]; then \
22452 if $(MAKE) distclean; then \
22453 true; \
22454 else \
22455 exit 1; \
22456 fi; \
22457 else \
22458 true; \
22459 fi; \
22460 else \
22461 exit 1; \
22462 fi; \
22463 else \
22464 true; \
22465 fi; \
22466 srcdiroption="--srcdir=."; \
22467 libsrcdir="."; \
22468 else \
22469 srcdiroption="--srcdir=$${topdir}/winsup"; \
22470 libsrcdir="$$s/winsup"; \
22471 fi; \
22472 rm -f no-such-file || : ; \
22473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22474 $(TARGET_CONFIGARGS) $${srcdiroption} \
22475 --with-target-subdir="$(TARGET_SUBDIR)" \
22476 || exit 1
22478 .PHONY: all-target-winsup maybe-all-target-winsup
22479 maybe-all-target-winsup:
22480 all-target-winsup: configure-target-winsup
22481 @r=`${PWD}`; export r; \
22482 s=`cd $(srcdir); ${PWD}`; export s; \
22483 $(SET_LIB_PATH) \
22484 (cd $(TARGET_SUBDIR)/winsup && \
22485 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22487 .PHONY: check-target-winsup maybe-check-target-winsup
22488 maybe-check-target-winsup:
22490 check-target-winsup:
22491 @r=`${PWD}`; export r; \
22492 s=`cd $(srcdir); ${PWD}`; export s; \
22493 $(SET_LIB_PATH) \
22494 (cd $(TARGET_SUBDIR)/winsup && \
22495 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22498 .PHONY: install-target-winsup maybe-install-target-winsup
22499 maybe-install-target-winsup:
22501 install-target-winsup: installdirs
22502 @r=`${PWD}`; export r; \
22503 s=`cd $(srcdir); ${PWD}`; export s; \
22504 $(SET_LIB_PATH) \
22505 (cd $(TARGET_SUBDIR)/winsup && \
22506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22509 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
22510 maybe-configure-target-libgloss:
22512 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22513 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
22514 @[ -d $(TARGET_SUBDIR)/libgloss ] || \
22515 mkdir $(TARGET_SUBDIR)/libgloss; \
22516 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
22517 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
22519 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
22520 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
22521 [ -d $(TARGET_SUBDIR)/libgloss ] || \
22522 mkdir $(TARGET_SUBDIR)/libgloss;\
22523 r=`${PWD}`; export r; \
22524 s=`cd $(srcdir); ${PWD}`; export s; \
22525 $(SET_LIB_PATH) \
22526 AR="$(AR_FOR_TARGET)"; export AR; \
22527 AS="$(AS_FOR_TARGET)"; export AS; \
22528 CC="$(CC_FOR_TARGET)"; export CC; \
22529 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22530 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22531 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22532 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22533 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22534 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22535 LD="$(LD_FOR_TARGET)"; export LD; \
22536 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22537 NM="$(NM_FOR_TARGET)"; export NM; \
22538 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22539 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22540 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
22541 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
22542 case $(srcdir) in \
22543 /* | [A-Za-z]:[\\/]*) \
22544 topdir=$(srcdir) ;; \
22545 *) \
22546 case "$(TARGET_SUBDIR)" in \
22547 .) topdir="../$(srcdir)" ;; \
22548 *) topdir="../../$(srcdir)" ;; \
22549 esac ;; \
22550 esac; \
22551 if [ "$(srcdir)" = "." ] ; then \
22552 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22553 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
22554 if [ -f Makefile ]; then \
22555 if $(MAKE) distclean; then \
22556 true; \
22557 else \
22558 exit 1; \
22559 fi; \
22560 else \
22561 true; \
22562 fi; \
22563 else \
22564 exit 1; \
22565 fi; \
22566 else \
22567 true; \
22568 fi; \
22569 srcdiroption="--srcdir=."; \
22570 libsrcdir="."; \
22571 else \
22572 srcdiroption="--srcdir=$${topdir}/libgloss"; \
22573 libsrcdir="$$s/libgloss"; \
22574 fi; \
22575 rm -f no-such-file || : ; \
22576 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22577 $(TARGET_CONFIGARGS) $${srcdiroption} \
22578 --with-target-subdir="$(TARGET_SUBDIR)" \
22579 || exit 1
22581 .PHONY: all-target-libgloss maybe-all-target-libgloss
22582 maybe-all-target-libgloss:
22583 all-target-libgloss: configure-target-libgloss
22584 @r=`${PWD}`; export r; \
22585 s=`cd $(srcdir); ${PWD}`; export s; \
22586 $(SET_LIB_PATH) \
22587 (cd $(TARGET_SUBDIR)/libgloss && \
22588 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22590 .PHONY: check-target-libgloss maybe-check-target-libgloss
22591 maybe-check-target-libgloss:
22593 # Dummy target for uncheckable module.
22594 check-target-libgloss:
22597 .PHONY: install-target-libgloss maybe-install-target-libgloss
22598 maybe-install-target-libgloss:
22600 install-target-libgloss: installdirs
22601 @r=`${PWD}`; export r; \
22602 s=`cd $(srcdir); ${PWD}`; export s; \
22603 $(SET_LIB_PATH) \
22604 (cd $(TARGET_SUBDIR)/libgloss && \
22605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22608 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
22609 maybe-configure-target-libiberty:
22611 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22612 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
22613 @[ -d $(TARGET_SUBDIR)/libiberty ] || \
22614 mkdir $(TARGET_SUBDIR)/libiberty; \
22615 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
22616 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
22618 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
22619 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
22620 [ -d $(TARGET_SUBDIR)/libiberty ] || \
22621 mkdir $(TARGET_SUBDIR)/libiberty;\
22622 r=`${PWD}`; export r; \
22623 s=`cd $(srcdir); ${PWD}`; export s; \
22624 $(SET_LIB_PATH) \
22625 AR="$(AR_FOR_TARGET)"; export AR; \
22626 AS="$(AS_FOR_TARGET)"; export AS; \
22627 CC="$(CC_FOR_TARGET)"; export CC; \
22628 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22629 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22630 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22631 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22632 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22633 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22634 LD="$(LD_FOR_TARGET)"; export LD; \
22635 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22636 NM="$(NM_FOR_TARGET)"; export NM; \
22637 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22638 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22639 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
22640 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
22641 case $(srcdir) in \
22642 /* | [A-Za-z]:[\\/]*) \
22643 topdir=$(srcdir) ;; \
22644 *) \
22645 case "$(TARGET_SUBDIR)" in \
22646 .) topdir="../$(srcdir)" ;; \
22647 *) topdir="../../$(srcdir)" ;; \
22648 esac ;; \
22649 esac; \
22650 if [ "$(srcdir)" = "." ] ; then \
22651 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22652 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
22653 if [ -f Makefile ]; then \
22654 if $(MAKE) distclean; then \
22655 true; \
22656 else \
22657 exit 1; \
22658 fi; \
22659 else \
22660 true; \
22661 fi; \
22662 else \
22663 exit 1; \
22664 fi; \
22665 else \
22666 true; \
22667 fi; \
22668 srcdiroption="--srcdir=."; \
22669 libsrcdir="."; \
22670 else \
22671 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22672 libsrcdir="$$s/libiberty"; \
22673 fi; \
22674 rm -f no-such-file || : ; \
22675 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22676 $(TARGET_CONFIGARGS) $${srcdiroption} \
22677 --with-target-subdir="$(TARGET_SUBDIR)" \
22678 || exit 1
22680 .PHONY: all-target-libiberty maybe-all-target-libiberty
22681 maybe-all-target-libiberty:
22682 all-target-libiberty: configure-target-libiberty
22683 @r=`${PWD}`; export r; \
22684 s=`cd $(srcdir); ${PWD}`; export s; \
22685 $(SET_LIB_PATH) \
22686 (cd $(TARGET_SUBDIR)/libiberty && \
22687 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22689 .PHONY: check-target-libiberty maybe-check-target-libiberty
22690 maybe-check-target-libiberty:
22692 check-target-libiberty:
22693 @r=`${PWD}`; export r; \
22694 s=`cd $(srcdir); ${PWD}`; export s; \
22695 $(SET_LIB_PATH) \
22696 (cd $(TARGET_SUBDIR)/libiberty && \
22697 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22700 .PHONY: install-target-libiberty maybe-install-target-libiberty
22701 maybe-install-target-libiberty:
22703 install-target-libiberty: installdirs
22704 @r=`${PWD}`; export r; \
22705 s=`cd $(srcdir); ${PWD}`; export s; \
22706 $(SET_LIB_PATH) \
22707 (cd $(TARGET_SUBDIR)/libiberty && \
22708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22711 .PHONY: configure-target-gperf maybe-configure-target-gperf
22712 maybe-configure-target-gperf:
22714 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22715 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
22716 @[ -d $(TARGET_SUBDIR)/gperf ] || \
22717 mkdir $(TARGET_SUBDIR)/gperf; \
22718 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
22719 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
22721 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
22722 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
22723 [ -d $(TARGET_SUBDIR)/gperf ] || \
22724 mkdir $(TARGET_SUBDIR)/gperf;\
22725 r=`${PWD}`; export r; \
22726 s=`cd $(srcdir); ${PWD}`; export s; \
22727 $(SET_LIB_PATH) \
22728 AR="$(AR_FOR_TARGET)"; export AR; \
22729 AS="$(AS_FOR_TARGET)"; export AS; \
22730 CC="$(CC_FOR_TARGET)"; export CC; \
22731 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22732 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22733 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22734 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22735 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22736 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22737 LD="$(LD_FOR_TARGET)"; export LD; \
22738 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22739 NM="$(NM_FOR_TARGET)"; export NM; \
22740 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22741 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22742 echo Configuring in $(TARGET_SUBDIR)/gperf; \
22743 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
22744 case $(srcdir) in \
22745 /* | [A-Za-z]:[\\/]*) \
22746 topdir=$(srcdir) ;; \
22747 *) \
22748 case "$(TARGET_SUBDIR)" in \
22749 .) topdir="../$(srcdir)" ;; \
22750 *) topdir="../../$(srcdir)" ;; \
22751 esac ;; \
22752 esac; \
22753 if [ "$(srcdir)" = "." ] ; then \
22754 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22755 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
22756 if [ -f Makefile ]; then \
22757 if $(MAKE) distclean; then \
22758 true; \
22759 else \
22760 exit 1; \
22761 fi; \
22762 else \
22763 true; \
22764 fi; \
22765 else \
22766 exit 1; \
22767 fi; \
22768 else \
22769 true; \
22770 fi; \
22771 srcdiroption="--srcdir=."; \
22772 libsrcdir="."; \
22773 else \
22774 srcdiroption="--srcdir=$${topdir}/gperf"; \
22775 libsrcdir="$$s/gperf"; \
22776 fi; \
22777 rm -f no-such-file || : ; \
22778 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22779 $(TARGET_CONFIGARGS) $${srcdiroption} \
22780 --with-target-subdir="$(TARGET_SUBDIR)" \
22781 || exit 1
22783 .PHONY: all-target-gperf maybe-all-target-gperf
22784 maybe-all-target-gperf:
22785 all-target-gperf: configure-target-gperf
22786 @r=`${PWD}`; export r; \
22787 s=`cd $(srcdir); ${PWD}`; export s; \
22788 $(SET_LIB_PATH) \
22789 (cd $(TARGET_SUBDIR)/gperf && \
22790 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22792 .PHONY: check-target-gperf maybe-check-target-gperf
22793 maybe-check-target-gperf:
22795 check-target-gperf:
22796 @r=`${PWD}`; export r; \
22797 s=`cd $(srcdir); ${PWD}`; export s; \
22798 $(SET_LIB_PATH) \
22799 (cd $(TARGET_SUBDIR)/gperf && \
22800 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22803 .PHONY: install-target-gperf maybe-install-target-gperf
22804 maybe-install-target-gperf:
22806 install-target-gperf: installdirs
22807 @r=`${PWD}`; export r; \
22808 s=`cd $(srcdir); ${PWD}`; export s; \
22809 $(SET_LIB_PATH) \
22810 (cd $(TARGET_SUBDIR)/gperf && \
22811 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22814 .PHONY: configure-target-examples maybe-configure-target-examples
22815 maybe-configure-target-examples:
22817 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22818 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22819 @[ -d $(TARGET_SUBDIR)/examples ] || \
22820 mkdir $(TARGET_SUBDIR)/examples; \
22821 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22822 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22824 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22825 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22826 [ -d $(TARGET_SUBDIR)/examples ] || \
22827 mkdir $(TARGET_SUBDIR)/examples;\
22828 r=`${PWD}`; export r; \
22829 s=`cd $(srcdir); ${PWD}`; export s; \
22830 $(SET_LIB_PATH) \
22831 AR="$(AR_FOR_TARGET)"; export AR; \
22832 AS="$(AS_FOR_TARGET)"; export AS; \
22833 CC="$(CC_FOR_TARGET)"; export CC; \
22834 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22835 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22836 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22837 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22838 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22839 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22840 LD="$(LD_FOR_TARGET)"; export LD; \
22841 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22842 NM="$(NM_FOR_TARGET)"; export NM; \
22843 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22844 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22845 echo Configuring in $(TARGET_SUBDIR)/examples; \
22846 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22847 case $(srcdir) in \
22848 /* | [A-Za-z]:[\\/]*) \
22849 topdir=$(srcdir) ;; \
22850 *) \
22851 case "$(TARGET_SUBDIR)" in \
22852 .) topdir="../$(srcdir)" ;; \
22853 *) topdir="../../$(srcdir)" ;; \
22854 esac ;; \
22855 esac; \
22856 if [ "$(srcdir)" = "." ] ; then \
22857 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22858 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
22859 if [ -f Makefile ]; then \
22860 if $(MAKE) distclean; then \
22861 true; \
22862 else \
22863 exit 1; \
22864 fi; \
22865 else \
22866 true; \
22867 fi; \
22868 else \
22869 exit 1; \
22870 fi; \
22871 else \
22872 true; \
22873 fi; \
22874 srcdiroption="--srcdir=."; \
22875 libsrcdir="."; \
22876 else \
22877 srcdiroption="--srcdir=$${topdir}/examples"; \
22878 libsrcdir="$$s/examples"; \
22879 fi; \
22880 rm -f no-such-file || : ; \
22881 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22882 $(TARGET_CONFIGARGS) $${srcdiroption} \
22883 --with-target-subdir="$(TARGET_SUBDIR)" \
22884 || exit 1
22886 .PHONY: all-target-examples maybe-all-target-examples
22887 maybe-all-target-examples:
22888 all-target-examples: configure-target-examples
22889 @r=`${PWD}`; export r; \
22890 s=`cd $(srcdir); ${PWD}`; export s; \
22891 $(SET_LIB_PATH) \
22892 (cd $(TARGET_SUBDIR)/examples && \
22893 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22895 .PHONY: check-target-examples maybe-check-target-examples
22896 maybe-check-target-examples:
22898 # Dummy target for uncheckable module.
22899 check-target-examples:
22902 .PHONY: install-target-examples maybe-install-target-examples
22903 maybe-install-target-examples:
22905 # Dummy target for uninstallable.
22906 install-target-examples:
22909 .PHONY: configure-target-libffi maybe-configure-target-libffi
22910 maybe-configure-target-libffi:
22912 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22913 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
22914 @[ -d $(TARGET_SUBDIR)/libffi ] || \
22915 mkdir $(TARGET_SUBDIR)/libffi; \
22916 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
22917 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
22919 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22920 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
22921 [ -d $(TARGET_SUBDIR)/libffi ] || \
22922 mkdir $(TARGET_SUBDIR)/libffi;\
22923 r=`${PWD}`; export r; \
22924 s=`cd $(srcdir); ${PWD}`; export s; \
22925 $(SET_LIB_PATH) \
22926 AR="$(AR_FOR_TARGET)"; export AR; \
22927 AS="$(AS_FOR_TARGET)"; export AS; \
22928 CC="$(CC_FOR_TARGET)"; export CC; \
22929 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22930 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22931 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22932 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22933 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22934 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22935 LD="$(LD_FOR_TARGET)"; export LD; \
22936 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22937 NM="$(NM_FOR_TARGET)"; export NM; \
22938 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22939 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22940 echo Configuring in $(TARGET_SUBDIR)/libffi; \
22941 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
22942 case $(srcdir) in \
22943 /* | [A-Za-z]:[\\/]*) \
22944 topdir=$(srcdir) ;; \
22945 *) \
22946 case "$(TARGET_SUBDIR)" in \
22947 .) topdir="../$(srcdir)" ;; \
22948 *) topdir="../../$(srcdir)" ;; \
22949 esac ;; \
22950 esac; \
22951 if [ "$(srcdir)" = "." ] ; then \
22952 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22953 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
22954 if [ -f Makefile ]; then \
22955 if $(MAKE) distclean; then \
22956 true; \
22957 else \
22958 exit 1; \
22959 fi; \
22960 else \
22961 true; \
22962 fi; \
22963 else \
22964 exit 1; \
22965 fi; \
22966 else \
22967 true; \
22968 fi; \
22969 srcdiroption="--srcdir=."; \
22970 libsrcdir="."; \
22971 else \
22972 srcdiroption="--srcdir=$${topdir}/libffi"; \
22973 libsrcdir="$$s/libffi"; \
22974 fi; \
22975 rm -f no-such-file || : ; \
22976 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22977 $(TARGET_CONFIGARGS) $${srcdiroption} \
22978 --with-target-subdir="$(TARGET_SUBDIR)" \
22979 || exit 1
22981 .PHONY: all-target-libffi maybe-all-target-libffi
22982 maybe-all-target-libffi:
22983 all-target-libffi: configure-target-libffi
22984 @r=`${PWD}`; export r; \
22985 s=`cd $(srcdir); ${PWD}`; export s; \
22986 $(SET_LIB_PATH) \
22987 (cd $(TARGET_SUBDIR)/libffi && \
22988 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22990 .PHONY: check-target-libffi maybe-check-target-libffi
22991 maybe-check-target-libffi:
22993 check-target-libffi:
22994 @r=`${PWD}`; export r; \
22995 s=`cd $(srcdir); ${PWD}`; export s; \
22996 $(SET_LIB_PATH) \
22997 (cd $(TARGET_SUBDIR)/libffi && \
22998 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23001 .PHONY: install-target-libffi maybe-install-target-libffi
23002 maybe-install-target-libffi:
23004 install-target-libffi: installdirs
23005 @r=`${PWD}`; export r; \
23006 s=`cd $(srcdir); ${PWD}`; export s; \
23007 $(SET_LIB_PATH) \
23008 (cd $(TARGET_SUBDIR)/libffi && \
23009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23012 .PHONY: configure-target-libjava maybe-configure-target-libjava
23013 maybe-configure-target-libjava:
23015 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23016 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
23017 @[ -d $(TARGET_SUBDIR)/libjava ] || \
23018 mkdir $(TARGET_SUBDIR)/libjava; \
23019 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
23020 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
23022 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
23023 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
23024 [ -d $(TARGET_SUBDIR)/libjava ] || \
23025 mkdir $(TARGET_SUBDIR)/libjava;\
23026 r=`${PWD}`; export r; \
23027 s=`cd $(srcdir); ${PWD}`; export s; \
23028 $(SET_LIB_PATH) \
23029 AR="$(AR_FOR_TARGET)"; export AR; \
23030 AS="$(AS_FOR_TARGET)"; export AS; \
23031 CC="$(CC_FOR_TARGET)"; export CC; \
23032 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23033 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23034 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
23035 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
23036 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23037 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23038 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23039 LD="$(LD_FOR_TARGET)"; export LD; \
23040 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23041 NM="$(NM_FOR_TARGET)"; export NM; \
23042 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23043 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23044 echo Configuring in $(TARGET_SUBDIR)/libjava; \
23045 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
23046 case $(srcdir) in \
23047 /* | [A-Za-z]:[\\/]*) \
23048 topdir=$(srcdir) ;; \
23049 *) \
23050 case "$(TARGET_SUBDIR)" in \
23051 .) topdir="../$(srcdir)" ;; \
23052 *) topdir="../../$(srcdir)" ;; \
23053 esac ;; \
23054 esac; \
23055 if [ "$(srcdir)" = "." ] ; then \
23056 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23057 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23058 if [ -f Makefile ]; then \
23059 if $(MAKE) distclean; then \
23060 true; \
23061 else \
23062 exit 1; \
23063 fi; \
23064 else \
23065 true; \
23066 fi; \
23067 else \
23068 exit 1; \
23069 fi; \
23070 else \
23071 true; \
23072 fi; \
23073 srcdiroption="--srcdir=."; \
23074 libsrcdir="."; \
23075 else \
23076 srcdiroption="--srcdir=$${topdir}/libjava"; \
23077 libsrcdir="$$s/libjava"; \
23078 fi; \
23079 rm -f no-such-file || : ; \
23080 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23081 $(TARGET_CONFIGARGS) $${srcdiroption} \
23082 --with-target-subdir="$(TARGET_SUBDIR)" \
23083 || exit 1
23085 .PHONY: all-target-libjava maybe-all-target-libjava
23086 maybe-all-target-libjava:
23087 all-target-libjava: configure-target-libjava
23088 @r=`${PWD}`; export r; \
23089 s=`cd $(srcdir); ${PWD}`; export s; \
23090 $(SET_LIB_PATH) \
23091 (cd $(TARGET_SUBDIR)/libjava && \
23092 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
23094 .PHONY: check-target-libjava maybe-check-target-libjava
23095 maybe-check-target-libjava:
23097 check-target-libjava:
23098 @r=`${PWD}`; export r; \
23099 s=`cd $(srcdir); ${PWD}`; export s; \
23100 $(SET_LIB_PATH) \
23101 (cd $(TARGET_SUBDIR)/libjava && \
23102 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23105 .PHONY: install-target-libjava maybe-install-target-libjava
23106 maybe-install-target-libjava:
23108 install-target-libjava: installdirs
23109 @r=`${PWD}`; export r; \
23110 s=`cd $(srcdir); ${PWD}`; export s; \
23111 $(SET_LIB_PATH) \
23112 (cd $(TARGET_SUBDIR)/libjava && \
23113 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23116 .PHONY: configure-target-zlib maybe-configure-target-zlib
23117 maybe-configure-target-zlib:
23119 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23120 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
23121 @[ -d $(TARGET_SUBDIR)/zlib ] || \
23122 mkdir $(TARGET_SUBDIR)/zlib; \
23123 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
23124 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
23126 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
23127 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
23128 [ -d $(TARGET_SUBDIR)/zlib ] || \
23129 mkdir $(TARGET_SUBDIR)/zlib;\
23130 r=`${PWD}`; export r; \
23131 s=`cd $(srcdir); ${PWD}`; export s; \
23132 $(SET_LIB_PATH) \
23133 AR="$(AR_FOR_TARGET)"; export AR; \
23134 AS="$(AS_FOR_TARGET)"; export AS; \
23135 CC="$(CC_FOR_TARGET)"; export CC; \
23136 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23137 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23138 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23139 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23140 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23141 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23142 LD="$(LD_FOR_TARGET)"; export LD; \
23143 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23144 NM="$(NM_FOR_TARGET)"; export NM; \
23145 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23146 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23147 echo Configuring in $(TARGET_SUBDIR)/zlib; \
23148 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
23149 case $(srcdir) in \
23150 /* | [A-Za-z]:[\\/]*) \
23151 topdir=$(srcdir) ;; \
23152 *) \
23153 case "$(TARGET_SUBDIR)" in \
23154 .) topdir="../$(srcdir)" ;; \
23155 *) topdir="../../$(srcdir)" ;; \
23156 esac ;; \
23157 esac; \
23158 if [ "$(srcdir)" = "." ] ; then \
23159 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23160 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
23161 if [ -f Makefile ]; then \
23162 if $(MAKE) distclean; then \
23163 true; \
23164 else \
23165 exit 1; \
23166 fi; \
23167 else \
23168 true; \
23169 fi; \
23170 else \
23171 exit 1; \
23172 fi; \
23173 else \
23174 true; \
23175 fi; \
23176 srcdiroption="--srcdir=."; \
23177 libsrcdir="."; \
23178 else \
23179 srcdiroption="--srcdir=$${topdir}/zlib"; \
23180 libsrcdir="$$s/zlib"; \
23181 fi; \
23182 rm -f no-such-file || : ; \
23183 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23184 $(TARGET_CONFIGARGS) $${srcdiroption} \
23185 --with-target-subdir="$(TARGET_SUBDIR)" \
23186 || exit 1
23188 .PHONY: all-target-zlib maybe-all-target-zlib
23189 maybe-all-target-zlib:
23190 all-target-zlib: configure-target-zlib
23191 @r=`${PWD}`; export r; \
23192 s=`cd $(srcdir); ${PWD}`; export s; \
23193 $(SET_LIB_PATH) \
23194 (cd $(TARGET_SUBDIR)/zlib && \
23195 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23197 .PHONY: check-target-zlib maybe-check-target-zlib
23198 maybe-check-target-zlib:
23200 check-target-zlib:
23201 @r=`${PWD}`; export r; \
23202 s=`cd $(srcdir); ${PWD}`; export s; \
23203 $(SET_LIB_PATH) \
23204 (cd $(TARGET_SUBDIR)/zlib && \
23205 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23208 .PHONY: install-target-zlib maybe-install-target-zlib
23209 maybe-install-target-zlib:
23211 install-target-zlib: installdirs
23212 @r=`${PWD}`; export r; \
23213 s=`cd $(srcdir); ${PWD}`; export s; \
23214 $(SET_LIB_PATH) \
23215 (cd $(TARGET_SUBDIR)/zlib && \
23216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23219 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23220 maybe-configure-target-boehm-gc:
23222 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23223 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23224 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23225 mkdir $(TARGET_SUBDIR)/boehm-gc; \
23226 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23227 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23229 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23230 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23231 [ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23232 mkdir $(TARGET_SUBDIR)/boehm-gc;\
23233 r=`${PWD}`; export r; \
23234 s=`cd $(srcdir); ${PWD}`; export s; \
23235 $(SET_LIB_PATH) \
23236 AR="$(AR_FOR_TARGET)"; export AR; \
23237 AS="$(AS_FOR_TARGET)"; export AS; \
23238 CC="$(CC_FOR_TARGET)"; export CC; \
23239 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23240 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23241 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23242 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23243 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23244 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23245 LD="$(LD_FOR_TARGET)"; export LD; \
23246 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23247 NM="$(NM_FOR_TARGET)"; export NM; \
23248 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23249 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23250 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23251 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23252 case $(srcdir) in \
23253 /* | [A-Za-z]:[\\/]*) \
23254 topdir=$(srcdir) ;; \
23255 *) \
23256 case "$(TARGET_SUBDIR)" in \
23257 .) topdir="../$(srcdir)" ;; \
23258 *) topdir="../../$(srcdir)" ;; \
23259 esac ;; \
23260 esac; \
23261 if [ "$(srcdir)" = "." ] ; then \
23262 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23263 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23264 if [ -f Makefile ]; then \
23265 if $(MAKE) distclean; then \
23266 true; \
23267 else \
23268 exit 1; \
23269 fi; \
23270 else \
23271 true; \
23272 fi; \
23273 else \
23274 exit 1; \
23275 fi; \
23276 else \
23277 true; \
23278 fi; \
23279 srcdiroption="--srcdir=."; \
23280 libsrcdir="."; \
23281 else \
23282 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23283 libsrcdir="$$s/boehm-gc"; \
23284 fi; \
23285 rm -f no-such-file || : ; \
23286 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23287 $(TARGET_CONFIGARGS) $${srcdiroption} \
23288 --with-target-subdir="$(TARGET_SUBDIR)" \
23289 || exit 1
23291 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23292 maybe-all-target-boehm-gc:
23293 all-target-boehm-gc: configure-target-boehm-gc
23294 @r=`${PWD}`; export r; \
23295 s=`cd $(srcdir); ${PWD}`; export s; \
23296 $(SET_LIB_PATH) \
23297 (cd $(TARGET_SUBDIR)/boehm-gc && \
23298 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23300 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23301 maybe-check-target-boehm-gc:
23303 check-target-boehm-gc:
23304 @r=`${PWD}`; export r; \
23305 s=`cd $(srcdir); ${PWD}`; export s; \
23306 $(SET_LIB_PATH) \
23307 (cd $(TARGET_SUBDIR)/boehm-gc && \
23308 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23311 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23312 maybe-install-target-boehm-gc:
23314 install-target-boehm-gc: installdirs
23315 @r=`${PWD}`; export r; \
23316 s=`cd $(srcdir); ${PWD}`; export s; \
23317 $(SET_LIB_PATH) \
23318 (cd $(TARGET_SUBDIR)/boehm-gc && \
23319 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23322 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23323 maybe-configure-target-qthreads:
23325 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23326 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23327 @[ -d $(TARGET_SUBDIR)/qthreads ] || \
23328 mkdir $(TARGET_SUBDIR)/qthreads; \
23329 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23330 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23332 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23333 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23334 [ -d $(TARGET_SUBDIR)/qthreads ] || \
23335 mkdir $(TARGET_SUBDIR)/qthreads;\
23336 r=`${PWD}`; export r; \
23337 s=`cd $(srcdir); ${PWD}`; export s; \
23338 $(SET_LIB_PATH) \
23339 AR="$(AR_FOR_TARGET)"; export AR; \
23340 AS="$(AS_FOR_TARGET)"; export AS; \
23341 CC="$(CC_FOR_TARGET)"; export CC; \
23342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23343 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23344 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23346 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23347 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23348 LD="$(LD_FOR_TARGET)"; export LD; \
23349 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23350 NM="$(NM_FOR_TARGET)"; export NM; \
23351 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23352 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23353 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23354 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23355 case $(srcdir) in \
23356 /* | [A-Za-z]:[\\/]*) \
23357 topdir=$(srcdir) ;; \
23358 *) \
23359 case "$(TARGET_SUBDIR)" in \
23360 .) topdir="../$(srcdir)" ;; \
23361 *) topdir="../../$(srcdir)" ;; \
23362 esac ;; \
23363 esac; \
23364 if [ "$(srcdir)" = "." ] ; then \
23365 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23366 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23367 if [ -f Makefile ]; then \
23368 if $(MAKE) distclean; then \
23369 true; \
23370 else \
23371 exit 1; \
23372 fi; \
23373 else \
23374 true; \
23375 fi; \
23376 else \
23377 exit 1; \
23378 fi; \
23379 else \
23380 true; \
23381 fi; \
23382 srcdiroption="--srcdir=."; \
23383 libsrcdir="."; \
23384 else \
23385 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23386 libsrcdir="$$s/qthreads"; \
23387 fi; \
23388 rm -f no-such-file || : ; \
23389 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23390 $(TARGET_CONFIGARGS) $${srcdiroption} \
23391 --with-target-subdir="$(TARGET_SUBDIR)" \
23392 || exit 1
23394 .PHONY: all-target-qthreads maybe-all-target-qthreads
23395 maybe-all-target-qthreads:
23396 all-target-qthreads: configure-target-qthreads
23397 @r=`${PWD}`; export r; \
23398 s=`cd $(srcdir); ${PWD}`; export s; \
23399 $(SET_LIB_PATH) \
23400 (cd $(TARGET_SUBDIR)/qthreads && \
23401 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23403 .PHONY: check-target-qthreads maybe-check-target-qthreads
23404 maybe-check-target-qthreads:
23406 check-target-qthreads:
23407 @r=`${PWD}`; export r; \
23408 s=`cd $(srcdir); ${PWD}`; export s; \
23409 $(SET_LIB_PATH) \
23410 (cd $(TARGET_SUBDIR)/qthreads && \
23411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23414 .PHONY: install-target-qthreads maybe-install-target-qthreads
23415 maybe-install-target-qthreads:
23417 install-target-qthreads: installdirs
23418 @r=`${PWD}`; export r; \
23419 s=`cd $(srcdir); ${PWD}`; export s; \
23420 $(SET_LIB_PATH) \
23421 (cd $(TARGET_SUBDIR)/qthreads && \
23422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23425 .PHONY: configure-target-rda maybe-configure-target-rda
23426 maybe-configure-target-rda:
23428 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23429 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23430 @[ -d $(TARGET_SUBDIR)/rda ] || \
23431 mkdir $(TARGET_SUBDIR)/rda; \
23432 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23433 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23435 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23436 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23437 [ -d $(TARGET_SUBDIR)/rda ] || \
23438 mkdir $(TARGET_SUBDIR)/rda;\
23439 r=`${PWD}`; export r; \
23440 s=`cd $(srcdir); ${PWD}`; export s; \
23441 $(SET_LIB_PATH) \
23442 AR="$(AR_FOR_TARGET)"; export AR; \
23443 AS="$(AS_FOR_TARGET)"; export AS; \
23444 CC="$(CC_FOR_TARGET)"; export CC; \
23445 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23446 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23447 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23448 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23449 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23450 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23451 LD="$(LD_FOR_TARGET)"; export LD; \
23452 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23453 NM="$(NM_FOR_TARGET)"; export NM; \
23454 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23455 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23456 echo Configuring in $(TARGET_SUBDIR)/rda; \
23457 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23458 case $(srcdir) in \
23459 /* | [A-Za-z]:[\\/]*) \
23460 topdir=$(srcdir) ;; \
23461 *) \
23462 case "$(TARGET_SUBDIR)" in \
23463 .) topdir="../$(srcdir)" ;; \
23464 *) topdir="../../$(srcdir)" ;; \
23465 esac ;; \
23466 esac; \
23467 if [ "$(srcdir)" = "." ] ; then \
23468 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23469 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
23470 if [ -f Makefile ]; then \
23471 if $(MAKE) distclean; then \
23472 true; \
23473 else \
23474 exit 1; \
23475 fi; \
23476 else \
23477 true; \
23478 fi; \
23479 else \
23480 exit 1; \
23481 fi; \
23482 else \
23483 true; \
23484 fi; \
23485 srcdiroption="--srcdir=."; \
23486 libsrcdir="."; \
23487 else \
23488 srcdiroption="--srcdir=$${topdir}/rda"; \
23489 libsrcdir="$$s/rda"; \
23490 fi; \
23491 rm -f no-such-file || : ; \
23492 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23493 $(TARGET_CONFIGARGS) $${srcdiroption} \
23494 --with-target-subdir="$(TARGET_SUBDIR)" \
23495 || exit 1
23497 .PHONY: all-target-rda maybe-all-target-rda
23498 maybe-all-target-rda:
23499 all-target-rda: configure-target-rda
23500 @r=`${PWD}`; export r; \
23501 s=`cd $(srcdir); ${PWD}`; export s; \
23502 $(SET_LIB_PATH) \
23503 (cd $(TARGET_SUBDIR)/rda && \
23504 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23506 .PHONY: check-target-rda maybe-check-target-rda
23507 maybe-check-target-rda:
23509 check-target-rda:
23510 @r=`${PWD}`; export r; \
23511 s=`cd $(srcdir); ${PWD}`; export s; \
23512 $(SET_LIB_PATH) \
23513 (cd $(TARGET_SUBDIR)/rda && \
23514 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23517 .PHONY: install-target-rda maybe-install-target-rda
23518 maybe-install-target-rda:
23520 install-target-rda: installdirs
23521 @r=`${PWD}`; export r; \
23522 s=`cd $(srcdir); ${PWD}`; export s; \
23523 $(SET_LIB_PATH) \
23524 (cd $(TARGET_SUBDIR)/rda && \
23525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23529 # ----------
23530 # GCC module
23531 # ----------
23533 # Unfortunately, while gcc _should_ be a host module,
23534 # libgcc is a target module, and gen* programs are
23535 # build modules. So GCC is a sort of hybrid.
23537 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23538 .PHONY: configure-gcc maybe-configure-gcc
23539 maybe-configure-gcc:
23540 configure-gcc:
23541 @test ! -f gcc/Makefile || exit 0; \
23542 [ -d gcc ] || mkdir gcc; \
23543 r=`${PWD}`; export r; \
23544 s=`cd $(srcdir); ${PWD}`; export s; \
23545 CC="$(CC)"; export CC; \
23546 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23547 CXX="$(CXX)"; export CXX; \
23548 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23549 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23550 AR="$(AR)"; export AR; \
23551 AS="$(AS)"; export AS; \
23552 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23553 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23554 LD="$(LD)"; export LD; \
23555 NM="$(NM)"; export NM; \
23556 RANLIB="$(RANLIB)"; export RANLIB; \
23557 WINDRES="$(WINDRES)"; export WINDRES; \
23558 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23559 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23560 echo Configuring in gcc; \
23561 cd gcc || exit 1; \
23562 case $(srcdir) in \
23563 \.) \
23564 srcdiroption="--srcdir=."; \
23565 libsrcdir=".";; \
23566 /* | [A-Za-z]:[\\/]*) \
23567 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23568 libsrcdir="$$s/gcc";; \
23569 *) \
23570 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23571 libsrcdir="$$s/gcc";; \
23572 esac; \
23573 $(SHELL) $${libsrcdir}/configure \
23574 $(HOST_CONFIGARGS) $${srcdiroption} \
23575 || exit 1
23577 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23578 # causes trouble. This wart will be fixed eventually by moving
23579 # the bootstrap behavior to this file.
23580 .PHONY: all-gcc maybe-all-gcc
23581 maybe-all-gcc:
23582 all-gcc: configure-gcc
23583 @if [ -f gcc/stage_last ] ; then \
23584 r=`${PWD}`; export r; \
23585 s=`cd $(srcdir); ${PWD}`; export s; \
23586 $(SET_LIB_PATH) \
23587 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23588 else \
23589 r=`${PWD}`; export r; \
23590 s=`cd $(srcdir); ${PWD}`; export s; \
23591 $(SET_LIB_PATH) \
23592 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23595 # Building GCC uses some tools for rebuilding "source" files
23596 # like texinfo, bison/byacc, etc. So we must depend on those.
23598 # While building GCC, it may be necessary to run various target
23599 # programs like the assembler, linker, etc. So we depend on
23600 # those too.
23602 # In theory, on an SMP all those dependencies can be resolved
23603 # in parallel.
23605 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23606 .PHONY: $(GCC_STRAP_TARGETS)
23607 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23608 @r=`${PWD}`; export r; \
23609 s=`cd $(srcdir); ${PWD}`; export s; \
23610 $(SET_LIB_PATH) \
23611 echo "Bootstrapping the compiler"; \
23612 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23613 @r=`${PWD}`; export r; \
23614 s=`cd $(srcdir); ${PWD}`; export s; \
23615 case "$@" in \
23616 *bootstrap4-lean ) \
23617 msg="Comparing stage3 and stage4 of the compiler"; \
23618 compare=compare3-lean ;; \
23619 *bootstrap4 ) \
23620 msg="Comparing stage3 and stage4 of the compiler"; \
23621 compare=compare3 ;; \
23622 *-lean ) \
23623 msg="Comparing stage2 and stage3 of the compiler"; \
23624 compare=compare-lean ;; \
23625 * ) \
23626 msg="Comparing stage2 and stage3 of the compiler"; \
23627 compare=compare ;; \
23628 esac; \
23629 $(SET_LIB_PATH) \
23630 echo "$$msg"; \
23631 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23632 @r=`${PWD}`; export r; \
23633 s=`cd $(srcdir); ${PWD}` ; export s; \
23634 $(SET_LIB_PATH) \
23635 echo "Building runtime libraries"; \
23636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23638 profiledbootstrap: all-bootstrap configure-gcc
23639 @r=`${PWD}`; export r; \
23640 s=`cd $(srcdir); ${PWD}`; export s; \
23641 $(SET_LIB_PATH) \
23642 echo "Bootstrapping the compiler"; \
23643 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23644 @r=`${PWD}`; export r; \
23645 s=`cd $(srcdir); ${PWD}` ; export s; \
23646 $(SET_LIB_PATH) \
23647 echo "Building runtime libraries and training compiler"; \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23649 @r=`${PWD}`; export r; \
23650 s=`cd $(srcdir); ${PWD}`; export s; \
23651 $(SET_LIB_PATH) \
23652 echo "Building feedback based compiler"; \
23653 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23655 .PHONY: cross
23656 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23657 @r=`${PWD}`; export r; \
23658 s=`cd $(srcdir); ${PWD}`; export s; \
23659 $(SET_LIB_PATH) \
23660 echo "Building the C and C++ compiler"; \
23661 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23662 @r=`${PWD}`; export r; \
23663 s=`cd $(srcdir); ${PWD}` ; export s; \
23664 $(SET_LIB_PATH) \
23665 echo "Building runtime libraries"; \
23666 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23667 LANGUAGES="c c++" all
23669 .PHONY: check-gcc maybe-check-gcc
23670 maybe-check-gcc:
23671 check-gcc:
23672 @if [ -f ./gcc/Makefile ] ; then \
23673 r=`${PWD}`; export r; \
23674 s=`cd $(srcdir); ${PWD}`; export s; \
23675 $(SET_LIB_PATH) \
23676 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23677 else \
23678 true; \
23681 .PHONY: check-gcc-c++
23682 check-gcc-c++:
23683 @if [ -f ./gcc/Makefile ] ; then \
23684 r=`${PWD}`; export r; \
23685 s=`cd $(srcdir); ${PWD}`; export s; \
23686 $(SET_LIB_PATH) \
23687 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23688 else \
23689 true; \
23692 .PHONY: check-c++
23693 check-c++:
23694 $(MAKE) check-target-libstdc++-v3 check-gcc-c++
23696 .PHONY: install-gcc maybe-install-gcc
23697 maybe-install-gcc:
23698 install-gcc:
23699 @if [ -f ./gcc/Makefile ] ; then \
23700 r=`${PWD}`; export r; \
23701 s=`cd $(srcdir); ${PWD}`; export s; \
23702 $(SET_LIB_PATH) \
23703 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23704 else \
23705 true; \
23708 # Install the gcc headers files, but not the fixed include files,
23709 # which Cygnus is not allowed to distribute. This rule is very
23710 # dependent on the workings of the gcc Makefile.in.
23711 .PHONY: gcc-no-fixedincludes
23712 gcc-no-fixedincludes:
23713 @if [ -f ./gcc/Makefile ]; then \
23714 rm -rf gcc/tmp-include; \
23715 mv gcc/include gcc/tmp-include 2>/dev/null; \
23716 mkdir gcc/include; \
23717 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23718 touch gcc/stmp-fixinc gcc/include/fixed; \
23719 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23720 r=`${PWD}`; export r; \
23721 s=`cd $(srcdir); ${PWD}` ; export s; \
23722 $(SET_LIB_PATH) \
23723 (cd ./gcc && \
23724 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23725 rm -rf gcc/include; \
23726 mv gcc/tmp-include gcc/include 2>/dev/null; \
23727 else true; fi
23729 # --------------------------------------
23730 # Dependencies between different modules
23731 # --------------------------------------
23733 # There are two types of dependencies here: 'hard' dependencies, where one
23734 # module simply won't build without the other; and 'soft' dependencies, where
23735 # if the depended-on module is missing, the depending module will do without
23736 # or find a substitute somewhere (perhaps installed). Soft dependencies
23737 # are specified by depending on a 'maybe-' target. If you're not sure,
23738 # it's safer to use a soft dependency.
23740 # Host modules specific to gcc.
23741 # GCC needs to identify certain tools.
23742 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
23743 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23744 # This is a slightly kludgy method of getting dependencies on
23745 # all-build-libiberty correct; it would be better to build it every time.
23746 all-gcc: maybe-all-build-libiberty
23747 all-bootstrap: maybe-all-libiberty maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23749 # Host modules specific to gdb.
23750 # GDB needs to know that the simulator is being built.
23751 configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
23752 GDB_TK = @GDB_TK@
23753 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)
23754 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
23755 configure-libgui: maybe-configure-tcl maybe-configure-tk
23756 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
23758 # Host modules specific to binutils.
23759 configure-bfd: configure-libiberty
23760 all-bfd: maybe-all-libiberty maybe-all-intl
23761 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
23762 # We put install-opcodes before install-binutils because the installed
23763 # binutils might be on PATH, and they might need the shared opcodes
23764 # library.
23765 install-binutils: maybe-install-opcodes
23766 # libopcodes depends on libbfd
23767 install-opcodes: maybe-install-bfd
23768 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23769 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23770 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23771 all-opcodes: maybe-all-bfd maybe-all-libiberty
23773 # Other host modules in the 'src' repository.
23774 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
23775 configure-expect: maybe-configure-tcl maybe-configure-tk
23776 all-expect: maybe-all-tcl maybe-all-tk
23777 configure-itcl: maybe-configure-tcl maybe-configure-tk
23778 all-itcl: maybe-all-tcl maybe-all-tk
23779 # We put install-tcl before install-itcl because itcl wants to run a
23780 # program on installation which uses the Tcl libraries.
23781 install-itcl: maybe-install-tcl
23782 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
23783 install-sid: maybe-install-tcl maybe-install-tk
23784 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23785 configure-tk: maybe-configure-tcl
23786 all-tk: maybe-all-tcl
23787 configure-tix: maybe-configure-tcl maybe-configure-tk
23788 all-tix: maybe-all-tcl maybe-all-tk
23789 all-texinfo: maybe-all-libiberty
23791 # Other host modules. Warning, these are not well tested.
23792 all-autoconf: maybe-all-m4 maybe-all-texinfo
23793 all-automake: maybe-all-m4 maybe-all-texinfo
23794 all-bison: maybe-all-texinfo
23795 all-diff: maybe-all-libiberty
23796 all-fastjar: maybe-all-zlib maybe-all-libiberty
23797 all-fileutils: maybe-all-libiberty
23798 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
23799 all-gzip: maybe-all-libiberty
23800 all-hello: maybe-all-libiberty
23801 all-m4: maybe-all-libiberty maybe-all-texinfo
23802 all-make: maybe-all-libiberty
23803 all-patch: maybe-all-libiberty
23804 all-prms: maybe-all-libiberty
23805 all-recode: maybe-all-libiberty
23806 all-sed: maybe-all-libiberty
23807 all-send-pr: maybe-all-prms
23808 all-tar: maybe-all-libiberty
23809 all-uudecode: maybe-all-libiberty
23811 ALL_GCC = maybe-all-gcc
23812 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
23813 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
23815 # Target modules specific to gcc.
23816 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
23817 configure-target-fastjar: maybe-configure-target-zlib
23818 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
23819 configure-target-libf2c: $(ALL_GCC_C)
23820 all-target-libf2c: maybe-all-target-libiberty
23821 configure-target-libffi: $(ALL_GCC_C)
23822 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
23823 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
23824 configure-target-libobjc: $(ALL_GCC_C)
23825 all-target-libobjc: maybe-all-target-libiberty
23826 configure-target-libstdc++-v3: $(ALL_GCC_C)
23827 all-target-libstdc++-v3: maybe-all-target-libiberty
23828 configure-target-zlib: $(ALL_GCC_C)
23830 # Target modules in the 'src' repository.
23831 configure-target-examples: $(ALL_GCC_C)
23832 configure-target-libgloss: $(ALL_GCC)
23833 all-target-libgloss: maybe-configure-target-newlib
23834 configure-target-libiberty: $(ALL_GCC)
23835 configure-target-libtermcap: $(ALL_GCC_C)
23836 configure-target-newlib: $(ALL_GCC)
23837 configure-target-rda: $(ALL_GCC_C)
23838 configure-target-winsup: $(ALL_GCC_C)
23839 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
23841 # Other target modules. Warning, these are not well tested.
23842 configure-target-gperf: $(ALL_GCC_CXX)
23843 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
23844 configure-target-qthreads: $(ALL_GCC_C)
23846 # Dependencies of maybe-foo on foo. These are used because, for example,
23847 # all-gcc only depends on all-gas if gas is present and being configured.
23848 @maybe_dependencies@
23850 # Serialization dependencies. Host configures don't work well in parallel to
23851 # each other, due to contention over config.cache. Target configures and
23852 # build configures are similar.
23853 @serialization_dependencies@
23855 # --------------------------------
23856 # Regenerating top level configury
23857 # --------------------------------
23859 # Multilib.out tells target dirs what multilibs they should build.
23860 # There is really only one copy. We use the 'timestamp' method to
23861 # work around various timestamp bugs on some systems.
23862 # We use move-if-change so that it's only considered updated when it
23863 # actually changes, because it has to depend on a phony target.
23864 multilib.out: maybe-all-gcc
23865 @r=`${PWD}`; export r; \
23866 echo "Checking multilib configuration..."; \
23867 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
23868 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
23870 # Rebuilding Makefile.in, using autogen.
23871 AUTOGEN = autogen
23872 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
23873 cd $(srcdir) && $(AUTOGEN) Makefile.def
23875 # Rebuilding Makefile.
23876 Makefile: $(srcdir)/Makefile.in config.status
23877 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
23879 config.status: configure $(gcc_version_trigger)
23880 $(SHELL) ./config.status --recheck
23882 # Rebuilding configure.
23883 AUTOCONF = autoconf
23884 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
23885 cd $(srcdir) && $(AUTOCONF)
23887 # ------------------------------
23888 # Special directives to GNU Make
23889 # ------------------------------
23891 # Don't pass command-line variables to submakes.
23892 .NOEXPORT:
23893 MAKEOVERRIDES=
23895 # end of Makefile.in