2003-06-30 Paolo Carlini <pcarlini@unitus.it>
[official-gcc.git] / Makefile.in
blob9137641c2ca07fa8de4098a3ba0993ae5179fb1d
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 BASE_FLAGS_TO_PASS = \
390 "DESTDIR=$(DESTDIR)" \
391 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
392 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
393 "bindir=$(bindir)" \
394 "datadir=$(datadir)" \
395 "exec_prefix=$(exec_prefix)" \
396 "includedir=$(includedir)" \
397 "infodir=$(infodir)" \
398 "libdir=$(libdir)" \
399 "libexecdir=$(libexecdir)" \
400 "lispdir=$(lispdir)" \
401 "libstdcxx_incdir=$(libstdcxx_incdir)" \
402 "libsubdir=$(libsubdir)" \
403 "localstatedir=$(localstatedir)" \
404 "mandir=$(mandir)" \
405 "oldincludedir=$(oldincludedir)" \
406 "prefix=$(prefix)" \
407 "sbindir=$(sbindir)" \
408 "sharedstatedir=$(sharedstatedir)" \
409 "sysconfdir=$(sysconfdir)" \
410 "tooldir=$(tooldir)" \
411 "build_tooldir=$(build_tooldir)" \
412 "gxx_include_dir=$(gxx_include_dir)" \
413 "gcc_version=$(gcc_version)" \
414 "gcc_version_trigger=$(gcc_version_trigger)" \
415 "target_alias=$(target_alias)" \
416 "BISON=$(BISON)" \
417 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
418 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
419 "EXPECT=$(EXPECT)" \
420 "INSTALL=$(INSTALL)" \
421 "INSTALL_DATA=$(INSTALL_DATA)" \
422 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
423 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
424 "LEX=$(LEX)" \
425 "M4=$(M4)" \
426 "MAKE=$(MAKE)" \
427 "RUNTEST=$(RUNTEST)" \
428 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
429 "SHELL=$(SHELL)" \
430 "YACC=$(YACC)" \
431 "AR_FLAGS=$(AR_FLAGS)" \
432 "CFLAGS=$(CFLAGS)" \
433 "CXXFLAGS=$(CXXFLAGS)" \
434 "LDFLAGS=$(LDFLAGS)" \
435 "LIBCFLAGS=$(LIBCFLAGS)" \
436 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
437 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
438 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
439 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
440 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
441 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
442 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
443 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
444 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
445 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
446 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
447 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
448 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
449 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
450 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
451 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
453 # For any flags above that may contain shell code that varies from one
454 # target library to another. When doing recursive invocations of the
455 # top-level Makefile, we don't want the outer make to evaluate them,
456 # so we pass these variables down unchanged. They must not contain
457 # single nor double quotes.
458 RECURSE_FLAGS = \
459 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
460 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
462 # Flags to pass down to most sub-makes, in which we're building with
463 # the host environment.
464 EXTRA_HOST_FLAGS = \
465 'AR=$(AR)' \
466 'AS=$(AS)' \
467 'CC=$(CC)' \
468 'CXX=$(CXX)' \
469 'DLLTOOL=$(DLLTOOL)' \
470 'LD=$(LD)' \
471 'NM=$(NM)' \
472 'RANLIB=$(RANLIB)' \
473 'WINDRES=$(WINDRES)'
475 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
477 # Flags that are concerned with the location of the X11 include files
478 # and library files
480 # NOTE: until the top-level is getting the values via autoconf, it only
481 # causes problems to have this top-level Makefile overriding the autoconf-set
482 # values in child directories. Only variables that don't conflict with
483 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
485 X11_FLAGS_TO_PASS = \
486 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
487 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
489 # Flags to pass down to makes which are built with the target environment.
490 # The double $ decreases the length of the command line; the variables
491 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
492 EXTRA_TARGET_FLAGS = \
493 'AR=$$(AR_FOR_TARGET)' \
494 'AS=$$(AS_FOR_TARGET)' \
495 'CC=$$(CC_FOR_TARGET)' \
496 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
497 'CXX=$$(CXX_FOR_TARGET)' \
498 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
499 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
500 'LD=$$(LD_FOR_TARGET)' \
501 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
502 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
503 'NM=$$(NM_FOR_TARGET)' \
504 'RANLIB=$$(RANLIB_FOR_TARGET)' \
505 'WINDRES=$$(WINDRES_FOR_TARGET)'
507 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
509 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
510 # unfortunately needs the native compiler and the target ar and
511 # ranlib.
512 # If any variables are added here, they must be added to do-*, below.
513 # The BUILD_* variables are a special case, which are used for the gcc
514 # cross-building scheme.
515 EXTRA_GCC_FLAGS = \
516 'AR=$(AR)' \
517 'AS=$(AS)' \
518 'CC=$(CC)' \
519 'CXX=$(CXX)' \
520 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
521 'BUILD_PREFIX=$(BUILD_PREFIX)' \
522 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
523 'NM=$(NM)' \
524 'RANLIB=$(RANLIB)' \
525 'WINDRES=$$(WINDRES_FOR_TARGET)' \
526 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
527 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
528 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
529 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
530 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
531 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
532 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
533 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
534 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
535 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
536 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
538 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
540 .PHONY: configure-host
541 configure-host: maybe-configure-gcc \
542 maybe-configure-ash \
543 maybe-configure-autoconf \
544 maybe-configure-automake \
545 maybe-configure-bash \
546 maybe-configure-bfd \
547 maybe-configure-opcodes \
548 maybe-configure-binutils \
549 maybe-configure-bison \
550 maybe-configure-byacc \
551 maybe-configure-bzip2 \
552 maybe-configure-dejagnu \
553 maybe-configure-diff \
554 maybe-configure-dosutils \
555 maybe-configure-etc \
556 maybe-configure-fastjar \
557 maybe-configure-fileutils \
558 maybe-configure-findutils \
559 maybe-configure-find \
560 maybe-configure-flex \
561 maybe-configure-gas \
562 maybe-configure-gawk \
563 maybe-configure-gettext \
564 maybe-configure-gnuserv \
565 maybe-configure-gprof \
566 maybe-configure-gzip \
567 maybe-configure-hello \
568 maybe-configure-indent \
569 maybe-configure-intl \
570 maybe-configure-tcl \
571 maybe-configure-itcl \
572 maybe-configure-ld \
573 maybe-configure-libgui \
574 maybe-configure-libiberty \
575 maybe-configure-libtool \
576 maybe-configure-m4 \
577 maybe-configure-make \
578 maybe-configure-mmalloc \
579 maybe-configure-patch \
580 maybe-configure-perl \
581 maybe-configure-prms \
582 maybe-configure-rcs \
583 maybe-configure-readline \
584 maybe-configure-release \
585 maybe-configure-recode \
586 maybe-configure-sed \
587 maybe-configure-send-pr \
588 maybe-configure-shellutils \
589 maybe-configure-sid \
590 maybe-configure-sim \
591 maybe-configure-tar \
592 maybe-configure-texinfo \
593 maybe-configure-textutils \
594 maybe-configure-time \
595 maybe-configure-uudecode \
596 maybe-configure-wdiff \
597 maybe-configure-zip \
598 maybe-configure-zlib \
599 maybe-configure-gdb \
600 maybe-configure-expect \
601 maybe-configure-guile \
602 maybe-configure-tk \
603 maybe-configure-tix \
604 maybe-configure-libtermcap \
605 maybe-configure-utils
606 .PHONY: configure-target
607 configure-target: \
608 maybe-configure-target-libstdc++-v3 \
609 maybe-configure-target-newlib \
610 maybe-configure-target-libf2c \
611 maybe-configure-target-libobjc \
612 maybe-configure-target-libtermcap \
613 maybe-configure-target-winsup \
614 maybe-configure-target-libgloss \
615 maybe-configure-target-libiberty \
616 maybe-configure-target-gperf \
617 maybe-configure-target-examples \
618 maybe-configure-target-libffi \
619 maybe-configure-target-libjava \
620 maybe-configure-target-zlib \
621 maybe-configure-target-boehm-gc \
622 maybe-configure-target-qthreads \
623 maybe-configure-target-rda
625 # The target built for a native build.
626 .PHONY: all.normal
627 all.normal: @all_build_modules@ all-host all-target
629 .PHONY: all-host
630 all-host: maybe-all-gcc \
631 maybe-all-ash \
632 maybe-all-autoconf \
633 maybe-all-automake \
634 maybe-all-bash \
635 maybe-all-bfd \
636 maybe-all-opcodes \
637 maybe-all-binutils \
638 maybe-all-bison \
639 maybe-all-byacc \
640 maybe-all-bzip2 \
641 maybe-all-dejagnu \
642 maybe-all-diff \
643 maybe-all-dosutils \
644 maybe-all-etc \
645 maybe-all-fastjar \
646 maybe-all-fileutils \
647 maybe-all-findutils \
648 maybe-all-find \
649 maybe-all-flex \
650 maybe-all-gas \
651 maybe-all-gawk \
652 maybe-all-gettext \
653 maybe-all-gnuserv \
654 maybe-all-gprof \
655 maybe-all-gzip \
656 maybe-all-hello \
657 maybe-all-indent \
658 maybe-all-intl \
659 maybe-all-tcl \
660 maybe-all-itcl \
661 maybe-all-ld \
662 maybe-all-libgui \
663 maybe-all-libiberty \
664 maybe-all-libtool \
665 maybe-all-m4 \
666 maybe-all-make \
667 maybe-all-mmalloc \
668 maybe-all-patch \
669 maybe-all-perl \
670 maybe-all-prms \
671 maybe-all-rcs \
672 maybe-all-readline \
673 maybe-all-release \
674 maybe-all-recode \
675 maybe-all-sed \
676 maybe-all-send-pr \
677 maybe-all-shellutils \
678 maybe-all-sid \
679 maybe-all-sim \
680 maybe-all-tar \
681 maybe-all-texinfo \
682 maybe-all-textutils \
683 maybe-all-time \
684 maybe-all-uudecode \
685 maybe-all-wdiff \
686 maybe-all-zip \
687 maybe-all-zlib \
688 maybe-all-gdb \
689 maybe-all-expect \
690 maybe-all-guile \
691 maybe-all-tk \
692 maybe-all-tix \
693 maybe-all-libtermcap \
694 maybe-all-utils
695 .PHONY: all-target
696 all-target: \
697 maybe-all-target-libstdc++-v3 \
698 maybe-all-target-newlib \
699 maybe-all-target-libf2c \
700 maybe-all-target-libobjc \
701 maybe-all-target-libtermcap \
702 maybe-all-target-winsup \
703 maybe-all-target-libgloss \
704 maybe-all-target-libiberty \
705 maybe-all-target-gperf \
706 maybe-all-target-examples \
707 maybe-all-target-libffi \
708 maybe-all-target-libjava \
709 maybe-all-target-zlib \
710 maybe-all-target-boehm-gc \
711 maybe-all-target-qthreads \
712 maybe-all-target-rda
714 # Do a target for all the subdirectories. A ``make do-X'' will do a
715 # ``make X'' in all subdirectories (because, in general, there is a
716 # dependency (below) of X upon do-X, a ``make X'' will also do this,
717 # but it may do additional work as well).
719 .PHONY: do-info
720 do-info: info-host info-target
722 .PHONY: info-host
723 info-host: maybe-info-gcc \
724 maybe-info-ash \
725 maybe-info-autoconf \
726 maybe-info-automake \
727 maybe-info-bash \
728 maybe-info-bfd \
729 maybe-info-opcodes \
730 maybe-info-binutils \
731 maybe-info-bison \
732 maybe-info-byacc \
733 maybe-info-bzip2 \
734 maybe-info-dejagnu \
735 maybe-info-diff \
736 maybe-info-dosutils \
737 maybe-info-etc \
738 maybe-info-fastjar \
739 maybe-info-fileutils \
740 maybe-info-findutils \
741 maybe-info-find \
742 maybe-info-flex \
743 maybe-info-gas \
744 maybe-info-gawk \
745 maybe-info-gettext \
746 maybe-info-gnuserv \
747 maybe-info-gprof \
748 maybe-info-gzip \
749 maybe-info-hello \
750 maybe-info-indent \
751 maybe-info-intl \
752 maybe-info-tcl \
753 maybe-info-itcl \
754 maybe-info-ld \
755 maybe-info-libgui \
756 maybe-info-libiberty \
757 maybe-info-libtool \
758 maybe-info-m4 \
759 maybe-info-make \
760 maybe-info-mmalloc \
761 maybe-info-patch \
762 maybe-info-perl \
763 maybe-info-prms \
764 maybe-info-rcs \
765 maybe-info-readline \
766 maybe-info-release \
767 maybe-info-recode \
768 maybe-info-sed \
769 maybe-info-send-pr \
770 maybe-info-shellutils \
771 maybe-info-sid \
772 maybe-info-sim \
773 maybe-info-tar \
774 maybe-info-texinfo \
775 maybe-info-textutils \
776 maybe-info-time \
777 maybe-info-uudecode \
778 maybe-info-wdiff \
779 maybe-info-zip \
780 maybe-info-zlib \
781 maybe-info-gdb \
782 maybe-info-expect \
783 maybe-info-guile \
784 maybe-info-tk \
785 maybe-info-tix \
786 maybe-info-libtermcap \
787 maybe-info-utils
789 .PHONY: info-target
790 info-target: \
791 maybe-info-target-libstdc++-v3 \
792 maybe-info-target-newlib \
793 maybe-info-target-libf2c \
794 maybe-info-target-libobjc \
795 maybe-info-target-libtermcap \
796 maybe-info-target-winsup \
797 maybe-info-target-libgloss \
798 maybe-info-target-libiberty \
799 maybe-info-target-gperf \
800 maybe-info-target-examples \
801 maybe-info-target-libffi \
802 maybe-info-target-libjava \
803 maybe-info-target-zlib \
804 maybe-info-target-boehm-gc \
805 maybe-info-target-qthreads \
806 maybe-info-target-rda
808 # GCC, the eternal special case
809 .PHONY: maybe-info-gcc info-gcc
810 maybe-info-gcc:
811 info-gcc: \
812 configure-gcc
813 @[ -f ./gcc/Makefile ] || exit 0; \
814 r=`${PWD}`; export r; \
815 s=`cd $(srcdir); ${PWD}`; export s; \
816 $(SET_LIB_PATH) \
817 for flag in $(EXTRA_GCC_FLAGS); do \
818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
819 done; \
820 echo "Doing info in gcc" ; \
821 (cd gcc && \
822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
824 "RANLIB=$${RANLIB}" \
825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
826 info) \
827 || exit 1
829 # Host modules.
831 .PHONY: maybe-info-ash info-ash
832 maybe-info-ash:
834 info-ash: \
835 configure-ash
836 @[ -f ./ash/Makefile ] || exit 0; \
837 r=`${PWD}`; export r; \
838 s=`cd $(srcdir); ${PWD}`; export s; \
839 $(SET_LIB_PATH) \
840 for flag in $(EXTRA_HOST_FLAGS); do \
841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
842 done; \
843 echo "Doing info in ash" ; \
844 (cd ash && \
845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
847 "RANLIB=$${RANLIB}" \
848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
849 info) \
850 || exit 1
853 .PHONY: maybe-info-autoconf info-autoconf
854 maybe-info-autoconf:
856 info-autoconf: \
857 configure-autoconf
858 @[ -f ./autoconf/Makefile ] || exit 0; \
859 r=`${PWD}`; export r; \
860 s=`cd $(srcdir); ${PWD}`; export s; \
861 $(SET_LIB_PATH) \
862 for flag in $(EXTRA_HOST_FLAGS); do \
863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
864 done; \
865 echo "Doing info in autoconf" ; \
866 (cd autoconf && \
867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
869 "RANLIB=$${RANLIB}" \
870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
871 info) \
872 || exit 1
875 .PHONY: maybe-info-automake info-automake
876 maybe-info-automake:
878 info-automake: \
879 configure-automake
880 @[ -f ./automake/Makefile ] || exit 0; \
881 r=`${PWD}`; export r; \
882 s=`cd $(srcdir); ${PWD}`; export s; \
883 $(SET_LIB_PATH) \
884 for flag in $(EXTRA_HOST_FLAGS); do \
885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
886 done; \
887 echo "Doing info in automake" ; \
888 (cd automake && \
889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
891 "RANLIB=$${RANLIB}" \
892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
893 info) \
894 || exit 1
897 .PHONY: maybe-info-bash info-bash
898 maybe-info-bash:
900 info-bash: \
901 configure-bash
902 @[ -f ./bash/Makefile ] || exit 0; \
903 r=`${PWD}`; export r; \
904 s=`cd $(srcdir); ${PWD}`; export s; \
905 $(SET_LIB_PATH) \
906 for flag in $(EXTRA_HOST_FLAGS); do \
907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
908 done; \
909 echo "Doing info in bash" ; \
910 (cd bash && \
911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
913 "RANLIB=$${RANLIB}" \
914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
915 info) \
916 || exit 1
919 .PHONY: maybe-info-bfd info-bfd
920 maybe-info-bfd:
922 info-bfd: \
923 configure-bfd
924 @[ -f ./bfd/Makefile ] || exit 0; \
925 r=`${PWD}`; export r; \
926 s=`cd $(srcdir); ${PWD}`; export s; \
927 $(SET_LIB_PATH) \
928 for flag in $(EXTRA_HOST_FLAGS); do \
929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
930 done; \
931 echo "Doing info in bfd" ; \
932 (cd bfd && \
933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
935 "RANLIB=$${RANLIB}" \
936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
937 info) \
938 || exit 1
941 .PHONY: maybe-info-opcodes info-opcodes
942 maybe-info-opcodes:
944 info-opcodes: \
945 configure-opcodes
946 @[ -f ./opcodes/Makefile ] || exit 0; \
947 r=`${PWD}`; export r; \
948 s=`cd $(srcdir); ${PWD}`; export s; \
949 $(SET_LIB_PATH) \
950 for flag in $(EXTRA_HOST_FLAGS); do \
951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
952 done; \
953 echo "Doing info in opcodes" ; \
954 (cd opcodes && \
955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
957 "RANLIB=$${RANLIB}" \
958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
959 info) \
960 || exit 1
963 .PHONY: maybe-info-binutils info-binutils
964 maybe-info-binutils:
966 info-binutils: \
967 configure-binutils
968 @[ -f ./binutils/Makefile ] || exit 0; \
969 r=`${PWD}`; export r; \
970 s=`cd $(srcdir); ${PWD}`; export s; \
971 $(SET_LIB_PATH) \
972 for flag in $(EXTRA_HOST_FLAGS); do \
973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
974 done; \
975 echo "Doing info in binutils" ; \
976 (cd binutils && \
977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
979 "RANLIB=$${RANLIB}" \
980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
981 info) \
982 || exit 1
985 .PHONY: maybe-info-bison info-bison
986 maybe-info-bison:
988 info-bison: \
989 configure-bison
990 @[ -f ./bison/Makefile ] || exit 0; \
991 r=`${PWD}`; export r; \
992 s=`cd $(srcdir); ${PWD}`; export s; \
993 $(SET_LIB_PATH) \
994 for flag in $(EXTRA_HOST_FLAGS); do \
995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
996 done; \
997 echo "Doing info in bison" ; \
998 (cd bison && \
999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1001 "RANLIB=$${RANLIB}" \
1002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1003 info) \
1004 || exit 1
1007 .PHONY: maybe-info-byacc info-byacc
1008 maybe-info-byacc:
1010 info-byacc: \
1011 configure-byacc
1012 @[ -f ./byacc/Makefile ] || exit 0; \
1013 r=`${PWD}`; export r; \
1014 s=`cd $(srcdir); ${PWD}`; export s; \
1015 $(SET_LIB_PATH) \
1016 for flag in $(EXTRA_HOST_FLAGS); do \
1017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1018 done; \
1019 echo "Doing info in byacc" ; \
1020 (cd byacc && \
1021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1023 "RANLIB=$${RANLIB}" \
1024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1025 info) \
1026 || exit 1
1029 .PHONY: maybe-info-bzip2 info-bzip2
1030 maybe-info-bzip2:
1032 info-bzip2: \
1033 configure-bzip2
1034 @[ -f ./bzip2/Makefile ] || exit 0; \
1035 r=`${PWD}`; export r; \
1036 s=`cd $(srcdir); ${PWD}`; export s; \
1037 $(SET_LIB_PATH) \
1038 for flag in $(EXTRA_HOST_FLAGS); do \
1039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1040 done; \
1041 echo "Doing info in bzip2" ; \
1042 (cd bzip2 && \
1043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1045 "RANLIB=$${RANLIB}" \
1046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1047 info) \
1048 || exit 1
1051 .PHONY: maybe-info-dejagnu info-dejagnu
1052 maybe-info-dejagnu:
1054 info-dejagnu: \
1055 configure-dejagnu
1056 @[ -f ./dejagnu/Makefile ] || exit 0; \
1057 r=`${PWD}`; export r; \
1058 s=`cd $(srcdir); ${PWD}`; export s; \
1059 $(SET_LIB_PATH) \
1060 for flag in $(EXTRA_HOST_FLAGS); do \
1061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1062 done; \
1063 echo "Doing info in dejagnu" ; \
1064 (cd dejagnu && \
1065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1067 "RANLIB=$${RANLIB}" \
1068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1069 info) \
1070 || exit 1
1073 .PHONY: maybe-info-diff info-diff
1074 maybe-info-diff:
1076 info-diff: \
1077 configure-diff
1078 @[ -f ./diff/Makefile ] || exit 0; \
1079 r=`${PWD}`; export r; \
1080 s=`cd $(srcdir); ${PWD}`; export s; \
1081 $(SET_LIB_PATH) \
1082 for flag in $(EXTRA_HOST_FLAGS); do \
1083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1084 done; \
1085 echo "Doing info in diff" ; \
1086 (cd diff && \
1087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1089 "RANLIB=$${RANLIB}" \
1090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1091 info) \
1092 || exit 1
1095 .PHONY: maybe-info-dosutils info-dosutils
1096 maybe-info-dosutils:
1098 info-dosutils: \
1099 configure-dosutils
1100 @[ -f ./dosutils/Makefile ] || exit 0; \
1101 r=`${PWD}`; export r; \
1102 s=`cd $(srcdir); ${PWD}`; export s; \
1103 $(SET_LIB_PATH) \
1104 for flag in $(EXTRA_HOST_FLAGS); do \
1105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1106 done; \
1107 echo "Doing info in dosutils" ; \
1108 (cd dosutils && \
1109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1111 "RANLIB=$${RANLIB}" \
1112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1113 info) \
1114 || exit 1
1117 .PHONY: maybe-info-etc info-etc
1118 maybe-info-etc:
1120 info-etc: \
1121 configure-etc
1122 @[ -f ./etc/Makefile ] || exit 0; \
1123 r=`${PWD}`; export r; \
1124 s=`cd $(srcdir); ${PWD}`; export s; \
1125 $(SET_LIB_PATH) \
1126 for flag in $(EXTRA_HOST_FLAGS); do \
1127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1128 done; \
1129 echo "Doing info in etc" ; \
1130 (cd etc && \
1131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1133 "RANLIB=$${RANLIB}" \
1134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1135 info) \
1136 || exit 1
1139 .PHONY: maybe-info-fastjar info-fastjar
1140 maybe-info-fastjar:
1142 info-fastjar: \
1143 configure-fastjar
1144 @[ -f ./fastjar/Makefile ] || exit 0; \
1145 r=`${PWD}`; export r; \
1146 s=`cd $(srcdir); ${PWD}`; export s; \
1147 $(SET_LIB_PATH) \
1148 for flag in $(EXTRA_HOST_FLAGS); do \
1149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1150 done; \
1151 echo "Doing info in fastjar" ; \
1152 (cd fastjar && \
1153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1155 "RANLIB=$${RANLIB}" \
1156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1157 info) \
1158 || exit 1
1161 .PHONY: maybe-info-fileutils info-fileutils
1162 maybe-info-fileutils:
1164 info-fileutils: \
1165 configure-fileutils
1166 @[ -f ./fileutils/Makefile ] || exit 0; \
1167 r=`${PWD}`; export r; \
1168 s=`cd $(srcdir); ${PWD}`; export s; \
1169 $(SET_LIB_PATH) \
1170 for flag in $(EXTRA_HOST_FLAGS); do \
1171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1172 done; \
1173 echo "Doing info in fileutils" ; \
1174 (cd fileutils && \
1175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1177 "RANLIB=$${RANLIB}" \
1178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1179 info) \
1180 || exit 1
1183 .PHONY: maybe-info-findutils info-findutils
1184 maybe-info-findutils:
1186 info-findutils: \
1187 configure-findutils
1188 @[ -f ./findutils/Makefile ] || exit 0; \
1189 r=`${PWD}`; export r; \
1190 s=`cd $(srcdir); ${PWD}`; export s; \
1191 $(SET_LIB_PATH) \
1192 for flag in $(EXTRA_HOST_FLAGS); do \
1193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1194 done; \
1195 echo "Doing info in findutils" ; \
1196 (cd findutils && \
1197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1199 "RANLIB=$${RANLIB}" \
1200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1201 info) \
1202 || exit 1
1205 .PHONY: maybe-info-find info-find
1206 maybe-info-find:
1208 info-find: \
1209 configure-find
1210 @[ -f ./find/Makefile ] || exit 0; \
1211 r=`${PWD}`; export r; \
1212 s=`cd $(srcdir); ${PWD}`; export s; \
1213 $(SET_LIB_PATH) \
1214 for flag in $(EXTRA_HOST_FLAGS); do \
1215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1216 done; \
1217 echo "Doing info in find" ; \
1218 (cd find && \
1219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1221 "RANLIB=$${RANLIB}" \
1222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1223 info) \
1224 || exit 1
1227 .PHONY: maybe-info-flex info-flex
1228 maybe-info-flex:
1230 info-flex: \
1231 configure-flex
1232 @[ -f ./flex/Makefile ] || exit 0; \
1233 r=`${PWD}`; export r; \
1234 s=`cd $(srcdir); ${PWD}`; export s; \
1235 $(SET_LIB_PATH) \
1236 for flag in $(EXTRA_HOST_FLAGS); do \
1237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1238 done; \
1239 echo "Doing info in flex" ; \
1240 (cd flex && \
1241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1243 "RANLIB=$${RANLIB}" \
1244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1245 info) \
1246 || exit 1
1249 .PHONY: maybe-info-gas info-gas
1250 maybe-info-gas:
1252 info-gas: \
1253 configure-gas
1254 @[ -f ./gas/Makefile ] || exit 0; \
1255 r=`${PWD}`; export r; \
1256 s=`cd $(srcdir); ${PWD}`; export s; \
1257 $(SET_LIB_PATH) \
1258 for flag in $(EXTRA_HOST_FLAGS); do \
1259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1260 done; \
1261 echo "Doing info in gas" ; \
1262 (cd gas && \
1263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1265 "RANLIB=$${RANLIB}" \
1266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1267 info) \
1268 || exit 1
1271 .PHONY: maybe-info-gawk info-gawk
1272 maybe-info-gawk:
1274 info-gawk: \
1275 configure-gawk
1276 @[ -f ./gawk/Makefile ] || exit 0; \
1277 r=`${PWD}`; export r; \
1278 s=`cd $(srcdir); ${PWD}`; export s; \
1279 $(SET_LIB_PATH) \
1280 for flag in $(EXTRA_HOST_FLAGS); do \
1281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1282 done; \
1283 echo "Doing info in gawk" ; \
1284 (cd gawk && \
1285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1287 "RANLIB=$${RANLIB}" \
1288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1289 info) \
1290 || exit 1
1293 .PHONY: maybe-info-gettext info-gettext
1294 maybe-info-gettext:
1296 info-gettext: \
1297 configure-gettext
1298 @[ -f ./gettext/Makefile ] || exit 0; \
1299 r=`${PWD}`; export r; \
1300 s=`cd $(srcdir); ${PWD}`; export s; \
1301 $(SET_LIB_PATH) \
1302 for flag in $(EXTRA_HOST_FLAGS); do \
1303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1304 done; \
1305 echo "Doing info in gettext" ; \
1306 (cd gettext && \
1307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1309 "RANLIB=$${RANLIB}" \
1310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1311 info) \
1312 || exit 1
1315 .PHONY: maybe-info-gnuserv info-gnuserv
1316 maybe-info-gnuserv:
1318 info-gnuserv: \
1319 configure-gnuserv
1320 @[ -f ./gnuserv/Makefile ] || exit 0; \
1321 r=`${PWD}`; export r; \
1322 s=`cd $(srcdir); ${PWD}`; export s; \
1323 $(SET_LIB_PATH) \
1324 for flag in $(EXTRA_HOST_FLAGS); do \
1325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1326 done; \
1327 echo "Doing info in gnuserv" ; \
1328 (cd gnuserv && \
1329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1331 "RANLIB=$${RANLIB}" \
1332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1333 info) \
1334 || exit 1
1337 .PHONY: maybe-info-gprof info-gprof
1338 maybe-info-gprof:
1340 info-gprof: \
1341 configure-gprof
1342 @[ -f ./gprof/Makefile ] || exit 0; \
1343 r=`${PWD}`; export r; \
1344 s=`cd $(srcdir); ${PWD}`; export s; \
1345 $(SET_LIB_PATH) \
1346 for flag in $(EXTRA_HOST_FLAGS); do \
1347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1348 done; \
1349 echo "Doing info in gprof" ; \
1350 (cd gprof && \
1351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1353 "RANLIB=$${RANLIB}" \
1354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1355 info) \
1356 || exit 1
1359 .PHONY: maybe-info-gzip info-gzip
1360 maybe-info-gzip:
1362 info-gzip: \
1363 configure-gzip
1364 @[ -f ./gzip/Makefile ] || exit 0; \
1365 r=`${PWD}`; export r; \
1366 s=`cd $(srcdir); ${PWD}`; export s; \
1367 $(SET_LIB_PATH) \
1368 for flag in $(EXTRA_HOST_FLAGS); do \
1369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1370 done; \
1371 echo "Doing info in gzip" ; \
1372 (cd gzip && \
1373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1375 "RANLIB=$${RANLIB}" \
1376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1377 info) \
1378 || exit 1
1381 .PHONY: maybe-info-hello info-hello
1382 maybe-info-hello:
1384 info-hello: \
1385 configure-hello
1386 @[ -f ./hello/Makefile ] || exit 0; \
1387 r=`${PWD}`; export r; \
1388 s=`cd $(srcdir); ${PWD}`; export s; \
1389 $(SET_LIB_PATH) \
1390 for flag in $(EXTRA_HOST_FLAGS); do \
1391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1392 done; \
1393 echo "Doing info in hello" ; \
1394 (cd hello && \
1395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1397 "RANLIB=$${RANLIB}" \
1398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1399 info) \
1400 || exit 1
1403 .PHONY: maybe-info-indent info-indent
1404 maybe-info-indent:
1406 info-indent: \
1407 configure-indent
1408 @[ -f ./indent/Makefile ] || exit 0; \
1409 r=`${PWD}`; export r; \
1410 s=`cd $(srcdir); ${PWD}`; export s; \
1411 $(SET_LIB_PATH) \
1412 for flag in $(EXTRA_HOST_FLAGS); do \
1413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1414 done; \
1415 echo "Doing info in indent" ; \
1416 (cd indent && \
1417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1419 "RANLIB=$${RANLIB}" \
1420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1421 info) \
1422 || exit 1
1425 .PHONY: maybe-info-intl info-intl
1426 maybe-info-intl:
1428 info-intl: \
1429 configure-intl
1430 @[ -f ./intl/Makefile ] || exit 0; \
1431 r=`${PWD}`; export r; \
1432 s=`cd $(srcdir); ${PWD}`; export s; \
1433 $(SET_LIB_PATH) \
1434 for flag in $(EXTRA_HOST_FLAGS); do \
1435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1436 done; \
1437 echo "Doing info in intl" ; \
1438 (cd intl && \
1439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1441 "RANLIB=$${RANLIB}" \
1442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1443 info) \
1444 || exit 1
1447 .PHONY: maybe-info-tcl info-tcl
1448 maybe-info-tcl:
1450 info-tcl: \
1451 configure-tcl
1452 @[ -f ./tcl/Makefile ] || exit 0; \
1453 r=`${PWD}`; export r; \
1454 s=`cd $(srcdir); ${PWD}`; export s; \
1455 $(SET_LIB_PATH) \
1456 for flag in $(EXTRA_HOST_FLAGS); do \
1457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1458 done; \
1459 echo "Doing info in tcl" ; \
1460 (cd tcl && \
1461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1463 "RANLIB=$${RANLIB}" \
1464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1465 info) \
1466 || exit 1
1469 .PHONY: maybe-info-itcl info-itcl
1470 maybe-info-itcl:
1472 info-itcl: \
1473 configure-itcl
1474 @[ -f ./itcl/Makefile ] || exit 0; \
1475 r=`${PWD}`; export r; \
1476 s=`cd $(srcdir); ${PWD}`; export s; \
1477 $(SET_LIB_PATH) \
1478 for flag in $(EXTRA_HOST_FLAGS); do \
1479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1480 done; \
1481 echo "Doing info in itcl" ; \
1482 (cd itcl && \
1483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1485 "RANLIB=$${RANLIB}" \
1486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1487 info) \
1488 || exit 1
1491 .PHONY: maybe-info-ld info-ld
1492 maybe-info-ld:
1494 info-ld: \
1495 configure-ld
1496 @[ -f ./ld/Makefile ] || exit 0; \
1497 r=`${PWD}`; export r; \
1498 s=`cd $(srcdir); ${PWD}`; export s; \
1499 $(SET_LIB_PATH) \
1500 for flag in $(EXTRA_HOST_FLAGS); do \
1501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1502 done; \
1503 echo "Doing info in ld" ; \
1504 (cd ld && \
1505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1507 "RANLIB=$${RANLIB}" \
1508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1509 info) \
1510 || exit 1
1513 .PHONY: maybe-info-libgui info-libgui
1514 maybe-info-libgui:
1516 info-libgui: \
1517 configure-libgui
1518 @[ -f ./libgui/Makefile ] || exit 0; \
1519 r=`${PWD}`; export r; \
1520 s=`cd $(srcdir); ${PWD}`; export s; \
1521 $(SET_LIB_PATH) \
1522 for flag in $(EXTRA_HOST_FLAGS); do \
1523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1524 done; \
1525 echo "Doing info in libgui" ; \
1526 (cd libgui && \
1527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1529 "RANLIB=$${RANLIB}" \
1530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1531 info) \
1532 || exit 1
1535 .PHONY: maybe-info-libiberty info-libiberty
1536 maybe-info-libiberty:
1538 info-libiberty: \
1539 configure-libiberty
1540 @[ -f ./libiberty/Makefile ] || exit 0; \
1541 r=`${PWD}`; export r; \
1542 s=`cd $(srcdir); ${PWD}`; export s; \
1543 $(SET_LIB_PATH) \
1544 for flag in $(EXTRA_HOST_FLAGS); do \
1545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1546 done; \
1547 echo "Doing info in libiberty" ; \
1548 (cd libiberty && \
1549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1551 "RANLIB=$${RANLIB}" \
1552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1553 info) \
1554 || exit 1
1557 .PHONY: maybe-info-libtool info-libtool
1558 maybe-info-libtool:
1560 info-libtool: \
1561 configure-libtool
1562 @[ -f ./libtool/Makefile ] || exit 0; \
1563 r=`${PWD}`; export r; \
1564 s=`cd $(srcdir); ${PWD}`; export s; \
1565 $(SET_LIB_PATH) \
1566 for flag in $(EXTRA_HOST_FLAGS); do \
1567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1568 done; \
1569 echo "Doing info in libtool" ; \
1570 (cd libtool && \
1571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1573 "RANLIB=$${RANLIB}" \
1574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1575 info) \
1576 || exit 1
1579 .PHONY: maybe-info-m4 info-m4
1580 maybe-info-m4:
1582 info-m4: \
1583 configure-m4
1584 @[ -f ./m4/Makefile ] || exit 0; \
1585 r=`${PWD}`; export r; \
1586 s=`cd $(srcdir); ${PWD}`; export s; \
1587 $(SET_LIB_PATH) \
1588 for flag in $(EXTRA_HOST_FLAGS); do \
1589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1590 done; \
1591 echo "Doing info in m4" ; \
1592 (cd m4 && \
1593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1595 "RANLIB=$${RANLIB}" \
1596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1597 info) \
1598 || exit 1
1601 .PHONY: maybe-info-make info-make
1602 maybe-info-make:
1604 info-make: \
1605 configure-make
1606 @[ -f ./make/Makefile ] || exit 0; \
1607 r=`${PWD}`; export r; \
1608 s=`cd $(srcdir); ${PWD}`; export s; \
1609 $(SET_LIB_PATH) \
1610 for flag in $(EXTRA_HOST_FLAGS); do \
1611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1612 done; \
1613 echo "Doing info in make" ; \
1614 (cd make && \
1615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1617 "RANLIB=$${RANLIB}" \
1618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1619 info) \
1620 || exit 1
1623 .PHONY: maybe-info-mmalloc info-mmalloc
1624 maybe-info-mmalloc:
1626 info-mmalloc: \
1627 configure-mmalloc
1628 @[ -f ./mmalloc/Makefile ] || exit 0; \
1629 r=`${PWD}`; export r; \
1630 s=`cd $(srcdir); ${PWD}`; export s; \
1631 $(SET_LIB_PATH) \
1632 for flag in $(EXTRA_HOST_FLAGS); do \
1633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1634 done; \
1635 echo "Doing info in mmalloc" ; \
1636 (cd mmalloc && \
1637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1639 "RANLIB=$${RANLIB}" \
1640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1641 info) \
1642 || exit 1
1645 .PHONY: maybe-info-patch info-patch
1646 maybe-info-patch:
1648 info-patch: \
1649 configure-patch
1650 @[ -f ./patch/Makefile ] || exit 0; \
1651 r=`${PWD}`; export r; \
1652 s=`cd $(srcdir); ${PWD}`; export s; \
1653 $(SET_LIB_PATH) \
1654 for flag in $(EXTRA_HOST_FLAGS); do \
1655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1656 done; \
1657 echo "Doing info in patch" ; \
1658 (cd patch && \
1659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1661 "RANLIB=$${RANLIB}" \
1662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1663 info) \
1664 || exit 1
1667 .PHONY: maybe-info-perl info-perl
1668 maybe-info-perl:
1670 info-perl: \
1671 configure-perl
1672 @[ -f ./perl/Makefile ] || exit 0; \
1673 r=`${PWD}`; export r; \
1674 s=`cd $(srcdir); ${PWD}`; export s; \
1675 $(SET_LIB_PATH) \
1676 for flag in $(EXTRA_HOST_FLAGS); do \
1677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1678 done; \
1679 echo "Doing info in perl" ; \
1680 (cd perl && \
1681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1683 "RANLIB=$${RANLIB}" \
1684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1685 info) \
1686 || exit 1
1689 .PHONY: maybe-info-prms info-prms
1690 maybe-info-prms:
1692 info-prms: \
1693 configure-prms
1694 @[ -f ./prms/Makefile ] || exit 0; \
1695 r=`${PWD}`; export r; \
1696 s=`cd $(srcdir); ${PWD}`; export s; \
1697 $(SET_LIB_PATH) \
1698 for flag in $(EXTRA_HOST_FLAGS); do \
1699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1700 done; \
1701 echo "Doing info in prms" ; \
1702 (cd prms && \
1703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1705 "RANLIB=$${RANLIB}" \
1706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1707 info) \
1708 || exit 1
1711 .PHONY: maybe-info-rcs info-rcs
1712 maybe-info-rcs:
1714 info-rcs: \
1715 configure-rcs
1716 @[ -f ./rcs/Makefile ] || exit 0; \
1717 r=`${PWD}`; export r; \
1718 s=`cd $(srcdir); ${PWD}`; export s; \
1719 $(SET_LIB_PATH) \
1720 for flag in $(EXTRA_HOST_FLAGS); do \
1721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1722 done; \
1723 echo "Doing info in rcs" ; \
1724 (cd rcs && \
1725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1727 "RANLIB=$${RANLIB}" \
1728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1729 info) \
1730 || exit 1
1733 .PHONY: maybe-info-readline info-readline
1734 maybe-info-readline:
1736 info-readline: \
1737 configure-readline
1738 @[ -f ./readline/Makefile ] || exit 0; \
1739 r=`${PWD}`; export r; \
1740 s=`cd $(srcdir); ${PWD}`; export s; \
1741 $(SET_LIB_PATH) \
1742 for flag in $(EXTRA_HOST_FLAGS); do \
1743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1744 done; \
1745 echo "Doing info in readline" ; \
1746 (cd readline && \
1747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1749 "RANLIB=$${RANLIB}" \
1750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1751 info) \
1752 || exit 1
1755 .PHONY: maybe-info-release info-release
1756 maybe-info-release:
1758 info-release: \
1759 configure-release
1760 @[ -f ./release/Makefile ] || exit 0; \
1761 r=`${PWD}`; export r; \
1762 s=`cd $(srcdir); ${PWD}`; export s; \
1763 $(SET_LIB_PATH) \
1764 for flag in $(EXTRA_HOST_FLAGS); do \
1765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1766 done; \
1767 echo "Doing info in release" ; \
1768 (cd release && \
1769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1771 "RANLIB=$${RANLIB}" \
1772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1773 info) \
1774 || exit 1
1777 .PHONY: maybe-info-recode info-recode
1778 maybe-info-recode:
1780 info-recode: \
1781 configure-recode
1782 @[ -f ./recode/Makefile ] || exit 0; \
1783 r=`${PWD}`; export r; \
1784 s=`cd $(srcdir); ${PWD}`; export s; \
1785 $(SET_LIB_PATH) \
1786 for flag in $(EXTRA_HOST_FLAGS); do \
1787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1788 done; \
1789 echo "Doing info in recode" ; \
1790 (cd recode && \
1791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1793 "RANLIB=$${RANLIB}" \
1794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1795 info) \
1796 || exit 1
1799 .PHONY: maybe-info-sed info-sed
1800 maybe-info-sed:
1802 info-sed: \
1803 configure-sed
1804 @[ -f ./sed/Makefile ] || exit 0; \
1805 r=`${PWD}`; export r; \
1806 s=`cd $(srcdir); ${PWD}`; export s; \
1807 $(SET_LIB_PATH) \
1808 for flag in $(EXTRA_HOST_FLAGS); do \
1809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1810 done; \
1811 echo "Doing info in sed" ; \
1812 (cd sed && \
1813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1815 "RANLIB=$${RANLIB}" \
1816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1817 info) \
1818 || exit 1
1821 .PHONY: maybe-info-send-pr info-send-pr
1822 maybe-info-send-pr:
1824 info-send-pr: \
1825 configure-send-pr
1826 @[ -f ./send-pr/Makefile ] || exit 0; \
1827 r=`${PWD}`; export r; \
1828 s=`cd $(srcdir); ${PWD}`; export s; \
1829 $(SET_LIB_PATH) \
1830 for flag in $(EXTRA_HOST_FLAGS); do \
1831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1832 done; \
1833 echo "Doing info in send-pr" ; \
1834 (cd send-pr && \
1835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1837 "RANLIB=$${RANLIB}" \
1838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1839 info) \
1840 || exit 1
1843 .PHONY: maybe-info-shellutils info-shellutils
1844 maybe-info-shellutils:
1846 info-shellutils: \
1847 configure-shellutils
1848 @[ -f ./shellutils/Makefile ] || exit 0; \
1849 r=`${PWD}`; export r; \
1850 s=`cd $(srcdir); ${PWD}`; export s; \
1851 $(SET_LIB_PATH) \
1852 for flag in $(EXTRA_HOST_FLAGS); do \
1853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1854 done; \
1855 echo "Doing info in shellutils" ; \
1856 (cd shellutils && \
1857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1859 "RANLIB=$${RANLIB}" \
1860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1861 info) \
1862 || exit 1
1865 .PHONY: maybe-info-sid info-sid
1866 maybe-info-sid:
1868 info-sid: \
1869 configure-sid
1870 @[ -f ./sid/Makefile ] || exit 0; \
1871 r=`${PWD}`; export r; \
1872 s=`cd $(srcdir); ${PWD}`; export s; \
1873 $(SET_LIB_PATH) \
1874 for flag in $(EXTRA_HOST_FLAGS); do \
1875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1876 done; \
1877 echo "Doing info in sid" ; \
1878 (cd sid && \
1879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1881 "RANLIB=$${RANLIB}" \
1882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1883 info) \
1884 || exit 1
1887 .PHONY: maybe-info-sim info-sim
1888 maybe-info-sim:
1890 info-sim: \
1891 configure-sim
1892 @[ -f ./sim/Makefile ] || exit 0; \
1893 r=`${PWD}`; export r; \
1894 s=`cd $(srcdir); ${PWD}`; export s; \
1895 $(SET_LIB_PATH) \
1896 for flag in $(EXTRA_HOST_FLAGS); do \
1897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1898 done; \
1899 echo "Doing info in sim" ; \
1900 (cd sim && \
1901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1903 "RANLIB=$${RANLIB}" \
1904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1905 info) \
1906 || exit 1
1909 .PHONY: maybe-info-tar info-tar
1910 maybe-info-tar:
1912 info-tar: \
1913 configure-tar
1914 @[ -f ./tar/Makefile ] || exit 0; \
1915 r=`${PWD}`; export r; \
1916 s=`cd $(srcdir); ${PWD}`; export s; \
1917 $(SET_LIB_PATH) \
1918 for flag in $(EXTRA_HOST_FLAGS); do \
1919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1920 done; \
1921 echo "Doing info in tar" ; \
1922 (cd tar && \
1923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1925 "RANLIB=$${RANLIB}" \
1926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1927 info) \
1928 || exit 1
1931 .PHONY: maybe-info-texinfo info-texinfo
1932 maybe-info-texinfo:
1934 info-texinfo: \
1935 configure-texinfo
1936 @[ -f ./texinfo/Makefile ] || exit 0; \
1937 r=`${PWD}`; export r; \
1938 s=`cd $(srcdir); ${PWD}`; export s; \
1939 $(SET_LIB_PATH) \
1940 for flag in $(EXTRA_HOST_FLAGS); do \
1941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1942 done; \
1943 echo "Doing info in texinfo" ; \
1944 (cd texinfo && \
1945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1947 "RANLIB=$${RANLIB}" \
1948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1949 info) \
1950 || exit 1
1953 .PHONY: maybe-info-textutils info-textutils
1954 maybe-info-textutils:
1956 info-textutils: \
1957 configure-textutils
1958 @[ -f ./textutils/Makefile ] || exit 0; \
1959 r=`${PWD}`; export r; \
1960 s=`cd $(srcdir); ${PWD}`; export s; \
1961 $(SET_LIB_PATH) \
1962 for flag in $(EXTRA_HOST_FLAGS); do \
1963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1964 done; \
1965 echo "Doing info in textutils" ; \
1966 (cd textutils && \
1967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1969 "RANLIB=$${RANLIB}" \
1970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1971 info) \
1972 || exit 1
1975 .PHONY: maybe-info-time info-time
1976 maybe-info-time:
1978 info-time: \
1979 configure-time
1980 @[ -f ./time/Makefile ] || exit 0; \
1981 r=`${PWD}`; export r; \
1982 s=`cd $(srcdir); ${PWD}`; export s; \
1983 $(SET_LIB_PATH) \
1984 for flag in $(EXTRA_HOST_FLAGS); do \
1985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1986 done; \
1987 echo "Doing info in time" ; \
1988 (cd time && \
1989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1991 "RANLIB=$${RANLIB}" \
1992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1993 info) \
1994 || exit 1
1997 .PHONY: maybe-info-uudecode info-uudecode
1998 maybe-info-uudecode:
2000 info-uudecode: \
2001 configure-uudecode
2002 @[ -f ./uudecode/Makefile ] || exit 0; \
2003 r=`${PWD}`; export r; \
2004 s=`cd $(srcdir); ${PWD}`; export s; \
2005 $(SET_LIB_PATH) \
2006 for flag in $(EXTRA_HOST_FLAGS); do \
2007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2008 done; \
2009 echo "Doing info in uudecode" ; \
2010 (cd uudecode && \
2011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2013 "RANLIB=$${RANLIB}" \
2014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2015 info) \
2016 || exit 1
2019 .PHONY: maybe-info-wdiff info-wdiff
2020 maybe-info-wdiff:
2022 info-wdiff: \
2023 configure-wdiff
2024 @[ -f ./wdiff/Makefile ] || exit 0; \
2025 r=`${PWD}`; export r; \
2026 s=`cd $(srcdir); ${PWD}`; export s; \
2027 $(SET_LIB_PATH) \
2028 for flag in $(EXTRA_HOST_FLAGS); do \
2029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2030 done; \
2031 echo "Doing info in wdiff" ; \
2032 (cd wdiff && \
2033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2035 "RANLIB=$${RANLIB}" \
2036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2037 info) \
2038 || exit 1
2041 .PHONY: maybe-info-zip info-zip
2042 maybe-info-zip:
2044 info-zip: \
2045 configure-zip
2046 @[ -f ./zip/Makefile ] || exit 0; \
2047 r=`${PWD}`; export r; \
2048 s=`cd $(srcdir); ${PWD}`; export s; \
2049 $(SET_LIB_PATH) \
2050 for flag in $(EXTRA_HOST_FLAGS); do \
2051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2052 done; \
2053 echo "Doing info in zip" ; \
2054 (cd zip && \
2055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2057 "RANLIB=$${RANLIB}" \
2058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2059 info) \
2060 || exit 1
2063 .PHONY: maybe-info-zlib info-zlib
2064 maybe-info-zlib:
2066 info-zlib: \
2067 configure-zlib
2068 @[ -f ./zlib/Makefile ] || exit 0; \
2069 r=`${PWD}`; export r; \
2070 s=`cd $(srcdir); ${PWD}`; export s; \
2071 $(SET_LIB_PATH) \
2072 for flag in $(EXTRA_HOST_FLAGS); do \
2073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2074 done; \
2075 echo "Doing info in zlib" ; \
2076 (cd zlib && \
2077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2079 "RANLIB=$${RANLIB}" \
2080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2081 info) \
2082 || exit 1
2085 .PHONY: maybe-info-gdb info-gdb
2086 maybe-info-gdb:
2088 info-gdb: \
2089 configure-gdb
2090 @[ -f ./gdb/Makefile ] || exit 0; \
2091 r=`${PWD}`; export r; \
2092 s=`cd $(srcdir); ${PWD}`; export s; \
2093 $(SET_LIB_PATH) \
2094 for flag in $(EXTRA_HOST_FLAGS); do \
2095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2096 done; \
2097 echo "Doing info in gdb" ; \
2098 (cd gdb && \
2099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2101 "RANLIB=$${RANLIB}" \
2102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2103 info) \
2104 || exit 1
2107 .PHONY: maybe-info-expect info-expect
2108 maybe-info-expect:
2110 info-expect: \
2111 configure-expect
2112 @[ -f ./expect/Makefile ] || exit 0; \
2113 r=`${PWD}`; export r; \
2114 s=`cd $(srcdir); ${PWD}`; export s; \
2115 $(SET_LIB_PATH) \
2116 for flag in $(EXTRA_HOST_FLAGS); do \
2117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2118 done; \
2119 echo "Doing info in expect" ; \
2120 (cd expect && \
2121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2123 "RANLIB=$${RANLIB}" \
2124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2125 info) \
2126 || exit 1
2129 .PHONY: maybe-info-guile info-guile
2130 maybe-info-guile:
2132 info-guile: \
2133 configure-guile
2134 @[ -f ./guile/Makefile ] || exit 0; \
2135 r=`${PWD}`; export r; \
2136 s=`cd $(srcdir); ${PWD}`; export s; \
2137 $(SET_LIB_PATH) \
2138 for flag in $(EXTRA_HOST_FLAGS); do \
2139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2140 done; \
2141 echo "Doing info in guile" ; \
2142 (cd guile && \
2143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2145 "RANLIB=$${RANLIB}" \
2146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2147 info) \
2148 || exit 1
2151 .PHONY: maybe-info-tk info-tk
2152 maybe-info-tk:
2154 info-tk: \
2155 configure-tk
2156 @[ -f ./tk/Makefile ] || exit 0; \
2157 r=`${PWD}`; export r; \
2158 s=`cd $(srcdir); ${PWD}`; export s; \
2159 $(SET_LIB_PATH) \
2160 for flag in $(EXTRA_HOST_FLAGS); do \
2161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2162 done; \
2163 echo "Doing info in tk" ; \
2164 (cd tk && \
2165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2167 "RANLIB=$${RANLIB}" \
2168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2169 info) \
2170 || exit 1
2173 .PHONY: maybe-info-tix info-tix
2174 maybe-info-tix:
2176 info-tix: \
2177 configure-tix
2178 @[ -f ./tix/Makefile ] || exit 0; \
2179 r=`${PWD}`; export r; \
2180 s=`cd $(srcdir); ${PWD}`; export s; \
2181 $(SET_LIB_PATH) \
2182 for flag in $(EXTRA_HOST_FLAGS); do \
2183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2184 done; \
2185 echo "Doing info in tix" ; \
2186 (cd tix && \
2187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2189 "RANLIB=$${RANLIB}" \
2190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2191 info) \
2192 || exit 1
2195 .PHONY: maybe-info-libtermcap info-libtermcap
2196 maybe-info-libtermcap:
2198 info-libtermcap: \
2199 configure-libtermcap
2200 @[ -f ./libtermcap/Makefile ] || exit 0; \
2201 r=`${PWD}`; export r; \
2202 s=`cd $(srcdir); ${PWD}`; export s; \
2203 $(SET_LIB_PATH) \
2204 for flag in $(EXTRA_HOST_FLAGS); do \
2205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2206 done; \
2207 echo "Doing info in libtermcap" ; \
2208 (cd libtermcap && \
2209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2211 "RANLIB=$${RANLIB}" \
2212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2213 info) \
2214 || exit 1
2217 .PHONY: maybe-info-utils info-utils
2218 maybe-info-utils:
2220 info-utils: \
2221 configure-utils
2222 @[ -f ./utils/Makefile ] || exit 0; \
2223 r=`${PWD}`; export r; \
2224 s=`cd $(srcdir); ${PWD}`; export s; \
2225 $(SET_LIB_PATH) \
2226 for flag in $(EXTRA_HOST_FLAGS); do \
2227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2228 done; \
2229 echo "Doing info in utils" ; \
2230 (cd utils && \
2231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2233 "RANLIB=$${RANLIB}" \
2234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2235 info) \
2236 || exit 1
2240 # Target modules.
2242 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
2243 maybe-info-target-libstdc++-v3:
2245 info-target-libstdc++-v3: \
2246 configure-target-libstdc++-v3
2247 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
2248 r=`${PWD}`; export r; \
2249 s=`cd $(srcdir); ${PWD}`; export s; \
2250 $(SET_LIB_PATH) \
2251 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
2252 for flag in $(EXTRA_TARGET_FLAGS); do \
2253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2254 done; \
2255 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
2256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2258 "RANLIB=$${RANLIB}" \
2259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2260 info) \
2261 || exit 1
2264 .PHONY: maybe-info-target-newlib info-target-newlib
2265 maybe-info-target-newlib:
2267 info-target-newlib: \
2268 configure-target-newlib
2269 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
2270 r=`${PWD}`; export r; \
2271 s=`cd $(srcdir); ${PWD}`; export s; \
2272 $(SET_LIB_PATH) \
2273 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
2274 for flag in $(EXTRA_TARGET_FLAGS); do \
2275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2276 done; \
2277 (cd $(TARGET_SUBDIR)/newlib && \
2278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2280 "RANLIB=$${RANLIB}" \
2281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2282 info) \
2283 || exit 1
2286 .PHONY: maybe-info-target-libf2c info-target-libf2c
2287 maybe-info-target-libf2c:
2289 info-target-libf2c: \
2290 configure-target-libf2c
2291 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
2292 r=`${PWD}`; export r; \
2293 s=`cd $(srcdir); ${PWD}`; export s; \
2294 $(SET_LIB_PATH) \
2295 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
2296 for flag in $(EXTRA_TARGET_FLAGS); do \
2297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2298 done; \
2299 (cd $(TARGET_SUBDIR)/libf2c && \
2300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2302 "RANLIB=$${RANLIB}" \
2303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2304 info) \
2305 || exit 1
2308 .PHONY: maybe-info-target-libobjc info-target-libobjc
2309 maybe-info-target-libobjc:
2311 info-target-libobjc: \
2312 configure-target-libobjc
2313 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
2314 r=`${PWD}`; export r; \
2315 s=`cd $(srcdir); ${PWD}`; export s; \
2316 $(SET_LIB_PATH) \
2317 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
2318 for flag in $(EXTRA_TARGET_FLAGS); do \
2319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2320 done; \
2321 (cd $(TARGET_SUBDIR)/libobjc && \
2322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2324 "RANLIB=$${RANLIB}" \
2325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2326 info) \
2327 || exit 1
2330 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
2331 maybe-info-target-libtermcap:
2333 info-target-libtermcap: \
2334 configure-target-libtermcap
2335 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
2336 r=`${PWD}`; export r; \
2337 s=`cd $(srcdir); ${PWD}`; export s; \
2338 $(SET_LIB_PATH) \
2339 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
2340 for flag in $(EXTRA_TARGET_FLAGS); do \
2341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2342 done; \
2343 (cd $(TARGET_SUBDIR)/libtermcap && \
2344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2346 "RANLIB=$${RANLIB}" \
2347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2348 info) \
2349 || exit 1
2352 .PHONY: maybe-info-target-winsup info-target-winsup
2353 maybe-info-target-winsup:
2355 info-target-winsup: \
2356 configure-target-winsup
2357 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
2358 r=`${PWD}`; export r; \
2359 s=`cd $(srcdir); ${PWD}`; export s; \
2360 $(SET_LIB_PATH) \
2361 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
2362 for flag in $(EXTRA_TARGET_FLAGS); do \
2363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2364 done; \
2365 (cd $(TARGET_SUBDIR)/winsup && \
2366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2368 "RANLIB=$${RANLIB}" \
2369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2370 info) \
2371 || exit 1
2374 .PHONY: maybe-info-target-libgloss info-target-libgloss
2375 maybe-info-target-libgloss:
2377 info-target-libgloss: \
2378 configure-target-libgloss
2379 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
2380 r=`${PWD}`; export r; \
2381 s=`cd $(srcdir); ${PWD}`; export s; \
2382 $(SET_LIB_PATH) \
2383 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
2384 for flag in $(EXTRA_TARGET_FLAGS); do \
2385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2386 done; \
2387 (cd $(TARGET_SUBDIR)/libgloss && \
2388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2390 "RANLIB=$${RANLIB}" \
2391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2392 info) \
2393 || exit 1
2396 .PHONY: maybe-info-target-libiberty info-target-libiberty
2397 maybe-info-target-libiberty:
2399 info-target-libiberty: \
2400 configure-target-libiberty
2401 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
2402 r=`${PWD}`; export r; \
2403 s=`cd $(srcdir); ${PWD}`; export s; \
2404 $(SET_LIB_PATH) \
2405 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
2406 for flag in $(EXTRA_TARGET_FLAGS); do \
2407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2408 done; \
2409 (cd $(TARGET_SUBDIR)/libiberty && \
2410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2412 "RANLIB=$${RANLIB}" \
2413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2414 info) \
2415 || exit 1
2418 .PHONY: maybe-info-target-gperf info-target-gperf
2419 maybe-info-target-gperf:
2421 info-target-gperf: \
2422 configure-target-gperf
2423 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
2424 r=`${PWD}`; export r; \
2425 s=`cd $(srcdir); ${PWD}`; export s; \
2426 $(SET_LIB_PATH) \
2427 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
2428 for flag in $(EXTRA_TARGET_FLAGS); do \
2429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2430 done; \
2431 (cd $(TARGET_SUBDIR)/gperf && \
2432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2434 "RANLIB=$${RANLIB}" \
2435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2436 info) \
2437 || exit 1
2440 .PHONY: maybe-info-target-examples info-target-examples
2441 maybe-info-target-examples:
2443 info-target-examples: \
2444 configure-target-examples
2445 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
2446 r=`${PWD}`; export r; \
2447 s=`cd $(srcdir); ${PWD}`; export s; \
2448 $(SET_LIB_PATH) \
2449 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
2450 for flag in $(EXTRA_TARGET_FLAGS); do \
2451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2452 done; \
2453 (cd $(TARGET_SUBDIR)/examples && \
2454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2456 "RANLIB=$${RANLIB}" \
2457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2458 info) \
2459 || exit 1
2462 .PHONY: maybe-info-target-libffi info-target-libffi
2463 maybe-info-target-libffi:
2465 info-target-libffi: \
2466 configure-target-libffi
2467 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
2468 r=`${PWD}`; export r; \
2469 s=`cd $(srcdir); ${PWD}`; export s; \
2470 $(SET_LIB_PATH) \
2471 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
2472 for flag in $(EXTRA_TARGET_FLAGS); do \
2473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2474 done; \
2475 (cd $(TARGET_SUBDIR)/libffi && \
2476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2478 "RANLIB=$${RANLIB}" \
2479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2480 info) \
2481 || exit 1
2484 .PHONY: maybe-info-target-libjava info-target-libjava
2485 maybe-info-target-libjava:
2487 info-target-libjava: \
2488 configure-target-libjava
2489 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
2490 r=`${PWD}`; export r; \
2491 s=`cd $(srcdir); ${PWD}`; export s; \
2492 $(SET_LIB_PATH) \
2493 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
2494 for flag in $(EXTRA_TARGET_FLAGS); do \
2495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2496 done; \
2497 (cd $(TARGET_SUBDIR)/libjava && \
2498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2500 "RANLIB=$${RANLIB}" \
2501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2502 info) \
2503 || exit 1
2506 .PHONY: maybe-info-target-zlib info-target-zlib
2507 maybe-info-target-zlib:
2509 info-target-zlib: \
2510 configure-target-zlib
2511 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
2512 r=`${PWD}`; export r; \
2513 s=`cd $(srcdir); ${PWD}`; export s; \
2514 $(SET_LIB_PATH) \
2515 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
2516 for flag in $(EXTRA_TARGET_FLAGS); do \
2517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2518 done; \
2519 (cd $(TARGET_SUBDIR)/zlib && \
2520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2522 "RANLIB=$${RANLIB}" \
2523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2524 info) \
2525 || exit 1
2528 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
2529 maybe-info-target-boehm-gc:
2531 info-target-boehm-gc: \
2532 configure-target-boehm-gc
2533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
2534 r=`${PWD}`; export r; \
2535 s=`cd $(srcdir); ${PWD}`; export s; \
2536 $(SET_LIB_PATH) \
2537 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
2538 for flag in $(EXTRA_TARGET_FLAGS); do \
2539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2540 done; \
2541 (cd $(TARGET_SUBDIR)/boehm-gc && \
2542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2544 "RANLIB=$${RANLIB}" \
2545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2546 info) \
2547 || exit 1
2550 .PHONY: maybe-info-target-qthreads info-target-qthreads
2551 maybe-info-target-qthreads:
2553 info-target-qthreads: \
2554 configure-target-qthreads
2555 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
2556 r=`${PWD}`; export r; \
2557 s=`cd $(srcdir); ${PWD}`; export s; \
2558 $(SET_LIB_PATH) \
2559 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
2560 for flag in $(EXTRA_TARGET_FLAGS); do \
2561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2562 done; \
2563 (cd $(TARGET_SUBDIR)/qthreads && \
2564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2566 "RANLIB=$${RANLIB}" \
2567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2568 info) \
2569 || exit 1
2572 .PHONY: maybe-info-target-rda info-target-rda
2573 maybe-info-target-rda:
2575 info-target-rda: \
2576 configure-target-rda
2577 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
2578 r=`${PWD}`; export r; \
2579 s=`cd $(srcdir); ${PWD}`; export s; \
2580 $(SET_LIB_PATH) \
2581 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
2582 for flag in $(EXTRA_TARGET_FLAGS); do \
2583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2584 done; \
2585 (cd $(TARGET_SUBDIR)/rda && \
2586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2588 "RANLIB=$${RANLIB}" \
2589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2590 info) \
2591 || exit 1
2595 .PHONY: do-dvi
2596 do-dvi: dvi-host dvi-target
2598 .PHONY: dvi-host
2599 dvi-host: maybe-dvi-gcc \
2600 maybe-dvi-ash \
2601 maybe-dvi-autoconf \
2602 maybe-dvi-automake \
2603 maybe-dvi-bash \
2604 maybe-dvi-bfd \
2605 maybe-dvi-opcodes \
2606 maybe-dvi-binutils \
2607 maybe-dvi-bison \
2608 maybe-dvi-byacc \
2609 maybe-dvi-bzip2 \
2610 maybe-dvi-dejagnu \
2611 maybe-dvi-diff \
2612 maybe-dvi-dosutils \
2613 maybe-dvi-etc \
2614 maybe-dvi-fastjar \
2615 maybe-dvi-fileutils \
2616 maybe-dvi-findutils \
2617 maybe-dvi-find \
2618 maybe-dvi-flex \
2619 maybe-dvi-gas \
2620 maybe-dvi-gawk \
2621 maybe-dvi-gettext \
2622 maybe-dvi-gnuserv \
2623 maybe-dvi-gprof \
2624 maybe-dvi-gzip \
2625 maybe-dvi-hello \
2626 maybe-dvi-indent \
2627 maybe-dvi-intl \
2628 maybe-dvi-tcl \
2629 maybe-dvi-itcl \
2630 maybe-dvi-ld \
2631 maybe-dvi-libgui \
2632 maybe-dvi-libiberty \
2633 maybe-dvi-libtool \
2634 maybe-dvi-m4 \
2635 maybe-dvi-make \
2636 maybe-dvi-mmalloc \
2637 maybe-dvi-patch \
2638 maybe-dvi-perl \
2639 maybe-dvi-prms \
2640 maybe-dvi-rcs \
2641 maybe-dvi-readline \
2642 maybe-dvi-release \
2643 maybe-dvi-recode \
2644 maybe-dvi-sed \
2645 maybe-dvi-send-pr \
2646 maybe-dvi-shellutils \
2647 maybe-dvi-sid \
2648 maybe-dvi-sim \
2649 maybe-dvi-tar \
2650 maybe-dvi-texinfo \
2651 maybe-dvi-textutils \
2652 maybe-dvi-time \
2653 maybe-dvi-uudecode \
2654 maybe-dvi-wdiff \
2655 maybe-dvi-zip \
2656 maybe-dvi-zlib \
2657 maybe-dvi-gdb \
2658 maybe-dvi-expect \
2659 maybe-dvi-guile \
2660 maybe-dvi-tk \
2661 maybe-dvi-tix \
2662 maybe-dvi-libtermcap \
2663 maybe-dvi-utils
2665 .PHONY: dvi-target
2666 dvi-target: \
2667 maybe-dvi-target-libstdc++-v3 \
2668 maybe-dvi-target-newlib \
2669 maybe-dvi-target-libf2c \
2670 maybe-dvi-target-libobjc \
2671 maybe-dvi-target-libtermcap \
2672 maybe-dvi-target-winsup \
2673 maybe-dvi-target-libgloss \
2674 maybe-dvi-target-libiberty \
2675 maybe-dvi-target-gperf \
2676 maybe-dvi-target-examples \
2677 maybe-dvi-target-libffi \
2678 maybe-dvi-target-libjava \
2679 maybe-dvi-target-zlib \
2680 maybe-dvi-target-boehm-gc \
2681 maybe-dvi-target-qthreads \
2682 maybe-dvi-target-rda
2684 # GCC, the eternal special case
2685 .PHONY: maybe-dvi-gcc dvi-gcc
2686 maybe-dvi-gcc:
2687 dvi-gcc: \
2688 configure-gcc
2689 @[ -f ./gcc/Makefile ] || exit 0; \
2690 r=`${PWD}`; export r; \
2691 s=`cd $(srcdir); ${PWD}`; export s; \
2692 $(SET_LIB_PATH) \
2693 for flag in $(EXTRA_GCC_FLAGS); do \
2694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2695 done; \
2696 echo "Doing dvi in gcc" ; \
2697 (cd gcc && \
2698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2700 "RANLIB=$${RANLIB}" \
2701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2702 dvi) \
2703 || exit 1
2705 # Host modules.
2707 .PHONY: maybe-dvi-ash dvi-ash
2708 maybe-dvi-ash:
2710 dvi-ash: \
2711 configure-ash
2712 @[ -f ./ash/Makefile ] || exit 0; \
2713 r=`${PWD}`; export r; \
2714 s=`cd $(srcdir); ${PWD}`; export s; \
2715 $(SET_LIB_PATH) \
2716 for flag in $(EXTRA_HOST_FLAGS); do \
2717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2718 done; \
2719 echo "Doing dvi in ash" ; \
2720 (cd ash && \
2721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2723 "RANLIB=$${RANLIB}" \
2724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2725 dvi) \
2726 || exit 1
2729 .PHONY: maybe-dvi-autoconf dvi-autoconf
2730 maybe-dvi-autoconf:
2732 dvi-autoconf: \
2733 configure-autoconf
2734 @[ -f ./autoconf/Makefile ] || exit 0; \
2735 r=`${PWD}`; export r; \
2736 s=`cd $(srcdir); ${PWD}`; export s; \
2737 $(SET_LIB_PATH) \
2738 for flag in $(EXTRA_HOST_FLAGS); do \
2739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2740 done; \
2741 echo "Doing dvi in autoconf" ; \
2742 (cd autoconf && \
2743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2745 "RANLIB=$${RANLIB}" \
2746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2747 dvi) \
2748 || exit 1
2751 .PHONY: maybe-dvi-automake dvi-automake
2752 maybe-dvi-automake:
2754 dvi-automake: \
2755 configure-automake
2756 @[ -f ./automake/Makefile ] || exit 0; \
2757 r=`${PWD}`; export r; \
2758 s=`cd $(srcdir); ${PWD}`; export s; \
2759 $(SET_LIB_PATH) \
2760 for flag in $(EXTRA_HOST_FLAGS); do \
2761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2762 done; \
2763 echo "Doing dvi in automake" ; \
2764 (cd automake && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2767 "RANLIB=$${RANLIB}" \
2768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2769 dvi) \
2770 || exit 1
2773 .PHONY: maybe-dvi-bash dvi-bash
2774 maybe-dvi-bash:
2776 dvi-bash: \
2777 configure-bash
2778 @[ -f ./bash/Makefile ] || exit 0; \
2779 r=`${PWD}`; export r; \
2780 s=`cd $(srcdir); ${PWD}`; export s; \
2781 $(SET_LIB_PATH) \
2782 for flag in $(EXTRA_HOST_FLAGS); do \
2783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2784 done; \
2785 echo "Doing dvi in bash" ; \
2786 (cd bash && \
2787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2789 "RANLIB=$${RANLIB}" \
2790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2791 dvi) \
2792 || exit 1
2795 .PHONY: maybe-dvi-bfd dvi-bfd
2796 maybe-dvi-bfd:
2798 dvi-bfd: \
2799 configure-bfd
2800 @[ -f ./bfd/Makefile ] || exit 0; \
2801 r=`${PWD}`; export r; \
2802 s=`cd $(srcdir); ${PWD}`; export s; \
2803 $(SET_LIB_PATH) \
2804 for flag in $(EXTRA_HOST_FLAGS); do \
2805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2806 done; \
2807 echo "Doing dvi in bfd" ; \
2808 (cd bfd && \
2809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811 "RANLIB=$${RANLIB}" \
2812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813 dvi) \
2814 || exit 1
2817 .PHONY: maybe-dvi-opcodes dvi-opcodes
2818 maybe-dvi-opcodes:
2820 dvi-opcodes: \
2821 configure-opcodes
2822 @[ -f ./opcodes/Makefile ] || exit 0; \
2823 r=`${PWD}`; export r; \
2824 s=`cd $(srcdir); ${PWD}`; export s; \
2825 $(SET_LIB_PATH) \
2826 for flag in $(EXTRA_HOST_FLAGS); do \
2827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2828 done; \
2829 echo "Doing dvi in opcodes" ; \
2830 (cd opcodes && \
2831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2833 "RANLIB=$${RANLIB}" \
2834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2835 dvi) \
2836 || exit 1
2839 .PHONY: maybe-dvi-binutils dvi-binutils
2840 maybe-dvi-binutils:
2842 dvi-binutils: \
2843 configure-binutils
2844 @[ -f ./binutils/Makefile ] || exit 0; \
2845 r=`${PWD}`; export r; \
2846 s=`cd $(srcdir); ${PWD}`; export s; \
2847 $(SET_LIB_PATH) \
2848 for flag in $(EXTRA_HOST_FLAGS); do \
2849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2850 done; \
2851 echo "Doing dvi in binutils" ; \
2852 (cd binutils && \
2853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2855 "RANLIB=$${RANLIB}" \
2856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2857 dvi) \
2858 || exit 1
2861 .PHONY: maybe-dvi-bison dvi-bison
2862 maybe-dvi-bison:
2864 dvi-bison: \
2865 configure-bison
2866 @[ -f ./bison/Makefile ] || exit 0; \
2867 r=`${PWD}`; export r; \
2868 s=`cd $(srcdir); ${PWD}`; export s; \
2869 $(SET_LIB_PATH) \
2870 for flag in $(EXTRA_HOST_FLAGS); do \
2871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2872 done; \
2873 echo "Doing dvi in bison" ; \
2874 (cd bison && \
2875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2877 "RANLIB=$${RANLIB}" \
2878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2879 dvi) \
2880 || exit 1
2883 .PHONY: maybe-dvi-byacc dvi-byacc
2884 maybe-dvi-byacc:
2886 dvi-byacc: \
2887 configure-byacc
2888 @[ -f ./byacc/Makefile ] || exit 0; \
2889 r=`${PWD}`; export r; \
2890 s=`cd $(srcdir); ${PWD}`; export s; \
2891 $(SET_LIB_PATH) \
2892 for flag in $(EXTRA_HOST_FLAGS); do \
2893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2894 done; \
2895 echo "Doing dvi in byacc" ; \
2896 (cd byacc && \
2897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2899 "RANLIB=$${RANLIB}" \
2900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2901 dvi) \
2902 || exit 1
2905 .PHONY: maybe-dvi-bzip2 dvi-bzip2
2906 maybe-dvi-bzip2:
2908 dvi-bzip2: \
2909 configure-bzip2
2910 @[ -f ./bzip2/Makefile ] || exit 0; \
2911 r=`${PWD}`; export r; \
2912 s=`cd $(srcdir); ${PWD}`; export s; \
2913 $(SET_LIB_PATH) \
2914 for flag in $(EXTRA_HOST_FLAGS); do \
2915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2916 done; \
2917 echo "Doing dvi in bzip2" ; \
2918 (cd bzip2 && \
2919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2921 "RANLIB=$${RANLIB}" \
2922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2923 dvi) \
2924 || exit 1
2927 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
2928 maybe-dvi-dejagnu:
2930 dvi-dejagnu: \
2931 configure-dejagnu
2932 @[ -f ./dejagnu/Makefile ] || exit 0; \
2933 r=`${PWD}`; export r; \
2934 s=`cd $(srcdir); ${PWD}`; export s; \
2935 $(SET_LIB_PATH) \
2936 for flag in $(EXTRA_HOST_FLAGS); do \
2937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938 done; \
2939 echo "Doing dvi in dejagnu" ; \
2940 (cd dejagnu && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943 "RANLIB=$${RANLIB}" \
2944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945 dvi) \
2946 || exit 1
2949 .PHONY: maybe-dvi-diff dvi-diff
2950 maybe-dvi-diff:
2952 dvi-diff: \
2953 configure-diff
2954 @[ -f ./diff/Makefile ] || exit 0; \
2955 r=`${PWD}`; export r; \
2956 s=`cd $(srcdir); ${PWD}`; export s; \
2957 $(SET_LIB_PATH) \
2958 for flag in $(EXTRA_HOST_FLAGS); do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing dvi in diff" ; \
2962 (cd diff && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 dvi) \
2968 || exit 1
2971 .PHONY: maybe-dvi-dosutils dvi-dosutils
2972 maybe-dvi-dosutils:
2974 dvi-dosutils: \
2975 configure-dosutils
2976 @[ -f ./dosutils/Makefile ] || exit 0; \
2977 r=`${PWD}`; export r; \
2978 s=`cd $(srcdir); ${PWD}`; export s; \
2979 $(SET_LIB_PATH) \
2980 for flag in $(EXTRA_HOST_FLAGS); do \
2981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2982 done; \
2983 echo "Doing dvi in dosutils" ; \
2984 (cd dosutils && \
2985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2987 "RANLIB=$${RANLIB}" \
2988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2989 dvi) \
2990 || exit 1
2993 .PHONY: maybe-dvi-etc dvi-etc
2994 maybe-dvi-etc:
2996 dvi-etc: \
2997 configure-etc
2998 @[ -f ./etc/Makefile ] || exit 0; \
2999 r=`${PWD}`; export r; \
3000 s=`cd $(srcdir); ${PWD}`; export s; \
3001 $(SET_LIB_PATH) \
3002 for flag in $(EXTRA_HOST_FLAGS); do \
3003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3004 done; \
3005 echo "Doing dvi in etc" ; \
3006 (cd etc && \
3007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3009 "RANLIB=$${RANLIB}" \
3010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3011 dvi) \
3012 || exit 1
3015 .PHONY: maybe-dvi-fastjar dvi-fastjar
3016 maybe-dvi-fastjar:
3018 dvi-fastjar: \
3019 configure-fastjar
3020 @[ -f ./fastjar/Makefile ] || exit 0; \
3021 r=`${PWD}`; export r; \
3022 s=`cd $(srcdir); ${PWD}`; export s; \
3023 $(SET_LIB_PATH) \
3024 for flag in $(EXTRA_HOST_FLAGS); do \
3025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3026 done; \
3027 echo "Doing dvi in fastjar" ; \
3028 (cd fastjar && \
3029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3031 "RANLIB=$${RANLIB}" \
3032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3033 dvi) \
3034 || exit 1
3037 .PHONY: maybe-dvi-fileutils dvi-fileutils
3038 maybe-dvi-fileutils:
3040 dvi-fileutils: \
3041 configure-fileutils
3042 @[ -f ./fileutils/Makefile ] || exit 0; \
3043 r=`${PWD}`; export r; \
3044 s=`cd $(srcdir); ${PWD}`; export s; \
3045 $(SET_LIB_PATH) \
3046 for flag in $(EXTRA_HOST_FLAGS); do \
3047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3048 done; \
3049 echo "Doing dvi in fileutils" ; \
3050 (cd fileutils && \
3051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3053 "RANLIB=$${RANLIB}" \
3054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3055 dvi) \
3056 || exit 1
3059 .PHONY: maybe-dvi-findutils dvi-findutils
3060 maybe-dvi-findutils:
3062 dvi-findutils: \
3063 configure-findutils
3064 @[ -f ./findutils/Makefile ] || exit 0; \
3065 r=`${PWD}`; export r; \
3066 s=`cd $(srcdir); ${PWD}`; export s; \
3067 $(SET_LIB_PATH) \
3068 for flag in $(EXTRA_HOST_FLAGS); do \
3069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3070 done; \
3071 echo "Doing dvi in findutils" ; \
3072 (cd findutils && \
3073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3075 "RANLIB=$${RANLIB}" \
3076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3077 dvi) \
3078 || exit 1
3081 .PHONY: maybe-dvi-find dvi-find
3082 maybe-dvi-find:
3084 dvi-find: \
3085 configure-find
3086 @[ -f ./find/Makefile ] || exit 0; \
3087 r=`${PWD}`; export r; \
3088 s=`cd $(srcdir); ${PWD}`; export s; \
3089 $(SET_LIB_PATH) \
3090 for flag in $(EXTRA_HOST_FLAGS); do \
3091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3092 done; \
3093 echo "Doing dvi in find" ; \
3094 (cd find && \
3095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3097 "RANLIB=$${RANLIB}" \
3098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3099 dvi) \
3100 || exit 1
3103 .PHONY: maybe-dvi-flex dvi-flex
3104 maybe-dvi-flex:
3106 dvi-flex: \
3107 configure-flex
3108 @[ -f ./flex/Makefile ] || exit 0; \
3109 r=`${PWD}`; export r; \
3110 s=`cd $(srcdir); ${PWD}`; export s; \
3111 $(SET_LIB_PATH) \
3112 for flag in $(EXTRA_HOST_FLAGS); do \
3113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3114 done; \
3115 echo "Doing dvi in flex" ; \
3116 (cd flex && \
3117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3119 "RANLIB=$${RANLIB}" \
3120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3121 dvi) \
3122 || exit 1
3125 .PHONY: maybe-dvi-gas dvi-gas
3126 maybe-dvi-gas:
3128 dvi-gas: \
3129 configure-gas
3130 @[ -f ./gas/Makefile ] || exit 0; \
3131 r=`${PWD}`; export r; \
3132 s=`cd $(srcdir); ${PWD}`; export s; \
3133 $(SET_LIB_PATH) \
3134 for flag in $(EXTRA_HOST_FLAGS); do \
3135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3136 done; \
3137 echo "Doing dvi in gas" ; \
3138 (cd gas && \
3139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3141 "RANLIB=$${RANLIB}" \
3142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3143 dvi) \
3144 || exit 1
3147 .PHONY: maybe-dvi-gawk dvi-gawk
3148 maybe-dvi-gawk:
3150 dvi-gawk: \
3151 configure-gawk
3152 @[ -f ./gawk/Makefile ] || exit 0; \
3153 r=`${PWD}`; export r; \
3154 s=`cd $(srcdir); ${PWD}`; export s; \
3155 $(SET_LIB_PATH) \
3156 for flag in $(EXTRA_HOST_FLAGS); do \
3157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3158 done; \
3159 echo "Doing dvi in gawk" ; \
3160 (cd gawk && \
3161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3163 "RANLIB=$${RANLIB}" \
3164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3165 dvi) \
3166 || exit 1
3169 .PHONY: maybe-dvi-gettext dvi-gettext
3170 maybe-dvi-gettext:
3172 dvi-gettext: \
3173 configure-gettext
3174 @[ -f ./gettext/Makefile ] || exit 0; \
3175 r=`${PWD}`; export r; \
3176 s=`cd $(srcdir); ${PWD}`; export s; \
3177 $(SET_LIB_PATH) \
3178 for flag in $(EXTRA_HOST_FLAGS); do \
3179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3180 done; \
3181 echo "Doing dvi in gettext" ; \
3182 (cd gettext && \
3183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3185 "RANLIB=$${RANLIB}" \
3186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3187 dvi) \
3188 || exit 1
3191 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
3192 maybe-dvi-gnuserv:
3194 dvi-gnuserv: \
3195 configure-gnuserv
3196 @[ -f ./gnuserv/Makefile ] || exit 0; \
3197 r=`${PWD}`; export r; \
3198 s=`cd $(srcdir); ${PWD}`; export s; \
3199 $(SET_LIB_PATH) \
3200 for flag in $(EXTRA_HOST_FLAGS); do \
3201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3202 done; \
3203 echo "Doing dvi in gnuserv" ; \
3204 (cd gnuserv && \
3205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3207 "RANLIB=$${RANLIB}" \
3208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3209 dvi) \
3210 || exit 1
3213 .PHONY: maybe-dvi-gprof dvi-gprof
3214 maybe-dvi-gprof:
3216 dvi-gprof: \
3217 configure-gprof
3218 @[ -f ./gprof/Makefile ] || exit 0; \
3219 r=`${PWD}`; export r; \
3220 s=`cd $(srcdir); ${PWD}`; export s; \
3221 $(SET_LIB_PATH) \
3222 for flag in $(EXTRA_HOST_FLAGS); do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224 done; \
3225 echo "Doing dvi in gprof" ; \
3226 (cd gprof && \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3231 dvi) \
3232 || exit 1
3235 .PHONY: maybe-dvi-gzip dvi-gzip
3236 maybe-dvi-gzip:
3238 dvi-gzip: \
3239 configure-gzip
3240 @[ -f ./gzip/Makefile ] || exit 0; \
3241 r=`${PWD}`; export r; \
3242 s=`cd $(srcdir); ${PWD}`; export s; \
3243 $(SET_LIB_PATH) \
3244 for flag in $(EXTRA_HOST_FLAGS); do \
3245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3246 done; \
3247 echo "Doing dvi in gzip" ; \
3248 (cd gzip && \
3249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3251 "RANLIB=$${RANLIB}" \
3252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3253 dvi) \
3254 || exit 1
3257 .PHONY: maybe-dvi-hello dvi-hello
3258 maybe-dvi-hello:
3260 dvi-hello: \
3261 configure-hello
3262 @[ -f ./hello/Makefile ] || exit 0; \
3263 r=`${PWD}`; export r; \
3264 s=`cd $(srcdir); ${PWD}`; export s; \
3265 $(SET_LIB_PATH) \
3266 for flag in $(EXTRA_HOST_FLAGS); do \
3267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3268 done; \
3269 echo "Doing dvi in hello" ; \
3270 (cd hello && \
3271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3273 "RANLIB=$${RANLIB}" \
3274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3275 dvi) \
3276 || exit 1
3279 .PHONY: maybe-dvi-indent dvi-indent
3280 maybe-dvi-indent:
3282 dvi-indent: \
3283 configure-indent
3284 @[ -f ./indent/Makefile ] || exit 0; \
3285 r=`${PWD}`; export r; \
3286 s=`cd $(srcdir); ${PWD}`; export s; \
3287 $(SET_LIB_PATH) \
3288 for flag in $(EXTRA_HOST_FLAGS); do \
3289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3290 done; \
3291 echo "Doing dvi in indent" ; \
3292 (cd indent && \
3293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3295 "RANLIB=$${RANLIB}" \
3296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3297 dvi) \
3298 || exit 1
3301 .PHONY: maybe-dvi-intl dvi-intl
3302 maybe-dvi-intl:
3304 dvi-intl: \
3305 configure-intl
3306 @[ -f ./intl/Makefile ] || exit 0; \
3307 r=`${PWD}`; export r; \
3308 s=`cd $(srcdir); ${PWD}`; export s; \
3309 $(SET_LIB_PATH) \
3310 for flag in $(EXTRA_HOST_FLAGS); do \
3311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3312 done; \
3313 echo "Doing dvi in intl" ; \
3314 (cd intl && \
3315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3317 "RANLIB=$${RANLIB}" \
3318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3319 dvi) \
3320 || exit 1
3323 .PHONY: maybe-dvi-tcl dvi-tcl
3324 maybe-dvi-tcl:
3326 dvi-tcl: \
3327 configure-tcl
3328 @[ -f ./tcl/Makefile ] || exit 0; \
3329 r=`${PWD}`; export r; \
3330 s=`cd $(srcdir); ${PWD}`; export s; \
3331 $(SET_LIB_PATH) \
3332 for flag in $(EXTRA_HOST_FLAGS); do \
3333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3334 done; \
3335 echo "Doing dvi in tcl" ; \
3336 (cd tcl && \
3337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3339 "RANLIB=$${RANLIB}" \
3340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3341 dvi) \
3342 || exit 1
3345 .PHONY: maybe-dvi-itcl dvi-itcl
3346 maybe-dvi-itcl:
3348 dvi-itcl: \
3349 configure-itcl
3350 @[ -f ./itcl/Makefile ] || exit 0; \
3351 r=`${PWD}`; export r; \
3352 s=`cd $(srcdir); ${PWD}`; export s; \
3353 $(SET_LIB_PATH) \
3354 for flag in $(EXTRA_HOST_FLAGS); do \
3355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 done; \
3357 echo "Doing dvi in itcl" ; \
3358 (cd itcl && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3361 "RANLIB=$${RANLIB}" \
3362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 dvi) \
3364 || exit 1
3367 .PHONY: maybe-dvi-ld dvi-ld
3368 maybe-dvi-ld:
3370 dvi-ld: \
3371 configure-ld
3372 @[ -f ./ld/Makefile ] || exit 0; \
3373 r=`${PWD}`; export r; \
3374 s=`cd $(srcdir); ${PWD}`; export s; \
3375 $(SET_LIB_PATH) \
3376 for flag in $(EXTRA_HOST_FLAGS); do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing dvi in ld" ; \
3380 (cd ld && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385 dvi) \
3386 || exit 1
3389 .PHONY: maybe-dvi-libgui dvi-libgui
3390 maybe-dvi-libgui:
3392 dvi-libgui: \
3393 configure-libgui
3394 @[ -f ./libgui/Makefile ] || exit 0; \
3395 r=`${PWD}`; export r; \
3396 s=`cd $(srcdir); ${PWD}`; export s; \
3397 $(SET_LIB_PATH) \
3398 for flag in $(EXTRA_HOST_FLAGS); do \
3399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3400 done; \
3401 echo "Doing dvi in libgui" ; \
3402 (cd libgui && \
3403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3405 "RANLIB=$${RANLIB}" \
3406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3407 dvi) \
3408 || exit 1
3411 .PHONY: maybe-dvi-libiberty dvi-libiberty
3412 maybe-dvi-libiberty:
3414 dvi-libiberty: \
3415 configure-libiberty
3416 @[ -f ./libiberty/Makefile ] || exit 0; \
3417 r=`${PWD}`; export r; \
3418 s=`cd $(srcdir); ${PWD}`; export s; \
3419 $(SET_LIB_PATH) \
3420 for flag in $(EXTRA_HOST_FLAGS); do \
3421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3422 done; \
3423 echo "Doing dvi in libiberty" ; \
3424 (cd libiberty && \
3425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3427 "RANLIB=$${RANLIB}" \
3428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3429 dvi) \
3430 || exit 1
3433 .PHONY: maybe-dvi-libtool dvi-libtool
3434 maybe-dvi-libtool:
3436 dvi-libtool: \
3437 configure-libtool
3438 @[ -f ./libtool/Makefile ] || exit 0; \
3439 r=`${PWD}`; export r; \
3440 s=`cd $(srcdir); ${PWD}`; export s; \
3441 $(SET_LIB_PATH) \
3442 for flag in $(EXTRA_HOST_FLAGS); do \
3443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3444 done; \
3445 echo "Doing dvi in libtool" ; \
3446 (cd libtool && \
3447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3449 "RANLIB=$${RANLIB}" \
3450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3451 dvi) \
3452 || exit 1
3455 .PHONY: maybe-dvi-m4 dvi-m4
3456 maybe-dvi-m4:
3458 dvi-m4: \
3459 configure-m4
3460 @[ -f ./m4/Makefile ] || exit 0; \
3461 r=`${PWD}`; export r; \
3462 s=`cd $(srcdir); ${PWD}`; export s; \
3463 $(SET_LIB_PATH) \
3464 for flag in $(EXTRA_HOST_FLAGS); do \
3465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3466 done; \
3467 echo "Doing dvi in m4" ; \
3468 (cd m4 && \
3469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3471 "RANLIB=$${RANLIB}" \
3472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3473 dvi) \
3474 || exit 1
3477 .PHONY: maybe-dvi-make dvi-make
3478 maybe-dvi-make:
3480 dvi-make: \
3481 configure-make
3482 @[ -f ./make/Makefile ] || exit 0; \
3483 r=`${PWD}`; export r; \
3484 s=`cd $(srcdir); ${PWD}`; export s; \
3485 $(SET_LIB_PATH) \
3486 for flag in $(EXTRA_HOST_FLAGS); do \
3487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 done; \
3489 echo "Doing dvi in make" ; \
3490 (cd make && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3493 "RANLIB=$${RANLIB}" \
3494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3495 dvi) \
3496 || exit 1
3499 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
3500 maybe-dvi-mmalloc:
3502 dvi-mmalloc: \
3503 configure-mmalloc
3504 @[ -f ./mmalloc/Makefile ] || exit 0; \
3505 r=`${PWD}`; export r; \
3506 s=`cd $(srcdir); ${PWD}`; export s; \
3507 $(SET_LIB_PATH) \
3508 for flag in $(EXTRA_HOST_FLAGS); do \
3509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3510 done; \
3511 echo "Doing dvi in mmalloc" ; \
3512 (cd mmalloc && \
3513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3515 "RANLIB=$${RANLIB}" \
3516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3517 dvi) \
3518 || exit 1
3521 .PHONY: maybe-dvi-patch dvi-patch
3522 maybe-dvi-patch:
3524 dvi-patch: \
3525 configure-patch
3526 @[ -f ./patch/Makefile ] || exit 0; \
3527 r=`${PWD}`; export r; \
3528 s=`cd $(srcdir); ${PWD}`; export s; \
3529 $(SET_LIB_PATH) \
3530 for flag in $(EXTRA_HOST_FLAGS); do \
3531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3532 done; \
3533 echo "Doing dvi in patch" ; \
3534 (cd patch && \
3535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3537 "RANLIB=$${RANLIB}" \
3538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3539 dvi) \
3540 || exit 1
3543 .PHONY: maybe-dvi-perl dvi-perl
3544 maybe-dvi-perl:
3546 dvi-perl: \
3547 configure-perl
3548 @[ -f ./perl/Makefile ] || exit 0; \
3549 r=`${PWD}`; export r; \
3550 s=`cd $(srcdir); ${PWD}`; export s; \
3551 $(SET_LIB_PATH) \
3552 for flag in $(EXTRA_HOST_FLAGS); do \
3553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3554 done; \
3555 echo "Doing dvi in perl" ; \
3556 (cd perl && \
3557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3559 "RANLIB=$${RANLIB}" \
3560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3561 dvi) \
3562 || exit 1
3565 .PHONY: maybe-dvi-prms dvi-prms
3566 maybe-dvi-prms:
3568 dvi-prms: \
3569 configure-prms
3570 @[ -f ./prms/Makefile ] || exit 0; \
3571 r=`${PWD}`; export r; \
3572 s=`cd $(srcdir); ${PWD}`; export s; \
3573 $(SET_LIB_PATH) \
3574 for flag in $(EXTRA_HOST_FLAGS); do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 done; \
3577 echo "Doing dvi in prms" ; \
3578 (cd prms && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3583 dvi) \
3584 || exit 1
3587 .PHONY: maybe-dvi-rcs dvi-rcs
3588 maybe-dvi-rcs:
3590 dvi-rcs: \
3591 configure-rcs
3592 @[ -f ./rcs/Makefile ] || exit 0; \
3593 r=`${PWD}`; export r; \
3594 s=`cd $(srcdir); ${PWD}`; export s; \
3595 $(SET_LIB_PATH) \
3596 for flag in $(EXTRA_HOST_FLAGS); do \
3597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3598 done; \
3599 echo "Doing dvi in rcs" ; \
3600 (cd rcs && \
3601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3603 "RANLIB=$${RANLIB}" \
3604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3605 dvi) \
3606 || exit 1
3609 .PHONY: maybe-dvi-readline dvi-readline
3610 maybe-dvi-readline:
3612 dvi-readline: \
3613 configure-readline
3614 @[ -f ./readline/Makefile ] || exit 0; \
3615 r=`${PWD}`; export r; \
3616 s=`cd $(srcdir); ${PWD}`; export s; \
3617 $(SET_LIB_PATH) \
3618 for flag in $(EXTRA_HOST_FLAGS); do \
3619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 done; \
3621 echo "Doing dvi in readline" ; \
3622 (cd readline && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3625 "RANLIB=$${RANLIB}" \
3626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3627 dvi) \
3628 || exit 1
3631 .PHONY: maybe-dvi-release dvi-release
3632 maybe-dvi-release:
3634 dvi-release: \
3635 configure-release
3636 @[ -f ./release/Makefile ] || exit 0; \
3637 r=`${PWD}`; export r; \
3638 s=`cd $(srcdir); ${PWD}`; export s; \
3639 $(SET_LIB_PATH) \
3640 for flag in $(EXTRA_HOST_FLAGS); do \
3641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3642 done; \
3643 echo "Doing dvi in release" ; \
3644 (cd release && \
3645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3647 "RANLIB=$${RANLIB}" \
3648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3649 dvi) \
3650 || exit 1
3653 .PHONY: maybe-dvi-recode dvi-recode
3654 maybe-dvi-recode:
3656 dvi-recode: \
3657 configure-recode
3658 @[ -f ./recode/Makefile ] || exit 0; \
3659 r=`${PWD}`; export r; \
3660 s=`cd $(srcdir); ${PWD}`; export s; \
3661 $(SET_LIB_PATH) \
3662 for flag in $(EXTRA_HOST_FLAGS); do \
3663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3664 done; \
3665 echo "Doing dvi in recode" ; \
3666 (cd recode && \
3667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3669 "RANLIB=$${RANLIB}" \
3670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3671 dvi) \
3672 || exit 1
3675 .PHONY: maybe-dvi-sed dvi-sed
3676 maybe-dvi-sed:
3678 dvi-sed: \
3679 configure-sed
3680 @[ -f ./sed/Makefile ] || exit 0; \
3681 r=`${PWD}`; export r; \
3682 s=`cd $(srcdir); ${PWD}`; export s; \
3683 $(SET_LIB_PATH) \
3684 for flag in $(EXTRA_HOST_FLAGS); do \
3685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3686 done; \
3687 echo "Doing dvi in sed" ; \
3688 (cd sed && \
3689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3691 "RANLIB=$${RANLIB}" \
3692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3693 dvi) \
3694 || exit 1
3697 .PHONY: maybe-dvi-send-pr dvi-send-pr
3698 maybe-dvi-send-pr:
3700 dvi-send-pr: \
3701 configure-send-pr
3702 @[ -f ./send-pr/Makefile ] || exit 0; \
3703 r=`${PWD}`; export r; \
3704 s=`cd $(srcdir); ${PWD}`; export s; \
3705 $(SET_LIB_PATH) \
3706 for flag in $(EXTRA_HOST_FLAGS); do \
3707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3708 done; \
3709 echo "Doing dvi in send-pr" ; \
3710 (cd send-pr && \
3711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3713 "RANLIB=$${RANLIB}" \
3714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3715 dvi) \
3716 || exit 1
3719 .PHONY: maybe-dvi-shellutils dvi-shellutils
3720 maybe-dvi-shellutils:
3722 dvi-shellutils: \
3723 configure-shellutils
3724 @[ -f ./shellutils/Makefile ] || exit 0; \
3725 r=`${PWD}`; export r; \
3726 s=`cd $(srcdir); ${PWD}`; export s; \
3727 $(SET_LIB_PATH) \
3728 for flag in $(EXTRA_HOST_FLAGS); do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3730 done; \
3731 echo "Doing dvi in shellutils" ; \
3732 (cd shellutils && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3737 dvi) \
3738 || exit 1
3741 .PHONY: maybe-dvi-sid dvi-sid
3742 maybe-dvi-sid:
3744 dvi-sid: \
3745 configure-sid
3746 @[ -f ./sid/Makefile ] || exit 0; \
3747 r=`${PWD}`; export r; \
3748 s=`cd $(srcdir); ${PWD}`; export s; \
3749 $(SET_LIB_PATH) \
3750 for flag in $(EXTRA_HOST_FLAGS); do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing dvi in sid" ; \
3754 (cd sid && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3759 dvi) \
3760 || exit 1
3763 .PHONY: maybe-dvi-sim dvi-sim
3764 maybe-dvi-sim:
3766 dvi-sim: \
3767 configure-sim
3768 @[ -f ./sim/Makefile ] || exit 0; \
3769 r=`${PWD}`; export r; \
3770 s=`cd $(srcdir); ${PWD}`; export s; \
3771 $(SET_LIB_PATH) \
3772 for flag in $(EXTRA_HOST_FLAGS); do \
3773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3774 done; \
3775 echo "Doing dvi in sim" ; \
3776 (cd sim && \
3777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3779 "RANLIB=$${RANLIB}" \
3780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3781 dvi) \
3782 || exit 1
3785 .PHONY: maybe-dvi-tar dvi-tar
3786 maybe-dvi-tar:
3788 dvi-tar: \
3789 configure-tar
3790 @[ -f ./tar/Makefile ] || exit 0; \
3791 r=`${PWD}`; export r; \
3792 s=`cd $(srcdir); ${PWD}`; export s; \
3793 $(SET_LIB_PATH) \
3794 for flag in $(EXTRA_HOST_FLAGS); do \
3795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3796 done; \
3797 echo "Doing dvi in tar" ; \
3798 (cd tar && \
3799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3801 "RANLIB=$${RANLIB}" \
3802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3803 dvi) \
3804 || exit 1
3807 .PHONY: maybe-dvi-texinfo dvi-texinfo
3808 maybe-dvi-texinfo:
3810 dvi-texinfo: \
3811 configure-texinfo
3812 @[ -f ./texinfo/Makefile ] || exit 0; \
3813 r=`${PWD}`; export r; \
3814 s=`cd $(srcdir); ${PWD}`; export s; \
3815 $(SET_LIB_PATH) \
3816 for flag in $(EXTRA_HOST_FLAGS); do \
3817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3818 done; \
3819 echo "Doing dvi in texinfo" ; \
3820 (cd texinfo && \
3821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3823 "RANLIB=$${RANLIB}" \
3824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3825 dvi) \
3826 || exit 1
3829 .PHONY: maybe-dvi-textutils dvi-textutils
3830 maybe-dvi-textutils:
3832 dvi-textutils: \
3833 configure-textutils
3834 @[ -f ./textutils/Makefile ] || exit 0; \
3835 r=`${PWD}`; export r; \
3836 s=`cd $(srcdir); ${PWD}`; export s; \
3837 $(SET_LIB_PATH) \
3838 for flag in $(EXTRA_HOST_FLAGS); do \
3839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3840 done; \
3841 echo "Doing dvi in textutils" ; \
3842 (cd textutils && \
3843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3845 "RANLIB=$${RANLIB}" \
3846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3847 dvi) \
3848 || exit 1
3851 .PHONY: maybe-dvi-time dvi-time
3852 maybe-dvi-time:
3854 dvi-time: \
3855 configure-time
3856 @[ -f ./time/Makefile ] || exit 0; \
3857 r=`${PWD}`; export r; \
3858 s=`cd $(srcdir); ${PWD}`; export s; \
3859 $(SET_LIB_PATH) \
3860 for flag in $(EXTRA_HOST_FLAGS); do \
3861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3862 done; \
3863 echo "Doing dvi in time" ; \
3864 (cd time && \
3865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3867 "RANLIB=$${RANLIB}" \
3868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3869 dvi) \
3870 || exit 1
3873 .PHONY: maybe-dvi-uudecode dvi-uudecode
3874 maybe-dvi-uudecode:
3876 dvi-uudecode: \
3877 configure-uudecode
3878 @[ -f ./uudecode/Makefile ] || exit 0; \
3879 r=`${PWD}`; export r; \
3880 s=`cd $(srcdir); ${PWD}`; export s; \
3881 $(SET_LIB_PATH) \
3882 for flag in $(EXTRA_HOST_FLAGS); do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing dvi in uudecode" ; \
3886 (cd uudecode && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 dvi) \
3892 || exit 1
3895 .PHONY: maybe-dvi-wdiff dvi-wdiff
3896 maybe-dvi-wdiff:
3898 dvi-wdiff: \
3899 configure-wdiff
3900 @[ -f ./wdiff/Makefile ] || exit 0; \
3901 r=`${PWD}`; export r; \
3902 s=`cd $(srcdir); ${PWD}`; export s; \
3903 $(SET_LIB_PATH) \
3904 for flag in $(EXTRA_HOST_FLAGS); do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3906 done; \
3907 echo "Doing dvi in wdiff" ; \
3908 (cd wdiff && \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3913 dvi) \
3914 || exit 1
3917 .PHONY: maybe-dvi-zip dvi-zip
3918 maybe-dvi-zip:
3920 dvi-zip: \
3921 configure-zip
3922 @[ -f ./zip/Makefile ] || exit 0; \
3923 r=`${PWD}`; export r; \
3924 s=`cd $(srcdir); ${PWD}`; export s; \
3925 $(SET_LIB_PATH) \
3926 for flag in $(EXTRA_HOST_FLAGS); do \
3927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3928 done; \
3929 echo "Doing dvi in zip" ; \
3930 (cd zip && \
3931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3933 "RANLIB=$${RANLIB}" \
3934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3935 dvi) \
3936 || exit 1
3939 .PHONY: maybe-dvi-zlib dvi-zlib
3940 maybe-dvi-zlib:
3942 dvi-zlib: \
3943 configure-zlib
3944 @[ -f ./zlib/Makefile ] || exit 0; \
3945 r=`${PWD}`; export r; \
3946 s=`cd $(srcdir); ${PWD}`; export s; \
3947 $(SET_LIB_PATH) \
3948 for flag in $(EXTRA_HOST_FLAGS); do \
3949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950 done; \
3951 echo "Doing dvi in zlib" ; \
3952 (cd zlib && \
3953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3955 "RANLIB=$${RANLIB}" \
3956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3957 dvi) \
3958 || exit 1
3961 .PHONY: maybe-dvi-gdb dvi-gdb
3962 maybe-dvi-gdb:
3964 dvi-gdb: \
3965 configure-gdb
3966 @[ -f ./gdb/Makefile ] || exit 0; \
3967 r=`${PWD}`; export r; \
3968 s=`cd $(srcdir); ${PWD}`; export s; \
3969 $(SET_LIB_PATH) \
3970 for flag in $(EXTRA_HOST_FLAGS); do \
3971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3972 done; \
3973 echo "Doing dvi in gdb" ; \
3974 (cd gdb && \
3975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3977 "RANLIB=$${RANLIB}" \
3978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3979 dvi) \
3980 || exit 1
3983 .PHONY: maybe-dvi-expect dvi-expect
3984 maybe-dvi-expect:
3986 dvi-expect: \
3987 configure-expect
3988 @[ -f ./expect/Makefile ] || exit 0; \
3989 r=`${PWD}`; export r; \
3990 s=`cd $(srcdir); ${PWD}`; export s; \
3991 $(SET_LIB_PATH) \
3992 for flag in $(EXTRA_HOST_FLAGS); do \
3993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3994 done; \
3995 echo "Doing dvi in expect" ; \
3996 (cd expect && \
3997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3999 "RANLIB=$${RANLIB}" \
4000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4001 dvi) \
4002 || exit 1
4005 .PHONY: maybe-dvi-guile dvi-guile
4006 maybe-dvi-guile:
4008 dvi-guile: \
4009 configure-guile
4010 @[ -f ./guile/Makefile ] || exit 0; \
4011 r=`${PWD}`; export r; \
4012 s=`cd $(srcdir); ${PWD}`; export s; \
4013 $(SET_LIB_PATH) \
4014 for flag in $(EXTRA_HOST_FLAGS); do \
4015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4016 done; \
4017 echo "Doing dvi in guile" ; \
4018 (cd guile && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4021 "RANLIB=$${RANLIB}" \
4022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4023 dvi) \
4024 || exit 1
4027 .PHONY: maybe-dvi-tk dvi-tk
4028 maybe-dvi-tk:
4030 dvi-tk: \
4031 configure-tk
4032 @[ -f ./tk/Makefile ] || exit 0; \
4033 r=`${PWD}`; export r; \
4034 s=`cd $(srcdir); ${PWD}`; export s; \
4035 $(SET_LIB_PATH) \
4036 for flag in $(EXTRA_HOST_FLAGS); do \
4037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4038 done; \
4039 echo "Doing dvi in tk" ; \
4040 (cd tk && \
4041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4043 "RANLIB=$${RANLIB}" \
4044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4045 dvi) \
4046 || exit 1
4049 .PHONY: maybe-dvi-tix dvi-tix
4050 maybe-dvi-tix:
4052 dvi-tix: \
4053 configure-tix
4054 @[ -f ./tix/Makefile ] || exit 0; \
4055 r=`${PWD}`; export r; \
4056 s=`cd $(srcdir); ${PWD}`; export s; \
4057 $(SET_LIB_PATH) \
4058 for flag in $(EXTRA_HOST_FLAGS); do \
4059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4060 done; \
4061 echo "Doing dvi in tix" ; \
4062 (cd tix && \
4063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4065 "RANLIB=$${RANLIB}" \
4066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4067 dvi) \
4068 || exit 1
4071 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
4072 maybe-dvi-libtermcap:
4074 dvi-libtermcap: \
4075 configure-libtermcap
4076 @[ -f ./libtermcap/Makefile ] || exit 0; \
4077 r=`${PWD}`; export r; \
4078 s=`cd $(srcdir); ${PWD}`; export s; \
4079 $(SET_LIB_PATH) \
4080 for flag in $(EXTRA_HOST_FLAGS); do \
4081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4082 done; \
4083 echo "Doing dvi in libtermcap" ; \
4084 (cd libtermcap && \
4085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4087 "RANLIB=$${RANLIB}" \
4088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4089 dvi) \
4090 || exit 1
4093 .PHONY: maybe-dvi-utils dvi-utils
4094 maybe-dvi-utils:
4096 dvi-utils: \
4097 configure-utils
4098 @[ -f ./utils/Makefile ] || exit 0; \
4099 r=`${PWD}`; export r; \
4100 s=`cd $(srcdir); ${PWD}`; export s; \
4101 $(SET_LIB_PATH) \
4102 for flag in $(EXTRA_HOST_FLAGS); do \
4103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4104 done; \
4105 echo "Doing dvi in utils" ; \
4106 (cd utils && \
4107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4109 "RANLIB=$${RANLIB}" \
4110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4111 dvi) \
4112 || exit 1
4116 # Target modules.
4118 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
4119 maybe-dvi-target-libstdc++-v3:
4121 dvi-target-libstdc++-v3: \
4122 configure-target-libstdc++-v3
4123 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
4124 r=`${PWD}`; export r; \
4125 s=`cd $(srcdir); ${PWD}`; export s; \
4126 $(SET_LIB_PATH) \
4127 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
4128 for flag in $(EXTRA_TARGET_FLAGS); do \
4129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130 done; \
4131 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
4132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4134 "RANLIB=$${RANLIB}" \
4135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4136 dvi) \
4137 || exit 1
4140 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
4141 maybe-dvi-target-newlib:
4143 dvi-target-newlib: \
4144 configure-target-newlib
4145 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
4146 r=`${PWD}`; export r; \
4147 s=`cd $(srcdir); ${PWD}`; export s; \
4148 $(SET_LIB_PATH) \
4149 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
4150 for flag in $(EXTRA_TARGET_FLAGS); do \
4151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4152 done; \
4153 (cd $(TARGET_SUBDIR)/newlib && \
4154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4156 "RANLIB=$${RANLIB}" \
4157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4158 dvi) \
4159 || exit 1
4162 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
4163 maybe-dvi-target-libf2c:
4165 dvi-target-libf2c: \
4166 configure-target-libf2c
4167 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
4168 r=`${PWD}`; export r; \
4169 s=`cd $(srcdir); ${PWD}`; export s; \
4170 $(SET_LIB_PATH) \
4171 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
4172 for flag in $(EXTRA_TARGET_FLAGS); do \
4173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4174 done; \
4175 (cd $(TARGET_SUBDIR)/libf2c && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4178 "RANLIB=$${RANLIB}" \
4179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4180 dvi) \
4181 || exit 1
4184 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
4185 maybe-dvi-target-libobjc:
4187 dvi-target-libobjc: \
4188 configure-target-libobjc
4189 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
4190 r=`${PWD}`; export r; \
4191 s=`cd $(srcdir); ${PWD}`; export s; \
4192 $(SET_LIB_PATH) \
4193 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
4194 for flag in $(EXTRA_TARGET_FLAGS); do \
4195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4196 done; \
4197 (cd $(TARGET_SUBDIR)/libobjc && \
4198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4200 "RANLIB=$${RANLIB}" \
4201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4202 dvi) \
4203 || exit 1
4206 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
4207 maybe-dvi-target-libtermcap:
4209 dvi-target-libtermcap: \
4210 configure-target-libtermcap
4211 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
4212 r=`${PWD}`; export r; \
4213 s=`cd $(srcdir); ${PWD}`; export s; \
4214 $(SET_LIB_PATH) \
4215 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
4216 for flag in $(EXTRA_TARGET_FLAGS); do \
4217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4218 done; \
4219 (cd $(TARGET_SUBDIR)/libtermcap && \
4220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4222 "RANLIB=$${RANLIB}" \
4223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4224 dvi) \
4225 || exit 1
4228 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
4229 maybe-dvi-target-winsup:
4231 dvi-target-winsup: \
4232 configure-target-winsup
4233 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
4234 r=`${PWD}`; export r; \
4235 s=`cd $(srcdir); ${PWD}`; export s; \
4236 $(SET_LIB_PATH) \
4237 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
4238 for flag in $(EXTRA_TARGET_FLAGS); do \
4239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4240 done; \
4241 (cd $(TARGET_SUBDIR)/winsup && \
4242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4244 "RANLIB=$${RANLIB}" \
4245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4246 dvi) \
4247 || exit 1
4250 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
4251 maybe-dvi-target-libgloss:
4253 dvi-target-libgloss: \
4254 configure-target-libgloss
4255 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
4256 r=`${PWD}`; export r; \
4257 s=`cd $(srcdir); ${PWD}`; export s; \
4258 $(SET_LIB_PATH) \
4259 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
4260 for flag in $(EXTRA_TARGET_FLAGS); do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262 done; \
4263 (cd $(TARGET_SUBDIR)/libgloss && \
4264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4266 "RANLIB=$${RANLIB}" \
4267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4268 dvi) \
4269 || exit 1
4272 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
4273 maybe-dvi-target-libiberty:
4275 dvi-target-libiberty: \
4276 configure-target-libiberty
4277 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
4278 r=`${PWD}`; export r; \
4279 s=`cd $(srcdir); ${PWD}`; export s; \
4280 $(SET_LIB_PATH) \
4281 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
4282 for flag in $(EXTRA_TARGET_FLAGS); do \
4283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4284 done; \
4285 (cd $(TARGET_SUBDIR)/libiberty && \
4286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4288 "RANLIB=$${RANLIB}" \
4289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4290 dvi) \
4291 || exit 1
4294 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
4295 maybe-dvi-target-gperf:
4297 dvi-target-gperf: \
4298 configure-target-gperf
4299 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
4300 r=`${PWD}`; export r; \
4301 s=`cd $(srcdir); ${PWD}`; export s; \
4302 $(SET_LIB_PATH) \
4303 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
4304 for flag in $(EXTRA_TARGET_FLAGS); do \
4305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 done; \
4307 (cd $(TARGET_SUBDIR)/gperf && \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310 "RANLIB=$${RANLIB}" \
4311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4312 dvi) \
4313 || exit 1
4316 .PHONY: maybe-dvi-target-examples dvi-target-examples
4317 maybe-dvi-target-examples:
4319 dvi-target-examples: \
4320 configure-target-examples
4321 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
4322 r=`${PWD}`; export r; \
4323 s=`cd $(srcdir); ${PWD}`; export s; \
4324 $(SET_LIB_PATH) \
4325 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
4326 for flag in $(EXTRA_TARGET_FLAGS); do \
4327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4328 done; \
4329 (cd $(TARGET_SUBDIR)/examples && \
4330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332 "RANLIB=$${RANLIB}" \
4333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4334 dvi) \
4335 || exit 1
4338 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
4339 maybe-dvi-target-libffi:
4341 dvi-target-libffi: \
4342 configure-target-libffi
4343 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
4344 r=`${PWD}`; export r; \
4345 s=`cd $(srcdir); ${PWD}`; export s; \
4346 $(SET_LIB_PATH) \
4347 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
4348 for flag in $(EXTRA_TARGET_FLAGS); do \
4349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4350 done; \
4351 (cd $(TARGET_SUBDIR)/libffi && \
4352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4354 "RANLIB=$${RANLIB}" \
4355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4356 dvi) \
4357 || exit 1
4360 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
4361 maybe-dvi-target-libjava:
4363 dvi-target-libjava: \
4364 configure-target-libjava
4365 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
4366 r=`${PWD}`; export r; \
4367 s=`cd $(srcdir); ${PWD}`; export s; \
4368 $(SET_LIB_PATH) \
4369 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
4370 for flag in $(EXTRA_TARGET_FLAGS); do \
4371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4372 done; \
4373 (cd $(TARGET_SUBDIR)/libjava && \
4374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4376 "RANLIB=$${RANLIB}" \
4377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4378 dvi) \
4379 || exit 1
4382 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
4383 maybe-dvi-target-zlib:
4385 dvi-target-zlib: \
4386 configure-target-zlib
4387 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
4388 r=`${PWD}`; export r; \
4389 s=`cd $(srcdir); ${PWD}`; export s; \
4390 $(SET_LIB_PATH) \
4391 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
4392 for flag in $(EXTRA_TARGET_FLAGS); do \
4393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4394 done; \
4395 (cd $(TARGET_SUBDIR)/zlib && \
4396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4398 "RANLIB=$${RANLIB}" \
4399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4400 dvi) \
4401 || exit 1
4404 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
4405 maybe-dvi-target-boehm-gc:
4407 dvi-target-boehm-gc: \
4408 configure-target-boehm-gc
4409 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
4410 r=`${PWD}`; export r; \
4411 s=`cd $(srcdir); ${PWD}`; export s; \
4412 $(SET_LIB_PATH) \
4413 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
4414 for flag in $(EXTRA_TARGET_FLAGS); do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 (cd $(TARGET_SUBDIR)/boehm-gc && \
4418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4420 "RANLIB=$${RANLIB}" \
4421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4422 dvi) \
4423 || exit 1
4426 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
4427 maybe-dvi-target-qthreads:
4429 dvi-target-qthreads: \
4430 configure-target-qthreads
4431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
4432 r=`${PWD}`; export r; \
4433 s=`cd $(srcdir); ${PWD}`; export s; \
4434 $(SET_LIB_PATH) \
4435 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
4436 for flag in $(EXTRA_TARGET_FLAGS); do \
4437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4438 done; \
4439 (cd $(TARGET_SUBDIR)/qthreads && \
4440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4442 "RANLIB=$${RANLIB}" \
4443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4444 dvi) \
4445 || exit 1
4448 .PHONY: maybe-dvi-target-rda dvi-target-rda
4449 maybe-dvi-target-rda:
4451 dvi-target-rda: \
4452 configure-target-rda
4453 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
4454 r=`${PWD}`; export r; \
4455 s=`cd $(srcdir); ${PWD}`; export s; \
4456 $(SET_LIB_PATH) \
4457 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
4458 for flag in $(EXTRA_TARGET_FLAGS); do \
4459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4460 done; \
4461 (cd $(TARGET_SUBDIR)/rda && \
4462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4464 "RANLIB=$${RANLIB}" \
4465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4466 dvi) \
4467 || exit 1
4471 .PHONY: do-TAGS
4472 do-TAGS: TAGS-host TAGS-target
4474 .PHONY: TAGS-host
4475 TAGS-host: maybe-TAGS-gcc \
4476 maybe-TAGS-ash \
4477 maybe-TAGS-autoconf \
4478 maybe-TAGS-automake \
4479 maybe-TAGS-bash \
4480 maybe-TAGS-bfd \
4481 maybe-TAGS-opcodes \
4482 maybe-TAGS-binutils \
4483 maybe-TAGS-bison \
4484 maybe-TAGS-byacc \
4485 maybe-TAGS-bzip2 \
4486 maybe-TAGS-dejagnu \
4487 maybe-TAGS-diff \
4488 maybe-TAGS-dosutils \
4489 maybe-TAGS-etc \
4490 maybe-TAGS-fastjar \
4491 maybe-TAGS-fileutils \
4492 maybe-TAGS-findutils \
4493 maybe-TAGS-find \
4494 maybe-TAGS-flex \
4495 maybe-TAGS-gas \
4496 maybe-TAGS-gawk \
4497 maybe-TAGS-gettext \
4498 maybe-TAGS-gnuserv \
4499 maybe-TAGS-gprof \
4500 maybe-TAGS-gzip \
4501 maybe-TAGS-hello \
4502 maybe-TAGS-indent \
4503 maybe-TAGS-intl \
4504 maybe-TAGS-tcl \
4505 maybe-TAGS-itcl \
4506 maybe-TAGS-ld \
4507 maybe-TAGS-libgui \
4508 maybe-TAGS-libiberty \
4509 maybe-TAGS-libtool \
4510 maybe-TAGS-m4 \
4511 maybe-TAGS-make \
4512 maybe-TAGS-mmalloc \
4513 maybe-TAGS-patch \
4514 maybe-TAGS-perl \
4515 maybe-TAGS-prms \
4516 maybe-TAGS-rcs \
4517 maybe-TAGS-readline \
4518 maybe-TAGS-release \
4519 maybe-TAGS-recode \
4520 maybe-TAGS-sed \
4521 maybe-TAGS-send-pr \
4522 maybe-TAGS-shellutils \
4523 maybe-TAGS-sid \
4524 maybe-TAGS-sim \
4525 maybe-TAGS-tar \
4526 maybe-TAGS-texinfo \
4527 maybe-TAGS-textutils \
4528 maybe-TAGS-time \
4529 maybe-TAGS-uudecode \
4530 maybe-TAGS-wdiff \
4531 maybe-TAGS-zip \
4532 maybe-TAGS-zlib \
4533 maybe-TAGS-gdb \
4534 maybe-TAGS-expect \
4535 maybe-TAGS-guile \
4536 maybe-TAGS-tk \
4537 maybe-TAGS-tix \
4538 maybe-TAGS-libtermcap \
4539 maybe-TAGS-utils
4541 .PHONY: TAGS-target
4542 TAGS-target: \
4543 maybe-TAGS-target-libstdc++-v3 \
4544 maybe-TAGS-target-newlib \
4545 maybe-TAGS-target-libf2c \
4546 maybe-TAGS-target-libobjc \
4547 maybe-TAGS-target-libtermcap \
4548 maybe-TAGS-target-winsup \
4549 maybe-TAGS-target-libgloss \
4550 maybe-TAGS-target-libiberty \
4551 maybe-TAGS-target-gperf \
4552 maybe-TAGS-target-examples \
4553 maybe-TAGS-target-libffi \
4554 maybe-TAGS-target-libjava \
4555 maybe-TAGS-target-zlib \
4556 maybe-TAGS-target-boehm-gc \
4557 maybe-TAGS-target-qthreads \
4558 maybe-TAGS-target-rda
4560 # GCC, the eternal special case
4561 .PHONY: maybe-TAGS-gcc TAGS-gcc
4562 maybe-TAGS-gcc:
4563 TAGS-gcc: \
4564 configure-gcc
4565 @[ -f ./gcc/Makefile ] || exit 0; \
4566 r=`${PWD}`; export r; \
4567 s=`cd $(srcdir); ${PWD}`; export s; \
4568 $(SET_LIB_PATH) \
4569 for flag in $(EXTRA_GCC_FLAGS); do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571 done; \
4572 echo "Doing TAGS in gcc" ; \
4573 (cd gcc && \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4578 TAGS) \
4579 || exit 1
4581 # Host modules.
4583 .PHONY: maybe-TAGS-ash TAGS-ash
4584 maybe-TAGS-ash:
4586 TAGS-ash: \
4587 configure-ash
4588 @[ -f ./ash/Makefile ] || exit 0; \
4589 r=`${PWD}`; export r; \
4590 s=`cd $(srcdir); ${PWD}`; export s; \
4591 $(SET_LIB_PATH) \
4592 for flag in $(EXTRA_HOST_FLAGS); do \
4593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4594 done; \
4595 echo "Doing TAGS in ash" ; \
4596 (cd ash && \
4597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4599 "RANLIB=$${RANLIB}" \
4600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4601 TAGS) \
4602 || exit 1
4605 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4606 maybe-TAGS-autoconf:
4608 TAGS-autoconf: \
4609 configure-autoconf
4610 @[ -f ./autoconf/Makefile ] || exit 0; \
4611 r=`${PWD}`; export r; \
4612 s=`cd $(srcdir); ${PWD}`; export s; \
4613 $(SET_LIB_PATH) \
4614 for flag in $(EXTRA_HOST_FLAGS); do \
4615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4616 done; \
4617 echo "Doing TAGS in autoconf" ; \
4618 (cd autoconf && \
4619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4621 "RANLIB=$${RANLIB}" \
4622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4623 TAGS) \
4624 || exit 1
4627 .PHONY: maybe-TAGS-automake TAGS-automake
4628 maybe-TAGS-automake:
4630 TAGS-automake: \
4631 configure-automake
4632 @[ -f ./automake/Makefile ] || exit 0; \
4633 r=`${PWD}`; export r; \
4634 s=`cd $(srcdir); ${PWD}`; export s; \
4635 $(SET_LIB_PATH) \
4636 for flag in $(EXTRA_HOST_FLAGS); do \
4637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4638 done; \
4639 echo "Doing TAGS in automake" ; \
4640 (cd automake && \
4641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4643 "RANLIB=$${RANLIB}" \
4644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4645 TAGS) \
4646 || exit 1
4649 .PHONY: maybe-TAGS-bash TAGS-bash
4650 maybe-TAGS-bash:
4652 TAGS-bash: \
4653 configure-bash
4654 @[ -f ./bash/Makefile ] || exit 0; \
4655 r=`${PWD}`; export r; \
4656 s=`cd $(srcdir); ${PWD}`; export s; \
4657 $(SET_LIB_PATH) \
4658 for flag in $(EXTRA_HOST_FLAGS); do \
4659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4660 done; \
4661 echo "Doing TAGS in bash" ; \
4662 (cd bash && \
4663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4665 "RANLIB=$${RANLIB}" \
4666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4667 TAGS) \
4668 || exit 1
4671 .PHONY: maybe-TAGS-bfd TAGS-bfd
4672 maybe-TAGS-bfd:
4674 TAGS-bfd: \
4675 configure-bfd
4676 @[ -f ./bfd/Makefile ] || exit 0; \
4677 r=`${PWD}`; export r; \
4678 s=`cd $(srcdir); ${PWD}`; export s; \
4679 $(SET_LIB_PATH) \
4680 for flag in $(EXTRA_HOST_FLAGS); do \
4681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4682 done; \
4683 echo "Doing TAGS in bfd" ; \
4684 (cd bfd && \
4685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4687 "RANLIB=$${RANLIB}" \
4688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4689 TAGS) \
4690 || exit 1
4693 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4694 maybe-TAGS-opcodes:
4696 TAGS-opcodes: \
4697 configure-opcodes
4698 @[ -f ./opcodes/Makefile ] || exit 0; \
4699 r=`${PWD}`; export r; \
4700 s=`cd $(srcdir); ${PWD}`; export s; \
4701 $(SET_LIB_PATH) \
4702 for flag in $(EXTRA_HOST_FLAGS); do \
4703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4704 done; \
4705 echo "Doing TAGS in opcodes" ; \
4706 (cd opcodes && \
4707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4709 "RANLIB=$${RANLIB}" \
4710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4711 TAGS) \
4712 || exit 1
4715 .PHONY: maybe-TAGS-binutils TAGS-binutils
4716 maybe-TAGS-binutils:
4718 TAGS-binutils: \
4719 configure-binutils
4720 @[ -f ./binutils/Makefile ] || exit 0; \
4721 r=`${PWD}`; export r; \
4722 s=`cd $(srcdir); ${PWD}`; export s; \
4723 $(SET_LIB_PATH) \
4724 for flag in $(EXTRA_HOST_FLAGS); do \
4725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4726 done; \
4727 echo "Doing TAGS in binutils" ; \
4728 (cd binutils && \
4729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4731 "RANLIB=$${RANLIB}" \
4732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4733 TAGS) \
4734 || exit 1
4737 .PHONY: maybe-TAGS-bison TAGS-bison
4738 maybe-TAGS-bison:
4740 TAGS-bison: \
4741 configure-bison
4742 @[ -f ./bison/Makefile ] || exit 0; \
4743 r=`${PWD}`; export r; \
4744 s=`cd $(srcdir); ${PWD}`; export s; \
4745 $(SET_LIB_PATH) \
4746 for flag in $(EXTRA_HOST_FLAGS); do \
4747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4748 done; \
4749 echo "Doing TAGS in bison" ; \
4750 (cd bison && \
4751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4753 "RANLIB=$${RANLIB}" \
4754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4755 TAGS) \
4756 || exit 1
4759 .PHONY: maybe-TAGS-byacc TAGS-byacc
4760 maybe-TAGS-byacc:
4762 TAGS-byacc: \
4763 configure-byacc
4764 @[ -f ./byacc/Makefile ] || exit 0; \
4765 r=`${PWD}`; export r; \
4766 s=`cd $(srcdir); ${PWD}`; export s; \
4767 $(SET_LIB_PATH) \
4768 for flag in $(EXTRA_HOST_FLAGS); do \
4769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4770 done; \
4771 echo "Doing TAGS in byacc" ; \
4772 (cd byacc && \
4773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4775 "RANLIB=$${RANLIB}" \
4776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4777 TAGS) \
4778 || exit 1
4781 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4782 maybe-TAGS-bzip2:
4784 TAGS-bzip2: \
4785 configure-bzip2
4786 @[ -f ./bzip2/Makefile ] || exit 0; \
4787 r=`${PWD}`; export r; \
4788 s=`cd $(srcdir); ${PWD}`; export s; \
4789 $(SET_LIB_PATH) \
4790 for flag in $(EXTRA_HOST_FLAGS); do \
4791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4792 done; \
4793 echo "Doing TAGS in bzip2" ; \
4794 (cd bzip2 && \
4795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4797 "RANLIB=$${RANLIB}" \
4798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4799 TAGS) \
4800 || exit 1
4803 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4804 maybe-TAGS-dejagnu:
4806 TAGS-dejagnu: \
4807 configure-dejagnu
4808 @[ -f ./dejagnu/Makefile ] || exit 0; \
4809 r=`${PWD}`; export r; \
4810 s=`cd $(srcdir); ${PWD}`; export s; \
4811 $(SET_LIB_PATH) \
4812 for flag in $(EXTRA_HOST_FLAGS); do \
4813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4814 done; \
4815 echo "Doing TAGS in dejagnu" ; \
4816 (cd dejagnu && \
4817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4819 "RANLIB=$${RANLIB}" \
4820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4821 TAGS) \
4822 || exit 1
4825 .PHONY: maybe-TAGS-diff TAGS-diff
4826 maybe-TAGS-diff:
4828 TAGS-diff: \
4829 configure-diff
4830 @[ -f ./diff/Makefile ] || exit 0; \
4831 r=`${PWD}`; export r; \
4832 s=`cd $(srcdir); ${PWD}`; export s; \
4833 $(SET_LIB_PATH) \
4834 for flag in $(EXTRA_HOST_FLAGS); do \
4835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4836 done; \
4837 echo "Doing TAGS in diff" ; \
4838 (cd diff && \
4839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4841 "RANLIB=$${RANLIB}" \
4842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4843 TAGS) \
4844 || exit 1
4847 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
4848 maybe-TAGS-dosutils:
4850 TAGS-dosutils: \
4851 configure-dosutils
4852 @[ -f ./dosutils/Makefile ] || exit 0; \
4853 r=`${PWD}`; export r; \
4854 s=`cd $(srcdir); ${PWD}`; export s; \
4855 $(SET_LIB_PATH) \
4856 for flag in $(EXTRA_HOST_FLAGS); do \
4857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4858 done; \
4859 echo "Doing TAGS in dosutils" ; \
4860 (cd dosutils && \
4861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4863 "RANLIB=$${RANLIB}" \
4864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4865 TAGS) \
4866 || exit 1
4869 .PHONY: maybe-TAGS-etc TAGS-etc
4870 maybe-TAGS-etc:
4872 TAGS-etc: \
4873 configure-etc
4874 @[ -f ./etc/Makefile ] || exit 0; \
4875 r=`${PWD}`; export r; \
4876 s=`cd $(srcdir); ${PWD}`; export s; \
4877 $(SET_LIB_PATH) \
4878 for flag in $(EXTRA_HOST_FLAGS); do \
4879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4880 done; \
4881 echo "Doing TAGS in etc" ; \
4882 (cd etc && \
4883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4885 "RANLIB=$${RANLIB}" \
4886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4887 TAGS) \
4888 || exit 1
4891 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
4892 maybe-TAGS-fastjar:
4894 TAGS-fastjar: \
4895 configure-fastjar
4896 @[ -f ./fastjar/Makefile ] || exit 0; \
4897 r=`${PWD}`; export r; \
4898 s=`cd $(srcdir); ${PWD}`; export s; \
4899 $(SET_LIB_PATH) \
4900 for flag in $(EXTRA_HOST_FLAGS); do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing TAGS in fastjar" ; \
4904 (cd fastjar && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 TAGS) \
4910 || exit 1
4913 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
4914 maybe-TAGS-fileutils:
4916 TAGS-fileutils: \
4917 configure-fileutils
4918 @[ -f ./fileutils/Makefile ] || exit 0; \
4919 r=`${PWD}`; export r; \
4920 s=`cd $(srcdir); ${PWD}`; export s; \
4921 $(SET_LIB_PATH) \
4922 for flag in $(EXTRA_HOST_FLAGS); do \
4923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4924 done; \
4925 echo "Doing TAGS in fileutils" ; \
4926 (cd fileutils && \
4927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4929 "RANLIB=$${RANLIB}" \
4930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4931 TAGS) \
4932 || exit 1
4935 .PHONY: maybe-TAGS-findutils TAGS-findutils
4936 maybe-TAGS-findutils:
4938 TAGS-findutils: \
4939 configure-findutils
4940 @[ -f ./findutils/Makefile ] || exit 0; \
4941 r=`${PWD}`; export r; \
4942 s=`cd $(srcdir); ${PWD}`; export s; \
4943 $(SET_LIB_PATH) \
4944 for flag in $(EXTRA_HOST_FLAGS); do \
4945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4946 done; \
4947 echo "Doing TAGS in findutils" ; \
4948 (cd findutils && \
4949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4951 "RANLIB=$${RANLIB}" \
4952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4953 TAGS) \
4954 || exit 1
4957 .PHONY: maybe-TAGS-find TAGS-find
4958 maybe-TAGS-find:
4960 TAGS-find: \
4961 configure-find
4962 @[ -f ./find/Makefile ] || exit 0; \
4963 r=`${PWD}`; export r; \
4964 s=`cd $(srcdir); ${PWD}`; export s; \
4965 $(SET_LIB_PATH) \
4966 for flag in $(EXTRA_HOST_FLAGS); do \
4967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4968 done; \
4969 echo "Doing TAGS in find" ; \
4970 (cd find && \
4971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4973 "RANLIB=$${RANLIB}" \
4974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4975 TAGS) \
4976 || exit 1
4979 .PHONY: maybe-TAGS-flex TAGS-flex
4980 maybe-TAGS-flex:
4982 TAGS-flex: \
4983 configure-flex
4984 @[ -f ./flex/Makefile ] || exit 0; \
4985 r=`${PWD}`; export r; \
4986 s=`cd $(srcdir); ${PWD}`; export s; \
4987 $(SET_LIB_PATH) \
4988 for flag in $(EXTRA_HOST_FLAGS); do \
4989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4990 done; \
4991 echo "Doing TAGS in flex" ; \
4992 (cd flex && \
4993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4995 "RANLIB=$${RANLIB}" \
4996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4997 TAGS) \
4998 || exit 1
5001 .PHONY: maybe-TAGS-gas TAGS-gas
5002 maybe-TAGS-gas:
5004 TAGS-gas: \
5005 configure-gas
5006 @[ -f ./gas/Makefile ] || exit 0; \
5007 r=`${PWD}`; export r; \
5008 s=`cd $(srcdir); ${PWD}`; export s; \
5009 $(SET_LIB_PATH) \
5010 for flag in $(EXTRA_HOST_FLAGS); do \
5011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5012 done; \
5013 echo "Doing TAGS in gas" ; \
5014 (cd gas && \
5015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5017 "RANLIB=$${RANLIB}" \
5018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5019 TAGS) \
5020 || exit 1
5023 .PHONY: maybe-TAGS-gawk TAGS-gawk
5024 maybe-TAGS-gawk:
5026 TAGS-gawk: \
5027 configure-gawk
5028 @[ -f ./gawk/Makefile ] || exit 0; \
5029 r=`${PWD}`; export r; \
5030 s=`cd $(srcdir); ${PWD}`; export s; \
5031 $(SET_LIB_PATH) \
5032 for flag in $(EXTRA_HOST_FLAGS); do \
5033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5034 done; \
5035 echo "Doing TAGS in gawk" ; \
5036 (cd gawk && \
5037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5039 "RANLIB=$${RANLIB}" \
5040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5041 TAGS) \
5042 || exit 1
5045 .PHONY: maybe-TAGS-gettext TAGS-gettext
5046 maybe-TAGS-gettext:
5048 TAGS-gettext: \
5049 configure-gettext
5050 @[ -f ./gettext/Makefile ] || exit 0; \
5051 r=`${PWD}`; export r; \
5052 s=`cd $(srcdir); ${PWD}`; export s; \
5053 $(SET_LIB_PATH) \
5054 for flag in $(EXTRA_HOST_FLAGS); do \
5055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5056 done; \
5057 echo "Doing TAGS in gettext" ; \
5058 (cd gettext && \
5059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5061 "RANLIB=$${RANLIB}" \
5062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5063 TAGS) \
5064 || exit 1
5067 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
5068 maybe-TAGS-gnuserv:
5070 TAGS-gnuserv: \
5071 configure-gnuserv
5072 @[ -f ./gnuserv/Makefile ] || exit 0; \
5073 r=`${PWD}`; export r; \
5074 s=`cd $(srcdir); ${PWD}`; export s; \
5075 $(SET_LIB_PATH) \
5076 for flag in $(EXTRA_HOST_FLAGS); do \
5077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5078 done; \
5079 echo "Doing TAGS in gnuserv" ; \
5080 (cd gnuserv && \
5081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5083 "RANLIB=$${RANLIB}" \
5084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5085 TAGS) \
5086 || exit 1
5089 .PHONY: maybe-TAGS-gprof TAGS-gprof
5090 maybe-TAGS-gprof:
5092 TAGS-gprof: \
5093 configure-gprof
5094 @[ -f ./gprof/Makefile ] || exit 0; \
5095 r=`${PWD}`; export r; \
5096 s=`cd $(srcdir); ${PWD}`; export s; \
5097 $(SET_LIB_PATH) \
5098 for flag in $(EXTRA_HOST_FLAGS); do \
5099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5100 done; \
5101 echo "Doing TAGS in gprof" ; \
5102 (cd gprof && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5105 "RANLIB=$${RANLIB}" \
5106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5107 TAGS) \
5108 || exit 1
5111 .PHONY: maybe-TAGS-gzip TAGS-gzip
5112 maybe-TAGS-gzip:
5114 TAGS-gzip: \
5115 configure-gzip
5116 @[ -f ./gzip/Makefile ] || exit 0; \
5117 r=`${PWD}`; export r; \
5118 s=`cd $(srcdir); ${PWD}`; export s; \
5119 $(SET_LIB_PATH) \
5120 for flag in $(EXTRA_HOST_FLAGS); do \
5121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5122 done; \
5123 echo "Doing TAGS in gzip" ; \
5124 (cd gzip && \
5125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5127 "RANLIB=$${RANLIB}" \
5128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5129 TAGS) \
5130 || exit 1
5133 .PHONY: maybe-TAGS-hello TAGS-hello
5134 maybe-TAGS-hello:
5136 TAGS-hello: \
5137 configure-hello
5138 @[ -f ./hello/Makefile ] || exit 0; \
5139 r=`${PWD}`; export r; \
5140 s=`cd $(srcdir); ${PWD}`; export s; \
5141 $(SET_LIB_PATH) \
5142 for flag in $(EXTRA_HOST_FLAGS); do \
5143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5144 done; \
5145 echo "Doing TAGS in hello" ; \
5146 (cd hello && \
5147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5149 "RANLIB=$${RANLIB}" \
5150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5151 TAGS) \
5152 || exit 1
5155 .PHONY: maybe-TAGS-indent TAGS-indent
5156 maybe-TAGS-indent:
5158 TAGS-indent: \
5159 configure-indent
5160 @[ -f ./indent/Makefile ] || exit 0; \
5161 r=`${PWD}`; export r; \
5162 s=`cd $(srcdir); ${PWD}`; export s; \
5163 $(SET_LIB_PATH) \
5164 for flag in $(EXTRA_HOST_FLAGS); do \
5165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5166 done; \
5167 echo "Doing TAGS in indent" ; \
5168 (cd indent && \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5171 "RANLIB=$${RANLIB}" \
5172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5173 TAGS) \
5174 || exit 1
5177 .PHONY: maybe-TAGS-intl TAGS-intl
5178 maybe-TAGS-intl:
5180 TAGS-intl: \
5181 configure-intl
5182 @[ -f ./intl/Makefile ] || exit 0; \
5183 r=`${PWD}`; export r; \
5184 s=`cd $(srcdir); ${PWD}`; export s; \
5185 $(SET_LIB_PATH) \
5186 for flag in $(EXTRA_HOST_FLAGS); do \
5187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5188 done; \
5189 echo "Doing TAGS in intl" ; \
5190 (cd intl && \
5191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5193 "RANLIB=$${RANLIB}" \
5194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5195 TAGS) \
5196 || exit 1
5199 .PHONY: maybe-TAGS-tcl TAGS-tcl
5200 maybe-TAGS-tcl:
5202 TAGS-tcl: \
5203 configure-tcl
5204 @[ -f ./tcl/Makefile ] || exit 0; \
5205 r=`${PWD}`; export r; \
5206 s=`cd $(srcdir); ${PWD}`; export s; \
5207 $(SET_LIB_PATH) \
5208 for flag in $(EXTRA_HOST_FLAGS); do \
5209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5210 done; \
5211 echo "Doing TAGS in tcl" ; \
5212 (cd tcl && \
5213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5215 "RANLIB=$${RANLIB}" \
5216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5217 TAGS) \
5218 || exit 1
5221 .PHONY: maybe-TAGS-itcl TAGS-itcl
5222 maybe-TAGS-itcl:
5224 TAGS-itcl: \
5225 configure-itcl
5226 @[ -f ./itcl/Makefile ] || exit 0; \
5227 r=`${PWD}`; export r; \
5228 s=`cd $(srcdir); ${PWD}`; export s; \
5229 $(SET_LIB_PATH) \
5230 for flag in $(EXTRA_HOST_FLAGS); do \
5231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5232 done; \
5233 echo "Doing TAGS in itcl" ; \
5234 (cd itcl && \
5235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5237 "RANLIB=$${RANLIB}" \
5238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5239 TAGS) \
5240 || exit 1
5243 .PHONY: maybe-TAGS-ld TAGS-ld
5244 maybe-TAGS-ld:
5246 TAGS-ld: \
5247 configure-ld
5248 @[ -f ./ld/Makefile ] || exit 0; \
5249 r=`${PWD}`; export r; \
5250 s=`cd $(srcdir); ${PWD}`; export s; \
5251 $(SET_LIB_PATH) \
5252 for flag in $(EXTRA_HOST_FLAGS); do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5254 done; \
5255 echo "Doing TAGS in ld" ; \
5256 (cd ld && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5261 TAGS) \
5262 || exit 1
5265 .PHONY: maybe-TAGS-libgui TAGS-libgui
5266 maybe-TAGS-libgui:
5268 TAGS-libgui: \
5269 configure-libgui
5270 @[ -f ./libgui/Makefile ] || exit 0; \
5271 r=`${PWD}`; export r; \
5272 s=`cd $(srcdir); ${PWD}`; export s; \
5273 $(SET_LIB_PATH) \
5274 for flag in $(EXTRA_HOST_FLAGS); do \
5275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5276 done; \
5277 echo "Doing TAGS in libgui" ; \
5278 (cd libgui && \
5279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5281 "RANLIB=$${RANLIB}" \
5282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5283 TAGS) \
5284 || exit 1
5287 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
5288 maybe-TAGS-libiberty:
5290 TAGS-libiberty: \
5291 configure-libiberty
5292 @[ -f ./libiberty/Makefile ] || exit 0; \
5293 r=`${PWD}`; export r; \
5294 s=`cd $(srcdir); ${PWD}`; export s; \
5295 $(SET_LIB_PATH) \
5296 for flag in $(EXTRA_HOST_FLAGS); do \
5297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5298 done; \
5299 echo "Doing TAGS in libiberty" ; \
5300 (cd libiberty && \
5301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5303 "RANLIB=$${RANLIB}" \
5304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5305 TAGS) \
5306 || exit 1
5309 .PHONY: maybe-TAGS-libtool TAGS-libtool
5310 maybe-TAGS-libtool:
5312 TAGS-libtool: \
5313 configure-libtool
5314 @[ -f ./libtool/Makefile ] || exit 0; \
5315 r=`${PWD}`; export r; \
5316 s=`cd $(srcdir); ${PWD}`; export s; \
5317 $(SET_LIB_PATH) \
5318 for flag in $(EXTRA_HOST_FLAGS); do \
5319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5320 done; \
5321 echo "Doing TAGS in libtool" ; \
5322 (cd libtool && \
5323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5325 "RANLIB=$${RANLIB}" \
5326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5327 TAGS) \
5328 || exit 1
5331 .PHONY: maybe-TAGS-m4 TAGS-m4
5332 maybe-TAGS-m4:
5334 TAGS-m4: \
5335 configure-m4
5336 @[ -f ./m4/Makefile ] || exit 0; \
5337 r=`${PWD}`; export r; \
5338 s=`cd $(srcdir); ${PWD}`; export s; \
5339 $(SET_LIB_PATH) \
5340 for flag in $(EXTRA_HOST_FLAGS); do \
5341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5342 done; \
5343 echo "Doing TAGS in m4" ; \
5344 (cd m4 && \
5345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5347 "RANLIB=$${RANLIB}" \
5348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5349 TAGS) \
5350 || exit 1
5353 .PHONY: maybe-TAGS-make TAGS-make
5354 maybe-TAGS-make:
5356 TAGS-make: \
5357 configure-make
5358 @[ -f ./make/Makefile ] || exit 0; \
5359 r=`${PWD}`; export r; \
5360 s=`cd $(srcdir); ${PWD}`; export s; \
5361 $(SET_LIB_PATH) \
5362 for flag in $(EXTRA_HOST_FLAGS); do \
5363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5364 done; \
5365 echo "Doing TAGS in make" ; \
5366 (cd make && \
5367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5369 "RANLIB=$${RANLIB}" \
5370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5371 TAGS) \
5372 || exit 1
5375 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
5376 maybe-TAGS-mmalloc:
5378 TAGS-mmalloc: \
5379 configure-mmalloc
5380 @[ -f ./mmalloc/Makefile ] || exit 0; \
5381 r=`${PWD}`; export r; \
5382 s=`cd $(srcdir); ${PWD}`; export s; \
5383 $(SET_LIB_PATH) \
5384 for flag in $(EXTRA_HOST_FLAGS); do \
5385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5386 done; \
5387 echo "Doing TAGS in mmalloc" ; \
5388 (cd mmalloc && \
5389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5391 "RANLIB=$${RANLIB}" \
5392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5393 TAGS) \
5394 || exit 1
5397 .PHONY: maybe-TAGS-patch TAGS-patch
5398 maybe-TAGS-patch:
5400 TAGS-patch: \
5401 configure-patch
5402 @[ -f ./patch/Makefile ] || exit 0; \
5403 r=`${PWD}`; export r; \
5404 s=`cd $(srcdir); ${PWD}`; export s; \
5405 $(SET_LIB_PATH) \
5406 for flag in $(EXTRA_HOST_FLAGS); do \
5407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5408 done; \
5409 echo "Doing TAGS in patch" ; \
5410 (cd patch && \
5411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5413 "RANLIB=$${RANLIB}" \
5414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5415 TAGS) \
5416 || exit 1
5419 .PHONY: maybe-TAGS-perl TAGS-perl
5420 maybe-TAGS-perl:
5422 TAGS-perl: \
5423 configure-perl
5424 @[ -f ./perl/Makefile ] || exit 0; \
5425 r=`${PWD}`; export r; \
5426 s=`cd $(srcdir); ${PWD}`; export s; \
5427 $(SET_LIB_PATH) \
5428 for flag in $(EXTRA_HOST_FLAGS); do \
5429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5430 done; \
5431 echo "Doing TAGS in perl" ; \
5432 (cd perl && \
5433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5435 "RANLIB=$${RANLIB}" \
5436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5437 TAGS) \
5438 || exit 1
5441 .PHONY: maybe-TAGS-prms TAGS-prms
5442 maybe-TAGS-prms:
5444 TAGS-prms: \
5445 configure-prms
5446 @[ -f ./prms/Makefile ] || exit 0; \
5447 r=`${PWD}`; export r; \
5448 s=`cd $(srcdir); ${PWD}`; export s; \
5449 $(SET_LIB_PATH) \
5450 for flag in $(EXTRA_HOST_FLAGS); do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing TAGS in prms" ; \
5454 (cd prms && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5459 TAGS) \
5460 || exit 1
5463 .PHONY: maybe-TAGS-rcs TAGS-rcs
5464 maybe-TAGS-rcs:
5466 TAGS-rcs: \
5467 configure-rcs
5468 @[ -f ./rcs/Makefile ] || exit 0; \
5469 r=`${PWD}`; export r; \
5470 s=`cd $(srcdir); ${PWD}`; export s; \
5471 $(SET_LIB_PATH) \
5472 for flag in $(EXTRA_HOST_FLAGS); do \
5473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5474 done; \
5475 echo "Doing TAGS in rcs" ; \
5476 (cd rcs && \
5477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5479 "RANLIB=$${RANLIB}" \
5480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5481 TAGS) \
5482 || exit 1
5485 .PHONY: maybe-TAGS-readline TAGS-readline
5486 maybe-TAGS-readline:
5488 TAGS-readline: \
5489 configure-readline
5490 @[ -f ./readline/Makefile ] || exit 0; \
5491 r=`${PWD}`; export r; \
5492 s=`cd $(srcdir); ${PWD}`; export s; \
5493 $(SET_LIB_PATH) \
5494 for flag in $(EXTRA_HOST_FLAGS); do \
5495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5496 done; \
5497 echo "Doing TAGS in readline" ; \
5498 (cd readline && \
5499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5501 "RANLIB=$${RANLIB}" \
5502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5503 TAGS) \
5504 || exit 1
5507 .PHONY: maybe-TAGS-release TAGS-release
5508 maybe-TAGS-release:
5510 TAGS-release: \
5511 configure-release
5512 @[ -f ./release/Makefile ] || exit 0; \
5513 r=`${PWD}`; export r; \
5514 s=`cd $(srcdir); ${PWD}`; export s; \
5515 $(SET_LIB_PATH) \
5516 for flag in $(EXTRA_HOST_FLAGS); do \
5517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5518 done; \
5519 echo "Doing TAGS in release" ; \
5520 (cd release && \
5521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5523 "RANLIB=$${RANLIB}" \
5524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5525 TAGS) \
5526 || exit 1
5529 .PHONY: maybe-TAGS-recode TAGS-recode
5530 maybe-TAGS-recode:
5532 TAGS-recode: \
5533 configure-recode
5534 @[ -f ./recode/Makefile ] || exit 0; \
5535 r=`${PWD}`; export r; \
5536 s=`cd $(srcdir); ${PWD}`; export s; \
5537 $(SET_LIB_PATH) \
5538 for flag in $(EXTRA_HOST_FLAGS); do \
5539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5540 done; \
5541 echo "Doing TAGS in recode" ; \
5542 (cd recode && \
5543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5545 "RANLIB=$${RANLIB}" \
5546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5547 TAGS) \
5548 || exit 1
5551 .PHONY: maybe-TAGS-sed TAGS-sed
5552 maybe-TAGS-sed:
5554 TAGS-sed: \
5555 configure-sed
5556 @[ -f ./sed/Makefile ] || exit 0; \
5557 r=`${PWD}`; export r; \
5558 s=`cd $(srcdir); ${PWD}`; export s; \
5559 $(SET_LIB_PATH) \
5560 for flag in $(EXTRA_HOST_FLAGS); do \
5561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5562 done; \
5563 echo "Doing TAGS in sed" ; \
5564 (cd sed && \
5565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5567 "RANLIB=$${RANLIB}" \
5568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5569 TAGS) \
5570 || exit 1
5573 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
5574 maybe-TAGS-send-pr:
5576 TAGS-send-pr: \
5577 configure-send-pr
5578 @[ -f ./send-pr/Makefile ] || exit 0; \
5579 r=`${PWD}`; export r; \
5580 s=`cd $(srcdir); ${PWD}`; export s; \
5581 $(SET_LIB_PATH) \
5582 for flag in $(EXTRA_HOST_FLAGS); do \
5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5584 done; \
5585 echo "Doing TAGS in send-pr" ; \
5586 (cd send-pr && \
5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5589 "RANLIB=$${RANLIB}" \
5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5591 TAGS) \
5592 || exit 1
5595 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
5596 maybe-TAGS-shellutils:
5598 TAGS-shellutils: \
5599 configure-shellutils
5600 @[ -f ./shellutils/Makefile ] || exit 0; \
5601 r=`${PWD}`; export r; \
5602 s=`cd $(srcdir); ${PWD}`; export s; \
5603 $(SET_LIB_PATH) \
5604 for flag in $(EXTRA_HOST_FLAGS); do \
5605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5606 done; \
5607 echo "Doing TAGS in shellutils" ; \
5608 (cd shellutils && \
5609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5611 "RANLIB=$${RANLIB}" \
5612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5613 TAGS) \
5614 || exit 1
5617 .PHONY: maybe-TAGS-sid TAGS-sid
5618 maybe-TAGS-sid:
5620 TAGS-sid: \
5621 configure-sid
5622 @[ -f ./sid/Makefile ] || exit 0; \
5623 r=`${PWD}`; export r; \
5624 s=`cd $(srcdir); ${PWD}`; export s; \
5625 $(SET_LIB_PATH) \
5626 for flag in $(EXTRA_HOST_FLAGS); do \
5627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5628 done; \
5629 echo "Doing TAGS in sid" ; \
5630 (cd sid && \
5631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5633 "RANLIB=$${RANLIB}" \
5634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5635 TAGS) \
5636 || exit 1
5639 .PHONY: maybe-TAGS-sim TAGS-sim
5640 maybe-TAGS-sim:
5642 TAGS-sim: \
5643 configure-sim
5644 @[ -f ./sim/Makefile ] || exit 0; \
5645 r=`${PWD}`; export r; \
5646 s=`cd $(srcdir); ${PWD}`; export s; \
5647 $(SET_LIB_PATH) \
5648 for flag in $(EXTRA_HOST_FLAGS); do \
5649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5650 done; \
5651 echo "Doing TAGS in sim" ; \
5652 (cd sim && \
5653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5655 "RANLIB=$${RANLIB}" \
5656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5657 TAGS) \
5658 || exit 1
5661 .PHONY: maybe-TAGS-tar TAGS-tar
5662 maybe-TAGS-tar:
5664 TAGS-tar: \
5665 configure-tar
5666 @[ -f ./tar/Makefile ] || exit 0; \
5667 r=`${PWD}`; export r; \
5668 s=`cd $(srcdir); ${PWD}`; export s; \
5669 $(SET_LIB_PATH) \
5670 for flag in $(EXTRA_HOST_FLAGS); do \
5671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5672 done; \
5673 echo "Doing TAGS in tar" ; \
5674 (cd tar && \
5675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5677 "RANLIB=$${RANLIB}" \
5678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5679 TAGS) \
5680 || exit 1
5683 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
5684 maybe-TAGS-texinfo:
5686 TAGS-texinfo: \
5687 configure-texinfo
5688 @[ -f ./texinfo/Makefile ] || exit 0; \
5689 r=`${PWD}`; export r; \
5690 s=`cd $(srcdir); ${PWD}`; export s; \
5691 $(SET_LIB_PATH) \
5692 for flag in $(EXTRA_HOST_FLAGS); do \
5693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5694 done; \
5695 echo "Doing TAGS in texinfo" ; \
5696 (cd texinfo && \
5697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5699 "RANLIB=$${RANLIB}" \
5700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5701 TAGS) \
5702 || exit 1
5705 .PHONY: maybe-TAGS-textutils TAGS-textutils
5706 maybe-TAGS-textutils:
5708 TAGS-textutils: \
5709 configure-textutils
5710 @[ -f ./textutils/Makefile ] || exit 0; \
5711 r=`${PWD}`; export r; \
5712 s=`cd $(srcdir); ${PWD}`; export s; \
5713 $(SET_LIB_PATH) \
5714 for flag in $(EXTRA_HOST_FLAGS); do \
5715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5716 done; \
5717 echo "Doing TAGS in textutils" ; \
5718 (cd textutils && \
5719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5721 "RANLIB=$${RANLIB}" \
5722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5723 TAGS) \
5724 || exit 1
5727 .PHONY: maybe-TAGS-time TAGS-time
5728 maybe-TAGS-time:
5730 TAGS-time: \
5731 configure-time
5732 @[ -f ./time/Makefile ] || exit 0; \
5733 r=`${PWD}`; export r; \
5734 s=`cd $(srcdir); ${PWD}`; export s; \
5735 $(SET_LIB_PATH) \
5736 for flag in $(EXTRA_HOST_FLAGS); do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing TAGS in time" ; \
5740 (cd time && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5745 TAGS) \
5746 || exit 1
5749 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
5750 maybe-TAGS-uudecode:
5752 TAGS-uudecode: \
5753 configure-uudecode
5754 @[ -f ./uudecode/Makefile ] || exit 0; \
5755 r=`${PWD}`; export r; \
5756 s=`cd $(srcdir); ${PWD}`; export s; \
5757 $(SET_LIB_PATH) \
5758 for flag in $(EXTRA_HOST_FLAGS); do \
5759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5760 done; \
5761 echo "Doing TAGS in uudecode" ; \
5762 (cd uudecode && \
5763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5765 "RANLIB=$${RANLIB}" \
5766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5767 TAGS) \
5768 || exit 1
5771 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
5772 maybe-TAGS-wdiff:
5774 TAGS-wdiff: \
5775 configure-wdiff
5776 @[ -f ./wdiff/Makefile ] || exit 0; \
5777 r=`${PWD}`; export r; \
5778 s=`cd $(srcdir); ${PWD}`; export s; \
5779 $(SET_LIB_PATH) \
5780 for flag in $(EXTRA_HOST_FLAGS); do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing TAGS in wdiff" ; \
5784 (cd wdiff && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5789 TAGS) \
5790 || exit 1
5793 .PHONY: maybe-TAGS-zip TAGS-zip
5794 maybe-TAGS-zip:
5796 TAGS-zip: \
5797 configure-zip
5798 @[ -f ./zip/Makefile ] || exit 0; \
5799 r=`${PWD}`; export r; \
5800 s=`cd $(srcdir); ${PWD}`; export s; \
5801 $(SET_LIB_PATH) \
5802 for flag in $(EXTRA_HOST_FLAGS); do \
5803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5804 done; \
5805 echo "Doing TAGS in zip" ; \
5806 (cd zip && \
5807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5809 "RANLIB=$${RANLIB}" \
5810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5811 TAGS) \
5812 || exit 1
5815 .PHONY: maybe-TAGS-zlib TAGS-zlib
5816 maybe-TAGS-zlib:
5818 TAGS-zlib: \
5819 configure-zlib
5820 @[ -f ./zlib/Makefile ] || exit 0; \
5821 r=`${PWD}`; export r; \
5822 s=`cd $(srcdir); ${PWD}`; export s; \
5823 $(SET_LIB_PATH) \
5824 for flag in $(EXTRA_HOST_FLAGS); do \
5825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5826 done; \
5827 echo "Doing TAGS in zlib" ; \
5828 (cd zlib && \
5829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5831 "RANLIB=$${RANLIB}" \
5832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5833 TAGS) \
5834 || exit 1
5837 .PHONY: maybe-TAGS-gdb TAGS-gdb
5838 maybe-TAGS-gdb:
5840 TAGS-gdb: \
5841 configure-gdb
5842 @[ -f ./gdb/Makefile ] || exit 0; \
5843 r=`${PWD}`; export r; \
5844 s=`cd $(srcdir); ${PWD}`; export s; \
5845 $(SET_LIB_PATH) \
5846 for flag in $(EXTRA_HOST_FLAGS); do \
5847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5848 done; \
5849 echo "Doing TAGS in gdb" ; \
5850 (cd gdb && \
5851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5853 "RANLIB=$${RANLIB}" \
5854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5855 TAGS) \
5856 || exit 1
5859 .PHONY: maybe-TAGS-expect TAGS-expect
5860 maybe-TAGS-expect:
5862 TAGS-expect: \
5863 configure-expect
5864 @[ -f ./expect/Makefile ] || exit 0; \
5865 r=`${PWD}`; export r; \
5866 s=`cd $(srcdir); ${PWD}`; export s; \
5867 $(SET_LIB_PATH) \
5868 for flag in $(EXTRA_HOST_FLAGS); do \
5869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5870 done; \
5871 echo "Doing TAGS in expect" ; \
5872 (cd expect && \
5873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5875 "RANLIB=$${RANLIB}" \
5876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5877 TAGS) \
5878 || exit 1
5881 .PHONY: maybe-TAGS-guile TAGS-guile
5882 maybe-TAGS-guile:
5884 TAGS-guile: \
5885 configure-guile
5886 @[ -f ./guile/Makefile ] || exit 0; \
5887 r=`${PWD}`; export r; \
5888 s=`cd $(srcdir); ${PWD}`; export s; \
5889 $(SET_LIB_PATH) \
5890 for flag in $(EXTRA_HOST_FLAGS); do \
5891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5892 done; \
5893 echo "Doing TAGS in guile" ; \
5894 (cd guile && \
5895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5897 "RANLIB=$${RANLIB}" \
5898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5899 TAGS) \
5900 || exit 1
5903 .PHONY: maybe-TAGS-tk TAGS-tk
5904 maybe-TAGS-tk:
5906 TAGS-tk: \
5907 configure-tk
5908 @[ -f ./tk/Makefile ] || exit 0; \
5909 r=`${PWD}`; export r; \
5910 s=`cd $(srcdir); ${PWD}`; export s; \
5911 $(SET_LIB_PATH) \
5912 for flag in $(EXTRA_HOST_FLAGS); do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing TAGS in tk" ; \
5916 (cd tk && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5921 TAGS) \
5922 || exit 1
5925 .PHONY: maybe-TAGS-tix TAGS-tix
5926 maybe-TAGS-tix:
5928 TAGS-tix: \
5929 configure-tix
5930 @[ -f ./tix/Makefile ] || exit 0; \
5931 r=`${PWD}`; export r; \
5932 s=`cd $(srcdir); ${PWD}`; export s; \
5933 $(SET_LIB_PATH) \
5934 for flag in $(EXTRA_HOST_FLAGS); do \
5935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5936 done; \
5937 echo "Doing TAGS in tix" ; \
5938 (cd tix && \
5939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5941 "RANLIB=$${RANLIB}" \
5942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5943 TAGS) \
5944 || exit 1
5947 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
5948 maybe-TAGS-libtermcap:
5950 TAGS-libtermcap: \
5951 configure-libtermcap
5952 @[ -f ./libtermcap/Makefile ] || exit 0; \
5953 r=`${PWD}`; export r; \
5954 s=`cd $(srcdir); ${PWD}`; export s; \
5955 $(SET_LIB_PATH) \
5956 for flag in $(EXTRA_HOST_FLAGS); do \
5957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5958 done; \
5959 echo "Doing TAGS in libtermcap" ; \
5960 (cd libtermcap && \
5961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5963 "RANLIB=$${RANLIB}" \
5964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5965 TAGS) \
5966 || exit 1
5969 .PHONY: maybe-TAGS-utils TAGS-utils
5970 maybe-TAGS-utils:
5972 TAGS-utils: \
5973 configure-utils
5974 @[ -f ./utils/Makefile ] || exit 0; \
5975 r=`${PWD}`; export r; \
5976 s=`cd $(srcdir); ${PWD}`; export s; \
5977 $(SET_LIB_PATH) \
5978 for flag in $(EXTRA_HOST_FLAGS); do \
5979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5980 done; \
5981 echo "Doing TAGS in utils" ; \
5982 (cd utils && \
5983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5985 "RANLIB=$${RANLIB}" \
5986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5987 TAGS) \
5988 || exit 1
5992 # Target modules.
5994 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
5995 maybe-TAGS-target-libstdc++-v3:
5997 TAGS-target-libstdc++-v3: \
5998 configure-target-libstdc++-v3
5999 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
6000 r=`${PWD}`; export r; \
6001 s=`cd $(srcdir); ${PWD}`; export s; \
6002 $(SET_LIB_PATH) \
6003 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
6004 for flag in $(EXTRA_TARGET_FLAGS); do \
6005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6006 done; \
6007 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
6008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6010 "RANLIB=$${RANLIB}" \
6011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6012 TAGS) \
6013 || exit 1
6016 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
6017 maybe-TAGS-target-newlib:
6019 TAGS-target-newlib: \
6020 configure-target-newlib
6021 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
6022 r=`${PWD}`; export r; \
6023 s=`cd $(srcdir); ${PWD}`; export s; \
6024 $(SET_LIB_PATH) \
6025 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
6026 for flag in $(EXTRA_TARGET_FLAGS); do \
6027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 done; \
6029 (cd $(TARGET_SUBDIR)/newlib && \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6034 TAGS) \
6035 || exit 1
6038 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
6039 maybe-TAGS-target-libf2c:
6041 TAGS-target-libf2c: \
6042 configure-target-libf2c
6043 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
6044 r=`${PWD}`; export r; \
6045 s=`cd $(srcdir); ${PWD}`; export s; \
6046 $(SET_LIB_PATH) \
6047 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
6048 for flag in $(EXTRA_TARGET_FLAGS); do \
6049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6050 done; \
6051 (cd $(TARGET_SUBDIR)/libf2c && \
6052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6054 "RANLIB=$${RANLIB}" \
6055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6056 TAGS) \
6057 || exit 1
6060 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
6061 maybe-TAGS-target-libobjc:
6063 TAGS-target-libobjc: \
6064 configure-target-libobjc
6065 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
6066 r=`${PWD}`; export r; \
6067 s=`cd $(srcdir); ${PWD}`; export s; \
6068 $(SET_LIB_PATH) \
6069 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
6070 for flag in $(EXTRA_TARGET_FLAGS); do \
6071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6072 done; \
6073 (cd $(TARGET_SUBDIR)/libobjc && \
6074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6076 "RANLIB=$${RANLIB}" \
6077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6078 TAGS) \
6079 || exit 1
6082 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
6083 maybe-TAGS-target-libtermcap:
6085 TAGS-target-libtermcap: \
6086 configure-target-libtermcap
6087 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
6088 r=`${PWD}`; export r; \
6089 s=`cd $(srcdir); ${PWD}`; export s; \
6090 $(SET_LIB_PATH) \
6091 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
6092 for flag in $(EXTRA_TARGET_FLAGS); do \
6093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6094 done; \
6095 (cd $(TARGET_SUBDIR)/libtermcap && \
6096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6098 "RANLIB=$${RANLIB}" \
6099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6100 TAGS) \
6101 || exit 1
6104 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
6105 maybe-TAGS-target-winsup:
6107 TAGS-target-winsup: \
6108 configure-target-winsup
6109 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
6110 r=`${PWD}`; export r; \
6111 s=`cd $(srcdir); ${PWD}`; export s; \
6112 $(SET_LIB_PATH) \
6113 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
6114 for flag in $(EXTRA_TARGET_FLAGS); do \
6115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6116 done; \
6117 (cd $(TARGET_SUBDIR)/winsup && \
6118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6120 "RANLIB=$${RANLIB}" \
6121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6122 TAGS) \
6123 || exit 1
6126 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
6127 maybe-TAGS-target-libgloss:
6129 TAGS-target-libgloss: \
6130 configure-target-libgloss
6131 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
6132 r=`${PWD}`; export r; \
6133 s=`cd $(srcdir); ${PWD}`; export s; \
6134 $(SET_LIB_PATH) \
6135 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
6136 for flag in $(EXTRA_TARGET_FLAGS); do \
6137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6138 done; \
6139 (cd $(TARGET_SUBDIR)/libgloss && \
6140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6142 "RANLIB=$${RANLIB}" \
6143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6144 TAGS) \
6145 || exit 1
6148 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
6149 maybe-TAGS-target-libiberty:
6151 TAGS-target-libiberty: \
6152 configure-target-libiberty
6153 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
6154 r=`${PWD}`; export r; \
6155 s=`cd $(srcdir); ${PWD}`; export s; \
6156 $(SET_LIB_PATH) \
6157 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
6158 for flag in $(EXTRA_TARGET_FLAGS); do \
6159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6160 done; \
6161 (cd $(TARGET_SUBDIR)/libiberty && \
6162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6164 "RANLIB=$${RANLIB}" \
6165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6166 TAGS) \
6167 || exit 1
6170 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6171 maybe-TAGS-target-gperf:
6173 TAGS-target-gperf: \
6174 configure-target-gperf
6175 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
6176 r=`${PWD}`; export r; \
6177 s=`cd $(srcdir); ${PWD}`; export s; \
6178 $(SET_LIB_PATH) \
6179 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
6180 for flag in $(EXTRA_TARGET_FLAGS); do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6182 done; \
6183 (cd $(TARGET_SUBDIR)/gperf && \
6184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6186 "RANLIB=$${RANLIB}" \
6187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6188 TAGS) \
6189 || exit 1
6192 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
6193 maybe-TAGS-target-examples:
6195 TAGS-target-examples: \
6196 configure-target-examples
6197 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
6198 r=`${PWD}`; export r; \
6199 s=`cd $(srcdir); ${PWD}`; export s; \
6200 $(SET_LIB_PATH) \
6201 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
6202 for flag in $(EXTRA_TARGET_FLAGS); do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 (cd $(TARGET_SUBDIR)/examples && \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6208 "RANLIB=$${RANLIB}" \
6209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6210 TAGS) \
6211 || exit 1
6214 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
6215 maybe-TAGS-target-libffi:
6217 TAGS-target-libffi: \
6218 configure-target-libffi
6219 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
6220 r=`${PWD}`; export r; \
6221 s=`cd $(srcdir); ${PWD}`; export s; \
6222 $(SET_LIB_PATH) \
6223 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
6224 for flag in $(EXTRA_TARGET_FLAGS); do \
6225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 done; \
6227 (cd $(TARGET_SUBDIR)/libffi && \
6228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230 "RANLIB=$${RANLIB}" \
6231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6232 TAGS) \
6233 || exit 1
6236 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
6237 maybe-TAGS-target-libjava:
6239 TAGS-target-libjava: \
6240 configure-target-libjava
6241 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
6242 r=`${PWD}`; export r; \
6243 s=`cd $(srcdir); ${PWD}`; export s; \
6244 $(SET_LIB_PATH) \
6245 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
6246 for flag in $(EXTRA_TARGET_FLAGS); do \
6247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6248 done; \
6249 (cd $(TARGET_SUBDIR)/libjava && \
6250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6252 "RANLIB=$${RANLIB}" \
6253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6254 TAGS) \
6255 || exit 1
6258 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
6259 maybe-TAGS-target-zlib:
6261 TAGS-target-zlib: \
6262 configure-target-zlib
6263 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
6264 r=`${PWD}`; export r; \
6265 s=`cd $(srcdir); ${PWD}`; export s; \
6266 $(SET_LIB_PATH) \
6267 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
6268 for flag in $(EXTRA_TARGET_FLAGS); do \
6269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6270 done; \
6271 (cd $(TARGET_SUBDIR)/zlib && \
6272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6274 "RANLIB=$${RANLIB}" \
6275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6276 TAGS) \
6277 || exit 1
6280 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
6281 maybe-TAGS-target-boehm-gc:
6283 TAGS-target-boehm-gc: \
6284 configure-target-boehm-gc
6285 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
6286 r=`${PWD}`; export r; \
6287 s=`cd $(srcdir); ${PWD}`; export s; \
6288 $(SET_LIB_PATH) \
6289 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
6290 for flag in $(EXTRA_TARGET_FLAGS); do \
6291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292 done; \
6293 (cd $(TARGET_SUBDIR)/boehm-gc && \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6298 TAGS) \
6299 || exit 1
6302 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
6303 maybe-TAGS-target-qthreads:
6305 TAGS-target-qthreads: \
6306 configure-target-qthreads
6307 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
6308 r=`${PWD}`; export r; \
6309 s=`cd $(srcdir); ${PWD}`; export s; \
6310 $(SET_LIB_PATH) \
6311 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
6312 for flag in $(EXTRA_TARGET_FLAGS); do \
6313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6314 done; \
6315 (cd $(TARGET_SUBDIR)/qthreads && \
6316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6318 "RANLIB=$${RANLIB}" \
6319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6320 TAGS) \
6321 || exit 1
6324 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
6325 maybe-TAGS-target-rda:
6327 TAGS-target-rda: \
6328 configure-target-rda
6329 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
6330 r=`${PWD}`; export r; \
6331 s=`cd $(srcdir); ${PWD}`; export s; \
6332 $(SET_LIB_PATH) \
6333 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
6334 for flag in $(EXTRA_TARGET_FLAGS); do \
6335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 done; \
6337 (cd $(TARGET_SUBDIR)/rda && \
6338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340 "RANLIB=$${RANLIB}" \
6341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6342 TAGS) \
6343 || exit 1
6347 .PHONY: do-install-info
6348 do-install-info: install-info-host install-info-target
6350 .PHONY: install-info-host
6351 install-info-host: maybe-install-info-gcc \
6352 maybe-install-info-ash \
6353 maybe-install-info-autoconf \
6354 maybe-install-info-automake \
6355 maybe-install-info-bash \
6356 maybe-install-info-bfd \
6357 maybe-install-info-opcodes \
6358 maybe-install-info-binutils \
6359 maybe-install-info-bison \
6360 maybe-install-info-byacc \
6361 maybe-install-info-bzip2 \
6362 maybe-install-info-dejagnu \
6363 maybe-install-info-diff \
6364 maybe-install-info-dosutils \
6365 maybe-install-info-etc \
6366 maybe-install-info-fastjar \
6367 maybe-install-info-fileutils \
6368 maybe-install-info-findutils \
6369 maybe-install-info-find \
6370 maybe-install-info-flex \
6371 maybe-install-info-gas \
6372 maybe-install-info-gawk \
6373 maybe-install-info-gettext \
6374 maybe-install-info-gnuserv \
6375 maybe-install-info-gprof \
6376 maybe-install-info-gzip \
6377 maybe-install-info-hello \
6378 maybe-install-info-indent \
6379 maybe-install-info-intl \
6380 maybe-install-info-tcl \
6381 maybe-install-info-itcl \
6382 maybe-install-info-ld \
6383 maybe-install-info-libgui \
6384 maybe-install-info-libiberty \
6385 maybe-install-info-libtool \
6386 maybe-install-info-m4 \
6387 maybe-install-info-make \
6388 maybe-install-info-mmalloc \
6389 maybe-install-info-patch \
6390 maybe-install-info-perl \
6391 maybe-install-info-prms \
6392 maybe-install-info-rcs \
6393 maybe-install-info-readline \
6394 maybe-install-info-release \
6395 maybe-install-info-recode \
6396 maybe-install-info-sed \
6397 maybe-install-info-send-pr \
6398 maybe-install-info-shellutils \
6399 maybe-install-info-sid \
6400 maybe-install-info-sim \
6401 maybe-install-info-tar \
6402 maybe-install-info-texinfo \
6403 maybe-install-info-textutils \
6404 maybe-install-info-time \
6405 maybe-install-info-uudecode \
6406 maybe-install-info-wdiff \
6407 maybe-install-info-zip \
6408 maybe-install-info-zlib \
6409 maybe-install-info-gdb \
6410 maybe-install-info-expect \
6411 maybe-install-info-guile \
6412 maybe-install-info-tk \
6413 maybe-install-info-tix \
6414 maybe-install-info-libtermcap \
6415 maybe-install-info-utils
6417 .PHONY: install-info-target
6418 install-info-target: \
6419 maybe-install-info-target-libstdc++-v3 \
6420 maybe-install-info-target-newlib \
6421 maybe-install-info-target-libf2c \
6422 maybe-install-info-target-libobjc \
6423 maybe-install-info-target-libtermcap \
6424 maybe-install-info-target-winsup \
6425 maybe-install-info-target-libgloss \
6426 maybe-install-info-target-libiberty \
6427 maybe-install-info-target-gperf \
6428 maybe-install-info-target-examples \
6429 maybe-install-info-target-libffi \
6430 maybe-install-info-target-libjava \
6431 maybe-install-info-target-zlib \
6432 maybe-install-info-target-boehm-gc \
6433 maybe-install-info-target-qthreads \
6434 maybe-install-info-target-rda
6436 # GCC, the eternal special case
6437 .PHONY: maybe-install-info-gcc install-info-gcc
6438 maybe-install-info-gcc:
6439 install-info-gcc: \
6440 configure-gcc \
6441 info-gcc
6442 @[ -f ./gcc/Makefile ] || exit 0; \
6443 r=`${PWD}`; export r; \
6444 s=`cd $(srcdir); ${PWD}`; export s; \
6445 $(SET_LIB_PATH) \
6446 for flag in $(EXTRA_GCC_FLAGS); do \
6447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6448 done; \
6449 echo "Doing install-info in gcc" ; \
6450 (cd gcc && \
6451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6453 "RANLIB=$${RANLIB}" \
6454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6455 install-info) \
6456 || exit 1
6458 # Host modules.
6460 .PHONY: maybe-install-info-ash install-info-ash
6461 maybe-install-info-ash:
6463 install-info-ash: \
6464 configure-ash \
6465 info-ash
6466 @[ -f ./ash/Makefile ] || exit 0; \
6467 r=`${PWD}`; export r; \
6468 s=`cd $(srcdir); ${PWD}`; export s; \
6469 $(SET_LIB_PATH) \
6470 for flag in $(EXTRA_HOST_FLAGS); do \
6471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6472 done; \
6473 echo "Doing install-info in ash" ; \
6474 (cd ash && \
6475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6477 "RANLIB=$${RANLIB}" \
6478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6479 install-info) \
6480 || exit 1
6483 .PHONY: maybe-install-info-autoconf install-info-autoconf
6484 maybe-install-info-autoconf:
6486 install-info-autoconf: \
6487 configure-autoconf \
6488 info-autoconf
6489 @[ -f ./autoconf/Makefile ] || exit 0; \
6490 r=`${PWD}`; export r; \
6491 s=`cd $(srcdir); ${PWD}`; export s; \
6492 $(SET_LIB_PATH) \
6493 for flag in $(EXTRA_HOST_FLAGS); do \
6494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6495 done; \
6496 echo "Doing install-info in autoconf" ; \
6497 (cd autoconf && \
6498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6500 "RANLIB=$${RANLIB}" \
6501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6502 install-info) \
6503 || exit 1
6506 .PHONY: maybe-install-info-automake install-info-automake
6507 maybe-install-info-automake:
6509 install-info-automake: \
6510 configure-automake \
6511 info-automake
6512 @[ -f ./automake/Makefile ] || exit 0; \
6513 r=`${PWD}`; export r; \
6514 s=`cd $(srcdir); ${PWD}`; export s; \
6515 $(SET_LIB_PATH) \
6516 for flag in $(EXTRA_HOST_FLAGS); do \
6517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6518 done; \
6519 echo "Doing install-info in automake" ; \
6520 (cd automake && \
6521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6523 "RANLIB=$${RANLIB}" \
6524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6525 install-info) \
6526 || exit 1
6529 .PHONY: maybe-install-info-bash install-info-bash
6530 maybe-install-info-bash:
6532 install-info-bash: \
6533 configure-bash \
6534 info-bash
6535 @[ -f ./bash/Makefile ] || exit 0; \
6536 r=`${PWD}`; export r; \
6537 s=`cd $(srcdir); ${PWD}`; export s; \
6538 $(SET_LIB_PATH) \
6539 for flag in $(EXTRA_HOST_FLAGS); do \
6540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6541 done; \
6542 echo "Doing install-info in bash" ; \
6543 (cd bash && \
6544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6546 "RANLIB=$${RANLIB}" \
6547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6548 install-info) \
6549 || exit 1
6552 .PHONY: maybe-install-info-bfd install-info-bfd
6553 maybe-install-info-bfd:
6555 install-info-bfd: \
6556 configure-bfd \
6557 info-bfd
6558 @[ -f ./bfd/Makefile ] || exit 0; \
6559 r=`${PWD}`; export r; \
6560 s=`cd $(srcdir); ${PWD}`; export s; \
6561 $(SET_LIB_PATH) \
6562 for flag in $(EXTRA_HOST_FLAGS); do \
6563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6564 done; \
6565 echo "Doing install-info in bfd" ; \
6566 (cd bfd && \
6567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6569 "RANLIB=$${RANLIB}" \
6570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6571 install-info) \
6572 || exit 1
6575 .PHONY: maybe-install-info-opcodes install-info-opcodes
6576 maybe-install-info-opcodes:
6578 install-info-opcodes: \
6579 configure-opcodes \
6580 info-opcodes
6581 @[ -f ./opcodes/Makefile ] || exit 0; \
6582 r=`${PWD}`; export r; \
6583 s=`cd $(srcdir); ${PWD}`; export s; \
6584 $(SET_LIB_PATH) \
6585 for flag in $(EXTRA_HOST_FLAGS); do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 done; \
6588 echo "Doing install-info in opcodes" ; \
6589 (cd opcodes && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6594 install-info) \
6595 || exit 1
6598 .PHONY: maybe-install-info-binutils install-info-binutils
6599 maybe-install-info-binutils:
6601 install-info-binutils: \
6602 configure-binutils \
6603 info-binutils
6604 @[ -f ./binutils/Makefile ] || exit 0; \
6605 r=`${PWD}`; export r; \
6606 s=`cd $(srcdir); ${PWD}`; export s; \
6607 $(SET_LIB_PATH) \
6608 for flag in $(EXTRA_HOST_FLAGS); do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610 done; \
6611 echo "Doing install-info in binutils" ; \
6612 (cd binutils && \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6617 install-info) \
6618 || exit 1
6621 .PHONY: maybe-install-info-bison install-info-bison
6622 maybe-install-info-bison:
6624 install-info-bison: \
6625 configure-bison \
6626 info-bison
6627 @[ -f ./bison/Makefile ] || exit 0; \
6628 r=`${PWD}`; export r; \
6629 s=`cd $(srcdir); ${PWD}`; export s; \
6630 $(SET_LIB_PATH) \
6631 for flag in $(EXTRA_HOST_FLAGS); do \
6632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6633 done; \
6634 echo "Doing install-info in bison" ; \
6635 (cd bison && \
6636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6638 "RANLIB=$${RANLIB}" \
6639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6640 install-info) \
6641 || exit 1
6644 .PHONY: maybe-install-info-byacc install-info-byacc
6645 maybe-install-info-byacc:
6647 install-info-byacc: \
6648 configure-byacc \
6649 info-byacc
6650 @[ -f ./byacc/Makefile ] || exit 0; \
6651 r=`${PWD}`; export r; \
6652 s=`cd $(srcdir); ${PWD}`; export s; \
6653 $(SET_LIB_PATH) \
6654 for flag in $(EXTRA_HOST_FLAGS); do \
6655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6656 done; \
6657 echo "Doing install-info in byacc" ; \
6658 (cd byacc && \
6659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6661 "RANLIB=$${RANLIB}" \
6662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6663 install-info) \
6664 || exit 1
6667 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6668 maybe-install-info-bzip2:
6670 install-info-bzip2: \
6671 configure-bzip2 \
6672 info-bzip2
6673 @[ -f ./bzip2/Makefile ] || exit 0; \
6674 r=`${PWD}`; export r; \
6675 s=`cd $(srcdir); ${PWD}`; export s; \
6676 $(SET_LIB_PATH) \
6677 for flag in $(EXTRA_HOST_FLAGS); do \
6678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6679 done; \
6680 echo "Doing install-info in bzip2" ; \
6681 (cd bzip2 && \
6682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6684 "RANLIB=$${RANLIB}" \
6685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6686 install-info) \
6687 || exit 1
6690 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6691 maybe-install-info-dejagnu:
6693 install-info-dejagnu: \
6694 configure-dejagnu \
6695 info-dejagnu
6696 @[ -f ./dejagnu/Makefile ] || exit 0; \
6697 r=`${PWD}`; export r; \
6698 s=`cd $(srcdir); ${PWD}`; export s; \
6699 $(SET_LIB_PATH) \
6700 for flag in $(EXTRA_HOST_FLAGS); do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 done; \
6703 echo "Doing install-info in dejagnu" ; \
6704 (cd dejagnu && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709 install-info) \
6710 || exit 1
6713 .PHONY: maybe-install-info-diff install-info-diff
6714 maybe-install-info-diff:
6716 install-info-diff: \
6717 configure-diff \
6718 info-diff
6719 @[ -f ./diff/Makefile ] || exit 0; \
6720 r=`${PWD}`; export r; \
6721 s=`cd $(srcdir); ${PWD}`; export s; \
6722 $(SET_LIB_PATH) \
6723 for flag in $(EXTRA_HOST_FLAGS); do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing install-info in diff" ; \
6727 (cd diff && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6732 install-info) \
6733 || exit 1
6736 .PHONY: maybe-install-info-dosutils install-info-dosutils
6737 maybe-install-info-dosutils:
6739 install-info-dosutils: \
6740 configure-dosutils \
6741 info-dosutils
6742 @[ -f ./dosutils/Makefile ] || exit 0; \
6743 r=`${PWD}`; export r; \
6744 s=`cd $(srcdir); ${PWD}`; export s; \
6745 $(SET_LIB_PATH) \
6746 for flag in $(EXTRA_HOST_FLAGS); do \
6747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6748 done; \
6749 echo "Doing install-info in dosutils" ; \
6750 (cd dosutils && \
6751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6753 "RANLIB=$${RANLIB}" \
6754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6755 install-info) \
6756 || exit 1
6759 .PHONY: maybe-install-info-etc install-info-etc
6760 maybe-install-info-etc:
6762 install-info-etc: \
6763 configure-etc \
6764 info-etc
6765 @[ -f ./etc/Makefile ] || exit 0; \
6766 r=`${PWD}`; export r; \
6767 s=`cd $(srcdir); ${PWD}`; export s; \
6768 $(SET_LIB_PATH) \
6769 for flag in $(EXTRA_HOST_FLAGS); do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing install-info in etc" ; \
6773 (cd etc && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6778 install-info) \
6779 || exit 1
6782 .PHONY: maybe-install-info-fastjar install-info-fastjar
6783 maybe-install-info-fastjar:
6785 install-info-fastjar: \
6786 configure-fastjar \
6787 info-fastjar
6788 @[ -f ./fastjar/Makefile ] || exit 0; \
6789 r=`${PWD}`; export r; \
6790 s=`cd $(srcdir); ${PWD}`; export s; \
6791 $(SET_LIB_PATH) \
6792 for flag in $(EXTRA_HOST_FLAGS); do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing install-info in fastjar" ; \
6796 (cd fastjar && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6801 install-info) \
6802 || exit 1
6805 .PHONY: maybe-install-info-fileutils install-info-fileutils
6806 maybe-install-info-fileutils:
6808 install-info-fileutils: \
6809 configure-fileutils \
6810 info-fileutils
6811 @[ -f ./fileutils/Makefile ] || exit 0; \
6812 r=`${PWD}`; export r; \
6813 s=`cd $(srcdir); ${PWD}`; export s; \
6814 $(SET_LIB_PATH) \
6815 for flag in $(EXTRA_HOST_FLAGS); do \
6816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6817 done; \
6818 echo "Doing install-info in fileutils" ; \
6819 (cd fileutils && \
6820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6822 "RANLIB=$${RANLIB}" \
6823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6824 install-info) \
6825 || exit 1
6828 .PHONY: maybe-install-info-findutils install-info-findutils
6829 maybe-install-info-findutils:
6831 install-info-findutils: \
6832 configure-findutils \
6833 info-findutils
6834 @[ -f ./findutils/Makefile ] || exit 0; \
6835 r=`${PWD}`; export r; \
6836 s=`cd $(srcdir); ${PWD}`; export s; \
6837 $(SET_LIB_PATH) \
6838 for flag in $(EXTRA_HOST_FLAGS); do \
6839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6840 done; \
6841 echo "Doing install-info in findutils" ; \
6842 (cd findutils && \
6843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6845 "RANLIB=$${RANLIB}" \
6846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6847 install-info) \
6848 || exit 1
6851 .PHONY: maybe-install-info-find install-info-find
6852 maybe-install-info-find:
6854 install-info-find: \
6855 configure-find \
6856 info-find
6857 @[ -f ./find/Makefile ] || exit 0; \
6858 r=`${PWD}`; export r; \
6859 s=`cd $(srcdir); ${PWD}`; export s; \
6860 $(SET_LIB_PATH) \
6861 for flag in $(EXTRA_HOST_FLAGS); do \
6862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 done; \
6864 echo "Doing install-info in find" ; \
6865 (cd find && \
6866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6868 "RANLIB=$${RANLIB}" \
6869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 install-info) \
6871 || exit 1
6874 .PHONY: maybe-install-info-flex install-info-flex
6875 maybe-install-info-flex:
6877 install-info-flex: \
6878 configure-flex \
6879 info-flex
6880 @[ -f ./flex/Makefile ] || exit 0; \
6881 r=`${PWD}`; export r; \
6882 s=`cd $(srcdir); ${PWD}`; export s; \
6883 $(SET_LIB_PATH) \
6884 for flag in $(EXTRA_HOST_FLAGS); do \
6885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6886 done; \
6887 echo "Doing install-info in flex" ; \
6888 (cd flex && \
6889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6891 "RANLIB=$${RANLIB}" \
6892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6893 install-info) \
6894 || exit 1
6897 .PHONY: maybe-install-info-gas install-info-gas
6898 maybe-install-info-gas:
6900 install-info-gas: \
6901 configure-gas \
6902 info-gas
6903 @[ -f ./gas/Makefile ] || exit 0; \
6904 r=`${PWD}`; export r; \
6905 s=`cd $(srcdir); ${PWD}`; export s; \
6906 $(SET_LIB_PATH) \
6907 for flag in $(EXTRA_HOST_FLAGS); do \
6908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6909 done; \
6910 echo "Doing install-info in gas" ; \
6911 (cd gas && \
6912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6914 "RANLIB=$${RANLIB}" \
6915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6916 install-info) \
6917 || exit 1
6920 .PHONY: maybe-install-info-gawk install-info-gawk
6921 maybe-install-info-gawk:
6923 install-info-gawk: \
6924 configure-gawk \
6925 info-gawk
6926 @[ -f ./gawk/Makefile ] || exit 0; \
6927 r=`${PWD}`; export r; \
6928 s=`cd $(srcdir); ${PWD}`; export s; \
6929 $(SET_LIB_PATH) \
6930 for flag in $(EXTRA_HOST_FLAGS); do \
6931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6932 done; \
6933 echo "Doing install-info in gawk" ; \
6934 (cd gawk && \
6935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6937 "RANLIB=$${RANLIB}" \
6938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6939 install-info) \
6940 || exit 1
6943 .PHONY: maybe-install-info-gettext install-info-gettext
6944 maybe-install-info-gettext:
6946 install-info-gettext: \
6947 configure-gettext \
6948 info-gettext
6949 @[ -f ./gettext/Makefile ] || exit 0; \
6950 r=`${PWD}`; export r; \
6951 s=`cd $(srcdir); ${PWD}`; export s; \
6952 $(SET_LIB_PATH) \
6953 for flag in $(EXTRA_HOST_FLAGS); do \
6954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6955 done; \
6956 echo "Doing install-info in gettext" ; \
6957 (cd gettext && \
6958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6960 "RANLIB=$${RANLIB}" \
6961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6962 install-info) \
6963 || exit 1
6966 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
6967 maybe-install-info-gnuserv:
6969 install-info-gnuserv: \
6970 configure-gnuserv \
6971 info-gnuserv
6972 @[ -f ./gnuserv/Makefile ] || exit 0; \
6973 r=`${PWD}`; export r; \
6974 s=`cd $(srcdir); ${PWD}`; export s; \
6975 $(SET_LIB_PATH) \
6976 for flag in $(EXTRA_HOST_FLAGS); do \
6977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6978 done; \
6979 echo "Doing install-info in gnuserv" ; \
6980 (cd gnuserv && \
6981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6983 "RANLIB=$${RANLIB}" \
6984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6985 install-info) \
6986 || exit 1
6989 .PHONY: maybe-install-info-gprof install-info-gprof
6990 maybe-install-info-gprof:
6992 install-info-gprof: \
6993 configure-gprof \
6994 info-gprof
6995 @[ -f ./gprof/Makefile ] || exit 0; \
6996 r=`${PWD}`; export r; \
6997 s=`cd $(srcdir); ${PWD}`; export s; \
6998 $(SET_LIB_PATH) \
6999 for flag in $(EXTRA_HOST_FLAGS); do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing install-info in gprof" ; \
7003 (cd gprof && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7008 install-info) \
7009 || exit 1
7012 .PHONY: maybe-install-info-gzip install-info-gzip
7013 maybe-install-info-gzip:
7015 install-info-gzip: \
7016 configure-gzip \
7017 info-gzip
7018 @[ -f ./gzip/Makefile ] || exit 0; \
7019 r=`${PWD}`; export r; \
7020 s=`cd $(srcdir); ${PWD}`; export s; \
7021 $(SET_LIB_PATH) \
7022 for flag in $(EXTRA_HOST_FLAGS); do \
7023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7024 done; \
7025 echo "Doing install-info in gzip" ; \
7026 (cd gzip && \
7027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7029 "RANLIB=$${RANLIB}" \
7030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7031 install-info) \
7032 || exit 1
7035 .PHONY: maybe-install-info-hello install-info-hello
7036 maybe-install-info-hello:
7038 install-info-hello: \
7039 configure-hello \
7040 info-hello
7041 @[ -f ./hello/Makefile ] || exit 0; \
7042 r=`${PWD}`; export r; \
7043 s=`cd $(srcdir); ${PWD}`; export s; \
7044 $(SET_LIB_PATH) \
7045 for flag in $(EXTRA_HOST_FLAGS); do \
7046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7047 done; \
7048 echo "Doing install-info in hello" ; \
7049 (cd hello && \
7050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7052 "RANLIB=$${RANLIB}" \
7053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7054 install-info) \
7055 || exit 1
7058 .PHONY: maybe-install-info-indent install-info-indent
7059 maybe-install-info-indent:
7061 install-info-indent: \
7062 configure-indent \
7063 info-indent
7064 @[ -f ./indent/Makefile ] || exit 0; \
7065 r=`${PWD}`; export r; \
7066 s=`cd $(srcdir); ${PWD}`; export s; \
7067 $(SET_LIB_PATH) \
7068 for flag in $(EXTRA_HOST_FLAGS); do \
7069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7070 done; \
7071 echo "Doing install-info in indent" ; \
7072 (cd indent && \
7073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7075 "RANLIB=$${RANLIB}" \
7076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7077 install-info) \
7078 || exit 1
7081 .PHONY: maybe-install-info-intl install-info-intl
7082 maybe-install-info-intl:
7084 install-info-intl: \
7085 configure-intl \
7086 info-intl
7087 @[ -f ./intl/Makefile ] || exit 0; \
7088 r=`${PWD}`; export r; \
7089 s=`cd $(srcdir); ${PWD}`; export s; \
7090 $(SET_LIB_PATH) \
7091 for flag in $(EXTRA_HOST_FLAGS); do \
7092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7093 done; \
7094 echo "Doing install-info in intl" ; \
7095 (cd intl && \
7096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7098 "RANLIB=$${RANLIB}" \
7099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7100 install-info) \
7101 || exit 1
7104 .PHONY: maybe-install-info-tcl install-info-tcl
7105 maybe-install-info-tcl:
7107 install-info-tcl: \
7108 configure-tcl \
7109 info-tcl
7110 @[ -f ./tcl/Makefile ] || exit 0; \
7111 r=`${PWD}`; export r; \
7112 s=`cd $(srcdir); ${PWD}`; export s; \
7113 $(SET_LIB_PATH) \
7114 for flag in $(EXTRA_HOST_FLAGS); do \
7115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7116 done; \
7117 echo "Doing install-info in tcl" ; \
7118 (cd tcl && \
7119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7121 "RANLIB=$${RANLIB}" \
7122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7123 install-info) \
7124 || exit 1
7127 .PHONY: maybe-install-info-itcl install-info-itcl
7128 maybe-install-info-itcl:
7130 install-info-itcl: \
7131 configure-itcl \
7132 info-itcl
7133 @[ -f ./itcl/Makefile ] || exit 0; \
7134 r=`${PWD}`; export r; \
7135 s=`cd $(srcdir); ${PWD}`; export s; \
7136 $(SET_LIB_PATH) \
7137 for flag in $(EXTRA_HOST_FLAGS); do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing install-info in itcl" ; \
7141 (cd itcl && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 install-info) \
7147 || exit 1
7150 .PHONY: maybe-install-info-ld install-info-ld
7151 maybe-install-info-ld:
7153 install-info-ld: \
7154 configure-ld \
7155 info-ld
7156 @[ -f ./ld/Makefile ] || exit 0; \
7157 r=`${PWD}`; export r; \
7158 s=`cd $(srcdir); ${PWD}`; export s; \
7159 $(SET_LIB_PATH) \
7160 for flag in $(EXTRA_HOST_FLAGS); do \
7161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7162 done; \
7163 echo "Doing install-info in ld" ; \
7164 (cd ld && \
7165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7167 "RANLIB=$${RANLIB}" \
7168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7169 install-info) \
7170 || exit 1
7173 .PHONY: maybe-install-info-libgui install-info-libgui
7174 maybe-install-info-libgui:
7176 install-info-libgui: \
7177 configure-libgui \
7178 info-libgui
7179 @[ -f ./libgui/Makefile ] || exit 0; \
7180 r=`${PWD}`; export r; \
7181 s=`cd $(srcdir); ${PWD}`; export s; \
7182 $(SET_LIB_PATH) \
7183 for flag in $(EXTRA_HOST_FLAGS); do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing install-info in libgui" ; \
7187 (cd libgui && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7192 install-info) \
7193 || exit 1
7196 .PHONY: maybe-install-info-libiberty install-info-libiberty
7197 maybe-install-info-libiberty:
7199 install-info-libiberty: \
7200 configure-libiberty \
7201 info-libiberty
7202 @[ -f ./libiberty/Makefile ] || exit 0; \
7203 r=`${PWD}`; export r; \
7204 s=`cd $(srcdir); ${PWD}`; export s; \
7205 $(SET_LIB_PATH) \
7206 for flag in $(EXTRA_HOST_FLAGS); do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing install-info in libiberty" ; \
7210 (cd libiberty && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7215 install-info) \
7216 || exit 1
7219 .PHONY: maybe-install-info-libtool install-info-libtool
7220 maybe-install-info-libtool:
7222 install-info-libtool: \
7223 configure-libtool \
7224 info-libtool
7225 @[ -f ./libtool/Makefile ] || exit 0; \
7226 r=`${PWD}`; export r; \
7227 s=`cd $(srcdir); ${PWD}`; export s; \
7228 $(SET_LIB_PATH) \
7229 for flag in $(EXTRA_HOST_FLAGS); do \
7230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7231 done; \
7232 echo "Doing install-info in libtool" ; \
7233 (cd libtool && \
7234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7236 "RANLIB=$${RANLIB}" \
7237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7238 install-info) \
7239 || exit 1
7242 .PHONY: maybe-install-info-m4 install-info-m4
7243 maybe-install-info-m4:
7245 install-info-m4: \
7246 configure-m4 \
7247 info-m4
7248 @[ -f ./m4/Makefile ] || exit 0; \
7249 r=`${PWD}`; export r; \
7250 s=`cd $(srcdir); ${PWD}`; export s; \
7251 $(SET_LIB_PATH) \
7252 for flag in $(EXTRA_HOST_FLAGS); do \
7253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254 done; \
7255 echo "Doing install-info in m4" ; \
7256 (cd m4 && \
7257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259 "RANLIB=$${RANLIB}" \
7260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7261 install-info) \
7262 || exit 1
7265 .PHONY: maybe-install-info-make install-info-make
7266 maybe-install-info-make:
7268 install-info-make: \
7269 configure-make \
7270 info-make
7271 @[ -f ./make/Makefile ] || exit 0; \
7272 r=`${PWD}`; export r; \
7273 s=`cd $(srcdir); ${PWD}`; export s; \
7274 $(SET_LIB_PATH) \
7275 for flag in $(EXTRA_HOST_FLAGS); do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing install-info in make" ; \
7279 (cd make && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7284 install-info) \
7285 || exit 1
7288 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
7289 maybe-install-info-mmalloc:
7291 install-info-mmalloc: \
7292 configure-mmalloc \
7293 info-mmalloc
7294 @[ -f ./mmalloc/Makefile ] || exit 0; \
7295 r=`${PWD}`; export r; \
7296 s=`cd $(srcdir); ${PWD}`; export s; \
7297 $(SET_LIB_PATH) \
7298 for flag in $(EXTRA_HOST_FLAGS); do \
7299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7300 done; \
7301 echo "Doing install-info in mmalloc" ; \
7302 (cd mmalloc && \
7303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7305 "RANLIB=$${RANLIB}" \
7306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7307 install-info) \
7308 || exit 1
7311 .PHONY: maybe-install-info-patch install-info-patch
7312 maybe-install-info-patch:
7314 install-info-patch: \
7315 configure-patch \
7316 info-patch
7317 @[ -f ./patch/Makefile ] || exit 0; \
7318 r=`${PWD}`; export r; \
7319 s=`cd $(srcdir); ${PWD}`; export s; \
7320 $(SET_LIB_PATH) \
7321 for flag in $(EXTRA_HOST_FLAGS); do \
7322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7323 done; \
7324 echo "Doing install-info in patch" ; \
7325 (cd patch && \
7326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7328 "RANLIB=$${RANLIB}" \
7329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7330 install-info) \
7331 || exit 1
7334 .PHONY: maybe-install-info-perl install-info-perl
7335 maybe-install-info-perl:
7337 install-info-perl: \
7338 configure-perl \
7339 info-perl
7340 @[ -f ./perl/Makefile ] || exit 0; \
7341 r=`${PWD}`; export r; \
7342 s=`cd $(srcdir); ${PWD}`; export s; \
7343 $(SET_LIB_PATH) \
7344 for flag in $(EXTRA_HOST_FLAGS); do \
7345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7346 done; \
7347 echo "Doing install-info in perl" ; \
7348 (cd perl && \
7349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7351 "RANLIB=$${RANLIB}" \
7352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7353 install-info) \
7354 || exit 1
7357 .PHONY: maybe-install-info-prms install-info-prms
7358 maybe-install-info-prms:
7360 install-info-prms: \
7361 configure-prms \
7362 info-prms
7363 @[ -f ./prms/Makefile ] || exit 0; \
7364 r=`${PWD}`; export r; \
7365 s=`cd $(srcdir); ${PWD}`; export s; \
7366 $(SET_LIB_PATH) \
7367 for flag in $(EXTRA_HOST_FLAGS); do \
7368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 done; \
7370 echo "Doing install-info in prms" ; \
7371 (cd prms && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7374 "RANLIB=$${RANLIB}" \
7375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7376 install-info) \
7377 || exit 1
7380 .PHONY: maybe-install-info-rcs install-info-rcs
7381 maybe-install-info-rcs:
7383 install-info-rcs: \
7384 configure-rcs \
7385 info-rcs
7386 @[ -f ./rcs/Makefile ] || exit 0; \
7387 r=`${PWD}`; export r; \
7388 s=`cd $(srcdir); ${PWD}`; export s; \
7389 $(SET_LIB_PATH) \
7390 for flag in $(EXTRA_HOST_FLAGS); do \
7391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7392 done; \
7393 echo "Doing install-info in rcs" ; \
7394 (cd rcs && \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7397 "RANLIB=$${RANLIB}" \
7398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7399 install-info) \
7400 || exit 1
7403 .PHONY: maybe-install-info-readline install-info-readline
7404 maybe-install-info-readline:
7406 install-info-readline: \
7407 configure-readline \
7408 info-readline
7409 @[ -f ./readline/Makefile ] || exit 0; \
7410 r=`${PWD}`; export r; \
7411 s=`cd $(srcdir); ${PWD}`; export s; \
7412 $(SET_LIB_PATH) \
7413 for flag in $(EXTRA_HOST_FLAGS); do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing install-info in readline" ; \
7417 (cd readline && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 install-info) \
7423 || exit 1
7426 .PHONY: maybe-install-info-release install-info-release
7427 maybe-install-info-release:
7429 install-info-release: \
7430 configure-release \
7431 info-release
7432 @[ -f ./release/Makefile ] || exit 0; \
7433 r=`${PWD}`; export r; \
7434 s=`cd $(srcdir); ${PWD}`; export s; \
7435 $(SET_LIB_PATH) \
7436 for flag in $(EXTRA_HOST_FLAGS); do \
7437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7438 done; \
7439 echo "Doing install-info in release" ; \
7440 (cd release && \
7441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7443 "RANLIB=$${RANLIB}" \
7444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7445 install-info) \
7446 || exit 1
7449 .PHONY: maybe-install-info-recode install-info-recode
7450 maybe-install-info-recode:
7452 install-info-recode: \
7453 configure-recode \
7454 info-recode
7455 @[ -f ./recode/Makefile ] || exit 0; \
7456 r=`${PWD}`; export r; \
7457 s=`cd $(srcdir); ${PWD}`; export s; \
7458 $(SET_LIB_PATH) \
7459 for flag in $(EXTRA_HOST_FLAGS); do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing install-info in recode" ; \
7463 (cd recode && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 install-info) \
7469 || exit 1
7472 .PHONY: maybe-install-info-sed install-info-sed
7473 maybe-install-info-sed:
7475 install-info-sed: \
7476 configure-sed \
7477 info-sed
7478 @[ -f ./sed/Makefile ] || exit 0; \
7479 r=`${PWD}`; export r; \
7480 s=`cd $(srcdir); ${PWD}`; export s; \
7481 $(SET_LIB_PATH) \
7482 for flag in $(EXTRA_HOST_FLAGS); do \
7483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7484 done; \
7485 echo "Doing install-info in sed" ; \
7486 (cd sed && \
7487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7489 "RANLIB=$${RANLIB}" \
7490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7491 install-info) \
7492 || exit 1
7495 .PHONY: maybe-install-info-send-pr install-info-send-pr
7496 maybe-install-info-send-pr:
7498 install-info-send-pr: \
7499 configure-send-pr \
7500 info-send-pr
7501 @[ -f ./send-pr/Makefile ] || exit 0; \
7502 r=`${PWD}`; export r; \
7503 s=`cd $(srcdir); ${PWD}`; export s; \
7504 $(SET_LIB_PATH) \
7505 for flag in $(EXTRA_HOST_FLAGS); do \
7506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7507 done; \
7508 echo "Doing install-info in send-pr" ; \
7509 (cd send-pr && \
7510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7512 "RANLIB=$${RANLIB}" \
7513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7514 install-info) \
7515 || exit 1
7518 .PHONY: maybe-install-info-shellutils install-info-shellutils
7519 maybe-install-info-shellutils:
7521 install-info-shellutils: \
7522 configure-shellutils \
7523 info-shellutils
7524 @[ -f ./shellutils/Makefile ] || exit 0; \
7525 r=`${PWD}`; export r; \
7526 s=`cd $(srcdir); ${PWD}`; export s; \
7527 $(SET_LIB_PATH) \
7528 for flag in $(EXTRA_HOST_FLAGS); do \
7529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7530 done; \
7531 echo "Doing install-info in shellutils" ; \
7532 (cd shellutils && \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7535 "RANLIB=$${RANLIB}" \
7536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7537 install-info) \
7538 || exit 1
7541 .PHONY: maybe-install-info-sid install-info-sid
7542 maybe-install-info-sid:
7544 install-info-sid: \
7545 configure-sid \
7546 info-sid
7547 @[ -f ./sid/Makefile ] || exit 0; \
7548 r=`${PWD}`; export r; \
7549 s=`cd $(srcdir); ${PWD}`; export s; \
7550 $(SET_LIB_PATH) \
7551 for flag in $(EXTRA_HOST_FLAGS); do \
7552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7553 done; \
7554 echo "Doing install-info in sid" ; \
7555 (cd sid && \
7556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7558 "RANLIB=$${RANLIB}" \
7559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7560 install-info) \
7561 || exit 1
7564 .PHONY: maybe-install-info-sim install-info-sim
7565 maybe-install-info-sim:
7567 install-info-sim: \
7568 configure-sim \
7569 info-sim
7570 @[ -f ./sim/Makefile ] || exit 0; \
7571 r=`${PWD}`; export r; \
7572 s=`cd $(srcdir); ${PWD}`; export s; \
7573 $(SET_LIB_PATH) \
7574 for flag in $(EXTRA_HOST_FLAGS); do \
7575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7576 done; \
7577 echo "Doing install-info in sim" ; \
7578 (cd sim && \
7579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7581 "RANLIB=$${RANLIB}" \
7582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7583 install-info) \
7584 || exit 1
7587 .PHONY: maybe-install-info-tar install-info-tar
7588 maybe-install-info-tar:
7590 install-info-tar: \
7591 configure-tar \
7592 info-tar
7593 @[ -f ./tar/Makefile ] || exit 0; \
7594 r=`${PWD}`; export r; \
7595 s=`cd $(srcdir); ${PWD}`; export s; \
7596 $(SET_LIB_PATH) \
7597 for flag in $(EXTRA_HOST_FLAGS); do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing install-info in tar" ; \
7601 (cd tar && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7606 install-info) \
7607 || exit 1
7610 .PHONY: maybe-install-info-texinfo install-info-texinfo
7611 maybe-install-info-texinfo:
7613 install-info-texinfo: \
7614 configure-texinfo \
7615 info-texinfo
7616 @[ -f ./texinfo/Makefile ] || exit 0; \
7617 r=`${PWD}`; export r; \
7618 s=`cd $(srcdir); ${PWD}`; export s; \
7619 $(SET_LIB_PATH) \
7620 for flag in $(EXTRA_HOST_FLAGS); do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing install-info in texinfo" ; \
7624 (cd texinfo && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 install-info) \
7630 || exit 1
7633 .PHONY: maybe-install-info-textutils install-info-textutils
7634 maybe-install-info-textutils:
7636 install-info-textutils: \
7637 configure-textutils \
7638 info-textutils
7639 @[ -f ./textutils/Makefile ] || exit 0; \
7640 r=`${PWD}`; export r; \
7641 s=`cd $(srcdir); ${PWD}`; export s; \
7642 $(SET_LIB_PATH) \
7643 for flag in $(EXTRA_HOST_FLAGS); do \
7644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7645 done; \
7646 echo "Doing install-info in textutils" ; \
7647 (cd textutils && \
7648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7650 "RANLIB=$${RANLIB}" \
7651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7652 install-info) \
7653 || exit 1
7656 .PHONY: maybe-install-info-time install-info-time
7657 maybe-install-info-time:
7659 install-info-time: \
7660 configure-time \
7661 info-time
7662 @[ -f ./time/Makefile ] || exit 0; \
7663 r=`${PWD}`; export r; \
7664 s=`cd $(srcdir); ${PWD}`; export s; \
7665 $(SET_LIB_PATH) \
7666 for flag in $(EXTRA_HOST_FLAGS); do \
7667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7668 done; \
7669 echo "Doing install-info in time" ; \
7670 (cd time && \
7671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7673 "RANLIB=$${RANLIB}" \
7674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7675 install-info) \
7676 || exit 1
7679 .PHONY: maybe-install-info-uudecode install-info-uudecode
7680 maybe-install-info-uudecode:
7682 install-info-uudecode: \
7683 configure-uudecode \
7684 info-uudecode
7685 @[ -f ./uudecode/Makefile ] || exit 0; \
7686 r=`${PWD}`; export r; \
7687 s=`cd $(srcdir); ${PWD}`; export s; \
7688 $(SET_LIB_PATH) \
7689 for flag in $(EXTRA_HOST_FLAGS); do \
7690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7691 done; \
7692 echo "Doing install-info in uudecode" ; \
7693 (cd uudecode && \
7694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7696 "RANLIB=$${RANLIB}" \
7697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7698 install-info) \
7699 || exit 1
7702 .PHONY: maybe-install-info-wdiff install-info-wdiff
7703 maybe-install-info-wdiff:
7705 install-info-wdiff: \
7706 configure-wdiff \
7707 info-wdiff
7708 @[ -f ./wdiff/Makefile ] || exit 0; \
7709 r=`${PWD}`; export r; \
7710 s=`cd $(srcdir); ${PWD}`; export s; \
7711 $(SET_LIB_PATH) \
7712 for flag in $(EXTRA_HOST_FLAGS); do \
7713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7714 done; \
7715 echo "Doing install-info in wdiff" ; \
7716 (cd wdiff && \
7717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7719 "RANLIB=$${RANLIB}" \
7720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7721 install-info) \
7722 || exit 1
7725 .PHONY: maybe-install-info-zip install-info-zip
7726 maybe-install-info-zip:
7728 install-info-zip: \
7729 configure-zip \
7730 info-zip
7731 @[ -f ./zip/Makefile ] || exit 0; \
7732 r=`${PWD}`; export r; \
7733 s=`cd $(srcdir); ${PWD}`; export s; \
7734 $(SET_LIB_PATH) \
7735 for flag in $(EXTRA_HOST_FLAGS); do \
7736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7737 done; \
7738 echo "Doing install-info in zip" ; \
7739 (cd zip && \
7740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7742 "RANLIB=$${RANLIB}" \
7743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7744 install-info) \
7745 || exit 1
7748 .PHONY: maybe-install-info-zlib install-info-zlib
7749 maybe-install-info-zlib:
7751 install-info-zlib: \
7752 configure-zlib \
7753 info-zlib
7754 @[ -f ./zlib/Makefile ] || exit 0; \
7755 r=`${PWD}`; export r; \
7756 s=`cd $(srcdir); ${PWD}`; export s; \
7757 $(SET_LIB_PATH) \
7758 for flag in $(EXTRA_HOST_FLAGS); do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing install-info in zlib" ; \
7762 (cd zlib && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7767 install-info) \
7768 || exit 1
7771 .PHONY: maybe-install-info-gdb install-info-gdb
7772 maybe-install-info-gdb:
7774 install-info-gdb: \
7775 configure-gdb \
7776 info-gdb
7777 @[ -f ./gdb/Makefile ] || exit 0; \
7778 r=`${PWD}`; export r; \
7779 s=`cd $(srcdir); ${PWD}`; export s; \
7780 $(SET_LIB_PATH) \
7781 for flag in $(EXTRA_HOST_FLAGS); do \
7782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7783 done; \
7784 echo "Doing install-info in gdb" ; \
7785 (cd gdb && \
7786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7788 "RANLIB=$${RANLIB}" \
7789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7790 install-info) \
7791 || exit 1
7794 .PHONY: maybe-install-info-expect install-info-expect
7795 maybe-install-info-expect:
7797 install-info-expect: \
7798 configure-expect \
7799 info-expect
7800 @[ -f ./expect/Makefile ] || exit 0; \
7801 r=`${PWD}`; export r; \
7802 s=`cd $(srcdir); ${PWD}`; export s; \
7803 $(SET_LIB_PATH) \
7804 for flag in $(EXTRA_HOST_FLAGS); do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing install-info in expect" ; \
7808 (cd expect && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7813 install-info) \
7814 || exit 1
7817 .PHONY: maybe-install-info-guile install-info-guile
7818 maybe-install-info-guile:
7820 install-info-guile: \
7821 configure-guile \
7822 info-guile
7823 @[ -f ./guile/Makefile ] || exit 0; \
7824 r=`${PWD}`; export r; \
7825 s=`cd $(srcdir); ${PWD}`; export s; \
7826 $(SET_LIB_PATH) \
7827 for flag in $(EXTRA_HOST_FLAGS); do \
7828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7829 done; \
7830 echo "Doing install-info in guile" ; \
7831 (cd guile && \
7832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7834 "RANLIB=$${RANLIB}" \
7835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7836 install-info) \
7837 || exit 1
7840 .PHONY: maybe-install-info-tk install-info-tk
7841 maybe-install-info-tk:
7843 install-info-tk: \
7844 configure-tk \
7845 info-tk
7846 @[ -f ./tk/Makefile ] || exit 0; \
7847 r=`${PWD}`; export r; \
7848 s=`cd $(srcdir); ${PWD}`; export s; \
7849 $(SET_LIB_PATH) \
7850 for flag in $(EXTRA_HOST_FLAGS); do \
7851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7852 done; \
7853 echo "Doing install-info in tk" ; \
7854 (cd tk && \
7855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7857 "RANLIB=$${RANLIB}" \
7858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7859 install-info) \
7860 || exit 1
7863 .PHONY: maybe-install-info-tix install-info-tix
7864 maybe-install-info-tix:
7866 install-info-tix: \
7867 configure-tix \
7868 info-tix
7869 @[ -f ./tix/Makefile ] || exit 0; \
7870 r=`${PWD}`; export r; \
7871 s=`cd $(srcdir); ${PWD}`; export s; \
7872 $(SET_LIB_PATH) \
7873 for flag in $(EXTRA_HOST_FLAGS); do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing install-info in tix" ; \
7877 (cd tix && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 install-info) \
7883 || exit 1
7886 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
7887 maybe-install-info-libtermcap:
7889 install-info-libtermcap: \
7890 configure-libtermcap \
7891 info-libtermcap
7892 @[ -f ./libtermcap/Makefile ] || exit 0; \
7893 r=`${PWD}`; export r; \
7894 s=`cd $(srcdir); ${PWD}`; export s; \
7895 $(SET_LIB_PATH) \
7896 for flag in $(EXTRA_HOST_FLAGS); do \
7897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7898 done; \
7899 echo "Doing install-info in libtermcap" ; \
7900 (cd libtermcap && \
7901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7903 "RANLIB=$${RANLIB}" \
7904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7905 install-info) \
7906 || exit 1
7909 .PHONY: maybe-install-info-utils install-info-utils
7910 maybe-install-info-utils:
7912 install-info-utils: \
7913 configure-utils \
7914 info-utils
7915 @[ -f ./utils/Makefile ] || exit 0; \
7916 r=`${PWD}`; export r; \
7917 s=`cd $(srcdir); ${PWD}`; export s; \
7918 $(SET_LIB_PATH) \
7919 for flag in $(EXTRA_HOST_FLAGS); do \
7920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7921 done; \
7922 echo "Doing install-info in utils" ; \
7923 (cd utils && \
7924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7926 "RANLIB=$${RANLIB}" \
7927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7928 install-info) \
7929 || exit 1
7933 # Target modules.
7935 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
7936 maybe-install-info-target-libstdc++-v3:
7938 install-info-target-libstdc++-v3: \
7939 configure-target-libstdc++-v3 \
7940 info-target-libstdc++-v3
7941 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
7942 r=`${PWD}`; export r; \
7943 s=`cd $(srcdir); ${PWD}`; export s; \
7944 $(SET_LIB_PATH) \
7945 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
7946 for flag in $(EXTRA_TARGET_FLAGS); do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
7950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7952 "RANLIB=$${RANLIB}" \
7953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7954 install-info) \
7955 || exit 1
7958 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
7959 maybe-install-info-target-newlib:
7961 install-info-target-newlib: \
7962 configure-target-newlib \
7963 info-target-newlib
7964 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
7965 r=`${PWD}`; export r; \
7966 s=`cd $(srcdir); ${PWD}`; export s; \
7967 $(SET_LIB_PATH) \
7968 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
7969 for flag in $(EXTRA_TARGET_FLAGS); do \
7970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7971 done; \
7972 (cd $(TARGET_SUBDIR)/newlib && \
7973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7975 "RANLIB=$${RANLIB}" \
7976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7977 install-info) \
7978 || exit 1
7981 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
7982 maybe-install-info-target-libf2c:
7984 install-info-target-libf2c: \
7985 configure-target-libf2c \
7986 info-target-libf2c
7987 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
7988 r=`${PWD}`; export r; \
7989 s=`cd $(srcdir); ${PWD}`; export s; \
7990 $(SET_LIB_PATH) \
7991 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
7992 for flag in $(EXTRA_TARGET_FLAGS); do \
7993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7994 done; \
7995 (cd $(TARGET_SUBDIR)/libf2c && \
7996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7998 "RANLIB=$${RANLIB}" \
7999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8000 install-info) \
8001 || exit 1
8004 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
8005 maybe-install-info-target-libobjc:
8007 install-info-target-libobjc: \
8008 configure-target-libobjc \
8009 info-target-libobjc
8010 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8011 r=`${PWD}`; export r; \
8012 s=`cd $(srcdir); ${PWD}`; export s; \
8013 $(SET_LIB_PATH) \
8014 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
8015 for flag in $(EXTRA_TARGET_FLAGS); do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 (cd $(TARGET_SUBDIR)/libobjc && \
8019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021 "RANLIB=$${RANLIB}" \
8022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8023 install-info) \
8024 || exit 1
8027 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
8028 maybe-install-info-target-libtermcap:
8030 install-info-target-libtermcap: \
8031 configure-target-libtermcap \
8032 info-target-libtermcap
8033 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8034 r=`${PWD}`; export r; \
8035 s=`cd $(srcdir); ${PWD}`; export s; \
8036 $(SET_LIB_PATH) \
8037 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
8038 for flag in $(EXTRA_TARGET_FLAGS); do \
8039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8040 done; \
8041 (cd $(TARGET_SUBDIR)/libtermcap && \
8042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8044 "RANLIB=$${RANLIB}" \
8045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8046 install-info) \
8047 || exit 1
8050 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
8051 maybe-install-info-target-winsup:
8053 install-info-target-winsup: \
8054 configure-target-winsup \
8055 info-target-winsup
8056 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8057 r=`${PWD}`; export r; \
8058 s=`cd $(srcdir); ${PWD}`; export s; \
8059 $(SET_LIB_PATH) \
8060 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
8061 for flag in $(EXTRA_TARGET_FLAGS); do \
8062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8063 done; \
8064 (cd $(TARGET_SUBDIR)/winsup && \
8065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8067 "RANLIB=$${RANLIB}" \
8068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8069 install-info) \
8070 || exit 1
8073 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
8074 maybe-install-info-target-libgloss:
8076 install-info-target-libgloss: \
8077 configure-target-libgloss \
8078 info-target-libgloss
8079 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8080 r=`${PWD}`; export r; \
8081 s=`cd $(srcdir); ${PWD}`; export s; \
8082 $(SET_LIB_PATH) \
8083 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
8084 for flag in $(EXTRA_TARGET_FLAGS); do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086 done; \
8087 (cd $(TARGET_SUBDIR)/libgloss && \
8088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8090 "RANLIB=$${RANLIB}" \
8091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8092 install-info) \
8093 || exit 1
8096 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
8097 maybe-install-info-target-libiberty:
8099 install-info-target-libiberty: \
8100 configure-target-libiberty \
8101 info-target-libiberty
8102 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8103 r=`${PWD}`; export r; \
8104 s=`cd $(srcdir); ${PWD}`; export s; \
8105 $(SET_LIB_PATH) \
8106 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
8107 for flag in $(EXTRA_TARGET_FLAGS); do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 (cd $(TARGET_SUBDIR)/libiberty && \
8111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8113 "RANLIB=$${RANLIB}" \
8114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8115 install-info) \
8116 || exit 1
8119 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
8120 maybe-install-info-target-gperf:
8122 install-info-target-gperf: \
8123 configure-target-gperf \
8124 info-target-gperf
8125 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8126 r=`${PWD}`; export r; \
8127 s=`cd $(srcdir); ${PWD}`; export s; \
8128 $(SET_LIB_PATH) \
8129 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
8130 for flag in $(EXTRA_TARGET_FLAGS); do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 done; \
8133 (cd $(TARGET_SUBDIR)/gperf && \
8134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8136 "RANLIB=$${RANLIB}" \
8137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8138 install-info) \
8139 || exit 1
8142 .PHONY: maybe-install-info-target-examples install-info-target-examples
8143 maybe-install-info-target-examples:
8145 install-info-target-examples: \
8146 configure-target-examples \
8147 info-target-examples
8148 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8149 r=`${PWD}`; export r; \
8150 s=`cd $(srcdir); ${PWD}`; export s; \
8151 $(SET_LIB_PATH) \
8152 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
8153 for flag in $(EXTRA_TARGET_FLAGS); do \
8154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8155 done; \
8156 (cd $(TARGET_SUBDIR)/examples && \
8157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8159 "RANLIB=$${RANLIB}" \
8160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8161 install-info) \
8162 || exit 1
8165 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
8166 maybe-install-info-target-libffi:
8168 install-info-target-libffi: \
8169 configure-target-libffi \
8170 info-target-libffi
8171 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8172 r=`${PWD}`; export r; \
8173 s=`cd $(srcdir); ${PWD}`; export s; \
8174 $(SET_LIB_PATH) \
8175 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
8176 for flag in $(EXTRA_TARGET_FLAGS); do \
8177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 done; \
8179 (cd $(TARGET_SUBDIR)/libffi && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8184 install-info) \
8185 || exit 1
8188 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
8189 maybe-install-info-target-libjava:
8191 install-info-target-libjava: \
8192 configure-target-libjava \
8193 info-target-libjava
8194 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8195 r=`${PWD}`; export r; \
8196 s=`cd $(srcdir); ${PWD}`; export s; \
8197 $(SET_LIB_PATH) \
8198 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
8199 for flag in $(EXTRA_TARGET_FLAGS); do \
8200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8201 done; \
8202 (cd $(TARGET_SUBDIR)/libjava && \
8203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8205 "RANLIB=$${RANLIB}" \
8206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8207 install-info) \
8208 || exit 1
8211 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
8212 maybe-install-info-target-zlib:
8214 install-info-target-zlib: \
8215 configure-target-zlib \
8216 info-target-zlib
8217 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8218 r=`${PWD}`; export r; \
8219 s=`cd $(srcdir); ${PWD}`; export s; \
8220 $(SET_LIB_PATH) \
8221 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
8222 for flag in $(EXTRA_TARGET_FLAGS); do \
8223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8224 done; \
8225 (cd $(TARGET_SUBDIR)/zlib && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8230 install-info) \
8231 || exit 1
8234 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
8235 maybe-install-info-target-boehm-gc:
8237 install-info-target-boehm-gc: \
8238 configure-target-boehm-gc \
8239 info-target-boehm-gc
8240 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8241 r=`${PWD}`; export r; \
8242 s=`cd $(srcdir); ${PWD}`; export s; \
8243 $(SET_LIB_PATH) \
8244 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
8245 for flag in $(EXTRA_TARGET_FLAGS); do \
8246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8247 done; \
8248 (cd $(TARGET_SUBDIR)/boehm-gc && \
8249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8251 "RANLIB=$${RANLIB}" \
8252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8253 install-info) \
8254 || exit 1
8257 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
8258 maybe-install-info-target-qthreads:
8260 install-info-target-qthreads: \
8261 configure-target-qthreads \
8262 info-target-qthreads
8263 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8264 r=`${PWD}`; export r; \
8265 s=`cd $(srcdir); ${PWD}`; export s; \
8266 $(SET_LIB_PATH) \
8267 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
8268 for flag in $(EXTRA_TARGET_FLAGS); do \
8269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8270 done; \
8271 (cd $(TARGET_SUBDIR)/qthreads && \
8272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8274 "RANLIB=$${RANLIB}" \
8275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8276 install-info) \
8277 || exit 1
8280 .PHONY: maybe-install-info-target-rda install-info-target-rda
8281 maybe-install-info-target-rda:
8283 install-info-target-rda: \
8284 configure-target-rda \
8285 info-target-rda
8286 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8287 r=`${PWD}`; export r; \
8288 s=`cd $(srcdir); ${PWD}`; export s; \
8289 $(SET_LIB_PATH) \
8290 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
8291 for flag in $(EXTRA_TARGET_FLAGS); do \
8292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8293 done; \
8294 (cd $(TARGET_SUBDIR)/rda && \
8295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8297 "RANLIB=$${RANLIB}" \
8298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8299 install-info) \
8300 || exit 1
8304 .PHONY: do-installcheck
8305 do-installcheck: installcheck-host installcheck-target
8307 .PHONY: installcheck-host
8308 installcheck-host: maybe-installcheck-gcc \
8309 maybe-installcheck-ash \
8310 maybe-installcheck-autoconf \
8311 maybe-installcheck-automake \
8312 maybe-installcheck-bash \
8313 maybe-installcheck-bfd \
8314 maybe-installcheck-opcodes \
8315 maybe-installcheck-binutils \
8316 maybe-installcheck-bison \
8317 maybe-installcheck-byacc \
8318 maybe-installcheck-bzip2 \
8319 maybe-installcheck-dejagnu \
8320 maybe-installcheck-diff \
8321 maybe-installcheck-dosutils \
8322 maybe-installcheck-etc \
8323 maybe-installcheck-fastjar \
8324 maybe-installcheck-fileutils \
8325 maybe-installcheck-findutils \
8326 maybe-installcheck-find \
8327 maybe-installcheck-flex \
8328 maybe-installcheck-gas \
8329 maybe-installcheck-gawk \
8330 maybe-installcheck-gettext \
8331 maybe-installcheck-gnuserv \
8332 maybe-installcheck-gprof \
8333 maybe-installcheck-gzip \
8334 maybe-installcheck-hello \
8335 maybe-installcheck-indent \
8336 maybe-installcheck-intl \
8337 maybe-installcheck-tcl \
8338 maybe-installcheck-itcl \
8339 maybe-installcheck-ld \
8340 maybe-installcheck-libgui \
8341 maybe-installcheck-libiberty \
8342 maybe-installcheck-libtool \
8343 maybe-installcheck-m4 \
8344 maybe-installcheck-make \
8345 maybe-installcheck-mmalloc \
8346 maybe-installcheck-patch \
8347 maybe-installcheck-perl \
8348 maybe-installcheck-prms \
8349 maybe-installcheck-rcs \
8350 maybe-installcheck-readline \
8351 maybe-installcheck-release \
8352 maybe-installcheck-recode \
8353 maybe-installcheck-sed \
8354 maybe-installcheck-send-pr \
8355 maybe-installcheck-shellutils \
8356 maybe-installcheck-sid \
8357 maybe-installcheck-sim \
8358 maybe-installcheck-tar \
8359 maybe-installcheck-texinfo \
8360 maybe-installcheck-textutils \
8361 maybe-installcheck-time \
8362 maybe-installcheck-uudecode \
8363 maybe-installcheck-wdiff \
8364 maybe-installcheck-zip \
8365 maybe-installcheck-zlib \
8366 maybe-installcheck-gdb \
8367 maybe-installcheck-expect \
8368 maybe-installcheck-guile \
8369 maybe-installcheck-tk \
8370 maybe-installcheck-tix \
8371 maybe-installcheck-libtermcap \
8372 maybe-installcheck-utils
8374 .PHONY: installcheck-target
8375 installcheck-target: \
8376 maybe-installcheck-target-libstdc++-v3 \
8377 maybe-installcheck-target-newlib \
8378 maybe-installcheck-target-libf2c \
8379 maybe-installcheck-target-libobjc \
8380 maybe-installcheck-target-libtermcap \
8381 maybe-installcheck-target-winsup \
8382 maybe-installcheck-target-libgloss \
8383 maybe-installcheck-target-libiberty \
8384 maybe-installcheck-target-gperf \
8385 maybe-installcheck-target-examples \
8386 maybe-installcheck-target-libffi \
8387 maybe-installcheck-target-libjava \
8388 maybe-installcheck-target-zlib \
8389 maybe-installcheck-target-boehm-gc \
8390 maybe-installcheck-target-qthreads \
8391 maybe-installcheck-target-rda
8393 # GCC, the eternal special case
8394 .PHONY: maybe-installcheck-gcc installcheck-gcc
8395 maybe-installcheck-gcc:
8396 installcheck-gcc: \
8397 configure-gcc
8398 @[ -f ./gcc/Makefile ] || exit 0; \
8399 r=`${PWD}`; export r; \
8400 s=`cd $(srcdir); ${PWD}`; export s; \
8401 $(SET_LIB_PATH) \
8402 for flag in $(EXTRA_GCC_FLAGS); do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8404 done; \
8405 echo "Doing installcheck in gcc" ; \
8406 (cd gcc && \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 installcheck) \
8412 || exit 1
8414 # Host modules.
8416 .PHONY: maybe-installcheck-ash installcheck-ash
8417 maybe-installcheck-ash:
8419 installcheck-ash: \
8420 configure-ash
8421 @[ -f ./ash/Makefile ] || exit 0; \
8422 r=`${PWD}`; export r; \
8423 s=`cd $(srcdir); ${PWD}`; export s; \
8424 $(SET_LIB_PATH) \
8425 for flag in $(EXTRA_HOST_FLAGS); do \
8426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8427 done; \
8428 echo "Doing installcheck in ash" ; \
8429 (cd ash && \
8430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8432 "RANLIB=$${RANLIB}" \
8433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8434 installcheck) \
8435 || exit 1
8438 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
8439 maybe-installcheck-autoconf:
8441 installcheck-autoconf: \
8442 configure-autoconf
8443 @[ -f ./autoconf/Makefile ] || exit 0; \
8444 r=`${PWD}`; export r; \
8445 s=`cd $(srcdir); ${PWD}`; export s; \
8446 $(SET_LIB_PATH) \
8447 for flag in $(EXTRA_HOST_FLAGS); do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 done; \
8450 echo "Doing installcheck in autoconf" ; \
8451 (cd autoconf && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 installcheck) \
8457 || exit 1
8460 .PHONY: maybe-installcheck-automake installcheck-automake
8461 maybe-installcheck-automake:
8463 installcheck-automake: \
8464 configure-automake
8465 @[ -f ./automake/Makefile ] || exit 0; \
8466 r=`${PWD}`; export r; \
8467 s=`cd $(srcdir); ${PWD}`; export s; \
8468 $(SET_LIB_PATH) \
8469 for flag in $(EXTRA_HOST_FLAGS); do \
8470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8471 done; \
8472 echo "Doing installcheck in automake" ; \
8473 (cd automake && \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476 "RANLIB=$${RANLIB}" \
8477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8478 installcheck) \
8479 || exit 1
8482 .PHONY: maybe-installcheck-bash installcheck-bash
8483 maybe-installcheck-bash:
8485 installcheck-bash: \
8486 configure-bash
8487 @[ -f ./bash/Makefile ] || exit 0; \
8488 r=`${PWD}`; export r; \
8489 s=`cd $(srcdir); ${PWD}`; export s; \
8490 $(SET_LIB_PATH) \
8491 for flag in $(EXTRA_HOST_FLAGS); do \
8492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8493 done; \
8494 echo "Doing installcheck in bash" ; \
8495 (cd bash && \
8496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8498 "RANLIB=$${RANLIB}" \
8499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8500 installcheck) \
8501 || exit 1
8504 .PHONY: maybe-installcheck-bfd installcheck-bfd
8505 maybe-installcheck-bfd:
8507 installcheck-bfd: \
8508 configure-bfd
8509 @[ -f ./bfd/Makefile ] || exit 0; \
8510 r=`${PWD}`; export r; \
8511 s=`cd $(srcdir); ${PWD}`; export s; \
8512 $(SET_LIB_PATH) \
8513 for flag in $(EXTRA_HOST_FLAGS); do \
8514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8515 done; \
8516 echo "Doing installcheck in bfd" ; \
8517 (cd bfd && \
8518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8520 "RANLIB=$${RANLIB}" \
8521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8522 installcheck) \
8523 || exit 1
8526 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
8527 maybe-installcheck-opcodes:
8529 installcheck-opcodes: \
8530 configure-opcodes
8531 @[ -f ./opcodes/Makefile ] || exit 0; \
8532 r=`${PWD}`; export r; \
8533 s=`cd $(srcdir); ${PWD}`; export s; \
8534 $(SET_LIB_PATH) \
8535 for flag in $(EXTRA_HOST_FLAGS); do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 done; \
8538 echo "Doing installcheck in opcodes" ; \
8539 (cd opcodes && \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8544 installcheck) \
8545 || exit 1
8548 .PHONY: maybe-installcheck-binutils installcheck-binutils
8549 maybe-installcheck-binutils:
8551 installcheck-binutils: \
8552 configure-binutils
8553 @[ -f ./binutils/Makefile ] || exit 0; \
8554 r=`${PWD}`; export r; \
8555 s=`cd $(srcdir); ${PWD}`; export s; \
8556 $(SET_LIB_PATH) \
8557 for flag in $(EXTRA_HOST_FLAGS); do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8559 done; \
8560 echo "Doing installcheck in binutils" ; \
8561 (cd binutils && \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8566 installcheck) \
8567 || exit 1
8570 .PHONY: maybe-installcheck-bison installcheck-bison
8571 maybe-installcheck-bison:
8573 installcheck-bison: \
8574 configure-bison
8575 @[ -f ./bison/Makefile ] || exit 0; \
8576 r=`${PWD}`; export r; \
8577 s=`cd $(srcdir); ${PWD}`; export s; \
8578 $(SET_LIB_PATH) \
8579 for flag in $(EXTRA_HOST_FLAGS); do \
8580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 done; \
8582 echo "Doing installcheck in bison" ; \
8583 (cd bison && \
8584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8586 "RANLIB=$${RANLIB}" \
8587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8588 installcheck) \
8589 || exit 1
8592 .PHONY: maybe-installcheck-byacc installcheck-byacc
8593 maybe-installcheck-byacc:
8595 installcheck-byacc: \
8596 configure-byacc
8597 @[ -f ./byacc/Makefile ] || exit 0; \
8598 r=`${PWD}`; export r; \
8599 s=`cd $(srcdir); ${PWD}`; export s; \
8600 $(SET_LIB_PATH) \
8601 for flag in $(EXTRA_HOST_FLAGS); do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing installcheck in byacc" ; \
8605 (cd byacc && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 installcheck) \
8611 || exit 1
8614 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8615 maybe-installcheck-bzip2:
8617 installcheck-bzip2: \
8618 configure-bzip2
8619 @[ -f ./bzip2/Makefile ] || exit 0; \
8620 r=`${PWD}`; export r; \
8621 s=`cd $(srcdir); ${PWD}`; export s; \
8622 $(SET_LIB_PATH) \
8623 for flag in $(EXTRA_HOST_FLAGS); do \
8624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8625 done; \
8626 echo "Doing installcheck in bzip2" ; \
8627 (cd bzip2 && \
8628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8630 "RANLIB=$${RANLIB}" \
8631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8632 installcheck) \
8633 || exit 1
8636 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8637 maybe-installcheck-dejagnu:
8639 installcheck-dejagnu: \
8640 configure-dejagnu
8641 @[ -f ./dejagnu/Makefile ] || exit 0; \
8642 r=`${PWD}`; export r; \
8643 s=`cd $(srcdir); ${PWD}`; export s; \
8644 $(SET_LIB_PATH) \
8645 for flag in $(EXTRA_HOST_FLAGS); do \
8646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8647 done; \
8648 echo "Doing installcheck in dejagnu" ; \
8649 (cd dejagnu && \
8650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8652 "RANLIB=$${RANLIB}" \
8653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8654 installcheck) \
8655 || exit 1
8658 .PHONY: maybe-installcheck-diff installcheck-diff
8659 maybe-installcheck-diff:
8661 installcheck-diff: \
8662 configure-diff
8663 @[ -f ./diff/Makefile ] || exit 0; \
8664 r=`${PWD}`; export r; \
8665 s=`cd $(srcdir); ${PWD}`; export s; \
8666 $(SET_LIB_PATH) \
8667 for flag in $(EXTRA_HOST_FLAGS); do \
8668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8669 done; \
8670 echo "Doing installcheck in diff" ; \
8671 (cd diff && \
8672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8674 "RANLIB=$${RANLIB}" \
8675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8676 installcheck) \
8677 || exit 1
8680 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8681 maybe-installcheck-dosutils:
8683 installcheck-dosutils: \
8684 configure-dosutils
8685 @[ -f ./dosutils/Makefile ] || exit 0; \
8686 r=`${PWD}`; export r; \
8687 s=`cd $(srcdir); ${PWD}`; export s; \
8688 $(SET_LIB_PATH) \
8689 for flag in $(EXTRA_HOST_FLAGS); do \
8690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8691 done; \
8692 echo "Doing installcheck in dosutils" ; \
8693 (cd dosutils && \
8694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8696 "RANLIB=$${RANLIB}" \
8697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8698 installcheck) \
8699 || exit 1
8702 .PHONY: maybe-installcheck-etc installcheck-etc
8703 maybe-installcheck-etc:
8705 installcheck-etc: \
8706 configure-etc
8707 @[ -f ./etc/Makefile ] || exit 0; \
8708 r=`${PWD}`; export r; \
8709 s=`cd $(srcdir); ${PWD}`; export s; \
8710 $(SET_LIB_PATH) \
8711 for flag in $(EXTRA_HOST_FLAGS); do \
8712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8713 done; \
8714 echo "Doing installcheck in etc" ; \
8715 (cd etc && \
8716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8718 "RANLIB=$${RANLIB}" \
8719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8720 installcheck) \
8721 || exit 1
8724 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8725 maybe-installcheck-fastjar:
8727 installcheck-fastjar: \
8728 configure-fastjar
8729 @[ -f ./fastjar/Makefile ] || exit 0; \
8730 r=`${PWD}`; export r; \
8731 s=`cd $(srcdir); ${PWD}`; export s; \
8732 $(SET_LIB_PATH) \
8733 for flag in $(EXTRA_HOST_FLAGS); do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8735 done; \
8736 echo "Doing installcheck in fastjar" ; \
8737 (cd fastjar && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8742 installcheck) \
8743 || exit 1
8746 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8747 maybe-installcheck-fileutils:
8749 installcheck-fileutils: \
8750 configure-fileutils
8751 @[ -f ./fileutils/Makefile ] || exit 0; \
8752 r=`${PWD}`; export r; \
8753 s=`cd $(srcdir); ${PWD}`; export s; \
8754 $(SET_LIB_PATH) \
8755 for flag in $(EXTRA_HOST_FLAGS); do \
8756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8757 done; \
8758 echo "Doing installcheck in fileutils" ; \
8759 (cd fileutils && \
8760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8762 "RANLIB=$${RANLIB}" \
8763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8764 installcheck) \
8765 || exit 1
8768 .PHONY: maybe-installcheck-findutils installcheck-findutils
8769 maybe-installcheck-findutils:
8771 installcheck-findutils: \
8772 configure-findutils
8773 @[ -f ./findutils/Makefile ] || exit 0; \
8774 r=`${PWD}`; export r; \
8775 s=`cd $(srcdir); ${PWD}`; export s; \
8776 $(SET_LIB_PATH) \
8777 for flag in $(EXTRA_HOST_FLAGS); do \
8778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8779 done; \
8780 echo "Doing installcheck in findutils" ; \
8781 (cd findutils && \
8782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8784 "RANLIB=$${RANLIB}" \
8785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8786 installcheck) \
8787 || exit 1
8790 .PHONY: maybe-installcheck-find installcheck-find
8791 maybe-installcheck-find:
8793 installcheck-find: \
8794 configure-find
8795 @[ -f ./find/Makefile ] || exit 0; \
8796 r=`${PWD}`; export r; \
8797 s=`cd $(srcdir); ${PWD}`; export s; \
8798 $(SET_LIB_PATH) \
8799 for flag in $(EXTRA_HOST_FLAGS); do \
8800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8801 done; \
8802 echo "Doing installcheck in find" ; \
8803 (cd find && \
8804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8806 "RANLIB=$${RANLIB}" \
8807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8808 installcheck) \
8809 || exit 1
8812 .PHONY: maybe-installcheck-flex installcheck-flex
8813 maybe-installcheck-flex:
8815 installcheck-flex: \
8816 configure-flex
8817 @[ -f ./flex/Makefile ] || exit 0; \
8818 r=`${PWD}`; export r; \
8819 s=`cd $(srcdir); ${PWD}`; export s; \
8820 $(SET_LIB_PATH) \
8821 for flag in $(EXTRA_HOST_FLAGS); do \
8822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8823 done; \
8824 echo "Doing installcheck in flex" ; \
8825 (cd flex && \
8826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8828 "RANLIB=$${RANLIB}" \
8829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8830 installcheck) \
8831 || exit 1
8834 .PHONY: maybe-installcheck-gas installcheck-gas
8835 maybe-installcheck-gas:
8837 installcheck-gas: \
8838 configure-gas
8839 @[ -f ./gas/Makefile ] || exit 0; \
8840 r=`${PWD}`; export r; \
8841 s=`cd $(srcdir); ${PWD}`; export s; \
8842 $(SET_LIB_PATH) \
8843 for flag in $(EXTRA_HOST_FLAGS); do \
8844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8845 done; \
8846 echo "Doing installcheck in gas" ; \
8847 (cd gas && \
8848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8850 "RANLIB=$${RANLIB}" \
8851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8852 installcheck) \
8853 || exit 1
8856 .PHONY: maybe-installcheck-gawk installcheck-gawk
8857 maybe-installcheck-gawk:
8859 installcheck-gawk: \
8860 configure-gawk
8861 @[ -f ./gawk/Makefile ] || exit 0; \
8862 r=`${PWD}`; export r; \
8863 s=`cd $(srcdir); ${PWD}`; export s; \
8864 $(SET_LIB_PATH) \
8865 for flag in $(EXTRA_HOST_FLAGS); do \
8866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867 done; \
8868 echo "Doing installcheck in gawk" ; \
8869 (cd gawk && \
8870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872 "RANLIB=$${RANLIB}" \
8873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8874 installcheck) \
8875 || exit 1
8878 .PHONY: maybe-installcheck-gettext installcheck-gettext
8879 maybe-installcheck-gettext:
8881 installcheck-gettext: \
8882 configure-gettext
8883 @[ -f ./gettext/Makefile ] || exit 0; \
8884 r=`${PWD}`; export r; \
8885 s=`cd $(srcdir); ${PWD}`; export s; \
8886 $(SET_LIB_PATH) \
8887 for flag in $(EXTRA_HOST_FLAGS); do \
8888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8889 done; \
8890 echo "Doing installcheck in gettext" ; \
8891 (cd gettext && \
8892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8894 "RANLIB=$${RANLIB}" \
8895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8896 installcheck) \
8897 || exit 1
8900 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8901 maybe-installcheck-gnuserv:
8903 installcheck-gnuserv: \
8904 configure-gnuserv
8905 @[ -f ./gnuserv/Makefile ] || exit 0; \
8906 r=`${PWD}`; export r; \
8907 s=`cd $(srcdir); ${PWD}`; export s; \
8908 $(SET_LIB_PATH) \
8909 for flag in $(EXTRA_HOST_FLAGS); do \
8910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8911 done; \
8912 echo "Doing installcheck in gnuserv" ; \
8913 (cd gnuserv && \
8914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8916 "RANLIB=$${RANLIB}" \
8917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8918 installcheck) \
8919 || exit 1
8922 .PHONY: maybe-installcheck-gprof installcheck-gprof
8923 maybe-installcheck-gprof:
8925 installcheck-gprof: \
8926 configure-gprof
8927 @[ -f ./gprof/Makefile ] || exit 0; \
8928 r=`${PWD}`; export r; \
8929 s=`cd $(srcdir); ${PWD}`; export s; \
8930 $(SET_LIB_PATH) \
8931 for flag in $(EXTRA_HOST_FLAGS); do \
8932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8933 done; \
8934 echo "Doing installcheck in gprof" ; \
8935 (cd gprof && \
8936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8938 "RANLIB=$${RANLIB}" \
8939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8940 installcheck) \
8941 || exit 1
8944 .PHONY: maybe-installcheck-gzip installcheck-gzip
8945 maybe-installcheck-gzip:
8947 installcheck-gzip: \
8948 configure-gzip
8949 @[ -f ./gzip/Makefile ] || exit 0; \
8950 r=`${PWD}`; export r; \
8951 s=`cd $(srcdir); ${PWD}`; export s; \
8952 $(SET_LIB_PATH) \
8953 for flag in $(EXTRA_HOST_FLAGS); do \
8954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 done; \
8956 echo "Doing installcheck in gzip" ; \
8957 (cd gzip && \
8958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8960 "RANLIB=$${RANLIB}" \
8961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8962 installcheck) \
8963 || exit 1
8966 .PHONY: maybe-installcheck-hello installcheck-hello
8967 maybe-installcheck-hello:
8969 installcheck-hello: \
8970 configure-hello
8971 @[ -f ./hello/Makefile ] || exit 0; \
8972 r=`${PWD}`; export r; \
8973 s=`cd $(srcdir); ${PWD}`; export s; \
8974 $(SET_LIB_PATH) \
8975 for flag in $(EXTRA_HOST_FLAGS); do \
8976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8977 done; \
8978 echo "Doing installcheck in hello" ; \
8979 (cd hello && \
8980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8982 "RANLIB=$${RANLIB}" \
8983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8984 installcheck) \
8985 || exit 1
8988 .PHONY: maybe-installcheck-indent installcheck-indent
8989 maybe-installcheck-indent:
8991 installcheck-indent: \
8992 configure-indent
8993 @[ -f ./indent/Makefile ] || exit 0; \
8994 r=`${PWD}`; export r; \
8995 s=`cd $(srcdir); ${PWD}`; export s; \
8996 $(SET_LIB_PATH) \
8997 for flag in $(EXTRA_HOST_FLAGS); do \
8998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8999 done; \
9000 echo "Doing installcheck in indent" ; \
9001 (cd indent && \
9002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9004 "RANLIB=$${RANLIB}" \
9005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9006 installcheck) \
9007 || exit 1
9010 .PHONY: maybe-installcheck-intl installcheck-intl
9011 maybe-installcheck-intl:
9013 installcheck-intl: \
9014 configure-intl
9015 @[ -f ./intl/Makefile ] || exit 0; \
9016 r=`${PWD}`; export r; \
9017 s=`cd $(srcdir); ${PWD}`; export s; \
9018 $(SET_LIB_PATH) \
9019 for flag in $(EXTRA_HOST_FLAGS); do \
9020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9021 done; \
9022 echo "Doing installcheck in intl" ; \
9023 (cd intl && \
9024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9026 "RANLIB=$${RANLIB}" \
9027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9028 installcheck) \
9029 || exit 1
9032 .PHONY: maybe-installcheck-tcl installcheck-tcl
9033 maybe-installcheck-tcl:
9035 installcheck-tcl: \
9036 configure-tcl
9037 @[ -f ./tcl/Makefile ] || exit 0; \
9038 r=`${PWD}`; export r; \
9039 s=`cd $(srcdir); ${PWD}`; export s; \
9040 $(SET_LIB_PATH) \
9041 for flag in $(EXTRA_HOST_FLAGS); do \
9042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9043 done; \
9044 echo "Doing installcheck in tcl" ; \
9045 (cd tcl && \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9048 "RANLIB=$${RANLIB}" \
9049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9050 installcheck) \
9051 || exit 1
9054 .PHONY: maybe-installcheck-itcl installcheck-itcl
9055 maybe-installcheck-itcl:
9057 installcheck-itcl: \
9058 configure-itcl
9059 @[ -f ./itcl/Makefile ] || exit 0; \
9060 r=`${PWD}`; export r; \
9061 s=`cd $(srcdir); ${PWD}`; export s; \
9062 $(SET_LIB_PATH) \
9063 for flag in $(EXTRA_HOST_FLAGS); do \
9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9065 done; \
9066 echo "Doing installcheck in itcl" ; \
9067 (cd itcl && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9070 "RANLIB=$${RANLIB}" \
9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9072 installcheck) \
9073 || exit 1
9076 .PHONY: maybe-installcheck-ld installcheck-ld
9077 maybe-installcheck-ld:
9079 installcheck-ld: \
9080 configure-ld
9081 @[ -f ./ld/Makefile ] || exit 0; \
9082 r=`${PWD}`; export r; \
9083 s=`cd $(srcdir); ${PWD}`; export s; \
9084 $(SET_LIB_PATH) \
9085 for flag in $(EXTRA_HOST_FLAGS); do \
9086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9087 done; \
9088 echo "Doing installcheck in ld" ; \
9089 (cd ld && \
9090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9092 "RANLIB=$${RANLIB}" \
9093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9094 installcheck) \
9095 || exit 1
9098 .PHONY: maybe-installcheck-libgui installcheck-libgui
9099 maybe-installcheck-libgui:
9101 installcheck-libgui: \
9102 configure-libgui
9103 @[ -f ./libgui/Makefile ] || exit 0; \
9104 r=`${PWD}`; export r; \
9105 s=`cd $(srcdir); ${PWD}`; export s; \
9106 $(SET_LIB_PATH) \
9107 for flag in $(EXTRA_HOST_FLAGS); do \
9108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9109 done; \
9110 echo "Doing installcheck in libgui" ; \
9111 (cd libgui && \
9112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9114 "RANLIB=$${RANLIB}" \
9115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9116 installcheck) \
9117 || exit 1
9120 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
9121 maybe-installcheck-libiberty:
9123 installcheck-libiberty: \
9124 configure-libiberty
9125 @[ -f ./libiberty/Makefile ] || exit 0; \
9126 r=`${PWD}`; export r; \
9127 s=`cd $(srcdir); ${PWD}`; export s; \
9128 $(SET_LIB_PATH) \
9129 for flag in $(EXTRA_HOST_FLAGS); do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131 done; \
9132 echo "Doing installcheck in libiberty" ; \
9133 (cd libiberty && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9138 installcheck) \
9139 || exit 1
9142 .PHONY: maybe-installcheck-libtool installcheck-libtool
9143 maybe-installcheck-libtool:
9145 installcheck-libtool: \
9146 configure-libtool
9147 @[ -f ./libtool/Makefile ] || exit 0; \
9148 r=`${PWD}`; export r; \
9149 s=`cd $(srcdir); ${PWD}`; export s; \
9150 $(SET_LIB_PATH) \
9151 for flag in $(EXTRA_HOST_FLAGS); do \
9152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9153 done; \
9154 echo "Doing installcheck in libtool" ; \
9155 (cd libtool && \
9156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9158 "RANLIB=$${RANLIB}" \
9159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9160 installcheck) \
9161 || exit 1
9164 .PHONY: maybe-installcheck-m4 installcheck-m4
9165 maybe-installcheck-m4:
9167 installcheck-m4: \
9168 configure-m4
9169 @[ -f ./m4/Makefile ] || exit 0; \
9170 r=`${PWD}`; export r; \
9171 s=`cd $(srcdir); ${PWD}`; export s; \
9172 $(SET_LIB_PATH) \
9173 for flag in $(EXTRA_HOST_FLAGS); do \
9174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9175 done; \
9176 echo "Doing installcheck in m4" ; \
9177 (cd m4 && \
9178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9180 "RANLIB=$${RANLIB}" \
9181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9182 installcheck) \
9183 || exit 1
9186 .PHONY: maybe-installcheck-make installcheck-make
9187 maybe-installcheck-make:
9189 installcheck-make: \
9190 configure-make
9191 @[ -f ./make/Makefile ] || exit 0; \
9192 r=`${PWD}`; export r; \
9193 s=`cd $(srcdir); ${PWD}`; export s; \
9194 $(SET_LIB_PATH) \
9195 for flag in $(EXTRA_HOST_FLAGS); do \
9196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9197 done; \
9198 echo "Doing installcheck in make" ; \
9199 (cd make && \
9200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9202 "RANLIB=$${RANLIB}" \
9203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9204 installcheck) \
9205 || exit 1
9208 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
9209 maybe-installcheck-mmalloc:
9211 installcheck-mmalloc: \
9212 configure-mmalloc
9213 @[ -f ./mmalloc/Makefile ] || exit 0; \
9214 r=`${PWD}`; export r; \
9215 s=`cd $(srcdir); ${PWD}`; export s; \
9216 $(SET_LIB_PATH) \
9217 for flag in $(EXTRA_HOST_FLAGS); do \
9218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9219 done; \
9220 echo "Doing installcheck in mmalloc" ; \
9221 (cd mmalloc && \
9222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9224 "RANLIB=$${RANLIB}" \
9225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9226 installcheck) \
9227 || exit 1
9230 .PHONY: maybe-installcheck-patch installcheck-patch
9231 maybe-installcheck-patch:
9233 installcheck-patch: \
9234 configure-patch
9235 @[ -f ./patch/Makefile ] || exit 0; \
9236 r=`${PWD}`; export r; \
9237 s=`cd $(srcdir); ${PWD}`; export s; \
9238 $(SET_LIB_PATH) \
9239 for flag in $(EXTRA_HOST_FLAGS); do \
9240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9241 done; \
9242 echo "Doing installcheck in patch" ; \
9243 (cd patch && \
9244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9246 "RANLIB=$${RANLIB}" \
9247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9248 installcheck) \
9249 || exit 1
9252 .PHONY: maybe-installcheck-perl installcheck-perl
9253 maybe-installcheck-perl:
9255 installcheck-perl: \
9256 configure-perl
9257 @[ -f ./perl/Makefile ] || exit 0; \
9258 r=`${PWD}`; export r; \
9259 s=`cd $(srcdir); ${PWD}`; export s; \
9260 $(SET_LIB_PATH) \
9261 for flag in $(EXTRA_HOST_FLAGS); do \
9262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 done; \
9264 echo "Doing installcheck in perl" ; \
9265 (cd perl && \
9266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9268 "RANLIB=$${RANLIB}" \
9269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9270 installcheck) \
9271 || exit 1
9274 .PHONY: maybe-installcheck-prms installcheck-prms
9275 maybe-installcheck-prms:
9277 installcheck-prms: \
9278 configure-prms
9279 @[ -f ./prms/Makefile ] || exit 0; \
9280 r=`${PWD}`; export r; \
9281 s=`cd $(srcdir); ${PWD}`; export s; \
9282 $(SET_LIB_PATH) \
9283 for flag in $(EXTRA_HOST_FLAGS); do \
9284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9285 done; \
9286 echo "Doing installcheck in prms" ; \
9287 (cd prms && \
9288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9290 "RANLIB=$${RANLIB}" \
9291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9292 installcheck) \
9293 || exit 1
9296 .PHONY: maybe-installcheck-rcs installcheck-rcs
9297 maybe-installcheck-rcs:
9299 installcheck-rcs: \
9300 configure-rcs
9301 @[ -f ./rcs/Makefile ] || exit 0; \
9302 r=`${PWD}`; export r; \
9303 s=`cd $(srcdir); ${PWD}`; export s; \
9304 $(SET_LIB_PATH) \
9305 for flag in $(EXTRA_HOST_FLAGS); do \
9306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9307 done; \
9308 echo "Doing installcheck in rcs" ; \
9309 (cd rcs && \
9310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9312 "RANLIB=$${RANLIB}" \
9313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9314 installcheck) \
9315 || exit 1
9318 .PHONY: maybe-installcheck-readline installcheck-readline
9319 maybe-installcheck-readline:
9321 installcheck-readline: \
9322 configure-readline
9323 @[ -f ./readline/Makefile ] || exit 0; \
9324 r=`${PWD}`; export r; \
9325 s=`cd $(srcdir); ${PWD}`; export s; \
9326 $(SET_LIB_PATH) \
9327 for flag in $(EXTRA_HOST_FLAGS); do \
9328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 done; \
9330 echo "Doing installcheck in readline" ; \
9331 (cd readline && \
9332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9334 "RANLIB=$${RANLIB}" \
9335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9336 installcheck) \
9337 || exit 1
9340 .PHONY: maybe-installcheck-release installcheck-release
9341 maybe-installcheck-release:
9343 installcheck-release: \
9344 configure-release
9345 @[ -f ./release/Makefile ] || exit 0; \
9346 r=`${PWD}`; export r; \
9347 s=`cd $(srcdir); ${PWD}`; export s; \
9348 $(SET_LIB_PATH) \
9349 for flag in $(EXTRA_HOST_FLAGS); do \
9350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9351 done; \
9352 echo "Doing installcheck in release" ; \
9353 (cd release && \
9354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9356 "RANLIB=$${RANLIB}" \
9357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9358 installcheck) \
9359 || exit 1
9362 .PHONY: maybe-installcheck-recode installcheck-recode
9363 maybe-installcheck-recode:
9365 installcheck-recode: \
9366 configure-recode
9367 @[ -f ./recode/Makefile ] || exit 0; \
9368 r=`${PWD}`; export r; \
9369 s=`cd $(srcdir); ${PWD}`; export s; \
9370 $(SET_LIB_PATH) \
9371 for flag in $(EXTRA_HOST_FLAGS); do \
9372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9373 done; \
9374 echo "Doing installcheck in recode" ; \
9375 (cd recode && \
9376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9378 "RANLIB=$${RANLIB}" \
9379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9380 installcheck) \
9381 || exit 1
9384 .PHONY: maybe-installcheck-sed installcheck-sed
9385 maybe-installcheck-sed:
9387 installcheck-sed: \
9388 configure-sed
9389 @[ -f ./sed/Makefile ] || exit 0; \
9390 r=`${PWD}`; export r; \
9391 s=`cd $(srcdir); ${PWD}`; export s; \
9392 $(SET_LIB_PATH) \
9393 for flag in $(EXTRA_HOST_FLAGS); do \
9394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9395 done; \
9396 echo "Doing installcheck in sed" ; \
9397 (cd sed && \
9398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9400 "RANLIB=$${RANLIB}" \
9401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9402 installcheck) \
9403 || exit 1
9406 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
9407 maybe-installcheck-send-pr:
9409 installcheck-send-pr: \
9410 configure-send-pr
9411 @[ -f ./send-pr/Makefile ] || exit 0; \
9412 r=`${PWD}`; export r; \
9413 s=`cd $(srcdir); ${PWD}`; export s; \
9414 $(SET_LIB_PATH) \
9415 for flag in $(EXTRA_HOST_FLAGS); do \
9416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9417 done; \
9418 echo "Doing installcheck in send-pr" ; \
9419 (cd send-pr && \
9420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9422 "RANLIB=$${RANLIB}" \
9423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9424 installcheck) \
9425 || exit 1
9428 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
9429 maybe-installcheck-shellutils:
9431 installcheck-shellutils: \
9432 configure-shellutils
9433 @[ -f ./shellutils/Makefile ] || exit 0; \
9434 r=`${PWD}`; export r; \
9435 s=`cd $(srcdir); ${PWD}`; export s; \
9436 $(SET_LIB_PATH) \
9437 for flag in $(EXTRA_HOST_FLAGS); do \
9438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9439 done; \
9440 echo "Doing installcheck in shellutils" ; \
9441 (cd shellutils && \
9442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9444 "RANLIB=$${RANLIB}" \
9445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9446 installcheck) \
9447 || exit 1
9450 .PHONY: maybe-installcheck-sid installcheck-sid
9451 maybe-installcheck-sid:
9453 installcheck-sid: \
9454 configure-sid
9455 @[ -f ./sid/Makefile ] || exit 0; \
9456 r=`${PWD}`; export r; \
9457 s=`cd $(srcdir); ${PWD}`; export s; \
9458 $(SET_LIB_PATH) \
9459 for flag in $(EXTRA_HOST_FLAGS); do \
9460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9461 done; \
9462 echo "Doing installcheck in sid" ; \
9463 (cd sid && \
9464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466 "RANLIB=$${RANLIB}" \
9467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9468 installcheck) \
9469 || exit 1
9472 .PHONY: maybe-installcheck-sim installcheck-sim
9473 maybe-installcheck-sim:
9475 installcheck-sim: \
9476 configure-sim
9477 @[ -f ./sim/Makefile ] || exit 0; \
9478 r=`${PWD}`; export r; \
9479 s=`cd $(srcdir); ${PWD}`; export s; \
9480 $(SET_LIB_PATH) \
9481 for flag in $(EXTRA_HOST_FLAGS); do \
9482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9483 done; \
9484 echo "Doing installcheck in sim" ; \
9485 (cd sim && \
9486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9488 "RANLIB=$${RANLIB}" \
9489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9490 installcheck) \
9491 || exit 1
9494 .PHONY: maybe-installcheck-tar installcheck-tar
9495 maybe-installcheck-tar:
9497 installcheck-tar: \
9498 configure-tar
9499 @[ -f ./tar/Makefile ] || exit 0; \
9500 r=`${PWD}`; export r; \
9501 s=`cd $(srcdir); ${PWD}`; export s; \
9502 $(SET_LIB_PATH) \
9503 for flag in $(EXTRA_HOST_FLAGS); do \
9504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9505 done; \
9506 echo "Doing installcheck in tar" ; \
9507 (cd tar && \
9508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9510 "RANLIB=$${RANLIB}" \
9511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9512 installcheck) \
9513 || exit 1
9516 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
9517 maybe-installcheck-texinfo:
9519 installcheck-texinfo: \
9520 configure-texinfo
9521 @[ -f ./texinfo/Makefile ] || exit 0; \
9522 r=`${PWD}`; export r; \
9523 s=`cd $(srcdir); ${PWD}`; export s; \
9524 $(SET_LIB_PATH) \
9525 for flag in $(EXTRA_HOST_FLAGS); do \
9526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9527 done; \
9528 echo "Doing installcheck in texinfo" ; \
9529 (cd texinfo && \
9530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9532 "RANLIB=$${RANLIB}" \
9533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9534 installcheck) \
9535 || exit 1
9538 .PHONY: maybe-installcheck-textutils installcheck-textutils
9539 maybe-installcheck-textutils:
9541 installcheck-textutils: \
9542 configure-textutils
9543 @[ -f ./textutils/Makefile ] || exit 0; \
9544 r=`${PWD}`; export r; \
9545 s=`cd $(srcdir); ${PWD}`; export s; \
9546 $(SET_LIB_PATH) \
9547 for flag in $(EXTRA_HOST_FLAGS); do \
9548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9549 done; \
9550 echo "Doing installcheck in textutils" ; \
9551 (cd textutils && \
9552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9554 "RANLIB=$${RANLIB}" \
9555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9556 installcheck) \
9557 || exit 1
9560 .PHONY: maybe-installcheck-time installcheck-time
9561 maybe-installcheck-time:
9563 installcheck-time: \
9564 configure-time
9565 @[ -f ./time/Makefile ] || exit 0; \
9566 r=`${PWD}`; export r; \
9567 s=`cd $(srcdir); ${PWD}`; export s; \
9568 $(SET_LIB_PATH) \
9569 for flag in $(EXTRA_HOST_FLAGS); do \
9570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9571 done; \
9572 echo "Doing installcheck in time" ; \
9573 (cd time && \
9574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9576 "RANLIB=$${RANLIB}" \
9577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9578 installcheck) \
9579 || exit 1
9582 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
9583 maybe-installcheck-uudecode:
9585 installcheck-uudecode: \
9586 configure-uudecode
9587 @[ -f ./uudecode/Makefile ] || exit 0; \
9588 r=`${PWD}`; export r; \
9589 s=`cd $(srcdir); ${PWD}`; export s; \
9590 $(SET_LIB_PATH) \
9591 for flag in $(EXTRA_HOST_FLAGS); do \
9592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9593 done; \
9594 echo "Doing installcheck in uudecode" ; \
9595 (cd uudecode && \
9596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9598 "RANLIB=$${RANLIB}" \
9599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9600 installcheck) \
9601 || exit 1
9604 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
9605 maybe-installcheck-wdiff:
9607 installcheck-wdiff: \
9608 configure-wdiff
9609 @[ -f ./wdiff/Makefile ] || exit 0; \
9610 r=`${PWD}`; export r; \
9611 s=`cd $(srcdir); ${PWD}`; export s; \
9612 $(SET_LIB_PATH) \
9613 for flag in $(EXTRA_HOST_FLAGS); do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing installcheck in wdiff" ; \
9617 (cd wdiff && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 installcheck) \
9623 || exit 1
9626 .PHONY: maybe-installcheck-zip installcheck-zip
9627 maybe-installcheck-zip:
9629 installcheck-zip: \
9630 configure-zip
9631 @[ -f ./zip/Makefile ] || exit 0; \
9632 r=`${PWD}`; export r; \
9633 s=`cd $(srcdir); ${PWD}`; export s; \
9634 $(SET_LIB_PATH) \
9635 for flag in $(EXTRA_HOST_FLAGS); do \
9636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637 done; \
9638 echo "Doing installcheck in zip" ; \
9639 (cd zip && \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642 "RANLIB=$${RANLIB}" \
9643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9644 installcheck) \
9645 || exit 1
9648 .PHONY: maybe-installcheck-zlib installcheck-zlib
9649 maybe-installcheck-zlib:
9651 installcheck-zlib: \
9652 configure-zlib
9653 @[ -f ./zlib/Makefile ] || exit 0; \
9654 r=`${PWD}`; export r; \
9655 s=`cd $(srcdir); ${PWD}`; export s; \
9656 $(SET_LIB_PATH) \
9657 for flag in $(EXTRA_HOST_FLAGS); do \
9658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9659 done; \
9660 echo "Doing installcheck in zlib" ; \
9661 (cd zlib && \
9662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9664 "RANLIB=$${RANLIB}" \
9665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9666 installcheck) \
9667 || exit 1
9670 .PHONY: maybe-installcheck-gdb installcheck-gdb
9671 maybe-installcheck-gdb:
9673 installcheck-gdb: \
9674 configure-gdb
9675 @[ -f ./gdb/Makefile ] || exit 0; \
9676 r=`${PWD}`; export r; \
9677 s=`cd $(srcdir); ${PWD}`; export s; \
9678 $(SET_LIB_PATH) \
9679 for flag in $(EXTRA_HOST_FLAGS); do \
9680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9681 done; \
9682 echo "Doing installcheck in gdb" ; \
9683 (cd gdb && \
9684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9686 "RANLIB=$${RANLIB}" \
9687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9688 installcheck) \
9689 || exit 1
9692 .PHONY: maybe-installcheck-expect installcheck-expect
9693 maybe-installcheck-expect:
9695 installcheck-expect: \
9696 configure-expect
9697 @[ -f ./expect/Makefile ] || exit 0; \
9698 r=`${PWD}`; export r; \
9699 s=`cd $(srcdir); ${PWD}`; export s; \
9700 $(SET_LIB_PATH) \
9701 for flag in $(EXTRA_HOST_FLAGS); do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 done; \
9704 echo "Doing installcheck in expect" ; \
9705 (cd expect && \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9710 installcheck) \
9711 || exit 1
9714 .PHONY: maybe-installcheck-guile installcheck-guile
9715 maybe-installcheck-guile:
9717 installcheck-guile: \
9718 configure-guile
9719 @[ -f ./guile/Makefile ] || exit 0; \
9720 r=`${PWD}`; export r; \
9721 s=`cd $(srcdir); ${PWD}`; export s; \
9722 $(SET_LIB_PATH) \
9723 for flag in $(EXTRA_HOST_FLAGS); do \
9724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9725 done; \
9726 echo "Doing installcheck in guile" ; \
9727 (cd guile && \
9728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9730 "RANLIB=$${RANLIB}" \
9731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9732 installcheck) \
9733 || exit 1
9736 .PHONY: maybe-installcheck-tk installcheck-tk
9737 maybe-installcheck-tk:
9739 installcheck-tk: \
9740 configure-tk
9741 @[ -f ./tk/Makefile ] || exit 0; \
9742 r=`${PWD}`; export r; \
9743 s=`cd $(srcdir); ${PWD}`; export s; \
9744 $(SET_LIB_PATH) \
9745 for flag in $(EXTRA_HOST_FLAGS); do \
9746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9747 done; \
9748 echo "Doing installcheck in tk" ; \
9749 (cd tk && \
9750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9752 "RANLIB=$${RANLIB}" \
9753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9754 installcheck) \
9755 || exit 1
9758 .PHONY: maybe-installcheck-tix installcheck-tix
9759 maybe-installcheck-tix:
9761 installcheck-tix: \
9762 configure-tix
9763 @[ -f ./tix/Makefile ] || exit 0; \
9764 r=`${PWD}`; export r; \
9765 s=`cd $(srcdir); ${PWD}`; export s; \
9766 $(SET_LIB_PATH) \
9767 for flag in $(EXTRA_HOST_FLAGS); do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing installcheck in tix" ; \
9771 (cd tix && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 installcheck) \
9777 || exit 1
9780 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
9781 maybe-installcheck-libtermcap:
9783 installcheck-libtermcap: \
9784 configure-libtermcap
9785 @[ -f ./libtermcap/Makefile ] || exit 0; \
9786 r=`${PWD}`; export r; \
9787 s=`cd $(srcdir); ${PWD}`; export s; \
9788 $(SET_LIB_PATH) \
9789 for flag in $(EXTRA_HOST_FLAGS); do \
9790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9791 done; \
9792 echo "Doing installcheck in libtermcap" ; \
9793 (cd libtermcap && \
9794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9796 "RANLIB=$${RANLIB}" \
9797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9798 installcheck) \
9799 || exit 1
9802 .PHONY: maybe-installcheck-utils installcheck-utils
9803 maybe-installcheck-utils:
9805 installcheck-utils: \
9806 configure-utils
9807 @[ -f ./utils/Makefile ] || exit 0; \
9808 r=`${PWD}`; export r; \
9809 s=`cd $(srcdir); ${PWD}`; export s; \
9810 $(SET_LIB_PATH) \
9811 for flag in $(EXTRA_HOST_FLAGS); do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing installcheck in utils" ; \
9815 (cd utils && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 installcheck) \
9821 || exit 1
9825 # Target modules.
9827 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
9828 maybe-installcheck-target-libstdc++-v3:
9830 installcheck-target-libstdc++-v3: \
9831 configure-target-libstdc++-v3
9832 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
9833 r=`${PWD}`; export r; \
9834 s=`cd $(srcdir); ${PWD}`; export s; \
9835 $(SET_LIB_PATH) \
9836 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
9837 for flag in $(EXTRA_TARGET_FLAGS); do \
9838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9839 done; \
9840 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 installcheck) \
9846 || exit 1
9849 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
9850 maybe-installcheck-target-newlib:
9852 installcheck-target-newlib: \
9853 configure-target-newlib
9854 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
9855 r=`${PWD}`; export r; \
9856 s=`cd $(srcdir); ${PWD}`; export s; \
9857 $(SET_LIB_PATH) \
9858 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
9859 for flag in $(EXTRA_TARGET_FLAGS); do \
9860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9861 done; \
9862 (cd $(TARGET_SUBDIR)/newlib && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865 "RANLIB=$${RANLIB}" \
9866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9867 installcheck) \
9868 || exit 1
9871 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
9872 maybe-installcheck-target-libf2c:
9874 installcheck-target-libf2c: \
9875 configure-target-libf2c
9876 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
9877 r=`${PWD}`; export r; \
9878 s=`cd $(srcdir); ${PWD}`; export s; \
9879 $(SET_LIB_PATH) \
9880 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
9881 for flag in $(EXTRA_TARGET_FLAGS); do \
9882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9883 done; \
9884 (cd $(TARGET_SUBDIR)/libf2c && \
9885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9887 "RANLIB=$${RANLIB}" \
9888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9889 installcheck) \
9890 || exit 1
9893 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
9894 maybe-installcheck-target-libobjc:
9896 installcheck-target-libobjc: \
9897 configure-target-libobjc
9898 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
9899 r=`${PWD}`; export r; \
9900 s=`cd $(srcdir); ${PWD}`; export s; \
9901 $(SET_LIB_PATH) \
9902 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
9903 for flag in $(EXTRA_TARGET_FLAGS); do \
9904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9905 done; \
9906 (cd $(TARGET_SUBDIR)/libobjc && \
9907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9909 "RANLIB=$${RANLIB}" \
9910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9911 installcheck) \
9912 || exit 1
9915 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
9916 maybe-installcheck-target-libtermcap:
9918 installcheck-target-libtermcap: \
9919 configure-target-libtermcap
9920 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
9921 r=`${PWD}`; export r; \
9922 s=`cd $(srcdir); ${PWD}`; export s; \
9923 $(SET_LIB_PATH) \
9924 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
9925 for flag in $(EXTRA_TARGET_FLAGS); do \
9926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9927 done; \
9928 (cd $(TARGET_SUBDIR)/libtermcap && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9933 installcheck) \
9934 || exit 1
9937 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
9938 maybe-installcheck-target-winsup:
9940 installcheck-target-winsup: \
9941 configure-target-winsup
9942 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
9943 r=`${PWD}`; export r; \
9944 s=`cd $(srcdir); ${PWD}`; export s; \
9945 $(SET_LIB_PATH) \
9946 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
9947 for flag in $(EXTRA_TARGET_FLAGS); do \
9948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9949 done; \
9950 (cd $(TARGET_SUBDIR)/winsup && \
9951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9953 "RANLIB=$${RANLIB}" \
9954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9955 installcheck) \
9956 || exit 1
9959 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
9960 maybe-installcheck-target-libgloss:
9962 installcheck-target-libgloss: \
9963 configure-target-libgloss
9964 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
9965 r=`${PWD}`; export r; \
9966 s=`cd $(srcdir); ${PWD}`; export s; \
9967 $(SET_LIB_PATH) \
9968 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
9969 for flag in $(EXTRA_TARGET_FLAGS); do \
9970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9971 done; \
9972 (cd $(TARGET_SUBDIR)/libgloss && \
9973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9975 "RANLIB=$${RANLIB}" \
9976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9977 installcheck) \
9978 || exit 1
9981 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
9982 maybe-installcheck-target-libiberty:
9984 installcheck-target-libiberty: \
9985 configure-target-libiberty
9986 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
9987 r=`${PWD}`; export r; \
9988 s=`cd $(srcdir); ${PWD}`; export s; \
9989 $(SET_LIB_PATH) \
9990 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
9991 for flag in $(EXTRA_TARGET_FLAGS); do \
9992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9993 done; \
9994 (cd $(TARGET_SUBDIR)/libiberty && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9999 installcheck) \
10000 || exit 1
10003 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10004 maybe-installcheck-target-gperf:
10006 installcheck-target-gperf: \
10007 configure-target-gperf
10008 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
10009 r=`${PWD}`; export r; \
10010 s=`cd $(srcdir); ${PWD}`; export s; \
10011 $(SET_LIB_PATH) \
10012 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
10013 for flag in $(EXTRA_TARGET_FLAGS); do \
10014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10015 done; \
10016 (cd $(TARGET_SUBDIR)/gperf && \
10017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10019 "RANLIB=$${RANLIB}" \
10020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10021 installcheck) \
10022 || exit 1
10025 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
10026 maybe-installcheck-target-examples:
10028 installcheck-target-examples: \
10029 configure-target-examples
10030 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
10031 r=`${PWD}`; export r; \
10032 s=`cd $(srcdir); ${PWD}`; export s; \
10033 $(SET_LIB_PATH) \
10034 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
10035 for flag in $(EXTRA_TARGET_FLAGS); do \
10036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10037 done; \
10038 (cd $(TARGET_SUBDIR)/examples && \
10039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10041 "RANLIB=$${RANLIB}" \
10042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10043 installcheck) \
10044 || exit 1
10047 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
10048 maybe-installcheck-target-libffi:
10050 installcheck-target-libffi: \
10051 configure-target-libffi
10052 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
10053 r=`${PWD}`; export r; \
10054 s=`cd $(srcdir); ${PWD}`; export s; \
10055 $(SET_LIB_PATH) \
10056 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
10057 for flag in $(EXTRA_TARGET_FLAGS); do \
10058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10059 done; \
10060 (cd $(TARGET_SUBDIR)/libffi && \
10061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10063 "RANLIB=$${RANLIB}" \
10064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10065 installcheck) \
10066 || exit 1
10069 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
10070 maybe-installcheck-target-libjava:
10072 installcheck-target-libjava: \
10073 configure-target-libjava
10074 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
10075 r=`${PWD}`; export r; \
10076 s=`cd $(srcdir); ${PWD}`; export s; \
10077 $(SET_LIB_PATH) \
10078 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
10079 for flag in $(EXTRA_TARGET_FLAGS); do \
10080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10081 done; \
10082 (cd $(TARGET_SUBDIR)/libjava && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10087 installcheck) \
10088 || exit 1
10091 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
10092 maybe-installcheck-target-zlib:
10094 installcheck-target-zlib: \
10095 configure-target-zlib
10096 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
10097 r=`${PWD}`; export r; \
10098 s=`cd $(srcdir); ${PWD}`; export s; \
10099 $(SET_LIB_PATH) \
10100 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
10101 for flag in $(EXTRA_TARGET_FLAGS); do \
10102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10103 done; \
10104 (cd $(TARGET_SUBDIR)/zlib && \
10105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10107 "RANLIB=$${RANLIB}" \
10108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10109 installcheck) \
10110 || exit 1
10113 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
10114 maybe-installcheck-target-boehm-gc:
10116 installcheck-target-boehm-gc: \
10117 configure-target-boehm-gc
10118 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
10119 r=`${PWD}`; export r; \
10120 s=`cd $(srcdir); ${PWD}`; export s; \
10121 $(SET_LIB_PATH) \
10122 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
10123 for flag in $(EXTRA_TARGET_FLAGS); do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 done; \
10126 (cd $(TARGET_SUBDIR)/boehm-gc && \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10131 installcheck) \
10132 || exit 1
10135 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
10136 maybe-installcheck-target-qthreads:
10138 installcheck-target-qthreads: \
10139 configure-target-qthreads
10140 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
10141 r=`${PWD}`; export r; \
10142 s=`cd $(srcdir); ${PWD}`; export s; \
10143 $(SET_LIB_PATH) \
10144 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
10145 for flag in $(EXTRA_TARGET_FLAGS); do \
10146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10147 done; \
10148 (cd $(TARGET_SUBDIR)/qthreads && \
10149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10151 "RANLIB=$${RANLIB}" \
10152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10153 installcheck) \
10154 || exit 1
10157 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
10158 maybe-installcheck-target-rda:
10160 installcheck-target-rda: \
10161 configure-target-rda
10162 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
10163 r=`${PWD}`; export r; \
10164 s=`cd $(srcdir); ${PWD}`; export s; \
10165 $(SET_LIB_PATH) \
10166 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
10167 for flag in $(EXTRA_TARGET_FLAGS); do \
10168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10169 done; \
10170 (cd $(TARGET_SUBDIR)/rda && \
10171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10173 "RANLIB=$${RANLIB}" \
10174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10175 installcheck) \
10176 || exit 1
10180 .PHONY: do-mostlyclean
10181 do-mostlyclean: mostlyclean-host mostlyclean-target
10183 .PHONY: mostlyclean-host
10184 mostlyclean-host: maybe-mostlyclean-gcc \
10185 maybe-mostlyclean-ash \
10186 maybe-mostlyclean-autoconf \
10187 maybe-mostlyclean-automake \
10188 maybe-mostlyclean-bash \
10189 maybe-mostlyclean-bfd \
10190 maybe-mostlyclean-opcodes \
10191 maybe-mostlyclean-binutils \
10192 maybe-mostlyclean-bison \
10193 maybe-mostlyclean-byacc \
10194 maybe-mostlyclean-bzip2 \
10195 maybe-mostlyclean-dejagnu \
10196 maybe-mostlyclean-diff \
10197 maybe-mostlyclean-dosutils \
10198 maybe-mostlyclean-etc \
10199 maybe-mostlyclean-fastjar \
10200 maybe-mostlyclean-fileutils \
10201 maybe-mostlyclean-findutils \
10202 maybe-mostlyclean-find \
10203 maybe-mostlyclean-flex \
10204 maybe-mostlyclean-gas \
10205 maybe-mostlyclean-gawk \
10206 maybe-mostlyclean-gettext \
10207 maybe-mostlyclean-gnuserv \
10208 maybe-mostlyclean-gprof \
10209 maybe-mostlyclean-gzip \
10210 maybe-mostlyclean-hello \
10211 maybe-mostlyclean-indent \
10212 maybe-mostlyclean-intl \
10213 maybe-mostlyclean-tcl \
10214 maybe-mostlyclean-itcl \
10215 maybe-mostlyclean-ld \
10216 maybe-mostlyclean-libgui \
10217 maybe-mostlyclean-libiberty \
10218 maybe-mostlyclean-libtool \
10219 maybe-mostlyclean-m4 \
10220 maybe-mostlyclean-make \
10221 maybe-mostlyclean-mmalloc \
10222 maybe-mostlyclean-patch \
10223 maybe-mostlyclean-perl \
10224 maybe-mostlyclean-prms \
10225 maybe-mostlyclean-rcs \
10226 maybe-mostlyclean-readline \
10227 maybe-mostlyclean-release \
10228 maybe-mostlyclean-recode \
10229 maybe-mostlyclean-sed \
10230 maybe-mostlyclean-send-pr \
10231 maybe-mostlyclean-shellutils \
10232 maybe-mostlyclean-sid \
10233 maybe-mostlyclean-sim \
10234 maybe-mostlyclean-tar \
10235 maybe-mostlyclean-texinfo \
10236 maybe-mostlyclean-textutils \
10237 maybe-mostlyclean-time \
10238 maybe-mostlyclean-uudecode \
10239 maybe-mostlyclean-wdiff \
10240 maybe-mostlyclean-zip \
10241 maybe-mostlyclean-zlib \
10242 maybe-mostlyclean-gdb \
10243 maybe-mostlyclean-expect \
10244 maybe-mostlyclean-guile \
10245 maybe-mostlyclean-tk \
10246 maybe-mostlyclean-tix \
10247 maybe-mostlyclean-libtermcap \
10248 maybe-mostlyclean-utils
10250 .PHONY: mostlyclean-target
10251 mostlyclean-target: \
10252 maybe-mostlyclean-target-libstdc++-v3 \
10253 maybe-mostlyclean-target-newlib \
10254 maybe-mostlyclean-target-libf2c \
10255 maybe-mostlyclean-target-libobjc \
10256 maybe-mostlyclean-target-libtermcap \
10257 maybe-mostlyclean-target-winsup \
10258 maybe-mostlyclean-target-libgloss \
10259 maybe-mostlyclean-target-libiberty \
10260 maybe-mostlyclean-target-gperf \
10261 maybe-mostlyclean-target-examples \
10262 maybe-mostlyclean-target-libffi \
10263 maybe-mostlyclean-target-libjava \
10264 maybe-mostlyclean-target-zlib \
10265 maybe-mostlyclean-target-boehm-gc \
10266 maybe-mostlyclean-target-qthreads \
10267 maybe-mostlyclean-target-rda
10269 # GCC, the eternal special case
10270 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10271 maybe-mostlyclean-gcc:
10272 mostlyclean-gcc:
10273 @[ -f ./gcc/Makefile ] || exit 0; \
10274 r=`${PWD}`; export r; \
10275 s=`cd $(srcdir); ${PWD}`; export s; \
10276 $(SET_LIB_PATH) \
10277 for flag in $(EXTRA_GCC_FLAGS); do \
10278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279 done; \
10280 echo "Doing mostlyclean in gcc" ; \
10281 (cd gcc && \
10282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10284 "RANLIB=$${RANLIB}" \
10285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10286 mostlyclean) \
10287 || exit 1
10289 # Host modules.
10291 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
10292 maybe-mostlyclean-ash:
10294 mostlyclean-ash:
10295 @[ -f ./ash/Makefile ] || exit 0; \
10296 r=`${PWD}`; export r; \
10297 s=`cd $(srcdir); ${PWD}`; export s; \
10298 $(SET_LIB_PATH) \
10299 for flag in $(EXTRA_HOST_FLAGS); do \
10300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10301 done; \
10302 echo "Doing mostlyclean in ash" ; \
10303 (cd ash && \
10304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306 "RANLIB=$${RANLIB}" \
10307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10308 mostlyclean) \
10309 || exit 1
10312 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
10313 maybe-mostlyclean-autoconf:
10315 mostlyclean-autoconf:
10316 @[ -f ./autoconf/Makefile ] || exit 0; \
10317 r=`${PWD}`; export r; \
10318 s=`cd $(srcdir); ${PWD}`; export s; \
10319 $(SET_LIB_PATH) \
10320 for flag in $(EXTRA_HOST_FLAGS); do \
10321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10322 done; \
10323 echo "Doing mostlyclean in autoconf" ; \
10324 (cd autoconf && \
10325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10327 "RANLIB=$${RANLIB}" \
10328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10329 mostlyclean) \
10330 || exit 1
10333 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
10334 maybe-mostlyclean-automake:
10336 mostlyclean-automake:
10337 @[ -f ./automake/Makefile ] || exit 0; \
10338 r=`${PWD}`; export r; \
10339 s=`cd $(srcdir); ${PWD}`; export s; \
10340 $(SET_LIB_PATH) \
10341 for flag in $(EXTRA_HOST_FLAGS); do \
10342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10343 done; \
10344 echo "Doing mostlyclean in automake" ; \
10345 (cd automake && \
10346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10348 "RANLIB=$${RANLIB}" \
10349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10350 mostlyclean) \
10351 || exit 1
10354 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
10355 maybe-mostlyclean-bash:
10357 mostlyclean-bash:
10358 @[ -f ./bash/Makefile ] || exit 0; \
10359 r=`${PWD}`; export r; \
10360 s=`cd $(srcdir); ${PWD}`; export s; \
10361 $(SET_LIB_PATH) \
10362 for flag in $(EXTRA_HOST_FLAGS); do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing mostlyclean in bash" ; \
10366 (cd bash && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10371 mostlyclean) \
10372 || exit 1
10375 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
10376 maybe-mostlyclean-bfd:
10378 mostlyclean-bfd:
10379 @[ -f ./bfd/Makefile ] || exit 0; \
10380 r=`${PWD}`; export r; \
10381 s=`cd $(srcdir); ${PWD}`; export s; \
10382 $(SET_LIB_PATH) \
10383 for flag in $(EXTRA_HOST_FLAGS); do \
10384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10385 done; \
10386 echo "Doing mostlyclean in bfd" ; \
10387 (cd bfd && \
10388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10390 "RANLIB=$${RANLIB}" \
10391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10392 mostlyclean) \
10393 || exit 1
10396 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
10397 maybe-mostlyclean-opcodes:
10399 mostlyclean-opcodes:
10400 @[ -f ./opcodes/Makefile ] || exit 0; \
10401 r=`${PWD}`; export r; \
10402 s=`cd $(srcdir); ${PWD}`; export s; \
10403 $(SET_LIB_PATH) \
10404 for flag in $(EXTRA_HOST_FLAGS); do \
10405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10406 done; \
10407 echo "Doing mostlyclean in opcodes" ; \
10408 (cd opcodes && \
10409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10411 "RANLIB=$${RANLIB}" \
10412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10413 mostlyclean) \
10414 || exit 1
10417 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
10418 maybe-mostlyclean-binutils:
10420 mostlyclean-binutils:
10421 @[ -f ./binutils/Makefile ] || exit 0; \
10422 r=`${PWD}`; export r; \
10423 s=`cd $(srcdir); ${PWD}`; export s; \
10424 $(SET_LIB_PATH) \
10425 for flag in $(EXTRA_HOST_FLAGS); do \
10426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10427 done; \
10428 echo "Doing mostlyclean in binutils" ; \
10429 (cd binutils && \
10430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10432 "RANLIB=$${RANLIB}" \
10433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10434 mostlyclean) \
10435 || exit 1
10438 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
10439 maybe-mostlyclean-bison:
10441 mostlyclean-bison:
10442 @[ -f ./bison/Makefile ] || exit 0; \
10443 r=`${PWD}`; export r; \
10444 s=`cd $(srcdir); ${PWD}`; export s; \
10445 $(SET_LIB_PATH) \
10446 for flag in $(EXTRA_HOST_FLAGS); do \
10447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10448 done; \
10449 echo "Doing mostlyclean in bison" ; \
10450 (cd bison && \
10451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10453 "RANLIB=$${RANLIB}" \
10454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10455 mostlyclean) \
10456 || exit 1
10459 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
10460 maybe-mostlyclean-byacc:
10462 mostlyclean-byacc:
10463 @[ -f ./byacc/Makefile ] || exit 0; \
10464 r=`${PWD}`; export r; \
10465 s=`cd $(srcdir); ${PWD}`; export s; \
10466 $(SET_LIB_PATH) \
10467 for flag in $(EXTRA_HOST_FLAGS); do \
10468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10469 done; \
10470 echo "Doing mostlyclean in byacc" ; \
10471 (cd byacc && \
10472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10474 "RANLIB=$${RANLIB}" \
10475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10476 mostlyclean) \
10477 || exit 1
10480 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
10481 maybe-mostlyclean-bzip2:
10483 mostlyclean-bzip2:
10484 @[ -f ./bzip2/Makefile ] || exit 0; \
10485 r=`${PWD}`; export r; \
10486 s=`cd $(srcdir); ${PWD}`; export s; \
10487 $(SET_LIB_PATH) \
10488 for flag in $(EXTRA_HOST_FLAGS); do \
10489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10490 done; \
10491 echo "Doing mostlyclean in bzip2" ; \
10492 (cd bzip2 && \
10493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10495 "RANLIB=$${RANLIB}" \
10496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10497 mostlyclean) \
10498 || exit 1
10501 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10502 maybe-mostlyclean-dejagnu:
10504 mostlyclean-dejagnu:
10505 @[ -f ./dejagnu/Makefile ] || exit 0; \
10506 r=`${PWD}`; export r; \
10507 s=`cd $(srcdir); ${PWD}`; export s; \
10508 $(SET_LIB_PATH) \
10509 for flag in $(EXTRA_HOST_FLAGS); do \
10510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10511 done; \
10512 echo "Doing mostlyclean in dejagnu" ; \
10513 (cd dejagnu && \
10514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10516 "RANLIB=$${RANLIB}" \
10517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10518 mostlyclean) \
10519 || exit 1
10522 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10523 maybe-mostlyclean-diff:
10525 mostlyclean-diff:
10526 @[ -f ./diff/Makefile ] || exit 0; \
10527 r=`${PWD}`; export r; \
10528 s=`cd $(srcdir); ${PWD}`; export s; \
10529 $(SET_LIB_PATH) \
10530 for flag in $(EXTRA_HOST_FLAGS); do \
10531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10532 done; \
10533 echo "Doing mostlyclean in diff" ; \
10534 (cd diff && \
10535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10537 "RANLIB=$${RANLIB}" \
10538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10539 mostlyclean) \
10540 || exit 1
10543 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10544 maybe-mostlyclean-dosutils:
10546 mostlyclean-dosutils:
10547 @[ -f ./dosutils/Makefile ] || exit 0; \
10548 r=`${PWD}`; export r; \
10549 s=`cd $(srcdir); ${PWD}`; export s; \
10550 $(SET_LIB_PATH) \
10551 for flag in $(EXTRA_HOST_FLAGS); do \
10552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10553 done; \
10554 echo "Doing mostlyclean in dosutils" ; \
10555 (cd dosutils && \
10556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10558 "RANLIB=$${RANLIB}" \
10559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10560 mostlyclean) \
10561 || exit 1
10564 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10565 maybe-mostlyclean-etc:
10567 mostlyclean-etc:
10568 @[ -f ./etc/Makefile ] || exit 0; \
10569 r=`${PWD}`; export r; \
10570 s=`cd $(srcdir); ${PWD}`; export s; \
10571 $(SET_LIB_PATH) \
10572 for flag in $(EXTRA_HOST_FLAGS); do \
10573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10574 done; \
10575 echo "Doing mostlyclean in etc" ; \
10576 (cd etc && \
10577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10579 "RANLIB=$${RANLIB}" \
10580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10581 mostlyclean) \
10582 || exit 1
10585 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10586 maybe-mostlyclean-fastjar:
10588 mostlyclean-fastjar:
10589 @[ -f ./fastjar/Makefile ] || exit 0; \
10590 r=`${PWD}`; export r; \
10591 s=`cd $(srcdir); ${PWD}`; export s; \
10592 $(SET_LIB_PATH) \
10593 for flag in $(EXTRA_HOST_FLAGS); do \
10594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10595 done; \
10596 echo "Doing mostlyclean in fastjar" ; \
10597 (cd fastjar && \
10598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10600 "RANLIB=$${RANLIB}" \
10601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10602 mostlyclean) \
10603 || exit 1
10606 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10607 maybe-mostlyclean-fileutils:
10609 mostlyclean-fileutils:
10610 @[ -f ./fileutils/Makefile ] || exit 0; \
10611 r=`${PWD}`; export r; \
10612 s=`cd $(srcdir); ${PWD}`; export s; \
10613 $(SET_LIB_PATH) \
10614 for flag in $(EXTRA_HOST_FLAGS); do \
10615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10616 done; \
10617 echo "Doing mostlyclean in fileutils" ; \
10618 (cd fileutils && \
10619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10621 "RANLIB=$${RANLIB}" \
10622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10623 mostlyclean) \
10624 || exit 1
10627 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10628 maybe-mostlyclean-findutils:
10630 mostlyclean-findutils:
10631 @[ -f ./findutils/Makefile ] || exit 0; \
10632 r=`${PWD}`; export r; \
10633 s=`cd $(srcdir); ${PWD}`; export s; \
10634 $(SET_LIB_PATH) \
10635 for flag in $(EXTRA_HOST_FLAGS); do \
10636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10637 done; \
10638 echo "Doing mostlyclean in findutils" ; \
10639 (cd findutils && \
10640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10642 "RANLIB=$${RANLIB}" \
10643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10644 mostlyclean) \
10645 || exit 1
10648 .PHONY: maybe-mostlyclean-find mostlyclean-find
10649 maybe-mostlyclean-find:
10651 mostlyclean-find:
10652 @[ -f ./find/Makefile ] || exit 0; \
10653 r=`${PWD}`; export r; \
10654 s=`cd $(srcdir); ${PWD}`; export s; \
10655 $(SET_LIB_PATH) \
10656 for flag in $(EXTRA_HOST_FLAGS); do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10658 done; \
10659 echo "Doing mostlyclean in find" ; \
10660 (cd find && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 mostlyclean) \
10666 || exit 1
10669 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10670 maybe-mostlyclean-flex:
10672 mostlyclean-flex:
10673 @[ -f ./flex/Makefile ] || exit 0; \
10674 r=`${PWD}`; export r; \
10675 s=`cd $(srcdir); ${PWD}`; export s; \
10676 $(SET_LIB_PATH) \
10677 for flag in $(EXTRA_HOST_FLAGS); do \
10678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10679 done; \
10680 echo "Doing mostlyclean in flex" ; \
10681 (cd flex && \
10682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10684 "RANLIB=$${RANLIB}" \
10685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10686 mostlyclean) \
10687 || exit 1
10690 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10691 maybe-mostlyclean-gas:
10693 mostlyclean-gas:
10694 @[ -f ./gas/Makefile ] || exit 0; \
10695 r=`${PWD}`; export r; \
10696 s=`cd $(srcdir); ${PWD}`; export s; \
10697 $(SET_LIB_PATH) \
10698 for flag in $(EXTRA_HOST_FLAGS); do \
10699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10700 done; \
10701 echo "Doing mostlyclean in gas" ; \
10702 (cd gas && \
10703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10705 "RANLIB=$${RANLIB}" \
10706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10707 mostlyclean) \
10708 || exit 1
10711 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10712 maybe-mostlyclean-gawk:
10714 mostlyclean-gawk:
10715 @[ -f ./gawk/Makefile ] || exit 0; \
10716 r=`${PWD}`; export r; \
10717 s=`cd $(srcdir); ${PWD}`; export s; \
10718 $(SET_LIB_PATH) \
10719 for flag in $(EXTRA_HOST_FLAGS); do \
10720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10721 done; \
10722 echo "Doing mostlyclean in gawk" ; \
10723 (cd gawk && \
10724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10726 "RANLIB=$${RANLIB}" \
10727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10728 mostlyclean) \
10729 || exit 1
10732 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10733 maybe-mostlyclean-gettext:
10735 mostlyclean-gettext:
10736 @[ -f ./gettext/Makefile ] || exit 0; \
10737 r=`${PWD}`; export r; \
10738 s=`cd $(srcdir); ${PWD}`; export s; \
10739 $(SET_LIB_PATH) \
10740 for flag in $(EXTRA_HOST_FLAGS); do \
10741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10742 done; \
10743 echo "Doing mostlyclean in gettext" ; \
10744 (cd gettext && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10747 "RANLIB=$${RANLIB}" \
10748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10749 mostlyclean) \
10750 || exit 1
10753 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10754 maybe-mostlyclean-gnuserv:
10756 mostlyclean-gnuserv:
10757 @[ -f ./gnuserv/Makefile ] || exit 0; \
10758 r=`${PWD}`; export r; \
10759 s=`cd $(srcdir); ${PWD}`; export s; \
10760 $(SET_LIB_PATH) \
10761 for flag in $(EXTRA_HOST_FLAGS); do \
10762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10763 done; \
10764 echo "Doing mostlyclean in gnuserv" ; \
10765 (cd gnuserv && \
10766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10768 "RANLIB=$${RANLIB}" \
10769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10770 mostlyclean) \
10771 || exit 1
10774 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10775 maybe-mostlyclean-gprof:
10777 mostlyclean-gprof:
10778 @[ -f ./gprof/Makefile ] || exit 0; \
10779 r=`${PWD}`; export r; \
10780 s=`cd $(srcdir); ${PWD}`; export s; \
10781 $(SET_LIB_PATH) \
10782 for flag in $(EXTRA_HOST_FLAGS); do \
10783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10784 done; \
10785 echo "Doing mostlyclean in gprof" ; \
10786 (cd gprof && \
10787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10789 "RANLIB=$${RANLIB}" \
10790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10791 mostlyclean) \
10792 || exit 1
10795 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10796 maybe-mostlyclean-gzip:
10798 mostlyclean-gzip:
10799 @[ -f ./gzip/Makefile ] || exit 0; \
10800 r=`${PWD}`; export r; \
10801 s=`cd $(srcdir); ${PWD}`; export s; \
10802 $(SET_LIB_PATH) \
10803 for flag in $(EXTRA_HOST_FLAGS); do \
10804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10805 done; \
10806 echo "Doing mostlyclean in gzip" ; \
10807 (cd gzip && \
10808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10810 "RANLIB=$${RANLIB}" \
10811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10812 mostlyclean) \
10813 || exit 1
10816 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10817 maybe-mostlyclean-hello:
10819 mostlyclean-hello:
10820 @[ -f ./hello/Makefile ] || exit 0; \
10821 r=`${PWD}`; export r; \
10822 s=`cd $(srcdir); ${PWD}`; export s; \
10823 $(SET_LIB_PATH) \
10824 for flag in $(EXTRA_HOST_FLAGS); do \
10825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10826 done; \
10827 echo "Doing mostlyclean in hello" ; \
10828 (cd hello && \
10829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10831 "RANLIB=$${RANLIB}" \
10832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10833 mostlyclean) \
10834 || exit 1
10837 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10838 maybe-mostlyclean-indent:
10840 mostlyclean-indent:
10841 @[ -f ./indent/Makefile ] || exit 0; \
10842 r=`${PWD}`; export r; \
10843 s=`cd $(srcdir); ${PWD}`; export s; \
10844 $(SET_LIB_PATH) \
10845 for flag in $(EXTRA_HOST_FLAGS); do \
10846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10847 done; \
10848 echo "Doing mostlyclean in indent" ; \
10849 (cd indent && \
10850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10852 "RANLIB=$${RANLIB}" \
10853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10854 mostlyclean) \
10855 || exit 1
10858 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10859 maybe-mostlyclean-intl:
10861 mostlyclean-intl:
10862 @[ -f ./intl/Makefile ] || exit 0; \
10863 r=`${PWD}`; export r; \
10864 s=`cd $(srcdir); ${PWD}`; export s; \
10865 $(SET_LIB_PATH) \
10866 for flag in $(EXTRA_HOST_FLAGS); do \
10867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10868 done; \
10869 echo "Doing mostlyclean in intl" ; \
10870 (cd intl && \
10871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10873 "RANLIB=$${RANLIB}" \
10874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10875 mostlyclean) \
10876 || exit 1
10879 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10880 maybe-mostlyclean-tcl:
10882 # tcl doesn't support mostlyclean.
10883 mostlyclean-tcl:
10886 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
10887 maybe-mostlyclean-itcl:
10889 mostlyclean-itcl:
10890 @[ -f ./itcl/Makefile ] || exit 0; \
10891 r=`${PWD}`; export r; \
10892 s=`cd $(srcdir); ${PWD}`; export s; \
10893 $(SET_LIB_PATH) \
10894 for flag in $(EXTRA_HOST_FLAGS); do \
10895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10896 done; \
10897 echo "Doing mostlyclean in itcl" ; \
10898 (cd itcl && \
10899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901 "RANLIB=$${RANLIB}" \
10902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10903 mostlyclean) \
10904 || exit 1
10907 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10908 maybe-mostlyclean-ld:
10910 mostlyclean-ld:
10911 @[ -f ./ld/Makefile ] || exit 0; \
10912 r=`${PWD}`; export r; \
10913 s=`cd $(srcdir); ${PWD}`; export s; \
10914 $(SET_LIB_PATH) \
10915 for flag in $(EXTRA_HOST_FLAGS); do \
10916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10917 done; \
10918 echo "Doing mostlyclean in ld" ; \
10919 (cd ld && \
10920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10922 "RANLIB=$${RANLIB}" \
10923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10924 mostlyclean) \
10925 || exit 1
10928 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10929 maybe-mostlyclean-libgui:
10931 mostlyclean-libgui:
10932 @[ -f ./libgui/Makefile ] || exit 0; \
10933 r=`${PWD}`; export r; \
10934 s=`cd $(srcdir); ${PWD}`; export s; \
10935 $(SET_LIB_PATH) \
10936 for flag in $(EXTRA_HOST_FLAGS); do \
10937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10938 done; \
10939 echo "Doing mostlyclean in libgui" ; \
10940 (cd libgui && \
10941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10943 "RANLIB=$${RANLIB}" \
10944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10945 mostlyclean) \
10946 || exit 1
10949 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10950 maybe-mostlyclean-libiberty:
10952 mostlyclean-libiberty:
10953 @[ -f ./libiberty/Makefile ] || exit 0; \
10954 r=`${PWD}`; export r; \
10955 s=`cd $(srcdir); ${PWD}`; export s; \
10956 $(SET_LIB_PATH) \
10957 for flag in $(EXTRA_HOST_FLAGS); do \
10958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10959 done; \
10960 echo "Doing mostlyclean in libiberty" ; \
10961 (cd libiberty && \
10962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10964 "RANLIB=$${RANLIB}" \
10965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10966 mostlyclean) \
10967 || exit 1
10970 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10971 maybe-mostlyclean-libtool:
10973 mostlyclean-libtool:
10974 @[ -f ./libtool/Makefile ] || exit 0; \
10975 r=`${PWD}`; export r; \
10976 s=`cd $(srcdir); ${PWD}`; export s; \
10977 $(SET_LIB_PATH) \
10978 for flag in $(EXTRA_HOST_FLAGS); do \
10979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10980 done; \
10981 echo "Doing mostlyclean in libtool" ; \
10982 (cd libtool && \
10983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10985 "RANLIB=$${RANLIB}" \
10986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10987 mostlyclean) \
10988 || exit 1
10991 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
10992 maybe-mostlyclean-m4:
10994 mostlyclean-m4:
10995 @[ -f ./m4/Makefile ] || exit 0; \
10996 r=`${PWD}`; export r; \
10997 s=`cd $(srcdir); ${PWD}`; export s; \
10998 $(SET_LIB_PATH) \
10999 for flag in $(EXTRA_HOST_FLAGS); do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 done; \
11002 echo "Doing mostlyclean in m4" ; \
11003 (cd m4 && \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 mostlyclean) \
11009 || exit 1
11012 .PHONY: maybe-mostlyclean-make mostlyclean-make
11013 maybe-mostlyclean-make:
11015 mostlyclean-make:
11016 @[ -f ./make/Makefile ] || exit 0; \
11017 r=`${PWD}`; export r; \
11018 s=`cd $(srcdir); ${PWD}`; export s; \
11019 $(SET_LIB_PATH) \
11020 for flag in $(EXTRA_HOST_FLAGS); do \
11021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11022 done; \
11023 echo "Doing mostlyclean in make" ; \
11024 (cd make && \
11025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11027 "RANLIB=$${RANLIB}" \
11028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11029 mostlyclean) \
11030 || exit 1
11033 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11034 maybe-mostlyclean-mmalloc:
11036 mostlyclean-mmalloc:
11037 @[ -f ./mmalloc/Makefile ] || exit 0; \
11038 r=`${PWD}`; export r; \
11039 s=`cd $(srcdir); ${PWD}`; export s; \
11040 $(SET_LIB_PATH) \
11041 for flag in $(EXTRA_HOST_FLAGS); do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 done; \
11044 echo "Doing mostlyclean in mmalloc" ; \
11045 (cd mmalloc && \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11050 mostlyclean) \
11051 || exit 1
11054 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11055 maybe-mostlyclean-patch:
11057 mostlyclean-patch:
11058 @[ -f ./patch/Makefile ] || exit 0; \
11059 r=`${PWD}`; export r; \
11060 s=`cd $(srcdir); ${PWD}`; export s; \
11061 $(SET_LIB_PATH) \
11062 for flag in $(EXTRA_HOST_FLAGS); do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11064 done; \
11065 echo "Doing mostlyclean in patch" ; \
11066 (cd patch && \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11071 mostlyclean) \
11072 || exit 1
11075 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
11076 maybe-mostlyclean-perl:
11078 mostlyclean-perl:
11079 @[ -f ./perl/Makefile ] || exit 0; \
11080 r=`${PWD}`; export r; \
11081 s=`cd $(srcdir); ${PWD}`; export s; \
11082 $(SET_LIB_PATH) \
11083 for flag in $(EXTRA_HOST_FLAGS); do \
11084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11085 done; \
11086 echo "Doing mostlyclean in perl" ; \
11087 (cd perl && \
11088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090 "RANLIB=$${RANLIB}" \
11091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11092 mostlyclean) \
11093 || exit 1
11096 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
11097 maybe-mostlyclean-prms:
11099 mostlyclean-prms:
11100 @[ -f ./prms/Makefile ] || exit 0; \
11101 r=`${PWD}`; export r; \
11102 s=`cd $(srcdir); ${PWD}`; export s; \
11103 $(SET_LIB_PATH) \
11104 for flag in $(EXTRA_HOST_FLAGS); do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing mostlyclean in prms" ; \
11108 (cd prms && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 mostlyclean) \
11114 || exit 1
11117 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
11118 maybe-mostlyclean-rcs:
11120 mostlyclean-rcs:
11121 @[ -f ./rcs/Makefile ] || exit 0; \
11122 r=`${PWD}`; export r; \
11123 s=`cd $(srcdir); ${PWD}`; export s; \
11124 $(SET_LIB_PATH) \
11125 for flag in $(EXTRA_HOST_FLAGS); do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11127 done; \
11128 echo "Doing mostlyclean in rcs" ; \
11129 (cd rcs && \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 mostlyclean) \
11135 || exit 1
11138 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
11139 maybe-mostlyclean-readline:
11141 mostlyclean-readline:
11142 @[ -f ./readline/Makefile ] || exit 0; \
11143 r=`${PWD}`; export r; \
11144 s=`cd $(srcdir); ${PWD}`; export s; \
11145 $(SET_LIB_PATH) \
11146 for flag in $(EXTRA_HOST_FLAGS); do \
11147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11148 done; \
11149 echo "Doing mostlyclean in readline" ; \
11150 (cd readline && \
11151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11153 "RANLIB=$${RANLIB}" \
11154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11155 mostlyclean) \
11156 || exit 1
11159 .PHONY: maybe-mostlyclean-release mostlyclean-release
11160 maybe-mostlyclean-release:
11162 mostlyclean-release:
11163 @[ -f ./release/Makefile ] || exit 0; \
11164 r=`${PWD}`; export r; \
11165 s=`cd $(srcdir); ${PWD}`; export s; \
11166 $(SET_LIB_PATH) \
11167 for flag in $(EXTRA_HOST_FLAGS); do \
11168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11169 done; \
11170 echo "Doing mostlyclean in release" ; \
11171 (cd release && \
11172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11174 "RANLIB=$${RANLIB}" \
11175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11176 mostlyclean) \
11177 || exit 1
11180 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
11181 maybe-mostlyclean-recode:
11183 mostlyclean-recode:
11184 @[ -f ./recode/Makefile ] || exit 0; \
11185 r=`${PWD}`; export r; \
11186 s=`cd $(srcdir); ${PWD}`; export s; \
11187 $(SET_LIB_PATH) \
11188 for flag in $(EXTRA_HOST_FLAGS); do \
11189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11190 done; \
11191 echo "Doing mostlyclean in recode" ; \
11192 (cd recode && \
11193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11195 "RANLIB=$${RANLIB}" \
11196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11197 mostlyclean) \
11198 || exit 1
11201 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
11202 maybe-mostlyclean-sed:
11204 mostlyclean-sed:
11205 @[ -f ./sed/Makefile ] || exit 0; \
11206 r=`${PWD}`; export r; \
11207 s=`cd $(srcdir); ${PWD}`; export s; \
11208 $(SET_LIB_PATH) \
11209 for flag in $(EXTRA_HOST_FLAGS); do \
11210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11211 done; \
11212 echo "Doing mostlyclean in sed" ; \
11213 (cd sed && \
11214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11216 "RANLIB=$${RANLIB}" \
11217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11218 mostlyclean) \
11219 || exit 1
11222 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
11223 maybe-mostlyclean-send-pr:
11225 mostlyclean-send-pr:
11226 @[ -f ./send-pr/Makefile ] || exit 0; \
11227 r=`${PWD}`; export r; \
11228 s=`cd $(srcdir); ${PWD}`; export s; \
11229 $(SET_LIB_PATH) \
11230 for flag in $(EXTRA_HOST_FLAGS); do \
11231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11232 done; \
11233 echo "Doing mostlyclean in send-pr" ; \
11234 (cd send-pr && \
11235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11237 "RANLIB=$${RANLIB}" \
11238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11239 mostlyclean) \
11240 || exit 1
11243 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
11244 maybe-mostlyclean-shellutils:
11246 mostlyclean-shellutils:
11247 @[ -f ./shellutils/Makefile ] || exit 0; \
11248 r=`${PWD}`; export r; \
11249 s=`cd $(srcdir); ${PWD}`; export s; \
11250 $(SET_LIB_PATH) \
11251 for flag in $(EXTRA_HOST_FLAGS); do \
11252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11253 done; \
11254 echo "Doing mostlyclean in shellutils" ; \
11255 (cd shellutils && \
11256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11258 "RANLIB=$${RANLIB}" \
11259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11260 mostlyclean) \
11261 || exit 1
11264 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
11265 maybe-mostlyclean-sid:
11267 mostlyclean-sid:
11268 @[ -f ./sid/Makefile ] || exit 0; \
11269 r=`${PWD}`; export r; \
11270 s=`cd $(srcdir); ${PWD}`; export s; \
11271 $(SET_LIB_PATH) \
11272 for flag in $(EXTRA_HOST_FLAGS); do \
11273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11274 done; \
11275 echo "Doing mostlyclean in sid" ; \
11276 (cd sid && \
11277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11279 "RANLIB=$${RANLIB}" \
11280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11281 mostlyclean) \
11282 || exit 1
11285 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
11286 maybe-mostlyclean-sim:
11288 mostlyclean-sim:
11289 @[ -f ./sim/Makefile ] || exit 0; \
11290 r=`${PWD}`; export r; \
11291 s=`cd $(srcdir); ${PWD}`; export s; \
11292 $(SET_LIB_PATH) \
11293 for flag in $(EXTRA_HOST_FLAGS); do \
11294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11295 done; \
11296 echo "Doing mostlyclean in sim" ; \
11297 (cd sim && \
11298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11300 "RANLIB=$${RANLIB}" \
11301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11302 mostlyclean) \
11303 || exit 1
11306 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
11307 maybe-mostlyclean-tar:
11309 mostlyclean-tar:
11310 @[ -f ./tar/Makefile ] || exit 0; \
11311 r=`${PWD}`; export r; \
11312 s=`cd $(srcdir); ${PWD}`; export s; \
11313 $(SET_LIB_PATH) \
11314 for flag in $(EXTRA_HOST_FLAGS); do \
11315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11316 done; \
11317 echo "Doing mostlyclean in tar" ; \
11318 (cd tar && \
11319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11321 "RANLIB=$${RANLIB}" \
11322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11323 mostlyclean) \
11324 || exit 1
11327 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
11328 maybe-mostlyclean-texinfo:
11330 mostlyclean-texinfo:
11331 @[ -f ./texinfo/Makefile ] || exit 0; \
11332 r=`${PWD}`; export r; \
11333 s=`cd $(srcdir); ${PWD}`; export s; \
11334 $(SET_LIB_PATH) \
11335 for flag in $(EXTRA_HOST_FLAGS); do \
11336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11337 done; \
11338 echo "Doing mostlyclean in texinfo" ; \
11339 (cd texinfo && \
11340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11342 "RANLIB=$${RANLIB}" \
11343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11344 mostlyclean) \
11345 || exit 1
11348 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
11349 maybe-mostlyclean-textutils:
11351 mostlyclean-textutils:
11352 @[ -f ./textutils/Makefile ] || exit 0; \
11353 r=`${PWD}`; export r; \
11354 s=`cd $(srcdir); ${PWD}`; export s; \
11355 $(SET_LIB_PATH) \
11356 for flag in $(EXTRA_HOST_FLAGS); do \
11357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 done; \
11359 echo "Doing mostlyclean in textutils" ; \
11360 (cd textutils && \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11363 "RANLIB=$${RANLIB}" \
11364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11365 mostlyclean) \
11366 || exit 1
11369 .PHONY: maybe-mostlyclean-time mostlyclean-time
11370 maybe-mostlyclean-time:
11372 mostlyclean-time:
11373 @[ -f ./time/Makefile ] || exit 0; \
11374 r=`${PWD}`; export r; \
11375 s=`cd $(srcdir); ${PWD}`; export s; \
11376 $(SET_LIB_PATH) \
11377 for flag in $(EXTRA_HOST_FLAGS); do \
11378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11379 done; \
11380 echo "Doing mostlyclean in time" ; \
11381 (cd time && \
11382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11384 "RANLIB=$${RANLIB}" \
11385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11386 mostlyclean) \
11387 || exit 1
11390 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
11391 maybe-mostlyclean-uudecode:
11393 mostlyclean-uudecode:
11394 @[ -f ./uudecode/Makefile ] || exit 0; \
11395 r=`${PWD}`; export r; \
11396 s=`cd $(srcdir); ${PWD}`; export s; \
11397 $(SET_LIB_PATH) \
11398 for flag in $(EXTRA_HOST_FLAGS); do \
11399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11400 done; \
11401 echo "Doing mostlyclean in uudecode" ; \
11402 (cd uudecode && \
11403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11405 "RANLIB=$${RANLIB}" \
11406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11407 mostlyclean) \
11408 || exit 1
11411 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
11412 maybe-mostlyclean-wdiff:
11414 mostlyclean-wdiff:
11415 @[ -f ./wdiff/Makefile ] || exit 0; \
11416 r=`${PWD}`; export r; \
11417 s=`cd $(srcdir); ${PWD}`; export s; \
11418 $(SET_LIB_PATH) \
11419 for flag in $(EXTRA_HOST_FLAGS); do \
11420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11421 done; \
11422 echo "Doing mostlyclean in wdiff" ; \
11423 (cd wdiff && \
11424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11426 "RANLIB=$${RANLIB}" \
11427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11428 mostlyclean) \
11429 || exit 1
11432 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
11433 maybe-mostlyclean-zip:
11435 mostlyclean-zip:
11436 @[ -f ./zip/Makefile ] || exit 0; \
11437 r=`${PWD}`; export r; \
11438 s=`cd $(srcdir); ${PWD}`; export s; \
11439 $(SET_LIB_PATH) \
11440 for flag in $(EXTRA_HOST_FLAGS); do \
11441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11442 done; \
11443 echo "Doing mostlyclean in zip" ; \
11444 (cd zip && \
11445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11447 "RANLIB=$${RANLIB}" \
11448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11449 mostlyclean) \
11450 || exit 1
11453 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
11454 maybe-mostlyclean-zlib:
11456 mostlyclean-zlib:
11457 @[ -f ./zlib/Makefile ] || exit 0; \
11458 r=`${PWD}`; export r; \
11459 s=`cd $(srcdir); ${PWD}`; export s; \
11460 $(SET_LIB_PATH) \
11461 for flag in $(EXTRA_HOST_FLAGS); do \
11462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11463 done; \
11464 echo "Doing mostlyclean in zlib" ; \
11465 (cd zlib && \
11466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11468 "RANLIB=$${RANLIB}" \
11469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11470 mostlyclean) \
11471 || exit 1
11474 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
11475 maybe-mostlyclean-gdb:
11477 mostlyclean-gdb:
11478 @[ -f ./gdb/Makefile ] || exit 0; \
11479 r=`${PWD}`; export r; \
11480 s=`cd $(srcdir); ${PWD}`; export s; \
11481 $(SET_LIB_PATH) \
11482 for flag in $(EXTRA_HOST_FLAGS); do \
11483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11484 done; \
11485 echo "Doing mostlyclean in gdb" ; \
11486 (cd gdb && \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489 "RANLIB=$${RANLIB}" \
11490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11491 mostlyclean) \
11492 || exit 1
11495 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
11496 maybe-mostlyclean-expect:
11498 mostlyclean-expect:
11499 @[ -f ./expect/Makefile ] || exit 0; \
11500 r=`${PWD}`; export r; \
11501 s=`cd $(srcdir); ${PWD}`; export s; \
11502 $(SET_LIB_PATH) \
11503 for flag in $(EXTRA_HOST_FLAGS); do \
11504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11505 done; \
11506 echo "Doing mostlyclean in expect" ; \
11507 (cd expect && \
11508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11510 "RANLIB=$${RANLIB}" \
11511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11512 mostlyclean) \
11513 || exit 1
11516 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
11517 maybe-mostlyclean-guile:
11519 mostlyclean-guile:
11520 @[ -f ./guile/Makefile ] || exit 0; \
11521 r=`${PWD}`; export r; \
11522 s=`cd $(srcdir); ${PWD}`; export s; \
11523 $(SET_LIB_PATH) \
11524 for flag in $(EXTRA_HOST_FLAGS); do \
11525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11526 done; \
11527 echo "Doing mostlyclean in guile" ; \
11528 (cd guile && \
11529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11531 "RANLIB=$${RANLIB}" \
11532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11533 mostlyclean) \
11534 || exit 1
11537 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
11538 maybe-mostlyclean-tk:
11540 mostlyclean-tk:
11541 @[ -f ./tk/Makefile ] || exit 0; \
11542 r=`${PWD}`; export r; \
11543 s=`cd $(srcdir); ${PWD}`; export s; \
11544 $(SET_LIB_PATH) \
11545 for flag in $(EXTRA_HOST_FLAGS); do \
11546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11547 done; \
11548 echo "Doing mostlyclean in tk" ; \
11549 (cd tk && \
11550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11552 "RANLIB=$${RANLIB}" \
11553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11554 mostlyclean) \
11555 || exit 1
11558 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
11559 maybe-mostlyclean-tix:
11561 mostlyclean-tix:
11562 @[ -f ./tix/Makefile ] || exit 0; \
11563 r=`${PWD}`; export r; \
11564 s=`cd $(srcdir); ${PWD}`; export s; \
11565 $(SET_LIB_PATH) \
11566 for flag in $(EXTRA_HOST_FLAGS); do \
11567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11568 done; \
11569 echo "Doing mostlyclean in tix" ; \
11570 (cd tix && \
11571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11573 "RANLIB=$${RANLIB}" \
11574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11575 mostlyclean) \
11576 || exit 1
11579 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
11580 maybe-mostlyclean-libtermcap:
11582 # libtermcap doesn't support mostlyclean.
11583 mostlyclean-libtermcap:
11586 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
11587 maybe-mostlyclean-utils:
11589 mostlyclean-utils:
11590 @[ -f ./utils/Makefile ] || exit 0; \
11591 r=`${PWD}`; export r; \
11592 s=`cd $(srcdir); ${PWD}`; export s; \
11593 $(SET_LIB_PATH) \
11594 for flag in $(EXTRA_HOST_FLAGS); do \
11595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11596 done; \
11597 echo "Doing mostlyclean in utils" ; \
11598 (cd utils && \
11599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11601 "RANLIB=$${RANLIB}" \
11602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11603 mostlyclean) \
11604 || exit 1
11608 # Target modules.
11610 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
11611 maybe-mostlyclean-target-libstdc++-v3:
11613 mostlyclean-target-libstdc++-v3:
11614 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
11615 r=`${PWD}`; export r; \
11616 s=`cd $(srcdir); ${PWD}`; export s; \
11617 $(SET_LIB_PATH) \
11618 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
11619 for flag in $(EXTRA_TARGET_FLAGS); do \
11620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11621 done; \
11622 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
11623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11625 "RANLIB=$${RANLIB}" \
11626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11627 mostlyclean) \
11628 || exit 1
11631 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
11632 maybe-mostlyclean-target-newlib:
11634 mostlyclean-target-newlib:
11635 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
11636 r=`${PWD}`; export r; \
11637 s=`cd $(srcdir); ${PWD}`; export s; \
11638 $(SET_LIB_PATH) \
11639 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
11640 for flag in $(EXTRA_TARGET_FLAGS); do \
11641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11642 done; \
11643 (cd $(TARGET_SUBDIR)/newlib && \
11644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11646 "RANLIB=$${RANLIB}" \
11647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11648 mostlyclean) \
11649 || exit 1
11652 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
11653 maybe-mostlyclean-target-libf2c:
11655 mostlyclean-target-libf2c:
11656 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
11657 r=`${PWD}`; export r; \
11658 s=`cd $(srcdir); ${PWD}`; export s; \
11659 $(SET_LIB_PATH) \
11660 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
11661 for flag in $(EXTRA_TARGET_FLAGS); do \
11662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11663 done; \
11664 (cd $(TARGET_SUBDIR)/libf2c && \
11665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11667 "RANLIB=$${RANLIB}" \
11668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11669 mostlyclean) \
11670 || exit 1
11673 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
11674 maybe-mostlyclean-target-libobjc:
11676 mostlyclean-target-libobjc:
11677 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
11678 r=`${PWD}`; export r; \
11679 s=`cd $(srcdir); ${PWD}`; export s; \
11680 $(SET_LIB_PATH) \
11681 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
11682 for flag in $(EXTRA_TARGET_FLAGS); do \
11683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11684 done; \
11685 (cd $(TARGET_SUBDIR)/libobjc && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11688 "RANLIB=$${RANLIB}" \
11689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11690 mostlyclean) \
11691 || exit 1
11694 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
11695 maybe-mostlyclean-target-libtermcap:
11697 # libtermcap doesn't support mostlyclean.
11698 mostlyclean-target-libtermcap:
11701 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
11702 maybe-mostlyclean-target-winsup:
11704 mostlyclean-target-winsup:
11705 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
11706 r=`${PWD}`; export r; \
11707 s=`cd $(srcdir); ${PWD}`; export s; \
11708 $(SET_LIB_PATH) \
11709 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
11710 for flag in $(EXTRA_TARGET_FLAGS); do \
11711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 done; \
11713 (cd $(TARGET_SUBDIR)/winsup && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718 mostlyclean) \
11719 || exit 1
11722 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
11723 maybe-mostlyclean-target-libgloss:
11725 mostlyclean-target-libgloss:
11726 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
11727 r=`${PWD}`; export r; \
11728 s=`cd $(srcdir); ${PWD}`; export s; \
11729 $(SET_LIB_PATH) \
11730 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
11731 for flag in $(EXTRA_TARGET_FLAGS); do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 (cd $(TARGET_SUBDIR)/libgloss && \
11735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11737 "RANLIB=$${RANLIB}" \
11738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11739 mostlyclean) \
11740 || exit 1
11743 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
11744 maybe-mostlyclean-target-libiberty:
11746 mostlyclean-target-libiberty:
11747 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
11748 r=`${PWD}`; export r; \
11749 s=`cd $(srcdir); ${PWD}`; export s; \
11750 $(SET_LIB_PATH) \
11751 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
11752 for flag in $(EXTRA_TARGET_FLAGS); do \
11753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11754 done; \
11755 (cd $(TARGET_SUBDIR)/libiberty && \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11758 "RANLIB=$${RANLIB}" \
11759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11760 mostlyclean) \
11761 || exit 1
11764 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
11765 maybe-mostlyclean-target-gperf:
11767 mostlyclean-target-gperf:
11768 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
11769 r=`${PWD}`; export r; \
11770 s=`cd $(srcdir); ${PWD}`; export s; \
11771 $(SET_LIB_PATH) \
11772 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
11773 for flag in $(EXTRA_TARGET_FLAGS); do \
11774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11775 done; \
11776 (cd $(TARGET_SUBDIR)/gperf && \
11777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11779 "RANLIB=$${RANLIB}" \
11780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11781 mostlyclean) \
11782 || exit 1
11785 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
11786 maybe-mostlyclean-target-examples:
11788 mostlyclean-target-examples:
11789 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
11790 r=`${PWD}`; export r; \
11791 s=`cd $(srcdir); ${PWD}`; export s; \
11792 $(SET_LIB_PATH) \
11793 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
11794 for flag in $(EXTRA_TARGET_FLAGS); do \
11795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11796 done; \
11797 (cd $(TARGET_SUBDIR)/examples && \
11798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11800 "RANLIB=$${RANLIB}" \
11801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11802 mostlyclean) \
11803 || exit 1
11806 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
11807 maybe-mostlyclean-target-libffi:
11809 mostlyclean-target-libffi:
11810 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
11811 r=`${PWD}`; export r; \
11812 s=`cd $(srcdir); ${PWD}`; export s; \
11813 $(SET_LIB_PATH) \
11814 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
11815 for flag in $(EXTRA_TARGET_FLAGS); do \
11816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11817 done; \
11818 (cd $(TARGET_SUBDIR)/libffi && \
11819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11821 "RANLIB=$${RANLIB}" \
11822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11823 mostlyclean) \
11824 || exit 1
11827 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
11828 maybe-mostlyclean-target-libjava:
11830 mostlyclean-target-libjava:
11831 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
11832 r=`${PWD}`; export r; \
11833 s=`cd $(srcdir); ${PWD}`; export s; \
11834 $(SET_LIB_PATH) \
11835 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
11836 for flag in $(EXTRA_TARGET_FLAGS); do \
11837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11838 done; \
11839 (cd $(TARGET_SUBDIR)/libjava && \
11840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11842 "RANLIB=$${RANLIB}" \
11843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11844 mostlyclean) \
11845 || exit 1
11848 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
11849 maybe-mostlyclean-target-zlib:
11851 mostlyclean-target-zlib:
11852 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
11853 r=`${PWD}`; export r; \
11854 s=`cd $(srcdir); ${PWD}`; export s; \
11855 $(SET_LIB_PATH) \
11856 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
11857 for flag in $(EXTRA_TARGET_FLAGS); do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11859 done; \
11860 (cd $(TARGET_SUBDIR)/zlib && \
11861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11863 "RANLIB=$${RANLIB}" \
11864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11865 mostlyclean) \
11866 || exit 1
11869 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
11870 maybe-mostlyclean-target-boehm-gc:
11872 mostlyclean-target-boehm-gc:
11873 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
11874 r=`${PWD}`; export r; \
11875 s=`cd $(srcdir); ${PWD}`; export s; \
11876 $(SET_LIB_PATH) \
11877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
11878 for flag in $(EXTRA_TARGET_FLAGS); do \
11879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11880 done; \
11881 (cd $(TARGET_SUBDIR)/boehm-gc && \
11882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11884 "RANLIB=$${RANLIB}" \
11885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11886 mostlyclean) \
11887 || exit 1
11890 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
11891 maybe-mostlyclean-target-qthreads:
11893 mostlyclean-target-qthreads:
11894 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
11895 r=`${PWD}`; export r; \
11896 s=`cd $(srcdir); ${PWD}`; export s; \
11897 $(SET_LIB_PATH) \
11898 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
11899 for flag in $(EXTRA_TARGET_FLAGS); do \
11900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11901 done; \
11902 (cd $(TARGET_SUBDIR)/qthreads && \
11903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11905 "RANLIB=$${RANLIB}" \
11906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11907 mostlyclean) \
11908 || exit 1
11911 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
11912 maybe-mostlyclean-target-rda:
11914 mostlyclean-target-rda:
11915 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
11916 r=`${PWD}`; export r; \
11917 s=`cd $(srcdir); ${PWD}`; export s; \
11918 $(SET_LIB_PATH) \
11919 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
11920 for flag in $(EXTRA_TARGET_FLAGS); do \
11921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11922 done; \
11923 (cd $(TARGET_SUBDIR)/rda && \
11924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11926 "RANLIB=$${RANLIB}" \
11927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11928 mostlyclean) \
11929 || exit 1
11933 .PHONY: do-clean
11934 do-clean: clean-host clean-target
11936 .PHONY: clean-host
11937 clean-host: maybe-clean-gcc \
11938 maybe-clean-ash \
11939 maybe-clean-autoconf \
11940 maybe-clean-automake \
11941 maybe-clean-bash \
11942 maybe-clean-bfd \
11943 maybe-clean-opcodes \
11944 maybe-clean-binutils \
11945 maybe-clean-bison \
11946 maybe-clean-byacc \
11947 maybe-clean-bzip2 \
11948 maybe-clean-dejagnu \
11949 maybe-clean-diff \
11950 maybe-clean-dosutils \
11951 maybe-clean-etc \
11952 maybe-clean-fastjar \
11953 maybe-clean-fileutils \
11954 maybe-clean-findutils \
11955 maybe-clean-find \
11956 maybe-clean-flex \
11957 maybe-clean-gas \
11958 maybe-clean-gawk \
11959 maybe-clean-gettext \
11960 maybe-clean-gnuserv \
11961 maybe-clean-gprof \
11962 maybe-clean-gzip \
11963 maybe-clean-hello \
11964 maybe-clean-indent \
11965 maybe-clean-intl \
11966 maybe-clean-tcl \
11967 maybe-clean-itcl \
11968 maybe-clean-ld \
11969 maybe-clean-libgui \
11970 maybe-clean-libiberty \
11971 maybe-clean-libtool \
11972 maybe-clean-m4 \
11973 maybe-clean-make \
11974 maybe-clean-mmalloc \
11975 maybe-clean-patch \
11976 maybe-clean-perl \
11977 maybe-clean-prms \
11978 maybe-clean-rcs \
11979 maybe-clean-readline \
11980 maybe-clean-release \
11981 maybe-clean-recode \
11982 maybe-clean-sed \
11983 maybe-clean-send-pr \
11984 maybe-clean-shellutils \
11985 maybe-clean-sid \
11986 maybe-clean-sim \
11987 maybe-clean-tar \
11988 maybe-clean-texinfo \
11989 maybe-clean-textutils \
11990 maybe-clean-time \
11991 maybe-clean-uudecode \
11992 maybe-clean-wdiff \
11993 maybe-clean-zip \
11994 maybe-clean-zlib \
11995 maybe-clean-gdb \
11996 maybe-clean-expect \
11997 maybe-clean-guile \
11998 maybe-clean-tk \
11999 maybe-clean-tix \
12000 maybe-clean-libtermcap \
12001 maybe-clean-utils
12003 .PHONY: clean-target
12004 clean-target: \
12005 maybe-clean-target-libstdc++-v3 \
12006 maybe-clean-target-newlib \
12007 maybe-clean-target-libf2c \
12008 maybe-clean-target-libobjc \
12009 maybe-clean-target-libtermcap \
12010 maybe-clean-target-winsup \
12011 maybe-clean-target-libgloss \
12012 maybe-clean-target-libiberty \
12013 maybe-clean-target-gperf \
12014 maybe-clean-target-examples \
12015 maybe-clean-target-libffi \
12016 maybe-clean-target-libjava \
12017 maybe-clean-target-zlib \
12018 maybe-clean-target-boehm-gc \
12019 maybe-clean-target-qthreads \
12020 maybe-clean-target-rda
12022 # GCC, the eternal special case
12023 .PHONY: maybe-clean-gcc clean-gcc
12024 maybe-clean-gcc:
12025 clean-gcc:
12026 @[ -f ./gcc/Makefile ] || exit 0; \
12027 r=`${PWD}`; export r; \
12028 s=`cd $(srcdir); ${PWD}`; export s; \
12029 $(SET_LIB_PATH) \
12030 for flag in $(EXTRA_GCC_FLAGS); do \
12031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12032 done; \
12033 echo "Doing clean in gcc" ; \
12034 (cd gcc && \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12037 "RANLIB=$${RANLIB}" \
12038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12039 clean) \
12040 || exit 1
12042 # Host modules.
12044 .PHONY: maybe-clean-ash clean-ash
12045 maybe-clean-ash:
12047 clean-ash:
12048 @[ -f ./ash/Makefile ] || exit 0; \
12049 r=`${PWD}`; export r; \
12050 s=`cd $(srcdir); ${PWD}`; export s; \
12051 $(SET_LIB_PATH) \
12052 for flag in $(EXTRA_HOST_FLAGS); do \
12053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054 done; \
12055 echo "Doing clean in ash" ; \
12056 (cd ash && \
12057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12059 "RANLIB=$${RANLIB}" \
12060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12061 clean) \
12062 || exit 1
12065 .PHONY: maybe-clean-autoconf clean-autoconf
12066 maybe-clean-autoconf:
12068 clean-autoconf:
12069 @[ -f ./autoconf/Makefile ] || exit 0; \
12070 r=`${PWD}`; export r; \
12071 s=`cd $(srcdir); ${PWD}`; export s; \
12072 $(SET_LIB_PATH) \
12073 for flag in $(EXTRA_HOST_FLAGS); do \
12074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12075 done; \
12076 echo "Doing clean in autoconf" ; \
12077 (cd autoconf && \
12078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12080 "RANLIB=$${RANLIB}" \
12081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12082 clean) \
12083 || exit 1
12086 .PHONY: maybe-clean-automake clean-automake
12087 maybe-clean-automake:
12089 clean-automake:
12090 @[ -f ./automake/Makefile ] || exit 0; \
12091 r=`${PWD}`; export r; \
12092 s=`cd $(srcdir); ${PWD}`; export s; \
12093 $(SET_LIB_PATH) \
12094 for flag in $(EXTRA_HOST_FLAGS); do \
12095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12096 done; \
12097 echo "Doing clean in automake" ; \
12098 (cd automake && \
12099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12101 "RANLIB=$${RANLIB}" \
12102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12103 clean) \
12104 || exit 1
12107 .PHONY: maybe-clean-bash clean-bash
12108 maybe-clean-bash:
12110 clean-bash:
12111 @[ -f ./bash/Makefile ] || exit 0; \
12112 r=`${PWD}`; export r; \
12113 s=`cd $(srcdir); ${PWD}`; export s; \
12114 $(SET_LIB_PATH) \
12115 for flag in $(EXTRA_HOST_FLAGS); do \
12116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12117 done; \
12118 echo "Doing clean in bash" ; \
12119 (cd bash && \
12120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12122 "RANLIB=$${RANLIB}" \
12123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12124 clean) \
12125 || exit 1
12128 .PHONY: maybe-clean-bfd clean-bfd
12129 maybe-clean-bfd:
12131 clean-bfd:
12132 @[ -f ./bfd/Makefile ] || exit 0; \
12133 r=`${PWD}`; export r; \
12134 s=`cd $(srcdir); ${PWD}`; export s; \
12135 $(SET_LIB_PATH) \
12136 for flag in $(EXTRA_HOST_FLAGS); do \
12137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12138 done; \
12139 echo "Doing clean in bfd" ; \
12140 (cd bfd && \
12141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12143 "RANLIB=$${RANLIB}" \
12144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12145 clean) \
12146 || exit 1
12149 .PHONY: maybe-clean-opcodes clean-opcodes
12150 maybe-clean-opcodes:
12152 clean-opcodes:
12153 @[ -f ./opcodes/Makefile ] || exit 0; \
12154 r=`${PWD}`; export r; \
12155 s=`cd $(srcdir); ${PWD}`; export s; \
12156 $(SET_LIB_PATH) \
12157 for flag in $(EXTRA_HOST_FLAGS); do \
12158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12159 done; \
12160 echo "Doing clean in opcodes" ; \
12161 (cd opcodes && \
12162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12164 "RANLIB=$${RANLIB}" \
12165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12166 clean) \
12167 || exit 1
12170 .PHONY: maybe-clean-binutils clean-binutils
12171 maybe-clean-binutils:
12173 clean-binutils:
12174 @[ -f ./binutils/Makefile ] || exit 0; \
12175 r=`${PWD}`; export r; \
12176 s=`cd $(srcdir); ${PWD}`; export s; \
12177 $(SET_LIB_PATH) \
12178 for flag in $(EXTRA_HOST_FLAGS); do \
12179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12180 done; \
12181 echo "Doing clean in binutils" ; \
12182 (cd binutils && \
12183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12185 "RANLIB=$${RANLIB}" \
12186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12187 clean) \
12188 || exit 1
12191 .PHONY: maybe-clean-bison clean-bison
12192 maybe-clean-bison:
12194 clean-bison:
12195 @[ -f ./bison/Makefile ] || exit 0; \
12196 r=`${PWD}`; export r; \
12197 s=`cd $(srcdir); ${PWD}`; export s; \
12198 $(SET_LIB_PATH) \
12199 for flag in $(EXTRA_HOST_FLAGS); do \
12200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12201 done; \
12202 echo "Doing clean in bison" ; \
12203 (cd bison && \
12204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12206 "RANLIB=$${RANLIB}" \
12207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12208 clean) \
12209 || exit 1
12212 .PHONY: maybe-clean-byacc clean-byacc
12213 maybe-clean-byacc:
12215 clean-byacc:
12216 @[ -f ./byacc/Makefile ] || exit 0; \
12217 r=`${PWD}`; export r; \
12218 s=`cd $(srcdir); ${PWD}`; export s; \
12219 $(SET_LIB_PATH) \
12220 for flag in $(EXTRA_HOST_FLAGS); do \
12221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12222 done; \
12223 echo "Doing clean in byacc" ; \
12224 (cd byacc && \
12225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12227 "RANLIB=$${RANLIB}" \
12228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12229 clean) \
12230 || exit 1
12233 .PHONY: maybe-clean-bzip2 clean-bzip2
12234 maybe-clean-bzip2:
12236 clean-bzip2:
12237 @[ -f ./bzip2/Makefile ] || exit 0; \
12238 r=`${PWD}`; export r; \
12239 s=`cd $(srcdir); ${PWD}`; export s; \
12240 $(SET_LIB_PATH) \
12241 for flag in $(EXTRA_HOST_FLAGS); do \
12242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12243 done; \
12244 echo "Doing clean in bzip2" ; \
12245 (cd bzip2 && \
12246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12248 "RANLIB=$${RANLIB}" \
12249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12250 clean) \
12251 || exit 1
12254 .PHONY: maybe-clean-dejagnu clean-dejagnu
12255 maybe-clean-dejagnu:
12257 clean-dejagnu:
12258 @[ -f ./dejagnu/Makefile ] || exit 0; \
12259 r=`${PWD}`; export r; \
12260 s=`cd $(srcdir); ${PWD}`; export s; \
12261 $(SET_LIB_PATH) \
12262 for flag in $(EXTRA_HOST_FLAGS); do \
12263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12264 done; \
12265 echo "Doing clean in dejagnu" ; \
12266 (cd dejagnu && \
12267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12269 "RANLIB=$${RANLIB}" \
12270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12271 clean) \
12272 || exit 1
12275 .PHONY: maybe-clean-diff clean-diff
12276 maybe-clean-diff:
12278 clean-diff:
12279 @[ -f ./diff/Makefile ] || exit 0; \
12280 r=`${PWD}`; export r; \
12281 s=`cd $(srcdir); ${PWD}`; export s; \
12282 $(SET_LIB_PATH) \
12283 for flag in $(EXTRA_HOST_FLAGS); do \
12284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12285 done; \
12286 echo "Doing clean in diff" ; \
12287 (cd diff && \
12288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12290 "RANLIB=$${RANLIB}" \
12291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12292 clean) \
12293 || exit 1
12296 .PHONY: maybe-clean-dosutils clean-dosutils
12297 maybe-clean-dosutils:
12299 clean-dosutils:
12300 @[ -f ./dosutils/Makefile ] || exit 0; \
12301 r=`${PWD}`; export r; \
12302 s=`cd $(srcdir); ${PWD}`; export s; \
12303 $(SET_LIB_PATH) \
12304 for flag in $(EXTRA_HOST_FLAGS); do \
12305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12306 done; \
12307 echo "Doing clean in dosutils" ; \
12308 (cd dosutils && \
12309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12311 "RANLIB=$${RANLIB}" \
12312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12313 clean) \
12314 || exit 1
12317 .PHONY: maybe-clean-etc clean-etc
12318 maybe-clean-etc:
12320 clean-etc:
12321 @[ -f ./etc/Makefile ] || exit 0; \
12322 r=`${PWD}`; export r; \
12323 s=`cd $(srcdir); ${PWD}`; export s; \
12324 $(SET_LIB_PATH) \
12325 for flag in $(EXTRA_HOST_FLAGS); do \
12326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12327 done; \
12328 echo "Doing clean in etc" ; \
12329 (cd etc && \
12330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12332 "RANLIB=$${RANLIB}" \
12333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12334 clean) \
12335 || exit 1
12338 .PHONY: maybe-clean-fastjar clean-fastjar
12339 maybe-clean-fastjar:
12341 clean-fastjar:
12342 @[ -f ./fastjar/Makefile ] || exit 0; \
12343 r=`${PWD}`; export r; \
12344 s=`cd $(srcdir); ${PWD}`; export s; \
12345 $(SET_LIB_PATH) \
12346 for flag in $(EXTRA_HOST_FLAGS); do \
12347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12348 done; \
12349 echo "Doing clean in fastjar" ; \
12350 (cd fastjar && \
12351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12353 "RANLIB=$${RANLIB}" \
12354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12355 clean) \
12356 || exit 1
12359 .PHONY: maybe-clean-fileutils clean-fileutils
12360 maybe-clean-fileutils:
12362 clean-fileutils:
12363 @[ -f ./fileutils/Makefile ] || exit 0; \
12364 r=`${PWD}`; export r; \
12365 s=`cd $(srcdir); ${PWD}`; export s; \
12366 $(SET_LIB_PATH) \
12367 for flag in $(EXTRA_HOST_FLAGS); do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12369 done; \
12370 echo "Doing clean in fileutils" ; \
12371 (cd fileutils && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12376 clean) \
12377 || exit 1
12380 .PHONY: maybe-clean-findutils clean-findutils
12381 maybe-clean-findutils:
12383 clean-findutils:
12384 @[ -f ./findutils/Makefile ] || exit 0; \
12385 r=`${PWD}`; export r; \
12386 s=`cd $(srcdir); ${PWD}`; export s; \
12387 $(SET_LIB_PATH) \
12388 for flag in $(EXTRA_HOST_FLAGS); do \
12389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12390 done; \
12391 echo "Doing clean in findutils" ; \
12392 (cd findutils && \
12393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12395 "RANLIB=$${RANLIB}" \
12396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12397 clean) \
12398 || exit 1
12401 .PHONY: maybe-clean-find clean-find
12402 maybe-clean-find:
12404 clean-find:
12405 @[ -f ./find/Makefile ] || exit 0; \
12406 r=`${PWD}`; export r; \
12407 s=`cd $(srcdir); ${PWD}`; export s; \
12408 $(SET_LIB_PATH) \
12409 for flag in $(EXTRA_HOST_FLAGS); do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411 done; \
12412 echo "Doing clean in find" ; \
12413 (cd find && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418 clean) \
12419 || exit 1
12422 .PHONY: maybe-clean-flex clean-flex
12423 maybe-clean-flex:
12425 clean-flex:
12426 @[ -f ./flex/Makefile ] || exit 0; \
12427 r=`${PWD}`; export r; \
12428 s=`cd $(srcdir); ${PWD}`; export s; \
12429 $(SET_LIB_PATH) \
12430 for flag in $(EXTRA_HOST_FLAGS); do \
12431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12432 done; \
12433 echo "Doing clean in flex" ; \
12434 (cd flex && \
12435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12437 "RANLIB=$${RANLIB}" \
12438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12439 clean) \
12440 || exit 1
12443 .PHONY: maybe-clean-gas clean-gas
12444 maybe-clean-gas:
12446 clean-gas:
12447 @[ -f ./gas/Makefile ] || exit 0; \
12448 r=`${PWD}`; export r; \
12449 s=`cd $(srcdir); ${PWD}`; export s; \
12450 $(SET_LIB_PATH) \
12451 for flag in $(EXTRA_HOST_FLAGS); do \
12452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 done; \
12454 echo "Doing clean in gas" ; \
12455 (cd gas && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12458 "RANLIB=$${RANLIB}" \
12459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12460 clean) \
12461 || exit 1
12464 .PHONY: maybe-clean-gawk clean-gawk
12465 maybe-clean-gawk:
12467 clean-gawk:
12468 @[ -f ./gawk/Makefile ] || exit 0; \
12469 r=`${PWD}`; export r; \
12470 s=`cd $(srcdir); ${PWD}`; export s; \
12471 $(SET_LIB_PATH) \
12472 for flag in $(EXTRA_HOST_FLAGS); do \
12473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12474 done; \
12475 echo "Doing clean in gawk" ; \
12476 (cd gawk && \
12477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12479 "RANLIB=$${RANLIB}" \
12480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12481 clean) \
12482 || exit 1
12485 .PHONY: maybe-clean-gettext clean-gettext
12486 maybe-clean-gettext:
12488 clean-gettext:
12489 @[ -f ./gettext/Makefile ] || exit 0; \
12490 r=`${PWD}`; export r; \
12491 s=`cd $(srcdir); ${PWD}`; export s; \
12492 $(SET_LIB_PATH) \
12493 for flag in $(EXTRA_HOST_FLAGS); do \
12494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12495 done; \
12496 echo "Doing clean in gettext" ; \
12497 (cd gettext && \
12498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12500 "RANLIB=$${RANLIB}" \
12501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12502 clean) \
12503 || exit 1
12506 .PHONY: maybe-clean-gnuserv clean-gnuserv
12507 maybe-clean-gnuserv:
12509 clean-gnuserv:
12510 @[ -f ./gnuserv/Makefile ] || exit 0; \
12511 r=`${PWD}`; export r; \
12512 s=`cd $(srcdir); ${PWD}`; export s; \
12513 $(SET_LIB_PATH) \
12514 for flag in $(EXTRA_HOST_FLAGS); do \
12515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12516 done; \
12517 echo "Doing clean in gnuserv" ; \
12518 (cd gnuserv && \
12519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12521 "RANLIB=$${RANLIB}" \
12522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12523 clean) \
12524 || exit 1
12527 .PHONY: maybe-clean-gprof clean-gprof
12528 maybe-clean-gprof:
12530 clean-gprof:
12531 @[ -f ./gprof/Makefile ] || exit 0; \
12532 r=`${PWD}`; export r; \
12533 s=`cd $(srcdir); ${PWD}`; export s; \
12534 $(SET_LIB_PATH) \
12535 for flag in $(EXTRA_HOST_FLAGS); do \
12536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12537 done; \
12538 echo "Doing clean in gprof" ; \
12539 (cd gprof && \
12540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12542 "RANLIB=$${RANLIB}" \
12543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12544 clean) \
12545 || exit 1
12548 .PHONY: maybe-clean-gzip clean-gzip
12549 maybe-clean-gzip:
12551 clean-gzip:
12552 @[ -f ./gzip/Makefile ] || exit 0; \
12553 r=`${PWD}`; export r; \
12554 s=`cd $(srcdir); ${PWD}`; export s; \
12555 $(SET_LIB_PATH) \
12556 for flag in $(EXTRA_HOST_FLAGS); do \
12557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12558 done; \
12559 echo "Doing clean in gzip" ; \
12560 (cd gzip && \
12561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12563 "RANLIB=$${RANLIB}" \
12564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12565 clean) \
12566 || exit 1
12569 .PHONY: maybe-clean-hello clean-hello
12570 maybe-clean-hello:
12572 clean-hello:
12573 @[ -f ./hello/Makefile ] || exit 0; \
12574 r=`${PWD}`; export r; \
12575 s=`cd $(srcdir); ${PWD}`; export s; \
12576 $(SET_LIB_PATH) \
12577 for flag in $(EXTRA_HOST_FLAGS); do \
12578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12579 done; \
12580 echo "Doing clean in hello" ; \
12581 (cd hello && \
12582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12584 "RANLIB=$${RANLIB}" \
12585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12586 clean) \
12587 || exit 1
12590 .PHONY: maybe-clean-indent clean-indent
12591 maybe-clean-indent:
12593 clean-indent:
12594 @[ -f ./indent/Makefile ] || exit 0; \
12595 r=`${PWD}`; export r; \
12596 s=`cd $(srcdir); ${PWD}`; export s; \
12597 $(SET_LIB_PATH) \
12598 for flag in $(EXTRA_HOST_FLAGS); do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 done; \
12601 echo "Doing clean in indent" ; \
12602 (cd indent && \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 clean) \
12608 || exit 1
12611 .PHONY: maybe-clean-intl clean-intl
12612 maybe-clean-intl:
12614 clean-intl:
12615 @[ -f ./intl/Makefile ] || exit 0; \
12616 r=`${PWD}`; export r; \
12617 s=`cd $(srcdir); ${PWD}`; export s; \
12618 $(SET_LIB_PATH) \
12619 for flag in $(EXTRA_HOST_FLAGS); do \
12620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12621 done; \
12622 echo "Doing clean in intl" ; \
12623 (cd intl && \
12624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12626 "RANLIB=$${RANLIB}" \
12627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12628 clean) \
12629 || exit 1
12632 .PHONY: maybe-clean-tcl clean-tcl
12633 maybe-clean-tcl:
12635 clean-tcl:
12636 @[ -f ./tcl/Makefile ] || exit 0; \
12637 r=`${PWD}`; export r; \
12638 s=`cd $(srcdir); ${PWD}`; export s; \
12639 $(SET_LIB_PATH) \
12640 for flag in $(EXTRA_HOST_FLAGS); do \
12641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12642 done; \
12643 echo "Doing clean in tcl" ; \
12644 (cd tcl && \
12645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12647 "RANLIB=$${RANLIB}" \
12648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12649 clean) \
12650 || exit 1
12653 .PHONY: maybe-clean-itcl clean-itcl
12654 maybe-clean-itcl:
12656 clean-itcl:
12657 @[ -f ./itcl/Makefile ] || exit 0; \
12658 r=`${PWD}`; export r; \
12659 s=`cd $(srcdir); ${PWD}`; export s; \
12660 $(SET_LIB_PATH) \
12661 for flag in $(EXTRA_HOST_FLAGS); do \
12662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12663 done; \
12664 echo "Doing clean in itcl" ; \
12665 (cd itcl && \
12666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12668 "RANLIB=$${RANLIB}" \
12669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12670 clean) \
12671 || exit 1
12674 .PHONY: maybe-clean-ld clean-ld
12675 maybe-clean-ld:
12677 clean-ld:
12678 @[ -f ./ld/Makefile ] || exit 0; \
12679 r=`${PWD}`; export r; \
12680 s=`cd $(srcdir); ${PWD}`; export s; \
12681 $(SET_LIB_PATH) \
12682 for flag in $(EXTRA_HOST_FLAGS); do \
12683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12684 done; \
12685 echo "Doing clean in ld" ; \
12686 (cd ld && \
12687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12689 "RANLIB=$${RANLIB}" \
12690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12691 clean) \
12692 || exit 1
12695 .PHONY: maybe-clean-libgui clean-libgui
12696 maybe-clean-libgui:
12698 clean-libgui:
12699 @[ -f ./libgui/Makefile ] || exit 0; \
12700 r=`${PWD}`; export r; \
12701 s=`cd $(srcdir); ${PWD}`; export s; \
12702 $(SET_LIB_PATH) \
12703 for flag in $(EXTRA_HOST_FLAGS); do \
12704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12705 done; \
12706 echo "Doing clean in libgui" ; \
12707 (cd libgui && \
12708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12710 "RANLIB=$${RANLIB}" \
12711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12712 clean) \
12713 || exit 1
12716 .PHONY: maybe-clean-libiberty clean-libiberty
12717 maybe-clean-libiberty:
12719 clean-libiberty:
12720 @[ -f ./libiberty/Makefile ] || exit 0; \
12721 r=`${PWD}`; export r; \
12722 s=`cd $(srcdir); ${PWD}`; export s; \
12723 $(SET_LIB_PATH) \
12724 for flag in $(EXTRA_HOST_FLAGS); do \
12725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12726 done; \
12727 echo "Doing clean in libiberty" ; \
12728 (cd libiberty && \
12729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12731 "RANLIB=$${RANLIB}" \
12732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12733 clean) \
12734 || exit 1
12737 .PHONY: maybe-clean-libtool clean-libtool
12738 maybe-clean-libtool:
12740 clean-libtool:
12741 @[ -f ./libtool/Makefile ] || exit 0; \
12742 r=`${PWD}`; export r; \
12743 s=`cd $(srcdir); ${PWD}`; export s; \
12744 $(SET_LIB_PATH) \
12745 for flag in $(EXTRA_HOST_FLAGS); do \
12746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12747 done; \
12748 echo "Doing clean in libtool" ; \
12749 (cd libtool && \
12750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12752 "RANLIB=$${RANLIB}" \
12753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12754 clean) \
12755 || exit 1
12758 .PHONY: maybe-clean-m4 clean-m4
12759 maybe-clean-m4:
12761 clean-m4:
12762 @[ -f ./m4/Makefile ] || exit 0; \
12763 r=`${PWD}`; export r; \
12764 s=`cd $(srcdir); ${PWD}`; export s; \
12765 $(SET_LIB_PATH) \
12766 for flag in $(EXTRA_HOST_FLAGS); do \
12767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12768 done; \
12769 echo "Doing clean in m4" ; \
12770 (cd m4 && \
12771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12773 "RANLIB=$${RANLIB}" \
12774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12775 clean) \
12776 || exit 1
12779 .PHONY: maybe-clean-make clean-make
12780 maybe-clean-make:
12782 clean-make:
12783 @[ -f ./make/Makefile ] || exit 0; \
12784 r=`${PWD}`; export r; \
12785 s=`cd $(srcdir); ${PWD}`; export s; \
12786 $(SET_LIB_PATH) \
12787 for flag in $(EXTRA_HOST_FLAGS); do \
12788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12789 done; \
12790 echo "Doing clean in make" ; \
12791 (cd make && \
12792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12794 "RANLIB=$${RANLIB}" \
12795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12796 clean) \
12797 || exit 1
12800 .PHONY: maybe-clean-mmalloc clean-mmalloc
12801 maybe-clean-mmalloc:
12803 clean-mmalloc:
12804 @[ -f ./mmalloc/Makefile ] || exit 0; \
12805 r=`${PWD}`; export r; \
12806 s=`cd $(srcdir); ${PWD}`; export s; \
12807 $(SET_LIB_PATH) \
12808 for flag in $(EXTRA_HOST_FLAGS); do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12810 done; \
12811 echo "Doing clean in mmalloc" ; \
12812 (cd mmalloc && \
12813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12815 "RANLIB=$${RANLIB}" \
12816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12817 clean) \
12818 || exit 1
12821 .PHONY: maybe-clean-patch clean-patch
12822 maybe-clean-patch:
12824 clean-patch:
12825 @[ -f ./patch/Makefile ] || exit 0; \
12826 r=`${PWD}`; export r; \
12827 s=`cd $(srcdir); ${PWD}`; export s; \
12828 $(SET_LIB_PATH) \
12829 for flag in $(EXTRA_HOST_FLAGS); do \
12830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12831 done; \
12832 echo "Doing clean in patch" ; \
12833 (cd patch && \
12834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12836 "RANLIB=$${RANLIB}" \
12837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12838 clean) \
12839 || exit 1
12842 .PHONY: maybe-clean-perl clean-perl
12843 maybe-clean-perl:
12845 clean-perl:
12846 @[ -f ./perl/Makefile ] || exit 0; \
12847 r=`${PWD}`; export r; \
12848 s=`cd $(srcdir); ${PWD}`; export s; \
12849 $(SET_LIB_PATH) \
12850 for flag in $(EXTRA_HOST_FLAGS); do \
12851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12852 done; \
12853 echo "Doing clean in perl" ; \
12854 (cd perl && \
12855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12857 "RANLIB=$${RANLIB}" \
12858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12859 clean) \
12860 || exit 1
12863 .PHONY: maybe-clean-prms clean-prms
12864 maybe-clean-prms:
12866 clean-prms:
12867 @[ -f ./prms/Makefile ] || exit 0; \
12868 r=`${PWD}`; export r; \
12869 s=`cd $(srcdir); ${PWD}`; export s; \
12870 $(SET_LIB_PATH) \
12871 for flag in $(EXTRA_HOST_FLAGS); do \
12872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12873 done; \
12874 echo "Doing clean in prms" ; \
12875 (cd prms && \
12876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12878 "RANLIB=$${RANLIB}" \
12879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12880 clean) \
12881 || exit 1
12884 .PHONY: maybe-clean-rcs clean-rcs
12885 maybe-clean-rcs:
12887 clean-rcs:
12888 @[ -f ./rcs/Makefile ] || exit 0; \
12889 r=`${PWD}`; export r; \
12890 s=`cd $(srcdir); ${PWD}`; export s; \
12891 $(SET_LIB_PATH) \
12892 for flag in $(EXTRA_HOST_FLAGS); do \
12893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12894 done; \
12895 echo "Doing clean in rcs" ; \
12896 (cd rcs && \
12897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12899 "RANLIB=$${RANLIB}" \
12900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12901 clean) \
12902 || exit 1
12905 .PHONY: maybe-clean-readline clean-readline
12906 maybe-clean-readline:
12908 clean-readline:
12909 @[ -f ./readline/Makefile ] || exit 0; \
12910 r=`${PWD}`; export r; \
12911 s=`cd $(srcdir); ${PWD}`; export s; \
12912 $(SET_LIB_PATH) \
12913 for flag in $(EXTRA_HOST_FLAGS); do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12915 done; \
12916 echo "Doing clean in readline" ; \
12917 (cd readline && \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12922 clean) \
12923 || exit 1
12926 .PHONY: maybe-clean-release clean-release
12927 maybe-clean-release:
12929 clean-release:
12930 @[ -f ./release/Makefile ] || exit 0; \
12931 r=`${PWD}`; export r; \
12932 s=`cd $(srcdir); ${PWD}`; export s; \
12933 $(SET_LIB_PATH) \
12934 for flag in $(EXTRA_HOST_FLAGS); do \
12935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12936 done; \
12937 echo "Doing clean in release" ; \
12938 (cd release && \
12939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12941 "RANLIB=$${RANLIB}" \
12942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12943 clean) \
12944 || exit 1
12947 .PHONY: maybe-clean-recode clean-recode
12948 maybe-clean-recode:
12950 clean-recode:
12951 @[ -f ./recode/Makefile ] || exit 0; \
12952 r=`${PWD}`; export r; \
12953 s=`cd $(srcdir); ${PWD}`; export s; \
12954 $(SET_LIB_PATH) \
12955 for flag in $(EXTRA_HOST_FLAGS); do \
12956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12957 done; \
12958 echo "Doing clean in recode" ; \
12959 (cd recode && \
12960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962 "RANLIB=$${RANLIB}" \
12963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964 clean) \
12965 || exit 1
12968 .PHONY: maybe-clean-sed clean-sed
12969 maybe-clean-sed:
12971 clean-sed:
12972 @[ -f ./sed/Makefile ] || exit 0; \
12973 r=`${PWD}`; export r; \
12974 s=`cd $(srcdir); ${PWD}`; export s; \
12975 $(SET_LIB_PATH) \
12976 for flag in $(EXTRA_HOST_FLAGS); do \
12977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12978 done; \
12979 echo "Doing clean in sed" ; \
12980 (cd sed && \
12981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12983 "RANLIB=$${RANLIB}" \
12984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12985 clean) \
12986 || exit 1
12989 .PHONY: maybe-clean-send-pr clean-send-pr
12990 maybe-clean-send-pr:
12992 clean-send-pr:
12993 @[ -f ./send-pr/Makefile ] || exit 0; \
12994 r=`${PWD}`; export r; \
12995 s=`cd $(srcdir); ${PWD}`; export s; \
12996 $(SET_LIB_PATH) \
12997 for flag in $(EXTRA_HOST_FLAGS); do \
12998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12999 done; \
13000 echo "Doing clean in send-pr" ; \
13001 (cd send-pr && \
13002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13004 "RANLIB=$${RANLIB}" \
13005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13006 clean) \
13007 || exit 1
13010 .PHONY: maybe-clean-shellutils clean-shellutils
13011 maybe-clean-shellutils:
13013 clean-shellutils:
13014 @[ -f ./shellutils/Makefile ] || exit 0; \
13015 r=`${PWD}`; export r; \
13016 s=`cd $(srcdir); ${PWD}`; export s; \
13017 $(SET_LIB_PATH) \
13018 for flag in $(EXTRA_HOST_FLAGS); do \
13019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13020 done; \
13021 echo "Doing clean in shellutils" ; \
13022 (cd shellutils && \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13025 "RANLIB=$${RANLIB}" \
13026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13027 clean) \
13028 || exit 1
13031 .PHONY: maybe-clean-sid clean-sid
13032 maybe-clean-sid:
13034 clean-sid:
13035 @[ -f ./sid/Makefile ] || exit 0; \
13036 r=`${PWD}`; export r; \
13037 s=`cd $(srcdir); ${PWD}`; export s; \
13038 $(SET_LIB_PATH) \
13039 for flag in $(EXTRA_HOST_FLAGS); do \
13040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13041 done; \
13042 echo "Doing clean in sid" ; \
13043 (cd sid && \
13044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13046 "RANLIB=$${RANLIB}" \
13047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13048 clean) \
13049 || exit 1
13052 .PHONY: maybe-clean-sim clean-sim
13053 maybe-clean-sim:
13055 clean-sim:
13056 @[ -f ./sim/Makefile ] || exit 0; \
13057 r=`${PWD}`; export r; \
13058 s=`cd $(srcdir); ${PWD}`; export s; \
13059 $(SET_LIB_PATH) \
13060 for flag in $(EXTRA_HOST_FLAGS); do \
13061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13062 done; \
13063 echo "Doing clean in sim" ; \
13064 (cd sim && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13067 "RANLIB=$${RANLIB}" \
13068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13069 clean) \
13070 || exit 1
13073 .PHONY: maybe-clean-tar clean-tar
13074 maybe-clean-tar:
13076 clean-tar:
13077 @[ -f ./tar/Makefile ] || exit 0; \
13078 r=`${PWD}`; export r; \
13079 s=`cd $(srcdir); ${PWD}`; export s; \
13080 $(SET_LIB_PATH) \
13081 for flag in $(EXTRA_HOST_FLAGS); do \
13082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13083 done; \
13084 echo "Doing clean in tar" ; \
13085 (cd tar && \
13086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13088 "RANLIB=$${RANLIB}" \
13089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13090 clean) \
13091 || exit 1
13094 .PHONY: maybe-clean-texinfo clean-texinfo
13095 maybe-clean-texinfo:
13097 clean-texinfo:
13098 @[ -f ./texinfo/Makefile ] || exit 0; \
13099 r=`${PWD}`; export r; \
13100 s=`cd $(srcdir); ${PWD}`; export s; \
13101 $(SET_LIB_PATH) \
13102 for flag in $(EXTRA_HOST_FLAGS); do \
13103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13104 done; \
13105 echo "Doing clean in texinfo" ; \
13106 (cd texinfo && \
13107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13109 "RANLIB=$${RANLIB}" \
13110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13111 clean) \
13112 || exit 1
13115 .PHONY: maybe-clean-textutils clean-textutils
13116 maybe-clean-textutils:
13118 clean-textutils:
13119 @[ -f ./textutils/Makefile ] || exit 0; \
13120 r=`${PWD}`; export r; \
13121 s=`cd $(srcdir); ${PWD}`; export s; \
13122 $(SET_LIB_PATH) \
13123 for flag in $(EXTRA_HOST_FLAGS); do \
13124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13125 done; \
13126 echo "Doing clean in textutils" ; \
13127 (cd textutils && \
13128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13130 "RANLIB=$${RANLIB}" \
13131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13132 clean) \
13133 || exit 1
13136 .PHONY: maybe-clean-time clean-time
13137 maybe-clean-time:
13139 clean-time:
13140 @[ -f ./time/Makefile ] || exit 0; \
13141 r=`${PWD}`; export r; \
13142 s=`cd $(srcdir); ${PWD}`; export s; \
13143 $(SET_LIB_PATH) \
13144 for flag in $(EXTRA_HOST_FLAGS); do \
13145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13146 done; \
13147 echo "Doing clean in time" ; \
13148 (cd time && \
13149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13151 "RANLIB=$${RANLIB}" \
13152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13153 clean) \
13154 || exit 1
13157 .PHONY: maybe-clean-uudecode clean-uudecode
13158 maybe-clean-uudecode:
13160 clean-uudecode:
13161 @[ -f ./uudecode/Makefile ] || exit 0; \
13162 r=`${PWD}`; export r; \
13163 s=`cd $(srcdir); ${PWD}`; export s; \
13164 $(SET_LIB_PATH) \
13165 for flag in $(EXTRA_HOST_FLAGS); do \
13166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13167 done; \
13168 echo "Doing clean in uudecode" ; \
13169 (cd uudecode && \
13170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13172 "RANLIB=$${RANLIB}" \
13173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13174 clean) \
13175 || exit 1
13178 .PHONY: maybe-clean-wdiff clean-wdiff
13179 maybe-clean-wdiff:
13181 clean-wdiff:
13182 @[ -f ./wdiff/Makefile ] || exit 0; \
13183 r=`${PWD}`; export r; \
13184 s=`cd $(srcdir); ${PWD}`; export s; \
13185 $(SET_LIB_PATH) \
13186 for flag in $(EXTRA_HOST_FLAGS); do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188 done; \
13189 echo "Doing clean in wdiff" ; \
13190 (cd wdiff && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13195 clean) \
13196 || exit 1
13199 .PHONY: maybe-clean-zip clean-zip
13200 maybe-clean-zip:
13202 clean-zip:
13203 @[ -f ./zip/Makefile ] || exit 0; \
13204 r=`${PWD}`; export r; \
13205 s=`cd $(srcdir); ${PWD}`; export s; \
13206 $(SET_LIB_PATH) \
13207 for flag in $(EXTRA_HOST_FLAGS); do \
13208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13209 done; \
13210 echo "Doing clean in zip" ; \
13211 (cd zip && \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13214 "RANLIB=$${RANLIB}" \
13215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13216 clean) \
13217 || exit 1
13220 .PHONY: maybe-clean-zlib clean-zlib
13221 maybe-clean-zlib:
13223 clean-zlib:
13224 @[ -f ./zlib/Makefile ] || exit 0; \
13225 r=`${PWD}`; export r; \
13226 s=`cd $(srcdir); ${PWD}`; export s; \
13227 $(SET_LIB_PATH) \
13228 for flag in $(EXTRA_HOST_FLAGS); do \
13229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13230 done; \
13231 echo "Doing clean in zlib" ; \
13232 (cd zlib && \
13233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13235 "RANLIB=$${RANLIB}" \
13236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13237 clean) \
13238 || exit 1
13241 .PHONY: maybe-clean-gdb clean-gdb
13242 maybe-clean-gdb:
13244 clean-gdb:
13245 @[ -f ./gdb/Makefile ] || exit 0; \
13246 r=`${PWD}`; export r; \
13247 s=`cd $(srcdir); ${PWD}`; export s; \
13248 $(SET_LIB_PATH) \
13249 for flag in $(EXTRA_HOST_FLAGS); do \
13250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13251 done; \
13252 echo "Doing clean in gdb" ; \
13253 (cd gdb && \
13254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13256 "RANLIB=$${RANLIB}" \
13257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13258 clean) \
13259 || exit 1
13262 .PHONY: maybe-clean-expect clean-expect
13263 maybe-clean-expect:
13265 clean-expect:
13266 @[ -f ./expect/Makefile ] || exit 0; \
13267 r=`${PWD}`; export r; \
13268 s=`cd $(srcdir); ${PWD}`; export s; \
13269 $(SET_LIB_PATH) \
13270 for flag in $(EXTRA_HOST_FLAGS); do \
13271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13272 done; \
13273 echo "Doing clean in expect" ; \
13274 (cd expect && \
13275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13277 "RANLIB=$${RANLIB}" \
13278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13279 clean) \
13280 || exit 1
13283 .PHONY: maybe-clean-guile clean-guile
13284 maybe-clean-guile:
13286 clean-guile:
13287 @[ -f ./guile/Makefile ] || exit 0; \
13288 r=`${PWD}`; export r; \
13289 s=`cd $(srcdir); ${PWD}`; export s; \
13290 $(SET_LIB_PATH) \
13291 for flag in $(EXTRA_HOST_FLAGS); do \
13292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13293 done; \
13294 echo "Doing clean in guile" ; \
13295 (cd guile && \
13296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13298 "RANLIB=$${RANLIB}" \
13299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13300 clean) \
13301 || exit 1
13304 .PHONY: maybe-clean-tk clean-tk
13305 maybe-clean-tk:
13307 clean-tk:
13308 @[ -f ./tk/Makefile ] || exit 0; \
13309 r=`${PWD}`; export r; \
13310 s=`cd $(srcdir); ${PWD}`; export s; \
13311 $(SET_LIB_PATH) \
13312 for flag in $(EXTRA_HOST_FLAGS); do \
13313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13314 done; \
13315 echo "Doing clean in tk" ; \
13316 (cd tk && \
13317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13319 "RANLIB=$${RANLIB}" \
13320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13321 clean) \
13322 || exit 1
13325 .PHONY: maybe-clean-tix clean-tix
13326 maybe-clean-tix:
13328 clean-tix:
13329 @[ -f ./tix/Makefile ] || exit 0; \
13330 r=`${PWD}`; export r; \
13331 s=`cd $(srcdir); ${PWD}`; export s; \
13332 $(SET_LIB_PATH) \
13333 for flag in $(EXTRA_HOST_FLAGS); do \
13334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13335 done; \
13336 echo "Doing clean in tix" ; \
13337 (cd tix && \
13338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13340 "RANLIB=$${RANLIB}" \
13341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13342 clean) \
13343 || exit 1
13346 .PHONY: maybe-clean-libtermcap clean-libtermcap
13347 maybe-clean-libtermcap:
13349 # libtermcap doesn't support clean.
13350 clean-libtermcap:
13353 .PHONY: maybe-clean-utils clean-utils
13354 maybe-clean-utils:
13356 clean-utils:
13357 @[ -f ./utils/Makefile ] || exit 0; \
13358 r=`${PWD}`; export r; \
13359 s=`cd $(srcdir); ${PWD}`; export s; \
13360 $(SET_LIB_PATH) \
13361 for flag in $(EXTRA_HOST_FLAGS); do \
13362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13363 done; \
13364 echo "Doing clean in utils" ; \
13365 (cd utils && \
13366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13368 "RANLIB=$${RANLIB}" \
13369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13370 clean) \
13371 || exit 1
13375 # Target modules.
13377 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
13378 maybe-clean-target-libstdc++-v3:
13380 clean-target-libstdc++-v3:
13381 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
13382 r=`${PWD}`; export r; \
13383 s=`cd $(srcdir); ${PWD}`; export s; \
13384 $(SET_LIB_PATH) \
13385 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
13386 for flag in $(EXTRA_TARGET_FLAGS); do \
13387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13388 done; \
13389 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
13390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13392 "RANLIB=$${RANLIB}" \
13393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13394 clean) \
13395 || exit 1
13398 .PHONY: maybe-clean-target-newlib clean-target-newlib
13399 maybe-clean-target-newlib:
13401 clean-target-newlib:
13402 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
13403 r=`${PWD}`; export r; \
13404 s=`cd $(srcdir); ${PWD}`; export s; \
13405 $(SET_LIB_PATH) \
13406 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
13407 for flag in $(EXTRA_TARGET_FLAGS); do \
13408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13409 done; \
13410 (cd $(TARGET_SUBDIR)/newlib && \
13411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13413 "RANLIB=$${RANLIB}" \
13414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13415 clean) \
13416 || exit 1
13419 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
13420 maybe-clean-target-libf2c:
13422 clean-target-libf2c:
13423 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
13424 r=`${PWD}`; export r; \
13425 s=`cd $(srcdir); ${PWD}`; export s; \
13426 $(SET_LIB_PATH) \
13427 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
13428 for flag in $(EXTRA_TARGET_FLAGS); do \
13429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13430 done; \
13431 (cd $(TARGET_SUBDIR)/libf2c && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13436 clean) \
13437 || exit 1
13440 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
13441 maybe-clean-target-libobjc:
13443 clean-target-libobjc:
13444 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
13445 r=`${PWD}`; export r; \
13446 s=`cd $(srcdir); ${PWD}`; export s; \
13447 $(SET_LIB_PATH) \
13448 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
13449 for flag in $(EXTRA_TARGET_FLAGS); do \
13450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13451 done; \
13452 (cd $(TARGET_SUBDIR)/libobjc && \
13453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13455 "RANLIB=$${RANLIB}" \
13456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13457 clean) \
13458 || exit 1
13461 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
13462 maybe-clean-target-libtermcap:
13464 # libtermcap doesn't support clean.
13465 clean-target-libtermcap:
13468 .PHONY: maybe-clean-target-winsup clean-target-winsup
13469 maybe-clean-target-winsup:
13471 clean-target-winsup:
13472 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
13473 r=`${PWD}`; export r; \
13474 s=`cd $(srcdir); ${PWD}`; export s; \
13475 $(SET_LIB_PATH) \
13476 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
13477 for flag in $(EXTRA_TARGET_FLAGS); do \
13478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13479 done; \
13480 (cd $(TARGET_SUBDIR)/winsup && \
13481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13483 "RANLIB=$${RANLIB}" \
13484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13485 clean) \
13486 || exit 1
13489 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
13490 maybe-clean-target-libgloss:
13492 clean-target-libgloss:
13493 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
13494 r=`${PWD}`; export r; \
13495 s=`cd $(srcdir); ${PWD}`; export s; \
13496 $(SET_LIB_PATH) \
13497 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
13498 for flag in $(EXTRA_TARGET_FLAGS); do \
13499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13500 done; \
13501 (cd $(TARGET_SUBDIR)/libgloss && \
13502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13504 "RANLIB=$${RANLIB}" \
13505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13506 clean) \
13507 || exit 1
13510 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
13511 maybe-clean-target-libiberty:
13513 clean-target-libiberty:
13514 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
13515 r=`${PWD}`; export r; \
13516 s=`cd $(srcdir); ${PWD}`; export s; \
13517 $(SET_LIB_PATH) \
13518 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
13519 for flag in $(EXTRA_TARGET_FLAGS); do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 (cd $(TARGET_SUBDIR)/libiberty && \
13523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13525 "RANLIB=$${RANLIB}" \
13526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13527 clean) \
13528 || exit 1
13531 .PHONY: maybe-clean-target-gperf clean-target-gperf
13532 maybe-clean-target-gperf:
13534 clean-target-gperf:
13535 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
13536 r=`${PWD}`; export r; \
13537 s=`cd $(srcdir); ${PWD}`; export s; \
13538 $(SET_LIB_PATH) \
13539 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
13540 for flag in $(EXTRA_TARGET_FLAGS); do \
13541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13542 done; \
13543 (cd $(TARGET_SUBDIR)/gperf && \
13544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13546 "RANLIB=$${RANLIB}" \
13547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13548 clean) \
13549 || exit 1
13552 .PHONY: maybe-clean-target-examples clean-target-examples
13553 maybe-clean-target-examples:
13555 clean-target-examples:
13556 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
13557 r=`${PWD}`; export r; \
13558 s=`cd $(srcdir); ${PWD}`; export s; \
13559 $(SET_LIB_PATH) \
13560 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
13561 for flag in $(EXTRA_TARGET_FLAGS); do \
13562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13563 done; \
13564 (cd $(TARGET_SUBDIR)/examples && \
13565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13567 "RANLIB=$${RANLIB}" \
13568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13569 clean) \
13570 || exit 1
13573 .PHONY: maybe-clean-target-libffi clean-target-libffi
13574 maybe-clean-target-libffi:
13576 clean-target-libffi:
13577 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
13578 r=`${PWD}`; export r; \
13579 s=`cd $(srcdir); ${PWD}`; export s; \
13580 $(SET_LIB_PATH) \
13581 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
13582 for flag in $(EXTRA_TARGET_FLAGS); do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 (cd $(TARGET_SUBDIR)/libffi && \
13586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13588 "RANLIB=$${RANLIB}" \
13589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13590 clean) \
13591 || exit 1
13594 .PHONY: maybe-clean-target-libjava clean-target-libjava
13595 maybe-clean-target-libjava:
13597 clean-target-libjava:
13598 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
13599 r=`${PWD}`; export r; \
13600 s=`cd $(srcdir); ${PWD}`; export s; \
13601 $(SET_LIB_PATH) \
13602 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
13603 for flag in $(EXTRA_TARGET_FLAGS); do \
13604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13605 done; \
13606 (cd $(TARGET_SUBDIR)/libjava && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13609 "RANLIB=$${RANLIB}" \
13610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13611 clean) \
13612 || exit 1
13615 .PHONY: maybe-clean-target-zlib clean-target-zlib
13616 maybe-clean-target-zlib:
13618 clean-target-zlib:
13619 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
13620 r=`${PWD}`; export r; \
13621 s=`cd $(srcdir); ${PWD}`; export s; \
13622 $(SET_LIB_PATH) \
13623 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
13624 for flag in $(EXTRA_TARGET_FLAGS); do \
13625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13626 done; \
13627 (cd $(TARGET_SUBDIR)/zlib && \
13628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630 "RANLIB=$${RANLIB}" \
13631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13632 clean) \
13633 || exit 1
13636 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
13637 maybe-clean-target-boehm-gc:
13639 clean-target-boehm-gc:
13640 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
13641 r=`${PWD}`; export r; \
13642 s=`cd $(srcdir); ${PWD}`; export s; \
13643 $(SET_LIB_PATH) \
13644 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
13645 for flag in $(EXTRA_TARGET_FLAGS); do \
13646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13647 done; \
13648 (cd $(TARGET_SUBDIR)/boehm-gc && \
13649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13651 "RANLIB=$${RANLIB}" \
13652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13653 clean) \
13654 || exit 1
13657 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
13658 maybe-clean-target-qthreads:
13660 clean-target-qthreads:
13661 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
13662 r=`${PWD}`; export r; \
13663 s=`cd $(srcdir); ${PWD}`; export s; \
13664 $(SET_LIB_PATH) \
13665 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
13666 for flag in $(EXTRA_TARGET_FLAGS); do \
13667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13668 done; \
13669 (cd $(TARGET_SUBDIR)/qthreads && \
13670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13672 "RANLIB=$${RANLIB}" \
13673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13674 clean) \
13675 || exit 1
13678 .PHONY: maybe-clean-target-rda clean-target-rda
13679 maybe-clean-target-rda:
13681 clean-target-rda:
13682 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
13683 r=`${PWD}`; export r; \
13684 s=`cd $(srcdir); ${PWD}`; export s; \
13685 $(SET_LIB_PATH) \
13686 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
13687 for flag in $(EXTRA_TARGET_FLAGS); do \
13688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13689 done; \
13690 (cd $(TARGET_SUBDIR)/rda && \
13691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13693 "RANLIB=$${RANLIB}" \
13694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13695 clean) \
13696 || exit 1
13700 .PHONY: do-distclean
13701 do-distclean: distclean-host distclean-target
13703 .PHONY: distclean-host
13704 distclean-host: maybe-distclean-gcc \
13705 maybe-distclean-ash \
13706 maybe-distclean-autoconf \
13707 maybe-distclean-automake \
13708 maybe-distclean-bash \
13709 maybe-distclean-bfd \
13710 maybe-distclean-opcodes \
13711 maybe-distclean-binutils \
13712 maybe-distclean-bison \
13713 maybe-distclean-byacc \
13714 maybe-distclean-bzip2 \
13715 maybe-distclean-dejagnu \
13716 maybe-distclean-diff \
13717 maybe-distclean-dosutils \
13718 maybe-distclean-etc \
13719 maybe-distclean-fastjar \
13720 maybe-distclean-fileutils \
13721 maybe-distclean-findutils \
13722 maybe-distclean-find \
13723 maybe-distclean-flex \
13724 maybe-distclean-gas \
13725 maybe-distclean-gawk \
13726 maybe-distclean-gettext \
13727 maybe-distclean-gnuserv \
13728 maybe-distclean-gprof \
13729 maybe-distclean-gzip \
13730 maybe-distclean-hello \
13731 maybe-distclean-indent \
13732 maybe-distclean-intl \
13733 maybe-distclean-tcl \
13734 maybe-distclean-itcl \
13735 maybe-distclean-ld \
13736 maybe-distclean-libgui \
13737 maybe-distclean-libiberty \
13738 maybe-distclean-libtool \
13739 maybe-distclean-m4 \
13740 maybe-distclean-make \
13741 maybe-distclean-mmalloc \
13742 maybe-distclean-patch \
13743 maybe-distclean-perl \
13744 maybe-distclean-prms \
13745 maybe-distclean-rcs \
13746 maybe-distclean-readline \
13747 maybe-distclean-release \
13748 maybe-distclean-recode \
13749 maybe-distclean-sed \
13750 maybe-distclean-send-pr \
13751 maybe-distclean-shellutils \
13752 maybe-distclean-sid \
13753 maybe-distclean-sim \
13754 maybe-distclean-tar \
13755 maybe-distclean-texinfo \
13756 maybe-distclean-textutils \
13757 maybe-distclean-time \
13758 maybe-distclean-uudecode \
13759 maybe-distclean-wdiff \
13760 maybe-distclean-zip \
13761 maybe-distclean-zlib \
13762 maybe-distclean-gdb \
13763 maybe-distclean-expect \
13764 maybe-distclean-guile \
13765 maybe-distclean-tk \
13766 maybe-distclean-tix \
13767 maybe-distclean-libtermcap \
13768 maybe-distclean-utils
13770 .PHONY: distclean-target
13771 distclean-target: \
13772 maybe-distclean-target-libstdc++-v3 \
13773 maybe-distclean-target-newlib \
13774 maybe-distclean-target-libf2c \
13775 maybe-distclean-target-libobjc \
13776 maybe-distclean-target-libtermcap \
13777 maybe-distclean-target-winsup \
13778 maybe-distclean-target-libgloss \
13779 maybe-distclean-target-libiberty \
13780 maybe-distclean-target-gperf \
13781 maybe-distclean-target-examples \
13782 maybe-distclean-target-libffi \
13783 maybe-distclean-target-libjava \
13784 maybe-distclean-target-zlib \
13785 maybe-distclean-target-boehm-gc \
13786 maybe-distclean-target-qthreads \
13787 maybe-distclean-target-rda
13789 # GCC, the eternal special case
13790 .PHONY: maybe-distclean-gcc distclean-gcc
13791 maybe-distclean-gcc:
13792 distclean-gcc:
13793 @[ -f ./gcc/Makefile ] || exit 0; \
13794 r=`${PWD}`; export r; \
13795 s=`cd $(srcdir); ${PWD}`; export s; \
13796 $(SET_LIB_PATH) \
13797 for flag in $(EXTRA_GCC_FLAGS); do \
13798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13799 done; \
13800 echo "Doing distclean in gcc" ; \
13801 (cd gcc && \
13802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13804 "RANLIB=$${RANLIB}" \
13805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13806 distclean) \
13807 || exit 1
13809 # Host modules.
13811 .PHONY: maybe-distclean-ash distclean-ash
13812 maybe-distclean-ash:
13814 distclean-ash:
13815 @[ -f ./ash/Makefile ] || exit 0; \
13816 r=`${PWD}`; export r; \
13817 s=`cd $(srcdir); ${PWD}`; export s; \
13818 $(SET_LIB_PATH) \
13819 for flag in $(EXTRA_HOST_FLAGS); do \
13820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13821 done; \
13822 echo "Doing distclean in ash" ; \
13823 (cd ash && \
13824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13826 "RANLIB=$${RANLIB}" \
13827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13828 distclean) \
13829 || exit 1
13832 .PHONY: maybe-distclean-autoconf distclean-autoconf
13833 maybe-distclean-autoconf:
13835 distclean-autoconf:
13836 @[ -f ./autoconf/Makefile ] || exit 0; \
13837 r=`${PWD}`; export r; \
13838 s=`cd $(srcdir); ${PWD}`; export s; \
13839 $(SET_LIB_PATH) \
13840 for flag in $(EXTRA_HOST_FLAGS); do \
13841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13842 done; \
13843 echo "Doing distclean in autoconf" ; \
13844 (cd autoconf && \
13845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13847 "RANLIB=$${RANLIB}" \
13848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13849 distclean) \
13850 || exit 1
13853 .PHONY: maybe-distclean-automake distclean-automake
13854 maybe-distclean-automake:
13856 distclean-automake:
13857 @[ -f ./automake/Makefile ] || exit 0; \
13858 r=`${PWD}`; export r; \
13859 s=`cd $(srcdir); ${PWD}`; export s; \
13860 $(SET_LIB_PATH) \
13861 for flag in $(EXTRA_HOST_FLAGS); do \
13862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13863 done; \
13864 echo "Doing distclean in automake" ; \
13865 (cd automake && \
13866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13868 "RANLIB=$${RANLIB}" \
13869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13870 distclean) \
13871 || exit 1
13874 .PHONY: maybe-distclean-bash distclean-bash
13875 maybe-distclean-bash:
13877 distclean-bash:
13878 @[ -f ./bash/Makefile ] || exit 0; \
13879 r=`${PWD}`; export r; \
13880 s=`cd $(srcdir); ${PWD}`; export s; \
13881 $(SET_LIB_PATH) \
13882 for flag in $(EXTRA_HOST_FLAGS); do \
13883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13884 done; \
13885 echo "Doing distclean in bash" ; \
13886 (cd bash && \
13887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13889 "RANLIB=$${RANLIB}" \
13890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13891 distclean) \
13892 || exit 1
13895 .PHONY: maybe-distclean-bfd distclean-bfd
13896 maybe-distclean-bfd:
13898 distclean-bfd:
13899 @[ -f ./bfd/Makefile ] || exit 0; \
13900 r=`${PWD}`; export r; \
13901 s=`cd $(srcdir); ${PWD}`; export s; \
13902 $(SET_LIB_PATH) \
13903 for flag in $(EXTRA_HOST_FLAGS); do \
13904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13905 done; \
13906 echo "Doing distclean in bfd" ; \
13907 (cd bfd && \
13908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13910 "RANLIB=$${RANLIB}" \
13911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13912 distclean) \
13913 || exit 1
13916 .PHONY: maybe-distclean-opcodes distclean-opcodes
13917 maybe-distclean-opcodes:
13919 distclean-opcodes:
13920 @[ -f ./opcodes/Makefile ] || exit 0; \
13921 r=`${PWD}`; export r; \
13922 s=`cd $(srcdir); ${PWD}`; export s; \
13923 $(SET_LIB_PATH) \
13924 for flag in $(EXTRA_HOST_FLAGS); do \
13925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13926 done; \
13927 echo "Doing distclean in opcodes" ; \
13928 (cd opcodes && \
13929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13931 "RANLIB=$${RANLIB}" \
13932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13933 distclean) \
13934 || exit 1
13937 .PHONY: maybe-distclean-binutils distclean-binutils
13938 maybe-distclean-binutils:
13940 distclean-binutils:
13941 @[ -f ./binutils/Makefile ] || exit 0; \
13942 r=`${PWD}`; export r; \
13943 s=`cd $(srcdir); ${PWD}`; export s; \
13944 $(SET_LIB_PATH) \
13945 for flag in $(EXTRA_HOST_FLAGS); do \
13946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13947 done; \
13948 echo "Doing distclean in binutils" ; \
13949 (cd binutils && \
13950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13952 "RANLIB=$${RANLIB}" \
13953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13954 distclean) \
13955 || exit 1
13958 .PHONY: maybe-distclean-bison distclean-bison
13959 maybe-distclean-bison:
13961 distclean-bison:
13962 @[ -f ./bison/Makefile ] || exit 0; \
13963 r=`${PWD}`; export r; \
13964 s=`cd $(srcdir); ${PWD}`; export s; \
13965 $(SET_LIB_PATH) \
13966 for flag in $(EXTRA_HOST_FLAGS); do \
13967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13968 done; \
13969 echo "Doing distclean in bison" ; \
13970 (cd bison && \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13973 "RANLIB=$${RANLIB}" \
13974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13975 distclean) \
13976 || exit 1
13979 .PHONY: maybe-distclean-byacc distclean-byacc
13980 maybe-distclean-byacc:
13982 distclean-byacc:
13983 @[ -f ./byacc/Makefile ] || exit 0; \
13984 r=`${PWD}`; export r; \
13985 s=`cd $(srcdir); ${PWD}`; export s; \
13986 $(SET_LIB_PATH) \
13987 for flag in $(EXTRA_HOST_FLAGS); do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989 done; \
13990 echo "Doing distclean in byacc" ; \
13991 (cd byacc && \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13996 distclean) \
13997 || exit 1
14000 .PHONY: maybe-distclean-bzip2 distclean-bzip2
14001 maybe-distclean-bzip2:
14003 distclean-bzip2:
14004 @[ -f ./bzip2/Makefile ] || exit 0; \
14005 r=`${PWD}`; export r; \
14006 s=`cd $(srcdir); ${PWD}`; export s; \
14007 $(SET_LIB_PATH) \
14008 for flag in $(EXTRA_HOST_FLAGS); do \
14009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14010 done; \
14011 echo "Doing distclean in bzip2" ; \
14012 (cd bzip2 && \
14013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14015 "RANLIB=$${RANLIB}" \
14016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14017 distclean) \
14018 || exit 1
14021 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
14022 maybe-distclean-dejagnu:
14024 distclean-dejagnu:
14025 @[ -f ./dejagnu/Makefile ] || exit 0; \
14026 r=`${PWD}`; export r; \
14027 s=`cd $(srcdir); ${PWD}`; export s; \
14028 $(SET_LIB_PATH) \
14029 for flag in $(EXTRA_HOST_FLAGS); do \
14030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14031 done; \
14032 echo "Doing distclean in dejagnu" ; \
14033 (cd dejagnu && \
14034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14036 "RANLIB=$${RANLIB}" \
14037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14038 distclean) \
14039 || exit 1
14042 .PHONY: maybe-distclean-diff distclean-diff
14043 maybe-distclean-diff:
14045 distclean-diff:
14046 @[ -f ./diff/Makefile ] || exit 0; \
14047 r=`${PWD}`; export r; \
14048 s=`cd $(srcdir); ${PWD}`; export s; \
14049 $(SET_LIB_PATH) \
14050 for flag in $(EXTRA_HOST_FLAGS); do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing distclean in diff" ; \
14054 (cd diff && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 distclean) \
14060 || exit 1
14063 .PHONY: maybe-distclean-dosutils distclean-dosutils
14064 maybe-distclean-dosutils:
14066 distclean-dosutils:
14067 @[ -f ./dosutils/Makefile ] || exit 0; \
14068 r=`${PWD}`; export r; \
14069 s=`cd $(srcdir); ${PWD}`; export s; \
14070 $(SET_LIB_PATH) \
14071 for flag in $(EXTRA_HOST_FLAGS); do \
14072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14073 done; \
14074 echo "Doing distclean in dosutils" ; \
14075 (cd dosutils && \
14076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14078 "RANLIB=$${RANLIB}" \
14079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14080 distclean) \
14081 || exit 1
14084 .PHONY: maybe-distclean-etc distclean-etc
14085 maybe-distclean-etc:
14087 distclean-etc:
14088 @[ -f ./etc/Makefile ] || exit 0; \
14089 r=`${PWD}`; export r; \
14090 s=`cd $(srcdir); ${PWD}`; export s; \
14091 $(SET_LIB_PATH) \
14092 for flag in $(EXTRA_HOST_FLAGS); do \
14093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14094 done; \
14095 echo "Doing distclean in etc" ; \
14096 (cd etc && \
14097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14099 "RANLIB=$${RANLIB}" \
14100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14101 distclean) \
14102 || exit 1
14105 .PHONY: maybe-distclean-fastjar distclean-fastjar
14106 maybe-distclean-fastjar:
14108 distclean-fastjar:
14109 @[ -f ./fastjar/Makefile ] || exit 0; \
14110 r=`${PWD}`; export r; \
14111 s=`cd $(srcdir); ${PWD}`; export s; \
14112 $(SET_LIB_PATH) \
14113 for flag in $(EXTRA_HOST_FLAGS); do \
14114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14115 done; \
14116 echo "Doing distclean in fastjar" ; \
14117 (cd fastjar && \
14118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14120 "RANLIB=$${RANLIB}" \
14121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14122 distclean) \
14123 || exit 1
14126 .PHONY: maybe-distclean-fileutils distclean-fileutils
14127 maybe-distclean-fileutils:
14129 distclean-fileutils:
14130 @[ -f ./fileutils/Makefile ] || exit 0; \
14131 r=`${PWD}`; export r; \
14132 s=`cd $(srcdir); ${PWD}`; export s; \
14133 $(SET_LIB_PATH) \
14134 for flag in $(EXTRA_HOST_FLAGS); do \
14135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14136 done; \
14137 echo "Doing distclean in fileutils" ; \
14138 (cd fileutils && \
14139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14141 "RANLIB=$${RANLIB}" \
14142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14143 distclean) \
14144 || exit 1
14147 .PHONY: maybe-distclean-findutils distclean-findutils
14148 maybe-distclean-findutils:
14150 distclean-findutils:
14151 @[ -f ./findutils/Makefile ] || exit 0; \
14152 r=`${PWD}`; export r; \
14153 s=`cd $(srcdir); ${PWD}`; export s; \
14154 $(SET_LIB_PATH) \
14155 for flag in $(EXTRA_HOST_FLAGS); do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing distclean in findutils" ; \
14159 (cd findutils && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164 distclean) \
14165 || exit 1
14168 .PHONY: maybe-distclean-find distclean-find
14169 maybe-distclean-find:
14171 distclean-find:
14172 @[ -f ./find/Makefile ] || exit 0; \
14173 r=`${PWD}`; export r; \
14174 s=`cd $(srcdir); ${PWD}`; export s; \
14175 $(SET_LIB_PATH) \
14176 for flag in $(EXTRA_HOST_FLAGS); do \
14177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14178 done; \
14179 echo "Doing distclean in find" ; \
14180 (cd find && \
14181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14183 "RANLIB=$${RANLIB}" \
14184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14185 distclean) \
14186 || exit 1
14189 .PHONY: maybe-distclean-flex distclean-flex
14190 maybe-distclean-flex:
14192 distclean-flex:
14193 @[ -f ./flex/Makefile ] || exit 0; \
14194 r=`${PWD}`; export r; \
14195 s=`cd $(srcdir); ${PWD}`; export s; \
14196 $(SET_LIB_PATH) \
14197 for flag in $(EXTRA_HOST_FLAGS); do \
14198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14199 done; \
14200 echo "Doing distclean in flex" ; \
14201 (cd flex && \
14202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14204 "RANLIB=$${RANLIB}" \
14205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14206 distclean) \
14207 || exit 1
14210 .PHONY: maybe-distclean-gas distclean-gas
14211 maybe-distclean-gas:
14213 distclean-gas:
14214 @[ -f ./gas/Makefile ] || exit 0; \
14215 r=`${PWD}`; export r; \
14216 s=`cd $(srcdir); ${PWD}`; export s; \
14217 $(SET_LIB_PATH) \
14218 for flag in $(EXTRA_HOST_FLAGS); do \
14219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14220 done; \
14221 echo "Doing distclean in gas" ; \
14222 (cd gas && \
14223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14225 "RANLIB=$${RANLIB}" \
14226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 distclean) \
14228 || exit 1
14231 .PHONY: maybe-distclean-gawk distclean-gawk
14232 maybe-distclean-gawk:
14234 distclean-gawk:
14235 @[ -f ./gawk/Makefile ] || exit 0; \
14236 r=`${PWD}`; export r; \
14237 s=`cd $(srcdir); ${PWD}`; export s; \
14238 $(SET_LIB_PATH) \
14239 for flag in $(EXTRA_HOST_FLAGS); do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing distclean in gawk" ; \
14243 (cd gawk && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248 distclean) \
14249 || exit 1
14252 .PHONY: maybe-distclean-gettext distclean-gettext
14253 maybe-distclean-gettext:
14255 distclean-gettext:
14256 @[ -f ./gettext/Makefile ] || exit 0; \
14257 r=`${PWD}`; export r; \
14258 s=`cd $(srcdir); ${PWD}`; export s; \
14259 $(SET_LIB_PATH) \
14260 for flag in $(EXTRA_HOST_FLAGS); do \
14261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14262 done; \
14263 echo "Doing distclean in gettext" ; \
14264 (cd gettext && \
14265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14267 "RANLIB=$${RANLIB}" \
14268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14269 distclean) \
14270 || exit 1
14273 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14274 maybe-distclean-gnuserv:
14276 distclean-gnuserv:
14277 @[ -f ./gnuserv/Makefile ] || exit 0; \
14278 r=`${PWD}`; export r; \
14279 s=`cd $(srcdir); ${PWD}`; export s; \
14280 $(SET_LIB_PATH) \
14281 for flag in $(EXTRA_HOST_FLAGS); do \
14282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 done; \
14284 echo "Doing distclean in gnuserv" ; \
14285 (cd gnuserv && \
14286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14288 "RANLIB=$${RANLIB}" \
14289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14290 distclean) \
14291 || exit 1
14294 .PHONY: maybe-distclean-gprof distclean-gprof
14295 maybe-distclean-gprof:
14297 distclean-gprof:
14298 @[ -f ./gprof/Makefile ] || exit 0; \
14299 r=`${PWD}`; export r; \
14300 s=`cd $(srcdir); ${PWD}`; export s; \
14301 $(SET_LIB_PATH) \
14302 for flag in $(EXTRA_HOST_FLAGS); do \
14303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14304 done; \
14305 echo "Doing distclean in gprof" ; \
14306 (cd gprof && \
14307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14309 "RANLIB=$${RANLIB}" \
14310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14311 distclean) \
14312 || exit 1
14315 .PHONY: maybe-distclean-gzip distclean-gzip
14316 maybe-distclean-gzip:
14318 distclean-gzip:
14319 @[ -f ./gzip/Makefile ] || exit 0; \
14320 r=`${PWD}`; export r; \
14321 s=`cd $(srcdir); ${PWD}`; export s; \
14322 $(SET_LIB_PATH) \
14323 for flag in $(EXTRA_HOST_FLAGS); do \
14324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14325 done; \
14326 echo "Doing distclean in gzip" ; \
14327 (cd gzip && \
14328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14330 "RANLIB=$${RANLIB}" \
14331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14332 distclean) \
14333 || exit 1
14336 .PHONY: maybe-distclean-hello distclean-hello
14337 maybe-distclean-hello:
14339 distclean-hello:
14340 @[ -f ./hello/Makefile ] || exit 0; \
14341 r=`${PWD}`; export r; \
14342 s=`cd $(srcdir); ${PWD}`; export s; \
14343 $(SET_LIB_PATH) \
14344 for flag in $(EXTRA_HOST_FLAGS); do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346 done; \
14347 echo "Doing distclean in hello" ; \
14348 (cd hello && \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353 distclean) \
14354 || exit 1
14357 .PHONY: maybe-distclean-indent distclean-indent
14358 maybe-distclean-indent:
14360 distclean-indent:
14361 @[ -f ./indent/Makefile ] || exit 0; \
14362 r=`${PWD}`; export r; \
14363 s=`cd $(srcdir); ${PWD}`; export s; \
14364 $(SET_LIB_PATH) \
14365 for flag in $(EXTRA_HOST_FLAGS); do \
14366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14367 done; \
14368 echo "Doing distclean in indent" ; \
14369 (cd indent && \
14370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14372 "RANLIB=$${RANLIB}" \
14373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14374 distclean) \
14375 || exit 1
14378 .PHONY: maybe-distclean-intl distclean-intl
14379 maybe-distclean-intl:
14381 distclean-intl:
14382 @[ -f ./intl/Makefile ] || exit 0; \
14383 r=`${PWD}`; export r; \
14384 s=`cd $(srcdir); ${PWD}`; export s; \
14385 $(SET_LIB_PATH) \
14386 for flag in $(EXTRA_HOST_FLAGS); do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing distclean in intl" ; \
14390 (cd intl && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 distclean) \
14396 || exit 1
14399 .PHONY: maybe-distclean-tcl distclean-tcl
14400 maybe-distclean-tcl:
14402 distclean-tcl:
14403 @[ -f ./tcl/Makefile ] || exit 0; \
14404 r=`${PWD}`; export r; \
14405 s=`cd $(srcdir); ${PWD}`; export s; \
14406 $(SET_LIB_PATH) \
14407 for flag in $(EXTRA_HOST_FLAGS); do \
14408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14409 done; \
14410 echo "Doing distclean in tcl" ; \
14411 (cd tcl && \
14412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14414 "RANLIB=$${RANLIB}" \
14415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14416 distclean) \
14417 || exit 1
14420 .PHONY: maybe-distclean-itcl distclean-itcl
14421 maybe-distclean-itcl:
14423 distclean-itcl:
14424 @[ -f ./itcl/Makefile ] || exit 0; \
14425 r=`${PWD}`; export r; \
14426 s=`cd $(srcdir); ${PWD}`; export s; \
14427 $(SET_LIB_PATH) \
14428 for flag in $(EXTRA_HOST_FLAGS); do \
14429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14430 done; \
14431 echo "Doing distclean in itcl" ; \
14432 (cd itcl && \
14433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14435 "RANLIB=$${RANLIB}" \
14436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14437 distclean) \
14438 || exit 1
14441 .PHONY: maybe-distclean-ld distclean-ld
14442 maybe-distclean-ld:
14444 distclean-ld:
14445 @[ -f ./ld/Makefile ] || exit 0; \
14446 r=`${PWD}`; export r; \
14447 s=`cd $(srcdir); ${PWD}`; export s; \
14448 $(SET_LIB_PATH) \
14449 for flag in $(EXTRA_HOST_FLAGS); do \
14450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14451 done; \
14452 echo "Doing distclean in ld" ; \
14453 (cd ld && \
14454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14456 "RANLIB=$${RANLIB}" \
14457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14458 distclean) \
14459 || exit 1
14462 .PHONY: maybe-distclean-libgui distclean-libgui
14463 maybe-distclean-libgui:
14465 distclean-libgui:
14466 @[ -f ./libgui/Makefile ] || exit 0; \
14467 r=`${PWD}`; export r; \
14468 s=`cd $(srcdir); ${PWD}`; export s; \
14469 $(SET_LIB_PATH) \
14470 for flag in $(EXTRA_HOST_FLAGS); do \
14471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14472 done; \
14473 echo "Doing distclean in libgui" ; \
14474 (cd libgui && \
14475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14477 "RANLIB=$${RANLIB}" \
14478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14479 distclean) \
14480 || exit 1
14483 .PHONY: maybe-distclean-libiberty distclean-libiberty
14484 maybe-distclean-libiberty:
14486 distclean-libiberty:
14487 @[ -f ./libiberty/Makefile ] || exit 0; \
14488 r=`${PWD}`; export r; \
14489 s=`cd $(srcdir); ${PWD}`; export s; \
14490 $(SET_LIB_PATH) \
14491 for flag in $(EXTRA_HOST_FLAGS); do \
14492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14493 done; \
14494 echo "Doing distclean in libiberty" ; \
14495 (cd libiberty && \
14496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14498 "RANLIB=$${RANLIB}" \
14499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14500 distclean) \
14501 || exit 1
14504 .PHONY: maybe-distclean-libtool distclean-libtool
14505 maybe-distclean-libtool:
14507 distclean-libtool:
14508 @[ -f ./libtool/Makefile ] || exit 0; \
14509 r=`${PWD}`; export r; \
14510 s=`cd $(srcdir); ${PWD}`; export s; \
14511 $(SET_LIB_PATH) \
14512 for flag in $(EXTRA_HOST_FLAGS); do \
14513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14514 done; \
14515 echo "Doing distclean in libtool" ; \
14516 (cd libtool && \
14517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14519 "RANLIB=$${RANLIB}" \
14520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14521 distclean) \
14522 || exit 1
14525 .PHONY: maybe-distclean-m4 distclean-m4
14526 maybe-distclean-m4:
14528 distclean-m4:
14529 @[ -f ./m4/Makefile ] || exit 0; \
14530 r=`${PWD}`; export r; \
14531 s=`cd $(srcdir); ${PWD}`; export s; \
14532 $(SET_LIB_PATH) \
14533 for flag in $(EXTRA_HOST_FLAGS); do \
14534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14535 done; \
14536 echo "Doing distclean in m4" ; \
14537 (cd m4 && \
14538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14540 "RANLIB=$${RANLIB}" \
14541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14542 distclean) \
14543 || exit 1
14546 .PHONY: maybe-distclean-make distclean-make
14547 maybe-distclean-make:
14549 distclean-make:
14550 @[ -f ./make/Makefile ] || exit 0; \
14551 r=`${PWD}`; export r; \
14552 s=`cd $(srcdir); ${PWD}`; export s; \
14553 $(SET_LIB_PATH) \
14554 for flag in $(EXTRA_HOST_FLAGS); do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556 done; \
14557 echo "Doing distclean in make" ; \
14558 (cd make && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14563 distclean) \
14564 || exit 1
14567 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14568 maybe-distclean-mmalloc:
14570 distclean-mmalloc:
14571 @[ -f ./mmalloc/Makefile ] || exit 0; \
14572 r=`${PWD}`; export r; \
14573 s=`cd $(srcdir); ${PWD}`; export s; \
14574 $(SET_LIB_PATH) \
14575 for flag in $(EXTRA_HOST_FLAGS); do \
14576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14577 done; \
14578 echo "Doing distclean in mmalloc" ; \
14579 (cd mmalloc && \
14580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14582 "RANLIB=$${RANLIB}" \
14583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14584 distclean) \
14585 || exit 1
14588 .PHONY: maybe-distclean-patch distclean-patch
14589 maybe-distclean-patch:
14591 distclean-patch:
14592 @[ -f ./patch/Makefile ] || exit 0; \
14593 r=`${PWD}`; export r; \
14594 s=`cd $(srcdir); ${PWD}`; export s; \
14595 $(SET_LIB_PATH) \
14596 for flag in $(EXTRA_HOST_FLAGS); do \
14597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14598 done; \
14599 echo "Doing distclean in patch" ; \
14600 (cd patch && \
14601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14603 "RANLIB=$${RANLIB}" \
14604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14605 distclean) \
14606 || exit 1
14609 .PHONY: maybe-distclean-perl distclean-perl
14610 maybe-distclean-perl:
14612 distclean-perl:
14613 @[ -f ./perl/Makefile ] || exit 0; \
14614 r=`${PWD}`; export r; \
14615 s=`cd $(srcdir); ${PWD}`; export s; \
14616 $(SET_LIB_PATH) \
14617 for flag in $(EXTRA_HOST_FLAGS); do \
14618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14619 done; \
14620 echo "Doing distclean in perl" ; \
14621 (cd perl && \
14622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14624 "RANLIB=$${RANLIB}" \
14625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14626 distclean) \
14627 || exit 1
14630 .PHONY: maybe-distclean-prms distclean-prms
14631 maybe-distclean-prms:
14633 distclean-prms:
14634 @[ -f ./prms/Makefile ] || exit 0; \
14635 r=`${PWD}`; export r; \
14636 s=`cd $(srcdir); ${PWD}`; export s; \
14637 $(SET_LIB_PATH) \
14638 for flag in $(EXTRA_HOST_FLAGS); do \
14639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14640 done; \
14641 echo "Doing distclean in prms" ; \
14642 (cd prms && \
14643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14645 "RANLIB=$${RANLIB}" \
14646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14647 distclean) \
14648 || exit 1
14651 .PHONY: maybe-distclean-rcs distclean-rcs
14652 maybe-distclean-rcs:
14654 distclean-rcs:
14655 @[ -f ./rcs/Makefile ] || exit 0; \
14656 r=`${PWD}`; export r; \
14657 s=`cd $(srcdir); ${PWD}`; export s; \
14658 $(SET_LIB_PATH) \
14659 for flag in $(EXTRA_HOST_FLAGS); do \
14660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14661 done; \
14662 echo "Doing distclean in rcs" ; \
14663 (cd rcs && \
14664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14666 "RANLIB=$${RANLIB}" \
14667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14668 distclean) \
14669 || exit 1
14672 .PHONY: maybe-distclean-readline distclean-readline
14673 maybe-distclean-readline:
14675 distclean-readline:
14676 @[ -f ./readline/Makefile ] || exit 0; \
14677 r=`${PWD}`; export r; \
14678 s=`cd $(srcdir); ${PWD}`; export s; \
14679 $(SET_LIB_PATH) \
14680 for flag in $(EXTRA_HOST_FLAGS); do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing distclean in readline" ; \
14684 (cd readline && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 distclean) \
14690 || exit 1
14693 .PHONY: maybe-distclean-release distclean-release
14694 maybe-distclean-release:
14696 distclean-release:
14697 @[ -f ./release/Makefile ] || exit 0; \
14698 r=`${PWD}`; export r; \
14699 s=`cd $(srcdir); ${PWD}`; export s; \
14700 $(SET_LIB_PATH) \
14701 for flag in $(EXTRA_HOST_FLAGS); do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14703 done; \
14704 echo "Doing distclean in release" ; \
14705 (cd release && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14710 distclean) \
14711 || exit 1
14714 .PHONY: maybe-distclean-recode distclean-recode
14715 maybe-distclean-recode:
14717 distclean-recode:
14718 @[ -f ./recode/Makefile ] || exit 0; \
14719 r=`${PWD}`; export r; \
14720 s=`cd $(srcdir); ${PWD}`; export s; \
14721 $(SET_LIB_PATH) \
14722 for flag in $(EXTRA_HOST_FLAGS); do \
14723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14724 done; \
14725 echo "Doing distclean in recode" ; \
14726 (cd recode && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14729 "RANLIB=$${RANLIB}" \
14730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14731 distclean) \
14732 || exit 1
14735 .PHONY: maybe-distclean-sed distclean-sed
14736 maybe-distclean-sed:
14738 distclean-sed:
14739 @[ -f ./sed/Makefile ] || exit 0; \
14740 r=`${PWD}`; export r; \
14741 s=`cd $(srcdir); ${PWD}`; export s; \
14742 $(SET_LIB_PATH) \
14743 for flag in $(EXTRA_HOST_FLAGS); do \
14744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14745 done; \
14746 echo "Doing distclean in sed" ; \
14747 (cd sed && \
14748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14750 "RANLIB=$${RANLIB}" \
14751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14752 distclean) \
14753 || exit 1
14756 .PHONY: maybe-distclean-send-pr distclean-send-pr
14757 maybe-distclean-send-pr:
14759 distclean-send-pr:
14760 @[ -f ./send-pr/Makefile ] || exit 0; \
14761 r=`${PWD}`; export r; \
14762 s=`cd $(srcdir); ${PWD}`; export s; \
14763 $(SET_LIB_PATH) \
14764 for flag in $(EXTRA_HOST_FLAGS); do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 done; \
14767 echo "Doing distclean in send-pr" ; \
14768 (cd send-pr && \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 distclean) \
14774 || exit 1
14777 .PHONY: maybe-distclean-shellutils distclean-shellutils
14778 maybe-distclean-shellutils:
14780 distclean-shellutils:
14781 @[ -f ./shellutils/Makefile ] || exit 0; \
14782 r=`${PWD}`; export r; \
14783 s=`cd $(srcdir); ${PWD}`; export s; \
14784 $(SET_LIB_PATH) \
14785 for flag in $(EXTRA_HOST_FLAGS); do \
14786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14787 done; \
14788 echo "Doing distclean in shellutils" ; \
14789 (cd shellutils && \
14790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14792 "RANLIB=$${RANLIB}" \
14793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14794 distclean) \
14795 || exit 1
14798 .PHONY: maybe-distclean-sid distclean-sid
14799 maybe-distclean-sid:
14801 distclean-sid:
14802 @[ -f ./sid/Makefile ] || exit 0; \
14803 r=`${PWD}`; export r; \
14804 s=`cd $(srcdir); ${PWD}`; export s; \
14805 $(SET_LIB_PATH) \
14806 for flag in $(EXTRA_HOST_FLAGS); do \
14807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14808 done; \
14809 echo "Doing distclean in sid" ; \
14810 (cd sid && \
14811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14813 "RANLIB=$${RANLIB}" \
14814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14815 distclean) \
14816 || exit 1
14819 .PHONY: maybe-distclean-sim distclean-sim
14820 maybe-distclean-sim:
14822 distclean-sim:
14823 @[ -f ./sim/Makefile ] || exit 0; \
14824 r=`${PWD}`; export r; \
14825 s=`cd $(srcdir); ${PWD}`; export s; \
14826 $(SET_LIB_PATH) \
14827 for flag in $(EXTRA_HOST_FLAGS); do \
14828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14829 done; \
14830 echo "Doing distclean in sim" ; \
14831 (cd sim && \
14832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14834 "RANLIB=$${RANLIB}" \
14835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14836 distclean) \
14837 || exit 1
14840 .PHONY: maybe-distclean-tar distclean-tar
14841 maybe-distclean-tar:
14843 distclean-tar:
14844 @[ -f ./tar/Makefile ] || exit 0; \
14845 r=`${PWD}`; export r; \
14846 s=`cd $(srcdir); ${PWD}`; export s; \
14847 $(SET_LIB_PATH) \
14848 for flag in $(EXTRA_HOST_FLAGS); do \
14849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14850 done; \
14851 echo "Doing distclean in tar" ; \
14852 (cd tar && \
14853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14855 "RANLIB=$${RANLIB}" \
14856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14857 distclean) \
14858 || exit 1
14861 .PHONY: maybe-distclean-texinfo distclean-texinfo
14862 maybe-distclean-texinfo:
14864 distclean-texinfo:
14865 @[ -f ./texinfo/Makefile ] || exit 0; \
14866 r=`${PWD}`; export r; \
14867 s=`cd $(srcdir); ${PWD}`; export s; \
14868 $(SET_LIB_PATH) \
14869 for flag in $(EXTRA_HOST_FLAGS); do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing distclean in texinfo" ; \
14873 (cd texinfo && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 distclean) \
14879 || exit 1
14882 .PHONY: maybe-distclean-textutils distclean-textutils
14883 maybe-distclean-textutils:
14885 distclean-textutils:
14886 @[ -f ./textutils/Makefile ] || exit 0; \
14887 r=`${PWD}`; export r; \
14888 s=`cd $(srcdir); ${PWD}`; export s; \
14889 $(SET_LIB_PATH) \
14890 for flag in $(EXTRA_HOST_FLAGS); do \
14891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14892 done; \
14893 echo "Doing distclean in textutils" ; \
14894 (cd textutils && \
14895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14897 "RANLIB=$${RANLIB}" \
14898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14899 distclean) \
14900 || exit 1
14903 .PHONY: maybe-distclean-time distclean-time
14904 maybe-distclean-time:
14906 distclean-time:
14907 @[ -f ./time/Makefile ] || exit 0; \
14908 r=`${PWD}`; export r; \
14909 s=`cd $(srcdir); ${PWD}`; export s; \
14910 $(SET_LIB_PATH) \
14911 for flag in $(EXTRA_HOST_FLAGS); do \
14912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14913 done; \
14914 echo "Doing distclean in time" ; \
14915 (cd time && \
14916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14918 "RANLIB=$${RANLIB}" \
14919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14920 distclean) \
14921 || exit 1
14924 .PHONY: maybe-distclean-uudecode distclean-uudecode
14925 maybe-distclean-uudecode:
14927 distclean-uudecode:
14928 @[ -f ./uudecode/Makefile ] || exit 0; \
14929 r=`${PWD}`; export r; \
14930 s=`cd $(srcdir); ${PWD}`; export s; \
14931 $(SET_LIB_PATH) \
14932 for flag in $(EXTRA_HOST_FLAGS); do \
14933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14934 done; \
14935 echo "Doing distclean in uudecode" ; \
14936 (cd uudecode && \
14937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14939 "RANLIB=$${RANLIB}" \
14940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14941 distclean) \
14942 || exit 1
14945 .PHONY: maybe-distclean-wdiff distclean-wdiff
14946 maybe-distclean-wdiff:
14948 distclean-wdiff:
14949 @[ -f ./wdiff/Makefile ] || exit 0; \
14950 r=`${PWD}`; export r; \
14951 s=`cd $(srcdir); ${PWD}`; export s; \
14952 $(SET_LIB_PATH) \
14953 for flag in $(EXTRA_HOST_FLAGS); do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955 done; \
14956 echo "Doing distclean in wdiff" ; \
14957 (cd wdiff && \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14962 distclean) \
14963 || exit 1
14966 .PHONY: maybe-distclean-zip distclean-zip
14967 maybe-distclean-zip:
14969 distclean-zip:
14970 @[ -f ./zip/Makefile ] || exit 0; \
14971 r=`${PWD}`; export r; \
14972 s=`cd $(srcdir); ${PWD}`; export s; \
14973 $(SET_LIB_PATH) \
14974 for flag in $(EXTRA_HOST_FLAGS); do \
14975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14976 done; \
14977 echo "Doing distclean in zip" ; \
14978 (cd zip && \
14979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14981 "RANLIB=$${RANLIB}" \
14982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14983 distclean) \
14984 || exit 1
14987 .PHONY: maybe-distclean-zlib distclean-zlib
14988 maybe-distclean-zlib:
14990 distclean-zlib:
14991 @[ -f ./zlib/Makefile ] || exit 0; \
14992 r=`${PWD}`; export r; \
14993 s=`cd $(srcdir); ${PWD}`; export s; \
14994 $(SET_LIB_PATH) \
14995 for flag in $(EXTRA_HOST_FLAGS); do \
14996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14997 done; \
14998 echo "Doing distclean in zlib" ; \
14999 (cd zlib && \
15000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15002 "RANLIB=$${RANLIB}" \
15003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15004 distclean) \
15005 || exit 1
15008 .PHONY: maybe-distclean-gdb distclean-gdb
15009 maybe-distclean-gdb:
15011 distclean-gdb:
15012 @[ -f ./gdb/Makefile ] || exit 0; \
15013 r=`${PWD}`; export r; \
15014 s=`cd $(srcdir); ${PWD}`; export s; \
15015 $(SET_LIB_PATH) \
15016 for flag in $(EXTRA_HOST_FLAGS); do \
15017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15018 done; \
15019 echo "Doing distclean in gdb" ; \
15020 (cd gdb && \
15021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15023 "RANLIB=$${RANLIB}" \
15024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15025 distclean) \
15026 || exit 1
15029 .PHONY: maybe-distclean-expect distclean-expect
15030 maybe-distclean-expect:
15032 distclean-expect:
15033 @[ -f ./expect/Makefile ] || exit 0; \
15034 r=`${PWD}`; export r; \
15035 s=`cd $(srcdir); ${PWD}`; export s; \
15036 $(SET_LIB_PATH) \
15037 for flag in $(EXTRA_HOST_FLAGS); do \
15038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15039 done; \
15040 echo "Doing distclean in expect" ; \
15041 (cd expect && \
15042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15044 "RANLIB=$${RANLIB}" \
15045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15046 distclean) \
15047 || exit 1
15050 .PHONY: maybe-distclean-guile distclean-guile
15051 maybe-distclean-guile:
15053 distclean-guile:
15054 @[ -f ./guile/Makefile ] || exit 0; \
15055 r=`${PWD}`; export r; \
15056 s=`cd $(srcdir); ${PWD}`; export s; \
15057 $(SET_LIB_PATH) \
15058 for flag in $(EXTRA_HOST_FLAGS); do \
15059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15060 done; \
15061 echo "Doing distclean in guile" ; \
15062 (cd guile && \
15063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15065 "RANLIB=$${RANLIB}" \
15066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15067 distclean) \
15068 || exit 1
15071 .PHONY: maybe-distclean-tk distclean-tk
15072 maybe-distclean-tk:
15074 distclean-tk:
15075 @[ -f ./tk/Makefile ] || exit 0; \
15076 r=`${PWD}`; export r; \
15077 s=`cd $(srcdir); ${PWD}`; export s; \
15078 $(SET_LIB_PATH) \
15079 for flag in $(EXTRA_HOST_FLAGS); do \
15080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15081 done; \
15082 echo "Doing distclean in tk" ; \
15083 (cd tk && \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15086 "RANLIB=$${RANLIB}" \
15087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15088 distclean) \
15089 || exit 1
15092 .PHONY: maybe-distclean-tix distclean-tix
15093 maybe-distclean-tix:
15095 distclean-tix:
15096 @[ -f ./tix/Makefile ] || exit 0; \
15097 r=`${PWD}`; export r; \
15098 s=`cd $(srcdir); ${PWD}`; export s; \
15099 $(SET_LIB_PATH) \
15100 for flag in $(EXTRA_HOST_FLAGS); do \
15101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15102 done; \
15103 echo "Doing distclean in tix" ; \
15104 (cd tix && \
15105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15107 "RANLIB=$${RANLIB}" \
15108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15109 distclean) \
15110 || exit 1
15113 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
15114 maybe-distclean-libtermcap:
15116 # libtermcap doesn't support distclean.
15117 distclean-libtermcap:
15120 .PHONY: maybe-distclean-utils distclean-utils
15121 maybe-distclean-utils:
15123 distclean-utils:
15124 @[ -f ./utils/Makefile ] || exit 0; \
15125 r=`${PWD}`; export r; \
15126 s=`cd $(srcdir); ${PWD}`; export s; \
15127 $(SET_LIB_PATH) \
15128 for flag in $(EXTRA_HOST_FLAGS); do \
15129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15130 done; \
15131 echo "Doing distclean in utils" ; \
15132 (cd utils && \
15133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15135 "RANLIB=$${RANLIB}" \
15136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15137 distclean) \
15138 || exit 1
15142 # Target modules.
15144 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
15145 maybe-distclean-target-libstdc++-v3:
15147 distclean-target-libstdc++-v3:
15148 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
15149 r=`${PWD}`; export r; \
15150 s=`cd $(srcdir); ${PWD}`; export s; \
15151 $(SET_LIB_PATH) \
15152 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
15153 for flag in $(EXTRA_TARGET_FLAGS); do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155 done; \
15156 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
15157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15159 "RANLIB=$${RANLIB}" \
15160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15161 distclean) \
15162 || exit 1
15165 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
15166 maybe-distclean-target-newlib:
15168 distclean-target-newlib:
15169 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
15170 r=`${PWD}`; export r; \
15171 s=`cd $(srcdir); ${PWD}`; export s; \
15172 $(SET_LIB_PATH) \
15173 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
15174 for flag in $(EXTRA_TARGET_FLAGS); do \
15175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15176 done; \
15177 (cd $(TARGET_SUBDIR)/newlib && \
15178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15180 "RANLIB=$${RANLIB}" \
15181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15182 distclean) \
15183 || exit 1
15186 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
15187 maybe-distclean-target-libf2c:
15189 distclean-target-libf2c:
15190 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
15191 r=`${PWD}`; export r; \
15192 s=`cd $(srcdir); ${PWD}`; export s; \
15193 $(SET_LIB_PATH) \
15194 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
15195 for flag in $(EXTRA_TARGET_FLAGS); do \
15196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15197 done; \
15198 (cd $(TARGET_SUBDIR)/libf2c && \
15199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15201 "RANLIB=$${RANLIB}" \
15202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15203 distclean) \
15204 || exit 1
15207 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
15208 maybe-distclean-target-libobjc:
15210 distclean-target-libobjc:
15211 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
15212 r=`${PWD}`; export r; \
15213 s=`cd $(srcdir); ${PWD}`; export s; \
15214 $(SET_LIB_PATH) \
15215 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
15216 for flag in $(EXTRA_TARGET_FLAGS); do \
15217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15218 done; \
15219 (cd $(TARGET_SUBDIR)/libobjc && \
15220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15222 "RANLIB=$${RANLIB}" \
15223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15224 distclean) \
15225 || exit 1
15228 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
15229 maybe-distclean-target-libtermcap:
15231 # libtermcap doesn't support distclean.
15232 distclean-target-libtermcap:
15235 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
15236 maybe-distclean-target-winsup:
15238 distclean-target-winsup:
15239 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
15240 r=`${PWD}`; export r; \
15241 s=`cd $(srcdir); ${PWD}`; export s; \
15242 $(SET_LIB_PATH) \
15243 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
15244 for flag in $(EXTRA_TARGET_FLAGS); do \
15245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15246 done; \
15247 (cd $(TARGET_SUBDIR)/winsup && \
15248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15250 "RANLIB=$${RANLIB}" \
15251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15252 distclean) \
15253 || exit 1
15256 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
15257 maybe-distclean-target-libgloss:
15259 distclean-target-libgloss:
15260 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
15261 r=`${PWD}`; export r; \
15262 s=`cd $(srcdir); ${PWD}`; export s; \
15263 $(SET_LIB_PATH) \
15264 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
15265 for flag in $(EXTRA_TARGET_FLAGS); do \
15266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15267 done; \
15268 (cd $(TARGET_SUBDIR)/libgloss && \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271 "RANLIB=$${RANLIB}" \
15272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15273 distclean) \
15274 || exit 1
15277 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
15278 maybe-distclean-target-libiberty:
15280 distclean-target-libiberty:
15281 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
15282 r=`${PWD}`; export r; \
15283 s=`cd $(srcdir); ${PWD}`; export s; \
15284 $(SET_LIB_PATH) \
15285 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
15286 for flag in $(EXTRA_TARGET_FLAGS); do \
15287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15288 done; \
15289 (cd $(TARGET_SUBDIR)/libiberty && \
15290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15292 "RANLIB=$${RANLIB}" \
15293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15294 distclean) \
15295 || exit 1
15298 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
15299 maybe-distclean-target-gperf:
15301 distclean-target-gperf:
15302 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
15303 r=`${PWD}`; export r; \
15304 s=`cd $(srcdir); ${PWD}`; export s; \
15305 $(SET_LIB_PATH) \
15306 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
15307 for flag in $(EXTRA_TARGET_FLAGS); do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 done; \
15310 (cd $(TARGET_SUBDIR)/gperf && \
15311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15313 "RANLIB=$${RANLIB}" \
15314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15315 distclean) \
15316 || exit 1
15319 .PHONY: maybe-distclean-target-examples distclean-target-examples
15320 maybe-distclean-target-examples:
15322 distclean-target-examples:
15323 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
15324 r=`${PWD}`; export r; \
15325 s=`cd $(srcdir); ${PWD}`; export s; \
15326 $(SET_LIB_PATH) \
15327 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
15328 for flag in $(EXTRA_TARGET_FLAGS); do \
15329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 done; \
15331 (cd $(TARGET_SUBDIR)/examples && \
15332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15334 "RANLIB=$${RANLIB}" \
15335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15336 distclean) \
15337 || exit 1
15340 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
15341 maybe-distclean-target-libffi:
15343 distclean-target-libffi:
15344 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
15345 r=`${PWD}`; export r; \
15346 s=`cd $(srcdir); ${PWD}`; export s; \
15347 $(SET_LIB_PATH) \
15348 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
15349 for flag in $(EXTRA_TARGET_FLAGS); do \
15350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15351 done; \
15352 (cd $(TARGET_SUBDIR)/libffi && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357 distclean) \
15358 || exit 1
15361 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
15362 maybe-distclean-target-libjava:
15364 distclean-target-libjava:
15365 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
15366 r=`${PWD}`; export r; \
15367 s=`cd $(srcdir); ${PWD}`; export s; \
15368 $(SET_LIB_PATH) \
15369 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
15370 for flag in $(EXTRA_TARGET_FLAGS); do \
15371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15372 done; \
15373 (cd $(TARGET_SUBDIR)/libjava && \
15374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15376 "RANLIB=$${RANLIB}" \
15377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15378 distclean) \
15379 || exit 1
15382 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
15383 maybe-distclean-target-zlib:
15385 distclean-target-zlib:
15386 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
15387 r=`${PWD}`; export r; \
15388 s=`cd $(srcdir); ${PWD}`; export s; \
15389 $(SET_LIB_PATH) \
15390 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
15391 for flag in $(EXTRA_TARGET_FLAGS); do \
15392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15393 done; \
15394 (cd $(TARGET_SUBDIR)/zlib && \
15395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15397 "RANLIB=$${RANLIB}" \
15398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15399 distclean) \
15400 || exit 1
15403 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
15404 maybe-distclean-target-boehm-gc:
15406 distclean-target-boehm-gc:
15407 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
15408 r=`${PWD}`; export r; \
15409 s=`cd $(srcdir); ${PWD}`; export s; \
15410 $(SET_LIB_PATH) \
15411 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
15412 for flag in $(EXTRA_TARGET_FLAGS); do \
15413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15414 done; \
15415 (cd $(TARGET_SUBDIR)/boehm-gc && \
15416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15418 "RANLIB=$${RANLIB}" \
15419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15420 distclean) \
15421 || exit 1
15424 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
15425 maybe-distclean-target-qthreads:
15427 distclean-target-qthreads:
15428 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
15429 r=`${PWD}`; export r; \
15430 s=`cd $(srcdir); ${PWD}`; export s; \
15431 $(SET_LIB_PATH) \
15432 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
15433 for flag in $(EXTRA_TARGET_FLAGS); do \
15434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15435 done; \
15436 (cd $(TARGET_SUBDIR)/qthreads && \
15437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15439 "RANLIB=$${RANLIB}" \
15440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15441 distclean) \
15442 || exit 1
15445 .PHONY: maybe-distclean-target-rda distclean-target-rda
15446 maybe-distclean-target-rda:
15448 distclean-target-rda:
15449 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
15450 r=`${PWD}`; export r; \
15451 s=`cd $(srcdir); ${PWD}`; export s; \
15452 $(SET_LIB_PATH) \
15453 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
15454 for flag in $(EXTRA_TARGET_FLAGS); do \
15455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15456 done; \
15457 (cd $(TARGET_SUBDIR)/rda && \
15458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15460 "RANLIB=$${RANLIB}" \
15461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15462 distclean) \
15463 || exit 1
15467 .PHONY: do-maintainer-clean
15468 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
15470 .PHONY: maintainer-clean-host
15471 maintainer-clean-host: maybe-maintainer-clean-gcc \
15472 maybe-maintainer-clean-ash \
15473 maybe-maintainer-clean-autoconf \
15474 maybe-maintainer-clean-automake \
15475 maybe-maintainer-clean-bash \
15476 maybe-maintainer-clean-bfd \
15477 maybe-maintainer-clean-opcodes \
15478 maybe-maintainer-clean-binutils \
15479 maybe-maintainer-clean-bison \
15480 maybe-maintainer-clean-byacc \
15481 maybe-maintainer-clean-bzip2 \
15482 maybe-maintainer-clean-dejagnu \
15483 maybe-maintainer-clean-diff \
15484 maybe-maintainer-clean-dosutils \
15485 maybe-maintainer-clean-etc \
15486 maybe-maintainer-clean-fastjar \
15487 maybe-maintainer-clean-fileutils \
15488 maybe-maintainer-clean-findutils \
15489 maybe-maintainer-clean-find \
15490 maybe-maintainer-clean-flex \
15491 maybe-maintainer-clean-gas \
15492 maybe-maintainer-clean-gawk \
15493 maybe-maintainer-clean-gettext \
15494 maybe-maintainer-clean-gnuserv \
15495 maybe-maintainer-clean-gprof \
15496 maybe-maintainer-clean-gzip \
15497 maybe-maintainer-clean-hello \
15498 maybe-maintainer-clean-indent \
15499 maybe-maintainer-clean-intl \
15500 maybe-maintainer-clean-tcl \
15501 maybe-maintainer-clean-itcl \
15502 maybe-maintainer-clean-ld \
15503 maybe-maintainer-clean-libgui \
15504 maybe-maintainer-clean-libiberty \
15505 maybe-maintainer-clean-libtool \
15506 maybe-maintainer-clean-m4 \
15507 maybe-maintainer-clean-make \
15508 maybe-maintainer-clean-mmalloc \
15509 maybe-maintainer-clean-patch \
15510 maybe-maintainer-clean-perl \
15511 maybe-maintainer-clean-prms \
15512 maybe-maintainer-clean-rcs \
15513 maybe-maintainer-clean-readline \
15514 maybe-maintainer-clean-release \
15515 maybe-maintainer-clean-recode \
15516 maybe-maintainer-clean-sed \
15517 maybe-maintainer-clean-send-pr \
15518 maybe-maintainer-clean-shellutils \
15519 maybe-maintainer-clean-sid \
15520 maybe-maintainer-clean-sim \
15521 maybe-maintainer-clean-tar \
15522 maybe-maintainer-clean-texinfo \
15523 maybe-maintainer-clean-textutils \
15524 maybe-maintainer-clean-time \
15525 maybe-maintainer-clean-uudecode \
15526 maybe-maintainer-clean-wdiff \
15527 maybe-maintainer-clean-zip \
15528 maybe-maintainer-clean-zlib \
15529 maybe-maintainer-clean-gdb \
15530 maybe-maintainer-clean-expect \
15531 maybe-maintainer-clean-guile \
15532 maybe-maintainer-clean-tk \
15533 maybe-maintainer-clean-tix \
15534 maybe-maintainer-clean-libtermcap \
15535 maybe-maintainer-clean-utils
15537 .PHONY: maintainer-clean-target
15538 maintainer-clean-target: \
15539 maybe-maintainer-clean-target-libstdc++-v3 \
15540 maybe-maintainer-clean-target-newlib \
15541 maybe-maintainer-clean-target-libf2c \
15542 maybe-maintainer-clean-target-libobjc \
15543 maybe-maintainer-clean-target-libtermcap \
15544 maybe-maintainer-clean-target-winsup \
15545 maybe-maintainer-clean-target-libgloss \
15546 maybe-maintainer-clean-target-libiberty \
15547 maybe-maintainer-clean-target-gperf \
15548 maybe-maintainer-clean-target-examples \
15549 maybe-maintainer-clean-target-libffi \
15550 maybe-maintainer-clean-target-libjava \
15551 maybe-maintainer-clean-target-zlib \
15552 maybe-maintainer-clean-target-boehm-gc \
15553 maybe-maintainer-clean-target-qthreads \
15554 maybe-maintainer-clean-target-rda
15556 # GCC, the eternal special case
15557 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15558 maybe-maintainer-clean-gcc:
15559 maintainer-clean-gcc:
15560 @[ -f ./gcc/Makefile ] || exit 0; \
15561 r=`${PWD}`; export r; \
15562 s=`cd $(srcdir); ${PWD}`; export s; \
15563 $(SET_LIB_PATH) \
15564 for flag in $(EXTRA_GCC_FLAGS); do \
15565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15566 done; \
15567 echo "Doing maintainer-clean in gcc" ; \
15568 (cd gcc && \
15569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15571 "RANLIB=$${RANLIB}" \
15572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15573 maintainer-clean) \
15574 || exit 1
15576 # Host modules.
15578 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
15579 maybe-maintainer-clean-ash:
15581 maintainer-clean-ash:
15582 @[ -f ./ash/Makefile ] || exit 0; \
15583 r=`${PWD}`; export r; \
15584 s=`cd $(srcdir); ${PWD}`; export s; \
15585 $(SET_LIB_PATH) \
15586 for flag in $(EXTRA_HOST_FLAGS); do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15588 done; \
15589 echo "Doing maintainer-clean in ash" ; \
15590 (cd ash && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15595 maintainer-clean) \
15596 || exit 1
15599 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
15600 maybe-maintainer-clean-autoconf:
15602 maintainer-clean-autoconf:
15603 @[ -f ./autoconf/Makefile ] || exit 0; \
15604 r=`${PWD}`; export r; \
15605 s=`cd $(srcdir); ${PWD}`; export s; \
15606 $(SET_LIB_PATH) \
15607 for flag in $(EXTRA_HOST_FLAGS); do \
15608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15609 done; \
15610 echo "Doing maintainer-clean in autoconf" ; \
15611 (cd autoconf && \
15612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15614 "RANLIB=$${RANLIB}" \
15615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15616 maintainer-clean) \
15617 || exit 1
15620 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
15621 maybe-maintainer-clean-automake:
15623 maintainer-clean-automake:
15624 @[ -f ./automake/Makefile ] || exit 0; \
15625 r=`${PWD}`; export r; \
15626 s=`cd $(srcdir); ${PWD}`; export s; \
15627 $(SET_LIB_PATH) \
15628 for flag in $(EXTRA_HOST_FLAGS); do \
15629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15630 done; \
15631 echo "Doing maintainer-clean in automake" ; \
15632 (cd automake && \
15633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15635 "RANLIB=$${RANLIB}" \
15636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15637 maintainer-clean) \
15638 || exit 1
15641 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
15642 maybe-maintainer-clean-bash:
15644 maintainer-clean-bash:
15645 @[ -f ./bash/Makefile ] || exit 0; \
15646 r=`${PWD}`; export r; \
15647 s=`cd $(srcdir); ${PWD}`; export s; \
15648 $(SET_LIB_PATH) \
15649 for flag in $(EXTRA_HOST_FLAGS); do \
15650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15651 done; \
15652 echo "Doing maintainer-clean in bash" ; \
15653 (cd bash && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15656 "RANLIB=$${RANLIB}" \
15657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15658 maintainer-clean) \
15659 || exit 1
15662 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
15663 maybe-maintainer-clean-bfd:
15665 maintainer-clean-bfd:
15666 @[ -f ./bfd/Makefile ] || exit 0; \
15667 r=`${PWD}`; export r; \
15668 s=`cd $(srcdir); ${PWD}`; export s; \
15669 $(SET_LIB_PATH) \
15670 for flag in $(EXTRA_HOST_FLAGS); do \
15671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15672 done; \
15673 echo "Doing maintainer-clean in bfd" ; \
15674 (cd bfd && \
15675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15677 "RANLIB=$${RANLIB}" \
15678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15679 maintainer-clean) \
15680 || exit 1
15683 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
15684 maybe-maintainer-clean-opcodes:
15686 maintainer-clean-opcodes:
15687 @[ -f ./opcodes/Makefile ] || exit 0; \
15688 r=`${PWD}`; export r; \
15689 s=`cd $(srcdir); ${PWD}`; export s; \
15690 $(SET_LIB_PATH) \
15691 for flag in $(EXTRA_HOST_FLAGS); do \
15692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 done; \
15694 echo "Doing maintainer-clean in opcodes" ; \
15695 (cd opcodes && \
15696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15698 "RANLIB=$${RANLIB}" \
15699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15700 maintainer-clean) \
15701 || exit 1
15704 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
15705 maybe-maintainer-clean-binutils:
15707 maintainer-clean-binutils:
15708 @[ -f ./binutils/Makefile ] || exit 0; \
15709 r=`${PWD}`; export r; \
15710 s=`cd $(srcdir); ${PWD}`; export s; \
15711 $(SET_LIB_PATH) \
15712 for flag in $(EXTRA_HOST_FLAGS); do \
15713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714 done; \
15715 echo "Doing maintainer-clean in binutils" ; \
15716 (cd binutils && \
15717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719 "RANLIB=$${RANLIB}" \
15720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15721 maintainer-clean) \
15722 || exit 1
15725 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
15726 maybe-maintainer-clean-bison:
15728 maintainer-clean-bison:
15729 @[ -f ./bison/Makefile ] || exit 0; \
15730 r=`${PWD}`; export r; \
15731 s=`cd $(srcdir); ${PWD}`; export s; \
15732 $(SET_LIB_PATH) \
15733 for flag in $(EXTRA_HOST_FLAGS); do \
15734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15735 done; \
15736 echo "Doing maintainer-clean in bison" ; \
15737 (cd bison && \
15738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740 "RANLIB=$${RANLIB}" \
15741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742 maintainer-clean) \
15743 || exit 1
15746 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
15747 maybe-maintainer-clean-byacc:
15749 maintainer-clean-byacc:
15750 @[ -f ./byacc/Makefile ] || exit 0; \
15751 r=`${PWD}`; export r; \
15752 s=`cd $(srcdir); ${PWD}`; export s; \
15753 $(SET_LIB_PATH) \
15754 for flag in $(EXTRA_HOST_FLAGS); do \
15755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15756 done; \
15757 echo "Doing maintainer-clean in byacc" ; \
15758 (cd byacc && \
15759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15761 "RANLIB=$${RANLIB}" \
15762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15763 maintainer-clean) \
15764 || exit 1
15767 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
15768 maybe-maintainer-clean-bzip2:
15770 maintainer-clean-bzip2:
15771 @[ -f ./bzip2/Makefile ] || exit 0; \
15772 r=`${PWD}`; export r; \
15773 s=`cd $(srcdir); ${PWD}`; export s; \
15774 $(SET_LIB_PATH) \
15775 for flag in $(EXTRA_HOST_FLAGS); do \
15776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15777 done; \
15778 echo "Doing maintainer-clean in bzip2" ; \
15779 (cd bzip2 && \
15780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15782 "RANLIB=$${RANLIB}" \
15783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15784 maintainer-clean) \
15785 || exit 1
15788 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
15789 maybe-maintainer-clean-dejagnu:
15791 maintainer-clean-dejagnu:
15792 @[ -f ./dejagnu/Makefile ] || exit 0; \
15793 r=`${PWD}`; export r; \
15794 s=`cd $(srcdir); ${PWD}`; export s; \
15795 $(SET_LIB_PATH) \
15796 for flag in $(EXTRA_HOST_FLAGS); do \
15797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15798 done; \
15799 echo "Doing maintainer-clean in dejagnu" ; \
15800 (cd dejagnu && \
15801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15803 "RANLIB=$${RANLIB}" \
15804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15805 maintainer-clean) \
15806 || exit 1
15809 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
15810 maybe-maintainer-clean-diff:
15812 maintainer-clean-diff:
15813 @[ -f ./diff/Makefile ] || exit 0; \
15814 r=`${PWD}`; export r; \
15815 s=`cd $(srcdir); ${PWD}`; export s; \
15816 $(SET_LIB_PATH) \
15817 for flag in $(EXTRA_HOST_FLAGS); do \
15818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15819 done; \
15820 echo "Doing maintainer-clean in diff" ; \
15821 (cd diff && \
15822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15824 "RANLIB=$${RANLIB}" \
15825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15826 maintainer-clean) \
15827 || exit 1
15830 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
15831 maybe-maintainer-clean-dosutils:
15833 maintainer-clean-dosutils:
15834 @[ -f ./dosutils/Makefile ] || exit 0; \
15835 r=`${PWD}`; export r; \
15836 s=`cd $(srcdir); ${PWD}`; export s; \
15837 $(SET_LIB_PATH) \
15838 for flag in $(EXTRA_HOST_FLAGS); do \
15839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15840 done; \
15841 echo "Doing maintainer-clean in dosutils" ; \
15842 (cd dosutils && \
15843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15845 "RANLIB=$${RANLIB}" \
15846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15847 maintainer-clean) \
15848 || exit 1
15851 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
15852 maybe-maintainer-clean-etc:
15854 maintainer-clean-etc:
15855 @[ -f ./etc/Makefile ] || exit 0; \
15856 r=`${PWD}`; export r; \
15857 s=`cd $(srcdir); ${PWD}`; export s; \
15858 $(SET_LIB_PATH) \
15859 for flag in $(EXTRA_HOST_FLAGS); do \
15860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15861 done; \
15862 echo "Doing maintainer-clean in etc" ; \
15863 (cd etc && \
15864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15866 "RANLIB=$${RANLIB}" \
15867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15868 maintainer-clean) \
15869 || exit 1
15872 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
15873 maybe-maintainer-clean-fastjar:
15875 maintainer-clean-fastjar:
15876 @[ -f ./fastjar/Makefile ] || exit 0; \
15877 r=`${PWD}`; export r; \
15878 s=`cd $(srcdir); ${PWD}`; export s; \
15879 $(SET_LIB_PATH) \
15880 for flag in $(EXTRA_HOST_FLAGS); do \
15881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15882 done; \
15883 echo "Doing maintainer-clean in fastjar" ; \
15884 (cd fastjar && \
15885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15887 "RANLIB=$${RANLIB}" \
15888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15889 maintainer-clean) \
15890 || exit 1
15893 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
15894 maybe-maintainer-clean-fileutils:
15896 maintainer-clean-fileutils:
15897 @[ -f ./fileutils/Makefile ] || exit 0; \
15898 r=`${PWD}`; export r; \
15899 s=`cd $(srcdir); ${PWD}`; export s; \
15900 $(SET_LIB_PATH) \
15901 for flag in $(EXTRA_HOST_FLAGS); do \
15902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15903 done; \
15904 echo "Doing maintainer-clean in fileutils" ; \
15905 (cd fileutils && \
15906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15908 "RANLIB=$${RANLIB}" \
15909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15910 maintainer-clean) \
15911 || exit 1
15914 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
15915 maybe-maintainer-clean-findutils:
15917 maintainer-clean-findutils:
15918 @[ -f ./findutils/Makefile ] || exit 0; \
15919 r=`${PWD}`; export r; \
15920 s=`cd $(srcdir); ${PWD}`; export s; \
15921 $(SET_LIB_PATH) \
15922 for flag in $(EXTRA_HOST_FLAGS); do \
15923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15924 done; \
15925 echo "Doing maintainer-clean in findutils" ; \
15926 (cd findutils && \
15927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15929 "RANLIB=$${RANLIB}" \
15930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15931 maintainer-clean) \
15932 || exit 1
15935 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
15936 maybe-maintainer-clean-find:
15938 maintainer-clean-find:
15939 @[ -f ./find/Makefile ] || exit 0; \
15940 r=`${PWD}`; export r; \
15941 s=`cd $(srcdir); ${PWD}`; export s; \
15942 $(SET_LIB_PATH) \
15943 for flag in $(EXTRA_HOST_FLAGS); do \
15944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15945 done; \
15946 echo "Doing maintainer-clean in find" ; \
15947 (cd find && \
15948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15950 "RANLIB=$${RANLIB}" \
15951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15952 maintainer-clean) \
15953 || exit 1
15956 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
15957 maybe-maintainer-clean-flex:
15959 maintainer-clean-flex:
15960 @[ -f ./flex/Makefile ] || exit 0; \
15961 r=`${PWD}`; export r; \
15962 s=`cd $(srcdir); ${PWD}`; export s; \
15963 $(SET_LIB_PATH) \
15964 for flag in $(EXTRA_HOST_FLAGS); do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 done; \
15967 echo "Doing maintainer-clean in flex" ; \
15968 (cd flex && \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15973 maintainer-clean) \
15974 || exit 1
15977 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15978 maybe-maintainer-clean-gas:
15980 maintainer-clean-gas:
15981 @[ -f ./gas/Makefile ] || exit 0; \
15982 r=`${PWD}`; export r; \
15983 s=`cd $(srcdir); ${PWD}`; export s; \
15984 $(SET_LIB_PATH) \
15985 for flag in $(EXTRA_HOST_FLAGS); do \
15986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15987 done; \
15988 echo "Doing maintainer-clean in gas" ; \
15989 (cd gas && \
15990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15992 "RANLIB=$${RANLIB}" \
15993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15994 maintainer-clean) \
15995 || exit 1
15998 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15999 maybe-maintainer-clean-gawk:
16001 maintainer-clean-gawk:
16002 @[ -f ./gawk/Makefile ] || exit 0; \
16003 r=`${PWD}`; export r; \
16004 s=`cd $(srcdir); ${PWD}`; export s; \
16005 $(SET_LIB_PATH) \
16006 for flag in $(EXTRA_HOST_FLAGS); do \
16007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16008 done; \
16009 echo "Doing maintainer-clean in gawk" ; \
16010 (cd gawk && \
16011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16013 "RANLIB=$${RANLIB}" \
16014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16015 maintainer-clean) \
16016 || exit 1
16019 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16020 maybe-maintainer-clean-gettext:
16022 maintainer-clean-gettext:
16023 @[ -f ./gettext/Makefile ] || exit 0; \
16024 r=`${PWD}`; export r; \
16025 s=`cd $(srcdir); ${PWD}`; export s; \
16026 $(SET_LIB_PATH) \
16027 for flag in $(EXTRA_HOST_FLAGS); do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing maintainer-clean in gettext" ; \
16031 (cd gettext && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 maintainer-clean) \
16037 || exit 1
16040 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16041 maybe-maintainer-clean-gnuserv:
16043 maintainer-clean-gnuserv:
16044 @[ -f ./gnuserv/Makefile ] || exit 0; \
16045 r=`${PWD}`; export r; \
16046 s=`cd $(srcdir); ${PWD}`; export s; \
16047 $(SET_LIB_PATH) \
16048 for flag in $(EXTRA_HOST_FLAGS); do \
16049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16050 done; \
16051 echo "Doing maintainer-clean in gnuserv" ; \
16052 (cd gnuserv && \
16053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055 "RANLIB=$${RANLIB}" \
16056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16057 maintainer-clean) \
16058 || exit 1
16061 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16062 maybe-maintainer-clean-gprof:
16064 maintainer-clean-gprof:
16065 @[ -f ./gprof/Makefile ] || exit 0; \
16066 r=`${PWD}`; export r; \
16067 s=`cd $(srcdir); ${PWD}`; export s; \
16068 $(SET_LIB_PATH) \
16069 for flag in $(EXTRA_HOST_FLAGS); do \
16070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16071 done; \
16072 echo "Doing maintainer-clean in gprof" ; \
16073 (cd gprof && \
16074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16076 "RANLIB=$${RANLIB}" \
16077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16078 maintainer-clean) \
16079 || exit 1
16082 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16083 maybe-maintainer-clean-gzip:
16085 maintainer-clean-gzip:
16086 @[ -f ./gzip/Makefile ] || exit 0; \
16087 r=`${PWD}`; export r; \
16088 s=`cd $(srcdir); ${PWD}`; export s; \
16089 $(SET_LIB_PATH) \
16090 for flag in $(EXTRA_HOST_FLAGS); do \
16091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16092 done; \
16093 echo "Doing maintainer-clean in gzip" ; \
16094 (cd gzip && \
16095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16097 "RANLIB=$${RANLIB}" \
16098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16099 maintainer-clean) \
16100 || exit 1
16103 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
16104 maybe-maintainer-clean-hello:
16106 maintainer-clean-hello:
16107 @[ -f ./hello/Makefile ] || exit 0; \
16108 r=`${PWD}`; export r; \
16109 s=`cd $(srcdir); ${PWD}`; export s; \
16110 $(SET_LIB_PATH) \
16111 for flag in $(EXTRA_HOST_FLAGS); do \
16112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16113 done; \
16114 echo "Doing maintainer-clean in hello" ; \
16115 (cd hello && \
16116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16118 "RANLIB=$${RANLIB}" \
16119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16120 maintainer-clean) \
16121 || exit 1
16124 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16125 maybe-maintainer-clean-indent:
16127 maintainer-clean-indent:
16128 @[ -f ./indent/Makefile ] || exit 0; \
16129 r=`${PWD}`; export r; \
16130 s=`cd $(srcdir); ${PWD}`; export s; \
16131 $(SET_LIB_PATH) \
16132 for flag in $(EXTRA_HOST_FLAGS); do \
16133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16134 done; \
16135 echo "Doing maintainer-clean in indent" ; \
16136 (cd indent && \
16137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16139 "RANLIB=$${RANLIB}" \
16140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16141 maintainer-clean) \
16142 || exit 1
16145 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16146 maybe-maintainer-clean-intl:
16148 maintainer-clean-intl:
16149 @[ -f ./intl/Makefile ] || exit 0; \
16150 r=`${PWD}`; export r; \
16151 s=`cd $(srcdir); ${PWD}`; export s; \
16152 $(SET_LIB_PATH) \
16153 for flag in $(EXTRA_HOST_FLAGS); do \
16154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16155 done; \
16156 echo "Doing maintainer-clean in intl" ; \
16157 (cd intl && \
16158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16160 "RANLIB=$${RANLIB}" \
16161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16162 maintainer-clean) \
16163 || exit 1
16166 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16167 maybe-maintainer-clean-tcl:
16169 maintainer-clean-tcl:
16170 @[ -f ./tcl/Makefile ] || exit 0; \
16171 r=`${PWD}`; export r; \
16172 s=`cd $(srcdir); ${PWD}`; export s; \
16173 $(SET_LIB_PATH) \
16174 for flag in $(EXTRA_HOST_FLAGS); do \
16175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16176 done; \
16177 echo "Doing maintainer-clean in tcl" ; \
16178 (cd tcl && \
16179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16181 "RANLIB=$${RANLIB}" \
16182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16183 maintainer-clean) \
16184 || exit 1
16187 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16188 maybe-maintainer-clean-itcl:
16190 maintainer-clean-itcl:
16191 @[ -f ./itcl/Makefile ] || exit 0; \
16192 r=`${PWD}`; export r; \
16193 s=`cd $(srcdir); ${PWD}`; export s; \
16194 $(SET_LIB_PATH) \
16195 for flag in $(EXTRA_HOST_FLAGS); do \
16196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16197 done; \
16198 echo "Doing maintainer-clean in itcl" ; \
16199 (cd itcl && \
16200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16202 "RANLIB=$${RANLIB}" \
16203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16204 maintainer-clean) \
16205 || exit 1
16208 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16209 maybe-maintainer-clean-ld:
16211 maintainer-clean-ld:
16212 @[ -f ./ld/Makefile ] || exit 0; \
16213 r=`${PWD}`; export r; \
16214 s=`cd $(srcdir); ${PWD}`; export s; \
16215 $(SET_LIB_PATH) \
16216 for flag in $(EXTRA_HOST_FLAGS); do \
16217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16218 done; \
16219 echo "Doing maintainer-clean in ld" ; \
16220 (cd ld && \
16221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16223 "RANLIB=$${RANLIB}" \
16224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16225 maintainer-clean) \
16226 || exit 1
16229 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16230 maybe-maintainer-clean-libgui:
16232 maintainer-clean-libgui:
16233 @[ -f ./libgui/Makefile ] || exit 0; \
16234 r=`${PWD}`; export r; \
16235 s=`cd $(srcdir); ${PWD}`; export s; \
16236 $(SET_LIB_PATH) \
16237 for flag in $(EXTRA_HOST_FLAGS); do \
16238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16239 done; \
16240 echo "Doing maintainer-clean in libgui" ; \
16241 (cd libgui && \
16242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16244 "RANLIB=$${RANLIB}" \
16245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16246 maintainer-clean) \
16247 || exit 1
16250 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16251 maybe-maintainer-clean-libiberty:
16253 maintainer-clean-libiberty:
16254 @[ -f ./libiberty/Makefile ] || exit 0; \
16255 r=`${PWD}`; export r; \
16256 s=`cd $(srcdir); ${PWD}`; export s; \
16257 $(SET_LIB_PATH) \
16258 for flag in $(EXTRA_HOST_FLAGS); do \
16259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16260 done; \
16261 echo "Doing maintainer-clean in libiberty" ; \
16262 (cd libiberty && \
16263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16265 "RANLIB=$${RANLIB}" \
16266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16267 maintainer-clean) \
16268 || exit 1
16271 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
16272 maybe-maintainer-clean-libtool:
16274 maintainer-clean-libtool:
16275 @[ -f ./libtool/Makefile ] || exit 0; \
16276 r=`${PWD}`; export r; \
16277 s=`cd $(srcdir); ${PWD}`; export s; \
16278 $(SET_LIB_PATH) \
16279 for flag in $(EXTRA_HOST_FLAGS); do \
16280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16281 done; \
16282 echo "Doing maintainer-clean in libtool" ; \
16283 (cd libtool && \
16284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16286 "RANLIB=$${RANLIB}" \
16287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16288 maintainer-clean) \
16289 || exit 1
16292 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
16293 maybe-maintainer-clean-m4:
16295 maintainer-clean-m4:
16296 @[ -f ./m4/Makefile ] || exit 0; \
16297 r=`${PWD}`; export r; \
16298 s=`cd $(srcdir); ${PWD}`; export s; \
16299 $(SET_LIB_PATH) \
16300 for flag in $(EXTRA_HOST_FLAGS); do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302 done; \
16303 echo "Doing maintainer-clean in m4" ; \
16304 (cd m4 && \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16309 maintainer-clean) \
16310 || exit 1
16313 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
16314 maybe-maintainer-clean-make:
16316 maintainer-clean-make:
16317 @[ -f ./make/Makefile ] || exit 0; \
16318 r=`${PWD}`; export r; \
16319 s=`cd $(srcdir); ${PWD}`; export s; \
16320 $(SET_LIB_PATH) \
16321 for flag in $(EXTRA_HOST_FLAGS); do \
16322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16323 done; \
16324 echo "Doing maintainer-clean in make" ; \
16325 (cd make && \
16326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16328 "RANLIB=$${RANLIB}" \
16329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16330 maintainer-clean) \
16331 || exit 1
16334 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
16335 maybe-maintainer-clean-mmalloc:
16337 maintainer-clean-mmalloc:
16338 @[ -f ./mmalloc/Makefile ] || exit 0; \
16339 r=`${PWD}`; export r; \
16340 s=`cd $(srcdir); ${PWD}`; export s; \
16341 $(SET_LIB_PATH) \
16342 for flag in $(EXTRA_HOST_FLAGS); do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing maintainer-clean in mmalloc" ; \
16346 (cd mmalloc && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16351 maintainer-clean) \
16352 || exit 1
16355 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16356 maybe-maintainer-clean-patch:
16358 maintainer-clean-patch:
16359 @[ -f ./patch/Makefile ] || exit 0; \
16360 r=`${PWD}`; export r; \
16361 s=`cd $(srcdir); ${PWD}`; export s; \
16362 $(SET_LIB_PATH) \
16363 for flag in $(EXTRA_HOST_FLAGS); do \
16364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16365 done; \
16366 echo "Doing maintainer-clean in patch" ; \
16367 (cd patch && \
16368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370 "RANLIB=$${RANLIB}" \
16371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16372 maintainer-clean) \
16373 || exit 1
16376 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16377 maybe-maintainer-clean-perl:
16379 maintainer-clean-perl:
16380 @[ -f ./perl/Makefile ] || exit 0; \
16381 r=`${PWD}`; export r; \
16382 s=`cd $(srcdir); ${PWD}`; export s; \
16383 $(SET_LIB_PATH) \
16384 for flag in $(EXTRA_HOST_FLAGS); do \
16385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16386 done; \
16387 echo "Doing maintainer-clean in perl" ; \
16388 (cd perl && \
16389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16391 "RANLIB=$${RANLIB}" \
16392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16393 maintainer-clean) \
16394 || exit 1
16397 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16398 maybe-maintainer-clean-prms:
16400 maintainer-clean-prms:
16401 @[ -f ./prms/Makefile ] || exit 0; \
16402 r=`${PWD}`; export r; \
16403 s=`cd $(srcdir); ${PWD}`; export s; \
16404 $(SET_LIB_PATH) \
16405 for flag in $(EXTRA_HOST_FLAGS); do \
16406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16407 done; \
16408 echo "Doing maintainer-clean in prms" ; \
16409 (cd prms && \
16410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16412 "RANLIB=$${RANLIB}" \
16413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16414 maintainer-clean) \
16415 || exit 1
16418 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16419 maybe-maintainer-clean-rcs:
16421 maintainer-clean-rcs:
16422 @[ -f ./rcs/Makefile ] || exit 0; \
16423 r=`${PWD}`; export r; \
16424 s=`cd $(srcdir); ${PWD}`; export s; \
16425 $(SET_LIB_PATH) \
16426 for flag in $(EXTRA_HOST_FLAGS); do \
16427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16428 done; \
16429 echo "Doing maintainer-clean in rcs" ; \
16430 (cd rcs && \
16431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16433 "RANLIB=$${RANLIB}" \
16434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16435 maintainer-clean) \
16436 || exit 1
16439 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16440 maybe-maintainer-clean-readline:
16442 maintainer-clean-readline:
16443 @[ -f ./readline/Makefile ] || exit 0; \
16444 r=`${PWD}`; export r; \
16445 s=`cd $(srcdir); ${PWD}`; export s; \
16446 $(SET_LIB_PATH) \
16447 for flag in $(EXTRA_HOST_FLAGS); do \
16448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16449 done; \
16450 echo "Doing maintainer-clean in readline" ; \
16451 (cd readline && \
16452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16454 "RANLIB=$${RANLIB}" \
16455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16456 maintainer-clean) \
16457 || exit 1
16460 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16461 maybe-maintainer-clean-release:
16463 maintainer-clean-release:
16464 @[ -f ./release/Makefile ] || exit 0; \
16465 r=`${PWD}`; export r; \
16466 s=`cd $(srcdir); ${PWD}`; export s; \
16467 $(SET_LIB_PATH) \
16468 for flag in $(EXTRA_HOST_FLAGS); do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470 done; \
16471 echo "Doing maintainer-clean in release" ; \
16472 (cd release && \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16477 maintainer-clean) \
16478 || exit 1
16481 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16482 maybe-maintainer-clean-recode:
16484 maintainer-clean-recode:
16485 @[ -f ./recode/Makefile ] || exit 0; \
16486 r=`${PWD}`; export r; \
16487 s=`cd $(srcdir); ${PWD}`; export s; \
16488 $(SET_LIB_PATH) \
16489 for flag in $(EXTRA_HOST_FLAGS); do \
16490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16491 done; \
16492 echo "Doing maintainer-clean in recode" ; \
16493 (cd recode && \
16494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16496 "RANLIB=$${RANLIB}" \
16497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16498 maintainer-clean) \
16499 || exit 1
16502 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16503 maybe-maintainer-clean-sed:
16505 maintainer-clean-sed:
16506 @[ -f ./sed/Makefile ] || exit 0; \
16507 r=`${PWD}`; export r; \
16508 s=`cd $(srcdir); ${PWD}`; export s; \
16509 $(SET_LIB_PATH) \
16510 for flag in $(EXTRA_HOST_FLAGS); do \
16511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16512 done; \
16513 echo "Doing maintainer-clean in sed" ; \
16514 (cd sed && \
16515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16517 "RANLIB=$${RANLIB}" \
16518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16519 maintainer-clean) \
16520 || exit 1
16523 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16524 maybe-maintainer-clean-send-pr:
16526 maintainer-clean-send-pr:
16527 @[ -f ./send-pr/Makefile ] || exit 0; \
16528 r=`${PWD}`; export r; \
16529 s=`cd $(srcdir); ${PWD}`; export s; \
16530 $(SET_LIB_PATH) \
16531 for flag in $(EXTRA_HOST_FLAGS); do \
16532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16533 done; \
16534 echo "Doing maintainer-clean in send-pr" ; \
16535 (cd send-pr && \
16536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16538 "RANLIB=$${RANLIB}" \
16539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16540 maintainer-clean) \
16541 || exit 1
16544 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16545 maybe-maintainer-clean-shellutils:
16547 maintainer-clean-shellutils:
16548 @[ -f ./shellutils/Makefile ] || exit 0; \
16549 r=`${PWD}`; export r; \
16550 s=`cd $(srcdir); ${PWD}`; export s; \
16551 $(SET_LIB_PATH) \
16552 for flag in $(EXTRA_HOST_FLAGS); do \
16553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16554 done; \
16555 echo "Doing maintainer-clean in shellutils" ; \
16556 (cd shellutils && \
16557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16559 "RANLIB=$${RANLIB}" \
16560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16561 maintainer-clean) \
16562 || exit 1
16565 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16566 maybe-maintainer-clean-sid:
16568 maintainer-clean-sid:
16569 @[ -f ./sid/Makefile ] || exit 0; \
16570 r=`${PWD}`; export r; \
16571 s=`cd $(srcdir); ${PWD}`; export s; \
16572 $(SET_LIB_PATH) \
16573 for flag in $(EXTRA_HOST_FLAGS); do \
16574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16575 done; \
16576 echo "Doing maintainer-clean in sid" ; \
16577 (cd sid && \
16578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16580 "RANLIB=$${RANLIB}" \
16581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16582 maintainer-clean) \
16583 || exit 1
16586 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
16587 maybe-maintainer-clean-sim:
16589 maintainer-clean-sim:
16590 @[ -f ./sim/Makefile ] || exit 0; \
16591 r=`${PWD}`; export r; \
16592 s=`cd $(srcdir); ${PWD}`; export s; \
16593 $(SET_LIB_PATH) \
16594 for flag in $(EXTRA_HOST_FLAGS); do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16596 done; \
16597 echo "Doing maintainer-clean in sim" ; \
16598 (cd sim && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16603 maintainer-clean) \
16604 || exit 1
16607 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
16608 maybe-maintainer-clean-tar:
16610 maintainer-clean-tar:
16611 @[ -f ./tar/Makefile ] || exit 0; \
16612 r=`${PWD}`; export r; \
16613 s=`cd $(srcdir); ${PWD}`; export s; \
16614 $(SET_LIB_PATH) \
16615 for flag in $(EXTRA_HOST_FLAGS); do \
16616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16617 done; \
16618 echo "Doing maintainer-clean in tar" ; \
16619 (cd tar && \
16620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16622 "RANLIB=$${RANLIB}" \
16623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16624 maintainer-clean) \
16625 || exit 1
16628 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
16629 maybe-maintainer-clean-texinfo:
16631 maintainer-clean-texinfo:
16632 @[ -f ./texinfo/Makefile ] || exit 0; \
16633 r=`${PWD}`; export r; \
16634 s=`cd $(srcdir); ${PWD}`; export s; \
16635 $(SET_LIB_PATH) \
16636 for flag in $(EXTRA_HOST_FLAGS); do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16638 done; \
16639 echo "Doing maintainer-clean in texinfo" ; \
16640 (cd texinfo && \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16645 maintainer-clean) \
16646 || exit 1
16649 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16650 maybe-maintainer-clean-textutils:
16652 maintainer-clean-textutils:
16653 @[ -f ./textutils/Makefile ] || exit 0; \
16654 r=`${PWD}`; export r; \
16655 s=`cd $(srcdir); ${PWD}`; export s; \
16656 $(SET_LIB_PATH) \
16657 for flag in $(EXTRA_HOST_FLAGS); do \
16658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16659 done; \
16660 echo "Doing maintainer-clean in textutils" ; \
16661 (cd textutils && \
16662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16664 "RANLIB=$${RANLIB}" \
16665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16666 maintainer-clean) \
16667 || exit 1
16670 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16671 maybe-maintainer-clean-time:
16673 maintainer-clean-time:
16674 @[ -f ./time/Makefile ] || exit 0; \
16675 r=`${PWD}`; export r; \
16676 s=`cd $(srcdir); ${PWD}`; export s; \
16677 $(SET_LIB_PATH) \
16678 for flag in $(EXTRA_HOST_FLAGS); do \
16679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16680 done; \
16681 echo "Doing maintainer-clean in time" ; \
16682 (cd time && \
16683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16685 "RANLIB=$${RANLIB}" \
16686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16687 maintainer-clean) \
16688 || exit 1
16691 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16692 maybe-maintainer-clean-uudecode:
16694 maintainer-clean-uudecode:
16695 @[ -f ./uudecode/Makefile ] || exit 0; \
16696 r=`${PWD}`; export r; \
16697 s=`cd $(srcdir); ${PWD}`; export s; \
16698 $(SET_LIB_PATH) \
16699 for flag in $(EXTRA_HOST_FLAGS); do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701 done; \
16702 echo "Doing maintainer-clean in uudecode" ; \
16703 (cd uudecode && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16708 maintainer-clean) \
16709 || exit 1
16712 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16713 maybe-maintainer-clean-wdiff:
16715 maintainer-clean-wdiff:
16716 @[ -f ./wdiff/Makefile ] || exit 0; \
16717 r=`${PWD}`; export r; \
16718 s=`cd $(srcdir); ${PWD}`; export s; \
16719 $(SET_LIB_PATH) \
16720 for flag in $(EXTRA_HOST_FLAGS); do \
16721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16722 done; \
16723 echo "Doing maintainer-clean in wdiff" ; \
16724 (cd wdiff && \
16725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16727 "RANLIB=$${RANLIB}" \
16728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16729 maintainer-clean) \
16730 || exit 1
16733 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16734 maybe-maintainer-clean-zip:
16736 maintainer-clean-zip:
16737 @[ -f ./zip/Makefile ] || exit 0; \
16738 r=`${PWD}`; export r; \
16739 s=`cd $(srcdir); ${PWD}`; export s; \
16740 $(SET_LIB_PATH) \
16741 for flag in $(EXTRA_HOST_FLAGS); do \
16742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16743 done; \
16744 echo "Doing maintainer-clean in zip" ; \
16745 (cd zip && \
16746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16748 "RANLIB=$${RANLIB}" \
16749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16750 maintainer-clean) \
16751 || exit 1
16754 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
16755 maybe-maintainer-clean-zlib:
16757 maintainer-clean-zlib:
16758 @[ -f ./zlib/Makefile ] || exit 0; \
16759 r=`${PWD}`; export r; \
16760 s=`cd $(srcdir); ${PWD}`; export s; \
16761 $(SET_LIB_PATH) \
16762 for flag in $(EXTRA_HOST_FLAGS); do \
16763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16764 done; \
16765 echo "Doing maintainer-clean in zlib" ; \
16766 (cd zlib && \
16767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16769 "RANLIB=$${RANLIB}" \
16770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16771 maintainer-clean) \
16772 || exit 1
16775 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
16776 maybe-maintainer-clean-gdb:
16778 maintainer-clean-gdb:
16779 @[ -f ./gdb/Makefile ] || exit 0; \
16780 r=`${PWD}`; export r; \
16781 s=`cd $(srcdir); ${PWD}`; export s; \
16782 $(SET_LIB_PATH) \
16783 for flag in $(EXTRA_HOST_FLAGS); do \
16784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16785 done; \
16786 echo "Doing maintainer-clean in gdb" ; \
16787 (cd gdb && \
16788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16790 "RANLIB=$${RANLIB}" \
16791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16792 maintainer-clean) \
16793 || exit 1
16796 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
16797 maybe-maintainer-clean-expect:
16799 maintainer-clean-expect:
16800 @[ -f ./expect/Makefile ] || exit 0; \
16801 r=`${PWD}`; export r; \
16802 s=`cd $(srcdir); ${PWD}`; export s; \
16803 $(SET_LIB_PATH) \
16804 for flag in $(EXTRA_HOST_FLAGS); do \
16805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16806 done; \
16807 echo "Doing maintainer-clean in expect" ; \
16808 (cd expect && \
16809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16811 "RANLIB=$${RANLIB}" \
16812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16813 maintainer-clean) \
16814 || exit 1
16817 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
16818 maybe-maintainer-clean-guile:
16820 maintainer-clean-guile:
16821 @[ -f ./guile/Makefile ] || exit 0; \
16822 r=`${PWD}`; export r; \
16823 s=`cd $(srcdir); ${PWD}`; export s; \
16824 $(SET_LIB_PATH) \
16825 for flag in $(EXTRA_HOST_FLAGS); do \
16826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16827 done; \
16828 echo "Doing maintainer-clean in guile" ; \
16829 (cd guile && \
16830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16832 "RANLIB=$${RANLIB}" \
16833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16834 maintainer-clean) \
16835 || exit 1
16838 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
16839 maybe-maintainer-clean-tk:
16841 maintainer-clean-tk:
16842 @[ -f ./tk/Makefile ] || exit 0; \
16843 r=`${PWD}`; export r; \
16844 s=`cd $(srcdir); ${PWD}`; export s; \
16845 $(SET_LIB_PATH) \
16846 for flag in $(EXTRA_HOST_FLAGS); do \
16847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16848 done; \
16849 echo "Doing maintainer-clean in tk" ; \
16850 (cd tk && \
16851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16853 "RANLIB=$${RANLIB}" \
16854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16855 maintainer-clean) \
16856 || exit 1
16859 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
16860 maybe-maintainer-clean-tix:
16862 maintainer-clean-tix:
16863 @[ -f ./tix/Makefile ] || exit 0; \
16864 r=`${PWD}`; export r; \
16865 s=`cd $(srcdir); ${PWD}`; export s; \
16866 $(SET_LIB_PATH) \
16867 for flag in $(EXTRA_HOST_FLAGS); do \
16868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16869 done; \
16870 echo "Doing maintainer-clean in tix" ; \
16871 (cd tix && \
16872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16874 "RANLIB=$${RANLIB}" \
16875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16876 maintainer-clean) \
16877 || exit 1
16880 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
16881 maybe-maintainer-clean-libtermcap:
16883 # libtermcap doesn't support maintainer-clean.
16884 maintainer-clean-libtermcap:
16887 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
16888 maybe-maintainer-clean-utils:
16890 maintainer-clean-utils:
16891 @[ -f ./utils/Makefile ] || exit 0; \
16892 r=`${PWD}`; export r; \
16893 s=`cd $(srcdir); ${PWD}`; export s; \
16894 $(SET_LIB_PATH) \
16895 for flag in $(EXTRA_HOST_FLAGS); do \
16896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16897 done; \
16898 echo "Doing maintainer-clean in utils" ; \
16899 (cd utils && \
16900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16902 "RANLIB=$${RANLIB}" \
16903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16904 maintainer-clean) \
16905 || exit 1
16909 # Target modules.
16911 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
16912 maybe-maintainer-clean-target-libstdc++-v3:
16914 maintainer-clean-target-libstdc++-v3:
16915 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
16916 r=`${PWD}`; export r; \
16917 s=`cd $(srcdir); ${PWD}`; export s; \
16918 $(SET_LIB_PATH) \
16919 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
16920 for flag in $(EXTRA_TARGET_FLAGS); do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
16924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16926 "RANLIB=$${RANLIB}" \
16927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16928 maintainer-clean) \
16929 || exit 1
16932 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
16933 maybe-maintainer-clean-target-newlib:
16935 maintainer-clean-target-newlib:
16936 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
16937 r=`${PWD}`; export r; \
16938 s=`cd $(srcdir); ${PWD}`; export s; \
16939 $(SET_LIB_PATH) \
16940 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
16941 for flag in $(EXTRA_TARGET_FLAGS); do \
16942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16943 done; \
16944 (cd $(TARGET_SUBDIR)/newlib && \
16945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16947 "RANLIB=$${RANLIB}" \
16948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16949 maintainer-clean) \
16950 || exit 1
16953 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
16954 maybe-maintainer-clean-target-libf2c:
16956 maintainer-clean-target-libf2c:
16957 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
16958 r=`${PWD}`; export r; \
16959 s=`cd $(srcdir); ${PWD}`; export s; \
16960 $(SET_LIB_PATH) \
16961 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
16962 for flag in $(EXTRA_TARGET_FLAGS); do \
16963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16964 done; \
16965 (cd $(TARGET_SUBDIR)/libf2c && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970 maintainer-clean) \
16971 || exit 1
16974 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
16975 maybe-maintainer-clean-target-libobjc:
16977 maintainer-clean-target-libobjc:
16978 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
16979 r=`${PWD}`; export r; \
16980 s=`cd $(srcdir); ${PWD}`; export s; \
16981 $(SET_LIB_PATH) \
16982 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
16983 for flag in $(EXTRA_TARGET_FLAGS); do \
16984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16985 done; \
16986 (cd $(TARGET_SUBDIR)/libobjc && \
16987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16989 "RANLIB=$${RANLIB}" \
16990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16991 maintainer-clean) \
16992 || exit 1
16995 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
16996 maybe-maintainer-clean-target-libtermcap:
16998 # libtermcap doesn't support maintainer-clean.
16999 maintainer-clean-target-libtermcap:
17002 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
17003 maybe-maintainer-clean-target-winsup:
17005 maintainer-clean-target-winsup:
17006 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
17007 r=`${PWD}`; export r; \
17008 s=`cd $(srcdir); ${PWD}`; export s; \
17009 $(SET_LIB_PATH) \
17010 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
17011 for flag in $(EXTRA_TARGET_FLAGS); do \
17012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17013 done; \
17014 (cd $(TARGET_SUBDIR)/winsup && \
17015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17017 "RANLIB=$${RANLIB}" \
17018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17019 maintainer-clean) \
17020 || exit 1
17023 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
17024 maybe-maintainer-clean-target-libgloss:
17026 maintainer-clean-target-libgloss:
17027 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
17028 r=`${PWD}`; export r; \
17029 s=`cd $(srcdir); ${PWD}`; export s; \
17030 $(SET_LIB_PATH) \
17031 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
17032 for flag in $(EXTRA_TARGET_FLAGS); do \
17033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17034 done; \
17035 (cd $(TARGET_SUBDIR)/libgloss && \
17036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17038 "RANLIB=$${RANLIB}" \
17039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17040 maintainer-clean) \
17041 || exit 1
17044 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
17045 maybe-maintainer-clean-target-libiberty:
17047 maintainer-clean-target-libiberty:
17048 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
17049 r=`${PWD}`; export r; \
17050 s=`cd $(srcdir); ${PWD}`; export s; \
17051 $(SET_LIB_PATH) \
17052 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
17053 for flag in $(EXTRA_TARGET_FLAGS); do \
17054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17055 done; \
17056 (cd $(TARGET_SUBDIR)/libiberty && \
17057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17059 "RANLIB=$${RANLIB}" \
17060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17061 maintainer-clean) \
17062 || exit 1
17065 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17066 maybe-maintainer-clean-target-gperf:
17068 maintainer-clean-target-gperf:
17069 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
17070 r=`${PWD}`; export r; \
17071 s=`cd $(srcdir); ${PWD}`; export s; \
17072 $(SET_LIB_PATH) \
17073 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
17074 for flag in $(EXTRA_TARGET_FLAGS); do \
17075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17076 done; \
17077 (cd $(TARGET_SUBDIR)/gperf && \
17078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17080 "RANLIB=$${RANLIB}" \
17081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17082 maintainer-clean) \
17083 || exit 1
17086 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
17087 maybe-maintainer-clean-target-examples:
17089 maintainer-clean-target-examples:
17090 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
17091 r=`${PWD}`; export r; \
17092 s=`cd $(srcdir); ${PWD}`; export s; \
17093 $(SET_LIB_PATH) \
17094 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
17095 for flag in $(EXTRA_TARGET_FLAGS); do \
17096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17097 done; \
17098 (cd $(TARGET_SUBDIR)/examples && \
17099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17101 "RANLIB=$${RANLIB}" \
17102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17103 maintainer-clean) \
17104 || exit 1
17107 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
17108 maybe-maintainer-clean-target-libffi:
17110 maintainer-clean-target-libffi:
17111 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
17112 r=`${PWD}`; export r; \
17113 s=`cd $(srcdir); ${PWD}`; export s; \
17114 $(SET_LIB_PATH) \
17115 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
17116 for flag in $(EXTRA_TARGET_FLAGS); do \
17117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17118 done; \
17119 (cd $(TARGET_SUBDIR)/libffi && \
17120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17122 "RANLIB=$${RANLIB}" \
17123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17124 maintainer-clean) \
17125 || exit 1
17128 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
17129 maybe-maintainer-clean-target-libjava:
17131 maintainer-clean-target-libjava:
17132 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
17133 r=`${PWD}`; export r; \
17134 s=`cd $(srcdir); ${PWD}`; export s; \
17135 $(SET_LIB_PATH) \
17136 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
17137 for flag in $(EXTRA_TARGET_FLAGS); do \
17138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139 done; \
17140 (cd $(TARGET_SUBDIR)/libjava && \
17141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17143 "RANLIB=$${RANLIB}" \
17144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17145 maintainer-clean) \
17146 || exit 1
17149 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
17150 maybe-maintainer-clean-target-zlib:
17152 maintainer-clean-target-zlib:
17153 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
17154 r=`${PWD}`; export r; \
17155 s=`cd $(srcdir); ${PWD}`; export s; \
17156 $(SET_LIB_PATH) \
17157 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
17158 for flag in $(EXTRA_TARGET_FLAGS); do \
17159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17160 done; \
17161 (cd $(TARGET_SUBDIR)/zlib && \
17162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17164 "RANLIB=$${RANLIB}" \
17165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17166 maintainer-clean) \
17167 || exit 1
17170 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
17171 maybe-maintainer-clean-target-boehm-gc:
17173 maintainer-clean-target-boehm-gc:
17174 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
17175 r=`${PWD}`; export r; \
17176 s=`cd $(srcdir); ${PWD}`; export s; \
17177 $(SET_LIB_PATH) \
17178 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
17179 for flag in $(EXTRA_TARGET_FLAGS); do \
17180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17181 done; \
17182 (cd $(TARGET_SUBDIR)/boehm-gc && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17187 maintainer-clean) \
17188 || exit 1
17191 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
17192 maybe-maintainer-clean-target-qthreads:
17194 maintainer-clean-target-qthreads:
17195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
17196 r=`${PWD}`; export r; \
17197 s=`cd $(srcdir); ${PWD}`; export s; \
17198 $(SET_LIB_PATH) \
17199 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
17200 for flag in $(EXTRA_TARGET_FLAGS); do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 (cd $(TARGET_SUBDIR)/qthreads && \
17204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17206 "RANLIB=$${RANLIB}" \
17207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17208 maintainer-clean) \
17209 || exit 1
17212 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
17213 maybe-maintainer-clean-target-rda:
17215 maintainer-clean-target-rda:
17216 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
17217 r=`${PWD}`; export r; \
17218 s=`cd $(srcdir); ${PWD}`; export s; \
17219 $(SET_LIB_PATH) \
17220 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
17221 for flag in $(EXTRA_TARGET_FLAGS); do \
17222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17223 done; \
17224 (cd $(TARGET_SUBDIR)/rda && \
17225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17227 "RANLIB=$${RANLIB}" \
17228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17229 maintainer-clean) \
17230 || exit 1
17235 # Here are the targets which correspond to the do-X targets.
17237 .PHONY: info installcheck dvi install-info
17238 .PHONY: clean distclean mostlyclean maintainer-clean realclean
17239 .PHONY: local-clean local-distclean local-maintainer-clean
17240 info: do-info
17241 installcheck: do-installcheck
17242 dvi: do-dvi
17244 # Make sure makeinfo is built before we do a `make info', if we're
17245 # in fact building texinfo.
17246 do-info: maybe-all-texinfo
17248 install-info: do-install-info dir.info
17249 s=`cd $(srcdir); ${PWD}`; export s; \
17250 if [ -f dir.info ] ; then \
17251 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
17252 else true ; fi
17254 local-clean:
17255 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
17257 local-distclean:
17258 -rm -f Makefile config.status config.cache mh-frag mt-frag
17259 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
17260 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
17261 rm -rf $(TARGET_SUBDIR); \
17262 else true; fi
17263 -rm -rf $(BUILD_SUBDIR)
17264 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
17265 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
17266 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
17267 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
17268 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
17270 local-maintainer-clean:
17271 @echo "This command is intended for maintainers to use;"
17272 @echo "it deletes files that may require special tools to rebuild."
17274 clean: do-clean local-clean
17275 mostlyclean: do-mostlyclean local-clean
17276 distclean: do-distclean local-clean local-distclean
17277 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
17278 maintainer-clean: local-distclean
17279 realclean: maintainer-clean
17281 # Extra dependency for clean-target, owing to the mixed nature of gcc
17282 clean-target: clean-target-libgcc
17283 clean-target-libgcc:
17284 test ! -d gcc/libgcc || \
17285 (cd gcc/libgcc && find . -type d -print) | \
17286 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
17287 -rm -rf gcc/libgcc
17289 # Check target.
17291 .PHONY: check do-check
17292 check:
17293 $(MAKE) do-check
17295 # Only include modules actually being configured and built.
17296 do-check: maybe-check-gcc \
17297 maybe-check-ash \
17298 maybe-check-autoconf \
17299 maybe-check-automake \
17300 maybe-check-bash \
17301 maybe-check-bfd \
17302 maybe-check-opcodes \
17303 maybe-check-binutils \
17304 maybe-check-bison \
17305 maybe-check-byacc \
17306 maybe-check-bzip2 \
17307 maybe-check-dejagnu \
17308 maybe-check-diff \
17309 maybe-check-dosutils \
17310 maybe-check-etc \
17311 maybe-check-fastjar \
17312 maybe-check-fileutils \
17313 maybe-check-findutils \
17314 maybe-check-find \
17315 maybe-check-flex \
17316 maybe-check-gas \
17317 maybe-check-gawk \
17318 maybe-check-gettext \
17319 maybe-check-gnuserv \
17320 maybe-check-gprof \
17321 maybe-check-gzip \
17322 maybe-check-hello \
17323 maybe-check-indent \
17324 maybe-check-intl \
17325 maybe-check-tcl \
17326 maybe-check-itcl \
17327 maybe-check-ld \
17328 maybe-check-libgui \
17329 maybe-check-libiberty \
17330 maybe-check-libtool \
17331 maybe-check-m4 \
17332 maybe-check-make \
17333 maybe-check-mmalloc \
17334 maybe-check-patch \
17335 maybe-check-perl \
17336 maybe-check-prms \
17337 maybe-check-rcs \
17338 maybe-check-readline \
17339 maybe-check-release \
17340 maybe-check-recode \
17341 maybe-check-sed \
17342 maybe-check-send-pr \
17343 maybe-check-shellutils \
17344 maybe-check-sid \
17345 maybe-check-sim \
17346 maybe-check-tar \
17347 maybe-check-texinfo \
17348 maybe-check-textutils \
17349 maybe-check-time \
17350 maybe-check-uudecode \
17351 maybe-check-wdiff \
17352 maybe-check-zip \
17353 maybe-check-zlib \
17354 maybe-check-gdb \
17355 maybe-check-expect \
17356 maybe-check-guile \
17357 maybe-check-tk \
17358 maybe-check-tix \
17359 maybe-check-libtermcap \
17360 maybe-check-utils \
17361 maybe-check-target-libstdc++-v3 \
17362 maybe-check-target-newlib \
17363 maybe-check-target-libf2c \
17364 maybe-check-target-libobjc \
17365 maybe-check-target-libtermcap \
17366 maybe-check-target-winsup \
17367 maybe-check-target-libgloss \
17368 maybe-check-target-libiberty \
17369 maybe-check-target-gperf \
17370 maybe-check-target-examples \
17371 maybe-check-target-libffi \
17372 maybe-check-target-libjava \
17373 maybe-check-target-zlib \
17374 maybe-check-target-boehm-gc \
17375 maybe-check-target-qthreads \
17376 maybe-check-target-rda
17378 # Automated reporting of test results.
17380 warning.log: build.log
17381 $(srcdir)/contrib/warn_summary build.log > $@
17383 mail-report.log:
17384 if test x'$(BOOT_CFLAGS)' != x''; then \
17385 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17386 fi; \
17387 $(srcdir)/contrib/test_summary -t >$@
17388 chmod +x $@
17389 echo If you really want to send e-mail, run ./$@ now
17391 mail-report-with-warnings.log: warning.log
17392 if test x'$(BOOT_CFLAGS)' != x''; then \
17393 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17394 fi; \
17395 $(srcdir)/contrib/test_summary -t -i warning.log >$@
17396 chmod +x $@
17397 echo If you really want to send e-mail, run ./$@ now
17399 # Installation targets.
17401 .PHONY: install uninstall
17402 install: installdirs install-host install-target
17404 .PHONY: install-host-nogcc
17405 install-host-nogcc: \
17406 maybe-install-ash \
17407 maybe-install-autoconf \
17408 maybe-install-automake \
17409 maybe-install-bash \
17410 maybe-install-bfd \
17411 maybe-install-opcodes \
17412 maybe-install-binutils \
17413 maybe-install-bison \
17414 maybe-install-byacc \
17415 maybe-install-bzip2 \
17416 maybe-install-dejagnu \
17417 maybe-install-diff \
17418 maybe-install-dosutils \
17419 maybe-install-etc \
17420 maybe-install-fastjar \
17421 maybe-install-fileutils \
17422 maybe-install-findutils \
17423 maybe-install-find \
17424 maybe-install-flex \
17425 maybe-install-gas \
17426 maybe-install-gawk \
17427 maybe-install-gettext \
17428 maybe-install-gnuserv \
17429 maybe-install-gprof \
17430 maybe-install-gzip \
17431 maybe-install-hello \
17432 maybe-install-indent \
17433 maybe-install-intl \
17434 maybe-install-tcl \
17435 maybe-install-itcl \
17436 maybe-install-ld \
17437 maybe-install-libgui \
17438 maybe-install-libiberty \
17439 maybe-install-libtool \
17440 maybe-install-m4 \
17441 maybe-install-make \
17442 maybe-install-mmalloc \
17443 maybe-install-patch \
17444 maybe-install-perl \
17445 maybe-install-prms \
17446 maybe-install-rcs \
17447 maybe-install-readline \
17448 maybe-install-release \
17449 maybe-install-recode \
17450 maybe-install-sed \
17451 maybe-install-send-pr \
17452 maybe-install-shellutils \
17453 maybe-install-sid \
17454 maybe-install-sim \
17455 maybe-install-tar \
17456 maybe-install-texinfo \
17457 maybe-install-textutils \
17458 maybe-install-time \
17459 maybe-install-uudecode \
17460 maybe-install-wdiff \
17461 maybe-install-zip \
17462 maybe-install-zlib \
17463 maybe-install-gdb \
17464 maybe-install-expect \
17465 maybe-install-guile \
17466 maybe-install-tk \
17467 maybe-install-tix \
17468 maybe-install-libtermcap \
17469 maybe-install-utils
17471 .PHONY: install-host
17472 install-host: maybe-install-gcc \
17473 maybe-install-ash \
17474 maybe-install-autoconf \
17475 maybe-install-automake \
17476 maybe-install-bash \
17477 maybe-install-bfd \
17478 maybe-install-opcodes \
17479 maybe-install-binutils \
17480 maybe-install-bison \
17481 maybe-install-byacc \
17482 maybe-install-bzip2 \
17483 maybe-install-dejagnu \
17484 maybe-install-diff \
17485 maybe-install-dosutils \
17486 maybe-install-etc \
17487 maybe-install-fastjar \
17488 maybe-install-fileutils \
17489 maybe-install-findutils \
17490 maybe-install-find \
17491 maybe-install-flex \
17492 maybe-install-gas \
17493 maybe-install-gawk \
17494 maybe-install-gettext \
17495 maybe-install-gnuserv \
17496 maybe-install-gprof \
17497 maybe-install-gzip \
17498 maybe-install-hello \
17499 maybe-install-indent \
17500 maybe-install-intl \
17501 maybe-install-tcl \
17502 maybe-install-itcl \
17503 maybe-install-ld \
17504 maybe-install-libgui \
17505 maybe-install-libiberty \
17506 maybe-install-libtool \
17507 maybe-install-m4 \
17508 maybe-install-make \
17509 maybe-install-mmalloc \
17510 maybe-install-patch \
17511 maybe-install-perl \
17512 maybe-install-prms \
17513 maybe-install-rcs \
17514 maybe-install-readline \
17515 maybe-install-release \
17516 maybe-install-recode \
17517 maybe-install-sed \
17518 maybe-install-send-pr \
17519 maybe-install-shellutils \
17520 maybe-install-sid \
17521 maybe-install-sim \
17522 maybe-install-tar \
17523 maybe-install-texinfo \
17524 maybe-install-textutils \
17525 maybe-install-time \
17526 maybe-install-uudecode \
17527 maybe-install-wdiff \
17528 maybe-install-zip \
17529 maybe-install-zlib \
17530 maybe-install-gdb \
17531 maybe-install-expect \
17532 maybe-install-guile \
17533 maybe-install-tk \
17534 maybe-install-tix \
17535 maybe-install-libtermcap \
17536 maybe-install-utils
17538 .PHONY: install-target
17539 install-target: \
17540 maybe-install-target-libstdc++-v3 \
17541 maybe-install-target-newlib \
17542 maybe-install-target-libf2c \
17543 maybe-install-target-libobjc \
17544 maybe-install-target-libtermcap \
17545 maybe-install-target-winsup \
17546 maybe-install-target-libgloss \
17547 maybe-install-target-libiberty \
17548 maybe-install-target-gperf \
17549 maybe-install-target-examples \
17550 maybe-install-target-libffi \
17551 maybe-install-target-libjava \
17552 maybe-install-target-zlib \
17553 maybe-install-target-boehm-gc \
17554 maybe-install-target-qthreads \
17555 maybe-install-target-rda
17557 uninstall:
17558 @echo "the uninstall target is not supported in this tree"
17560 .PHONY: install.all
17561 install.all: install-no-fixedincludes
17562 @if [ -f ./gcc/Makefile ] ; then \
17563 r=`${PWD}` ; export r ; \
17564 $(SET_LIB_PATH) \
17565 (cd ./gcc && \
17566 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
17567 else \
17568 true ; \
17571 # install-no-fixedincludes is used because Cygnus can not distribute
17572 # the fixed header files.
17573 .PHONY: install-no-fixedincludes
17574 install-no-fixedincludes: installdirs install-host-nogcc \
17575 install-target gcc-no-fixedincludes
17577 ### other supporting targets
17579 MAKEDIRS= \
17580 $(DESTDIR)$(prefix) \
17581 $(DESTDIR)$(exec_prefix)
17582 .PHONY: installdirs
17583 installdirs: mkinstalldirs
17584 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
17586 dir.info: do-install-info
17587 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
17588 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
17589 mv -f dir.info.new dir.info ; \
17590 else true ; \
17593 dist:
17594 @echo "Building a full distribution of this tree isn't done"
17595 @echo "via 'make dist'. Check out the etc/ subdirectory"
17597 etags tags: TAGS
17599 # Right now this just builds TAGS in each subdirectory. emacs19 has the
17600 # ability to use several tags files at once, so there is probably no need
17601 # to combine them into one big TAGS file (like CVS 1.3 does). We could
17602 # (if we felt like it) have this Makefile write a piece of elisp which
17603 # the user could load to tell emacs19 where all the TAGS files we just
17604 # built are.
17605 TAGS: do-TAGS
17607 # --------------------------------------
17608 # Modules which run on the build machine
17609 # --------------------------------------
17611 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
17612 maybe-configure-build-libiberty:
17613 configure-build-libiberty:
17614 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
17615 [ -d $(BUILD_SUBDIR)/libiberty ] || \
17616 mkdir $(BUILD_SUBDIR)/libiberty;\
17617 r=`${PWD}`; export r; \
17618 s=`cd $(srcdir); ${PWD}`; export s; \
17619 AR="$(AR_FOR_BUILD)"; export AR; \
17620 AS="$(AS_FOR_BUILD)"; export AS; \
17621 CC="$(CC_FOR_BUILD)"; export CC; \
17622 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17623 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17624 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17625 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17626 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17627 LD="$(LD_FOR_BUILD)"; export LD; \
17628 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17629 NM="$(NM_FOR_BUILD)"; export NM; \
17630 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17631 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17632 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
17633 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
17634 case $(srcdir) in \
17635 /* | [A-Za-z]:[\\/]*) \
17636 topdir=$(srcdir) ;; \
17637 *) \
17638 case "$(BUILD_SUBDIR)" in \
17639 .) topdir="../$(srcdir)" ;; \
17640 *) topdir="../../$(srcdir)" ;; \
17641 esac ;; \
17642 esac; \
17643 if [ "$(srcdir)" = "." ] ; then \
17644 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17645 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
17646 if [ -f Makefile ]; then \
17647 if $(MAKE) distclean; then \
17648 true; \
17649 else \
17650 exit 1; \
17651 fi; \
17652 else \
17653 true; \
17654 fi; \
17655 else \
17656 exit 1; \
17657 fi; \
17658 else \
17659 true; \
17660 fi; \
17661 srcdiroption="--srcdir=."; \
17662 libsrcdir="."; \
17663 else \
17664 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17665 libsrcdir="$$s/libiberty"; \
17666 fi; \
17667 rm -f no-such-file || : ; \
17668 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17669 $(BUILD_CONFIGARGS) $${srcdiroption} \
17670 --with-build-subdir="$(BUILD_SUBDIR)" \
17671 || exit 1
17673 .PHONY: all-build-libiberty maybe-all-build-libiberty
17674 maybe-all-build-libiberty:
17675 all-build-libiberty: configure-build-libiberty
17676 @r=`${PWD}`; export r; \
17677 s=`cd $(srcdir); ${PWD}`; export s; \
17678 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
17681 # --------------------------------------
17682 # Modules which run on the host machine
17683 # --------------------------------------
17685 .PHONY: configure-ash maybe-configure-ash
17686 maybe-configure-ash:
17687 configure-ash:
17688 @test ! -f ash/Makefile || exit 0; \
17689 [ -d ash ] || mkdir ash; \
17690 r=`${PWD}`; export r; \
17691 s=`cd $(srcdir); ${PWD}`; export s; \
17692 CC="$(CC)"; export CC; \
17693 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17694 CXX="$(CXX)"; export CXX; \
17695 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17696 AR="$(AR)"; export AR; \
17697 AS="$(AS)"; export AS; \
17698 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17699 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17700 LD="$(LD)"; export LD; \
17701 NM="$(NM)"; export NM; \
17702 RANLIB="$(RANLIB)"; export RANLIB; \
17703 WINDRES="$(WINDRES)"; export WINDRES; \
17704 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17705 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17706 echo Configuring in ash; \
17707 cd ash || exit 1; \
17708 case $(srcdir) in \
17709 \.) \
17710 srcdiroption="--srcdir=."; \
17711 libsrcdir=".";; \
17712 /* | [A-Za-z]:[\\/]*) \
17713 srcdiroption="--srcdir=$(srcdir)/ash"; \
17714 libsrcdir="$$s/ash";; \
17715 *) \
17716 srcdiroption="--srcdir=../$(srcdir)/ash"; \
17717 libsrcdir="$$s/ash";; \
17718 esac; \
17719 $(SHELL) $${libsrcdir}/configure \
17720 $(HOST_CONFIGARGS) $${srcdiroption} \
17721 || exit 1
17723 .PHONY: all-ash maybe-all-ash
17724 maybe-all-ash:
17725 all-ash: configure-ash
17726 @r=`${PWD}`; export r; \
17727 s=`cd $(srcdir); ${PWD}`; export s; \
17728 $(SET_LIB_PATH) \
17729 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
17731 .PHONY: check-ash maybe-check-ash
17732 maybe-check-ash:
17734 check-ash:
17735 @r=`${PWD}`; export r; \
17736 s=`cd $(srcdir); ${PWD}`; export s; \
17737 $(SET_LIB_PATH) \
17738 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
17741 .PHONY: install-ash maybe-install-ash
17742 maybe-install-ash:
17744 install-ash: installdirs
17745 @r=`${PWD}`; export r; \
17746 s=`cd $(srcdir); ${PWD}`; export s; \
17747 $(SET_LIB_PATH) \
17748 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
17751 .PHONY: configure-autoconf maybe-configure-autoconf
17752 maybe-configure-autoconf:
17753 configure-autoconf:
17754 @test ! -f autoconf/Makefile || exit 0; \
17755 [ -d autoconf ] || mkdir autoconf; \
17756 r=`${PWD}`; export r; \
17757 s=`cd $(srcdir); ${PWD}`; export s; \
17758 CC="$(CC)"; export CC; \
17759 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17760 CXX="$(CXX)"; export CXX; \
17761 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17762 AR="$(AR)"; export AR; \
17763 AS="$(AS)"; export AS; \
17764 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17765 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17766 LD="$(LD)"; export LD; \
17767 NM="$(NM)"; export NM; \
17768 RANLIB="$(RANLIB)"; export RANLIB; \
17769 WINDRES="$(WINDRES)"; export WINDRES; \
17770 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17771 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17772 echo Configuring in autoconf; \
17773 cd autoconf || exit 1; \
17774 case $(srcdir) in \
17775 \.) \
17776 srcdiroption="--srcdir=."; \
17777 libsrcdir=".";; \
17778 /* | [A-Za-z]:[\\/]*) \
17779 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
17780 libsrcdir="$$s/autoconf";; \
17781 *) \
17782 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
17783 libsrcdir="$$s/autoconf";; \
17784 esac; \
17785 $(SHELL) $${libsrcdir}/configure \
17786 $(HOST_CONFIGARGS) $${srcdiroption} \
17787 || exit 1
17789 .PHONY: all-autoconf maybe-all-autoconf
17790 maybe-all-autoconf:
17791 all-autoconf: configure-autoconf
17792 @r=`${PWD}`; export r; \
17793 s=`cd $(srcdir); ${PWD}`; export s; \
17794 $(SET_LIB_PATH) \
17795 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
17797 .PHONY: check-autoconf maybe-check-autoconf
17798 maybe-check-autoconf:
17800 check-autoconf:
17801 @r=`${PWD}`; export r; \
17802 s=`cd $(srcdir); ${PWD}`; export s; \
17803 $(SET_LIB_PATH) \
17804 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
17807 .PHONY: install-autoconf maybe-install-autoconf
17808 maybe-install-autoconf:
17810 install-autoconf: installdirs
17811 @r=`${PWD}`; export r; \
17812 s=`cd $(srcdir); ${PWD}`; export s; \
17813 $(SET_LIB_PATH) \
17814 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
17817 .PHONY: configure-automake maybe-configure-automake
17818 maybe-configure-automake:
17819 configure-automake:
17820 @test ! -f automake/Makefile || exit 0; \
17821 [ -d automake ] || mkdir automake; \
17822 r=`${PWD}`; export r; \
17823 s=`cd $(srcdir); ${PWD}`; export s; \
17824 CC="$(CC)"; export CC; \
17825 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17826 CXX="$(CXX)"; export CXX; \
17827 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17828 AR="$(AR)"; export AR; \
17829 AS="$(AS)"; export AS; \
17830 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17831 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17832 LD="$(LD)"; export LD; \
17833 NM="$(NM)"; export NM; \
17834 RANLIB="$(RANLIB)"; export RANLIB; \
17835 WINDRES="$(WINDRES)"; export WINDRES; \
17836 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17837 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17838 echo Configuring in automake; \
17839 cd automake || exit 1; \
17840 case $(srcdir) in \
17841 \.) \
17842 srcdiroption="--srcdir=."; \
17843 libsrcdir=".";; \
17844 /* | [A-Za-z]:[\\/]*) \
17845 srcdiroption="--srcdir=$(srcdir)/automake"; \
17846 libsrcdir="$$s/automake";; \
17847 *) \
17848 srcdiroption="--srcdir=../$(srcdir)/automake"; \
17849 libsrcdir="$$s/automake";; \
17850 esac; \
17851 $(SHELL) $${libsrcdir}/configure \
17852 $(HOST_CONFIGARGS) $${srcdiroption} \
17853 || exit 1
17855 .PHONY: all-automake maybe-all-automake
17856 maybe-all-automake:
17857 all-automake: configure-automake
17858 @r=`${PWD}`; export r; \
17859 s=`cd $(srcdir); ${PWD}`; export s; \
17860 $(SET_LIB_PATH) \
17861 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
17863 .PHONY: check-automake maybe-check-automake
17864 maybe-check-automake:
17866 check-automake:
17867 @r=`${PWD}`; export r; \
17868 s=`cd $(srcdir); ${PWD}`; export s; \
17869 $(SET_LIB_PATH) \
17870 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
17873 .PHONY: install-automake maybe-install-automake
17874 maybe-install-automake:
17876 install-automake: installdirs
17877 @r=`${PWD}`; export r; \
17878 s=`cd $(srcdir); ${PWD}`; export s; \
17879 $(SET_LIB_PATH) \
17880 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
17883 .PHONY: configure-bash maybe-configure-bash
17884 maybe-configure-bash:
17885 configure-bash:
17886 @test ! -f bash/Makefile || exit 0; \
17887 [ -d bash ] || mkdir bash; \
17888 r=`${PWD}`; export r; \
17889 s=`cd $(srcdir); ${PWD}`; export s; \
17890 CC="$(CC)"; export CC; \
17891 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17892 CXX="$(CXX)"; export CXX; \
17893 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17894 AR="$(AR)"; export AR; \
17895 AS="$(AS)"; export AS; \
17896 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17897 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17898 LD="$(LD)"; export LD; \
17899 NM="$(NM)"; export NM; \
17900 RANLIB="$(RANLIB)"; export RANLIB; \
17901 WINDRES="$(WINDRES)"; export WINDRES; \
17902 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17903 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17904 echo Configuring in bash; \
17905 cd bash || exit 1; \
17906 case $(srcdir) in \
17907 \.) \
17908 srcdiroption="--srcdir=."; \
17909 libsrcdir=".";; \
17910 /* | [A-Za-z]:[\\/]*) \
17911 srcdiroption="--srcdir=$(srcdir)/bash"; \
17912 libsrcdir="$$s/bash";; \
17913 *) \
17914 srcdiroption="--srcdir=../$(srcdir)/bash"; \
17915 libsrcdir="$$s/bash";; \
17916 esac; \
17917 $(SHELL) $${libsrcdir}/configure \
17918 $(HOST_CONFIGARGS) $${srcdiroption} \
17919 || exit 1
17921 .PHONY: all-bash maybe-all-bash
17922 maybe-all-bash:
17923 all-bash: configure-bash
17924 @r=`${PWD}`; export r; \
17925 s=`cd $(srcdir); ${PWD}`; export s; \
17926 $(SET_LIB_PATH) \
17927 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
17929 .PHONY: check-bash maybe-check-bash
17930 maybe-check-bash:
17932 check-bash:
17933 @r=`${PWD}`; export r; \
17934 s=`cd $(srcdir); ${PWD}`; export s; \
17935 $(SET_LIB_PATH) \
17936 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
17939 .PHONY: install-bash maybe-install-bash
17940 maybe-install-bash:
17942 install-bash: installdirs
17943 @r=`${PWD}`; export r; \
17944 s=`cd $(srcdir); ${PWD}`; export s; \
17945 $(SET_LIB_PATH) \
17946 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
17949 .PHONY: configure-bfd maybe-configure-bfd
17950 maybe-configure-bfd:
17951 configure-bfd:
17952 @test ! -f bfd/Makefile || exit 0; \
17953 [ -d bfd ] || mkdir bfd; \
17954 r=`${PWD}`; export r; \
17955 s=`cd $(srcdir); ${PWD}`; export s; \
17956 CC="$(CC)"; export CC; \
17957 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17958 CXX="$(CXX)"; export CXX; \
17959 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17960 AR="$(AR)"; export AR; \
17961 AS="$(AS)"; export AS; \
17962 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17963 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17964 LD="$(LD)"; export LD; \
17965 NM="$(NM)"; export NM; \
17966 RANLIB="$(RANLIB)"; export RANLIB; \
17967 WINDRES="$(WINDRES)"; export WINDRES; \
17968 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17969 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17970 echo Configuring in bfd; \
17971 cd bfd || exit 1; \
17972 case $(srcdir) in \
17973 \.) \
17974 srcdiroption="--srcdir=."; \
17975 libsrcdir=".";; \
17976 /* | [A-Za-z]:[\\/]*) \
17977 srcdiroption="--srcdir=$(srcdir)/bfd"; \
17978 libsrcdir="$$s/bfd";; \
17979 *) \
17980 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
17981 libsrcdir="$$s/bfd";; \
17982 esac; \
17983 $(SHELL) $${libsrcdir}/configure \
17984 $(HOST_CONFIGARGS) $${srcdiroption} \
17985 || exit 1
17987 .PHONY: all-bfd maybe-all-bfd
17988 maybe-all-bfd:
17989 all-bfd: configure-bfd
17990 @r=`${PWD}`; export r; \
17991 s=`cd $(srcdir); ${PWD}`; export s; \
17992 $(SET_LIB_PATH) \
17993 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
17995 .PHONY: check-bfd maybe-check-bfd
17996 maybe-check-bfd:
17998 check-bfd:
17999 @r=`${PWD}`; export r; \
18000 s=`cd $(srcdir); ${PWD}`; export s; \
18001 $(SET_LIB_PATH) \
18002 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
18005 .PHONY: install-bfd maybe-install-bfd
18006 maybe-install-bfd:
18008 install-bfd: installdirs
18009 @r=`${PWD}`; export r; \
18010 s=`cd $(srcdir); ${PWD}`; export s; \
18011 $(SET_LIB_PATH) \
18012 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
18015 .PHONY: configure-opcodes maybe-configure-opcodes
18016 maybe-configure-opcodes:
18017 configure-opcodes:
18018 @test ! -f opcodes/Makefile || exit 0; \
18019 [ -d opcodes ] || mkdir opcodes; \
18020 r=`${PWD}`; export r; \
18021 s=`cd $(srcdir); ${PWD}`; export s; \
18022 CC="$(CC)"; export CC; \
18023 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18024 CXX="$(CXX)"; export CXX; \
18025 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18026 AR="$(AR)"; export AR; \
18027 AS="$(AS)"; export AS; \
18028 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18029 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18030 LD="$(LD)"; export LD; \
18031 NM="$(NM)"; export NM; \
18032 RANLIB="$(RANLIB)"; export RANLIB; \
18033 WINDRES="$(WINDRES)"; export WINDRES; \
18034 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18035 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18036 echo Configuring in opcodes; \
18037 cd opcodes || exit 1; \
18038 case $(srcdir) in \
18039 \.) \
18040 srcdiroption="--srcdir=."; \
18041 libsrcdir=".";; \
18042 /* | [A-Za-z]:[\\/]*) \
18043 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
18044 libsrcdir="$$s/opcodes";; \
18045 *) \
18046 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
18047 libsrcdir="$$s/opcodes";; \
18048 esac; \
18049 $(SHELL) $${libsrcdir}/configure \
18050 $(HOST_CONFIGARGS) $${srcdiroption} \
18051 || exit 1
18053 .PHONY: all-opcodes maybe-all-opcodes
18054 maybe-all-opcodes:
18055 all-opcodes: configure-opcodes
18056 @r=`${PWD}`; export r; \
18057 s=`cd $(srcdir); ${PWD}`; export s; \
18058 $(SET_LIB_PATH) \
18059 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
18061 .PHONY: check-opcodes maybe-check-opcodes
18062 maybe-check-opcodes:
18064 check-opcodes:
18065 @r=`${PWD}`; export r; \
18066 s=`cd $(srcdir); ${PWD}`; export s; \
18067 $(SET_LIB_PATH) \
18068 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
18071 .PHONY: install-opcodes maybe-install-opcodes
18072 maybe-install-opcodes:
18074 install-opcodes: installdirs
18075 @r=`${PWD}`; export r; \
18076 s=`cd $(srcdir); ${PWD}`; export s; \
18077 $(SET_LIB_PATH) \
18078 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
18081 .PHONY: configure-binutils maybe-configure-binutils
18082 maybe-configure-binutils:
18083 configure-binutils:
18084 @test ! -f binutils/Makefile || exit 0; \
18085 [ -d binutils ] || mkdir binutils; \
18086 r=`${PWD}`; export r; \
18087 s=`cd $(srcdir); ${PWD}`; export s; \
18088 CC="$(CC)"; export CC; \
18089 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18090 CXX="$(CXX)"; export CXX; \
18091 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18092 AR="$(AR)"; export AR; \
18093 AS="$(AS)"; export AS; \
18094 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18095 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18096 LD="$(LD)"; export LD; \
18097 NM="$(NM)"; export NM; \
18098 RANLIB="$(RANLIB)"; export RANLIB; \
18099 WINDRES="$(WINDRES)"; export WINDRES; \
18100 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18101 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18102 echo Configuring in binutils; \
18103 cd binutils || exit 1; \
18104 case $(srcdir) in \
18105 \.) \
18106 srcdiroption="--srcdir=."; \
18107 libsrcdir=".";; \
18108 /* | [A-Za-z]:[\\/]*) \
18109 srcdiroption="--srcdir=$(srcdir)/binutils"; \
18110 libsrcdir="$$s/binutils";; \
18111 *) \
18112 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
18113 libsrcdir="$$s/binutils";; \
18114 esac; \
18115 $(SHELL) $${libsrcdir}/configure \
18116 $(HOST_CONFIGARGS) $${srcdiroption} \
18117 || exit 1
18119 .PHONY: all-binutils maybe-all-binutils
18120 maybe-all-binutils:
18121 all-binutils: configure-binutils
18122 @r=`${PWD}`; export r; \
18123 s=`cd $(srcdir); ${PWD}`; export s; \
18124 $(SET_LIB_PATH) \
18125 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
18127 .PHONY: check-binutils maybe-check-binutils
18128 maybe-check-binutils:
18130 check-binutils:
18131 @r=`${PWD}`; export r; \
18132 s=`cd $(srcdir); ${PWD}`; export s; \
18133 $(SET_LIB_PATH) \
18134 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
18137 .PHONY: install-binutils maybe-install-binutils
18138 maybe-install-binutils:
18140 install-binutils: installdirs
18141 @r=`${PWD}`; export r; \
18142 s=`cd $(srcdir); ${PWD}`; export s; \
18143 $(SET_LIB_PATH) \
18144 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
18147 .PHONY: configure-bison maybe-configure-bison
18148 maybe-configure-bison:
18149 configure-bison:
18150 @test ! -f bison/Makefile || exit 0; \
18151 [ -d bison ] || mkdir bison; \
18152 r=`${PWD}`; export r; \
18153 s=`cd $(srcdir); ${PWD}`; export s; \
18154 CC="$(CC)"; export CC; \
18155 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18156 CXX="$(CXX)"; export CXX; \
18157 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18158 AR="$(AR)"; export AR; \
18159 AS="$(AS)"; export AS; \
18160 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18161 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18162 LD="$(LD)"; export LD; \
18163 NM="$(NM)"; export NM; \
18164 RANLIB="$(RANLIB)"; export RANLIB; \
18165 WINDRES="$(WINDRES)"; export WINDRES; \
18166 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18167 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18168 echo Configuring in bison; \
18169 cd bison || exit 1; \
18170 case $(srcdir) in \
18171 \.) \
18172 srcdiroption="--srcdir=."; \
18173 libsrcdir=".";; \
18174 /* | [A-Za-z]:[\\/]*) \
18175 srcdiroption="--srcdir=$(srcdir)/bison"; \
18176 libsrcdir="$$s/bison";; \
18177 *) \
18178 srcdiroption="--srcdir=../$(srcdir)/bison"; \
18179 libsrcdir="$$s/bison";; \
18180 esac; \
18181 $(SHELL) $${libsrcdir}/configure \
18182 $(HOST_CONFIGARGS) $${srcdiroption} \
18183 || exit 1
18185 .PHONY: all-bison maybe-all-bison
18186 maybe-all-bison:
18187 all-bison: configure-bison
18188 @r=`${PWD}`; export r; \
18189 s=`cd $(srcdir); ${PWD}`; export s; \
18190 $(SET_LIB_PATH) \
18191 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
18193 .PHONY: check-bison maybe-check-bison
18194 maybe-check-bison:
18196 # This module is only tested in a native toolchain.
18197 check-bison:
18198 @if [ '$(host)' = '$(target)' ] ; then \
18199 r=`${PWD}`; export r; \
18200 s=`cd $(srcdir); ${PWD}`; export s; \
18201 $(SET_LIB_PATH) \
18202 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
18206 .PHONY: install-bison maybe-install-bison
18207 maybe-install-bison:
18209 install-bison: installdirs
18210 @r=`${PWD}`; export r; \
18211 s=`cd $(srcdir); ${PWD}`; export s; \
18212 $(SET_LIB_PATH) \
18213 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
18216 .PHONY: configure-byacc maybe-configure-byacc
18217 maybe-configure-byacc:
18218 configure-byacc:
18219 @test ! -f byacc/Makefile || exit 0; \
18220 [ -d byacc ] || mkdir byacc; \
18221 r=`${PWD}`; export r; \
18222 s=`cd $(srcdir); ${PWD}`; export s; \
18223 CC="$(CC)"; export CC; \
18224 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18225 CXX="$(CXX)"; export CXX; \
18226 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18227 AR="$(AR)"; export AR; \
18228 AS="$(AS)"; export AS; \
18229 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18230 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18231 LD="$(LD)"; export LD; \
18232 NM="$(NM)"; export NM; \
18233 RANLIB="$(RANLIB)"; export RANLIB; \
18234 WINDRES="$(WINDRES)"; export WINDRES; \
18235 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18236 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18237 echo Configuring in byacc; \
18238 cd byacc || exit 1; \
18239 case $(srcdir) in \
18240 \.) \
18241 srcdiroption="--srcdir=."; \
18242 libsrcdir=".";; \
18243 /* | [A-Za-z]:[\\/]*) \
18244 srcdiroption="--srcdir=$(srcdir)/byacc"; \
18245 libsrcdir="$$s/byacc";; \
18246 *) \
18247 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
18248 libsrcdir="$$s/byacc";; \
18249 esac; \
18250 $(SHELL) $${libsrcdir}/configure \
18251 $(HOST_CONFIGARGS) $${srcdiroption} \
18252 || exit 1
18254 .PHONY: all-byacc maybe-all-byacc
18255 maybe-all-byacc:
18256 all-byacc: configure-byacc
18257 @r=`${PWD}`; export r; \
18258 s=`cd $(srcdir); ${PWD}`; export s; \
18259 $(SET_LIB_PATH) \
18260 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
18262 .PHONY: check-byacc maybe-check-byacc
18263 maybe-check-byacc:
18265 # This module is only tested in a native toolchain.
18266 check-byacc:
18267 @if [ '$(host)' = '$(target)' ] ; then \
18268 r=`${PWD}`; export r; \
18269 s=`cd $(srcdir); ${PWD}`; export s; \
18270 $(SET_LIB_PATH) \
18271 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
18275 .PHONY: install-byacc maybe-install-byacc
18276 maybe-install-byacc:
18278 install-byacc: installdirs
18279 @r=`${PWD}`; export r; \
18280 s=`cd $(srcdir); ${PWD}`; export s; \
18281 $(SET_LIB_PATH) \
18282 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
18285 .PHONY: configure-bzip2 maybe-configure-bzip2
18286 maybe-configure-bzip2:
18287 configure-bzip2:
18288 @test ! -f bzip2/Makefile || exit 0; \
18289 [ -d bzip2 ] || mkdir bzip2; \
18290 r=`${PWD}`; export r; \
18291 s=`cd $(srcdir); ${PWD}`; export s; \
18292 CC="$(CC)"; export CC; \
18293 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18294 CXX="$(CXX)"; export CXX; \
18295 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18296 AR="$(AR)"; export AR; \
18297 AS="$(AS)"; export AS; \
18298 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18299 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18300 LD="$(LD)"; export LD; \
18301 NM="$(NM)"; export NM; \
18302 RANLIB="$(RANLIB)"; export RANLIB; \
18303 WINDRES="$(WINDRES)"; export WINDRES; \
18304 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18305 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18306 echo Configuring in bzip2; \
18307 cd bzip2 || exit 1; \
18308 case $(srcdir) in \
18309 \.) \
18310 srcdiroption="--srcdir=."; \
18311 libsrcdir=".";; \
18312 /* | [A-Za-z]:[\\/]*) \
18313 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
18314 libsrcdir="$$s/bzip2";; \
18315 *) \
18316 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
18317 libsrcdir="$$s/bzip2";; \
18318 esac; \
18319 $(SHELL) $${libsrcdir}/configure \
18320 $(HOST_CONFIGARGS) $${srcdiroption} \
18321 || exit 1
18323 .PHONY: all-bzip2 maybe-all-bzip2
18324 maybe-all-bzip2:
18325 all-bzip2: configure-bzip2
18326 @r=`${PWD}`; export r; \
18327 s=`cd $(srcdir); ${PWD}`; export s; \
18328 $(SET_LIB_PATH) \
18329 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
18331 .PHONY: check-bzip2 maybe-check-bzip2
18332 maybe-check-bzip2:
18334 check-bzip2:
18335 @r=`${PWD}`; export r; \
18336 s=`cd $(srcdir); ${PWD}`; export s; \
18337 $(SET_LIB_PATH) \
18338 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
18341 .PHONY: install-bzip2 maybe-install-bzip2
18342 maybe-install-bzip2:
18344 install-bzip2: installdirs
18345 @r=`${PWD}`; export r; \
18346 s=`cd $(srcdir); ${PWD}`; export s; \
18347 $(SET_LIB_PATH) \
18348 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
18351 .PHONY: configure-dejagnu maybe-configure-dejagnu
18352 maybe-configure-dejagnu:
18353 configure-dejagnu:
18354 @test ! -f dejagnu/Makefile || exit 0; \
18355 [ -d dejagnu ] || mkdir dejagnu; \
18356 r=`${PWD}`; export r; \
18357 s=`cd $(srcdir); ${PWD}`; export s; \
18358 CC="$(CC)"; export CC; \
18359 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18360 CXX="$(CXX)"; export CXX; \
18361 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18362 AR="$(AR)"; export AR; \
18363 AS="$(AS)"; export AS; \
18364 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18365 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18366 LD="$(LD)"; export LD; \
18367 NM="$(NM)"; export NM; \
18368 RANLIB="$(RANLIB)"; export RANLIB; \
18369 WINDRES="$(WINDRES)"; export WINDRES; \
18370 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18371 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18372 echo Configuring in dejagnu; \
18373 cd dejagnu || exit 1; \
18374 case $(srcdir) in \
18375 \.) \
18376 srcdiroption="--srcdir=."; \
18377 libsrcdir=".";; \
18378 /* | [A-Za-z]:[\\/]*) \
18379 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
18380 libsrcdir="$$s/dejagnu";; \
18381 *) \
18382 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
18383 libsrcdir="$$s/dejagnu";; \
18384 esac; \
18385 $(SHELL) $${libsrcdir}/configure \
18386 $(HOST_CONFIGARGS) $${srcdiroption} \
18387 || exit 1
18389 .PHONY: all-dejagnu maybe-all-dejagnu
18390 maybe-all-dejagnu:
18391 all-dejagnu: configure-dejagnu
18392 @r=`${PWD}`; export r; \
18393 s=`cd $(srcdir); ${PWD}`; export s; \
18394 $(SET_LIB_PATH) \
18395 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
18397 .PHONY: check-dejagnu maybe-check-dejagnu
18398 maybe-check-dejagnu:
18400 check-dejagnu:
18401 @r=`${PWD}`; export r; \
18402 s=`cd $(srcdir); ${PWD}`; export s; \
18403 $(SET_LIB_PATH) \
18404 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
18407 .PHONY: install-dejagnu maybe-install-dejagnu
18408 maybe-install-dejagnu:
18410 install-dejagnu: installdirs
18411 @r=`${PWD}`; export r; \
18412 s=`cd $(srcdir); ${PWD}`; export s; \
18413 $(SET_LIB_PATH) \
18414 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
18417 .PHONY: configure-diff maybe-configure-diff
18418 maybe-configure-diff:
18419 configure-diff:
18420 @test ! -f diff/Makefile || exit 0; \
18421 [ -d diff ] || mkdir diff; \
18422 r=`${PWD}`; export r; \
18423 s=`cd $(srcdir); ${PWD}`; export s; \
18424 CC="$(CC)"; export CC; \
18425 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18426 CXX="$(CXX)"; export CXX; \
18427 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18428 AR="$(AR)"; export AR; \
18429 AS="$(AS)"; export AS; \
18430 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18431 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18432 LD="$(LD)"; export LD; \
18433 NM="$(NM)"; export NM; \
18434 RANLIB="$(RANLIB)"; export RANLIB; \
18435 WINDRES="$(WINDRES)"; export WINDRES; \
18436 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18437 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18438 echo Configuring in diff; \
18439 cd diff || exit 1; \
18440 case $(srcdir) in \
18441 \.) \
18442 srcdiroption="--srcdir=."; \
18443 libsrcdir=".";; \
18444 /* | [A-Za-z]:[\\/]*) \
18445 srcdiroption="--srcdir=$(srcdir)/diff"; \
18446 libsrcdir="$$s/diff";; \
18447 *) \
18448 srcdiroption="--srcdir=../$(srcdir)/diff"; \
18449 libsrcdir="$$s/diff";; \
18450 esac; \
18451 $(SHELL) $${libsrcdir}/configure \
18452 $(HOST_CONFIGARGS) $${srcdiroption} \
18453 || exit 1
18455 .PHONY: all-diff maybe-all-diff
18456 maybe-all-diff:
18457 all-diff: configure-diff
18458 @r=`${PWD}`; export r; \
18459 s=`cd $(srcdir); ${PWD}`; export s; \
18460 $(SET_LIB_PATH) \
18461 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
18463 .PHONY: check-diff maybe-check-diff
18464 maybe-check-diff:
18466 check-diff:
18467 @r=`${PWD}`; export r; \
18468 s=`cd $(srcdir); ${PWD}`; export s; \
18469 $(SET_LIB_PATH) \
18470 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
18473 .PHONY: install-diff maybe-install-diff
18474 maybe-install-diff:
18476 install-diff: installdirs
18477 @r=`${PWD}`; export r; \
18478 s=`cd $(srcdir); ${PWD}`; export s; \
18479 $(SET_LIB_PATH) \
18480 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
18483 .PHONY: configure-dosutils maybe-configure-dosutils
18484 maybe-configure-dosutils:
18485 configure-dosutils:
18486 @test ! -f dosutils/Makefile || exit 0; \
18487 [ -d dosutils ] || mkdir dosutils; \
18488 r=`${PWD}`; export r; \
18489 s=`cd $(srcdir); ${PWD}`; export s; \
18490 CC="$(CC)"; export CC; \
18491 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18492 CXX="$(CXX)"; export CXX; \
18493 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18494 AR="$(AR)"; export AR; \
18495 AS="$(AS)"; export AS; \
18496 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18497 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18498 LD="$(LD)"; export LD; \
18499 NM="$(NM)"; export NM; \
18500 RANLIB="$(RANLIB)"; export RANLIB; \
18501 WINDRES="$(WINDRES)"; export WINDRES; \
18502 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18503 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18504 echo Configuring in dosutils; \
18505 cd dosutils || exit 1; \
18506 case $(srcdir) in \
18507 \.) \
18508 srcdiroption="--srcdir=."; \
18509 libsrcdir=".";; \
18510 /* | [A-Za-z]:[\\/]*) \
18511 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
18512 libsrcdir="$$s/dosutils";; \
18513 *) \
18514 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
18515 libsrcdir="$$s/dosutils";; \
18516 esac; \
18517 $(SHELL) $${libsrcdir}/configure \
18518 $(HOST_CONFIGARGS) $${srcdiroption} \
18519 || exit 1
18521 .PHONY: all-dosutils maybe-all-dosutils
18522 maybe-all-dosutils:
18523 all-dosutils: configure-dosutils
18524 @r=`${PWD}`; export r; \
18525 s=`cd $(srcdir); ${PWD}`; export s; \
18526 $(SET_LIB_PATH) \
18527 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
18529 .PHONY: check-dosutils maybe-check-dosutils
18530 maybe-check-dosutils:
18532 check-dosutils:
18535 .PHONY: install-dosutils maybe-install-dosutils
18536 maybe-install-dosutils:
18538 install-dosutils: installdirs
18539 @r=`${PWD}`; export r; \
18540 s=`cd $(srcdir); ${PWD}`; export s; \
18541 $(SET_LIB_PATH) \
18542 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
18545 .PHONY: configure-etc maybe-configure-etc
18546 maybe-configure-etc:
18547 configure-etc:
18548 @test ! -f etc/Makefile || exit 0; \
18549 [ -d etc ] || mkdir etc; \
18550 r=`${PWD}`; export r; \
18551 s=`cd $(srcdir); ${PWD}`; export s; \
18552 CC="$(CC)"; export CC; \
18553 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18554 CXX="$(CXX)"; export CXX; \
18555 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18556 AR="$(AR)"; export AR; \
18557 AS="$(AS)"; export AS; \
18558 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18559 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18560 LD="$(LD)"; export LD; \
18561 NM="$(NM)"; export NM; \
18562 RANLIB="$(RANLIB)"; export RANLIB; \
18563 WINDRES="$(WINDRES)"; export WINDRES; \
18564 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18565 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18566 echo Configuring in etc; \
18567 cd etc || exit 1; \
18568 case $(srcdir) in \
18569 \.) \
18570 srcdiroption="--srcdir=."; \
18571 libsrcdir=".";; \
18572 /* | [A-Za-z]:[\\/]*) \
18573 srcdiroption="--srcdir=$(srcdir)/etc"; \
18574 libsrcdir="$$s/etc";; \
18575 *) \
18576 srcdiroption="--srcdir=../$(srcdir)/etc"; \
18577 libsrcdir="$$s/etc";; \
18578 esac; \
18579 $(SHELL) $${libsrcdir}/configure \
18580 $(HOST_CONFIGARGS) $${srcdiroption} \
18581 || exit 1
18583 .PHONY: all-etc maybe-all-etc
18584 maybe-all-etc:
18585 all-etc: configure-etc
18586 @r=`${PWD}`; export r; \
18587 s=`cd $(srcdir); ${PWD}`; export s; \
18588 $(SET_LIB_PATH) \
18589 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
18591 .PHONY: check-etc maybe-check-etc
18592 maybe-check-etc:
18594 check-etc:
18595 @r=`${PWD}`; export r; \
18596 s=`cd $(srcdir); ${PWD}`; export s; \
18597 $(SET_LIB_PATH) \
18598 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
18601 .PHONY: install-etc maybe-install-etc
18602 maybe-install-etc:
18604 install-etc: installdirs
18605 @r=`${PWD}`; export r; \
18606 s=`cd $(srcdir); ${PWD}`; export s; \
18607 $(SET_LIB_PATH) \
18608 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
18611 .PHONY: configure-fastjar maybe-configure-fastjar
18612 maybe-configure-fastjar:
18613 configure-fastjar:
18614 @test ! -f fastjar/Makefile || exit 0; \
18615 [ -d fastjar ] || mkdir fastjar; \
18616 r=`${PWD}`; export r; \
18617 s=`cd $(srcdir); ${PWD}`; export s; \
18618 CC="$(CC)"; export CC; \
18619 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18620 CXX="$(CXX)"; export CXX; \
18621 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18622 AR="$(AR)"; export AR; \
18623 AS="$(AS)"; export AS; \
18624 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18625 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18626 LD="$(LD)"; export LD; \
18627 NM="$(NM)"; export NM; \
18628 RANLIB="$(RANLIB)"; export RANLIB; \
18629 WINDRES="$(WINDRES)"; export WINDRES; \
18630 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18631 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18632 echo Configuring in fastjar; \
18633 cd fastjar || exit 1; \
18634 case $(srcdir) in \
18635 \.) \
18636 srcdiroption="--srcdir=."; \
18637 libsrcdir=".";; \
18638 /* | [A-Za-z]:[\\/]*) \
18639 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
18640 libsrcdir="$$s/fastjar";; \
18641 *) \
18642 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
18643 libsrcdir="$$s/fastjar";; \
18644 esac; \
18645 $(SHELL) $${libsrcdir}/configure \
18646 $(HOST_CONFIGARGS) $${srcdiroption} \
18647 || exit 1
18649 .PHONY: all-fastjar maybe-all-fastjar
18650 maybe-all-fastjar:
18651 all-fastjar: configure-fastjar
18652 @r=`${PWD}`; export r; \
18653 s=`cd $(srcdir); ${PWD}`; export s; \
18654 $(SET_LIB_PATH) \
18655 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
18657 .PHONY: check-fastjar maybe-check-fastjar
18658 maybe-check-fastjar:
18660 # This module is only tested in a native toolchain.
18661 check-fastjar:
18662 @if [ '$(host)' = '$(target)' ] ; then \
18663 r=`${PWD}`; export r; \
18664 s=`cd $(srcdir); ${PWD}`; export s; \
18665 $(SET_LIB_PATH) \
18666 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
18670 .PHONY: install-fastjar maybe-install-fastjar
18671 maybe-install-fastjar:
18673 install-fastjar: installdirs
18674 @r=`${PWD}`; export r; \
18675 s=`cd $(srcdir); ${PWD}`; export s; \
18676 $(SET_LIB_PATH) \
18677 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
18680 .PHONY: configure-fileutils maybe-configure-fileutils
18681 maybe-configure-fileutils:
18682 configure-fileutils:
18683 @test ! -f fileutils/Makefile || exit 0; \
18684 [ -d fileutils ] || mkdir fileutils; \
18685 r=`${PWD}`; export r; \
18686 s=`cd $(srcdir); ${PWD}`; export s; \
18687 CC="$(CC)"; export CC; \
18688 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18689 CXX="$(CXX)"; export CXX; \
18690 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18691 AR="$(AR)"; export AR; \
18692 AS="$(AS)"; export AS; \
18693 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18694 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18695 LD="$(LD)"; export LD; \
18696 NM="$(NM)"; export NM; \
18697 RANLIB="$(RANLIB)"; export RANLIB; \
18698 WINDRES="$(WINDRES)"; export WINDRES; \
18699 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18700 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18701 echo Configuring in fileutils; \
18702 cd fileutils || exit 1; \
18703 case $(srcdir) in \
18704 \.) \
18705 srcdiroption="--srcdir=."; \
18706 libsrcdir=".";; \
18707 /* | [A-Za-z]:[\\/]*) \
18708 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
18709 libsrcdir="$$s/fileutils";; \
18710 *) \
18711 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
18712 libsrcdir="$$s/fileutils";; \
18713 esac; \
18714 $(SHELL) $${libsrcdir}/configure \
18715 $(HOST_CONFIGARGS) $${srcdiroption} \
18716 || exit 1
18718 .PHONY: all-fileutils maybe-all-fileutils
18719 maybe-all-fileutils:
18720 all-fileutils: configure-fileutils
18721 @r=`${PWD}`; export r; \
18722 s=`cd $(srcdir); ${PWD}`; export s; \
18723 $(SET_LIB_PATH) \
18724 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
18726 .PHONY: check-fileutils maybe-check-fileutils
18727 maybe-check-fileutils:
18729 check-fileutils:
18730 @r=`${PWD}`; export r; \
18731 s=`cd $(srcdir); ${PWD}`; export s; \
18732 $(SET_LIB_PATH) \
18733 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
18736 .PHONY: install-fileutils maybe-install-fileutils
18737 maybe-install-fileutils:
18739 install-fileutils: installdirs
18740 @r=`${PWD}`; export r; \
18741 s=`cd $(srcdir); ${PWD}`; export s; \
18742 $(SET_LIB_PATH) \
18743 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
18746 .PHONY: configure-findutils maybe-configure-findutils
18747 maybe-configure-findutils:
18748 configure-findutils:
18749 @test ! -f findutils/Makefile || exit 0; \
18750 [ -d findutils ] || mkdir findutils; \
18751 r=`${PWD}`; export r; \
18752 s=`cd $(srcdir); ${PWD}`; export s; \
18753 CC="$(CC)"; export CC; \
18754 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18755 CXX="$(CXX)"; export CXX; \
18756 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18757 AR="$(AR)"; export AR; \
18758 AS="$(AS)"; export AS; \
18759 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18760 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18761 LD="$(LD)"; export LD; \
18762 NM="$(NM)"; export NM; \
18763 RANLIB="$(RANLIB)"; export RANLIB; \
18764 WINDRES="$(WINDRES)"; export WINDRES; \
18765 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18766 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18767 echo Configuring in findutils; \
18768 cd findutils || exit 1; \
18769 case $(srcdir) in \
18770 \.) \
18771 srcdiroption="--srcdir=."; \
18772 libsrcdir=".";; \
18773 /* | [A-Za-z]:[\\/]*) \
18774 srcdiroption="--srcdir=$(srcdir)/findutils"; \
18775 libsrcdir="$$s/findutils";; \
18776 *) \
18777 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
18778 libsrcdir="$$s/findutils";; \
18779 esac; \
18780 $(SHELL) $${libsrcdir}/configure \
18781 $(HOST_CONFIGARGS) $${srcdiroption} \
18782 || exit 1
18784 .PHONY: all-findutils maybe-all-findutils
18785 maybe-all-findutils:
18786 all-findutils: configure-findutils
18787 @r=`${PWD}`; export r; \
18788 s=`cd $(srcdir); ${PWD}`; export s; \
18789 $(SET_LIB_PATH) \
18790 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
18792 .PHONY: check-findutils maybe-check-findutils
18793 maybe-check-findutils:
18795 check-findutils:
18796 @r=`${PWD}`; export r; \
18797 s=`cd $(srcdir); ${PWD}`; export s; \
18798 $(SET_LIB_PATH) \
18799 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
18802 .PHONY: install-findutils maybe-install-findutils
18803 maybe-install-findutils:
18805 install-findutils: installdirs
18806 @r=`${PWD}`; export r; \
18807 s=`cd $(srcdir); ${PWD}`; export s; \
18808 $(SET_LIB_PATH) \
18809 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
18812 .PHONY: configure-find maybe-configure-find
18813 maybe-configure-find:
18814 configure-find:
18815 @test ! -f find/Makefile || exit 0; \
18816 [ -d find ] || mkdir find; \
18817 r=`${PWD}`; export r; \
18818 s=`cd $(srcdir); ${PWD}`; export s; \
18819 CC="$(CC)"; export CC; \
18820 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18821 CXX="$(CXX)"; export CXX; \
18822 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18823 AR="$(AR)"; export AR; \
18824 AS="$(AS)"; export AS; \
18825 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18826 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18827 LD="$(LD)"; export LD; \
18828 NM="$(NM)"; export NM; \
18829 RANLIB="$(RANLIB)"; export RANLIB; \
18830 WINDRES="$(WINDRES)"; export WINDRES; \
18831 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18832 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18833 echo Configuring in find; \
18834 cd find || exit 1; \
18835 case $(srcdir) in \
18836 \.) \
18837 srcdiroption="--srcdir=."; \
18838 libsrcdir=".";; \
18839 /* | [A-Za-z]:[\\/]*) \
18840 srcdiroption="--srcdir=$(srcdir)/find"; \
18841 libsrcdir="$$s/find";; \
18842 *) \
18843 srcdiroption="--srcdir=../$(srcdir)/find"; \
18844 libsrcdir="$$s/find";; \
18845 esac; \
18846 $(SHELL) $${libsrcdir}/configure \
18847 $(HOST_CONFIGARGS) $${srcdiroption} \
18848 || exit 1
18850 .PHONY: all-find maybe-all-find
18851 maybe-all-find:
18852 all-find: configure-find
18853 @r=`${PWD}`; export r; \
18854 s=`cd $(srcdir); ${PWD}`; export s; \
18855 $(SET_LIB_PATH) \
18856 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
18858 .PHONY: check-find maybe-check-find
18859 maybe-check-find:
18861 check-find:
18862 @r=`${PWD}`; export r; \
18863 s=`cd $(srcdir); ${PWD}`; export s; \
18864 $(SET_LIB_PATH) \
18865 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
18868 .PHONY: install-find maybe-install-find
18869 maybe-install-find:
18871 install-find: installdirs
18872 @r=`${PWD}`; export r; \
18873 s=`cd $(srcdir); ${PWD}`; export s; \
18874 $(SET_LIB_PATH) \
18875 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
18878 .PHONY: configure-flex maybe-configure-flex
18879 maybe-configure-flex:
18880 configure-flex:
18881 @test ! -f flex/Makefile || exit 0; \
18882 [ -d flex ] || mkdir flex; \
18883 r=`${PWD}`; export r; \
18884 s=`cd $(srcdir); ${PWD}`; export s; \
18885 CC="$(CC)"; export CC; \
18886 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18887 CXX="$(CXX)"; export CXX; \
18888 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18889 AR="$(AR)"; export AR; \
18890 AS="$(AS)"; export AS; \
18891 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18892 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18893 LD="$(LD)"; export LD; \
18894 NM="$(NM)"; export NM; \
18895 RANLIB="$(RANLIB)"; export RANLIB; \
18896 WINDRES="$(WINDRES)"; export WINDRES; \
18897 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18898 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18899 echo Configuring in flex; \
18900 cd flex || exit 1; \
18901 case $(srcdir) in \
18902 \.) \
18903 srcdiroption="--srcdir=."; \
18904 libsrcdir=".";; \
18905 /* | [A-Za-z]:[\\/]*) \
18906 srcdiroption="--srcdir=$(srcdir)/flex"; \
18907 libsrcdir="$$s/flex";; \
18908 *) \
18909 srcdiroption="--srcdir=../$(srcdir)/flex"; \
18910 libsrcdir="$$s/flex";; \
18911 esac; \
18912 $(SHELL) $${libsrcdir}/configure \
18913 $(HOST_CONFIGARGS) $${srcdiroption} \
18914 || exit 1
18916 .PHONY: all-flex maybe-all-flex
18917 maybe-all-flex:
18918 all-flex: configure-flex
18919 @r=`${PWD}`; export r; \
18920 s=`cd $(srcdir); ${PWD}`; export s; \
18921 $(SET_LIB_PATH) \
18922 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
18924 .PHONY: check-flex maybe-check-flex
18925 maybe-check-flex:
18927 # This module is only tested in a native toolchain.
18928 check-flex:
18929 @if [ '$(host)' = '$(target)' ] ; then \
18930 r=`${PWD}`; export r; \
18931 s=`cd $(srcdir); ${PWD}`; export s; \
18932 $(SET_LIB_PATH) \
18933 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
18937 .PHONY: install-flex maybe-install-flex
18938 maybe-install-flex:
18940 install-flex: installdirs
18941 @r=`${PWD}`; export r; \
18942 s=`cd $(srcdir); ${PWD}`; export s; \
18943 $(SET_LIB_PATH) \
18944 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
18947 .PHONY: configure-gas maybe-configure-gas
18948 maybe-configure-gas:
18949 configure-gas:
18950 @test ! -f gas/Makefile || exit 0; \
18951 [ -d gas ] || mkdir gas; \
18952 r=`${PWD}`; export r; \
18953 s=`cd $(srcdir); ${PWD}`; export s; \
18954 CC="$(CC)"; export CC; \
18955 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18956 CXX="$(CXX)"; export CXX; \
18957 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18958 AR="$(AR)"; export AR; \
18959 AS="$(AS)"; export AS; \
18960 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18961 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18962 LD="$(LD)"; export LD; \
18963 NM="$(NM)"; export NM; \
18964 RANLIB="$(RANLIB)"; export RANLIB; \
18965 WINDRES="$(WINDRES)"; export WINDRES; \
18966 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18967 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18968 echo Configuring in gas; \
18969 cd gas || exit 1; \
18970 case $(srcdir) in \
18971 \.) \
18972 srcdiroption="--srcdir=."; \
18973 libsrcdir=".";; \
18974 /* | [A-Za-z]:[\\/]*) \
18975 srcdiroption="--srcdir=$(srcdir)/gas"; \
18976 libsrcdir="$$s/gas";; \
18977 *) \
18978 srcdiroption="--srcdir=../$(srcdir)/gas"; \
18979 libsrcdir="$$s/gas";; \
18980 esac; \
18981 $(SHELL) $${libsrcdir}/configure \
18982 $(HOST_CONFIGARGS) $${srcdiroption} \
18983 || exit 1
18985 .PHONY: all-gas maybe-all-gas
18986 maybe-all-gas:
18987 all-gas: configure-gas
18988 @r=`${PWD}`; export r; \
18989 s=`cd $(srcdir); ${PWD}`; export s; \
18990 $(SET_LIB_PATH) \
18991 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
18993 .PHONY: check-gas maybe-check-gas
18994 maybe-check-gas:
18996 check-gas:
18997 @r=`${PWD}`; export r; \
18998 s=`cd $(srcdir); ${PWD}`; export s; \
18999 $(SET_LIB_PATH) \
19000 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
19003 .PHONY: install-gas maybe-install-gas
19004 maybe-install-gas:
19006 install-gas: installdirs
19007 @r=`${PWD}`; export r; \
19008 s=`cd $(srcdir); ${PWD}`; export s; \
19009 $(SET_LIB_PATH) \
19010 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
19013 .PHONY: configure-gawk maybe-configure-gawk
19014 maybe-configure-gawk:
19015 configure-gawk:
19016 @test ! -f gawk/Makefile || exit 0; \
19017 [ -d gawk ] || mkdir gawk; \
19018 r=`${PWD}`; export r; \
19019 s=`cd $(srcdir); ${PWD}`; export s; \
19020 CC="$(CC)"; export CC; \
19021 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19022 CXX="$(CXX)"; export CXX; \
19023 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19024 AR="$(AR)"; export AR; \
19025 AS="$(AS)"; export AS; \
19026 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19027 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19028 LD="$(LD)"; export LD; \
19029 NM="$(NM)"; export NM; \
19030 RANLIB="$(RANLIB)"; export RANLIB; \
19031 WINDRES="$(WINDRES)"; export WINDRES; \
19032 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19033 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19034 echo Configuring in gawk; \
19035 cd gawk || exit 1; \
19036 case $(srcdir) in \
19037 \.) \
19038 srcdiroption="--srcdir=."; \
19039 libsrcdir=".";; \
19040 /* | [A-Za-z]:[\\/]*) \
19041 srcdiroption="--srcdir=$(srcdir)/gawk"; \
19042 libsrcdir="$$s/gawk";; \
19043 *) \
19044 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
19045 libsrcdir="$$s/gawk";; \
19046 esac; \
19047 $(SHELL) $${libsrcdir}/configure \
19048 $(HOST_CONFIGARGS) $${srcdiroption} \
19049 || exit 1
19051 .PHONY: all-gawk maybe-all-gawk
19052 maybe-all-gawk:
19053 all-gawk: configure-gawk
19054 @r=`${PWD}`; export r; \
19055 s=`cd $(srcdir); ${PWD}`; export s; \
19056 $(SET_LIB_PATH) \
19057 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
19059 .PHONY: check-gawk maybe-check-gawk
19060 maybe-check-gawk:
19062 check-gawk:
19063 @r=`${PWD}`; export r; \
19064 s=`cd $(srcdir); ${PWD}`; export s; \
19065 $(SET_LIB_PATH) \
19066 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
19069 .PHONY: install-gawk maybe-install-gawk
19070 maybe-install-gawk:
19072 install-gawk: installdirs
19073 @r=`${PWD}`; export r; \
19074 s=`cd $(srcdir); ${PWD}`; export s; \
19075 $(SET_LIB_PATH) \
19076 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
19079 .PHONY: configure-gettext maybe-configure-gettext
19080 maybe-configure-gettext:
19081 configure-gettext:
19082 @test ! -f gettext/Makefile || exit 0; \
19083 [ -d gettext ] || mkdir gettext; \
19084 r=`${PWD}`; export r; \
19085 s=`cd $(srcdir); ${PWD}`; export s; \
19086 CC="$(CC)"; export CC; \
19087 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19088 CXX="$(CXX)"; export CXX; \
19089 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19090 AR="$(AR)"; export AR; \
19091 AS="$(AS)"; export AS; \
19092 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19093 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19094 LD="$(LD)"; export LD; \
19095 NM="$(NM)"; export NM; \
19096 RANLIB="$(RANLIB)"; export RANLIB; \
19097 WINDRES="$(WINDRES)"; export WINDRES; \
19098 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19099 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19100 echo Configuring in gettext; \
19101 cd gettext || exit 1; \
19102 case $(srcdir) in \
19103 \.) \
19104 srcdiroption="--srcdir=."; \
19105 libsrcdir=".";; \
19106 /* | [A-Za-z]:[\\/]*) \
19107 srcdiroption="--srcdir=$(srcdir)/gettext"; \
19108 libsrcdir="$$s/gettext";; \
19109 *) \
19110 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
19111 libsrcdir="$$s/gettext";; \
19112 esac; \
19113 $(SHELL) $${libsrcdir}/configure \
19114 $(HOST_CONFIGARGS) $${srcdiroption} \
19115 || exit 1
19117 .PHONY: all-gettext maybe-all-gettext
19118 maybe-all-gettext:
19119 all-gettext: configure-gettext
19120 @r=`${PWD}`; export r; \
19121 s=`cd $(srcdir); ${PWD}`; export s; \
19122 $(SET_LIB_PATH) \
19123 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
19125 .PHONY: check-gettext maybe-check-gettext
19126 maybe-check-gettext:
19128 check-gettext:
19129 @r=`${PWD}`; export r; \
19130 s=`cd $(srcdir); ${PWD}`; export s; \
19131 $(SET_LIB_PATH) \
19132 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
19135 .PHONY: install-gettext maybe-install-gettext
19136 maybe-install-gettext:
19138 install-gettext: installdirs
19139 @r=`${PWD}`; export r; \
19140 s=`cd $(srcdir); ${PWD}`; export s; \
19141 $(SET_LIB_PATH) \
19142 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
19145 .PHONY: configure-gnuserv maybe-configure-gnuserv
19146 maybe-configure-gnuserv:
19147 configure-gnuserv:
19148 @test ! -f gnuserv/Makefile || exit 0; \
19149 [ -d gnuserv ] || mkdir gnuserv; \
19150 r=`${PWD}`; export r; \
19151 s=`cd $(srcdir); ${PWD}`; export s; \
19152 CC="$(CC)"; export CC; \
19153 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19154 CXX="$(CXX)"; export CXX; \
19155 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19156 AR="$(AR)"; export AR; \
19157 AS="$(AS)"; export AS; \
19158 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19159 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19160 LD="$(LD)"; export LD; \
19161 NM="$(NM)"; export NM; \
19162 RANLIB="$(RANLIB)"; export RANLIB; \
19163 WINDRES="$(WINDRES)"; export WINDRES; \
19164 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19165 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19166 echo Configuring in gnuserv; \
19167 cd gnuserv || exit 1; \
19168 case $(srcdir) in \
19169 \.) \
19170 srcdiroption="--srcdir=."; \
19171 libsrcdir=".";; \
19172 /* | [A-Za-z]:[\\/]*) \
19173 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
19174 libsrcdir="$$s/gnuserv";; \
19175 *) \
19176 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
19177 libsrcdir="$$s/gnuserv";; \
19178 esac; \
19179 $(SHELL) $${libsrcdir}/configure \
19180 $(HOST_CONFIGARGS) $${srcdiroption} \
19181 || exit 1
19183 .PHONY: all-gnuserv maybe-all-gnuserv
19184 maybe-all-gnuserv:
19185 all-gnuserv: configure-gnuserv
19186 @r=`${PWD}`; export r; \
19187 s=`cd $(srcdir); ${PWD}`; export s; \
19188 $(SET_LIB_PATH) \
19189 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
19191 .PHONY: check-gnuserv maybe-check-gnuserv
19192 maybe-check-gnuserv:
19194 check-gnuserv:
19195 @r=`${PWD}`; export r; \
19196 s=`cd $(srcdir); ${PWD}`; export s; \
19197 $(SET_LIB_PATH) \
19198 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
19201 .PHONY: install-gnuserv maybe-install-gnuserv
19202 maybe-install-gnuserv:
19204 install-gnuserv: installdirs
19205 @r=`${PWD}`; export r; \
19206 s=`cd $(srcdir); ${PWD}`; export s; \
19207 $(SET_LIB_PATH) \
19208 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
19211 .PHONY: configure-gprof maybe-configure-gprof
19212 maybe-configure-gprof:
19213 configure-gprof:
19214 @test ! -f gprof/Makefile || exit 0; \
19215 [ -d gprof ] || mkdir gprof; \
19216 r=`${PWD}`; export r; \
19217 s=`cd $(srcdir); ${PWD}`; export s; \
19218 CC="$(CC)"; export CC; \
19219 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19220 CXX="$(CXX)"; export CXX; \
19221 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19222 AR="$(AR)"; export AR; \
19223 AS="$(AS)"; export AS; \
19224 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19225 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19226 LD="$(LD)"; export LD; \
19227 NM="$(NM)"; export NM; \
19228 RANLIB="$(RANLIB)"; export RANLIB; \
19229 WINDRES="$(WINDRES)"; export WINDRES; \
19230 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19231 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19232 echo Configuring in gprof; \
19233 cd gprof || exit 1; \
19234 case $(srcdir) in \
19235 \.) \
19236 srcdiroption="--srcdir=."; \
19237 libsrcdir=".";; \
19238 /* | [A-Za-z]:[\\/]*) \
19239 srcdiroption="--srcdir=$(srcdir)/gprof"; \
19240 libsrcdir="$$s/gprof";; \
19241 *) \
19242 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
19243 libsrcdir="$$s/gprof";; \
19244 esac; \
19245 $(SHELL) $${libsrcdir}/configure \
19246 $(HOST_CONFIGARGS) $${srcdiroption} \
19247 || exit 1
19249 .PHONY: all-gprof maybe-all-gprof
19250 maybe-all-gprof:
19251 all-gprof: configure-gprof
19252 @r=`${PWD}`; export r; \
19253 s=`cd $(srcdir); ${PWD}`; export s; \
19254 $(SET_LIB_PATH) \
19255 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
19257 .PHONY: check-gprof maybe-check-gprof
19258 maybe-check-gprof:
19260 check-gprof:
19261 @r=`${PWD}`; export r; \
19262 s=`cd $(srcdir); ${PWD}`; export s; \
19263 $(SET_LIB_PATH) \
19264 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
19267 .PHONY: install-gprof maybe-install-gprof
19268 maybe-install-gprof:
19270 install-gprof: installdirs
19271 @r=`${PWD}`; export r; \
19272 s=`cd $(srcdir); ${PWD}`; export s; \
19273 $(SET_LIB_PATH) \
19274 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
19277 .PHONY: configure-gzip maybe-configure-gzip
19278 maybe-configure-gzip:
19279 configure-gzip:
19280 @test ! -f gzip/Makefile || exit 0; \
19281 [ -d gzip ] || mkdir gzip; \
19282 r=`${PWD}`; export r; \
19283 s=`cd $(srcdir); ${PWD}`; export s; \
19284 CC="$(CC)"; export CC; \
19285 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19286 CXX="$(CXX)"; export CXX; \
19287 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19288 AR="$(AR)"; export AR; \
19289 AS="$(AS)"; export AS; \
19290 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19291 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19292 LD="$(LD)"; export LD; \
19293 NM="$(NM)"; export NM; \
19294 RANLIB="$(RANLIB)"; export RANLIB; \
19295 WINDRES="$(WINDRES)"; export WINDRES; \
19296 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19297 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19298 echo Configuring in gzip; \
19299 cd gzip || exit 1; \
19300 case $(srcdir) in \
19301 \.) \
19302 srcdiroption="--srcdir=."; \
19303 libsrcdir=".";; \
19304 /* | [A-Za-z]:[\\/]*) \
19305 srcdiroption="--srcdir=$(srcdir)/gzip"; \
19306 libsrcdir="$$s/gzip";; \
19307 *) \
19308 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
19309 libsrcdir="$$s/gzip";; \
19310 esac; \
19311 $(SHELL) $${libsrcdir}/configure \
19312 $(HOST_CONFIGARGS) $${srcdiroption} \
19313 || exit 1
19315 .PHONY: all-gzip maybe-all-gzip
19316 maybe-all-gzip:
19317 all-gzip: configure-gzip
19318 @r=`${PWD}`; export r; \
19319 s=`cd $(srcdir); ${PWD}`; export s; \
19320 $(SET_LIB_PATH) \
19321 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
19323 .PHONY: check-gzip maybe-check-gzip
19324 maybe-check-gzip:
19326 check-gzip:
19327 @r=`${PWD}`; export r; \
19328 s=`cd $(srcdir); ${PWD}`; export s; \
19329 $(SET_LIB_PATH) \
19330 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
19333 .PHONY: install-gzip maybe-install-gzip
19334 maybe-install-gzip:
19336 install-gzip: installdirs
19337 @r=`${PWD}`; export r; \
19338 s=`cd $(srcdir); ${PWD}`; export s; \
19339 $(SET_LIB_PATH) \
19340 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
19343 .PHONY: configure-hello maybe-configure-hello
19344 maybe-configure-hello:
19345 configure-hello:
19346 @test ! -f hello/Makefile || exit 0; \
19347 [ -d hello ] || mkdir hello; \
19348 r=`${PWD}`; export r; \
19349 s=`cd $(srcdir); ${PWD}`; export s; \
19350 CC="$(CC)"; export CC; \
19351 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19352 CXX="$(CXX)"; export CXX; \
19353 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19354 AR="$(AR)"; export AR; \
19355 AS="$(AS)"; export AS; \
19356 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19357 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19358 LD="$(LD)"; export LD; \
19359 NM="$(NM)"; export NM; \
19360 RANLIB="$(RANLIB)"; export RANLIB; \
19361 WINDRES="$(WINDRES)"; export WINDRES; \
19362 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19363 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19364 echo Configuring in hello; \
19365 cd hello || exit 1; \
19366 case $(srcdir) in \
19367 \.) \
19368 srcdiroption="--srcdir=."; \
19369 libsrcdir=".";; \
19370 /* | [A-Za-z]:[\\/]*) \
19371 srcdiroption="--srcdir=$(srcdir)/hello"; \
19372 libsrcdir="$$s/hello";; \
19373 *) \
19374 srcdiroption="--srcdir=../$(srcdir)/hello"; \
19375 libsrcdir="$$s/hello";; \
19376 esac; \
19377 $(SHELL) $${libsrcdir}/configure \
19378 $(HOST_CONFIGARGS) $${srcdiroption} \
19379 || exit 1
19381 .PHONY: all-hello maybe-all-hello
19382 maybe-all-hello:
19383 all-hello: configure-hello
19384 @r=`${PWD}`; export r; \
19385 s=`cd $(srcdir); ${PWD}`; export s; \
19386 $(SET_LIB_PATH) \
19387 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
19389 .PHONY: check-hello maybe-check-hello
19390 maybe-check-hello:
19392 check-hello:
19393 @r=`${PWD}`; export r; \
19394 s=`cd $(srcdir); ${PWD}`; export s; \
19395 $(SET_LIB_PATH) \
19396 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
19399 .PHONY: install-hello maybe-install-hello
19400 maybe-install-hello:
19402 install-hello: installdirs
19403 @r=`${PWD}`; export r; \
19404 s=`cd $(srcdir); ${PWD}`; export s; \
19405 $(SET_LIB_PATH) \
19406 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
19409 .PHONY: configure-indent maybe-configure-indent
19410 maybe-configure-indent:
19411 configure-indent:
19412 @test ! -f indent/Makefile || exit 0; \
19413 [ -d indent ] || mkdir indent; \
19414 r=`${PWD}`; export r; \
19415 s=`cd $(srcdir); ${PWD}`; export s; \
19416 CC="$(CC)"; export CC; \
19417 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19418 CXX="$(CXX)"; export CXX; \
19419 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19420 AR="$(AR)"; export AR; \
19421 AS="$(AS)"; export AS; \
19422 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19423 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19424 LD="$(LD)"; export LD; \
19425 NM="$(NM)"; export NM; \
19426 RANLIB="$(RANLIB)"; export RANLIB; \
19427 WINDRES="$(WINDRES)"; export WINDRES; \
19428 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19429 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19430 echo Configuring in indent; \
19431 cd indent || exit 1; \
19432 case $(srcdir) in \
19433 \.) \
19434 srcdiroption="--srcdir=."; \
19435 libsrcdir=".";; \
19436 /* | [A-Za-z]:[\\/]*) \
19437 srcdiroption="--srcdir=$(srcdir)/indent"; \
19438 libsrcdir="$$s/indent";; \
19439 *) \
19440 srcdiroption="--srcdir=../$(srcdir)/indent"; \
19441 libsrcdir="$$s/indent";; \
19442 esac; \
19443 $(SHELL) $${libsrcdir}/configure \
19444 $(HOST_CONFIGARGS) $${srcdiroption} \
19445 || exit 1
19447 .PHONY: all-indent maybe-all-indent
19448 maybe-all-indent:
19449 all-indent: configure-indent
19450 @r=`${PWD}`; export r; \
19451 s=`cd $(srcdir); ${PWD}`; export s; \
19452 $(SET_LIB_PATH) \
19453 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
19455 .PHONY: check-indent maybe-check-indent
19456 maybe-check-indent:
19458 check-indent:
19459 @r=`${PWD}`; export r; \
19460 s=`cd $(srcdir); ${PWD}`; export s; \
19461 $(SET_LIB_PATH) \
19462 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
19465 .PHONY: install-indent maybe-install-indent
19466 maybe-install-indent:
19468 install-indent: installdirs
19469 @r=`${PWD}`; export r; \
19470 s=`cd $(srcdir); ${PWD}`; export s; \
19471 $(SET_LIB_PATH) \
19472 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
19475 .PHONY: configure-intl maybe-configure-intl
19476 maybe-configure-intl:
19477 configure-intl:
19478 @test ! -f intl/Makefile || exit 0; \
19479 [ -d intl ] || mkdir intl; \
19480 r=`${PWD}`; export r; \
19481 s=`cd $(srcdir); ${PWD}`; export s; \
19482 CC="$(CC)"; export CC; \
19483 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19484 CXX="$(CXX)"; export CXX; \
19485 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19486 AR="$(AR)"; export AR; \
19487 AS="$(AS)"; export AS; \
19488 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19489 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19490 LD="$(LD)"; export LD; \
19491 NM="$(NM)"; export NM; \
19492 RANLIB="$(RANLIB)"; export RANLIB; \
19493 WINDRES="$(WINDRES)"; export WINDRES; \
19494 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19495 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19496 echo Configuring in intl; \
19497 cd intl || exit 1; \
19498 case $(srcdir) in \
19499 \.) \
19500 srcdiroption="--srcdir=."; \
19501 libsrcdir=".";; \
19502 /* | [A-Za-z]:[\\/]*) \
19503 srcdiroption="--srcdir=$(srcdir)/intl"; \
19504 libsrcdir="$$s/intl";; \
19505 *) \
19506 srcdiroption="--srcdir=../$(srcdir)/intl"; \
19507 libsrcdir="$$s/intl";; \
19508 esac; \
19509 $(SHELL) $${libsrcdir}/configure \
19510 $(HOST_CONFIGARGS) $${srcdiroption} \
19511 || exit 1
19513 .PHONY: all-intl maybe-all-intl
19514 maybe-all-intl:
19515 all-intl: configure-intl
19516 @r=`${PWD}`; export r; \
19517 s=`cd $(srcdir); ${PWD}`; export s; \
19518 $(SET_LIB_PATH) \
19519 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
19521 .PHONY: check-intl maybe-check-intl
19522 maybe-check-intl:
19524 check-intl:
19525 @r=`${PWD}`; export r; \
19526 s=`cd $(srcdir); ${PWD}`; export s; \
19527 $(SET_LIB_PATH) \
19528 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
19531 .PHONY: install-intl maybe-install-intl
19532 maybe-install-intl:
19534 install-intl: installdirs
19535 @r=`${PWD}`; export r; \
19536 s=`cd $(srcdir); ${PWD}`; export s; \
19537 $(SET_LIB_PATH) \
19538 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
19541 .PHONY: configure-tcl maybe-configure-tcl
19542 maybe-configure-tcl:
19543 configure-tcl:
19544 @test ! -f tcl/Makefile || exit 0; \
19545 [ -d tcl ] || mkdir tcl; \
19546 r=`${PWD}`; export r; \
19547 s=`cd $(srcdir); ${PWD}`; export s; \
19548 CC="$(CC)"; export CC; \
19549 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19550 CXX="$(CXX)"; export CXX; \
19551 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19552 AR="$(AR)"; export AR; \
19553 AS="$(AS)"; export AS; \
19554 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19555 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19556 LD="$(LD)"; export LD; \
19557 NM="$(NM)"; export NM; \
19558 RANLIB="$(RANLIB)"; export RANLIB; \
19559 WINDRES="$(WINDRES)"; export WINDRES; \
19560 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19561 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19562 echo Configuring in tcl; \
19563 cd tcl || exit 1; \
19564 case $(srcdir) in \
19565 \.) \
19566 srcdiroption="--srcdir=."; \
19567 libsrcdir=".";; \
19568 /* | [A-Za-z]:[\\/]*) \
19569 srcdiroption="--srcdir=$(srcdir)/tcl"; \
19570 libsrcdir="$$s/tcl";; \
19571 *) \
19572 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
19573 libsrcdir="$$s/tcl";; \
19574 esac; \
19575 $(SHELL) $${libsrcdir}/configure \
19576 $(HOST_CONFIGARGS) $${srcdiroption} \
19577 || exit 1
19579 .PHONY: all-tcl maybe-all-tcl
19580 maybe-all-tcl:
19581 all-tcl: configure-tcl
19582 @r=`${PWD}`; export r; \
19583 s=`cd $(srcdir); ${PWD}`; export s; \
19584 $(SET_LIB_PATH) \
19585 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
19587 .PHONY: check-tcl maybe-check-tcl
19588 maybe-check-tcl:
19590 check-tcl:
19591 @r=`${PWD}`; export r; \
19592 s=`cd $(srcdir); ${PWD}`; export s; \
19593 $(SET_LIB_PATH) \
19594 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
19597 .PHONY: install-tcl maybe-install-tcl
19598 maybe-install-tcl:
19600 install-tcl: installdirs
19601 @r=`${PWD}`; export r; \
19602 s=`cd $(srcdir); ${PWD}`; export s; \
19603 $(SET_LIB_PATH) \
19604 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
19607 .PHONY: configure-itcl maybe-configure-itcl
19608 maybe-configure-itcl:
19609 configure-itcl:
19610 @test ! -f itcl/Makefile || exit 0; \
19611 [ -d itcl ] || mkdir itcl; \
19612 r=`${PWD}`; export r; \
19613 s=`cd $(srcdir); ${PWD}`; export s; \
19614 CC="$(CC)"; export CC; \
19615 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19616 CXX="$(CXX)"; export CXX; \
19617 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19618 AR="$(AR)"; export AR; \
19619 AS="$(AS)"; export AS; \
19620 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19621 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19622 LD="$(LD)"; export LD; \
19623 NM="$(NM)"; export NM; \
19624 RANLIB="$(RANLIB)"; export RANLIB; \
19625 WINDRES="$(WINDRES)"; export WINDRES; \
19626 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19627 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19628 echo Configuring in itcl; \
19629 cd itcl || exit 1; \
19630 case $(srcdir) in \
19631 \.) \
19632 srcdiroption="--srcdir=."; \
19633 libsrcdir=".";; \
19634 /* | [A-Za-z]:[\\/]*) \
19635 srcdiroption="--srcdir=$(srcdir)/itcl"; \
19636 libsrcdir="$$s/itcl";; \
19637 *) \
19638 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
19639 libsrcdir="$$s/itcl";; \
19640 esac; \
19641 $(SHELL) $${libsrcdir}/configure \
19642 $(HOST_CONFIGARGS) $${srcdiroption} \
19643 || exit 1
19645 .PHONY: all-itcl maybe-all-itcl
19646 maybe-all-itcl:
19647 all-itcl: configure-itcl
19648 @r=`${PWD}`; export r; \
19649 s=`cd $(srcdir); ${PWD}`; export s; \
19650 $(SET_LIB_PATH) \
19651 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
19653 .PHONY: check-itcl maybe-check-itcl
19654 maybe-check-itcl:
19656 check-itcl:
19657 @r=`${PWD}`; export r; \
19658 s=`cd $(srcdir); ${PWD}`; export s; \
19659 $(SET_LIB_PATH) \
19660 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
19663 .PHONY: install-itcl maybe-install-itcl
19664 maybe-install-itcl:
19666 install-itcl: installdirs
19667 @r=`${PWD}`; export r; \
19668 s=`cd $(srcdir); ${PWD}`; export s; \
19669 $(SET_LIB_PATH) \
19670 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
19673 .PHONY: configure-ld maybe-configure-ld
19674 maybe-configure-ld:
19675 configure-ld:
19676 @test ! -f ld/Makefile || exit 0; \
19677 [ -d ld ] || mkdir ld; \
19678 r=`${PWD}`; export r; \
19679 s=`cd $(srcdir); ${PWD}`; export s; \
19680 CC="$(CC)"; export CC; \
19681 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19682 CXX="$(CXX)"; export CXX; \
19683 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19684 AR="$(AR)"; export AR; \
19685 AS="$(AS)"; export AS; \
19686 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19687 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19688 LD="$(LD)"; export LD; \
19689 NM="$(NM)"; export NM; \
19690 RANLIB="$(RANLIB)"; export RANLIB; \
19691 WINDRES="$(WINDRES)"; export WINDRES; \
19692 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19693 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19694 echo Configuring in ld; \
19695 cd ld || exit 1; \
19696 case $(srcdir) in \
19697 \.) \
19698 srcdiroption="--srcdir=."; \
19699 libsrcdir=".";; \
19700 /* | [A-Za-z]:[\\/]*) \
19701 srcdiroption="--srcdir=$(srcdir)/ld"; \
19702 libsrcdir="$$s/ld";; \
19703 *) \
19704 srcdiroption="--srcdir=../$(srcdir)/ld"; \
19705 libsrcdir="$$s/ld";; \
19706 esac; \
19707 $(SHELL) $${libsrcdir}/configure \
19708 $(HOST_CONFIGARGS) $${srcdiroption} \
19709 || exit 1
19711 .PHONY: all-ld maybe-all-ld
19712 maybe-all-ld:
19713 all-ld: configure-ld
19714 @r=`${PWD}`; export r; \
19715 s=`cd $(srcdir); ${PWD}`; export s; \
19716 $(SET_LIB_PATH) \
19717 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
19719 .PHONY: check-ld maybe-check-ld
19720 maybe-check-ld:
19722 check-ld:
19723 @r=`${PWD}`; export r; \
19724 s=`cd $(srcdir); ${PWD}`; export s; \
19725 $(SET_LIB_PATH) \
19726 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
19729 .PHONY: install-ld maybe-install-ld
19730 maybe-install-ld:
19732 install-ld: installdirs
19733 @r=`${PWD}`; export r; \
19734 s=`cd $(srcdir); ${PWD}`; export s; \
19735 $(SET_LIB_PATH) \
19736 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
19739 .PHONY: configure-libgui maybe-configure-libgui
19740 maybe-configure-libgui:
19741 configure-libgui:
19742 @test ! -f libgui/Makefile || exit 0; \
19743 [ -d libgui ] || mkdir libgui; \
19744 r=`${PWD}`; export r; \
19745 s=`cd $(srcdir); ${PWD}`; export s; \
19746 CC="$(CC)"; export CC; \
19747 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19748 CXX="$(CXX)"; export CXX; \
19749 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19750 AR="$(AR)"; export AR; \
19751 AS="$(AS)"; export AS; \
19752 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19753 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19754 LD="$(LD)"; export LD; \
19755 NM="$(NM)"; export NM; \
19756 RANLIB="$(RANLIB)"; export RANLIB; \
19757 WINDRES="$(WINDRES)"; export WINDRES; \
19758 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19759 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19760 echo Configuring in libgui; \
19761 cd libgui || exit 1; \
19762 case $(srcdir) in \
19763 \.) \
19764 srcdiroption="--srcdir=."; \
19765 libsrcdir=".";; \
19766 /* | [A-Za-z]:[\\/]*) \
19767 srcdiroption="--srcdir=$(srcdir)/libgui"; \
19768 libsrcdir="$$s/libgui";; \
19769 *) \
19770 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
19771 libsrcdir="$$s/libgui";; \
19772 esac; \
19773 $(SHELL) $${libsrcdir}/configure \
19774 $(HOST_CONFIGARGS) $${srcdiroption} \
19775 || exit 1
19777 .PHONY: all-libgui maybe-all-libgui
19778 maybe-all-libgui:
19779 all-libgui: configure-libgui
19780 @r=`${PWD}`; export r; \
19781 s=`cd $(srcdir); ${PWD}`; export s; \
19782 $(SET_LIB_PATH) \
19783 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
19785 .PHONY: check-libgui maybe-check-libgui
19786 maybe-check-libgui:
19788 check-libgui:
19789 @r=`${PWD}`; export r; \
19790 s=`cd $(srcdir); ${PWD}`; export s; \
19791 $(SET_LIB_PATH) \
19792 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
19795 .PHONY: install-libgui maybe-install-libgui
19796 maybe-install-libgui:
19798 install-libgui: installdirs
19799 @r=`${PWD}`; export r; \
19800 s=`cd $(srcdir); ${PWD}`; export s; \
19801 $(SET_LIB_PATH) \
19802 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
19805 .PHONY: configure-libiberty maybe-configure-libiberty
19806 maybe-configure-libiberty:
19807 configure-libiberty:
19808 @test ! -f libiberty/Makefile || exit 0; \
19809 [ -d libiberty ] || mkdir libiberty; \
19810 r=`${PWD}`; export r; \
19811 s=`cd $(srcdir); ${PWD}`; export s; \
19812 CC="$(CC)"; export CC; \
19813 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19814 CXX="$(CXX)"; export CXX; \
19815 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19816 AR="$(AR)"; export AR; \
19817 AS="$(AS)"; export AS; \
19818 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19819 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19820 LD="$(LD)"; export LD; \
19821 NM="$(NM)"; export NM; \
19822 RANLIB="$(RANLIB)"; export RANLIB; \
19823 WINDRES="$(WINDRES)"; export WINDRES; \
19824 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19825 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19826 echo Configuring in libiberty; \
19827 cd libiberty || exit 1; \
19828 case $(srcdir) in \
19829 \.) \
19830 srcdiroption="--srcdir=."; \
19831 libsrcdir=".";; \
19832 /* | [A-Za-z]:[\\/]*) \
19833 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
19834 libsrcdir="$$s/libiberty";; \
19835 *) \
19836 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
19837 libsrcdir="$$s/libiberty";; \
19838 esac; \
19839 $(SHELL) $${libsrcdir}/configure \
19840 $(HOST_CONFIGARGS) $${srcdiroption} \
19841 || exit 1
19843 .PHONY: all-libiberty maybe-all-libiberty
19844 maybe-all-libiberty:
19845 all-libiberty: configure-libiberty
19846 @r=`${PWD}`; export r; \
19847 s=`cd $(srcdir); ${PWD}`; export s; \
19848 $(SET_LIB_PATH) \
19849 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
19851 .PHONY: check-libiberty maybe-check-libiberty
19852 maybe-check-libiberty:
19854 check-libiberty:
19855 @r=`${PWD}`; export r; \
19856 s=`cd $(srcdir); ${PWD}`; export s; \
19857 $(SET_LIB_PATH) \
19858 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
19861 .PHONY: install-libiberty maybe-install-libiberty
19862 maybe-install-libiberty:
19864 install-libiberty: installdirs
19865 @r=`${PWD}`; export r; \
19866 s=`cd $(srcdir); ${PWD}`; export s; \
19867 $(SET_LIB_PATH) \
19868 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
19871 .PHONY: configure-libtool maybe-configure-libtool
19872 maybe-configure-libtool:
19873 configure-libtool:
19874 @test ! -f libtool/Makefile || exit 0; \
19875 [ -d libtool ] || mkdir libtool; \
19876 r=`${PWD}`; export r; \
19877 s=`cd $(srcdir); ${PWD}`; export s; \
19878 CC="$(CC)"; export CC; \
19879 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19880 CXX="$(CXX)"; export CXX; \
19881 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19882 AR="$(AR)"; export AR; \
19883 AS="$(AS)"; export AS; \
19884 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19885 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19886 LD="$(LD)"; export LD; \
19887 NM="$(NM)"; export NM; \
19888 RANLIB="$(RANLIB)"; export RANLIB; \
19889 WINDRES="$(WINDRES)"; export WINDRES; \
19890 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19891 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19892 echo Configuring in libtool; \
19893 cd libtool || exit 1; \
19894 case $(srcdir) in \
19895 \.) \
19896 srcdiroption="--srcdir=."; \
19897 libsrcdir=".";; \
19898 /* | [A-Za-z]:[\\/]*) \
19899 srcdiroption="--srcdir=$(srcdir)/libtool"; \
19900 libsrcdir="$$s/libtool";; \
19901 *) \
19902 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
19903 libsrcdir="$$s/libtool";; \
19904 esac; \
19905 $(SHELL) $${libsrcdir}/configure \
19906 $(HOST_CONFIGARGS) $${srcdiroption} \
19907 || exit 1
19909 .PHONY: all-libtool maybe-all-libtool
19910 maybe-all-libtool:
19911 all-libtool: configure-libtool
19912 @r=`${PWD}`; export r; \
19913 s=`cd $(srcdir); ${PWD}`; export s; \
19914 $(SET_LIB_PATH) \
19915 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
19917 .PHONY: check-libtool maybe-check-libtool
19918 maybe-check-libtool:
19920 check-libtool:
19921 @r=`${PWD}`; export r; \
19922 s=`cd $(srcdir); ${PWD}`; export s; \
19923 $(SET_LIB_PATH) \
19924 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
19927 .PHONY: install-libtool maybe-install-libtool
19928 maybe-install-libtool:
19930 install-libtool: installdirs
19931 @r=`${PWD}`; export r; \
19932 s=`cd $(srcdir); ${PWD}`; export s; \
19933 $(SET_LIB_PATH) \
19934 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
19937 .PHONY: configure-m4 maybe-configure-m4
19938 maybe-configure-m4:
19939 configure-m4:
19940 @test ! -f m4/Makefile || exit 0; \
19941 [ -d m4 ] || mkdir m4; \
19942 r=`${PWD}`; export r; \
19943 s=`cd $(srcdir); ${PWD}`; export s; \
19944 CC="$(CC)"; export CC; \
19945 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19946 CXX="$(CXX)"; export CXX; \
19947 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19948 AR="$(AR)"; export AR; \
19949 AS="$(AS)"; export AS; \
19950 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19951 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19952 LD="$(LD)"; export LD; \
19953 NM="$(NM)"; export NM; \
19954 RANLIB="$(RANLIB)"; export RANLIB; \
19955 WINDRES="$(WINDRES)"; export WINDRES; \
19956 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19957 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19958 echo Configuring in m4; \
19959 cd m4 || exit 1; \
19960 case $(srcdir) in \
19961 \.) \
19962 srcdiroption="--srcdir=."; \
19963 libsrcdir=".";; \
19964 /* | [A-Za-z]:[\\/]*) \
19965 srcdiroption="--srcdir=$(srcdir)/m4"; \
19966 libsrcdir="$$s/m4";; \
19967 *) \
19968 srcdiroption="--srcdir=../$(srcdir)/m4"; \
19969 libsrcdir="$$s/m4";; \
19970 esac; \
19971 $(SHELL) $${libsrcdir}/configure \
19972 $(HOST_CONFIGARGS) $${srcdiroption} \
19973 || exit 1
19975 .PHONY: all-m4 maybe-all-m4
19976 maybe-all-m4:
19977 all-m4: configure-m4
19978 @r=`${PWD}`; export r; \
19979 s=`cd $(srcdir); ${PWD}`; export s; \
19980 $(SET_LIB_PATH) \
19981 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
19983 .PHONY: check-m4 maybe-check-m4
19984 maybe-check-m4:
19986 check-m4:
19987 @r=`${PWD}`; export r; \
19988 s=`cd $(srcdir); ${PWD}`; export s; \
19989 $(SET_LIB_PATH) \
19990 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
19993 .PHONY: install-m4 maybe-install-m4
19994 maybe-install-m4:
19996 install-m4: installdirs
19997 @r=`${PWD}`; export r; \
19998 s=`cd $(srcdir); ${PWD}`; export s; \
19999 $(SET_LIB_PATH) \
20000 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
20003 .PHONY: configure-make maybe-configure-make
20004 maybe-configure-make:
20005 configure-make:
20006 @test ! -f make/Makefile || exit 0; \
20007 [ -d make ] || mkdir make; \
20008 r=`${PWD}`; export r; \
20009 s=`cd $(srcdir); ${PWD}`; export s; \
20010 CC="$(CC)"; export CC; \
20011 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20012 CXX="$(CXX)"; export CXX; \
20013 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20014 AR="$(AR)"; export AR; \
20015 AS="$(AS)"; export AS; \
20016 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20017 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20018 LD="$(LD)"; export LD; \
20019 NM="$(NM)"; export NM; \
20020 RANLIB="$(RANLIB)"; export RANLIB; \
20021 WINDRES="$(WINDRES)"; export WINDRES; \
20022 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20023 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20024 echo Configuring in make; \
20025 cd make || exit 1; \
20026 case $(srcdir) in \
20027 \.) \
20028 srcdiroption="--srcdir=."; \
20029 libsrcdir=".";; \
20030 /* | [A-Za-z]:[\\/]*) \
20031 srcdiroption="--srcdir=$(srcdir)/make"; \
20032 libsrcdir="$$s/make";; \
20033 *) \
20034 srcdiroption="--srcdir=../$(srcdir)/make"; \
20035 libsrcdir="$$s/make";; \
20036 esac; \
20037 $(SHELL) $${libsrcdir}/configure \
20038 $(HOST_CONFIGARGS) $${srcdiroption} \
20039 || exit 1
20041 .PHONY: all-make maybe-all-make
20042 maybe-all-make:
20043 all-make: configure-make
20044 @r=`${PWD}`; export r; \
20045 s=`cd $(srcdir); ${PWD}`; export s; \
20046 $(SET_LIB_PATH) \
20047 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
20049 .PHONY: check-make maybe-check-make
20050 maybe-check-make:
20052 check-make:
20053 @r=`${PWD}`; export r; \
20054 s=`cd $(srcdir); ${PWD}`; export s; \
20055 $(SET_LIB_PATH) \
20056 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
20059 .PHONY: install-make maybe-install-make
20060 maybe-install-make:
20062 install-make: installdirs
20063 @r=`${PWD}`; export r; \
20064 s=`cd $(srcdir); ${PWD}`; export s; \
20065 $(SET_LIB_PATH) \
20066 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
20069 .PHONY: configure-mmalloc maybe-configure-mmalloc
20070 maybe-configure-mmalloc:
20071 configure-mmalloc:
20072 @test ! -f mmalloc/Makefile || exit 0; \
20073 [ -d mmalloc ] || mkdir mmalloc; \
20074 r=`${PWD}`; export r; \
20075 s=`cd $(srcdir); ${PWD}`; export s; \
20076 CC="$(CC)"; export CC; \
20077 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20078 CXX="$(CXX)"; export CXX; \
20079 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20080 AR="$(AR)"; export AR; \
20081 AS="$(AS)"; export AS; \
20082 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20083 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20084 LD="$(LD)"; export LD; \
20085 NM="$(NM)"; export NM; \
20086 RANLIB="$(RANLIB)"; export RANLIB; \
20087 WINDRES="$(WINDRES)"; export WINDRES; \
20088 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20089 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20090 echo Configuring in mmalloc; \
20091 cd mmalloc || exit 1; \
20092 case $(srcdir) in \
20093 \.) \
20094 srcdiroption="--srcdir=."; \
20095 libsrcdir=".";; \
20096 /* | [A-Za-z]:[\\/]*) \
20097 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
20098 libsrcdir="$$s/mmalloc";; \
20099 *) \
20100 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
20101 libsrcdir="$$s/mmalloc";; \
20102 esac; \
20103 $(SHELL) $${libsrcdir}/configure \
20104 $(HOST_CONFIGARGS) $${srcdiroption} \
20105 || exit 1
20107 .PHONY: all-mmalloc maybe-all-mmalloc
20108 maybe-all-mmalloc:
20109 all-mmalloc: configure-mmalloc
20110 @r=`${PWD}`; export r; \
20111 s=`cd $(srcdir); ${PWD}`; export s; \
20112 $(SET_LIB_PATH) \
20113 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
20115 .PHONY: check-mmalloc maybe-check-mmalloc
20116 maybe-check-mmalloc:
20118 check-mmalloc:
20121 .PHONY: install-mmalloc maybe-install-mmalloc
20122 maybe-install-mmalloc:
20124 install-mmalloc: installdirs
20125 @r=`${PWD}`; export r; \
20126 s=`cd $(srcdir); ${PWD}`; export s; \
20127 $(SET_LIB_PATH) \
20128 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
20131 .PHONY: configure-patch maybe-configure-patch
20132 maybe-configure-patch:
20133 configure-patch:
20134 @test ! -f patch/Makefile || exit 0; \
20135 [ -d patch ] || mkdir patch; \
20136 r=`${PWD}`; export r; \
20137 s=`cd $(srcdir); ${PWD}`; export s; \
20138 CC="$(CC)"; export CC; \
20139 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20140 CXX="$(CXX)"; export CXX; \
20141 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20142 AR="$(AR)"; export AR; \
20143 AS="$(AS)"; export AS; \
20144 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20145 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20146 LD="$(LD)"; export LD; \
20147 NM="$(NM)"; export NM; \
20148 RANLIB="$(RANLIB)"; export RANLIB; \
20149 WINDRES="$(WINDRES)"; export WINDRES; \
20150 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20151 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20152 echo Configuring in patch; \
20153 cd patch || exit 1; \
20154 case $(srcdir) in \
20155 \.) \
20156 srcdiroption="--srcdir=."; \
20157 libsrcdir=".";; \
20158 /* | [A-Za-z]:[\\/]*) \
20159 srcdiroption="--srcdir=$(srcdir)/patch"; \
20160 libsrcdir="$$s/patch";; \
20161 *) \
20162 srcdiroption="--srcdir=../$(srcdir)/patch"; \
20163 libsrcdir="$$s/patch";; \
20164 esac; \
20165 $(SHELL) $${libsrcdir}/configure \
20166 $(HOST_CONFIGARGS) $${srcdiroption} \
20167 || exit 1
20169 .PHONY: all-patch maybe-all-patch
20170 maybe-all-patch:
20171 all-patch: configure-patch
20172 @r=`${PWD}`; export r; \
20173 s=`cd $(srcdir); ${PWD}`; export s; \
20174 $(SET_LIB_PATH) \
20175 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
20177 .PHONY: check-patch maybe-check-patch
20178 maybe-check-patch:
20180 check-patch:
20181 @r=`${PWD}`; export r; \
20182 s=`cd $(srcdir); ${PWD}`; export s; \
20183 $(SET_LIB_PATH) \
20184 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
20187 .PHONY: install-patch maybe-install-patch
20188 maybe-install-patch:
20190 install-patch: installdirs
20191 @r=`${PWD}`; export r; \
20192 s=`cd $(srcdir); ${PWD}`; export s; \
20193 $(SET_LIB_PATH) \
20194 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
20197 .PHONY: configure-perl maybe-configure-perl
20198 maybe-configure-perl:
20199 configure-perl:
20200 @test ! -f perl/Makefile || exit 0; \
20201 [ -d perl ] || mkdir perl; \
20202 r=`${PWD}`; export r; \
20203 s=`cd $(srcdir); ${PWD}`; export s; \
20204 CC="$(CC)"; export CC; \
20205 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20206 CXX="$(CXX)"; export CXX; \
20207 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20208 AR="$(AR)"; export AR; \
20209 AS="$(AS)"; export AS; \
20210 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20211 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20212 LD="$(LD)"; export LD; \
20213 NM="$(NM)"; export NM; \
20214 RANLIB="$(RANLIB)"; export RANLIB; \
20215 WINDRES="$(WINDRES)"; export WINDRES; \
20216 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20217 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20218 echo Configuring in perl; \
20219 cd perl || exit 1; \
20220 case $(srcdir) in \
20221 \.) \
20222 srcdiroption="--srcdir=."; \
20223 libsrcdir=".";; \
20224 /* | [A-Za-z]:[\\/]*) \
20225 srcdiroption="--srcdir=$(srcdir)/perl"; \
20226 libsrcdir="$$s/perl";; \
20227 *) \
20228 srcdiroption="--srcdir=../$(srcdir)/perl"; \
20229 libsrcdir="$$s/perl";; \
20230 esac; \
20231 $(SHELL) $${libsrcdir}/configure \
20232 $(HOST_CONFIGARGS) $${srcdiroption} \
20233 || exit 1
20235 .PHONY: all-perl maybe-all-perl
20236 maybe-all-perl:
20237 all-perl: configure-perl
20238 @r=`${PWD}`; export r; \
20239 s=`cd $(srcdir); ${PWD}`; export s; \
20240 $(SET_LIB_PATH) \
20241 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
20243 .PHONY: check-perl maybe-check-perl
20244 maybe-check-perl:
20246 check-perl:
20247 @r=`${PWD}`; export r; \
20248 s=`cd $(srcdir); ${PWD}`; export s; \
20249 $(SET_LIB_PATH) \
20250 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
20253 .PHONY: install-perl maybe-install-perl
20254 maybe-install-perl:
20256 install-perl: installdirs
20257 @r=`${PWD}`; export r; \
20258 s=`cd $(srcdir); ${PWD}`; export s; \
20259 $(SET_LIB_PATH) \
20260 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
20263 .PHONY: configure-prms maybe-configure-prms
20264 maybe-configure-prms:
20265 configure-prms:
20266 @test ! -f prms/Makefile || exit 0; \
20267 [ -d prms ] || mkdir prms; \
20268 r=`${PWD}`; export r; \
20269 s=`cd $(srcdir); ${PWD}`; export s; \
20270 CC="$(CC)"; export CC; \
20271 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20272 CXX="$(CXX)"; export CXX; \
20273 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20274 AR="$(AR)"; export AR; \
20275 AS="$(AS)"; export AS; \
20276 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20277 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20278 LD="$(LD)"; export LD; \
20279 NM="$(NM)"; export NM; \
20280 RANLIB="$(RANLIB)"; export RANLIB; \
20281 WINDRES="$(WINDRES)"; export WINDRES; \
20282 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20283 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20284 echo Configuring in prms; \
20285 cd prms || exit 1; \
20286 case $(srcdir) in \
20287 \.) \
20288 srcdiroption="--srcdir=."; \
20289 libsrcdir=".";; \
20290 /* | [A-Za-z]:[\\/]*) \
20291 srcdiroption="--srcdir=$(srcdir)/prms"; \
20292 libsrcdir="$$s/prms";; \
20293 *) \
20294 srcdiroption="--srcdir=../$(srcdir)/prms"; \
20295 libsrcdir="$$s/prms";; \
20296 esac; \
20297 $(SHELL) $${libsrcdir}/configure \
20298 $(HOST_CONFIGARGS) $${srcdiroption} \
20299 || exit 1
20301 .PHONY: all-prms maybe-all-prms
20302 maybe-all-prms:
20303 all-prms: configure-prms
20304 @r=`${PWD}`; export r; \
20305 s=`cd $(srcdir); ${PWD}`; export s; \
20306 $(SET_LIB_PATH) \
20307 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
20309 .PHONY: check-prms maybe-check-prms
20310 maybe-check-prms:
20312 check-prms:
20313 @r=`${PWD}`; export r; \
20314 s=`cd $(srcdir); ${PWD}`; export s; \
20315 $(SET_LIB_PATH) \
20316 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
20319 .PHONY: install-prms maybe-install-prms
20320 maybe-install-prms:
20322 install-prms: installdirs
20323 @r=`${PWD}`; export r; \
20324 s=`cd $(srcdir); ${PWD}`; export s; \
20325 $(SET_LIB_PATH) \
20326 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
20329 .PHONY: configure-rcs maybe-configure-rcs
20330 maybe-configure-rcs:
20331 configure-rcs:
20332 @test ! -f rcs/Makefile || exit 0; \
20333 [ -d rcs ] || mkdir rcs; \
20334 r=`${PWD}`; export r; \
20335 s=`cd $(srcdir); ${PWD}`; export s; \
20336 CC="$(CC)"; export CC; \
20337 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20338 CXX="$(CXX)"; export CXX; \
20339 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20340 AR="$(AR)"; export AR; \
20341 AS="$(AS)"; export AS; \
20342 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20343 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20344 LD="$(LD)"; export LD; \
20345 NM="$(NM)"; export NM; \
20346 RANLIB="$(RANLIB)"; export RANLIB; \
20347 WINDRES="$(WINDRES)"; export WINDRES; \
20348 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20349 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20350 echo Configuring in rcs; \
20351 cd rcs || exit 1; \
20352 case $(srcdir) in \
20353 \.) \
20354 srcdiroption="--srcdir=."; \
20355 libsrcdir=".";; \
20356 /* | [A-Za-z]:[\\/]*) \
20357 srcdiroption="--srcdir=$(srcdir)/rcs"; \
20358 libsrcdir="$$s/rcs";; \
20359 *) \
20360 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
20361 libsrcdir="$$s/rcs";; \
20362 esac; \
20363 $(SHELL) $${libsrcdir}/configure \
20364 $(HOST_CONFIGARGS) $${srcdiroption} \
20365 || exit 1
20367 .PHONY: all-rcs maybe-all-rcs
20368 maybe-all-rcs:
20369 all-rcs: configure-rcs
20370 @r=`${PWD}`; export r; \
20371 s=`cd $(srcdir); ${PWD}`; export s; \
20372 $(SET_LIB_PATH) \
20373 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
20375 .PHONY: check-rcs maybe-check-rcs
20376 maybe-check-rcs:
20378 check-rcs:
20379 @r=`${PWD}`; export r; \
20380 s=`cd $(srcdir); ${PWD}`; export s; \
20381 $(SET_LIB_PATH) \
20382 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
20385 .PHONY: install-rcs maybe-install-rcs
20386 maybe-install-rcs:
20388 install-rcs: installdirs
20389 @r=`${PWD}`; export r; \
20390 s=`cd $(srcdir); ${PWD}`; export s; \
20391 $(SET_LIB_PATH) \
20392 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
20395 .PHONY: configure-readline maybe-configure-readline
20396 maybe-configure-readline:
20397 configure-readline:
20398 @test ! -f readline/Makefile || exit 0; \
20399 [ -d readline ] || mkdir readline; \
20400 r=`${PWD}`; export r; \
20401 s=`cd $(srcdir); ${PWD}`; export s; \
20402 CC="$(CC)"; export CC; \
20403 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20404 CXX="$(CXX)"; export CXX; \
20405 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20406 AR="$(AR)"; export AR; \
20407 AS="$(AS)"; export AS; \
20408 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20409 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20410 LD="$(LD)"; export LD; \
20411 NM="$(NM)"; export NM; \
20412 RANLIB="$(RANLIB)"; export RANLIB; \
20413 WINDRES="$(WINDRES)"; export WINDRES; \
20414 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20415 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20416 echo Configuring in readline; \
20417 cd readline || exit 1; \
20418 case $(srcdir) in \
20419 \.) \
20420 srcdiroption="--srcdir=."; \
20421 libsrcdir=".";; \
20422 /* | [A-Za-z]:[\\/]*) \
20423 srcdiroption="--srcdir=$(srcdir)/readline"; \
20424 libsrcdir="$$s/readline";; \
20425 *) \
20426 srcdiroption="--srcdir=../$(srcdir)/readline"; \
20427 libsrcdir="$$s/readline";; \
20428 esac; \
20429 $(SHELL) $${libsrcdir}/configure \
20430 $(HOST_CONFIGARGS) $${srcdiroption} \
20431 || exit 1
20433 .PHONY: all-readline maybe-all-readline
20434 maybe-all-readline:
20435 all-readline: configure-readline
20436 @r=`${PWD}`; export r; \
20437 s=`cd $(srcdir); ${PWD}`; export s; \
20438 $(SET_LIB_PATH) \
20439 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
20441 .PHONY: check-readline maybe-check-readline
20442 maybe-check-readline:
20444 check-readline:
20445 @r=`${PWD}`; export r; \
20446 s=`cd $(srcdir); ${PWD}`; export s; \
20447 $(SET_LIB_PATH) \
20448 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
20451 .PHONY: install-readline maybe-install-readline
20452 maybe-install-readline:
20454 install-readline: installdirs
20455 @r=`${PWD}`; export r; \
20456 s=`cd $(srcdir); ${PWD}`; export s; \
20457 $(SET_LIB_PATH) \
20458 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
20461 .PHONY: configure-release maybe-configure-release
20462 maybe-configure-release:
20463 configure-release:
20464 @test ! -f release/Makefile || exit 0; \
20465 [ -d release ] || mkdir release; \
20466 r=`${PWD}`; export r; \
20467 s=`cd $(srcdir); ${PWD}`; export s; \
20468 CC="$(CC)"; export CC; \
20469 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20470 CXX="$(CXX)"; export CXX; \
20471 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20472 AR="$(AR)"; export AR; \
20473 AS="$(AS)"; export AS; \
20474 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20475 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20476 LD="$(LD)"; export LD; \
20477 NM="$(NM)"; export NM; \
20478 RANLIB="$(RANLIB)"; export RANLIB; \
20479 WINDRES="$(WINDRES)"; export WINDRES; \
20480 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20481 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20482 echo Configuring in release; \
20483 cd release || exit 1; \
20484 case $(srcdir) in \
20485 \.) \
20486 srcdiroption="--srcdir=."; \
20487 libsrcdir=".";; \
20488 /* | [A-Za-z]:[\\/]*) \
20489 srcdiroption="--srcdir=$(srcdir)/release"; \
20490 libsrcdir="$$s/release";; \
20491 *) \
20492 srcdiroption="--srcdir=../$(srcdir)/release"; \
20493 libsrcdir="$$s/release";; \
20494 esac; \
20495 $(SHELL) $${libsrcdir}/configure \
20496 $(HOST_CONFIGARGS) $${srcdiroption} \
20497 || exit 1
20499 .PHONY: all-release maybe-all-release
20500 maybe-all-release:
20501 all-release: configure-release
20502 @r=`${PWD}`; export r; \
20503 s=`cd $(srcdir); ${PWD}`; export s; \
20504 $(SET_LIB_PATH) \
20505 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
20507 .PHONY: check-release maybe-check-release
20508 maybe-check-release:
20510 check-release:
20513 .PHONY: install-release maybe-install-release
20514 maybe-install-release:
20516 install-release:
20519 .PHONY: configure-recode maybe-configure-recode
20520 maybe-configure-recode:
20521 configure-recode:
20522 @test ! -f recode/Makefile || exit 0; \
20523 [ -d recode ] || mkdir recode; \
20524 r=`${PWD}`; export r; \
20525 s=`cd $(srcdir); ${PWD}`; export s; \
20526 CC="$(CC)"; export CC; \
20527 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20528 CXX="$(CXX)"; export CXX; \
20529 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20530 AR="$(AR)"; export AR; \
20531 AS="$(AS)"; export AS; \
20532 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20533 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20534 LD="$(LD)"; export LD; \
20535 NM="$(NM)"; export NM; \
20536 RANLIB="$(RANLIB)"; export RANLIB; \
20537 WINDRES="$(WINDRES)"; export WINDRES; \
20538 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20539 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20540 echo Configuring in recode; \
20541 cd recode || exit 1; \
20542 case $(srcdir) in \
20543 \.) \
20544 srcdiroption="--srcdir=."; \
20545 libsrcdir=".";; \
20546 /* | [A-Za-z]:[\\/]*) \
20547 srcdiroption="--srcdir=$(srcdir)/recode"; \
20548 libsrcdir="$$s/recode";; \
20549 *) \
20550 srcdiroption="--srcdir=../$(srcdir)/recode"; \
20551 libsrcdir="$$s/recode";; \
20552 esac; \
20553 $(SHELL) $${libsrcdir}/configure \
20554 $(HOST_CONFIGARGS) $${srcdiroption} \
20555 || exit 1
20557 .PHONY: all-recode maybe-all-recode
20558 maybe-all-recode:
20559 all-recode: configure-recode
20560 @r=`${PWD}`; export r; \
20561 s=`cd $(srcdir); ${PWD}`; export s; \
20562 $(SET_LIB_PATH) \
20563 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
20565 .PHONY: check-recode maybe-check-recode
20566 maybe-check-recode:
20568 check-recode:
20569 @r=`${PWD}`; export r; \
20570 s=`cd $(srcdir); ${PWD}`; export s; \
20571 $(SET_LIB_PATH) \
20572 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
20575 .PHONY: install-recode maybe-install-recode
20576 maybe-install-recode:
20578 install-recode: installdirs
20579 @r=`${PWD}`; export r; \
20580 s=`cd $(srcdir); ${PWD}`; export s; \
20581 $(SET_LIB_PATH) \
20582 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
20585 .PHONY: configure-sed maybe-configure-sed
20586 maybe-configure-sed:
20587 configure-sed:
20588 @test ! -f sed/Makefile || exit 0; \
20589 [ -d sed ] || mkdir sed; \
20590 r=`${PWD}`; export r; \
20591 s=`cd $(srcdir); ${PWD}`; export s; \
20592 CC="$(CC)"; export CC; \
20593 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20594 CXX="$(CXX)"; export CXX; \
20595 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20596 AR="$(AR)"; export AR; \
20597 AS="$(AS)"; export AS; \
20598 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20599 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20600 LD="$(LD)"; export LD; \
20601 NM="$(NM)"; export NM; \
20602 RANLIB="$(RANLIB)"; export RANLIB; \
20603 WINDRES="$(WINDRES)"; export WINDRES; \
20604 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20605 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20606 echo Configuring in sed; \
20607 cd sed || exit 1; \
20608 case $(srcdir) in \
20609 \.) \
20610 srcdiroption="--srcdir=."; \
20611 libsrcdir=".";; \
20612 /* | [A-Za-z]:[\\/]*) \
20613 srcdiroption="--srcdir=$(srcdir)/sed"; \
20614 libsrcdir="$$s/sed";; \
20615 *) \
20616 srcdiroption="--srcdir=../$(srcdir)/sed"; \
20617 libsrcdir="$$s/sed";; \
20618 esac; \
20619 $(SHELL) $${libsrcdir}/configure \
20620 $(HOST_CONFIGARGS) $${srcdiroption} \
20621 || exit 1
20623 .PHONY: all-sed maybe-all-sed
20624 maybe-all-sed:
20625 all-sed: configure-sed
20626 @r=`${PWD}`; export r; \
20627 s=`cd $(srcdir); ${PWD}`; export s; \
20628 $(SET_LIB_PATH) \
20629 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
20631 .PHONY: check-sed maybe-check-sed
20632 maybe-check-sed:
20634 check-sed:
20635 @r=`${PWD}`; export r; \
20636 s=`cd $(srcdir); ${PWD}`; export s; \
20637 $(SET_LIB_PATH) \
20638 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
20641 .PHONY: install-sed maybe-install-sed
20642 maybe-install-sed:
20644 install-sed: installdirs
20645 @r=`${PWD}`; export r; \
20646 s=`cd $(srcdir); ${PWD}`; export s; \
20647 $(SET_LIB_PATH) \
20648 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
20651 .PHONY: configure-send-pr maybe-configure-send-pr
20652 maybe-configure-send-pr:
20653 configure-send-pr:
20654 @test ! -f send-pr/Makefile || exit 0; \
20655 [ -d send-pr ] || mkdir send-pr; \
20656 r=`${PWD}`; export r; \
20657 s=`cd $(srcdir); ${PWD}`; export s; \
20658 CC="$(CC)"; export CC; \
20659 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20660 CXX="$(CXX)"; export CXX; \
20661 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20662 AR="$(AR)"; export AR; \
20663 AS="$(AS)"; export AS; \
20664 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20665 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20666 LD="$(LD)"; export LD; \
20667 NM="$(NM)"; export NM; \
20668 RANLIB="$(RANLIB)"; export RANLIB; \
20669 WINDRES="$(WINDRES)"; export WINDRES; \
20670 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20671 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20672 echo Configuring in send-pr; \
20673 cd send-pr || exit 1; \
20674 case $(srcdir) in \
20675 \.) \
20676 srcdiroption="--srcdir=."; \
20677 libsrcdir=".";; \
20678 /* | [A-Za-z]:[\\/]*) \
20679 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
20680 libsrcdir="$$s/send-pr";; \
20681 *) \
20682 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
20683 libsrcdir="$$s/send-pr";; \
20684 esac; \
20685 $(SHELL) $${libsrcdir}/configure \
20686 $(HOST_CONFIGARGS) $${srcdiroption} \
20687 || exit 1
20689 .PHONY: all-send-pr maybe-all-send-pr
20690 maybe-all-send-pr:
20691 all-send-pr: configure-send-pr
20692 @r=`${PWD}`; export r; \
20693 s=`cd $(srcdir); ${PWD}`; export s; \
20694 $(SET_LIB_PATH) \
20695 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
20697 .PHONY: check-send-pr maybe-check-send-pr
20698 maybe-check-send-pr:
20700 check-send-pr:
20701 @r=`${PWD}`; export r; \
20702 s=`cd $(srcdir); ${PWD}`; export s; \
20703 $(SET_LIB_PATH) \
20704 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
20707 .PHONY: install-send-pr maybe-install-send-pr
20708 maybe-install-send-pr:
20710 install-send-pr: installdirs
20711 @r=`${PWD}`; export r; \
20712 s=`cd $(srcdir); ${PWD}`; export s; \
20713 $(SET_LIB_PATH) \
20714 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
20717 .PHONY: configure-shellutils maybe-configure-shellutils
20718 maybe-configure-shellutils:
20719 configure-shellutils:
20720 @test ! -f shellutils/Makefile || exit 0; \
20721 [ -d shellutils ] || mkdir shellutils; \
20722 r=`${PWD}`; export r; \
20723 s=`cd $(srcdir); ${PWD}`; export s; \
20724 CC="$(CC)"; export CC; \
20725 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20726 CXX="$(CXX)"; export CXX; \
20727 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20728 AR="$(AR)"; export AR; \
20729 AS="$(AS)"; export AS; \
20730 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20731 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20732 LD="$(LD)"; export LD; \
20733 NM="$(NM)"; export NM; \
20734 RANLIB="$(RANLIB)"; export RANLIB; \
20735 WINDRES="$(WINDRES)"; export WINDRES; \
20736 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20737 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20738 echo Configuring in shellutils; \
20739 cd shellutils || exit 1; \
20740 case $(srcdir) in \
20741 \.) \
20742 srcdiroption="--srcdir=."; \
20743 libsrcdir=".";; \
20744 /* | [A-Za-z]:[\\/]*) \
20745 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
20746 libsrcdir="$$s/shellutils";; \
20747 *) \
20748 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
20749 libsrcdir="$$s/shellutils";; \
20750 esac; \
20751 $(SHELL) $${libsrcdir}/configure \
20752 $(HOST_CONFIGARGS) $${srcdiroption} \
20753 || exit 1
20755 .PHONY: all-shellutils maybe-all-shellutils
20756 maybe-all-shellutils:
20757 all-shellutils: configure-shellutils
20758 @r=`${PWD}`; export r; \
20759 s=`cd $(srcdir); ${PWD}`; export s; \
20760 $(SET_LIB_PATH) \
20761 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
20763 .PHONY: check-shellutils maybe-check-shellutils
20764 maybe-check-shellutils:
20766 check-shellutils:
20767 @r=`${PWD}`; export r; \
20768 s=`cd $(srcdir); ${PWD}`; export s; \
20769 $(SET_LIB_PATH) \
20770 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
20773 .PHONY: install-shellutils maybe-install-shellutils
20774 maybe-install-shellutils:
20776 install-shellutils: installdirs
20777 @r=`${PWD}`; export r; \
20778 s=`cd $(srcdir); ${PWD}`; export s; \
20779 $(SET_LIB_PATH) \
20780 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
20783 .PHONY: configure-sid maybe-configure-sid
20784 maybe-configure-sid:
20785 configure-sid:
20786 @test ! -f sid/Makefile || exit 0; \
20787 [ -d sid ] || mkdir sid; \
20788 r=`${PWD}`; export r; \
20789 s=`cd $(srcdir); ${PWD}`; export s; \
20790 CC="$(CC)"; export CC; \
20791 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20792 CXX="$(CXX)"; export CXX; \
20793 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20794 AR="$(AR)"; export AR; \
20795 AS="$(AS)"; export AS; \
20796 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20797 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20798 LD="$(LD)"; export LD; \
20799 NM="$(NM)"; export NM; \
20800 RANLIB="$(RANLIB)"; export RANLIB; \
20801 WINDRES="$(WINDRES)"; export WINDRES; \
20802 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20803 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20804 echo Configuring in sid; \
20805 cd sid || exit 1; \
20806 case $(srcdir) in \
20807 \.) \
20808 srcdiroption="--srcdir=."; \
20809 libsrcdir=".";; \
20810 /* | [A-Za-z]:[\\/]*) \
20811 srcdiroption="--srcdir=$(srcdir)/sid"; \
20812 libsrcdir="$$s/sid";; \
20813 *) \
20814 srcdiroption="--srcdir=../$(srcdir)/sid"; \
20815 libsrcdir="$$s/sid";; \
20816 esac; \
20817 $(SHELL) $${libsrcdir}/configure \
20818 $(HOST_CONFIGARGS) $${srcdiroption} \
20819 || exit 1
20821 .PHONY: all-sid maybe-all-sid
20822 maybe-all-sid:
20823 all-sid: configure-sid
20824 @r=`${PWD}`; export r; \
20825 s=`cd $(srcdir); ${PWD}`; export s; \
20826 $(SET_LIB_PATH) \
20827 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
20829 .PHONY: check-sid maybe-check-sid
20830 maybe-check-sid:
20832 check-sid:
20833 @r=`${PWD}`; export r; \
20834 s=`cd $(srcdir); ${PWD}`; export s; \
20835 $(SET_LIB_PATH) \
20836 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
20839 .PHONY: install-sid maybe-install-sid
20840 maybe-install-sid:
20842 install-sid: installdirs
20843 @r=`${PWD}`; export r; \
20844 s=`cd $(srcdir); ${PWD}`; export s; \
20845 $(SET_LIB_PATH) \
20846 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
20849 .PHONY: configure-sim maybe-configure-sim
20850 maybe-configure-sim:
20851 configure-sim:
20852 @test ! -f sim/Makefile || exit 0; \
20853 [ -d sim ] || mkdir sim; \
20854 r=`${PWD}`; export r; \
20855 s=`cd $(srcdir); ${PWD}`; export s; \
20856 CC="$(CC)"; export CC; \
20857 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20858 CXX="$(CXX)"; export CXX; \
20859 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20860 AR="$(AR)"; export AR; \
20861 AS="$(AS)"; export AS; \
20862 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20863 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20864 LD="$(LD)"; export LD; \
20865 NM="$(NM)"; export NM; \
20866 RANLIB="$(RANLIB)"; export RANLIB; \
20867 WINDRES="$(WINDRES)"; export WINDRES; \
20868 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20869 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20870 echo Configuring in sim; \
20871 cd sim || exit 1; \
20872 case $(srcdir) in \
20873 \.) \
20874 srcdiroption="--srcdir=."; \
20875 libsrcdir=".";; \
20876 /* | [A-Za-z]:[\\/]*) \
20877 srcdiroption="--srcdir=$(srcdir)/sim"; \
20878 libsrcdir="$$s/sim";; \
20879 *) \
20880 srcdiroption="--srcdir=../$(srcdir)/sim"; \
20881 libsrcdir="$$s/sim";; \
20882 esac; \
20883 $(SHELL) $${libsrcdir}/configure \
20884 $(HOST_CONFIGARGS) $${srcdiroption} \
20885 || exit 1
20887 .PHONY: all-sim maybe-all-sim
20888 maybe-all-sim:
20889 all-sim: configure-sim
20890 @r=`${PWD}`; export r; \
20891 s=`cd $(srcdir); ${PWD}`; export s; \
20892 $(SET_LIB_PATH) \
20893 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
20895 .PHONY: check-sim maybe-check-sim
20896 maybe-check-sim:
20898 check-sim:
20899 @r=`${PWD}`; export r; \
20900 s=`cd $(srcdir); ${PWD}`; export s; \
20901 $(SET_LIB_PATH) \
20902 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
20905 .PHONY: install-sim maybe-install-sim
20906 maybe-install-sim:
20908 install-sim: installdirs
20909 @r=`${PWD}`; export r; \
20910 s=`cd $(srcdir); ${PWD}`; export s; \
20911 $(SET_LIB_PATH) \
20912 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
20915 .PHONY: configure-tar maybe-configure-tar
20916 maybe-configure-tar:
20917 configure-tar:
20918 @test ! -f tar/Makefile || exit 0; \
20919 [ -d tar ] || mkdir tar; \
20920 r=`${PWD}`; export r; \
20921 s=`cd $(srcdir); ${PWD}`; export s; \
20922 CC="$(CC)"; export CC; \
20923 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20924 CXX="$(CXX)"; export CXX; \
20925 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20926 AR="$(AR)"; export AR; \
20927 AS="$(AS)"; export AS; \
20928 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20929 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20930 LD="$(LD)"; export LD; \
20931 NM="$(NM)"; export NM; \
20932 RANLIB="$(RANLIB)"; export RANLIB; \
20933 WINDRES="$(WINDRES)"; export WINDRES; \
20934 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20935 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20936 echo Configuring in tar; \
20937 cd tar || exit 1; \
20938 case $(srcdir) in \
20939 \.) \
20940 srcdiroption="--srcdir=."; \
20941 libsrcdir=".";; \
20942 /* | [A-Za-z]:[\\/]*) \
20943 srcdiroption="--srcdir=$(srcdir)/tar"; \
20944 libsrcdir="$$s/tar";; \
20945 *) \
20946 srcdiroption="--srcdir=../$(srcdir)/tar"; \
20947 libsrcdir="$$s/tar";; \
20948 esac; \
20949 $(SHELL) $${libsrcdir}/configure \
20950 $(HOST_CONFIGARGS) $${srcdiroption} \
20951 || exit 1
20953 .PHONY: all-tar maybe-all-tar
20954 maybe-all-tar:
20955 all-tar: configure-tar
20956 @r=`${PWD}`; export r; \
20957 s=`cd $(srcdir); ${PWD}`; export s; \
20958 $(SET_LIB_PATH) \
20959 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
20961 .PHONY: check-tar maybe-check-tar
20962 maybe-check-tar:
20964 check-tar:
20965 @r=`${PWD}`; export r; \
20966 s=`cd $(srcdir); ${PWD}`; export s; \
20967 $(SET_LIB_PATH) \
20968 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
20971 .PHONY: install-tar maybe-install-tar
20972 maybe-install-tar:
20974 install-tar: installdirs
20975 @r=`${PWD}`; export r; \
20976 s=`cd $(srcdir); ${PWD}`; export s; \
20977 $(SET_LIB_PATH) \
20978 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
20981 .PHONY: configure-texinfo maybe-configure-texinfo
20982 maybe-configure-texinfo:
20983 configure-texinfo:
20984 @test ! -f texinfo/Makefile || exit 0; \
20985 [ -d texinfo ] || mkdir texinfo; \
20986 r=`${PWD}`; export r; \
20987 s=`cd $(srcdir); ${PWD}`; export s; \
20988 CC="$(CC)"; export CC; \
20989 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20990 CXX="$(CXX)"; export CXX; \
20991 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20992 AR="$(AR)"; export AR; \
20993 AS="$(AS)"; export AS; \
20994 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20995 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20996 LD="$(LD)"; export LD; \
20997 NM="$(NM)"; export NM; \
20998 RANLIB="$(RANLIB)"; export RANLIB; \
20999 WINDRES="$(WINDRES)"; export WINDRES; \
21000 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21001 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21002 echo Configuring in texinfo; \
21003 cd texinfo || exit 1; \
21004 case $(srcdir) in \
21005 \.) \
21006 srcdiroption="--srcdir=."; \
21007 libsrcdir=".";; \
21008 /* | [A-Za-z]:[\\/]*) \
21009 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
21010 libsrcdir="$$s/texinfo";; \
21011 *) \
21012 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
21013 libsrcdir="$$s/texinfo";; \
21014 esac; \
21015 $(SHELL) $${libsrcdir}/configure \
21016 $(HOST_CONFIGARGS) $${srcdiroption} \
21017 || exit 1
21019 .PHONY: all-texinfo maybe-all-texinfo
21020 maybe-all-texinfo:
21021 all-texinfo: configure-texinfo
21022 @r=`${PWD}`; export r; \
21023 s=`cd $(srcdir); ${PWD}`; export s; \
21024 $(SET_LIB_PATH) \
21025 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
21027 .PHONY: check-texinfo maybe-check-texinfo
21028 maybe-check-texinfo:
21030 check-texinfo:
21031 @r=`${PWD}`; export r; \
21032 s=`cd $(srcdir); ${PWD}`; export s; \
21033 $(SET_LIB_PATH) \
21034 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
21037 .PHONY: install-texinfo maybe-install-texinfo
21038 maybe-install-texinfo:
21040 install-texinfo:
21043 .PHONY: configure-textutils maybe-configure-textutils
21044 maybe-configure-textutils:
21045 configure-textutils:
21046 @test ! -f textutils/Makefile || exit 0; \
21047 [ -d textutils ] || mkdir textutils; \
21048 r=`${PWD}`; export r; \
21049 s=`cd $(srcdir); ${PWD}`; export s; \
21050 CC="$(CC)"; export CC; \
21051 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21052 CXX="$(CXX)"; export CXX; \
21053 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21054 AR="$(AR)"; export AR; \
21055 AS="$(AS)"; export AS; \
21056 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21057 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21058 LD="$(LD)"; export LD; \
21059 NM="$(NM)"; export NM; \
21060 RANLIB="$(RANLIB)"; export RANLIB; \
21061 WINDRES="$(WINDRES)"; export WINDRES; \
21062 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21063 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21064 echo Configuring in textutils; \
21065 cd textutils || exit 1; \
21066 case $(srcdir) in \
21067 \.) \
21068 srcdiroption="--srcdir=."; \
21069 libsrcdir=".";; \
21070 /* | [A-Za-z]:[\\/]*) \
21071 srcdiroption="--srcdir=$(srcdir)/textutils"; \
21072 libsrcdir="$$s/textutils";; \
21073 *) \
21074 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
21075 libsrcdir="$$s/textutils";; \
21076 esac; \
21077 $(SHELL) $${libsrcdir}/configure \
21078 $(HOST_CONFIGARGS) $${srcdiroption} \
21079 || exit 1
21081 .PHONY: all-textutils maybe-all-textutils
21082 maybe-all-textutils:
21083 all-textutils: configure-textutils
21084 @r=`${PWD}`; export r; \
21085 s=`cd $(srcdir); ${PWD}`; export s; \
21086 $(SET_LIB_PATH) \
21087 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
21089 .PHONY: check-textutils maybe-check-textutils
21090 maybe-check-textutils:
21092 check-textutils:
21093 @r=`${PWD}`; export r; \
21094 s=`cd $(srcdir); ${PWD}`; export s; \
21095 $(SET_LIB_PATH) \
21096 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
21099 .PHONY: install-textutils maybe-install-textutils
21100 maybe-install-textutils:
21102 install-textutils: installdirs
21103 @r=`${PWD}`; export r; \
21104 s=`cd $(srcdir); ${PWD}`; export s; \
21105 $(SET_LIB_PATH) \
21106 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
21109 .PHONY: configure-time maybe-configure-time
21110 maybe-configure-time:
21111 configure-time:
21112 @test ! -f time/Makefile || exit 0; \
21113 [ -d time ] || mkdir time; \
21114 r=`${PWD}`; export r; \
21115 s=`cd $(srcdir); ${PWD}`; export s; \
21116 CC="$(CC)"; export CC; \
21117 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21118 CXX="$(CXX)"; export CXX; \
21119 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21120 AR="$(AR)"; export AR; \
21121 AS="$(AS)"; export AS; \
21122 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21123 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21124 LD="$(LD)"; export LD; \
21125 NM="$(NM)"; export NM; \
21126 RANLIB="$(RANLIB)"; export RANLIB; \
21127 WINDRES="$(WINDRES)"; export WINDRES; \
21128 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21129 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21130 echo Configuring in time; \
21131 cd time || exit 1; \
21132 case $(srcdir) in \
21133 \.) \
21134 srcdiroption="--srcdir=."; \
21135 libsrcdir=".";; \
21136 /* | [A-Za-z]:[\\/]*) \
21137 srcdiroption="--srcdir=$(srcdir)/time"; \
21138 libsrcdir="$$s/time";; \
21139 *) \
21140 srcdiroption="--srcdir=../$(srcdir)/time"; \
21141 libsrcdir="$$s/time";; \
21142 esac; \
21143 $(SHELL) $${libsrcdir}/configure \
21144 $(HOST_CONFIGARGS) $${srcdiroption} \
21145 || exit 1
21147 .PHONY: all-time maybe-all-time
21148 maybe-all-time:
21149 all-time: configure-time
21150 @r=`${PWD}`; export r; \
21151 s=`cd $(srcdir); ${PWD}`; export s; \
21152 $(SET_LIB_PATH) \
21153 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
21155 .PHONY: check-time maybe-check-time
21156 maybe-check-time:
21158 check-time:
21159 @r=`${PWD}`; export r; \
21160 s=`cd $(srcdir); ${PWD}`; export s; \
21161 $(SET_LIB_PATH) \
21162 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
21165 .PHONY: install-time maybe-install-time
21166 maybe-install-time:
21168 install-time: installdirs
21169 @r=`${PWD}`; export r; \
21170 s=`cd $(srcdir); ${PWD}`; export s; \
21171 $(SET_LIB_PATH) \
21172 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
21175 .PHONY: configure-uudecode maybe-configure-uudecode
21176 maybe-configure-uudecode:
21177 configure-uudecode:
21178 @test ! -f uudecode/Makefile || exit 0; \
21179 [ -d uudecode ] || mkdir uudecode; \
21180 r=`${PWD}`; export r; \
21181 s=`cd $(srcdir); ${PWD}`; export s; \
21182 CC="$(CC)"; export CC; \
21183 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21184 CXX="$(CXX)"; export CXX; \
21185 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21186 AR="$(AR)"; export AR; \
21187 AS="$(AS)"; export AS; \
21188 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21189 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21190 LD="$(LD)"; export LD; \
21191 NM="$(NM)"; export NM; \
21192 RANLIB="$(RANLIB)"; export RANLIB; \
21193 WINDRES="$(WINDRES)"; export WINDRES; \
21194 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21195 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21196 echo Configuring in uudecode; \
21197 cd uudecode || exit 1; \
21198 case $(srcdir) in \
21199 \.) \
21200 srcdiroption="--srcdir=."; \
21201 libsrcdir=".";; \
21202 /* | [A-Za-z]:[\\/]*) \
21203 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21204 libsrcdir="$$s/uudecode";; \
21205 *) \
21206 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21207 libsrcdir="$$s/uudecode";; \
21208 esac; \
21209 $(SHELL) $${libsrcdir}/configure \
21210 $(HOST_CONFIGARGS) $${srcdiroption} \
21211 || exit 1
21213 .PHONY: all-uudecode maybe-all-uudecode
21214 maybe-all-uudecode:
21215 all-uudecode: configure-uudecode
21216 @r=`${PWD}`; export r; \
21217 s=`cd $(srcdir); ${PWD}`; export s; \
21218 $(SET_LIB_PATH) \
21219 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
21221 .PHONY: check-uudecode maybe-check-uudecode
21222 maybe-check-uudecode:
21224 check-uudecode:
21225 @r=`${PWD}`; export r; \
21226 s=`cd $(srcdir); ${PWD}`; export s; \
21227 $(SET_LIB_PATH) \
21228 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21231 .PHONY: install-uudecode maybe-install-uudecode
21232 maybe-install-uudecode:
21234 install-uudecode: installdirs
21235 @r=`${PWD}`; export r; \
21236 s=`cd $(srcdir); ${PWD}`; export s; \
21237 $(SET_LIB_PATH) \
21238 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21241 .PHONY: configure-wdiff maybe-configure-wdiff
21242 maybe-configure-wdiff:
21243 configure-wdiff:
21244 @test ! -f wdiff/Makefile || exit 0; \
21245 [ -d wdiff ] || mkdir wdiff; \
21246 r=`${PWD}`; export r; \
21247 s=`cd $(srcdir); ${PWD}`; export s; \
21248 CC="$(CC)"; export CC; \
21249 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21250 CXX="$(CXX)"; export CXX; \
21251 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21252 AR="$(AR)"; export AR; \
21253 AS="$(AS)"; export AS; \
21254 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21255 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21256 LD="$(LD)"; export LD; \
21257 NM="$(NM)"; export NM; \
21258 RANLIB="$(RANLIB)"; export RANLIB; \
21259 WINDRES="$(WINDRES)"; export WINDRES; \
21260 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21261 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21262 echo Configuring in wdiff; \
21263 cd wdiff || exit 1; \
21264 case $(srcdir) in \
21265 \.) \
21266 srcdiroption="--srcdir=."; \
21267 libsrcdir=".";; \
21268 /* | [A-Za-z]:[\\/]*) \
21269 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21270 libsrcdir="$$s/wdiff";; \
21271 *) \
21272 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21273 libsrcdir="$$s/wdiff";; \
21274 esac; \
21275 $(SHELL) $${libsrcdir}/configure \
21276 $(HOST_CONFIGARGS) $${srcdiroption} \
21277 || exit 1
21279 .PHONY: all-wdiff maybe-all-wdiff
21280 maybe-all-wdiff:
21281 all-wdiff: configure-wdiff
21282 @r=`${PWD}`; export r; \
21283 s=`cd $(srcdir); ${PWD}`; export s; \
21284 $(SET_LIB_PATH) \
21285 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
21287 .PHONY: check-wdiff maybe-check-wdiff
21288 maybe-check-wdiff:
21290 check-wdiff:
21291 @r=`${PWD}`; export r; \
21292 s=`cd $(srcdir); ${PWD}`; export s; \
21293 $(SET_LIB_PATH) \
21294 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21297 .PHONY: install-wdiff maybe-install-wdiff
21298 maybe-install-wdiff:
21300 install-wdiff: installdirs
21301 @r=`${PWD}`; export r; \
21302 s=`cd $(srcdir); ${PWD}`; export s; \
21303 $(SET_LIB_PATH) \
21304 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21307 .PHONY: configure-zip maybe-configure-zip
21308 maybe-configure-zip:
21309 configure-zip:
21310 @test ! -f zip/Makefile || exit 0; \
21311 [ -d zip ] || mkdir zip; \
21312 r=`${PWD}`; export r; \
21313 s=`cd $(srcdir); ${PWD}`; export s; \
21314 CC="$(CC)"; export CC; \
21315 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21316 CXX="$(CXX)"; export CXX; \
21317 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21318 AR="$(AR)"; export AR; \
21319 AS="$(AS)"; export AS; \
21320 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21321 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21322 LD="$(LD)"; export LD; \
21323 NM="$(NM)"; export NM; \
21324 RANLIB="$(RANLIB)"; export RANLIB; \
21325 WINDRES="$(WINDRES)"; export WINDRES; \
21326 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21327 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21328 echo Configuring in zip; \
21329 cd zip || exit 1; \
21330 case $(srcdir) in \
21331 \.) \
21332 srcdiroption="--srcdir=."; \
21333 libsrcdir=".";; \
21334 /* | [A-Za-z]:[\\/]*) \
21335 srcdiroption="--srcdir=$(srcdir)/zip"; \
21336 libsrcdir="$$s/zip";; \
21337 *) \
21338 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21339 libsrcdir="$$s/zip";; \
21340 esac; \
21341 $(SHELL) $${libsrcdir}/configure \
21342 $(HOST_CONFIGARGS) $${srcdiroption} \
21343 || exit 1
21345 .PHONY: all-zip maybe-all-zip
21346 maybe-all-zip:
21347 all-zip: configure-zip
21348 @r=`${PWD}`; export r; \
21349 s=`cd $(srcdir); ${PWD}`; export s; \
21350 $(SET_LIB_PATH) \
21351 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
21353 .PHONY: check-zip maybe-check-zip
21354 maybe-check-zip:
21356 # This module is only tested in a native toolchain.
21357 check-zip:
21358 @if [ '$(host)' = '$(target)' ] ; then \
21359 r=`${PWD}`; export r; \
21360 s=`cd $(srcdir); ${PWD}`; export s; \
21361 $(SET_LIB_PATH) \
21362 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21366 .PHONY: install-zip maybe-install-zip
21367 maybe-install-zip:
21369 install-zip: installdirs
21370 @r=`${PWD}`; export r; \
21371 s=`cd $(srcdir); ${PWD}`; export s; \
21372 $(SET_LIB_PATH) \
21373 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21376 .PHONY: configure-zlib maybe-configure-zlib
21377 maybe-configure-zlib:
21378 configure-zlib:
21379 @test ! -f zlib/Makefile || exit 0; \
21380 [ -d zlib ] || mkdir zlib; \
21381 r=`${PWD}`; export r; \
21382 s=`cd $(srcdir); ${PWD}`; export s; \
21383 CC="$(CC)"; export CC; \
21384 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21385 CXX="$(CXX)"; export CXX; \
21386 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21387 AR="$(AR)"; export AR; \
21388 AS="$(AS)"; export AS; \
21389 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21390 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21391 LD="$(LD)"; export LD; \
21392 NM="$(NM)"; export NM; \
21393 RANLIB="$(RANLIB)"; export RANLIB; \
21394 WINDRES="$(WINDRES)"; export WINDRES; \
21395 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21396 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21397 echo Configuring in zlib; \
21398 cd zlib || exit 1; \
21399 case $(srcdir) in \
21400 \.) \
21401 srcdiroption="--srcdir=."; \
21402 libsrcdir=".";; \
21403 /* | [A-Za-z]:[\\/]*) \
21404 srcdiroption="--srcdir=$(srcdir)/zlib"; \
21405 libsrcdir="$$s/zlib";; \
21406 *) \
21407 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
21408 libsrcdir="$$s/zlib";; \
21409 esac; \
21410 $(SHELL) $${libsrcdir}/configure \
21411 $(HOST_CONFIGARGS) $${srcdiroption} \
21412 || exit 1
21414 .PHONY: all-zlib maybe-all-zlib
21415 maybe-all-zlib:
21416 all-zlib: configure-zlib
21417 @r=`${PWD}`; export r; \
21418 s=`cd $(srcdir); ${PWD}`; export s; \
21419 $(SET_LIB_PATH) \
21420 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
21422 .PHONY: check-zlib maybe-check-zlib
21423 maybe-check-zlib:
21425 check-zlib:
21428 .PHONY: install-zlib maybe-install-zlib
21429 maybe-install-zlib:
21431 install-zlib:
21434 .PHONY: configure-gdb maybe-configure-gdb
21435 maybe-configure-gdb:
21436 configure-gdb:
21437 @test ! -f gdb/Makefile || exit 0; \
21438 [ -d gdb ] || mkdir gdb; \
21439 r=`${PWD}`; export r; \
21440 s=`cd $(srcdir); ${PWD}`; export s; \
21441 CC="$(CC)"; export CC; \
21442 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21443 CXX="$(CXX)"; export CXX; \
21444 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21445 AR="$(AR)"; export AR; \
21446 AS="$(AS)"; export AS; \
21447 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21448 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21449 LD="$(LD)"; export LD; \
21450 NM="$(NM)"; export NM; \
21451 RANLIB="$(RANLIB)"; export RANLIB; \
21452 WINDRES="$(WINDRES)"; export WINDRES; \
21453 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21454 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21455 echo Configuring in gdb; \
21456 cd gdb || exit 1; \
21457 case $(srcdir) in \
21458 \.) \
21459 srcdiroption="--srcdir=."; \
21460 libsrcdir=".";; \
21461 /* | [A-Za-z]:[\\/]*) \
21462 srcdiroption="--srcdir=$(srcdir)/gdb"; \
21463 libsrcdir="$$s/gdb";; \
21464 *) \
21465 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
21466 libsrcdir="$$s/gdb";; \
21467 esac; \
21468 $(SHELL) $${libsrcdir}/configure \
21469 $(HOST_CONFIGARGS) $${srcdiroption} \
21470 || exit 1
21472 .PHONY: all-gdb maybe-all-gdb
21473 maybe-all-gdb:
21474 all-gdb: configure-gdb
21475 @r=`${PWD}`; export r; \
21476 s=`cd $(srcdir); ${PWD}`; export s; \
21477 $(SET_LIB_PATH) \
21478 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21480 .PHONY: check-gdb maybe-check-gdb
21481 maybe-check-gdb:
21483 check-gdb:
21484 @r=`${PWD}`; export r; \
21485 s=`cd $(srcdir); ${PWD}`; export s; \
21486 $(SET_LIB_PATH) \
21487 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21490 .PHONY: install-gdb maybe-install-gdb
21491 maybe-install-gdb:
21493 install-gdb: installdirs
21494 @r=`${PWD}`; export r; \
21495 s=`cd $(srcdir); ${PWD}`; export s; \
21496 $(SET_LIB_PATH) \
21497 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21500 .PHONY: configure-expect maybe-configure-expect
21501 maybe-configure-expect:
21502 configure-expect:
21503 @test ! -f expect/Makefile || exit 0; \
21504 [ -d expect ] || mkdir expect; \
21505 r=`${PWD}`; export r; \
21506 s=`cd $(srcdir); ${PWD}`; export s; \
21507 CC="$(CC)"; export CC; \
21508 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21509 CXX="$(CXX)"; export CXX; \
21510 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21511 AR="$(AR)"; export AR; \
21512 AS="$(AS)"; export AS; \
21513 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21514 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21515 LD="$(LD)"; export LD; \
21516 NM="$(NM)"; export NM; \
21517 RANLIB="$(RANLIB)"; export RANLIB; \
21518 WINDRES="$(WINDRES)"; export WINDRES; \
21519 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21520 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21521 echo Configuring in expect; \
21522 cd expect || exit 1; \
21523 case $(srcdir) in \
21524 \.) \
21525 srcdiroption="--srcdir=."; \
21526 libsrcdir=".";; \
21527 /* | [A-Za-z]:[\\/]*) \
21528 srcdiroption="--srcdir=$(srcdir)/expect"; \
21529 libsrcdir="$$s/expect";; \
21530 *) \
21531 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21532 libsrcdir="$$s/expect";; \
21533 esac; \
21534 $(SHELL) $${libsrcdir}/configure \
21535 $(HOST_CONFIGARGS) $${srcdiroption} \
21536 || exit 1
21538 .PHONY: all-expect maybe-all-expect
21539 maybe-all-expect:
21540 all-expect: configure-expect
21541 @r=`${PWD}`; export r; \
21542 s=`cd $(srcdir); ${PWD}`; export s; \
21543 $(SET_LIB_PATH) \
21544 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21546 .PHONY: check-expect maybe-check-expect
21547 maybe-check-expect:
21549 check-expect:
21550 @r=`${PWD}`; export r; \
21551 s=`cd $(srcdir); ${PWD}`; export s; \
21552 $(SET_LIB_PATH) \
21553 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21556 .PHONY: install-expect maybe-install-expect
21557 maybe-install-expect:
21559 install-expect: installdirs
21560 @r=`${PWD}`; export r; \
21561 s=`cd $(srcdir); ${PWD}`; export s; \
21562 $(SET_LIB_PATH) \
21563 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21566 .PHONY: configure-guile maybe-configure-guile
21567 maybe-configure-guile:
21568 configure-guile:
21569 @test ! -f guile/Makefile || exit 0; \
21570 [ -d guile ] || mkdir guile; \
21571 r=`${PWD}`; export r; \
21572 s=`cd $(srcdir); ${PWD}`; export s; \
21573 CC="$(CC)"; export CC; \
21574 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21575 CXX="$(CXX)"; export CXX; \
21576 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21577 AR="$(AR)"; export AR; \
21578 AS="$(AS)"; export AS; \
21579 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21580 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21581 LD="$(LD)"; export LD; \
21582 NM="$(NM)"; export NM; \
21583 RANLIB="$(RANLIB)"; export RANLIB; \
21584 WINDRES="$(WINDRES)"; export WINDRES; \
21585 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21586 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21587 echo Configuring in guile; \
21588 cd guile || exit 1; \
21589 case $(srcdir) in \
21590 \.) \
21591 srcdiroption="--srcdir=."; \
21592 libsrcdir=".";; \
21593 /* | [A-Za-z]:[\\/]*) \
21594 srcdiroption="--srcdir=$(srcdir)/guile"; \
21595 libsrcdir="$$s/guile";; \
21596 *) \
21597 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21598 libsrcdir="$$s/guile";; \
21599 esac; \
21600 $(SHELL) $${libsrcdir}/configure \
21601 $(HOST_CONFIGARGS) $${srcdiroption} \
21602 || exit 1
21604 .PHONY: all-guile maybe-all-guile
21605 maybe-all-guile:
21606 all-guile: configure-guile
21607 @r=`${PWD}`; export r; \
21608 s=`cd $(srcdir); ${PWD}`; export s; \
21609 $(SET_LIB_PATH) \
21610 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21612 .PHONY: check-guile maybe-check-guile
21613 maybe-check-guile:
21615 check-guile:
21616 @r=`${PWD}`; export r; \
21617 s=`cd $(srcdir); ${PWD}`; export s; \
21618 $(SET_LIB_PATH) \
21619 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21622 .PHONY: install-guile maybe-install-guile
21623 maybe-install-guile:
21625 install-guile: installdirs
21626 @r=`${PWD}`; export r; \
21627 s=`cd $(srcdir); ${PWD}`; export s; \
21628 $(SET_LIB_PATH) \
21629 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21632 .PHONY: configure-tk maybe-configure-tk
21633 maybe-configure-tk:
21634 configure-tk:
21635 @test ! -f tk/Makefile || exit 0; \
21636 [ -d tk ] || mkdir tk; \
21637 r=`${PWD}`; export r; \
21638 s=`cd $(srcdir); ${PWD}`; export s; \
21639 CC="$(CC)"; export CC; \
21640 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21641 CXX="$(CXX)"; export CXX; \
21642 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21643 AR="$(AR)"; export AR; \
21644 AS="$(AS)"; export AS; \
21645 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21646 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21647 LD="$(LD)"; export LD; \
21648 NM="$(NM)"; export NM; \
21649 RANLIB="$(RANLIB)"; export RANLIB; \
21650 WINDRES="$(WINDRES)"; export WINDRES; \
21651 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21652 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21653 echo Configuring in tk; \
21654 cd tk || exit 1; \
21655 case $(srcdir) in \
21656 \.) \
21657 srcdiroption="--srcdir=."; \
21658 libsrcdir=".";; \
21659 /* | [A-Za-z]:[\\/]*) \
21660 srcdiroption="--srcdir=$(srcdir)/tk"; \
21661 libsrcdir="$$s/tk";; \
21662 *) \
21663 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21664 libsrcdir="$$s/tk";; \
21665 esac; \
21666 $(SHELL) $${libsrcdir}/configure \
21667 $(HOST_CONFIGARGS) $${srcdiroption} \
21668 || exit 1
21670 .PHONY: all-tk maybe-all-tk
21671 maybe-all-tk:
21672 all-tk: configure-tk
21673 @r=`${PWD}`; export r; \
21674 s=`cd $(srcdir); ${PWD}`; export s; \
21675 $(SET_LIB_PATH) \
21676 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21678 .PHONY: check-tk maybe-check-tk
21679 maybe-check-tk:
21681 check-tk:
21682 @r=`${PWD}`; export r; \
21683 s=`cd $(srcdir); ${PWD}`; export s; \
21684 $(SET_LIB_PATH) \
21685 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21688 .PHONY: install-tk maybe-install-tk
21689 maybe-install-tk:
21691 install-tk: installdirs
21692 @r=`${PWD}`; export r; \
21693 s=`cd $(srcdir); ${PWD}`; export s; \
21694 $(SET_LIB_PATH) \
21695 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21698 .PHONY: configure-tix maybe-configure-tix
21699 maybe-configure-tix:
21700 configure-tix:
21701 @test ! -f tix/Makefile || exit 0; \
21702 [ -d tix ] || mkdir tix; \
21703 r=`${PWD}`; export r; \
21704 s=`cd $(srcdir); ${PWD}`; export s; \
21705 CC="$(CC)"; export CC; \
21706 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21707 CXX="$(CXX)"; export CXX; \
21708 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21709 AR="$(AR)"; export AR; \
21710 AS="$(AS)"; export AS; \
21711 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21712 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21713 LD="$(LD)"; export LD; \
21714 NM="$(NM)"; export NM; \
21715 RANLIB="$(RANLIB)"; export RANLIB; \
21716 WINDRES="$(WINDRES)"; export WINDRES; \
21717 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21718 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21719 echo Configuring in tix; \
21720 cd tix || exit 1; \
21721 case $(srcdir) in \
21722 \.) \
21723 srcdiroption="--srcdir=."; \
21724 libsrcdir=".";; \
21725 /* | [A-Za-z]:[\\/]*) \
21726 srcdiroption="--srcdir=$(srcdir)/tix"; \
21727 libsrcdir="$$s/tix";; \
21728 *) \
21729 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21730 libsrcdir="$$s/tix";; \
21731 esac; \
21732 $(SHELL) $${libsrcdir}/configure \
21733 $(HOST_CONFIGARGS) $${srcdiroption} \
21734 || exit 1
21736 .PHONY: all-tix maybe-all-tix
21737 maybe-all-tix:
21738 all-tix: configure-tix
21739 @r=`${PWD}`; export r; \
21740 s=`cd $(srcdir); ${PWD}`; export s; \
21741 $(SET_LIB_PATH) \
21742 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21744 .PHONY: check-tix maybe-check-tix
21745 maybe-check-tix:
21747 check-tix:
21748 @r=`${PWD}`; export r; \
21749 s=`cd $(srcdir); ${PWD}`; export s; \
21750 $(SET_LIB_PATH) \
21751 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21754 .PHONY: install-tix maybe-install-tix
21755 maybe-install-tix:
21757 install-tix: installdirs
21758 @r=`${PWD}`; export r; \
21759 s=`cd $(srcdir); ${PWD}`; export s; \
21760 $(SET_LIB_PATH) \
21761 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21764 .PHONY: configure-libtermcap maybe-configure-libtermcap
21765 maybe-configure-libtermcap:
21766 configure-libtermcap:
21767 @test ! -f libtermcap/Makefile || exit 0; \
21768 [ -d libtermcap ] || mkdir libtermcap; \
21769 r=`${PWD}`; export r; \
21770 s=`cd $(srcdir); ${PWD}`; export s; \
21771 CC="$(CC)"; export CC; \
21772 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21773 CXX="$(CXX)"; export CXX; \
21774 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21775 AR="$(AR)"; export AR; \
21776 AS="$(AS)"; export AS; \
21777 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21778 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21779 LD="$(LD)"; export LD; \
21780 NM="$(NM)"; export NM; \
21781 RANLIB="$(RANLIB)"; export RANLIB; \
21782 WINDRES="$(WINDRES)"; export WINDRES; \
21783 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21784 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21785 echo Configuring in libtermcap; \
21786 cd libtermcap || exit 1; \
21787 case $(srcdir) in \
21788 \.) \
21789 srcdiroption="--srcdir=."; \
21790 libsrcdir=".";; \
21791 /* | [A-Za-z]:[\\/]*) \
21792 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21793 libsrcdir="$$s/libtermcap";; \
21794 *) \
21795 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21796 libsrcdir="$$s/libtermcap";; \
21797 esac; \
21798 $(SHELL) $${libsrcdir}/configure \
21799 $(HOST_CONFIGARGS) $${srcdiroption} \
21800 || exit 1
21802 .PHONY: all-libtermcap maybe-all-libtermcap
21803 maybe-all-libtermcap:
21804 all-libtermcap: configure-libtermcap
21805 @r=`${PWD}`; export r; \
21806 s=`cd $(srcdir); ${PWD}`; export s; \
21807 $(SET_LIB_PATH) \
21808 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21810 .PHONY: check-libtermcap maybe-check-libtermcap
21811 maybe-check-libtermcap:
21813 check-libtermcap:
21816 .PHONY: install-libtermcap maybe-install-libtermcap
21817 maybe-install-libtermcap:
21819 install-libtermcap: installdirs
21820 @r=`${PWD}`; export r; \
21821 s=`cd $(srcdir); ${PWD}`; export s; \
21822 $(SET_LIB_PATH) \
21823 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21826 .PHONY: configure-utils maybe-configure-utils
21827 maybe-configure-utils:
21828 configure-utils:
21829 @test ! -f utils/Makefile || exit 0; \
21830 [ -d utils ] || mkdir utils; \
21831 r=`${PWD}`; export r; \
21832 s=`cd $(srcdir); ${PWD}`; export s; \
21833 CC="$(CC)"; export CC; \
21834 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21835 CXX="$(CXX)"; export CXX; \
21836 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21837 AR="$(AR)"; export AR; \
21838 AS="$(AS)"; export AS; \
21839 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21840 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21841 LD="$(LD)"; export LD; \
21842 NM="$(NM)"; export NM; \
21843 RANLIB="$(RANLIB)"; export RANLIB; \
21844 WINDRES="$(WINDRES)"; export WINDRES; \
21845 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21846 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21847 echo Configuring in utils; \
21848 cd utils || exit 1; \
21849 case $(srcdir) in \
21850 \.) \
21851 srcdiroption="--srcdir=."; \
21852 libsrcdir=".";; \
21853 /* | [A-Za-z]:[\\/]*) \
21854 srcdiroption="--srcdir=$(srcdir)/utils"; \
21855 libsrcdir="$$s/utils";; \
21856 *) \
21857 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21858 libsrcdir="$$s/utils";; \
21859 esac; \
21860 $(SHELL) $${libsrcdir}/configure \
21861 $(HOST_CONFIGARGS) $${srcdiroption} \
21862 || exit 1
21864 .PHONY: all-utils maybe-all-utils
21865 maybe-all-utils:
21866 all-utils: configure-utils
21867 @r=`${PWD}`; export r; \
21868 s=`cd $(srcdir); ${PWD}`; export s; \
21869 $(SET_LIB_PATH) \
21870 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21872 .PHONY: check-utils maybe-check-utils
21873 maybe-check-utils:
21875 check-utils:
21878 .PHONY: install-utils maybe-install-utils
21879 maybe-install-utils:
21881 install-utils: installdirs
21882 @r=`${PWD}`; export r; \
21883 s=`cd $(srcdir); ${PWD}`; export s; \
21884 $(SET_LIB_PATH) \
21885 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21889 # ---------------------------------------
21890 # Modules which run on the target machine
21891 # ---------------------------------------
21893 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21894 maybe-configure-target-libstdc++-v3:
21896 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21897 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
21898 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21899 mkdir $(TARGET_SUBDIR)/libstdc++-v3; \
21900 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
21901 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21903 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21904 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
21905 [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21906 mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
21907 r=`${PWD}`; export r; \
21908 s=`cd $(srcdir); ${PWD}`; export s; \
21909 $(SET_LIB_PATH) \
21910 AR="$(AR_FOR_TARGET)"; export AR; \
21911 AS="$(AS_FOR_TARGET)"; export AS; \
21912 CC="$(CC_FOR_TARGET)"; export CC; \
21913 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21914 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21915 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21916 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21917 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21918 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21919 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21920 LD="$(LD_FOR_TARGET)"; export LD; \
21921 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21922 NM="$(NM_FOR_TARGET)"; export NM; \
21923 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21924 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21925 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21926 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21927 case $(srcdir) in \
21928 /* | [A-Za-z]:[\\/]*) \
21929 topdir=$(srcdir) ;; \
21930 *) \
21931 case "$(TARGET_SUBDIR)" in \
21932 .) topdir="../$(srcdir)" ;; \
21933 *) topdir="../../$(srcdir)" ;; \
21934 esac ;; \
21935 esac; \
21936 if [ "$(srcdir)" = "." ] ; then \
21937 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
21938 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
21939 if [ -f Makefile ]; then \
21940 if $(MAKE) distclean; then \
21941 true; \
21942 else \
21943 exit 1; \
21944 fi; \
21945 else \
21946 true; \
21947 fi; \
21948 else \
21949 exit 1; \
21950 fi; \
21951 else \
21952 true; \
21953 fi; \
21954 srcdiroption="--srcdir=."; \
21955 libsrcdir="."; \
21956 else \
21957 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
21958 libsrcdir="$$s/libstdc++-v3"; \
21959 fi; \
21960 rm -f no-such-file || : ; \
21961 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21962 $(TARGET_CONFIGARGS) $${srcdiroption} \
21963 --with-target-subdir="$(TARGET_SUBDIR)" \
21964 || exit 1
21966 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
21967 maybe-all-target-libstdc++-v3:
21968 all-target-libstdc++-v3: configure-target-libstdc++-v3
21969 @r=`${PWD}`; export r; \
21970 s=`cd $(srcdir); ${PWD}`; export s; \
21971 $(SET_LIB_PATH) \
21972 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21973 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21975 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
21976 maybe-check-target-libstdc++-v3:
21978 check-target-libstdc++-v3:
21979 @r=`${PWD}`; export r; \
21980 s=`cd $(srcdir); ${PWD}`; export s; \
21981 $(SET_LIB_PATH) \
21982 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21983 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21986 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
21987 maybe-install-target-libstdc++-v3:
21989 install-target-libstdc++-v3: installdirs
21990 @r=`${PWD}`; export r; \
21991 s=`cd $(srcdir); ${PWD}`; export s; \
21992 $(SET_LIB_PATH) \
21993 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21994 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21997 .PHONY: configure-target-newlib maybe-configure-target-newlib
21998 maybe-configure-target-newlib:
22000 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22001 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22002 @[ -d $(TARGET_SUBDIR)/newlib ] || \
22003 mkdir $(TARGET_SUBDIR)/newlib; \
22004 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22005 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22007 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22008 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22009 [ -d $(TARGET_SUBDIR)/newlib ] || \
22010 mkdir $(TARGET_SUBDIR)/newlib;\
22011 r=`${PWD}`; export r; \
22012 s=`cd $(srcdir); ${PWD}`; export s; \
22013 $(SET_LIB_PATH) \
22014 AR="$(AR_FOR_TARGET)"; export AR; \
22015 AS="$(AS_FOR_TARGET)"; export AS; \
22016 CC="$(CC_FOR_TARGET)"; export CC; \
22017 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22018 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22019 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22020 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22021 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22022 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22023 LD="$(LD_FOR_TARGET)"; export LD; \
22024 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22025 NM="$(NM_FOR_TARGET)"; export NM; \
22026 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22027 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22028 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22029 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22030 case $(srcdir) in \
22031 /* | [A-Za-z]:[\\/]*) \
22032 topdir=$(srcdir) ;; \
22033 *) \
22034 case "$(TARGET_SUBDIR)" in \
22035 .) topdir="../$(srcdir)" ;; \
22036 *) topdir="../../$(srcdir)" ;; \
22037 esac ;; \
22038 esac; \
22039 if [ "$(srcdir)" = "." ] ; then \
22040 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22041 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22042 if [ -f Makefile ]; then \
22043 if $(MAKE) distclean; then \
22044 true; \
22045 else \
22046 exit 1; \
22047 fi; \
22048 else \
22049 true; \
22050 fi; \
22051 else \
22052 exit 1; \
22053 fi; \
22054 else \
22055 true; \
22056 fi; \
22057 srcdiroption="--srcdir=."; \
22058 libsrcdir="."; \
22059 else \
22060 srcdiroption="--srcdir=$${topdir}/newlib"; \
22061 libsrcdir="$$s/newlib"; \
22062 fi; \
22063 rm -f no-such-file || : ; \
22064 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22065 $(TARGET_CONFIGARGS) $${srcdiroption} \
22066 --with-target-subdir="$(TARGET_SUBDIR)" \
22067 || exit 1
22069 .PHONY: all-target-newlib maybe-all-target-newlib
22070 maybe-all-target-newlib:
22071 all-target-newlib: configure-target-newlib
22072 @r=`${PWD}`; export r; \
22073 s=`cd $(srcdir); ${PWD}`; export s; \
22074 $(SET_LIB_PATH) \
22075 (cd $(TARGET_SUBDIR)/newlib && \
22076 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22078 .PHONY: check-target-newlib maybe-check-target-newlib
22079 maybe-check-target-newlib:
22081 check-target-newlib:
22082 @r=`${PWD}`; export r; \
22083 s=`cd $(srcdir); ${PWD}`; export s; \
22084 $(SET_LIB_PATH) \
22085 (cd $(TARGET_SUBDIR)/newlib && \
22086 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22089 .PHONY: install-target-newlib maybe-install-target-newlib
22090 maybe-install-target-newlib:
22092 install-target-newlib: installdirs
22093 @r=`${PWD}`; export r; \
22094 s=`cd $(srcdir); ${PWD}`; export s; \
22095 $(SET_LIB_PATH) \
22096 (cd $(TARGET_SUBDIR)/newlib && \
22097 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22100 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
22101 maybe-configure-target-libf2c:
22103 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22104 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
22105 @[ -d $(TARGET_SUBDIR)/libf2c ] || \
22106 mkdir $(TARGET_SUBDIR)/libf2c; \
22107 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
22108 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
22110 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
22111 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
22112 [ -d $(TARGET_SUBDIR)/libf2c ] || \
22113 mkdir $(TARGET_SUBDIR)/libf2c;\
22114 r=`${PWD}`; export r; \
22115 s=`cd $(srcdir); ${PWD}`; export s; \
22116 $(SET_LIB_PATH) \
22117 AR="$(AR_FOR_TARGET)"; export AR; \
22118 AS="$(AS_FOR_TARGET)"; export AS; \
22119 CC="$(CC_FOR_TARGET)"; export CC; \
22120 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22121 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22122 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22123 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22124 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22125 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22126 LD="$(LD_FOR_TARGET)"; export LD; \
22127 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22128 NM="$(NM_FOR_TARGET)"; export NM; \
22129 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22130 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22131 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
22132 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
22133 case $(srcdir) in \
22134 /* | [A-Za-z]:[\\/]*) \
22135 topdir=$(srcdir) ;; \
22136 *) \
22137 case "$(TARGET_SUBDIR)" in \
22138 .) topdir="../$(srcdir)" ;; \
22139 *) topdir="../../$(srcdir)" ;; \
22140 esac ;; \
22141 esac; \
22142 if [ "$(srcdir)" = "." ] ; then \
22143 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22144 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22145 if [ -f Makefile ]; then \
22146 if $(MAKE) distclean; then \
22147 true; \
22148 else \
22149 exit 1; \
22150 fi; \
22151 else \
22152 true; \
22153 fi; \
22154 else \
22155 exit 1; \
22156 fi; \
22157 else \
22158 true; \
22159 fi; \
22160 srcdiroption="--srcdir=."; \
22161 libsrcdir="."; \
22162 else \
22163 srcdiroption="--srcdir=$${topdir}/libf2c"; \
22164 libsrcdir="$$s/libf2c"; \
22165 fi; \
22166 rm -f no-such-file || : ; \
22167 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22168 $(TARGET_CONFIGARGS) $${srcdiroption} \
22169 --with-target-subdir="$(TARGET_SUBDIR)" \
22170 || exit 1
22172 .PHONY: all-target-libf2c maybe-all-target-libf2c
22173 maybe-all-target-libf2c:
22174 all-target-libf2c: configure-target-libf2c
22175 @r=`${PWD}`; export r; \
22176 s=`cd $(srcdir); ${PWD}`; export s; \
22177 $(SET_LIB_PATH) \
22178 (cd $(TARGET_SUBDIR)/libf2c && \
22179 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22181 .PHONY: check-target-libf2c maybe-check-target-libf2c
22182 maybe-check-target-libf2c:
22184 check-target-libf2c:
22185 @r=`${PWD}`; export r; \
22186 s=`cd $(srcdir); ${PWD}`; export s; \
22187 $(SET_LIB_PATH) \
22188 (cd $(TARGET_SUBDIR)/libf2c && \
22189 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22192 .PHONY: install-target-libf2c maybe-install-target-libf2c
22193 maybe-install-target-libf2c:
22195 install-target-libf2c: installdirs
22196 @r=`${PWD}`; export r; \
22197 s=`cd $(srcdir); ${PWD}`; export s; \
22198 $(SET_LIB_PATH) \
22199 (cd $(TARGET_SUBDIR)/libf2c && \
22200 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22203 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
22204 maybe-configure-target-libobjc:
22206 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22207 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
22208 @[ -d $(TARGET_SUBDIR)/libobjc ] || \
22209 mkdir $(TARGET_SUBDIR)/libobjc; \
22210 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
22211 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
22213 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
22214 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
22215 [ -d $(TARGET_SUBDIR)/libobjc ] || \
22216 mkdir $(TARGET_SUBDIR)/libobjc;\
22217 r=`${PWD}`; export r; \
22218 s=`cd $(srcdir); ${PWD}`; export s; \
22219 $(SET_LIB_PATH) \
22220 AR="$(AR_FOR_TARGET)"; export AR; \
22221 AS="$(AS_FOR_TARGET)"; export AS; \
22222 CC="$(CC_FOR_TARGET)"; export CC; \
22223 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22224 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22225 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22226 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22227 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22228 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22229 LD="$(LD_FOR_TARGET)"; export LD; \
22230 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22231 NM="$(NM_FOR_TARGET)"; export NM; \
22232 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22233 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22234 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
22235 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
22236 case $(srcdir) in \
22237 /* | [A-Za-z]:[\\/]*) \
22238 topdir=$(srcdir) ;; \
22239 *) \
22240 case "$(TARGET_SUBDIR)" in \
22241 .) topdir="../$(srcdir)" ;; \
22242 *) topdir="../../$(srcdir)" ;; \
22243 esac ;; \
22244 esac; \
22245 if [ "$(srcdir)" = "." ] ; then \
22246 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22247 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22248 if [ -f Makefile ]; then \
22249 if $(MAKE) distclean; then \
22250 true; \
22251 else \
22252 exit 1; \
22253 fi; \
22254 else \
22255 true; \
22256 fi; \
22257 else \
22258 exit 1; \
22259 fi; \
22260 else \
22261 true; \
22262 fi; \
22263 srcdiroption="--srcdir=."; \
22264 libsrcdir="."; \
22265 else \
22266 srcdiroption="--srcdir=$${topdir}/libobjc"; \
22267 libsrcdir="$$s/libobjc"; \
22268 fi; \
22269 rm -f no-such-file || : ; \
22270 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22271 $(TARGET_CONFIGARGS) $${srcdiroption} \
22272 --with-target-subdir="$(TARGET_SUBDIR)" \
22273 || exit 1
22275 .PHONY: all-target-libobjc maybe-all-target-libobjc
22276 maybe-all-target-libobjc:
22277 all-target-libobjc: configure-target-libobjc
22278 @r=`${PWD}`; export r; \
22279 s=`cd $(srcdir); ${PWD}`; export s; \
22280 $(SET_LIB_PATH) \
22281 (cd $(TARGET_SUBDIR)/libobjc && \
22282 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22284 .PHONY: check-target-libobjc maybe-check-target-libobjc
22285 maybe-check-target-libobjc:
22287 check-target-libobjc:
22288 @r=`${PWD}`; export r; \
22289 s=`cd $(srcdir); ${PWD}`; export s; \
22290 $(SET_LIB_PATH) \
22291 (cd $(TARGET_SUBDIR)/libobjc && \
22292 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22295 .PHONY: install-target-libobjc maybe-install-target-libobjc
22296 maybe-install-target-libobjc:
22298 install-target-libobjc: installdirs
22299 @r=`${PWD}`; export r; \
22300 s=`cd $(srcdir); ${PWD}`; export s; \
22301 $(SET_LIB_PATH) \
22302 (cd $(TARGET_SUBDIR)/libobjc && \
22303 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22306 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
22307 maybe-configure-target-libtermcap:
22309 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22310 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
22311 @[ -d $(TARGET_SUBDIR)/libtermcap ] || \
22312 mkdir $(TARGET_SUBDIR)/libtermcap; \
22313 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
22314 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
22316 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
22317 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
22318 [ -d $(TARGET_SUBDIR)/libtermcap ] || \
22319 mkdir $(TARGET_SUBDIR)/libtermcap;\
22320 r=`${PWD}`; export r; \
22321 s=`cd $(srcdir); ${PWD}`; export s; \
22322 $(SET_LIB_PATH) \
22323 AR="$(AR_FOR_TARGET)"; export AR; \
22324 AS="$(AS_FOR_TARGET)"; export AS; \
22325 CC="$(CC_FOR_TARGET)"; export CC; \
22326 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22327 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22328 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22329 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22330 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22331 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22332 LD="$(LD_FOR_TARGET)"; export LD; \
22333 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22334 NM="$(NM_FOR_TARGET)"; export NM; \
22335 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22336 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22337 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
22338 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
22339 case $(srcdir) in \
22340 /* | [A-Za-z]:[\\/]*) \
22341 topdir=$(srcdir) ;; \
22342 *) \
22343 case "$(TARGET_SUBDIR)" in \
22344 .) topdir="../$(srcdir)" ;; \
22345 *) topdir="../../$(srcdir)" ;; \
22346 esac ;; \
22347 esac; \
22348 if [ "$(srcdir)" = "." ] ; then \
22349 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22350 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
22351 if [ -f Makefile ]; then \
22352 if $(MAKE) distclean; then \
22353 true; \
22354 else \
22355 exit 1; \
22356 fi; \
22357 else \
22358 true; \
22359 fi; \
22360 else \
22361 exit 1; \
22362 fi; \
22363 else \
22364 true; \
22365 fi; \
22366 srcdiroption="--srcdir=."; \
22367 libsrcdir="."; \
22368 else \
22369 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22370 libsrcdir="$$s/libtermcap"; \
22371 fi; \
22372 rm -f no-such-file || : ; \
22373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22374 $(TARGET_CONFIGARGS) $${srcdiroption} \
22375 --with-target-subdir="$(TARGET_SUBDIR)" \
22376 || exit 1
22378 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
22379 maybe-all-target-libtermcap:
22380 all-target-libtermcap: configure-target-libtermcap
22381 @r=`${PWD}`; export r; \
22382 s=`cd $(srcdir); ${PWD}`; export s; \
22383 $(SET_LIB_PATH) \
22384 (cd $(TARGET_SUBDIR)/libtermcap && \
22385 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22387 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
22388 maybe-check-target-libtermcap:
22390 # Dummy target for uncheckable module.
22391 check-target-libtermcap:
22394 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
22395 maybe-install-target-libtermcap:
22397 install-target-libtermcap: installdirs
22398 @r=`${PWD}`; export r; \
22399 s=`cd $(srcdir); ${PWD}`; export s; \
22400 $(SET_LIB_PATH) \
22401 (cd $(TARGET_SUBDIR)/libtermcap && \
22402 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22405 .PHONY: configure-target-winsup maybe-configure-target-winsup
22406 maybe-configure-target-winsup:
22408 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22409 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
22410 @[ -d $(TARGET_SUBDIR)/winsup ] || \
22411 mkdir $(TARGET_SUBDIR)/winsup; \
22412 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
22413 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
22415 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
22416 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
22417 [ -d $(TARGET_SUBDIR)/winsup ] || \
22418 mkdir $(TARGET_SUBDIR)/winsup;\
22419 r=`${PWD}`; export r; \
22420 s=`cd $(srcdir); ${PWD}`; export s; \
22421 $(SET_LIB_PATH) \
22422 AR="$(AR_FOR_TARGET)"; export AR; \
22423 AS="$(AS_FOR_TARGET)"; export AS; \
22424 CC="$(CC_FOR_TARGET)"; export CC; \
22425 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22426 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22427 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22429 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22430 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22431 LD="$(LD_FOR_TARGET)"; export LD; \
22432 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22433 NM="$(NM_FOR_TARGET)"; export NM; \
22434 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22435 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22436 echo Configuring in $(TARGET_SUBDIR)/winsup; \
22437 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
22438 case $(srcdir) in \
22439 /* | [A-Za-z]:[\\/]*) \
22440 topdir=$(srcdir) ;; \
22441 *) \
22442 case "$(TARGET_SUBDIR)" in \
22443 .) topdir="../$(srcdir)" ;; \
22444 *) topdir="../../$(srcdir)" ;; \
22445 esac ;; \
22446 esac; \
22447 if [ "$(srcdir)" = "." ] ; then \
22448 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22449 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22450 if [ -f Makefile ]; then \
22451 if $(MAKE) distclean; then \
22452 true; \
22453 else \
22454 exit 1; \
22455 fi; \
22456 else \
22457 true; \
22458 fi; \
22459 else \
22460 exit 1; \
22461 fi; \
22462 else \
22463 true; \
22464 fi; \
22465 srcdiroption="--srcdir=."; \
22466 libsrcdir="."; \
22467 else \
22468 srcdiroption="--srcdir=$${topdir}/winsup"; \
22469 libsrcdir="$$s/winsup"; \
22470 fi; \
22471 rm -f no-such-file || : ; \
22472 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22473 $(TARGET_CONFIGARGS) $${srcdiroption} \
22474 --with-target-subdir="$(TARGET_SUBDIR)" \
22475 || exit 1
22477 .PHONY: all-target-winsup maybe-all-target-winsup
22478 maybe-all-target-winsup:
22479 all-target-winsup: configure-target-winsup
22480 @r=`${PWD}`; export r; \
22481 s=`cd $(srcdir); ${PWD}`; export s; \
22482 $(SET_LIB_PATH) \
22483 (cd $(TARGET_SUBDIR)/winsup && \
22484 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22486 .PHONY: check-target-winsup maybe-check-target-winsup
22487 maybe-check-target-winsup:
22489 check-target-winsup:
22490 @r=`${PWD}`; export r; \
22491 s=`cd $(srcdir); ${PWD}`; export s; \
22492 $(SET_LIB_PATH) \
22493 (cd $(TARGET_SUBDIR)/winsup && \
22494 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22497 .PHONY: install-target-winsup maybe-install-target-winsup
22498 maybe-install-target-winsup:
22500 install-target-winsup: installdirs
22501 @r=`${PWD}`; export r; \
22502 s=`cd $(srcdir); ${PWD}`; export s; \
22503 $(SET_LIB_PATH) \
22504 (cd $(TARGET_SUBDIR)/winsup && \
22505 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22508 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
22509 maybe-configure-target-libgloss:
22511 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22512 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
22513 @[ -d $(TARGET_SUBDIR)/libgloss ] || \
22514 mkdir $(TARGET_SUBDIR)/libgloss; \
22515 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
22516 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
22518 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
22519 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
22520 [ -d $(TARGET_SUBDIR)/libgloss ] || \
22521 mkdir $(TARGET_SUBDIR)/libgloss;\
22522 r=`${PWD}`; export r; \
22523 s=`cd $(srcdir); ${PWD}`; export s; \
22524 $(SET_LIB_PATH) \
22525 AR="$(AR_FOR_TARGET)"; export AR; \
22526 AS="$(AS_FOR_TARGET)"; export AS; \
22527 CC="$(CC_FOR_TARGET)"; export CC; \
22528 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22529 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22530 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22531 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22532 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22533 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22534 LD="$(LD_FOR_TARGET)"; export LD; \
22535 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22536 NM="$(NM_FOR_TARGET)"; export NM; \
22537 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22538 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22539 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
22540 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
22541 case $(srcdir) in \
22542 /* | [A-Za-z]:[\\/]*) \
22543 topdir=$(srcdir) ;; \
22544 *) \
22545 case "$(TARGET_SUBDIR)" in \
22546 .) topdir="../$(srcdir)" ;; \
22547 *) topdir="../../$(srcdir)" ;; \
22548 esac ;; \
22549 esac; \
22550 if [ "$(srcdir)" = "." ] ; then \
22551 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22552 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
22553 if [ -f Makefile ]; then \
22554 if $(MAKE) distclean; then \
22555 true; \
22556 else \
22557 exit 1; \
22558 fi; \
22559 else \
22560 true; \
22561 fi; \
22562 else \
22563 exit 1; \
22564 fi; \
22565 else \
22566 true; \
22567 fi; \
22568 srcdiroption="--srcdir=."; \
22569 libsrcdir="."; \
22570 else \
22571 srcdiroption="--srcdir=$${topdir}/libgloss"; \
22572 libsrcdir="$$s/libgloss"; \
22573 fi; \
22574 rm -f no-such-file || : ; \
22575 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22576 $(TARGET_CONFIGARGS) $${srcdiroption} \
22577 --with-target-subdir="$(TARGET_SUBDIR)" \
22578 || exit 1
22580 .PHONY: all-target-libgloss maybe-all-target-libgloss
22581 maybe-all-target-libgloss:
22582 all-target-libgloss: configure-target-libgloss
22583 @r=`${PWD}`; export r; \
22584 s=`cd $(srcdir); ${PWD}`; export s; \
22585 $(SET_LIB_PATH) \
22586 (cd $(TARGET_SUBDIR)/libgloss && \
22587 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22589 .PHONY: check-target-libgloss maybe-check-target-libgloss
22590 maybe-check-target-libgloss:
22592 # Dummy target for uncheckable module.
22593 check-target-libgloss:
22596 .PHONY: install-target-libgloss maybe-install-target-libgloss
22597 maybe-install-target-libgloss:
22599 install-target-libgloss: installdirs
22600 @r=`${PWD}`; export r; \
22601 s=`cd $(srcdir); ${PWD}`; export s; \
22602 $(SET_LIB_PATH) \
22603 (cd $(TARGET_SUBDIR)/libgloss && \
22604 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22607 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
22608 maybe-configure-target-libiberty:
22610 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22611 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
22612 @[ -d $(TARGET_SUBDIR)/libiberty ] || \
22613 mkdir $(TARGET_SUBDIR)/libiberty; \
22614 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
22615 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
22617 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
22618 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
22619 [ -d $(TARGET_SUBDIR)/libiberty ] || \
22620 mkdir $(TARGET_SUBDIR)/libiberty;\
22621 r=`${PWD}`; export r; \
22622 s=`cd $(srcdir); ${PWD}`; export s; \
22623 $(SET_LIB_PATH) \
22624 AR="$(AR_FOR_TARGET)"; export AR; \
22625 AS="$(AS_FOR_TARGET)"; export AS; \
22626 CC="$(CC_FOR_TARGET)"; export CC; \
22627 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22628 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22629 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22631 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22632 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22633 LD="$(LD_FOR_TARGET)"; export LD; \
22634 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22635 NM="$(NM_FOR_TARGET)"; export NM; \
22636 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22637 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22638 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
22639 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
22640 case $(srcdir) in \
22641 /* | [A-Za-z]:[\\/]*) \
22642 topdir=$(srcdir) ;; \
22643 *) \
22644 case "$(TARGET_SUBDIR)" in \
22645 .) topdir="../$(srcdir)" ;; \
22646 *) topdir="../../$(srcdir)" ;; \
22647 esac ;; \
22648 esac; \
22649 if [ "$(srcdir)" = "." ] ; then \
22650 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22651 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
22652 if [ -f Makefile ]; then \
22653 if $(MAKE) distclean; then \
22654 true; \
22655 else \
22656 exit 1; \
22657 fi; \
22658 else \
22659 true; \
22660 fi; \
22661 else \
22662 exit 1; \
22663 fi; \
22664 else \
22665 true; \
22666 fi; \
22667 srcdiroption="--srcdir=."; \
22668 libsrcdir="."; \
22669 else \
22670 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22671 libsrcdir="$$s/libiberty"; \
22672 fi; \
22673 rm -f no-such-file || : ; \
22674 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22675 $(TARGET_CONFIGARGS) $${srcdiroption} \
22676 --with-target-subdir="$(TARGET_SUBDIR)" \
22677 || exit 1
22679 .PHONY: all-target-libiberty maybe-all-target-libiberty
22680 maybe-all-target-libiberty:
22681 all-target-libiberty: configure-target-libiberty
22682 @r=`${PWD}`; export r; \
22683 s=`cd $(srcdir); ${PWD}`; export s; \
22684 $(SET_LIB_PATH) \
22685 (cd $(TARGET_SUBDIR)/libiberty && \
22686 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22688 .PHONY: check-target-libiberty maybe-check-target-libiberty
22689 maybe-check-target-libiberty:
22691 check-target-libiberty:
22692 @r=`${PWD}`; export r; \
22693 s=`cd $(srcdir); ${PWD}`; export s; \
22694 $(SET_LIB_PATH) \
22695 (cd $(TARGET_SUBDIR)/libiberty && \
22696 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22699 .PHONY: install-target-libiberty maybe-install-target-libiberty
22700 maybe-install-target-libiberty:
22702 install-target-libiberty: installdirs
22703 @r=`${PWD}`; export r; \
22704 s=`cd $(srcdir); ${PWD}`; export s; \
22705 $(SET_LIB_PATH) \
22706 (cd $(TARGET_SUBDIR)/libiberty && \
22707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22710 .PHONY: configure-target-gperf maybe-configure-target-gperf
22711 maybe-configure-target-gperf:
22713 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22714 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
22715 @[ -d $(TARGET_SUBDIR)/gperf ] || \
22716 mkdir $(TARGET_SUBDIR)/gperf; \
22717 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
22718 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
22720 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
22721 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
22722 [ -d $(TARGET_SUBDIR)/gperf ] || \
22723 mkdir $(TARGET_SUBDIR)/gperf;\
22724 r=`${PWD}`; export r; \
22725 s=`cd $(srcdir); ${PWD}`; export s; \
22726 $(SET_LIB_PATH) \
22727 AR="$(AR_FOR_TARGET)"; export AR; \
22728 AS="$(AS_FOR_TARGET)"; export AS; \
22729 CC="$(CC_FOR_TARGET)"; export CC; \
22730 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22731 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22732 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22733 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22734 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22735 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22736 LD="$(LD_FOR_TARGET)"; export LD; \
22737 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22738 NM="$(NM_FOR_TARGET)"; export NM; \
22739 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22740 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22741 echo Configuring in $(TARGET_SUBDIR)/gperf; \
22742 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
22743 case $(srcdir) in \
22744 /* | [A-Za-z]:[\\/]*) \
22745 topdir=$(srcdir) ;; \
22746 *) \
22747 case "$(TARGET_SUBDIR)" in \
22748 .) topdir="../$(srcdir)" ;; \
22749 *) topdir="../../$(srcdir)" ;; \
22750 esac ;; \
22751 esac; \
22752 if [ "$(srcdir)" = "." ] ; then \
22753 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22754 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
22755 if [ -f Makefile ]; then \
22756 if $(MAKE) distclean; then \
22757 true; \
22758 else \
22759 exit 1; \
22760 fi; \
22761 else \
22762 true; \
22763 fi; \
22764 else \
22765 exit 1; \
22766 fi; \
22767 else \
22768 true; \
22769 fi; \
22770 srcdiroption="--srcdir=."; \
22771 libsrcdir="."; \
22772 else \
22773 srcdiroption="--srcdir=$${topdir}/gperf"; \
22774 libsrcdir="$$s/gperf"; \
22775 fi; \
22776 rm -f no-such-file || : ; \
22777 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22778 $(TARGET_CONFIGARGS) $${srcdiroption} \
22779 --with-target-subdir="$(TARGET_SUBDIR)" \
22780 || exit 1
22782 .PHONY: all-target-gperf maybe-all-target-gperf
22783 maybe-all-target-gperf:
22784 all-target-gperf: configure-target-gperf
22785 @r=`${PWD}`; export r; \
22786 s=`cd $(srcdir); ${PWD}`; export s; \
22787 $(SET_LIB_PATH) \
22788 (cd $(TARGET_SUBDIR)/gperf && \
22789 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22791 .PHONY: check-target-gperf maybe-check-target-gperf
22792 maybe-check-target-gperf:
22794 check-target-gperf:
22795 @r=`${PWD}`; export r; \
22796 s=`cd $(srcdir); ${PWD}`; export s; \
22797 $(SET_LIB_PATH) \
22798 (cd $(TARGET_SUBDIR)/gperf && \
22799 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22802 .PHONY: install-target-gperf maybe-install-target-gperf
22803 maybe-install-target-gperf:
22805 install-target-gperf: installdirs
22806 @r=`${PWD}`; export r; \
22807 s=`cd $(srcdir); ${PWD}`; export s; \
22808 $(SET_LIB_PATH) \
22809 (cd $(TARGET_SUBDIR)/gperf && \
22810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22813 .PHONY: configure-target-examples maybe-configure-target-examples
22814 maybe-configure-target-examples:
22816 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22817 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22818 @[ -d $(TARGET_SUBDIR)/examples ] || \
22819 mkdir $(TARGET_SUBDIR)/examples; \
22820 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22821 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22823 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22824 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22825 [ -d $(TARGET_SUBDIR)/examples ] || \
22826 mkdir $(TARGET_SUBDIR)/examples;\
22827 r=`${PWD}`; export r; \
22828 s=`cd $(srcdir); ${PWD}`; export s; \
22829 $(SET_LIB_PATH) \
22830 AR="$(AR_FOR_TARGET)"; export AR; \
22831 AS="$(AS_FOR_TARGET)"; export AS; \
22832 CC="$(CC_FOR_TARGET)"; export CC; \
22833 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22834 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22835 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22836 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22837 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22838 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22839 LD="$(LD_FOR_TARGET)"; export LD; \
22840 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22841 NM="$(NM_FOR_TARGET)"; export NM; \
22842 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22843 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22844 echo Configuring in $(TARGET_SUBDIR)/examples; \
22845 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22846 case $(srcdir) in \
22847 /* | [A-Za-z]:[\\/]*) \
22848 topdir=$(srcdir) ;; \
22849 *) \
22850 case "$(TARGET_SUBDIR)" in \
22851 .) topdir="../$(srcdir)" ;; \
22852 *) topdir="../../$(srcdir)" ;; \
22853 esac ;; \
22854 esac; \
22855 if [ "$(srcdir)" = "." ] ; then \
22856 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22857 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
22858 if [ -f Makefile ]; then \
22859 if $(MAKE) distclean; then \
22860 true; \
22861 else \
22862 exit 1; \
22863 fi; \
22864 else \
22865 true; \
22866 fi; \
22867 else \
22868 exit 1; \
22869 fi; \
22870 else \
22871 true; \
22872 fi; \
22873 srcdiroption="--srcdir=."; \
22874 libsrcdir="."; \
22875 else \
22876 srcdiroption="--srcdir=$${topdir}/examples"; \
22877 libsrcdir="$$s/examples"; \
22878 fi; \
22879 rm -f no-such-file || : ; \
22880 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22881 $(TARGET_CONFIGARGS) $${srcdiroption} \
22882 --with-target-subdir="$(TARGET_SUBDIR)" \
22883 || exit 1
22885 .PHONY: all-target-examples maybe-all-target-examples
22886 maybe-all-target-examples:
22887 all-target-examples: configure-target-examples
22888 @r=`${PWD}`; export r; \
22889 s=`cd $(srcdir); ${PWD}`; export s; \
22890 $(SET_LIB_PATH) \
22891 (cd $(TARGET_SUBDIR)/examples && \
22892 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22894 .PHONY: check-target-examples maybe-check-target-examples
22895 maybe-check-target-examples:
22897 # Dummy target for uncheckable module.
22898 check-target-examples:
22901 .PHONY: install-target-examples maybe-install-target-examples
22902 maybe-install-target-examples:
22904 # Dummy target for uninstallable.
22905 install-target-examples:
22908 .PHONY: configure-target-libffi maybe-configure-target-libffi
22909 maybe-configure-target-libffi:
22911 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22912 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
22913 @[ -d $(TARGET_SUBDIR)/libffi ] || \
22914 mkdir $(TARGET_SUBDIR)/libffi; \
22915 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
22916 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
22918 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22919 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
22920 [ -d $(TARGET_SUBDIR)/libffi ] || \
22921 mkdir $(TARGET_SUBDIR)/libffi;\
22922 r=`${PWD}`; export r; \
22923 s=`cd $(srcdir); ${PWD}`; export s; \
22924 $(SET_LIB_PATH) \
22925 AR="$(AR_FOR_TARGET)"; export AR; \
22926 AS="$(AS_FOR_TARGET)"; export AS; \
22927 CC="$(CC_FOR_TARGET)"; export CC; \
22928 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22929 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22930 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22931 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22932 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22933 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22934 LD="$(LD_FOR_TARGET)"; export LD; \
22935 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22936 NM="$(NM_FOR_TARGET)"; export NM; \
22937 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22938 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22939 echo Configuring in $(TARGET_SUBDIR)/libffi; \
22940 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
22941 case $(srcdir) in \
22942 /* | [A-Za-z]:[\\/]*) \
22943 topdir=$(srcdir) ;; \
22944 *) \
22945 case "$(TARGET_SUBDIR)" in \
22946 .) topdir="../$(srcdir)" ;; \
22947 *) topdir="../../$(srcdir)" ;; \
22948 esac ;; \
22949 esac; \
22950 if [ "$(srcdir)" = "." ] ; then \
22951 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22952 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
22953 if [ -f Makefile ]; then \
22954 if $(MAKE) distclean; then \
22955 true; \
22956 else \
22957 exit 1; \
22958 fi; \
22959 else \
22960 true; \
22961 fi; \
22962 else \
22963 exit 1; \
22964 fi; \
22965 else \
22966 true; \
22967 fi; \
22968 srcdiroption="--srcdir=."; \
22969 libsrcdir="."; \
22970 else \
22971 srcdiroption="--srcdir=$${topdir}/libffi"; \
22972 libsrcdir="$$s/libffi"; \
22973 fi; \
22974 rm -f no-such-file || : ; \
22975 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22976 $(TARGET_CONFIGARGS) $${srcdiroption} \
22977 --with-target-subdir="$(TARGET_SUBDIR)" \
22978 || exit 1
22980 .PHONY: all-target-libffi maybe-all-target-libffi
22981 maybe-all-target-libffi:
22982 all-target-libffi: configure-target-libffi
22983 @r=`${PWD}`; export r; \
22984 s=`cd $(srcdir); ${PWD}`; export s; \
22985 $(SET_LIB_PATH) \
22986 (cd $(TARGET_SUBDIR)/libffi && \
22987 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22989 .PHONY: check-target-libffi maybe-check-target-libffi
22990 maybe-check-target-libffi:
22992 check-target-libffi:
22993 @r=`${PWD}`; export r; \
22994 s=`cd $(srcdir); ${PWD}`; export s; \
22995 $(SET_LIB_PATH) \
22996 (cd $(TARGET_SUBDIR)/libffi && \
22997 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23000 .PHONY: install-target-libffi maybe-install-target-libffi
23001 maybe-install-target-libffi:
23003 install-target-libffi: installdirs
23004 @r=`${PWD}`; export r; \
23005 s=`cd $(srcdir); ${PWD}`; export s; \
23006 $(SET_LIB_PATH) \
23007 (cd $(TARGET_SUBDIR)/libffi && \
23008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23011 .PHONY: configure-target-libjava maybe-configure-target-libjava
23012 maybe-configure-target-libjava:
23014 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23015 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
23016 @[ -d $(TARGET_SUBDIR)/libjava ] || \
23017 mkdir $(TARGET_SUBDIR)/libjava; \
23018 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
23019 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
23021 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
23022 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
23023 [ -d $(TARGET_SUBDIR)/libjava ] || \
23024 mkdir $(TARGET_SUBDIR)/libjava;\
23025 r=`${PWD}`; export r; \
23026 s=`cd $(srcdir); ${PWD}`; export s; \
23027 $(SET_LIB_PATH) \
23028 AR="$(AR_FOR_TARGET)"; export AR; \
23029 AS="$(AS_FOR_TARGET)"; export AS; \
23030 CC="$(CC_FOR_TARGET)"; export CC; \
23031 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23032 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23033 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
23034 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
23035 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23036 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23037 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23038 LD="$(LD_FOR_TARGET)"; export LD; \
23039 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23040 NM="$(NM_FOR_TARGET)"; export NM; \
23041 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23042 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23043 echo Configuring in $(TARGET_SUBDIR)/libjava; \
23044 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
23045 case $(srcdir) in \
23046 /* | [A-Za-z]:[\\/]*) \
23047 topdir=$(srcdir) ;; \
23048 *) \
23049 case "$(TARGET_SUBDIR)" in \
23050 .) topdir="../$(srcdir)" ;; \
23051 *) topdir="../../$(srcdir)" ;; \
23052 esac ;; \
23053 esac; \
23054 if [ "$(srcdir)" = "." ] ; then \
23055 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23056 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23057 if [ -f Makefile ]; then \
23058 if $(MAKE) distclean; then \
23059 true; \
23060 else \
23061 exit 1; \
23062 fi; \
23063 else \
23064 true; \
23065 fi; \
23066 else \
23067 exit 1; \
23068 fi; \
23069 else \
23070 true; \
23071 fi; \
23072 srcdiroption="--srcdir=."; \
23073 libsrcdir="."; \
23074 else \
23075 srcdiroption="--srcdir=$${topdir}/libjava"; \
23076 libsrcdir="$$s/libjava"; \
23077 fi; \
23078 rm -f no-such-file || : ; \
23079 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23080 $(TARGET_CONFIGARGS) $${srcdiroption} \
23081 --with-target-subdir="$(TARGET_SUBDIR)" \
23082 || exit 1
23084 .PHONY: all-target-libjava maybe-all-target-libjava
23085 maybe-all-target-libjava:
23086 all-target-libjava: configure-target-libjava
23087 @r=`${PWD}`; export r; \
23088 s=`cd $(srcdir); ${PWD}`; export s; \
23089 $(SET_LIB_PATH) \
23090 (cd $(TARGET_SUBDIR)/libjava && \
23091 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
23093 .PHONY: check-target-libjava maybe-check-target-libjava
23094 maybe-check-target-libjava:
23096 check-target-libjava:
23097 @r=`${PWD}`; export r; \
23098 s=`cd $(srcdir); ${PWD}`; export s; \
23099 $(SET_LIB_PATH) \
23100 (cd $(TARGET_SUBDIR)/libjava && \
23101 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23104 .PHONY: install-target-libjava maybe-install-target-libjava
23105 maybe-install-target-libjava:
23107 install-target-libjava: installdirs
23108 @r=`${PWD}`; export r; \
23109 s=`cd $(srcdir); ${PWD}`; export s; \
23110 $(SET_LIB_PATH) \
23111 (cd $(TARGET_SUBDIR)/libjava && \
23112 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23115 .PHONY: configure-target-zlib maybe-configure-target-zlib
23116 maybe-configure-target-zlib:
23118 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23119 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
23120 @[ -d $(TARGET_SUBDIR)/zlib ] || \
23121 mkdir $(TARGET_SUBDIR)/zlib; \
23122 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
23123 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
23125 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
23126 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
23127 [ -d $(TARGET_SUBDIR)/zlib ] || \
23128 mkdir $(TARGET_SUBDIR)/zlib;\
23129 r=`${PWD}`; export r; \
23130 s=`cd $(srcdir); ${PWD}`; export s; \
23131 $(SET_LIB_PATH) \
23132 AR="$(AR_FOR_TARGET)"; export AR; \
23133 AS="$(AS_FOR_TARGET)"; export AS; \
23134 CC="$(CC_FOR_TARGET)"; export CC; \
23135 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23136 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23137 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23139 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23140 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23141 LD="$(LD_FOR_TARGET)"; export LD; \
23142 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23143 NM="$(NM_FOR_TARGET)"; export NM; \
23144 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23145 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23146 echo Configuring in $(TARGET_SUBDIR)/zlib; \
23147 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
23148 case $(srcdir) in \
23149 /* | [A-Za-z]:[\\/]*) \
23150 topdir=$(srcdir) ;; \
23151 *) \
23152 case "$(TARGET_SUBDIR)" in \
23153 .) topdir="../$(srcdir)" ;; \
23154 *) topdir="../../$(srcdir)" ;; \
23155 esac ;; \
23156 esac; \
23157 if [ "$(srcdir)" = "." ] ; then \
23158 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23159 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
23160 if [ -f Makefile ]; then \
23161 if $(MAKE) distclean; then \
23162 true; \
23163 else \
23164 exit 1; \
23165 fi; \
23166 else \
23167 true; \
23168 fi; \
23169 else \
23170 exit 1; \
23171 fi; \
23172 else \
23173 true; \
23174 fi; \
23175 srcdiroption="--srcdir=."; \
23176 libsrcdir="."; \
23177 else \
23178 srcdiroption="--srcdir=$${topdir}/zlib"; \
23179 libsrcdir="$$s/zlib"; \
23180 fi; \
23181 rm -f no-such-file || : ; \
23182 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23183 $(TARGET_CONFIGARGS) $${srcdiroption} \
23184 --with-target-subdir="$(TARGET_SUBDIR)" \
23185 || exit 1
23187 .PHONY: all-target-zlib maybe-all-target-zlib
23188 maybe-all-target-zlib:
23189 all-target-zlib: configure-target-zlib
23190 @r=`${PWD}`; export r; \
23191 s=`cd $(srcdir); ${PWD}`; export s; \
23192 $(SET_LIB_PATH) \
23193 (cd $(TARGET_SUBDIR)/zlib && \
23194 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23196 .PHONY: check-target-zlib maybe-check-target-zlib
23197 maybe-check-target-zlib:
23199 check-target-zlib:
23200 @r=`${PWD}`; export r; \
23201 s=`cd $(srcdir); ${PWD}`; export s; \
23202 $(SET_LIB_PATH) \
23203 (cd $(TARGET_SUBDIR)/zlib && \
23204 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23207 .PHONY: install-target-zlib maybe-install-target-zlib
23208 maybe-install-target-zlib:
23210 install-target-zlib: installdirs
23211 @r=`${PWD}`; export r; \
23212 s=`cd $(srcdir); ${PWD}`; export s; \
23213 $(SET_LIB_PATH) \
23214 (cd $(TARGET_SUBDIR)/zlib && \
23215 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23218 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23219 maybe-configure-target-boehm-gc:
23221 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23222 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23223 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23224 mkdir $(TARGET_SUBDIR)/boehm-gc; \
23225 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23226 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23228 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23229 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23230 [ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23231 mkdir $(TARGET_SUBDIR)/boehm-gc;\
23232 r=`${PWD}`; export r; \
23233 s=`cd $(srcdir); ${PWD}`; export s; \
23234 $(SET_LIB_PATH) \
23235 AR="$(AR_FOR_TARGET)"; export AR; \
23236 AS="$(AS_FOR_TARGET)"; export AS; \
23237 CC="$(CC_FOR_TARGET)"; export CC; \
23238 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23239 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23240 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23242 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23243 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23244 LD="$(LD_FOR_TARGET)"; export LD; \
23245 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23246 NM="$(NM_FOR_TARGET)"; export NM; \
23247 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23248 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23249 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23250 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23251 case $(srcdir) in \
23252 /* | [A-Za-z]:[\\/]*) \
23253 topdir=$(srcdir) ;; \
23254 *) \
23255 case "$(TARGET_SUBDIR)" in \
23256 .) topdir="../$(srcdir)" ;; \
23257 *) topdir="../../$(srcdir)" ;; \
23258 esac ;; \
23259 esac; \
23260 if [ "$(srcdir)" = "." ] ; then \
23261 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23262 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23263 if [ -f Makefile ]; then \
23264 if $(MAKE) distclean; then \
23265 true; \
23266 else \
23267 exit 1; \
23268 fi; \
23269 else \
23270 true; \
23271 fi; \
23272 else \
23273 exit 1; \
23274 fi; \
23275 else \
23276 true; \
23277 fi; \
23278 srcdiroption="--srcdir=."; \
23279 libsrcdir="."; \
23280 else \
23281 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23282 libsrcdir="$$s/boehm-gc"; \
23283 fi; \
23284 rm -f no-such-file || : ; \
23285 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23286 $(TARGET_CONFIGARGS) $${srcdiroption} \
23287 --with-target-subdir="$(TARGET_SUBDIR)" \
23288 || exit 1
23290 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23291 maybe-all-target-boehm-gc:
23292 all-target-boehm-gc: configure-target-boehm-gc
23293 @r=`${PWD}`; export r; \
23294 s=`cd $(srcdir); ${PWD}`; export s; \
23295 $(SET_LIB_PATH) \
23296 (cd $(TARGET_SUBDIR)/boehm-gc && \
23297 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23299 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23300 maybe-check-target-boehm-gc:
23302 check-target-boehm-gc:
23303 @r=`${PWD}`; export r; \
23304 s=`cd $(srcdir); ${PWD}`; export s; \
23305 $(SET_LIB_PATH) \
23306 (cd $(TARGET_SUBDIR)/boehm-gc && \
23307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23310 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23311 maybe-install-target-boehm-gc:
23313 install-target-boehm-gc: installdirs
23314 @r=`${PWD}`; export r; \
23315 s=`cd $(srcdir); ${PWD}`; export s; \
23316 $(SET_LIB_PATH) \
23317 (cd $(TARGET_SUBDIR)/boehm-gc && \
23318 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23321 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23322 maybe-configure-target-qthreads:
23324 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23325 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23326 @[ -d $(TARGET_SUBDIR)/qthreads ] || \
23327 mkdir $(TARGET_SUBDIR)/qthreads; \
23328 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23329 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23331 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23332 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23333 [ -d $(TARGET_SUBDIR)/qthreads ] || \
23334 mkdir $(TARGET_SUBDIR)/qthreads;\
23335 r=`${PWD}`; export r; \
23336 s=`cd $(srcdir); ${PWD}`; export s; \
23337 $(SET_LIB_PATH) \
23338 AR="$(AR_FOR_TARGET)"; export AR; \
23339 AS="$(AS_FOR_TARGET)"; export AS; \
23340 CC="$(CC_FOR_TARGET)"; export CC; \
23341 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23342 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23343 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23344 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23345 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23346 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23347 LD="$(LD_FOR_TARGET)"; export LD; \
23348 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23349 NM="$(NM_FOR_TARGET)"; export NM; \
23350 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23351 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23352 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23353 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23354 case $(srcdir) in \
23355 /* | [A-Za-z]:[\\/]*) \
23356 topdir=$(srcdir) ;; \
23357 *) \
23358 case "$(TARGET_SUBDIR)" in \
23359 .) topdir="../$(srcdir)" ;; \
23360 *) topdir="../../$(srcdir)" ;; \
23361 esac ;; \
23362 esac; \
23363 if [ "$(srcdir)" = "." ] ; then \
23364 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23365 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23366 if [ -f Makefile ]; then \
23367 if $(MAKE) distclean; then \
23368 true; \
23369 else \
23370 exit 1; \
23371 fi; \
23372 else \
23373 true; \
23374 fi; \
23375 else \
23376 exit 1; \
23377 fi; \
23378 else \
23379 true; \
23380 fi; \
23381 srcdiroption="--srcdir=."; \
23382 libsrcdir="."; \
23383 else \
23384 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23385 libsrcdir="$$s/qthreads"; \
23386 fi; \
23387 rm -f no-such-file || : ; \
23388 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23389 $(TARGET_CONFIGARGS) $${srcdiroption} \
23390 --with-target-subdir="$(TARGET_SUBDIR)" \
23391 || exit 1
23393 .PHONY: all-target-qthreads maybe-all-target-qthreads
23394 maybe-all-target-qthreads:
23395 all-target-qthreads: configure-target-qthreads
23396 @r=`${PWD}`; export r; \
23397 s=`cd $(srcdir); ${PWD}`; export s; \
23398 $(SET_LIB_PATH) \
23399 (cd $(TARGET_SUBDIR)/qthreads && \
23400 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23402 .PHONY: check-target-qthreads maybe-check-target-qthreads
23403 maybe-check-target-qthreads:
23405 check-target-qthreads:
23406 @r=`${PWD}`; export r; \
23407 s=`cd $(srcdir); ${PWD}`; export s; \
23408 $(SET_LIB_PATH) \
23409 (cd $(TARGET_SUBDIR)/qthreads && \
23410 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23413 .PHONY: install-target-qthreads maybe-install-target-qthreads
23414 maybe-install-target-qthreads:
23416 install-target-qthreads: installdirs
23417 @r=`${PWD}`; export r; \
23418 s=`cd $(srcdir); ${PWD}`; export s; \
23419 $(SET_LIB_PATH) \
23420 (cd $(TARGET_SUBDIR)/qthreads && \
23421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23424 .PHONY: configure-target-rda maybe-configure-target-rda
23425 maybe-configure-target-rda:
23427 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23428 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23429 @[ -d $(TARGET_SUBDIR)/rda ] || \
23430 mkdir $(TARGET_SUBDIR)/rda; \
23431 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23432 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23434 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23435 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23436 [ -d $(TARGET_SUBDIR)/rda ] || \
23437 mkdir $(TARGET_SUBDIR)/rda;\
23438 r=`${PWD}`; export r; \
23439 s=`cd $(srcdir); ${PWD}`; export s; \
23440 $(SET_LIB_PATH) \
23441 AR="$(AR_FOR_TARGET)"; export AR; \
23442 AS="$(AS_FOR_TARGET)"; export AS; \
23443 CC="$(CC_FOR_TARGET)"; export CC; \
23444 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23445 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23446 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23447 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23448 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23449 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23450 LD="$(LD_FOR_TARGET)"; export LD; \
23451 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23452 NM="$(NM_FOR_TARGET)"; export NM; \
23453 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23454 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23455 echo Configuring in $(TARGET_SUBDIR)/rda; \
23456 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23457 case $(srcdir) in \
23458 /* | [A-Za-z]:[\\/]*) \
23459 topdir=$(srcdir) ;; \
23460 *) \
23461 case "$(TARGET_SUBDIR)" in \
23462 .) topdir="../$(srcdir)" ;; \
23463 *) topdir="../../$(srcdir)" ;; \
23464 esac ;; \
23465 esac; \
23466 if [ "$(srcdir)" = "." ] ; then \
23467 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23468 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
23469 if [ -f Makefile ]; then \
23470 if $(MAKE) distclean; then \
23471 true; \
23472 else \
23473 exit 1; \
23474 fi; \
23475 else \
23476 true; \
23477 fi; \
23478 else \
23479 exit 1; \
23480 fi; \
23481 else \
23482 true; \
23483 fi; \
23484 srcdiroption="--srcdir=."; \
23485 libsrcdir="."; \
23486 else \
23487 srcdiroption="--srcdir=$${topdir}/rda"; \
23488 libsrcdir="$$s/rda"; \
23489 fi; \
23490 rm -f no-such-file || : ; \
23491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492 $(TARGET_CONFIGARGS) $${srcdiroption} \
23493 --with-target-subdir="$(TARGET_SUBDIR)" \
23494 || exit 1
23496 .PHONY: all-target-rda maybe-all-target-rda
23497 maybe-all-target-rda:
23498 all-target-rda: configure-target-rda
23499 @r=`${PWD}`; export r; \
23500 s=`cd $(srcdir); ${PWD}`; export s; \
23501 $(SET_LIB_PATH) \
23502 (cd $(TARGET_SUBDIR)/rda && \
23503 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23505 .PHONY: check-target-rda maybe-check-target-rda
23506 maybe-check-target-rda:
23508 check-target-rda:
23509 @r=`${PWD}`; export r; \
23510 s=`cd $(srcdir); ${PWD}`; export s; \
23511 $(SET_LIB_PATH) \
23512 (cd $(TARGET_SUBDIR)/rda && \
23513 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23516 .PHONY: install-target-rda maybe-install-target-rda
23517 maybe-install-target-rda:
23519 install-target-rda: installdirs
23520 @r=`${PWD}`; export r; \
23521 s=`cd $(srcdir); ${PWD}`; export s; \
23522 $(SET_LIB_PATH) \
23523 (cd $(TARGET_SUBDIR)/rda && \
23524 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23528 # ----------
23529 # GCC module
23530 # ----------
23532 # Unfortunately, while gcc _should_ be a host module,
23533 # libgcc is a target module, and gen* programs are
23534 # build modules. So GCC is a sort of hybrid.
23536 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23537 .PHONY: configure-gcc maybe-configure-gcc
23538 maybe-configure-gcc:
23539 configure-gcc:
23540 @test ! -f gcc/Makefile || exit 0; \
23541 [ -d gcc ] || mkdir gcc; \
23542 r=`${PWD}`; export r; \
23543 s=`cd $(srcdir); ${PWD}`; export s; \
23544 CC="$(CC)"; export CC; \
23545 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23546 CXX="$(CXX)"; export CXX; \
23547 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23548 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23549 AR="$(AR)"; export AR; \
23550 AS="$(AS)"; export AS; \
23551 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23552 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23553 LD="$(LD)"; export LD; \
23554 NM="$(NM)"; export NM; \
23555 RANLIB="$(RANLIB)"; export RANLIB; \
23556 WINDRES="$(WINDRES)"; export WINDRES; \
23557 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23558 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23559 echo Configuring in gcc; \
23560 cd gcc || exit 1; \
23561 case $(srcdir) in \
23562 \.) \
23563 srcdiroption="--srcdir=."; \
23564 libsrcdir=".";; \
23565 /* | [A-Za-z]:[\\/]*) \
23566 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23567 libsrcdir="$$s/gcc";; \
23568 *) \
23569 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23570 libsrcdir="$$s/gcc";; \
23571 esac; \
23572 $(SHELL) $${libsrcdir}/configure \
23573 $(HOST_CONFIGARGS) $${srcdiroption} \
23574 || exit 1
23576 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23577 # causes trouble. This wart will be fixed eventually by moving
23578 # the bootstrap behavior to this file.
23579 .PHONY: all-gcc maybe-all-gcc
23580 maybe-all-gcc:
23581 all-gcc: configure-gcc
23582 @if [ -f gcc/stage_last ] ; then \
23583 r=`${PWD}`; export r; \
23584 s=`cd $(srcdir); ${PWD}`; export s; \
23585 $(SET_LIB_PATH) \
23586 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23587 else \
23588 r=`${PWD}`; export r; \
23589 s=`cd $(srcdir); ${PWD}`; export s; \
23590 $(SET_LIB_PATH) \
23591 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23594 # Building GCC uses some tools for rebuilding "source" files
23595 # like texinfo, bison/byacc, etc. So we must depend on those.
23597 # While building GCC, it may be necessary to run various target
23598 # programs like the assembler, linker, etc. So we depend on
23599 # those too.
23601 # In theory, on an SMP all those dependencies can be resolved
23602 # in parallel.
23604 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23605 .PHONY: $(GCC_STRAP_TARGETS)
23606 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23607 @r=`${PWD}`; export r; \
23608 s=`cd $(srcdir); ${PWD}`; export s; \
23609 $(SET_LIB_PATH) \
23610 echo "Bootstrapping the compiler"; \
23611 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23612 @r=`${PWD}`; export r; \
23613 s=`cd $(srcdir); ${PWD}`; export s; \
23614 case "$@" in \
23615 *bootstrap4-lean ) \
23616 msg="Comparing stage3 and stage4 of the compiler"; \
23617 compare=compare3-lean ;; \
23618 *bootstrap4 ) \
23619 msg="Comparing stage3 and stage4 of the compiler"; \
23620 compare=compare3 ;; \
23621 *-lean ) \
23622 msg="Comparing stage2 and stage3 of the compiler"; \
23623 compare=compare-lean ;; \
23624 * ) \
23625 msg="Comparing stage2 and stage3 of the compiler"; \
23626 compare=compare ;; \
23627 esac; \
23628 $(SET_LIB_PATH) \
23629 echo "$$msg"; \
23630 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23631 @r=`${PWD}`; export r; \
23632 s=`cd $(srcdir); ${PWD}` ; export s; \
23633 $(SET_LIB_PATH) \
23634 echo "Building runtime libraries"; \
23635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23637 profiledbootstrap: all-bootstrap configure-gcc
23638 @r=`${PWD}`; export r; \
23639 s=`cd $(srcdir); ${PWD}`; export s; \
23640 $(SET_LIB_PATH) \
23641 echo "Bootstrapping the compiler"; \
23642 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23643 @r=`${PWD}`; export r; \
23644 s=`cd $(srcdir); ${PWD}` ; export s; \
23645 $(SET_LIB_PATH) \
23646 echo "Building runtime libraries and training compiler"; \
23647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23648 @r=`${PWD}`; export r; \
23649 s=`cd $(srcdir); ${PWD}`; export s; \
23650 $(SET_LIB_PATH) \
23651 echo "Building feedback based compiler"; \
23652 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23654 .PHONY: cross
23655 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23656 @r=`${PWD}`; export r; \
23657 s=`cd $(srcdir); ${PWD}`; export s; \
23658 $(SET_LIB_PATH) \
23659 echo "Building the C and C++ compiler"; \
23660 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23661 @r=`${PWD}`; export r; \
23662 s=`cd $(srcdir); ${PWD}` ; export s; \
23663 $(SET_LIB_PATH) \
23664 echo "Building runtime libraries"; \
23665 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23666 LANGUAGES="c c++" all
23668 .PHONY: check-gcc maybe-check-gcc
23669 maybe-check-gcc:
23670 check-gcc:
23671 @if [ -f ./gcc/Makefile ] ; then \
23672 r=`${PWD}`; export r; \
23673 s=`cd $(srcdir); ${PWD}`; export s; \
23674 $(SET_LIB_PATH) \
23675 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23676 else \
23677 true; \
23680 .PHONY: check-gcc-c++
23681 check-gcc-c++:
23682 @if [ -f ./gcc/Makefile ] ; then \
23683 r=`${PWD}`; export r; \
23684 s=`cd $(srcdir); ${PWD}`; export s; \
23685 $(SET_LIB_PATH) \
23686 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23687 else \
23688 true; \
23691 .PHONY: check-c++
23692 check-c++:
23693 $(MAKE) check-target-libstdc++-v3 check-gcc-c++
23695 .PHONY: install-gcc maybe-install-gcc
23696 maybe-install-gcc:
23697 install-gcc:
23698 @if [ -f ./gcc/Makefile ] ; then \
23699 r=`${PWD}`; export r; \
23700 s=`cd $(srcdir); ${PWD}`; export s; \
23701 $(SET_LIB_PATH) \
23702 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23703 else \
23704 true; \
23707 # Install the gcc headers files, but not the fixed include files,
23708 # which Cygnus is not allowed to distribute. This rule is very
23709 # dependent on the workings of the gcc Makefile.in.
23710 .PHONY: gcc-no-fixedincludes
23711 gcc-no-fixedincludes:
23712 @if [ -f ./gcc/Makefile ]; then \
23713 rm -rf gcc/tmp-include; \
23714 mv gcc/include gcc/tmp-include 2>/dev/null; \
23715 mkdir gcc/include; \
23716 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23717 touch gcc/stmp-fixinc gcc/include/fixed; \
23718 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23719 r=`${PWD}`; export r; \
23720 s=`cd $(srcdir); ${PWD}` ; export s; \
23721 $(SET_LIB_PATH) \
23722 (cd ./gcc && \
23723 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23724 rm -rf gcc/include; \
23725 mv gcc/tmp-include gcc/include 2>/dev/null; \
23726 else true; fi
23728 # --------------------------------------
23729 # Dependencies between different modules
23730 # --------------------------------------
23732 # There are two types of dependencies here: 'hard' dependencies, where one
23733 # module simply won't build without the other; and 'soft' dependencies, where
23734 # if the depended-on module is missing, the depending module will do without
23735 # or find a substitute somewhere (perhaps installed). Soft dependencies
23736 # are specified by depending on a 'maybe-' target. If you're not sure,
23737 # it's safer to use a soft dependency.
23739 # Host modules specific to gcc.
23740 # GCC needs to identify certain tools.
23741 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
23742 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23743 # This is a slightly kludgy method of getting dependencies on
23744 # all-build-libiberty correct; it would be better to build it every time.
23745 all-gcc: maybe-all-build-libiberty
23746 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
23748 # Host modules specific to gdb.
23749 # GDB needs to know that the simulator is being built.
23750 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
23751 GDB_TK = @GDB_TK@
23752 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)
23753 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
23754 configure-libgui: maybe-configure-tcl maybe-configure-tk
23755 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
23757 # Host modules specific to binutils.
23758 configure-bfd: configure-libiberty
23759 all-bfd: maybe-all-libiberty maybe-all-intl
23760 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
23761 # We put install-opcodes before install-binutils because the installed
23762 # binutils might be on PATH, and they might need the shared opcodes
23763 # library.
23764 install-binutils: maybe-install-opcodes
23765 # libopcodes depends on libbfd
23766 install-opcodes: maybe-install-bfd
23767 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23768 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23769 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23770 all-opcodes: maybe-all-bfd maybe-all-libiberty
23772 # Other host modules in the 'src' repository.
23773 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
23774 configure-expect: maybe-configure-tcl maybe-configure-tk
23775 all-expect: maybe-all-tcl maybe-all-tk
23776 configure-itcl: maybe-configure-tcl maybe-configure-tk
23777 all-itcl: maybe-all-tcl maybe-all-tk
23778 # We put install-tcl before install-itcl because itcl wants to run a
23779 # program on installation which uses the Tcl libraries.
23780 install-itcl: maybe-install-tcl
23781 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
23782 install-sid: maybe-install-tcl maybe-install-tk
23783 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23784 configure-tk: maybe-configure-tcl
23785 all-tk: maybe-all-tcl
23786 configure-tix: maybe-configure-tcl maybe-configure-tk
23787 all-tix: maybe-all-tcl maybe-all-tk
23788 all-texinfo: maybe-all-libiberty
23790 # Other host modules. Warning, these are not well tested.
23791 all-autoconf: maybe-all-m4 maybe-all-texinfo
23792 all-automake: maybe-all-m4 maybe-all-texinfo
23793 all-bison: maybe-all-texinfo
23794 all-diff: maybe-all-libiberty
23795 all-fastjar: maybe-all-zlib maybe-all-libiberty
23796 all-fileutils: maybe-all-libiberty
23797 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
23798 all-gzip: maybe-all-libiberty
23799 all-hello: maybe-all-libiberty
23800 all-m4: maybe-all-libiberty maybe-all-texinfo
23801 all-make: maybe-all-libiberty
23802 all-patch: maybe-all-libiberty
23803 all-prms: maybe-all-libiberty
23804 all-recode: maybe-all-libiberty
23805 all-sed: maybe-all-libiberty
23806 all-send-pr: maybe-all-prms
23807 all-tar: maybe-all-libiberty
23808 all-uudecode: maybe-all-libiberty
23810 ALL_GCC = maybe-all-gcc
23811 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
23812 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
23814 # Target modules specific to gcc.
23815 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
23816 configure-target-fastjar: maybe-configure-target-zlib
23817 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
23818 configure-target-libf2c: $(ALL_GCC_C)
23819 all-target-libf2c: maybe-all-target-libiberty
23820 configure-target-libffi: $(ALL_GCC_C)
23821 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
23822 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
23823 configure-target-libobjc: $(ALL_GCC_C)
23824 all-target-libobjc: maybe-all-target-libiberty
23825 configure-target-libstdc++-v3: $(ALL_GCC_C)
23826 all-target-libstdc++-v3: maybe-all-target-libiberty
23827 configure-target-zlib: $(ALL_GCC_C)
23829 # Target modules in the 'src' repository.
23830 configure-target-examples: $(ALL_GCC_C)
23831 configure-target-libgloss: $(ALL_GCC)
23832 all-target-libgloss: maybe-configure-target-newlib
23833 configure-target-libiberty: $(ALL_GCC)
23834 configure-target-libtermcap: $(ALL_GCC_C)
23835 configure-target-newlib: $(ALL_GCC)
23836 configure-target-rda: $(ALL_GCC_C)
23837 configure-target-winsup: $(ALL_GCC_C)
23838 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
23840 # Other target modules. Warning, these are not well tested.
23841 configure-target-gperf: $(ALL_GCC_CXX)
23842 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
23843 configure-target-qthreads: $(ALL_GCC_C)
23845 # Dependencies of maybe-foo on foo. These are used because, for example,
23846 # all-gcc only depends on all-gas if gas is present and being configured.
23847 @maybe_dependencies@
23849 # Serialization dependencies. Host configures don't work well in parallel to
23850 # each other, due to contention over config.cache. Target configures and
23851 # build configures are similar.
23852 @serialization_dependencies@
23854 # --------------------------------
23855 # Regenerating top level configury
23856 # --------------------------------
23858 # Multilib.out tells target dirs what multilibs they should build.
23859 # There is really only one copy. We use the 'timestamp' method to
23860 # work around various timestamp bugs on some systems.
23861 # We use move-if-change so that it's only considered updated when it
23862 # actually changes, because it has to depend on a phony target.
23863 multilib.out: maybe-all-gcc
23864 @r=`${PWD}`; export r; \
23865 echo "Checking multilib configuration..."; \
23866 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
23867 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
23869 # Rebuilding Makefile.in, using autogen.
23870 AUTOGEN = autogen
23871 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
23872 cd $(srcdir) && $(AUTOGEN) Makefile.def
23874 # Rebuilding Makefile.
23875 Makefile: $(srcdir)/Makefile.in config.status
23876 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
23878 config.status: configure $(gcc_version_trigger)
23879 $(SHELL) ./config.status --recheck
23881 # Rebuilding configure.
23882 AUTOCONF = autoconf
23883 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
23884 cd $(srcdir) && $(AUTOCONF)
23886 # ------------------------------
23887 # Special directives to GNU Make
23888 # ------------------------------
23890 # Don't pass command-line variables to submakes.
23891 .NOEXPORT:
23892 MAKEOVERRIDES=
23894 # end of Makefile.in