* snapshot-README: Use GCC instead of gcc, C++ front end instead of
[official-gcc.git] / Makefile.in
blob82f67cf06c71a4d7c1ea940dc65073fe4dbaec85
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_CC = $(CC_FOR_BUILD)
154 BUILD_PREFIX = @BUILD_PREFIX@
155 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
157 BISON=@BISON@
158 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
159 echo $$r/bison/bison -L $$s/bison/ ; \
160 else \
161 echo bison ; \
164 DEFAULT_YACC = @DEFAULT_YACC@
165 YACC=@YACC@
166 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
167 echo $$r/bison/bison -y -L $$s/bison/ ; \
168 elif [ -f $$r/byacc/byacc ] ; then \
169 echo $$r/byacc/byacc ; \
170 else \
171 echo ${DEFAULT_YACC} ; \
174 DEFAULT_LEX = @DEFAULT_LEX@
175 LEX=@LEX@
176 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
177 then echo $$r/flex/flex ; \
178 else echo ${DEFAULT_LEX} ; fi`
180 DEFAULT_M4 = @DEFAULT_M4@
181 M4 = `if [ -f $$r/m4/m4 ] ; \
182 then echo $$r/m4/m4 ; \
183 else echo ${DEFAULT_M4} ; fi`
185 # For an installed makeinfo, we require it to be from texinfo 4.2 or
186 # higher, else we use the "missing" dummy.
187 MAKEINFO=@MAKEINFO@
188 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
189 then echo $$r/texinfo/makeinfo/makeinfo ; \
190 else if (makeinfo --version \
191 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
192 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
194 # This just becomes part of the MAKEINFO definition passed down to
195 # sub-makes. It lets flags be given on the command line while still
196 # using the makeinfo from the object tree.
197 # (Default to avoid splitting info files by setting the threshold high.)
198 MAKEINFOFLAGS = --split-size=5000000
200 EXPECT = `if [ -f $$r/expect/expect ] ; \
201 then echo $$r/expect/expect ; \
202 else echo expect ; fi`
204 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
205 then echo $$s/dejagnu/runtest ; \
206 else echo runtest ; fi`
208 # ---------------------------------------------
209 # Programs producing files for the HOST machine
210 # ---------------------------------------------
212 # This is the list of directories that may be needed in RPATH_ENVVAR
213 # so that programs built for the host machine work.
214 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
216 AS = @AS@
218 AR = @AR@
219 AR_FLAGS = rc
221 CC = @CC@
222 CFLAGS = @CFLAGS@
223 LIBCFLAGS = $(CFLAGS)
225 CXX = @CXX@
226 CXXFLAGS = @CXXFLAGS@
227 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
229 DLLTOOL = @DLLTOOL@
231 NM = @NM@
233 LD = @LD@
234 LDFLAGS =
236 RANLIB = @RANLIB@
238 WINDRES = @WINDRES@
240 PICFLAG =
242 # -----------------------------------------------
243 # Programs producing files for the TARGET machine
244 # -----------------------------------------------
246 # This is the list of directories that may be needed in RPATH_ENVVAR
247 # so that prorgams built for the target machine work.
248 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
250 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
252 AR_FOR_TARGET=@AR_FOR_TARGET@
253 USUAL_AR_FOR_TARGET = ` \
254 if [ -f $$r/binutils/ar ] ; then \
255 echo $$r/binutils/ar ; \
256 else \
257 if [ '$(host)' = '$(target)' ] ; then \
258 echo $(AR); \
259 else \
260 echo ar | sed '$(program_transform_name)' ; \
261 fi; \
264 AS_FOR_TARGET=@AS_FOR_TARGET@
265 USUAL_AS_FOR_TARGET = ` \
266 if [ -f $$r/gas/as-new ] ; then \
267 echo $$r/gas/as-new ; \
268 elif [ -f $$r/gcc/xgcc ]; then \
269 $(CC_FOR_TARGET) -print-prog-name=as ; \
270 else \
271 if [ '$(host)' = '$(target)' ] ; then \
272 echo $(AS); \
273 else \
274 echo as | sed '$(program_transform_name)' ; \
275 fi; \
278 CC_FOR_TARGET = @CC_FOR_TARGET@
279 # During gcc bootstrap, if we use some random cc for stage1 then
280 # CFLAGS will be just -g. We want to ensure that TARGET libraries
281 # (which we know are built with gcc) are built with optimizations so
282 # prepend -O2 when setting CFLAGS_FOR_TARGET.
283 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
284 # If GCC_FOR_TARGET is not overriden on the command line, then this
285 # variable is passed down to the gcc Makefile, where it is used to
286 # build libgcc2.a. We define it here so that it can itself be
287 # overridden on the command line.
288 GCC_FOR_TARGET=@GCC_FOR_TARGET@
289 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
290 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
292 CXX_FOR_TARGET = @CXX_FOR_TARGET@
293 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
294 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
295 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
296 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
297 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
299 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
300 USUAL_DLLTOOL_FOR_TARGET = ` \
301 if [ -f $$r/binutils/dlltool ] ; then \
302 echo $$r/binutils/dlltool ; \
303 else \
304 if [ '$(host)' = '$(target)' ] ; then \
305 echo $(DLLTOOL); \
306 else \
307 echo dlltool | sed '$(program_transform_name)' ; \
308 fi; \
311 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
313 LD_FOR_TARGET=@LD_FOR_TARGET@
314 USUAL_LD_FOR_TARGET = ` \
315 if [ -f $$r/ld/ld-new ] ; then \
316 echo $$r/ld/ld-new ; \
317 elif [ -f $$r/gcc/xgcc ]; then \
318 $(CC_FOR_TARGET) -print-prog-name=ld ; \
319 else \
320 if [ '$(host)' = '$(target)' ] ; then \
321 echo $(LD); \
322 else \
323 echo ld | sed '$(program_transform_name)' ; \
324 fi; \
327 LDFLAGS_FOR_TARGET =
329 NM_FOR_TARGET=@NM_FOR_TARGET@
330 USUAL_NM_FOR_TARGET = ` \
331 if [ -f $$r/binutils/nm-new ] ; then \
332 echo $$r/binutils/nm-new ; \
333 elif [ -f $$r/gcc/xgcc ]; then \
334 $(CC_FOR_TARGET) -print-prog-name=nm ; \
335 else \
336 if [ '$(host)' = '$(target)' ] ; then \
337 echo $(NM); \
338 else \
339 echo nm | sed '$(program_transform_name)' ; \
340 fi; \
343 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
344 USUAL_RANLIB_FOR_TARGET = ` \
345 if [ -f $$r/binutils/ranlib ] ; then \
346 echo $$r/binutils/ranlib ; \
347 else \
348 if [ '$(host)' = '$(target)' ] ; then \
349 if [ x'$(RANLIB)' != x ]; then \
350 echo $(RANLIB); \
351 else \
352 echo ranlib; \
353 fi; \
354 else \
355 echo ranlib | sed '$(program_transform_name)' ; \
356 fi; \
359 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
360 USUAL_WINDRES_FOR_TARGET = ` \
361 if [ -f $$r/binutils/windres ] ; then \
362 echo $$r/binutils/windres ; \
363 else \
364 if [ '$(host)' = '$(target)' ] ; then \
365 echo $(WINDRES); \
366 else \
367 echo windres | sed '$(program_transform_name)' ; \
368 fi; \
371 PICFLAG_FOR_TARGET =
373 # ------------------------------------
374 # Miscellaneous targets and flag lists
375 # ------------------------------------
377 # The first rule in the file had better be this one. Don't put any above it.
378 # This lives here to allow makefile fragments to contain dependencies.
379 all: all.normal
380 .PHONY: all
382 #### host and target specific makefile fragments come in here.
383 @target_makefile_frag@
384 @alphaieee_frag@
385 @ospace_frag@
386 @host_makefile_frag@
389 # Flags to pass down to all sub-makes.
390 # Please keep these in alphabetical order.
391 BASE_FLAGS_TO_PASS = \
392 "AR_FLAGS=$(AR_FLAGS)" \
393 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
394 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
395 "BISON=$(BISON)" \
396 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
397 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
398 "CFLAGS=$(CFLAGS)" \
399 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
400 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
401 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
402 "CXXFLAGS=$(CXXFLAGS)" \
403 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
404 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
405 "DESTDIR=$(DESTDIR)" \
406 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
407 "INSTALL=$(INSTALL)" \
408 "INSTALL_DATA=$(INSTALL_DATA)" \
409 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
410 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
411 "LDFLAGS=$(LDFLAGS)" \
412 "LEX=$(LEX)" \
413 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
414 "LIBCFLAGS=$(LIBCFLAGS)" \
415 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
416 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
417 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
418 "M4=$(M4)" \
419 "MAKE=$(MAKE)" \
420 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
421 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
422 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
423 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
424 "SHELL=$(SHELL)" \
425 "EXPECT=$(EXPECT)" \
426 "RUNTEST=$(RUNTEST)" \
427 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
428 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
429 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
430 "YACC=$(YACC)" \
431 "bindir=$(bindir)" \
432 "datadir=$(datadir)" \
433 "exec_prefix=$(exec_prefix)" \
434 "includedir=$(includedir)" \
435 "infodir=$(infodir)" \
436 "libdir=$(libdir)" \
437 "libexecdir=$(libexecdir)" \
438 "lispdir=$(lispdir)" \
439 "libstdcxx_incdir=$(libstdcxx_incdir)" \
440 "libsubdir=$(libsubdir)" \
441 "localstatedir=$(localstatedir)" \
442 "mandir=$(mandir)" \
443 "oldincludedir=$(oldincludedir)" \
444 "prefix=$(prefix)" \
445 "sbindir=$(sbindir)" \
446 "sharedstatedir=$(sharedstatedir)" \
447 "sysconfdir=$(sysconfdir)" \
448 "tooldir=$(tooldir)" \
449 "build_tooldir=$(build_tooldir)" \
450 "gxx_include_dir=$(gxx_include_dir)" \
451 "gcc_version=$(gcc_version)" \
452 "gcc_version_trigger=$(gcc_version_trigger)" \
453 "target_alias=$(target_alias)"
455 # For any flags above that may contain shell code that varies from one
456 # target library to another. When doing recursive invocations of the
457 # top-level Makefile, we don't want the outer make to evaluate them,
458 # so we pass these variables down unchanged. They must not contain
459 # single nor double quotes.
460 RECURSE_FLAGS = \
461 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
462 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
464 # Flags to pass down to most sub-makes, in which we're building with
465 # the host environment.
466 EXTRA_HOST_FLAGS = \
467 'AR=$(AR)' \
468 'AS=$(AS)' \
469 'CC=$(CC)' \
470 'CXX=$(CXX)' \
471 'DLLTOOL=$(DLLTOOL)' \
472 'LD=$(LD)' \
473 'NM=$(NM)' \
474 'RANLIB=$(RANLIB)' \
475 'WINDRES=$(WINDRES)'
477 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
479 # Flags that are concerned with the location of the X11 include files
480 # and library files
482 # NOTE: until the top-level is getting the values via autoconf, it only
483 # causes problems to have this top-level Makefile overriding the autoconf-set
484 # values in child directories. Only variables that don't conflict with
485 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
487 X11_FLAGS_TO_PASS = \
488 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
489 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
491 # Flags to pass down to makes which are built with the target environment.
492 # The double $ decreases the length of the command line; the variables
493 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
494 EXTRA_TARGET_FLAGS = \
495 'AR=$$(AR_FOR_TARGET)' \
496 'AS=$$(AS_FOR_TARGET)' \
497 'CC=$$(CC_FOR_TARGET)' \
498 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
499 'CXX=$$(CXX_FOR_TARGET)' \
500 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
501 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
502 'LD=$$(LD_FOR_TARGET)' \
503 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
504 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
505 'NM=$$(NM_FOR_TARGET)' \
506 'RANLIB=$$(RANLIB_FOR_TARGET)' \
507 'WINDRES=$$(WINDRES_FOR_TARGET)'
509 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
511 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
512 # unfortunately needs the native compiler and the target ar and
513 # ranlib.
514 # If any variables are added here, they must be added to do-*, below.
515 # The BUILD_* variables are a special case, which are used for the gcc
516 # cross-building scheme.
517 EXTRA_GCC_FLAGS = \
518 'AR=$(AR)' \
519 'AS=$(AS)' \
520 'CC=$(CC)' \
521 'CXX=$(CXX)' \
522 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
523 'BUILD_CC=$(CC_FOR_BUILD)' \
524 'BUILD_PREFIX=$(BUILD_PREFIX)' \
525 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
526 'NM=$(NM)' \
527 'RANLIB=$(RANLIB)' \
528 'WINDRES=$$(WINDRES_FOR_TARGET)' \
529 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
530 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
531 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
532 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
533 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
534 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
535 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
536 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
537 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
538 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
539 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
541 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
543 .PHONY: configure-host
544 configure-host: maybe-configure-gcc \
545 maybe-configure-ash \
546 maybe-configure-autoconf \
547 maybe-configure-automake \
548 maybe-configure-bash \
549 maybe-configure-bfd \
550 maybe-configure-opcodes \
551 maybe-configure-binutils \
552 maybe-configure-bison \
553 maybe-configure-byacc \
554 maybe-configure-bzip2 \
555 maybe-configure-dejagnu \
556 maybe-configure-diff \
557 maybe-configure-dosutils \
558 maybe-configure-etc \
559 maybe-configure-fastjar \
560 maybe-configure-fileutils \
561 maybe-configure-findutils \
562 maybe-configure-find \
563 maybe-configure-flex \
564 maybe-configure-gas \
565 maybe-configure-gawk \
566 maybe-configure-gettext \
567 maybe-configure-gnuserv \
568 maybe-configure-gprof \
569 maybe-configure-gzip \
570 maybe-configure-hello \
571 maybe-configure-indent \
572 maybe-configure-intl \
573 maybe-configure-tcl \
574 maybe-configure-itcl \
575 maybe-configure-ld \
576 maybe-configure-libgui \
577 maybe-configure-libiberty \
578 maybe-configure-libtool \
579 maybe-configure-m4 \
580 maybe-configure-make \
581 maybe-configure-mmalloc \
582 maybe-configure-patch \
583 maybe-configure-perl \
584 maybe-configure-prms \
585 maybe-configure-rcs \
586 maybe-configure-readline \
587 maybe-configure-release \
588 maybe-configure-recode \
589 maybe-configure-sed \
590 maybe-configure-send-pr \
591 maybe-configure-shellutils \
592 maybe-configure-sid \
593 maybe-configure-sim \
594 maybe-configure-tar \
595 maybe-configure-texinfo \
596 maybe-configure-textutils \
597 maybe-configure-time \
598 maybe-configure-uudecode \
599 maybe-configure-wdiff \
600 maybe-configure-zip \
601 maybe-configure-zlib \
602 maybe-configure-gdb \
603 maybe-configure-expect \
604 maybe-configure-guile \
605 maybe-configure-tk \
606 maybe-configure-tix \
607 maybe-configure-libtermcap \
608 maybe-configure-utils
609 .PHONY: configure-target
610 configure-target: \
611 maybe-configure-target-libstdc++-v3 \
612 maybe-configure-target-newlib \
613 maybe-configure-target-libf2c \
614 maybe-configure-target-libobjc \
615 maybe-configure-target-libtermcap \
616 maybe-configure-target-winsup \
617 maybe-configure-target-libgloss \
618 maybe-configure-target-libiberty \
619 maybe-configure-target-gperf \
620 maybe-configure-target-examples \
621 maybe-configure-target-libffi \
622 maybe-configure-target-libjava \
623 maybe-configure-target-zlib \
624 maybe-configure-target-boehm-gc \
625 maybe-configure-target-qthreads \
626 maybe-configure-target-rda
628 # The target built for a native build.
629 .PHONY: all.normal
630 all.normal: @all_build_modules@ all-host all-target
632 .PHONY: all-host
633 all-host: maybe-all-gcc \
634 maybe-all-ash \
635 maybe-all-autoconf \
636 maybe-all-automake \
637 maybe-all-bash \
638 maybe-all-bfd \
639 maybe-all-opcodes \
640 maybe-all-binutils \
641 maybe-all-bison \
642 maybe-all-byacc \
643 maybe-all-bzip2 \
644 maybe-all-dejagnu \
645 maybe-all-diff \
646 maybe-all-dosutils \
647 maybe-all-etc \
648 maybe-all-fastjar \
649 maybe-all-fileutils \
650 maybe-all-findutils \
651 maybe-all-find \
652 maybe-all-flex \
653 maybe-all-gas \
654 maybe-all-gawk \
655 maybe-all-gettext \
656 maybe-all-gnuserv \
657 maybe-all-gprof \
658 maybe-all-gzip \
659 maybe-all-hello \
660 maybe-all-indent \
661 maybe-all-intl \
662 maybe-all-tcl \
663 maybe-all-itcl \
664 maybe-all-ld \
665 maybe-all-libgui \
666 maybe-all-libiberty \
667 maybe-all-libtool \
668 maybe-all-m4 \
669 maybe-all-make \
670 maybe-all-mmalloc \
671 maybe-all-patch \
672 maybe-all-perl \
673 maybe-all-prms \
674 maybe-all-rcs \
675 maybe-all-readline \
676 maybe-all-release \
677 maybe-all-recode \
678 maybe-all-sed \
679 maybe-all-send-pr \
680 maybe-all-shellutils \
681 maybe-all-sid \
682 maybe-all-sim \
683 maybe-all-tar \
684 maybe-all-texinfo \
685 maybe-all-textutils \
686 maybe-all-time \
687 maybe-all-uudecode \
688 maybe-all-wdiff \
689 maybe-all-zip \
690 maybe-all-zlib \
691 maybe-all-gdb \
692 maybe-all-expect \
693 maybe-all-guile \
694 maybe-all-tk \
695 maybe-all-tix \
696 maybe-all-libtermcap \
697 maybe-all-utils
698 .PHONY: all-target
699 all-target: \
700 maybe-all-target-libstdc++-v3 \
701 maybe-all-target-newlib \
702 maybe-all-target-libf2c \
703 maybe-all-target-libobjc \
704 maybe-all-target-libtermcap \
705 maybe-all-target-winsup \
706 maybe-all-target-libgloss \
707 maybe-all-target-libiberty \
708 maybe-all-target-gperf \
709 maybe-all-target-examples \
710 maybe-all-target-libffi \
711 maybe-all-target-libjava \
712 maybe-all-target-zlib \
713 maybe-all-target-boehm-gc \
714 maybe-all-target-qthreads \
715 maybe-all-target-rda
717 # Do a target for all the subdirectories. A ``make do-X'' will do a
718 # ``make X'' in all subdirectories (because, in general, there is a
719 # dependency (below) of X upon do-X, a ``make X'' will also do this,
720 # but it may do additional work as well).
722 .PHONY: do-info
723 do-info: info-host info-target
725 .PHONY: info-host
726 info-host: maybe-info-gcc \
727 maybe-info-ash \
728 maybe-info-autoconf \
729 maybe-info-automake \
730 maybe-info-bash \
731 maybe-info-bfd \
732 maybe-info-opcodes \
733 maybe-info-binutils \
734 maybe-info-bison \
735 maybe-info-byacc \
736 maybe-info-bzip2 \
737 maybe-info-dejagnu \
738 maybe-info-diff \
739 maybe-info-dosutils \
740 maybe-info-etc \
741 maybe-info-fastjar \
742 maybe-info-fileutils \
743 maybe-info-findutils \
744 maybe-info-find \
745 maybe-info-flex \
746 maybe-info-gas \
747 maybe-info-gawk \
748 maybe-info-gettext \
749 maybe-info-gnuserv \
750 maybe-info-gprof \
751 maybe-info-gzip \
752 maybe-info-hello \
753 maybe-info-indent \
754 maybe-info-intl \
755 maybe-info-tcl \
756 maybe-info-itcl \
757 maybe-info-ld \
758 maybe-info-libgui \
759 maybe-info-libiberty \
760 maybe-info-libtool \
761 maybe-info-m4 \
762 maybe-info-make \
763 maybe-info-mmalloc \
764 maybe-info-patch \
765 maybe-info-perl \
766 maybe-info-prms \
767 maybe-info-rcs \
768 maybe-info-readline \
769 maybe-info-release \
770 maybe-info-recode \
771 maybe-info-sed \
772 maybe-info-send-pr \
773 maybe-info-shellutils \
774 maybe-info-sid \
775 maybe-info-sim \
776 maybe-info-tar \
777 maybe-info-texinfo \
778 maybe-info-textutils \
779 maybe-info-time \
780 maybe-info-uudecode \
781 maybe-info-wdiff \
782 maybe-info-zip \
783 maybe-info-zlib \
784 maybe-info-gdb \
785 maybe-info-expect \
786 maybe-info-guile \
787 maybe-info-tk \
788 maybe-info-tix \
789 maybe-info-libtermcap \
790 maybe-info-utils
792 .PHONY: info-target
793 info-target: \
794 maybe-info-target-libstdc++-v3 \
795 maybe-info-target-newlib \
796 maybe-info-target-libf2c \
797 maybe-info-target-libobjc \
798 maybe-info-target-libtermcap \
799 maybe-info-target-winsup \
800 maybe-info-target-libgloss \
801 maybe-info-target-libiberty \
802 maybe-info-target-gperf \
803 maybe-info-target-examples \
804 maybe-info-target-libffi \
805 maybe-info-target-libjava \
806 maybe-info-target-zlib \
807 maybe-info-target-boehm-gc \
808 maybe-info-target-qthreads \
809 maybe-info-target-rda
811 # GCC, the eternal special case
812 .PHONY: maybe-info-gcc info-gcc
813 maybe-info-gcc:
814 info-gcc: \
815 configure-gcc
816 @[ -f ./gcc/Makefile ] || exit 0; \
817 r=`${PWD}`; export r; \
818 s=`cd $(srcdir); ${PWD}`; export s; \
819 $(SET_LIB_PATH) \
820 for flag in $(EXTRA_GCC_FLAGS); do \
821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
822 done; \
823 echo "Doing info in gcc" ; \
824 (cd gcc && \
825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
827 "RANLIB=$${RANLIB}" \
828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
829 info) \
830 || exit 1
832 # Host modules.
834 .PHONY: maybe-info-ash info-ash
835 maybe-info-ash:
837 info-ash: \
838 configure-ash
839 @[ -f ./ash/Makefile ] || exit 0; \
840 r=`${PWD}`; export r; \
841 s=`cd $(srcdir); ${PWD}`; export s; \
842 $(SET_LIB_PATH) \
843 for flag in $(EXTRA_HOST_FLAGS); do \
844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
845 done; \
846 echo "Doing info in ash" ; \
847 (cd ash && \
848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
850 "RANLIB=$${RANLIB}" \
851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
852 info) \
853 || exit 1
856 .PHONY: maybe-info-autoconf info-autoconf
857 maybe-info-autoconf:
859 info-autoconf: \
860 configure-autoconf
861 @[ -f ./autoconf/Makefile ] || exit 0; \
862 r=`${PWD}`; export r; \
863 s=`cd $(srcdir); ${PWD}`; export s; \
864 $(SET_LIB_PATH) \
865 for flag in $(EXTRA_HOST_FLAGS); do \
866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
867 done; \
868 echo "Doing info in autoconf" ; \
869 (cd autoconf && \
870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
872 "RANLIB=$${RANLIB}" \
873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
874 info) \
875 || exit 1
878 .PHONY: maybe-info-automake info-automake
879 maybe-info-automake:
881 info-automake: \
882 configure-automake
883 @[ -f ./automake/Makefile ] || exit 0; \
884 r=`${PWD}`; export r; \
885 s=`cd $(srcdir); ${PWD}`; export s; \
886 $(SET_LIB_PATH) \
887 for flag in $(EXTRA_HOST_FLAGS); do \
888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
889 done; \
890 echo "Doing info in automake" ; \
891 (cd automake && \
892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
894 "RANLIB=$${RANLIB}" \
895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
896 info) \
897 || exit 1
900 .PHONY: maybe-info-bash info-bash
901 maybe-info-bash:
903 info-bash: \
904 configure-bash
905 @[ -f ./bash/Makefile ] || exit 0; \
906 r=`${PWD}`; export r; \
907 s=`cd $(srcdir); ${PWD}`; export s; \
908 $(SET_LIB_PATH) \
909 for flag in $(EXTRA_HOST_FLAGS); do \
910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
911 done; \
912 echo "Doing info in bash" ; \
913 (cd bash && \
914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
916 "RANLIB=$${RANLIB}" \
917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
918 info) \
919 || exit 1
922 .PHONY: maybe-info-bfd info-bfd
923 maybe-info-bfd:
925 info-bfd: \
926 configure-bfd
927 @[ -f ./bfd/Makefile ] || exit 0; \
928 r=`${PWD}`; export r; \
929 s=`cd $(srcdir); ${PWD}`; export s; \
930 $(SET_LIB_PATH) \
931 for flag in $(EXTRA_HOST_FLAGS); do \
932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
933 done; \
934 echo "Doing info in bfd" ; \
935 (cd bfd && \
936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
938 "RANLIB=$${RANLIB}" \
939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
940 info) \
941 || exit 1
944 .PHONY: maybe-info-opcodes info-opcodes
945 maybe-info-opcodes:
947 info-opcodes: \
948 configure-opcodes
949 @[ -f ./opcodes/Makefile ] || exit 0; \
950 r=`${PWD}`; export r; \
951 s=`cd $(srcdir); ${PWD}`; export s; \
952 $(SET_LIB_PATH) \
953 for flag in $(EXTRA_HOST_FLAGS); do \
954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
955 done; \
956 echo "Doing info in opcodes" ; \
957 (cd opcodes && \
958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
960 "RANLIB=$${RANLIB}" \
961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
962 info) \
963 || exit 1
966 .PHONY: maybe-info-binutils info-binutils
967 maybe-info-binutils:
969 info-binutils: \
970 configure-binutils
971 @[ -f ./binutils/Makefile ] || exit 0; \
972 r=`${PWD}`; export r; \
973 s=`cd $(srcdir); ${PWD}`; export s; \
974 $(SET_LIB_PATH) \
975 for flag in $(EXTRA_HOST_FLAGS); do \
976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
977 done; \
978 echo "Doing info in binutils" ; \
979 (cd binutils && \
980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
982 "RANLIB=$${RANLIB}" \
983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
984 info) \
985 || exit 1
988 .PHONY: maybe-info-bison info-bison
989 maybe-info-bison:
991 info-bison: \
992 configure-bison
993 @[ -f ./bison/Makefile ] || exit 0; \
994 r=`${PWD}`; export r; \
995 s=`cd $(srcdir); ${PWD}`; export s; \
996 $(SET_LIB_PATH) \
997 for flag in $(EXTRA_HOST_FLAGS); do \
998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
999 done; \
1000 echo "Doing info in bison" ; \
1001 (cd bison && \
1002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1004 "RANLIB=$${RANLIB}" \
1005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1006 info) \
1007 || exit 1
1010 .PHONY: maybe-info-byacc info-byacc
1011 maybe-info-byacc:
1013 info-byacc: \
1014 configure-byacc
1015 @[ -f ./byacc/Makefile ] || exit 0; \
1016 r=`${PWD}`; export r; \
1017 s=`cd $(srcdir); ${PWD}`; export s; \
1018 $(SET_LIB_PATH) \
1019 for flag in $(EXTRA_HOST_FLAGS); do \
1020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1021 done; \
1022 echo "Doing info in byacc" ; \
1023 (cd byacc && \
1024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1026 "RANLIB=$${RANLIB}" \
1027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1028 info) \
1029 || exit 1
1032 .PHONY: maybe-info-bzip2 info-bzip2
1033 maybe-info-bzip2:
1035 info-bzip2: \
1036 configure-bzip2
1037 @[ -f ./bzip2/Makefile ] || exit 0; \
1038 r=`${PWD}`; export r; \
1039 s=`cd $(srcdir); ${PWD}`; export s; \
1040 $(SET_LIB_PATH) \
1041 for flag in $(EXTRA_HOST_FLAGS); do \
1042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1043 done; \
1044 echo "Doing info in bzip2" ; \
1045 (cd bzip2 && \
1046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1048 "RANLIB=$${RANLIB}" \
1049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1050 info) \
1051 || exit 1
1054 .PHONY: maybe-info-dejagnu info-dejagnu
1055 maybe-info-dejagnu:
1057 info-dejagnu: \
1058 configure-dejagnu
1059 @[ -f ./dejagnu/Makefile ] || exit 0; \
1060 r=`${PWD}`; export r; \
1061 s=`cd $(srcdir); ${PWD}`; export s; \
1062 $(SET_LIB_PATH) \
1063 for flag in $(EXTRA_HOST_FLAGS); do \
1064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1065 done; \
1066 echo "Doing info in dejagnu" ; \
1067 (cd dejagnu && \
1068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1070 "RANLIB=$${RANLIB}" \
1071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1072 info) \
1073 || exit 1
1076 .PHONY: maybe-info-diff info-diff
1077 maybe-info-diff:
1079 info-diff: \
1080 configure-diff
1081 @[ -f ./diff/Makefile ] || exit 0; \
1082 r=`${PWD}`; export r; \
1083 s=`cd $(srcdir); ${PWD}`; export s; \
1084 $(SET_LIB_PATH) \
1085 for flag in $(EXTRA_HOST_FLAGS); do \
1086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1087 done; \
1088 echo "Doing info in diff" ; \
1089 (cd diff && \
1090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1092 "RANLIB=$${RANLIB}" \
1093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1094 info) \
1095 || exit 1
1098 .PHONY: maybe-info-dosutils info-dosutils
1099 maybe-info-dosutils:
1101 info-dosutils: \
1102 configure-dosutils
1103 @[ -f ./dosutils/Makefile ] || exit 0; \
1104 r=`${PWD}`; export r; \
1105 s=`cd $(srcdir); ${PWD}`; export s; \
1106 $(SET_LIB_PATH) \
1107 for flag in $(EXTRA_HOST_FLAGS); do \
1108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1109 done; \
1110 echo "Doing info in dosutils" ; \
1111 (cd dosutils && \
1112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1114 "RANLIB=$${RANLIB}" \
1115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1116 info) \
1117 || exit 1
1120 .PHONY: maybe-info-etc info-etc
1121 maybe-info-etc:
1123 info-etc: \
1124 configure-etc
1125 @[ -f ./etc/Makefile ] || exit 0; \
1126 r=`${PWD}`; export r; \
1127 s=`cd $(srcdir); ${PWD}`; export s; \
1128 $(SET_LIB_PATH) \
1129 for flag in $(EXTRA_HOST_FLAGS); do \
1130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1131 done; \
1132 echo "Doing info in etc" ; \
1133 (cd etc && \
1134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1136 "RANLIB=$${RANLIB}" \
1137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1138 info) \
1139 || exit 1
1142 .PHONY: maybe-info-fastjar info-fastjar
1143 maybe-info-fastjar:
1145 info-fastjar: \
1146 configure-fastjar
1147 @[ -f ./fastjar/Makefile ] || exit 0; \
1148 r=`${PWD}`; export r; \
1149 s=`cd $(srcdir); ${PWD}`; export s; \
1150 $(SET_LIB_PATH) \
1151 for flag in $(EXTRA_HOST_FLAGS); do \
1152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1153 done; \
1154 echo "Doing info in fastjar" ; \
1155 (cd fastjar && \
1156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1158 "RANLIB=$${RANLIB}" \
1159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1160 info) \
1161 || exit 1
1164 .PHONY: maybe-info-fileutils info-fileutils
1165 maybe-info-fileutils:
1167 info-fileutils: \
1168 configure-fileutils
1169 @[ -f ./fileutils/Makefile ] || exit 0; \
1170 r=`${PWD}`; export r; \
1171 s=`cd $(srcdir); ${PWD}`; export s; \
1172 $(SET_LIB_PATH) \
1173 for flag in $(EXTRA_HOST_FLAGS); do \
1174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1175 done; \
1176 echo "Doing info in fileutils" ; \
1177 (cd fileutils && \
1178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1180 "RANLIB=$${RANLIB}" \
1181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1182 info) \
1183 || exit 1
1186 .PHONY: maybe-info-findutils info-findutils
1187 maybe-info-findutils:
1189 info-findutils: \
1190 configure-findutils
1191 @[ -f ./findutils/Makefile ] || exit 0; \
1192 r=`${PWD}`; export r; \
1193 s=`cd $(srcdir); ${PWD}`; export s; \
1194 $(SET_LIB_PATH) \
1195 for flag in $(EXTRA_HOST_FLAGS); do \
1196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1197 done; \
1198 echo "Doing info in findutils" ; \
1199 (cd findutils && \
1200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1202 "RANLIB=$${RANLIB}" \
1203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1204 info) \
1205 || exit 1
1208 .PHONY: maybe-info-find info-find
1209 maybe-info-find:
1211 info-find: \
1212 configure-find
1213 @[ -f ./find/Makefile ] || exit 0; \
1214 r=`${PWD}`; export r; \
1215 s=`cd $(srcdir); ${PWD}`; export s; \
1216 $(SET_LIB_PATH) \
1217 for flag in $(EXTRA_HOST_FLAGS); do \
1218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1219 done; \
1220 echo "Doing info in find" ; \
1221 (cd find && \
1222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1224 "RANLIB=$${RANLIB}" \
1225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1226 info) \
1227 || exit 1
1230 .PHONY: maybe-info-flex info-flex
1231 maybe-info-flex:
1233 info-flex: \
1234 configure-flex
1235 @[ -f ./flex/Makefile ] || exit 0; \
1236 r=`${PWD}`; export r; \
1237 s=`cd $(srcdir); ${PWD}`; export s; \
1238 $(SET_LIB_PATH) \
1239 for flag in $(EXTRA_HOST_FLAGS); do \
1240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1241 done; \
1242 echo "Doing info in flex" ; \
1243 (cd flex && \
1244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1246 "RANLIB=$${RANLIB}" \
1247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1248 info) \
1249 || exit 1
1252 .PHONY: maybe-info-gas info-gas
1253 maybe-info-gas:
1255 info-gas: \
1256 configure-gas
1257 @[ -f ./gas/Makefile ] || exit 0; \
1258 r=`${PWD}`; export r; \
1259 s=`cd $(srcdir); ${PWD}`; export s; \
1260 $(SET_LIB_PATH) \
1261 for flag in $(EXTRA_HOST_FLAGS); do \
1262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1263 done; \
1264 echo "Doing info in gas" ; \
1265 (cd gas && \
1266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1268 "RANLIB=$${RANLIB}" \
1269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1270 info) \
1271 || exit 1
1274 .PHONY: maybe-info-gawk info-gawk
1275 maybe-info-gawk:
1277 info-gawk: \
1278 configure-gawk
1279 @[ -f ./gawk/Makefile ] || exit 0; \
1280 r=`${PWD}`; export r; \
1281 s=`cd $(srcdir); ${PWD}`; export s; \
1282 $(SET_LIB_PATH) \
1283 for flag in $(EXTRA_HOST_FLAGS); do \
1284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1285 done; \
1286 echo "Doing info in gawk" ; \
1287 (cd gawk && \
1288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1290 "RANLIB=$${RANLIB}" \
1291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1292 info) \
1293 || exit 1
1296 .PHONY: maybe-info-gettext info-gettext
1297 maybe-info-gettext:
1299 info-gettext: \
1300 configure-gettext
1301 @[ -f ./gettext/Makefile ] || exit 0; \
1302 r=`${PWD}`; export r; \
1303 s=`cd $(srcdir); ${PWD}`; export s; \
1304 $(SET_LIB_PATH) \
1305 for flag in $(EXTRA_HOST_FLAGS); do \
1306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1307 done; \
1308 echo "Doing info in gettext" ; \
1309 (cd gettext && \
1310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1312 "RANLIB=$${RANLIB}" \
1313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1314 info) \
1315 || exit 1
1318 .PHONY: maybe-info-gnuserv info-gnuserv
1319 maybe-info-gnuserv:
1321 info-gnuserv: \
1322 configure-gnuserv
1323 @[ -f ./gnuserv/Makefile ] || exit 0; \
1324 r=`${PWD}`; export r; \
1325 s=`cd $(srcdir); ${PWD}`; export s; \
1326 $(SET_LIB_PATH) \
1327 for flag in $(EXTRA_HOST_FLAGS); do \
1328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1329 done; \
1330 echo "Doing info in gnuserv" ; \
1331 (cd gnuserv && \
1332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1334 "RANLIB=$${RANLIB}" \
1335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1336 info) \
1337 || exit 1
1340 .PHONY: maybe-info-gprof info-gprof
1341 maybe-info-gprof:
1343 info-gprof: \
1344 configure-gprof
1345 @[ -f ./gprof/Makefile ] || exit 0; \
1346 r=`${PWD}`; export r; \
1347 s=`cd $(srcdir); ${PWD}`; export s; \
1348 $(SET_LIB_PATH) \
1349 for flag in $(EXTRA_HOST_FLAGS); do \
1350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1351 done; \
1352 echo "Doing info in gprof" ; \
1353 (cd gprof && \
1354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1356 "RANLIB=$${RANLIB}" \
1357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1358 info) \
1359 || exit 1
1362 .PHONY: maybe-info-gzip info-gzip
1363 maybe-info-gzip:
1365 info-gzip: \
1366 configure-gzip
1367 @[ -f ./gzip/Makefile ] || exit 0; \
1368 r=`${PWD}`; export r; \
1369 s=`cd $(srcdir); ${PWD}`; export s; \
1370 $(SET_LIB_PATH) \
1371 for flag in $(EXTRA_HOST_FLAGS); do \
1372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1373 done; \
1374 echo "Doing info in gzip" ; \
1375 (cd gzip && \
1376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1378 "RANLIB=$${RANLIB}" \
1379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1380 info) \
1381 || exit 1
1384 .PHONY: maybe-info-hello info-hello
1385 maybe-info-hello:
1387 info-hello: \
1388 configure-hello
1389 @[ -f ./hello/Makefile ] || exit 0; \
1390 r=`${PWD}`; export r; \
1391 s=`cd $(srcdir); ${PWD}`; export s; \
1392 $(SET_LIB_PATH) \
1393 for flag in $(EXTRA_HOST_FLAGS); do \
1394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1395 done; \
1396 echo "Doing info in hello" ; \
1397 (cd hello && \
1398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1400 "RANLIB=$${RANLIB}" \
1401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1402 info) \
1403 || exit 1
1406 .PHONY: maybe-info-indent info-indent
1407 maybe-info-indent:
1409 info-indent: \
1410 configure-indent
1411 @[ -f ./indent/Makefile ] || exit 0; \
1412 r=`${PWD}`; export r; \
1413 s=`cd $(srcdir); ${PWD}`; export s; \
1414 $(SET_LIB_PATH) \
1415 for flag in $(EXTRA_HOST_FLAGS); do \
1416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1417 done; \
1418 echo "Doing info in indent" ; \
1419 (cd indent && \
1420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1422 "RANLIB=$${RANLIB}" \
1423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1424 info) \
1425 || exit 1
1428 .PHONY: maybe-info-intl info-intl
1429 maybe-info-intl:
1431 info-intl: \
1432 configure-intl
1433 @[ -f ./intl/Makefile ] || exit 0; \
1434 r=`${PWD}`; export r; \
1435 s=`cd $(srcdir); ${PWD}`; export s; \
1436 $(SET_LIB_PATH) \
1437 for flag in $(EXTRA_HOST_FLAGS); do \
1438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1439 done; \
1440 echo "Doing info in intl" ; \
1441 (cd intl && \
1442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1444 "RANLIB=$${RANLIB}" \
1445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1446 info) \
1447 || exit 1
1450 .PHONY: maybe-info-tcl info-tcl
1451 maybe-info-tcl:
1453 info-tcl: \
1454 configure-tcl
1455 @[ -f ./tcl/Makefile ] || exit 0; \
1456 r=`${PWD}`; export r; \
1457 s=`cd $(srcdir); ${PWD}`; export s; \
1458 $(SET_LIB_PATH) \
1459 for flag in $(EXTRA_HOST_FLAGS); do \
1460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1461 done; \
1462 echo "Doing info in tcl" ; \
1463 (cd tcl && \
1464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1466 "RANLIB=$${RANLIB}" \
1467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1468 info) \
1469 || exit 1
1472 .PHONY: maybe-info-itcl info-itcl
1473 maybe-info-itcl:
1475 info-itcl: \
1476 configure-itcl
1477 @[ -f ./itcl/Makefile ] || exit 0; \
1478 r=`${PWD}`; export r; \
1479 s=`cd $(srcdir); ${PWD}`; export s; \
1480 $(SET_LIB_PATH) \
1481 for flag in $(EXTRA_HOST_FLAGS); do \
1482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1483 done; \
1484 echo "Doing info in itcl" ; \
1485 (cd itcl && \
1486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1488 "RANLIB=$${RANLIB}" \
1489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1490 info) \
1491 || exit 1
1494 .PHONY: maybe-info-ld info-ld
1495 maybe-info-ld:
1497 info-ld: \
1498 configure-ld
1499 @[ -f ./ld/Makefile ] || exit 0; \
1500 r=`${PWD}`; export r; \
1501 s=`cd $(srcdir); ${PWD}`; export s; \
1502 $(SET_LIB_PATH) \
1503 for flag in $(EXTRA_HOST_FLAGS); do \
1504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1505 done; \
1506 echo "Doing info in ld" ; \
1507 (cd ld && \
1508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1510 "RANLIB=$${RANLIB}" \
1511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1512 info) \
1513 || exit 1
1516 .PHONY: maybe-info-libgui info-libgui
1517 maybe-info-libgui:
1519 info-libgui: \
1520 configure-libgui
1521 @[ -f ./libgui/Makefile ] || exit 0; \
1522 r=`${PWD}`; export r; \
1523 s=`cd $(srcdir); ${PWD}`; export s; \
1524 $(SET_LIB_PATH) \
1525 for flag in $(EXTRA_HOST_FLAGS); do \
1526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1527 done; \
1528 echo "Doing info in libgui" ; \
1529 (cd libgui && \
1530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1532 "RANLIB=$${RANLIB}" \
1533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1534 info) \
1535 || exit 1
1538 .PHONY: maybe-info-libiberty info-libiberty
1539 maybe-info-libiberty:
1541 info-libiberty: \
1542 configure-libiberty
1543 @[ -f ./libiberty/Makefile ] || exit 0; \
1544 r=`${PWD}`; export r; \
1545 s=`cd $(srcdir); ${PWD}`; export s; \
1546 $(SET_LIB_PATH) \
1547 for flag in $(EXTRA_HOST_FLAGS); do \
1548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1549 done; \
1550 echo "Doing info in libiberty" ; \
1551 (cd libiberty && \
1552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1554 "RANLIB=$${RANLIB}" \
1555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1556 info) \
1557 || exit 1
1560 .PHONY: maybe-info-libtool info-libtool
1561 maybe-info-libtool:
1563 info-libtool: \
1564 configure-libtool
1565 @[ -f ./libtool/Makefile ] || exit 0; \
1566 r=`${PWD}`; export r; \
1567 s=`cd $(srcdir); ${PWD}`; export s; \
1568 $(SET_LIB_PATH) \
1569 for flag in $(EXTRA_HOST_FLAGS); do \
1570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1571 done; \
1572 echo "Doing info in libtool" ; \
1573 (cd libtool && \
1574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1576 "RANLIB=$${RANLIB}" \
1577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1578 info) \
1579 || exit 1
1582 .PHONY: maybe-info-m4 info-m4
1583 maybe-info-m4:
1585 info-m4: \
1586 configure-m4
1587 @[ -f ./m4/Makefile ] || exit 0; \
1588 r=`${PWD}`; export r; \
1589 s=`cd $(srcdir); ${PWD}`; export s; \
1590 $(SET_LIB_PATH) \
1591 for flag in $(EXTRA_HOST_FLAGS); do \
1592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1593 done; \
1594 echo "Doing info in m4" ; \
1595 (cd m4 && \
1596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1598 "RANLIB=$${RANLIB}" \
1599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1600 info) \
1601 || exit 1
1604 .PHONY: maybe-info-make info-make
1605 maybe-info-make:
1607 info-make: \
1608 configure-make
1609 @[ -f ./make/Makefile ] || exit 0; \
1610 r=`${PWD}`; export r; \
1611 s=`cd $(srcdir); ${PWD}`; export s; \
1612 $(SET_LIB_PATH) \
1613 for flag in $(EXTRA_HOST_FLAGS); do \
1614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1615 done; \
1616 echo "Doing info in make" ; \
1617 (cd make && \
1618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1620 "RANLIB=$${RANLIB}" \
1621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1622 info) \
1623 || exit 1
1626 .PHONY: maybe-info-mmalloc info-mmalloc
1627 maybe-info-mmalloc:
1629 info-mmalloc: \
1630 configure-mmalloc
1631 @[ -f ./mmalloc/Makefile ] || exit 0; \
1632 r=`${PWD}`; export r; \
1633 s=`cd $(srcdir); ${PWD}`; export s; \
1634 $(SET_LIB_PATH) \
1635 for flag in $(EXTRA_HOST_FLAGS); do \
1636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1637 done; \
1638 echo "Doing info in mmalloc" ; \
1639 (cd mmalloc && \
1640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1642 "RANLIB=$${RANLIB}" \
1643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1644 info) \
1645 || exit 1
1648 .PHONY: maybe-info-patch info-patch
1649 maybe-info-patch:
1651 info-patch: \
1652 configure-patch
1653 @[ -f ./patch/Makefile ] || exit 0; \
1654 r=`${PWD}`; export r; \
1655 s=`cd $(srcdir); ${PWD}`; export s; \
1656 $(SET_LIB_PATH) \
1657 for flag in $(EXTRA_HOST_FLAGS); do \
1658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1659 done; \
1660 echo "Doing info in patch" ; \
1661 (cd patch && \
1662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1664 "RANLIB=$${RANLIB}" \
1665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1666 info) \
1667 || exit 1
1670 .PHONY: maybe-info-perl info-perl
1671 maybe-info-perl:
1673 info-perl: \
1674 configure-perl
1675 @[ -f ./perl/Makefile ] || exit 0; \
1676 r=`${PWD}`; export r; \
1677 s=`cd $(srcdir); ${PWD}`; export s; \
1678 $(SET_LIB_PATH) \
1679 for flag in $(EXTRA_HOST_FLAGS); do \
1680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1681 done; \
1682 echo "Doing info in perl" ; \
1683 (cd perl && \
1684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1686 "RANLIB=$${RANLIB}" \
1687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1688 info) \
1689 || exit 1
1692 .PHONY: maybe-info-prms info-prms
1693 maybe-info-prms:
1695 info-prms: \
1696 configure-prms
1697 @[ -f ./prms/Makefile ] || exit 0; \
1698 r=`${PWD}`; export r; \
1699 s=`cd $(srcdir); ${PWD}`; export s; \
1700 $(SET_LIB_PATH) \
1701 for flag in $(EXTRA_HOST_FLAGS); do \
1702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1703 done; \
1704 echo "Doing info in prms" ; \
1705 (cd prms && \
1706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1708 "RANLIB=$${RANLIB}" \
1709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1710 info) \
1711 || exit 1
1714 .PHONY: maybe-info-rcs info-rcs
1715 maybe-info-rcs:
1717 info-rcs: \
1718 configure-rcs
1719 @[ -f ./rcs/Makefile ] || exit 0; \
1720 r=`${PWD}`; export r; \
1721 s=`cd $(srcdir); ${PWD}`; export s; \
1722 $(SET_LIB_PATH) \
1723 for flag in $(EXTRA_HOST_FLAGS); do \
1724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1725 done; \
1726 echo "Doing info in rcs" ; \
1727 (cd rcs && \
1728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1730 "RANLIB=$${RANLIB}" \
1731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1732 info) \
1733 || exit 1
1736 .PHONY: maybe-info-readline info-readline
1737 maybe-info-readline:
1739 info-readline: \
1740 configure-readline
1741 @[ -f ./readline/Makefile ] || exit 0; \
1742 r=`${PWD}`; export r; \
1743 s=`cd $(srcdir); ${PWD}`; export s; \
1744 $(SET_LIB_PATH) \
1745 for flag in $(EXTRA_HOST_FLAGS); do \
1746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1747 done; \
1748 echo "Doing info in readline" ; \
1749 (cd readline && \
1750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1752 "RANLIB=$${RANLIB}" \
1753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1754 info) \
1755 || exit 1
1758 .PHONY: maybe-info-release info-release
1759 maybe-info-release:
1761 info-release: \
1762 configure-release
1763 @[ -f ./release/Makefile ] || exit 0; \
1764 r=`${PWD}`; export r; \
1765 s=`cd $(srcdir); ${PWD}`; export s; \
1766 $(SET_LIB_PATH) \
1767 for flag in $(EXTRA_HOST_FLAGS); do \
1768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1769 done; \
1770 echo "Doing info in release" ; \
1771 (cd release && \
1772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1774 "RANLIB=$${RANLIB}" \
1775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1776 info) \
1777 || exit 1
1780 .PHONY: maybe-info-recode info-recode
1781 maybe-info-recode:
1783 info-recode: \
1784 configure-recode
1785 @[ -f ./recode/Makefile ] || exit 0; \
1786 r=`${PWD}`; export r; \
1787 s=`cd $(srcdir); ${PWD}`; export s; \
1788 $(SET_LIB_PATH) \
1789 for flag in $(EXTRA_HOST_FLAGS); do \
1790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1791 done; \
1792 echo "Doing info in recode" ; \
1793 (cd recode && \
1794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1796 "RANLIB=$${RANLIB}" \
1797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1798 info) \
1799 || exit 1
1802 .PHONY: maybe-info-sed info-sed
1803 maybe-info-sed:
1805 info-sed: \
1806 configure-sed
1807 @[ -f ./sed/Makefile ] || exit 0; \
1808 r=`${PWD}`; export r; \
1809 s=`cd $(srcdir); ${PWD}`; export s; \
1810 $(SET_LIB_PATH) \
1811 for flag in $(EXTRA_HOST_FLAGS); do \
1812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1813 done; \
1814 echo "Doing info in sed" ; \
1815 (cd sed && \
1816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1818 "RANLIB=$${RANLIB}" \
1819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1820 info) \
1821 || exit 1
1824 .PHONY: maybe-info-send-pr info-send-pr
1825 maybe-info-send-pr:
1827 info-send-pr: \
1828 configure-send-pr
1829 @[ -f ./send-pr/Makefile ] || exit 0; \
1830 r=`${PWD}`; export r; \
1831 s=`cd $(srcdir); ${PWD}`; export s; \
1832 $(SET_LIB_PATH) \
1833 for flag in $(EXTRA_HOST_FLAGS); do \
1834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1835 done; \
1836 echo "Doing info in send-pr" ; \
1837 (cd send-pr && \
1838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1840 "RANLIB=$${RANLIB}" \
1841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1842 info) \
1843 || exit 1
1846 .PHONY: maybe-info-shellutils info-shellutils
1847 maybe-info-shellutils:
1849 info-shellutils: \
1850 configure-shellutils
1851 @[ -f ./shellutils/Makefile ] || exit 0; \
1852 r=`${PWD}`; export r; \
1853 s=`cd $(srcdir); ${PWD}`; export s; \
1854 $(SET_LIB_PATH) \
1855 for flag in $(EXTRA_HOST_FLAGS); do \
1856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1857 done; \
1858 echo "Doing info in shellutils" ; \
1859 (cd shellutils && \
1860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1862 "RANLIB=$${RANLIB}" \
1863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1864 info) \
1865 || exit 1
1868 .PHONY: maybe-info-sid info-sid
1869 maybe-info-sid:
1871 info-sid: \
1872 configure-sid
1873 @[ -f ./sid/Makefile ] || exit 0; \
1874 r=`${PWD}`; export r; \
1875 s=`cd $(srcdir); ${PWD}`; export s; \
1876 $(SET_LIB_PATH) \
1877 for flag in $(EXTRA_HOST_FLAGS); do \
1878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1879 done; \
1880 echo "Doing info in sid" ; \
1881 (cd sid && \
1882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1884 "RANLIB=$${RANLIB}" \
1885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1886 info) \
1887 || exit 1
1890 .PHONY: maybe-info-sim info-sim
1891 maybe-info-sim:
1893 info-sim: \
1894 configure-sim
1895 @[ -f ./sim/Makefile ] || exit 0; \
1896 r=`${PWD}`; export r; \
1897 s=`cd $(srcdir); ${PWD}`; export s; \
1898 $(SET_LIB_PATH) \
1899 for flag in $(EXTRA_HOST_FLAGS); do \
1900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1901 done; \
1902 echo "Doing info in sim" ; \
1903 (cd sim && \
1904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1906 "RANLIB=$${RANLIB}" \
1907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1908 info) \
1909 || exit 1
1912 .PHONY: maybe-info-tar info-tar
1913 maybe-info-tar:
1915 info-tar: \
1916 configure-tar
1917 @[ -f ./tar/Makefile ] || exit 0; \
1918 r=`${PWD}`; export r; \
1919 s=`cd $(srcdir); ${PWD}`; export s; \
1920 $(SET_LIB_PATH) \
1921 for flag in $(EXTRA_HOST_FLAGS); do \
1922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1923 done; \
1924 echo "Doing info in tar" ; \
1925 (cd tar && \
1926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1928 "RANLIB=$${RANLIB}" \
1929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1930 info) \
1931 || exit 1
1934 .PHONY: maybe-info-texinfo info-texinfo
1935 maybe-info-texinfo:
1937 info-texinfo: \
1938 configure-texinfo
1939 @[ -f ./texinfo/Makefile ] || exit 0; \
1940 r=`${PWD}`; export r; \
1941 s=`cd $(srcdir); ${PWD}`; export s; \
1942 $(SET_LIB_PATH) \
1943 for flag in $(EXTRA_HOST_FLAGS); do \
1944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1945 done; \
1946 echo "Doing info in texinfo" ; \
1947 (cd texinfo && \
1948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1950 "RANLIB=$${RANLIB}" \
1951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1952 info) \
1953 || exit 1
1956 .PHONY: maybe-info-textutils info-textutils
1957 maybe-info-textutils:
1959 info-textutils: \
1960 configure-textutils
1961 @[ -f ./textutils/Makefile ] || exit 0; \
1962 r=`${PWD}`; export r; \
1963 s=`cd $(srcdir); ${PWD}`; export s; \
1964 $(SET_LIB_PATH) \
1965 for flag in $(EXTRA_HOST_FLAGS); do \
1966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1967 done; \
1968 echo "Doing info in textutils" ; \
1969 (cd textutils && \
1970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1972 "RANLIB=$${RANLIB}" \
1973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1974 info) \
1975 || exit 1
1978 .PHONY: maybe-info-time info-time
1979 maybe-info-time:
1981 info-time: \
1982 configure-time
1983 @[ -f ./time/Makefile ] || exit 0; \
1984 r=`${PWD}`; export r; \
1985 s=`cd $(srcdir); ${PWD}`; export s; \
1986 $(SET_LIB_PATH) \
1987 for flag in $(EXTRA_HOST_FLAGS); do \
1988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1989 done; \
1990 echo "Doing info in time" ; \
1991 (cd time && \
1992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1994 "RANLIB=$${RANLIB}" \
1995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1996 info) \
1997 || exit 1
2000 .PHONY: maybe-info-uudecode info-uudecode
2001 maybe-info-uudecode:
2003 info-uudecode: \
2004 configure-uudecode
2005 @[ -f ./uudecode/Makefile ] || exit 0; \
2006 r=`${PWD}`; export r; \
2007 s=`cd $(srcdir); ${PWD}`; export s; \
2008 $(SET_LIB_PATH) \
2009 for flag in $(EXTRA_HOST_FLAGS); do \
2010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2011 done; \
2012 echo "Doing info in uudecode" ; \
2013 (cd uudecode && \
2014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2016 "RANLIB=$${RANLIB}" \
2017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2018 info) \
2019 || exit 1
2022 .PHONY: maybe-info-wdiff info-wdiff
2023 maybe-info-wdiff:
2025 info-wdiff: \
2026 configure-wdiff
2027 @[ -f ./wdiff/Makefile ] || exit 0; \
2028 r=`${PWD}`; export r; \
2029 s=`cd $(srcdir); ${PWD}`; export s; \
2030 $(SET_LIB_PATH) \
2031 for flag in $(EXTRA_HOST_FLAGS); do \
2032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2033 done; \
2034 echo "Doing info in wdiff" ; \
2035 (cd wdiff && \
2036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2038 "RANLIB=$${RANLIB}" \
2039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2040 info) \
2041 || exit 1
2044 .PHONY: maybe-info-zip info-zip
2045 maybe-info-zip:
2047 info-zip: \
2048 configure-zip
2049 @[ -f ./zip/Makefile ] || exit 0; \
2050 r=`${PWD}`; export r; \
2051 s=`cd $(srcdir); ${PWD}`; export s; \
2052 $(SET_LIB_PATH) \
2053 for flag in $(EXTRA_HOST_FLAGS); do \
2054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2055 done; \
2056 echo "Doing info in zip" ; \
2057 (cd zip && \
2058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2060 "RANLIB=$${RANLIB}" \
2061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2062 info) \
2063 || exit 1
2066 .PHONY: maybe-info-zlib info-zlib
2067 maybe-info-zlib:
2069 info-zlib: \
2070 configure-zlib
2071 @[ -f ./zlib/Makefile ] || exit 0; \
2072 r=`${PWD}`; export r; \
2073 s=`cd $(srcdir); ${PWD}`; export s; \
2074 $(SET_LIB_PATH) \
2075 for flag in $(EXTRA_HOST_FLAGS); do \
2076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2077 done; \
2078 echo "Doing info in zlib" ; \
2079 (cd zlib && \
2080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2082 "RANLIB=$${RANLIB}" \
2083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2084 info) \
2085 || exit 1
2088 .PHONY: maybe-info-gdb info-gdb
2089 maybe-info-gdb:
2091 info-gdb: \
2092 configure-gdb
2093 @[ -f ./gdb/Makefile ] || exit 0; \
2094 r=`${PWD}`; export r; \
2095 s=`cd $(srcdir); ${PWD}`; export s; \
2096 $(SET_LIB_PATH) \
2097 for flag in $(EXTRA_HOST_FLAGS); do \
2098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2099 done; \
2100 echo "Doing info in gdb" ; \
2101 (cd gdb && \
2102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2104 "RANLIB=$${RANLIB}" \
2105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2106 info) \
2107 || exit 1
2110 .PHONY: maybe-info-expect info-expect
2111 maybe-info-expect:
2113 info-expect: \
2114 configure-expect
2115 @[ -f ./expect/Makefile ] || exit 0; \
2116 r=`${PWD}`; export r; \
2117 s=`cd $(srcdir); ${PWD}`; export s; \
2118 $(SET_LIB_PATH) \
2119 for flag in $(EXTRA_HOST_FLAGS); do \
2120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2121 done; \
2122 echo "Doing info in expect" ; \
2123 (cd expect && \
2124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2126 "RANLIB=$${RANLIB}" \
2127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2128 info) \
2129 || exit 1
2132 .PHONY: maybe-info-guile info-guile
2133 maybe-info-guile:
2135 info-guile: \
2136 configure-guile
2137 @[ -f ./guile/Makefile ] || exit 0; \
2138 r=`${PWD}`; export r; \
2139 s=`cd $(srcdir); ${PWD}`; export s; \
2140 $(SET_LIB_PATH) \
2141 for flag in $(EXTRA_HOST_FLAGS); do \
2142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2143 done; \
2144 echo "Doing info in guile" ; \
2145 (cd guile && \
2146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2148 "RANLIB=$${RANLIB}" \
2149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2150 info) \
2151 || exit 1
2154 .PHONY: maybe-info-tk info-tk
2155 maybe-info-tk:
2157 info-tk: \
2158 configure-tk
2159 @[ -f ./tk/Makefile ] || exit 0; \
2160 r=`${PWD}`; export r; \
2161 s=`cd $(srcdir); ${PWD}`; export s; \
2162 $(SET_LIB_PATH) \
2163 for flag in $(EXTRA_HOST_FLAGS); do \
2164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2165 done; \
2166 echo "Doing info in tk" ; \
2167 (cd tk && \
2168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2170 "RANLIB=$${RANLIB}" \
2171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2172 info) \
2173 || exit 1
2176 .PHONY: maybe-info-tix info-tix
2177 maybe-info-tix:
2179 info-tix: \
2180 configure-tix
2181 @[ -f ./tix/Makefile ] || exit 0; \
2182 r=`${PWD}`; export r; \
2183 s=`cd $(srcdir); ${PWD}`; export s; \
2184 $(SET_LIB_PATH) \
2185 for flag in $(EXTRA_HOST_FLAGS); do \
2186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2187 done; \
2188 echo "Doing info in tix" ; \
2189 (cd tix && \
2190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2192 "RANLIB=$${RANLIB}" \
2193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2194 info) \
2195 || exit 1
2198 .PHONY: maybe-info-libtermcap info-libtermcap
2199 maybe-info-libtermcap:
2201 info-libtermcap: \
2202 configure-libtermcap
2203 @[ -f ./libtermcap/Makefile ] || exit 0; \
2204 r=`${PWD}`; export r; \
2205 s=`cd $(srcdir); ${PWD}`; export s; \
2206 $(SET_LIB_PATH) \
2207 for flag in $(EXTRA_HOST_FLAGS); do \
2208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2209 done; \
2210 echo "Doing info in libtermcap" ; \
2211 (cd libtermcap && \
2212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2214 "RANLIB=$${RANLIB}" \
2215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2216 info) \
2217 || exit 1
2220 .PHONY: maybe-info-utils info-utils
2221 maybe-info-utils:
2223 info-utils: \
2224 configure-utils
2225 @[ -f ./utils/Makefile ] || exit 0; \
2226 r=`${PWD}`; export r; \
2227 s=`cd $(srcdir); ${PWD}`; export s; \
2228 $(SET_LIB_PATH) \
2229 for flag in $(EXTRA_HOST_FLAGS); do \
2230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2231 done; \
2232 echo "Doing info in utils" ; \
2233 (cd utils && \
2234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2236 "RANLIB=$${RANLIB}" \
2237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2238 info) \
2239 || exit 1
2243 # Target modules.
2245 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
2246 maybe-info-target-libstdc++-v3:
2248 info-target-libstdc++-v3: \
2249 configure-target-libstdc++-v3
2250 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
2251 r=`${PWD}`; export r; \
2252 s=`cd $(srcdir); ${PWD}`; export s; \
2253 $(SET_LIB_PATH) \
2254 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
2255 for flag in $(EXTRA_TARGET_FLAGS); do \
2256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2257 done; \
2258 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
2259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2261 "RANLIB=$${RANLIB}" \
2262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2263 info) \
2264 || exit 1
2267 .PHONY: maybe-info-target-newlib info-target-newlib
2268 maybe-info-target-newlib:
2270 info-target-newlib: \
2271 configure-target-newlib
2272 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
2273 r=`${PWD}`; export r; \
2274 s=`cd $(srcdir); ${PWD}`; export s; \
2275 $(SET_LIB_PATH) \
2276 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
2277 for flag in $(EXTRA_TARGET_FLAGS); do \
2278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2279 done; \
2280 (cd $(TARGET_SUBDIR)/newlib && \
2281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2283 "RANLIB=$${RANLIB}" \
2284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2285 info) \
2286 || exit 1
2289 .PHONY: maybe-info-target-libf2c info-target-libf2c
2290 maybe-info-target-libf2c:
2292 info-target-libf2c: \
2293 configure-target-libf2c
2294 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
2295 r=`${PWD}`; export r; \
2296 s=`cd $(srcdir); ${PWD}`; export s; \
2297 $(SET_LIB_PATH) \
2298 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
2299 for flag in $(EXTRA_TARGET_FLAGS); do \
2300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2301 done; \
2302 (cd $(TARGET_SUBDIR)/libf2c && \
2303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2305 "RANLIB=$${RANLIB}" \
2306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2307 info) \
2308 || exit 1
2311 .PHONY: maybe-info-target-libobjc info-target-libobjc
2312 maybe-info-target-libobjc:
2314 info-target-libobjc: \
2315 configure-target-libobjc
2316 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
2317 r=`${PWD}`; export r; \
2318 s=`cd $(srcdir); ${PWD}`; export s; \
2319 $(SET_LIB_PATH) \
2320 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
2321 for flag in $(EXTRA_TARGET_FLAGS); do \
2322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2323 done; \
2324 (cd $(TARGET_SUBDIR)/libobjc && \
2325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2327 "RANLIB=$${RANLIB}" \
2328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2329 info) \
2330 || exit 1
2333 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
2334 maybe-info-target-libtermcap:
2336 info-target-libtermcap: \
2337 configure-target-libtermcap
2338 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
2339 r=`${PWD}`; export r; \
2340 s=`cd $(srcdir); ${PWD}`; export s; \
2341 $(SET_LIB_PATH) \
2342 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
2343 for flag in $(EXTRA_TARGET_FLAGS); do \
2344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2345 done; \
2346 (cd $(TARGET_SUBDIR)/libtermcap && \
2347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2349 "RANLIB=$${RANLIB}" \
2350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2351 info) \
2352 || exit 1
2355 .PHONY: maybe-info-target-winsup info-target-winsup
2356 maybe-info-target-winsup:
2358 info-target-winsup: \
2359 configure-target-winsup
2360 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
2361 r=`${PWD}`; export r; \
2362 s=`cd $(srcdir); ${PWD}`; export s; \
2363 $(SET_LIB_PATH) \
2364 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
2365 for flag in $(EXTRA_TARGET_FLAGS); do \
2366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2367 done; \
2368 (cd $(TARGET_SUBDIR)/winsup && \
2369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2371 "RANLIB=$${RANLIB}" \
2372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2373 info) \
2374 || exit 1
2377 .PHONY: maybe-info-target-libgloss info-target-libgloss
2378 maybe-info-target-libgloss:
2380 info-target-libgloss: \
2381 configure-target-libgloss
2382 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
2383 r=`${PWD}`; export r; \
2384 s=`cd $(srcdir); ${PWD}`; export s; \
2385 $(SET_LIB_PATH) \
2386 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
2387 for flag in $(EXTRA_TARGET_FLAGS); do \
2388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2389 done; \
2390 (cd $(TARGET_SUBDIR)/libgloss && \
2391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2393 "RANLIB=$${RANLIB}" \
2394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2395 info) \
2396 || exit 1
2399 .PHONY: maybe-info-target-libiberty info-target-libiberty
2400 maybe-info-target-libiberty:
2402 info-target-libiberty: \
2403 configure-target-libiberty
2404 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
2405 r=`${PWD}`; export r; \
2406 s=`cd $(srcdir); ${PWD}`; export s; \
2407 $(SET_LIB_PATH) \
2408 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
2409 for flag in $(EXTRA_TARGET_FLAGS); do \
2410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2411 done; \
2412 (cd $(TARGET_SUBDIR)/libiberty && \
2413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2415 "RANLIB=$${RANLIB}" \
2416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2417 info) \
2418 || exit 1
2421 .PHONY: maybe-info-target-gperf info-target-gperf
2422 maybe-info-target-gperf:
2424 info-target-gperf: \
2425 configure-target-gperf
2426 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
2427 r=`${PWD}`; export r; \
2428 s=`cd $(srcdir); ${PWD}`; export s; \
2429 $(SET_LIB_PATH) \
2430 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
2431 for flag in $(EXTRA_TARGET_FLAGS); do \
2432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2433 done; \
2434 (cd $(TARGET_SUBDIR)/gperf && \
2435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2437 "RANLIB=$${RANLIB}" \
2438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2439 info) \
2440 || exit 1
2443 .PHONY: maybe-info-target-examples info-target-examples
2444 maybe-info-target-examples:
2446 info-target-examples: \
2447 configure-target-examples
2448 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
2449 r=`${PWD}`; export r; \
2450 s=`cd $(srcdir); ${PWD}`; export s; \
2451 $(SET_LIB_PATH) \
2452 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
2453 for flag in $(EXTRA_TARGET_FLAGS); do \
2454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2455 done; \
2456 (cd $(TARGET_SUBDIR)/examples && \
2457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2459 "RANLIB=$${RANLIB}" \
2460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2461 info) \
2462 || exit 1
2465 .PHONY: maybe-info-target-libffi info-target-libffi
2466 maybe-info-target-libffi:
2468 info-target-libffi: \
2469 configure-target-libffi
2470 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
2471 r=`${PWD}`; export r; \
2472 s=`cd $(srcdir); ${PWD}`; export s; \
2473 $(SET_LIB_PATH) \
2474 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
2475 for flag in $(EXTRA_TARGET_FLAGS); do \
2476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2477 done; \
2478 (cd $(TARGET_SUBDIR)/libffi && \
2479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2481 "RANLIB=$${RANLIB}" \
2482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2483 info) \
2484 || exit 1
2487 .PHONY: maybe-info-target-libjava info-target-libjava
2488 maybe-info-target-libjava:
2490 info-target-libjava: \
2491 configure-target-libjava
2492 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
2493 r=`${PWD}`; export r; \
2494 s=`cd $(srcdir); ${PWD}`; export s; \
2495 $(SET_LIB_PATH) \
2496 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
2497 for flag in $(EXTRA_TARGET_FLAGS); do \
2498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2499 done; \
2500 (cd $(TARGET_SUBDIR)/libjava && \
2501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2503 "RANLIB=$${RANLIB}" \
2504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2505 info) \
2506 || exit 1
2509 .PHONY: maybe-info-target-zlib info-target-zlib
2510 maybe-info-target-zlib:
2512 info-target-zlib: \
2513 configure-target-zlib
2514 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
2515 r=`${PWD}`; export r; \
2516 s=`cd $(srcdir); ${PWD}`; export s; \
2517 $(SET_LIB_PATH) \
2518 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
2519 for flag in $(EXTRA_TARGET_FLAGS); do \
2520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2521 done; \
2522 (cd $(TARGET_SUBDIR)/zlib && \
2523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2525 "RANLIB=$${RANLIB}" \
2526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2527 info) \
2528 || exit 1
2531 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
2532 maybe-info-target-boehm-gc:
2534 info-target-boehm-gc: \
2535 configure-target-boehm-gc
2536 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
2537 r=`${PWD}`; export r; \
2538 s=`cd $(srcdir); ${PWD}`; export s; \
2539 $(SET_LIB_PATH) \
2540 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
2541 for flag in $(EXTRA_TARGET_FLAGS); do \
2542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2543 done; \
2544 (cd $(TARGET_SUBDIR)/boehm-gc && \
2545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2547 "RANLIB=$${RANLIB}" \
2548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2549 info) \
2550 || exit 1
2553 .PHONY: maybe-info-target-qthreads info-target-qthreads
2554 maybe-info-target-qthreads:
2556 info-target-qthreads: \
2557 configure-target-qthreads
2558 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
2559 r=`${PWD}`; export r; \
2560 s=`cd $(srcdir); ${PWD}`; export s; \
2561 $(SET_LIB_PATH) \
2562 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
2563 for flag in $(EXTRA_TARGET_FLAGS); do \
2564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2565 done; \
2566 (cd $(TARGET_SUBDIR)/qthreads && \
2567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2569 "RANLIB=$${RANLIB}" \
2570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2571 info) \
2572 || exit 1
2575 .PHONY: maybe-info-target-rda info-target-rda
2576 maybe-info-target-rda:
2578 info-target-rda: \
2579 configure-target-rda
2580 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
2581 r=`${PWD}`; export r; \
2582 s=`cd $(srcdir); ${PWD}`; export s; \
2583 $(SET_LIB_PATH) \
2584 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
2585 for flag in $(EXTRA_TARGET_FLAGS); do \
2586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2587 done; \
2588 (cd $(TARGET_SUBDIR)/rda && \
2589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2591 "RANLIB=$${RANLIB}" \
2592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2593 info) \
2594 || exit 1
2598 .PHONY: do-dvi
2599 do-dvi: dvi-host dvi-target
2601 .PHONY: dvi-host
2602 dvi-host: maybe-dvi-gcc \
2603 maybe-dvi-ash \
2604 maybe-dvi-autoconf \
2605 maybe-dvi-automake \
2606 maybe-dvi-bash \
2607 maybe-dvi-bfd \
2608 maybe-dvi-opcodes \
2609 maybe-dvi-binutils \
2610 maybe-dvi-bison \
2611 maybe-dvi-byacc \
2612 maybe-dvi-bzip2 \
2613 maybe-dvi-dejagnu \
2614 maybe-dvi-diff \
2615 maybe-dvi-dosutils \
2616 maybe-dvi-etc \
2617 maybe-dvi-fastjar \
2618 maybe-dvi-fileutils \
2619 maybe-dvi-findutils \
2620 maybe-dvi-find \
2621 maybe-dvi-flex \
2622 maybe-dvi-gas \
2623 maybe-dvi-gawk \
2624 maybe-dvi-gettext \
2625 maybe-dvi-gnuserv \
2626 maybe-dvi-gprof \
2627 maybe-dvi-gzip \
2628 maybe-dvi-hello \
2629 maybe-dvi-indent \
2630 maybe-dvi-intl \
2631 maybe-dvi-tcl \
2632 maybe-dvi-itcl \
2633 maybe-dvi-ld \
2634 maybe-dvi-libgui \
2635 maybe-dvi-libiberty \
2636 maybe-dvi-libtool \
2637 maybe-dvi-m4 \
2638 maybe-dvi-make \
2639 maybe-dvi-mmalloc \
2640 maybe-dvi-patch \
2641 maybe-dvi-perl \
2642 maybe-dvi-prms \
2643 maybe-dvi-rcs \
2644 maybe-dvi-readline \
2645 maybe-dvi-release \
2646 maybe-dvi-recode \
2647 maybe-dvi-sed \
2648 maybe-dvi-send-pr \
2649 maybe-dvi-shellutils \
2650 maybe-dvi-sid \
2651 maybe-dvi-sim \
2652 maybe-dvi-tar \
2653 maybe-dvi-texinfo \
2654 maybe-dvi-textutils \
2655 maybe-dvi-time \
2656 maybe-dvi-uudecode \
2657 maybe-dvi-wdiff \
2658 maybe-dvi-zip \
2659 maybe-dvi-zlib \
2660 maybe-dvi-gdb \
2661 maybe-dvi-expect \
2662 maybe-dvi-guile \
2663 maybe-dvi-tk \
2664 maybe-dvi-tix \
2665 maybe-dvi-libtermcap \
2666 maybe-dvi-utils
2668 .PHONY: dvi-target
2669 dvi-target: \
2670 maybe-dvi-target-libstdc++-v3 \
2671 maybe-dvi-target-newlib \
2672 maybe-dvi-target-libf2c \
2673 maybe-dvi-target-libobjc \
2674 maybe-dvi-target-libtermcap \
2675 maybe-dvi-target-winsup \
2676 maybe-dvi-target-libgloss \
2677 maybe-dvi-target-libiberty \
2678 maybe-dvi-target-gperf \
2679 maybe-dvi-target-examples \
2680 maybe-dvi-target-libffi \
2681 maybe-dvi-target-libjava \
2682 maybe-dvi-target-zlib \
2683 maybe-dvi-target-boehm-gc \
2684 maybe-dvi-target-qthreads \
2685 maybe-dvi-target-rda
2687 # GCC, the eternal special case
2688 .PHONY: maybe-dvi-gcc dvi-gcc
2689 maybe-dvi-gcc:
2690 dvi-gcc: \
2691 configure-gcc
2692 @[ -f ./gcc/Makefile ] || exit 0; \
2693 r=`${PWD}`; export r; \
2694 s=`cd $(srcdir); ${PWD}`; export s; \
2695 $(SET_LIB_PATH) \
2696 for flag in $(EXTRA_GCC_FLAGS); do \
2697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2698 done; \
2699 echo "Doing dvi in gcc" ; \
2700 (cd gcc && \
2701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2703 "RANLIB=$${RANLIB}" \
2704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2705 dvi) \
2706 || exit 1
2708 # Host modules.
2710 .PHONY: maybe-dvi-ash dvi-ash
2711 maybe-dvi-ash:
2713 dvi-ash: \
2714 configure-ash
2715 @[ -f ./ash/Makefile ] || exit 0; \
2716 r=`${PWD}`; export r; \
2717 s=`cd $(srcdir); ${PWD}`; export s; \
2718 $(SET_LIB_PATH) \
2719 for flag in $(EXTRA_HOST_FLAGS); do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2721 done; \
2722 echo "Doing dvi in ash" ; \
2723 (cd ash && \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2728 dvi) \
2729 || exit 1
2732 .PHONY: maybe-dvi-autoconf dvi-autoconf
2733 maybe-dvi-autoconf:
2735 dvi-autoconf: \
2736 configure-autoconf
2737 @[ -f ./autoconf/Makefile ] || exit 0; \
2738 r=`${PWD}`; export r; \
2739 s=`cd $(srcdir); ${PWD}`; export s; \
2740 $(SET_LIB_PATH) \
2741 for flag in $(EXTRA_HOST_FLAGS); do \
2742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2743 done; \
2744 echo "Doing dvi in autoconf" ; \
2745 (cd autoconf && \
2746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2748 "RANLIB=$${RANLIB}" \
2749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2750 dvi) \
2751 || exit 1
2754 .PHONY: maybe-dvi-automake dvi-automake
2755 maybe-dvi-automake:
2757 dvi-automake: \
2758 configure-automake
2759 @[ -f ./automake/Makefile ] || exit 0; \
2760 r=`${PWD}`; export r; \
2761 s=`cd $(srcdir); ${PWD}`; export s; \
2762 $(SET_LIB_PATH) \
2763 for flag in $(EXTRA_HOST_FLAGS); do \
2764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2765 done; \
2766 echo "Doing dvi in automake" ; \
2767 (cd automake && \
2768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2770 "RANLIB=$${RANLIB}" \
2771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2772 dvi) \
2773 || exit 1
2776 .PHONY: maybe-dvi-bash dvi-bash
2777 maybe-dvi-bash:
2779 dvi-bash: \
2780 configure-bash
2781 @[ -f ./bash/Makefile ] || exit 0; \
2782 r=`${PWD}`; export r; \
2783 s=`cd $(srcdir); ${PWD}`; export s; \
2784 $(SET_LIB_PATH) \
2785 for flag in $(EXTRA_HOST_FLAGS); do \
2786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2787 done; \
2788 echo "Doing dvi in bash" ; \
2789 (cd bash && \
2790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2792 "RANLIB=$${RANLIB}" \
2793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2794 dvi) \
2795 || exit 1
2798 .PHONY: maybe-dvi-bfd dvi-bfd
2799 maybe-dvi-bfd:
2801 dvi-bfd: \
2802 configure-bfd
2803 @[ -f ./bfd/Makefile ] || exit 0; \
2804 r=`${PWD}`; export r; \
2805 s=`cd $(srcdir); ${PWD}`; export s; \
2806 $(SET_LIB_PATH) \
2807 for flag in $(EXTRA_HOST_FLAGS); do \
2808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2809 done; \
2810 echo "Doing dvi in bfd" ; \
2811 (cd bfd && \
2812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2814 "RANLIB=$${RANLIB}" \
2815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2816 dvi) \
2817 || exit 1
2820 .PHONY: maybe-dvi-opcodes dvi-opcodes
2821 maybe-dvi-opcodes:
2823 dvi-opcodes: \
2824 configure-opcodes
2825 @[ -f ./opcodes/Makefile ] || exit 0; \
2826 r=`${PWD}`; export r; \
2827 s=`cd $(srcdir); ${PWD}`; export s; \
2828 $(SET_LIB_PATH) \
2829 for flag in $(EXTRA_HOST_FLAGS); do \
2830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2831 done; \
2832 echo "Doing dvi in opcodes" ; \
2833 (cd opcodes && \
2834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2836 "RANLIB=$${RANLIB}" \
2837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2838 dvi) \
2839 || exit 1
2842 .PHONY: maybe-dvi-binutils dvi-binutils
2843 maybe-dvi-binutils:
2845 dvi-binutils: \
2846 configure-binutils
2847 @[ -f ./binutils/Makefile ] || exit 0; \
2848 r=`${PWD}`; export r; \
2849 s=`cd $(srcdir); ${PWD}`; export s; \
2850 $(SET_LIB_PATH) \
2851 for flag in $(EXTRA_HOST_FLAGS); do \
2852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2853 done; \
2854 echo "Doing dvi in binutils" ; \
2855 (cd binutils && \
2856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2858 "RANLIB=$${RANLIB}" \
2859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2860 dvi) \
2861 || exit 1
2864 .PHONY: maybe-dvi-bison dvi-bison
2865 maybe-dvi-bison:
2867 dvi-bison: \
2868 configure-bison
2869 @[ -f ./bison/Makefile ] || exit 0; \
2870 r=`${PWD}`; export r; \
2871 s=`cd $(srcdir); ${PWD}`; export s; \
2872 $(SET_LIB_PATH) \
2873 for flag in $(EXTRA_HOST_FLAGS); do \
2874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2875 done; \
2876 echo "Doing dvi in bison" ; \
2877 (cd bison && \
2878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2880 "RANLIB=$${RANLIB}" \
2881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2882 dvi) \
2883 || exit 1
2886 .PHONY: maybe-dvi-byacc dvi-byacc
2887 maybe-dvi-byacc:
2889 dvi-byacc: \
2890 configure-byacc
2891 @[ -f ./byacc/Makefile ] || exit 0; \
2892 r=`${PWD}`; export r; \
2893 s=`cd $(srcdir); ${PWD}`; export s; \
2894 $(SET_LIB_PATH) \
2895 for flag in $(EXTRA_HOST_FLAGS); do \
2896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2897 done; \
2898 echo "Doing dvi in byacc" ; \
2899 (cd byacc && \
2900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2902 "RANLIB=$${RANLIB}" \
2903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2904 dvi) \
2905 || exit 1
2908 .PHONY: maybe-dvi-bzip2 dvi-bzip2
2909 maybe-dvi-bzip2:
2911 dvi-bzip2: \
2912 configure-bzip2
2913 @[ -f ./bzip2/Makefile ] || exit 0; \
2914 r=`${PWD}`; export r; \
2915 s=`cd $(srcdir); ${PWD}`; export s; \
2916 $(SET_LIB_PATH) \
2917 for flag in $(EXTRA_HOST_FLAGS); do \
2918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2919 done; \
2920 echo "Doing dvi in bzip2" ; \
2921 (cd bzip2 && \
2922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2924 "RANLIB=$${RANLIB}" \
2925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2926 dvi) \
2927 || exit 1
2930 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
2931 maybe-dvi-dejagnu:
2933 dvi-dejagnu: \
2934 configure-dejagnu
2935 @[ -f ./dejagnu/Makefile ] || exit 0; \
2936 r=`${PWD}`; export r; \
2937 s=`cd $(srcdir); ${PWD}`; export s; \
2938 $(SET_LIB_PATH) \
2939 for flag in $(EXTRA_HOST_FLAGS); do \
2940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2941 done; \
2942 echo "Doing dvi in dejagnu" ; \
2943 (cd dejagnu && \
2944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2946 "RANLIB=$${RANLIB}" \
2947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2948 dvi) \
2949 || exit 1
2952 .PHONY: maybe-dvi-diff dvi-diff
2953 maybe-dvi-diff:
2955 dvi-diff: \
2956 configure-diff
2957 @[ -f ./diff/Makefile ] || exit 0; \
2958 r=`${PWD}`; export r; \
2959 s=`cd $(srcdir); ${PWD}`; export s; \
2960 $(SET_LIB_PATH) \
2961 for flag in $(EXTRA_HOST_FLAGS); do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 done; \
2964 echo "Doing dvi in diff" ; \
2965 (cd diff && \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970 dvi) \
2971 || exit 1
2974 .PHONY: maybe-dvi-dosutils dvi-dosutils
2975 maybe-dvi-dosutils:
2977 dvi-dosutils: \
2978 configure-dosutils
2979 @[ -f ./dosutils/Makefile ] || exit 0; \
2980 r=`${PWD}`; export r; \
2981 s=`cd $(srcdir); ${PWD}`; export s; \
2982 $(SET_LIB_PATH) \
2983 for flag in $(EXTRA_HOST_FLAGS); do \
2984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2985 done; \
2986 echo "Doing dvi in dosutils" ; \
2987 (cd dosutils && \
2988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2990 "RANLIB=$${RANLIB}" \
2991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2992 dvi) \
2993 || exit 1
2996 .PHONY: maybe-dvi-etc dvi-etc
2997 maybe-dvi-etc:
2999 dvi-etc: \
3000 configure-etc
3001 @[ -f ./etc/Makefile ] || exit 0; \
3002 r=`${PWD}`; export r; \
3003 s=`cd $(srcdir); ${PWD}`; export s; \
3004 $(SET_LIB_PATH) \
3005 for flag in $(EXTRA_HOST_FLAGS); do \
3006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3007 done; \
3008 echo "Doing dvi in etc" ; \
3009 (cd etc && \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012 "RANLIB=$${RANLIB}" \
3013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3014 dvi) \
3015 || exit 1
3018 .PHONY: maybe-dvi-fastjar dvi-fastjar
3019 maybe-dvi-fastjar:
3021 dvi-fastjar: \
3022 configure-fastjar
3023 @[ -f ./fastjar/Makefile ] || exit 0; \
3024 r=`${PWD}`; export r; \
3025 s=`cd $(srcdir); ${PWD}`; export s; \
3026 $(SET_LIB_PATH) \
3027 for flag in $(EXTRA_HOST_FLAGS); do \
3028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3029 done; \
3030 echo "Doing dvi in fastjar" ; \
3031 (cd fastjar && \
3032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3034 "RANLIB=$${RANLIB}" \
3035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 dvi) \
3037 || exit 1
3040 .PHONY: maybe-dvi-fileutils dvi-fileutils
3041 maybe-dvi-fileutils:
3043 dvi-fileutils: \
3044 configure-fileutils
3045 @[ -f ./fileutils/Makefile ] || exit 0; \
3046 r=`${PWD}`; export r; \
3047 s=`cd $(srcdir); ${PWD}`; export s; \
3048 $(SET_LIB_PATH) \
3049 for flag in $(EXTRA_HOST_FLAGS); do \
3050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3051 done; \
3052 echo "Doing dvi in fileutils" ; \
3053 (cd fileutils && \
3054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3056 "RANLIB=$${RANLIB}" \
3057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3058 dvi) \
3059 || exit 1
3062 .PHONY: maybe-dvi-findutils dvi-findutils
3063 maybe-dvi-findutils:
3065 dvi-findutils: \
3066 configure-findutils
3067 @[ -f ./findutils/Makefile ] || exit 0; \
3068 r=`${PWD}`; export r; \
3069 s=`cd $(srcdir); ${PWD}`; export s; \
3070 $(SET_LIB_PATH) \
3071 for flag in $(EXTRA_HOST_FLAGS); do \
3072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3073 done; \
3074 echo "Doing dvi in findutils" ; \
3075 (cd findutils && \
3076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3078 "RANLIB=$${RANLIB}" \
3079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3080 dvi) \
3081 || exit 1
3084 .PHONY: maybe-dvi-find dvi-find
3085 maybe-dvi-find:
3087 dvi-find: \
3088 configure-find
3089 @[ -f ./find/Makefile ] || exit 0; \
3090 r=`${PWD}`; export r; \
3091 s=`cd $(srcdir); ${PWD}`; export s; \
3092 $(SET_LIB_PATH) \
3093 for flag in $(EXTRA_HOST_FLAGS); do \
3094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3095 done; \
3096 echo "Doing dvi in find" ; \
3097 (cd find && \
3098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3100 "RANLIB=$${RANLIB}" \
3101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3102 dvi) \
3103 || exit 1
3106 .PHONY: maybe-dvi-flex dvi-flex
3107 maybe-dvi-flex:
3109 dvi-flex: \
3110 configure-flex
3111 @[ -f ./flex/Makefile ] || exit 0; \
3112 r=`${PWD}`; export r; \
3113 s=`cd $(srcdir); ${PWD}`; export s; \
3114 $(SET_LIB_PATH) \
3115 for flag in $(EXTRA_HOST_FLAGS); do \
3116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3117 done; \
3118 echo "Doing dvi in flex" ; \
3119 (cd flex && \
3120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3122 "RANLIB=$${RANLIB}" \
3123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3124 dvi) \
3125 || exit 1
3128 .PHONY: maybe-dvi-gas dvi-gas
3129 maybe-dvi-gas:
3131 dvi-gas: \
3132 configure-gas
3133 @[ -f ./gas/Makefile ] || exit 0; \
3134 r=`${PWD}`; export r; \
3135 s=`cd $(srcdir); ${PWD}`; export s; \
3136 $(SET_LIB_PATH) \
3137 for flag in $(EXTRA_HOST_FLAGS); do \
3138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3139 done; \
3140 echo "Doing dvi in gas" ; \
3141 (cd gas && \
3142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3144 "RANLIB=$${RANLIB}" \
3145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3146 dvi) \
3147 || exit 1
3150 .PHONY: maybe-dvi-gawk dvi-gawk
3151 maybe-dvi-gawk:
3153 dvi-gawk: \
3154 configure-gawk
3155 @[ -f ./gawk/Makefile ] || exit 0; \
3156 r=`${PWD}`; export r; \
3157 s=`cd $(srcdir); ${PWD}`; export s; \
3158 $(SET_LIB_PATH) \
3159 for flag in $(EXTRA_HOST_FLAGS); do \
3160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3161 done; \
3162 echo "Doing dvi in gawk" ; \
3163 (cd gawk && \
3164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3166 "RANLIB=$${RANLIB}" \
3167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3168 dvi) \
3169 || exit 1
3172 .PHONY: maybe-dvi-gettext dvi-gettext
3173 maybe-dvi-gettext:
3175 dvi-gettext: \
3176 configure-gettext
3177 @[ -f ./gettext/Makefile ] || exit 0; \
3178 r=`${PWD}`; export r; \
3179 s=`cd $(srcdir); ${PWD}`; export s; \
3180 $(SET_LIB_PATH) \
3181 for flag in $(EXTRA_HOST_FLAGS); do \
3182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3183 done; \
3184 echo "Doing dvi in gettext" ; \
3185 (cd gettext && \
3186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3188 "RANLIB=$${RANLIB}" \
3189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3190 dvi) \
3191 || exit 1
3194 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
3195 maybe-dvi-gnuserv:
3197 dvi-gnuserv: \
3198 configure-gnuserv
3199 @[ -f ./gnuserv/Makefile ] || exit 0; \
3200 r=`${PWD}`; export r; \
3201 s=`cd $(srcdir); ${PWD}`; export s; \
3202 $(SET_LIB_PATH) \
3203 for flag in $(EXTRA_HOST_FLAGS); do \
3204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3205 done; \
3206 echo "Doing dvi in gnuserv" ; \
3207 (cd gnuserv && \
3208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210 "RANLIB=$${RANLIB}" \
3211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3212 dvi) \
3213 || exit 1
3216 .PHONY: maybe-dvi-gprof dvi-gprof
3217 maybe-dvi-gprof:
3219 dvi-gprof: \
3220 configure-gprof
3221 @[ -f ./gprof/Makefile ] || exit 0; \
3222 r=`${PWD}`; export r; \
3223 s=`cd $(srcdir); ${PWD}`; export s; \
3224 $(SET_LIB_PATH) \
3225 for flag in $(EXTRA_HOST_FLAGS); do \
3226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3227 done; \
3228 echo "Doing dvi in gprof" ; \
3229 (cd gprof && \
3230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3232 "RANLIB=$${RANLIB}" \
3233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3234 dvi) \
3235 || exit 1
3238 .PHONY: maybe-dvi-gzip dvi-gzip
3239 maybe-dvi-gzip:
3241 dvi-gzip: \
3242 configure-gzip
3243 @[ -f ./gzip/Makefile ] || exit 0; \
3244 r=`${PWD}`; export r; \
3245 s=`cd $(srcdir); ${PWD}`; export s; \
3246 $(SET_LIB_PATH) \
3247 for flag in $(EXTRA_HOST_FLAGS); do \
3248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249 done; \
3250 echo "Doing dvi in gzip" ; \
3251 (cd gzip && \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254 "RANLIB=$${RANLIB}" \
3255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3256 dvi) \
3257 || exit 1
3260 .PHONY: maybe-dvi-hello dvi-hello
3261 maybe-dvi-hello:
3263 dvi-hello: \
3264 configure-hello
3265 @[ -f ./hello/Makefile ] || exit 0; \
3266 r=`${PWD}`; export r; \
3267 s=`cd $(srcdir); ${PWD}`; export s; \
3268 $(SET_LIB_PATH) \
3269 for flag in $(EXTRA_HOST_FLAGS); do \
3270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3271 done; \
3272 echo "Doing dvi in hello" ; \
3273 (cd hello && \
3274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3276 "RANLIB=$${RANLIB}" \
3277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3278 dvi) \
3279 || exit 1
3282 .PHONY: maybe-dvi-indent dvi-indent
3283 maybe-dvi-indent:
3285 dvi-indent: \
3286 configure-indent
3287 @[ -f ./indent/Makefile ] || exit 0; \
3288 r=`${PWD}`; export r; \
3289 s=`cd $(srcdir); ${PWD}`; export s; \
3290 $(SET_LIB_PATH) \
3291 for flag in $(EXTRA_HOST_FLAGS); do \
3292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3293 done; \
3294 echo "Doing dvi in indent" ; \
3295 (cd indent && \
3296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3298 "RANLIB=$${RANLIB}" \
3299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3300 dvi) \
3301 || exit 1
3304 .PHONY: maybe-dvi-intl dvi-intl
3305 maybe-dvi-intl:
3307 dvi-intl: \
3308 configure-intl
3309 @[ -f ./intl/Makefile ] || exit 0; \
3310 r=`${PWD}`; export r; \
3311 s=`cd $(srcdir); ${PWD}`; export s; \
3312 $(SET_LIB_PATH) \
3313 for flag in $(EXTRA_HOST_FLAGS); do \
3314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3315 done; \
3316 echo "Doing dvi in intl" ; \
3317 (cd intl && \
3318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3320 "RANLIB=$${RANLIB}" \
3321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3322 dvi) \
3323 || exit 1
3326 .PHONY: maybe-dvi-tcl dvi-tcl
3327 maybe-dvi-tcl:
3329 dvi-tcl: \
3330 configure-tcl
3331 @[ -f ./tcl/Makefile ] || exit 0; \
3332 r=`${PWD}`; export r; \
3333 s=`cd $(srcdir); ${PWD}`; export s; \
3334 $(SET_LIB_PATH) \
3335 for flag in $(EXTRA_HOST_FLAGS); do \
3336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3337 done; \
3338 echo "Doing dvi in tcl" ; \
3339 (cd tcl && \
3340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3342 "RANLIB=$${RANLIB}" \
3343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3344 dvi) \
3345 || exit 1
3348 .PHONY: maybe-dvi-itcl dvi-itcl
3349 maybe-dvi-itcl:
3351 dvi-itcl: \
3352 configure-itcl
3353 @[ -f ./itcl/Makefile ] || exit 0; \
3354 r=`${PWD}`; export r; \
3355 s=`cd $(srcdir); ${PWD}`; export s; \
3356 $(SET_LIB_PATH) \
3357 for flag in $(EXTRA_HOST_FLAGS); do \
3358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3359 done; \
3360 echo "Doing dvi in itcl" ; \
3361 (cd itcl && \
3362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3364 "RANLIB=$${RANLIB}" \
3365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3366 dvi) \
3367 || exit 1
3370 .PHONY: maybe-dvi-ld dvi-ld
3371 maybe-dvi-ld:
3373 dvi-ld: \
3374 configure-ld
3375 @[ -f ./ld/Makefile ] || exit 0; \
3376 r=`${PWD}`; export r; \
3377 s=`cd $(srcdir); ${PWD}`; export s; \
3378 $(SET_LIB_PATH) \
3379 for flag in $(EXTRA_HOST_FLAGS); do \
3380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3381 done; \
3382 echo "Doing dvi in ld" ; \
3383 (cd ld && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3386 "RANLIB=$${RANLIB}" \
3387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3388 dvi) \
3389 || exit 1
3392 .PHONY: maybe-dvi-libgui dvi-libgui
3393 maybe-dvi-libgui:
3395 dvi-libgui: \
3396 configure-libgui
3397 @[ -f ./libgui/Makefile ] || exit 0; \
3398 r=`${PWD}`; export r; \
3399 s=`cd $(srcdir); ${PWD}`; export s; \
3400 $(SET_LIB_PATH) \
3401 for flag in $(EXTRA_HOST_FLAGS); do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing dvi in libgui" ; \
3405 (cd libgui && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 dvi) \
3411 || exit 1
3414 .PHONY: maybe-dvi-libiberty dvi-libiberty
3415 maybe-dvi-libiberty:
3417 dvi-libiberty: \
3418 configure-libiberty
3419 @[ -f ./libiberty/Makefile ] || exit 0; \
3420 r=`${PWD}`; export r; \
3421 s=`cd $(srcdir); ${PWD}`; export s; \
3422 $(SET_LIB_PATH) \
3423 for flag in $(EXTRA_HOST_FLAGS); do \
3424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3425 done; \
3426 echo "Doing dvi in libiberty" ; \
3427 (cd libiberty && \
3428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3430 "RANLIB=$${RANLIB}" \
3431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3432 dvi) \
3433 || exit 1
3436 .PHONY: maybe-dvi-libtool dvi-libtool
3437 maybe-dvi-libtool:
3439 dvi-libtool: \
3440 configure-libtool
3441 @[ -f ./libtool/Makefile ] || exit 0; \
3442 r=`${PWD}`; export r; \
3443 s=`cd $(srcdir); ${PWD}`; export s; \
3444 $(SET_LIB_PATH) \
3445 for flag in $(EXTRA_HOST_FLAGS); do \
3446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3447 done; \
3448 echo "Doing dvi in libtool" ; \
3449 (cd libtool && \
3450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3452 "RANLIB=$${RANLIB}" \
3453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3454 dvi) \
3455 || exit 1
3458 .PHONY: maybe-dvi-m4 dvi-m4
3459 maybe-dvi-m4:
3461 dvi-m4: \
3462 configure-m4
3463 @[ -f ./m4/Makefile ] || exit 0; \
3464 r=`${PWD}`; export r; \
3465 s=`cd $(srcdir); ${PWD}`; export s; \
3466 $(SET_LIB_PATH) \
3467 for flag in $(EXTRA_HOST_FLAGS); do \
3468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3469 done; \
3470 echo "Doing dvi in m4" ; \
3471 (cd m4 && \
3472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3474 "RANLIB=$${RANLIB}" \
3475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3476 dvi) \
3477 || exit 1
3480 .PHONY: maybe-dvi-make dvi-make
3481 maybe-dvi-make:
3483 dvi-make: \
3484 configure-make
3485 @[ -f ./make/Makefile ] || exit 0; \
3486 r=`${PWD}`; export r; \
3487 s=`cd $(srcdir); ${PWD}`; export s; \
3488 $(SET_LIB_PATH) \
3489 for flag in $(EXTRA_HOST_FLAGS); do \
3490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3491 done; \
3492 echo "Doing dvi in make" ; \
3493 (cd make && \
3494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3496 "RANLIB=$${RANLIB}" \
3497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3498 dvi) \
3499 || exit 1
3502 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
3503 maybe-dvi-mmalloc:
3505 dvi-mmalloc: \
3506 configure-mmalloc
3507 @[ -f ./mmalloc/Makefile ] || exit 0; \
3508 r=`${PWD}`; export r; \
3509 s=`cd $(srcdir); ${PWD}`; export s; \
3510 $(SET_LIB_PATH) \
3511 for flag in $(EXTRA_HOST_FLAGS); do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 done; \
3514 echo "Doing dvi in mmalloc" ; \
3515 (cd mmalloc && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3520 dvi) \
3521 || exit 1
3524 .PHONY: maybe-dvi-patch dvi-patch
3525 maybe-dvi-patch:
3527 dvi-patch: \
3528 configure-patch
3529 @[ -f ./patch/Makefile ] || exit 0; \
3530 r=`${PWD}`; export r; \
3531 s=`cd $(srcdir); ${PWD}`; export s; \
3532 $(SET_LIB_PATH) \
3533 for flag in $(EXTRA_HOST_FLAGS); do \
3534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3535 done; \
3536 echo "Doing dvi in patch" ; \
3537 (cd patch && \
3538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3540 "RANLIB=$${RANLIB}" \
3541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3542 dvi) \
3543 || exit 1
3546 .PHONY: maybe-dvi-perl dvi-perl
3547 maybe-dvi-perl:
3549 dvi-perl: \
3550 configure-perl
3551 @[ -f ./perl/Makefile ] || exit 0; \
3552 r=`${PWD}`; export r; \
3553 s=`cd $(srcdir); ${PWD}`; export s; \
3554 $(SET_LIB_PATH) \
3555 for flag in $(EXTRA_HOST_FLAGS); do \
3556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3557 done; \
3558 echo "Doing dvi in perl" ; \
3559 (cd perl && \
3560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3562 "RANLIB=$${RANLIB}" \
3563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 dvi) \
3565 || exit 1
3568 .PHONY: maybe-dvi-prms dvi-prms
3569 maybe-dvi-prms:
3571 dvi-prms: \
3572 configure-prms
3573 @[ -f ./prms/Makefile ] || exit 0; \
3574 r=`${PWD}`; export r; \
3575 s=`cd $(srcdir); ${PWD}`; export s; \
3576 $(SET_LIB_PATH) \
3577 for flag in $(EXTRA_HOST_FLAGS); do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing dvi in prms" ; \
3581 (cd prms && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 dvi) \
3587 || exit 1
3590 .PHONY: maybe-dvi-rcs dvi-rcs
3591 maybe-dvi-rcs:
3593 dvi-rcs: \
3594 configure-rcs
3595 @[ -f ./rcs/Makefile ] || exit 0; \
3596 r=`${PWD}`; export r; \
3597 s=`cd $(srcdir); ${PWD}`; export s; \
3598 $(SET_LIB_PATH) \
3599 for flag in $(EXTRA_HOST_FLAGS); do \
3600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3601 done; \
3602 echo "Doing dvi in rcs" ; \
3603 (cd rcs && \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3606 "RANLIB=$${RANLIB}" \
3607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3608 dvi) \
3609 || exit 1
3612 .PHONY: maybe-dvi-readline dvi-readline
3613 maybe-dvi-readline:
3615 dvi-readline: \
3616 configure-readline
3617 @[ -f ./readline/Makefile ] || exit 0; \
3618 r=`${PWD}`; export r; \
3619 s=`cd $(srcdir); ${PWD}`; export s; \
3620 $(SET_LIB_PATH) \
3621 for flag in $(EXTRA_HOST_FLAGS); do \
3622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3623 done; \
3624 echo "Doing dvi in readline" ; \
3625 (cd readline && \
3626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3628 "RANLIB=$${RANLIB}" \
3629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3630 dvi) \
3631 || exit 1
3634 .PHONY: maybe-dvi-release dvi-release
3635 maybe-dvi-release:
3637 dvi-release: \
3638 configure-release
3639 @[ -f ./release/Makefile ] || exit 0; \
3640 r=`${PWD}`; export r; \
3641 s=`cd $(srcdir); ${PWD}`; export s; \
3642 $(SET_LIB_PATH) \
3643 for flag in $(EXTRA_HOST_FLAGS); do \
3644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645 done; \
3646 echo "Doing dvi in release" ; \
3647 (cd release && \
3648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650 "RANLIB=$${RANLIB}" \
3651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3652 dvi) \
3653 || exit 1
3656 .PHONY: maybe-dvi-recode dvi-recode
3657 maybe-dvi-recode:
3659 dvi-recode: \
3660 configure-recode
3661 @[ -f ./recode/Makefile ] || exit 0; \
3662 r=`${PWD}`; export r; \
3663 s=`cd $(srcdir); ${PWD}`; export s; \
3664 $(SET_LIB_PATH) \
3665 for flag in $(EXTRA_HOST_FLAGS); do \
3666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3667 done; \
3668 echo "Doing dvi in recode" ; \
3669 (cd recode && \
3670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3672 "RANLIB=$${RANLIB}" \
3673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3674 dvi) \
3675 || exit 1
3678 .PHONY: maybe-dvi-sed dvi-sed
3679 maybe-dvi-sed:
3681 dvi-sed: \
3682 configure-sed
3683 @[ -f ./sed/Makefile ] || exit 0; \
3684 r=`${PWD}`; export r; \
3685 s=`cd $(srcdir); ${PWD}`; export s; \
3686 $(SET_LIB_PATH) \
3687 for flag in $(EXTRA_HOST_FLAGS); do \
3688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3689 done; \
3690 echo "Doing dvi in sed" ; \
3691 (cd sed && \
3692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3694 "RANLIB=$${RANLIB}" \
3695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3696 dvi) \
3697 || exit 1
3700 .PHONY: maybe-dvi-send-pr dvi-send-pr
3701 maybe-dvi-send-pr:
3703 dvi-send-pr: \
3704 configure-send-pr
3705 @[ -f ./send-pr/Makefile ] || exit 0; \
3706 r=`${PWD}`; export r; \
3707 s=`cd $(srcdir); ${PWD}`; export s; \
3708 $(SET_LIB_PATH) \
3709 for flag in $(EXTRA_HOST_FLAGS); do \
3710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3711 done; \
3712 echo "Doing dvi in send-pr" ; \
3713 (cd send-pr && \
3714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3716 "RANLIB=$${RANLIB}" \
3717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3718 dvi) \
3719 || exit 1
3722 .PHONY: maybe-dvi-shellutils dvi-shellutils
3723 maybe-dvi-shellutils:
3725 dvi-shellutils: \
3726 configure-shellutils
3727 @[ -f ./shellutils/Makefile ] || exit 0; \
3728 r=`${PWD}`; export r; \
3729 s=`cd $(srcdir); ${PWD}`; export s; \
3730 $(SET_LIB_PATH) \
3731 for flag in $(EXTRA_HOST_FLAGS); do \
3732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3733 done; \
3734 echo "Doing dvi in shellutils" ; \
3735 (cd shellutils && \
3736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3738 "RANLIB=$${RANLIB}" \
3739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3740 dvi) \
3741 || exit 1
3744 .PHONY: maybe-dvi-sid dvi-sid
3745 maybe-dvi-sid:
3747 dvi-sid: \
3748 configure-sid
3749 @[ -f ./sid/Makefile ] || exit 0; \
3750 r=`${PWD}`; export r; \
3751 s=`cd $(srcdir); ${PWD}`; export s; \
3752 $(SET_LIB_PATH) \
3753 for flag in $(EXTRA_HOST_FLAGS); do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing dvi in sid" ; \
3757 (cd sid && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 dvi) \
3763 || exit 1
3766 .PHONY: maybe-dvi-sim dvi-sim
3767 maybe-dvi-sim:
3769 dvi-sim: \
3770 configure-sim
3771 @[ -f ./sim/Makefile ] || exit 0; \
3772 r=`${PWD}`; export r; \
3773 s=`cd $(srcdir); ${PWD}`; export s; \
3774 $(SET_LIB_PATH) \
3775 for flag in $(EXTRA_HOST_FLAGS); do \
3776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3777 done; \
3778 echo "Doing dvi in sim" ; \
3779 (cd sim && \
3780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3782 "RANLIB=$${RANLIB}" \
3783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3784 dvi) \
3785 || exit 1
3788 .PHONY: maybe-dvi-tar dvi-tar
3789 maybe-dvi-tar:
3791 dvi-tar: \
3792 configure-tar
3793 @[ -f ./tar/Makefile ] || exit 0; \
3794 r=`${PWD}`; export r; \
3795 s=`cd $(srcdir); ${PWD}`; export s; \
3796 $(SET_LIB_PATH) \
3797 for flag in $(EXTRA_HOST_FLAGS); do \
3798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3799 done; \
3800 echo "Doing dvi in tar" ; \
3801 (cd tar && \
3802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3804 "RANLIB=$${RANLIB}" \
3805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3806 dvi) \
3807 || exit 1
3810 .PHONY: maybe-dvi-texinfo dvi-texinfo
3811 maybe-dvi-texinfo:
3813 dvi-texinfo: \
3814 configure-texinfo
3815 @[ -f ./texinfo/Makefile ] || exit 0; \
3816 r=`${PWD}`; export r; \
3817 s=`cd $(srcdir); ${PWD}`; export s; \
3818 $(SET_LIB_PATH) \
3819 for flag in $(EXTRA_HOST_FLAGS); do \
3820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3821 done; \
3822 echo "Doing dvi in texinfo" ; \
3823 (cd texinfo && \
3824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3826 "RANLIB=$${RANLIB}" \
3827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3828 dvi) \
3829 || exit 1
3832 .PHONY: maybe-dvi-textutils dvi-textutils
3833 maybe-dvi-textutils:
3835 dvi-textutils: \
3836 configure-textutils
3837 @[ -f ./textutils/Makefile ] || exit 0; \
3838 r=`${PWD}`; export r; \
3839 s=`cd $(srcdir); ${PWD}`; export s; \
3840 $(SET_LIB_PATH) \
3841 for flag in $(EXTRA_HOST_FLAGS); do \
3842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3843 done; \
3844 echo "Doing dvi in textutils" ; \
3845 (cd textutils && \
3846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3848 "RANLIB=$${RANLIB}" \
3849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3850 dvi) \
3851 || exit 1
3854 .PHONY: maybe-dvi-time dvi-time
3855 maybe-dvi-time:
3857 dvi-time: \
3858 configure-time
3859 @[ -f ./time/Makefile ] || exit 0; \
3860 r=`${PWD}`; export r; \
3861 s=`cd $(srcdir); ${PWD}`; export s; \
3862 $(SET_LIB_PATH) \
3863 for flag in $(EXTRA_HOST_FLAGS); do \
3864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3865 done; \
3866 echo "Doing dvi in time" ; \
3867 (cd time && \
3868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3870 "RANLIB=$${RANLIB}" \
3871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3872 dvi) \
3873 || exit 1
3876 .PHONY: maybe-dvi-uudecode dvi-uudecode
3877 maybe-dvi-uudecode:
3879 dvi-uudecode: \
3880 configure-uudecode
3881 @[ -f ./uudecode/Makefile ] || exit 0; \
3882 r=`${PWD}`; export r; \
3883 s=`cd $(srcdir); ${PWD}`; export s; \
3884 $(SET_LIB_PATH) \
3885 for flag in $(EXTRA_HOST_FLAGS); do \
3886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3887 done; \
3888 echo "Doing dvi in uudecode" ; \
3889 (cd uudecode && \
3890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3892 "RANLIB=$${RANLIB}" \
3893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3894 dvi) \
3895 || exit 1
3898 .PHONY: maybe-dvi-wdiff dvi-wdiff
3899 maybe-dvi-wdiff:
3901 dvi-wdiff: \
3902 configure-wdiff
3903 @[ -f ./wdiff/Makefile ] || exit 0; \
3904 r=`${PWD}`; export r; \
3905 s=`cd $(srcdir); ${PWD}`; export s; \
3906 $(SET_LIB_PATH) \
3907 for flag in $(EXTRA_HOST_FLAGS); do \
3908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3909 done; \
3910 echo "Doing dvi in wdiff" ; \
3911 (cd wdiff && \
3912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3914 "RANLIB=$${RANLIB}" \
3915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3916 dvi) \
3917 || exit 1
3920 .PHONY: maybe-dvi-zip dvi-zip
3921 maybe-dvi-zip:
3923 dvi-zip: \
3924 configure-zip
3925 @[ -f ./zip/Makefile ] || exit 0; \
3926 r=`${PWD}`; export r; \
3927 s=`cd $(srcdir); ${PWD}`; export s; \
3928 $(SET_LIB_PATH) \
3929 for flag in $(EXTRA_HOST_FLAGS); do \
3930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3931 done; \
3932 echo "Doing dvi in zip" ; \
3933 (cd zip && \
3934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3936 "RANLIB=$${RANLIB}" \
3937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3938 dvi) \
3939 || exit 1
3942 .PHONY: maybe-dvi-zlib dvi-zlib
3943 maybe-dvi-zlib:
3945 dvi-zlib: \
3946 configure-zlib
3947 @[ -f ./zlib/Makefile ] || exit 0; \
3948 r=`${PWD}`; export r; \
3949 s=`cd $(srcdir); ${PWD}`; export s; \
3950 $(SET_LIB_PATH) \
3951 for flag in $(EXTRA_HOST_FLAGS); do \
3952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3953 done; \
3954 echo "Doing dvi in zlib" ; \
3955 (cd zlib && \
3956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3958 "RANLIB=$${RANLIB}" \
3959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3960 dvi) \
3961 || exit 1
3964 .PHONY: maybe-dvi-gdb dvi-gdb
3965 maybe-dvi-gdb:
3967 dvi-gdb: \
3968 configure-gdb
3969 @[ -f ./gdb/Makefile ] || exit 0; \
3970 r=`${PWD}`; export r; \
3971 s=`cd $(srcdir); ${PWD}`; export s; \
3972 $(SET_LIB_PATH) \
3973 for flag in $(EXTRA_HOST_FLAGS); do \
3974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3975 done; \
3976 echo "Doing dvi in gdb" ; \
3977 (cd gdb && \
3978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3980 "RANLIB=$${RANLIB}" \
3981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3982 dvi) \
3983 || exit 1
3986 .PHONY: maybe-dvi-expect dvi-expect
3987 maybe-dvi-expect:
3989 dvi-expect: \
3990 configure-expect
3991 @[ -f ./expect/Makefile ] || exit 0; \
3992 r=`${PWD}`; export r; \
3993 s=`cd $(srcdir); ${PWD}`; export s; \
3994 $(SET_LIB_PATH) \
3995 for flag in $(EXTRA_HOST_FLAGS); do \
3996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3997 done; \
3998 echo "Doing dvi in expect" ; \
3999 (cd expect && \
4000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4002 "RANLIB=$${RANLIB}" \
4003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4004 dvi) \
4005 || exit 1
4008 .PHONY: maybe-dvi-guile dvi-guile
4009 maybe-dvi-guile:
4011 dvi-guile: \
4012 configure-guile
4013 @[ -f ./guile/Makefile ] || exit 0; \
4014 r=`${PWD}`; export r; \
4015 s=`cd $(srcdir); ${PWD}`; export s; \
4016 $(SET_LIB_PATH) \
4017 for flag in $(EXTRA_HOST_FLAGS); do \
4018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4019 done; \
4020 echo "Doing dvi in guile" ; \
4021 (cd guile && \
4022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4024 "RANLIB=$${RANLIB}" \
4025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4026 dvi) \
4027 || exit 1
4030 .PHONY: maybe-dvi-tk dvi-tk
4031 maybe-dvi-tk:
4033 dvi-tk: \
4034 configure-tk
4035 @[ -f ./tk/Makefile ] || exit 0; \
4036 r=`${PWD}`; export r; \
4037 s=`cd $(srcdir); ${PWD}`; export s; \
4038 $(SET_LIB_PATH) \
4039 for flag in $(EXTRA_HOST_FLAGS); do \
4040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4041 done; \
4042 echo "Doing dvi in tk" ; \
4043 (cd tk && \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4046 "RANLIB=$${RANLIB}" \
4047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4048 dvi) \
4049 || exit 1
4052 .PHONY: maybe-dvi-tix dvi-tix
4053 maybe-dvi-tix:
4055 dvi-tix: \
4056 configure-tix
4057 @[ -f ./tix/Makefile ] || exit 0; \
4058 r=`${PWD}`; export r; \
4059 s=`cd $(srcdir); ${PWD}`; export s; \
4060 $(SET_LIB_PATH) \
4061 for flag in $(EXTRA_HOST_FLAGS); do \
4062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4063 done; \
4064 echo "Doing dvi in tix" ; \
4065 (cd tix && \
4066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4068 "RANLIB=$${RANLIB}" \
4069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4070 dvi) \
4071 || exit 1
4074 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
4075 maybe-dvi-libtermcap:
4077 dvi-libtermcap: \
4078 configure-libtermcap
4079 @[ -f ./libtermcap/Makefile ] || exit 0; \
4080 r=`${PWD}`; export r; \
4081 s=`cd $(srcdir); ${PWD}`; export s; \
4082 $(SET_LIB_PATH) \
4083 for flag in $(EXTRA_HOST_FLAGS); do \
4084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4085 done; \
4086 echo "Doing dvi in libtermcap" ; \
4087 (cd libtermcap && \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4090 "RANLIB=$${RANLIB}" \
4091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4092 dvi) \
4093 || exit 1
4096 .PHONY: maybe-dvi-utils dvi-utils
4097 maybe-dvi-utils:
4099 dvi-utils: \
4100 configure-utils
4101 @[ -f ./utils/Makefile ] || exit 0; \
4102 r=`${PWD}`; export r; \
4103 s=`cd $(srcdir); ${PWD}`; export s; \
4104 $(SET_LIB_PATH) \
4105 for flag in $(EXTRA_HOST_FLAGS); do \
4106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4107 done; \
4108 echo "Doing dvi in utils" ; \
4109 (cd utils && \
4110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4112 "RANLIB=$${RANLIB}" \
4113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4114 dvi) \
4115 || exit 1
4119 # Target modules.
4121 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
4122 maybe-dvi-target-libstdc++-v3:
4124 dvi-target-libstdc++-v3: \
4125 configure-target-libstdc++-v3
4126 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
4127 r=`${PWD}`; export r; \
4128 s=`cd $(srcdir); ${PWD}`; export s; \
4129 $(SET_LIB_PATH) \
4130 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
4131 for flag in $(EXTRA_TARGET_FLAGS); do \
4132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4133 done; \
4134 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
4135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4137 "RANLIB=$${RANLIB}" \
4138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4139 dvi) \
4140 || exit 1
4143 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
4144 maybe-dvi-target-newlib:
4146 dvi-target-newlib: \
4147 configure-target-newlib
4148 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
4149 r=`${PWD}`; export r; \
4150 s=`cd $(srcdir); ${PWD}`; export s; \
4151 $(SET_LIB_PATH) \
4152 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
4153 for flag in $(EXTRA_TARGET_FLAGS); do \
4154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4155 done; \
4156 (cd $(TARGET_SUBDIR)/newlib && \
4157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4159 "RANLIB=$${RANLIB}" \
4160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4161 dvi) \
4162 || exit 1
4165 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
4166 maybe-dvi-target-libf2c:
4168 dvi-target-libf2c: \
4169 configure-target-libf2c
4170 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
4171 r=`${PWD}`; export r; \
4172 s=`cd $(srcdir); ${PWD}`; export s; \
4173 $(SET_LIB_PATH) \
4174 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
4175 for flag in $(EXTRA_TARGET_FLAGS); do \
4176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4177 done; \
4178 (cd $(TARGET_SUBDIR)/libf2c && \
4179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4181 "RANLIB=$${RANLIB}" \
4182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4183 dvi) \
4184 || exit 1
4187 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
4188 maybe-dvi-target-libobjc:
4190 dvi-target-libobjc: \
4191 configure-target-libobjc
4192 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
4193 r=`${PWD}`; export r; \
4194 s=`cd $(srcdir); ${PWD}`; export s; \
4195 $(SET_LIB_PATH) \
4196 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
4197 for flag in $(EXTRA_TARGET_FLAGS); do \
4198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4199 done; \
4200 (cd $(TARGET_SUBDIR)/libobjc && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4205 dvi) \
4206 || exit 1
4209 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
4210 maybe-dvi-target-libtermcap:
4212 dvi-target-libtermcap: \
4213 configure-target-libtermcap
4214 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
4215 r=`${PWD}`; export r; \
4216 s=`cd $(srcdir); ${PWD}`; export s; \
4217 $(SET_LIB_PATH) \
4218 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
4219 for flag in $(EXTRA_TARGET_FLAGS); do \
4220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4221 done; \
4222 (cd $(TARGET_SUBDIR)/libtermcap && \
4223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4225 "RANLIB=$${RANLIB}" \
4226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4227 dvi) \
4228 || exit 1
4231 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
4232 maybe-dvi-target-winsup:
4234 dvi-target-winsup: \
4235 configure-target-winsup
4236 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
4237 r=`${PWD}`; export r; \
4238 s=`cd $(srcdir); ${PWD}`; export s; \
4239 $(SET_LIB_PATH) \
4240 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
4241 for flag in $(EXTRA_TARGET_FLAGS); do \
4242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4243 done; \
4244 (cd $(TARGET_SUBDIR)/winsup && \
4245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4247 "RANLIB=$${RANLIB}" \
4248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4249 dvi) \
4250 || exit 1
4253 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
4254 maybe-dvi-target-libgloss:
4256 dvi-target-libgloss: \
4257 configure-target-libgloss
4258 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
4259 r=`${PWD}`; export r; \
4260 s=`cd $(srcdir); ${PWD}`; export s; \
4261 $(SET_LIB_PATH) \
4262 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
4263 for flag in $(EXTRA_TARGET_FLAGS); do \
4264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4265 done; \
4266 (cd $(TARGET_SUBDIR)/libgloss && \
4267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4269 "RANLIB=$${RANLIB}" \
4270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4271 dvi) \
4272 || exit 1
4275 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
4276 maybe-dvi-target-libiberty:
4278 dvi-target-libiberty: \
4279 configure-target-libiberty
4280 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
4281 r=`${PWD}`; export r; \
4282 s=`cd $(srcdir); ${PWD}`; export s; \
4283 $(SET_LIB_PATH) \
4284 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
4285 for flag in $(EXTRA_TARGET_FLAGS); do \
4286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4287 done; \
4288 (cd $(TARGET_SUBDIR)/libiberty && \
4289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4291 "RANLIB=$${RANLIB}" \
4292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4293 dvi) \
4294 || exit 1
4297 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
4298 maybe-dvi-target-gperf:
4300 dvi-target-gperf: \
4301 configure-target-gperf
4302 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
4303 r=`${PWD}`; export r; \
4304 s=`cd $(srcdir); ${PWD}`; export s; \
4305 $(SET_LIB_PATH) \
4306 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
4307 for flag in $(EXTRA_TARGET_FLAGS); do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 (cd $(TARGET_SUBDIR)/gperf && \
4311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4313 "RANLIB=$${RANLIB}" \
4314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4315 dvi) \
4316 || exit 1
4319 .PHONY: maybe-dvi-target-examples dvi-target-examples
4320 maybe-dvi-target-examples:
4322 dvi-target-examples: \
4323 configure-target-examples
4324 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
4325 r=`${PWD}`; export r; \
4326 s=`cd $(srcdir); ${PWD}`; export s; \
4327 $(SET_LIB_PATH) \
4328 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
4329 for flag in $(EXTRA_TARGET_FLAGS); do \
4330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4331 done; \
4332 (cd $(TARGET_SUBDIR)/examples && \
4333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335 "RANLIB=$${RANLIB}" \
4336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4337 dvi) \
4338 || exit 1
4341 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
4342 maybe-dvi-target-libffi:
4344 dvi-target-libffi: \
4345 configure-target-libffi
4346 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
4347 r=`${PWD}`; export r; \
4348 s=`cd $(srcdir); ${PWD}`; export s; \
4349 $(SET_LIB_PATH) \
4350 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
4351 for flag in $(EXTRA_TARGET_FLAGS); do \
4352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4353 done; \
4354 (cd $(TARGET_SUBDIR)/libffi && \
4355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4357 "RANLIB=$${RANLIB}" \
4358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4359 dvi) \
4360 || exit 1
4363 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
4364 maybe-dvi-target-libjava:
4366 dvi-target-libjava: \
4367 configure-target-libjava
4368 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
4369 r=`${PWD}`; export r; \
4370 s=`cd $(srcdir); ${PWD}`; export s; \
4371 $(SET_LIB_PATH) \
4372 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
4373 for flag in $(EXTRA_TARGET_FLAGS); do \
4374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4375 done; \
4376 (cd $(TARGET_SUBDIR)/libjava && \
4377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4379 "RANLIB=$${RANLIB}" \
4380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4381 dvi) \
4382 || exit 1
4385 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
4386 maybe-dvi-target-zlib:
4388 dvi-target-zlib: \
4389 configure-target-zlib
4390 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
4391 r=`${PWD}`; export r; \
4392 s=`cd $(srcdir); ${PWD}`; export s; \
4393 $(SET_LIB_PATH) \
4394 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
4395 for flag in $(EXTRA_TARGET_FLAGS); do \
4396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4397 done; \
4398 (cd $(TARGET_SUBDIR)/zlib && \
4399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4401 "RANLIB=$${RANLIB}" \
4402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4403 dvi) \
4404 || exit 1
4407 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
4408 maybe-dvi-target-boehm-gc:
4410 dvi-target-boehm-gc: \
4411 configure-target-boehm-gc
4412 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
4413 r=`${PWD}`; export r; \
4414 s=`cd $(srcdir); ${PWD}`; export s; \
4415 $(SET_LIB_PATH) \
4416 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
4417 for flag in $(EXTRA_TARGET_FLAGS); do \
4418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4419 done; \
4420 (cd $(TARGET_SUBDIR)/boehm-gc && \
4421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4423 "RANLIB=$${RANLIB}" \
4424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4425 dvi) \
4426 || exit 1
4429 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
4430 maybe-dvi-target-qthreads:
4432 dvi-target-qthreads: \
4433 configure-target-qthreads
4434 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
4435 r=`${PWD}`; export r; \
4436 s=`cd $(srcdir); ${PWD}`; export s; \
4437 $(SET_LIB_PATH) \
4438 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
4439 for flag in $(EXTRA_TARGET_FLAGS); do \
4440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4441 done; \
4442 (cd $(TARGET_SUBDIR)/qthreads && \
4443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4445 "RANLIB=$${RANLIB}" \
4446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4447 dvi) \
4448 || exit 1
4451 .PHONY: maybe-dvi-target-rda dvi-target-rda
4452 maybe-dvi-target-rda:
4454 dvi-target-rda: \
4455 configure-target-rda
4456 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
4457 r=`${PWD}`; export r; \
4458 s=`cd $(srcdir); ${PWD}`; export s; \
4459 $(SET_LIB_PATH) \
4460 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
4461 for flag in $(EXTRA_TARGET_FLAGS); do \
4462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4463 done; \
4464 (cd $(TARGET_SUBDIR)/rda && \
4465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4467 "RANLIB=$${RANLIB}" \
4468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4469 dvi) \
4470 || exit 1
4474 .PHONY: do-TAGS
4475 do-TAGS: TAGS-host TAGS-target
4477 .PHONY: TAGS-host
4478 TAGS-host: maybe-TAGS-gcc \
4479 maybe-TAGS-ash \
4480 maybe-TAGS-autoconf \
4481 maybe-TAGS-automake \
4482 maybe-TAGS-bash \
4483 maybe-TAGS-bfd \
4484 maybe-TAGS-opcodes \
4485 maybe-TAGS-binutils \
4486 maybe-TAGS-bison \
4487 maybe-TAGS-byacc \
4488 maybe-TAGS-bzip2 \
4489 maybe-TAGS-dejagnu \
4490 maybe-TAGS-diff \
4491 maybe-TAGS-dosutils \
4492 maybe-TAGS-etc \
4493 maybe-TAGS-fastjar \
4494 maybe-TAGS-fileutils \
4495 maybe-TAGS-findutils \
4496 maybe-TAGS-find \
4497 maybe-TAGS-flex \
4498 maybe-TAGS-gas \
4499 maybe-TAGS-gawk \
4500 maybe-TAGS-gettext \
4501 maybe-TAGS-gnuserv \
4502 maybe-TAGS-gprof \
4503 maybe-TAGS-gzip \
4504 maybe-TAGS-hello \
4505 maybe-TAGS-indent \
4506 maybe-TAGS-intl \
4507 maybe-TAGS-tcl \
4508 maybe-TAGS-itcl \
4509 maybe-TAGS-ld \
4510 maybe-TAGS-libgui \
4511 maybe-TAGS-libiberty \
4512 maybe-TAGS-libtool \
4513 maybe-TAGS-m4 \
4514 maybe-TAGS-make \
4515 maybe-TAGS-mmalloc \
4516 maybe-TAGS-patch \
4517 maybe-TAGS-perl \
4518 maybe-TAGS-prms \
4519 maybe-TAGS-rcs \
4520 maybe-TAGS-readline \
4521 maybe-TAGS-release \
4522 maybe-TAGS-recode \
4523 maybe-TAGS-sed \
4524 maybe-TAGS-send-pr \
4525 maybe-TAGS-shellutils \
4526 maybe-TAGS-sid \
4527 maybe-TAGS-sim \
4528 maybe-TAGS-tar \
4529 maybe-TAGS-texinfo \
4530 maybe-TAGS-textutils \
4531 maybe-TAGS-time \
4532 maybe-TAGS-uudecode \
4533 maybe-TAGS-wdiff \
4534 maybe-TAGS-zip \
4535 maybe-TAGS-zlib \
4536 maybe-TAGS-gdb \
4537 maybe-TAGS-expect \
4538 maybe-TAGS-guile \
4539 maybe-TAGS-tk \
4540 maybe-TAGS-tix \
4541 maybe-TAGS-libtermcap \
4542 maybe-TAGS-utils
4544 .PHONY: TAGS-target
4545 TAGS-target: \
4546 maybe-TAGS-target-libstdc++-v3 \
4547 maybe-TAGS-target-newlib \
4548 maybe-TAGS-target-libf2c \
4549 maybe-TAGS-target-libobjc \
4550 maybe-TAGS-target-libtermcap \
4551 maybe-TAGS-target-winsup \
4552 maybe-TAGS-target-libgloss \
4553 maybe-TAGS-target-libiberty \
4554 maybe-TAGS-target-gperf \
4555 maybe-TAGS-target-examples \
4556 maybe-TAGS-target-libffi \
4557 maybe-TAGS-target-libjava \
4558 maybe-TAGS-target-zlib \
4559 maybe-TAGS-target-boehm-gc \
4560 maybe-TAGS-target-qthreads \
4561 maybe-TAGS-target-rda
4563 # GCC, the eternal special case
4564 .PHONY: maybe-TAGS-gcc TAGS-gcc
4565 maybe-TAGS-gcc:
4566 TAGS-gcc: \
4567 configure-gcc
4568 @[ -f ./gcc/Makefile ] || exit 0; \
4569 r=`${PWD}`; export r; \
4570 s=`cd $(srcdir); ${PWD}`; export s; \
4571 $(SET_LIB_PATH) \
4572 for flag in $(EXTRA_GCC_FLAGS); do \
4573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4574 done; \
4575 echo "Doing TAGS in gcc" ; \
4576 (cd gcc && \
4577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4579 "RANLIB=$${RANLIB}" \
4580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4581 TAGS) \
4582 || exit 1
4584 # Host modules.
4586 .PHONY: maybe-TAGS-ash TAGS-ash
4587 maybe-TAGS-ash:
4589 TAGS-ash: \
4590 configure-ash
4591 @[ -f ./ash/Makefile ] || exit 0; \
4592 r=`${PWD}`; export r; \
4593 s=`cd $(srcdir); ${PWD}`; export s; \
4594 $(SET_LIB_PATH) \
4595 for flag in $(EXTRA_HOST_FLAGS); do \
4596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4597 done; \
4598 echo "Doing TAGS in ash" ; \
4599 (cd ash && \
4600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4602 "RANLIB=$${RANLIB}" \
4603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4604 TAGS) \
4605 || exit 1
4608 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4609 maybe-TAGS-autoconf:
4611 TAGS-autoconf: \
4612 configure-autoconf
4613 @[ -f ./autoconf/Makefile ] || exit 0; \
4614 r=`${PWD}`; export r; \
4615 s=`cd $(srcdir); ${PWD}`; export s; \
4616 $(SET_LIB_PATH) \
4617 for flag in $(EXTRA_HOST_FLAGS); do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4619 done; \
4620 echo "Doing TAGS in autoconf" ; \
4621 (cd autoconf && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4626 TAGS) \
4627 || exit 1
4630 .PHONY: maybe-TAGS-automake TAGS-automake
4631 maybe-TAGS-automake:
4633 TAGS-automake: \
4634 configure-automake
4635 @[ -f ./automake/Makefile ] || exit 0; \
4636 r=`${PWD}`; export r; \
4637 s=`cd $(srcdir); ${PWD}`; export s; \
4638 $(SET_LIB_PATH) \
4639 for flag in $(EXTRA_HOST_FLAGS); do \
4640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4641 done; \
4642 echo "Doing TAGS in automake" ; \
4643 (cd automake && \
4644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4646 "RANLIB=$${RANLIB}" \
4647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4648 TAGS) \
4649 || exit 1
4652 .PHONY: maybe-TAGS-bash TAGS-bash
4653 maybe-TAGS-bash:
4655 TAGS-bash: \
4656 configure-bash
4657 @[ -f ./bash/Makefile ] || exit 0; \
4658 r=`${PWD}`; export r; \
4659 s=`cd $(srcdir); ${PWD}`; export s; \
4660 $(SET_LIB_PATH) \
4661 for flag in $(EXTRA_HOST_FLAGS); do \
4662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4663 done; \
4664 echo "Doing TAGS in bash" ; \
4665 (cd bash && \
4666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4668 "RANLIB=$${RANLIB}" \
4669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4670 TAGS) \
4671 || exit 1
4674 .PHONY: maybe-TAGS-bfd TAGS-bfd
4675 maybe-TAGS-bfd:
4677 TAGS-bfd: \
4678 configure-bfd
4679 @[ -f ./bfd/Makefile ] || exit 0; \
4680 r=`${PWD}`; export r; \
4681 s=`cd $(srcdir); ${PWD}`; export s; \
4682 $(SET_LIB_PATH) \
4683 for flag in $(EXTRA_HOST_FLAGS); do \
4684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4685 done; \
4686 echo "Doing TAGS in bfd" ; \
4687 (cd bfd && \
4688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4690 "RANLIB=$${RANLIB}" \
4691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4692 TAGS) \
4693 || exit 1
4696 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4697 maybe-TAGS-opcodes:
4699 TAGS-opcodes: \
4700 configure-opcodes
4701 @[ -f ./opcodes/Makefile ] || exit 0; \
4702 r=`${PWD}`; export r; \
4703 s=`cd $(srcdir); ${PWD}`; export s; \
4704 $(SET_LIB_PATH) \
4705 for flag in $(EXTRA_HOST_FLAGS); do \
4706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4707 done; \
4708 echo "Doing TAGS in opcodes" ; \
4709 (cd opcodes && \
4710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4712 "RANLIB=$${RANLIB}" \
4713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4714 TAGS) \
4715 || exit 1
4718 .PHONY: maybe-TAGS-binutils TAGS-binutils
4719 maybe-TAGS-binutils:
4721 TAGS-binutils: \
4722 configure-binutils
4723 @[ -f ./binutils/Makefile ] || exit 0; \
4724 r=`${PWD}`; export r; \
4725 s=`cd $(srcdir); ${PWD}`; export s; \
4726 $(SET_LIB_PATH) \
4727 for flag in $(EXTRA_HOST_FLAGS); do \
4728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4729 done; \
4730 echo "Doing TAGS in binutils" ; \
4731 (cd binutils && \
4732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4734 "RANLIB=$${RANLIB}" \
4735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4736 TAGS) \
4737 || exit 1
4740 .PHONY: maybe-TAGS-bison TAGS-bison
4741 maybe-TAGS-bison:
4743 TAGS-bison: \
4744 configure-bison
4745 @[ -f ./bison/Makefile ] || exit 0; \
4746 r=`${PWD}`; export r; \
4747 s=`cd $(srcdir); ${PWD}`; export s; \
4748 $(SET_LIB_PATH) \
4749 for flag in $(EXTRA_HOST_FLAGS); do \
4750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4751 done; \
4752 echo "Doing TAGS in bison" ; \
4753 (cd bison && \
4754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4756 "RANLIB=$${RANLIB}" \
4757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4758 TAGS) \
4759 || exit 1
4762 .PHONY: maybe-TAGS-byacc TAGS-byacc
4763 maybe-TAGS-byacc:
4765 TAGS-byacc: \
4766 configure-byacc
4767 @[ -f ./byacc/Makefile ] || exit 0; \
4768 r=`${PWD}`; export r; \
4769 s=`cd $(srcdir); ${PWD}`; export s; \
4770 $(SET_LIB_PATH) \
4771 for flag in $(EXTRA_HOST_FLAGS); do \
4772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4773 done; \
4774 echo "Doing TAGS in byacc" ; \
4775 (cd byacc && \
4776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4778 "RANLIB=$${RANLIB}" \
4779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4780 TAGS) \
4781 || exit 1
4784 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4785 maybe-TAGS-bzip2:
4787 TAGS-bzip2: \
4788 configure-bzip2
4789 @[ -f ./bzip2/Makefile ] || exit 0; \
4790 r=`${PWD}`; export r; \
4791 s=`cd $(srcdir); ${PWD}`; export s; \
4792 $(SET_LIB_PATH) \
4793 for flag in $(EXTRA_HOST_FLAGS); do \
4794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4795 done; \
4796 echo "Doing TAGS in bzip2" ; \
4797 (cd bzip2 && \
4798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4800 "RANLIB=$${RANLIB}" \
4801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4802 TAGS) \
4803 || exit 1
4806 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4807 maybe-TAGS-dejagnu:
4809 TAGS-dejagnu: \
4810 configure-dejagnu
4811 @[ -f ./dejagnu/Makefile ] || exit 0; \
4812 r=`${PWD}`; export r; \
4813 s=`cd $(srcdir); ${PWD}`; export s; \
4814 $(SET_LIB_PATH) \
4815 for flag in $(EXTRA_HOST_FLAGS); do \
4816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4817 done; \
4818 echo "Doing TAGS in dejagnu" ; \
4819 (cd dejagnu && \
4820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4822 "RANLIB=$${RANLIB}" \
4823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4824 TAGS) \
4825 || exit 1
4828 .PHONY: maybe-TAGS-diff TAGS-diff
4829 maybe-TAGS-diff:
4831 TAGS-diff: \
4832 configure-diff
4833 @[ -f ./diff/Makefile ] || exit 0; \
4834 r=`${PWD}`; export r; \
4835 s=`cd $(srcdir); ${PWD}`; export s; \
4836 $(SET_LIB_PATH) \
4837 for flag in $(EXTRA_HOST_FLAGS); do \
4838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4839 done; \
4840 echo "Doing TAGS in diff" ; \
4841 (cd diff && \
4842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4844 "RANLIB=$${RANLIB}" \
4845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4846 TAGS) \
4847 || exit 1
4850 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
4851 maybe-TAGS-dosutils:
4853 TAGS-dosutils: \
4854 configure-dosutils
4855 @[ -f ./dosutils/Makefile ] || exit 0; \
4856 r=`${PWD}`; export r; \
4857 s=`cd $(srcdir); ${PWD}`; export s; \
4858 $(SET_LIB_PATH) \
4859 for flag in $(EXTRA_HOST_FLAGS); do \
4860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4861 done; \
4862 echo "Doing TAGS in dosutils" ; \
4863 (cd dosutils && \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4866 "RANLIB=$${RANLIB}" \
4867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4868 TAGS) \
4869 || exit 1
4872 .PHONY: maybe-TAGS-etc TAGS-etc
4873 maybe-TAGS-etc:
4875 TAGS-etc: \
4876 configure-etc
4877 @[ -f ./etc/Makefile ] || exit 0; \
4878 r=`${PWD}`; export r; \
4879 s=`cd $(srcdir); ${PWD}`; export s; \
4880 $(SET_LIB_PATH) \
4881 for flag in $(EXTRA_HOST_FLAGS); do \
4882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4883 done; \
4884 echo "Doing TAGS in etc" ; \
4885 (cd etc && \
4886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4888 "RANLIB=$${RANLIB}" \
4889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4890 TAGS) \
4891 || exit 1
4894 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
4895 maybe-TAGS-fastjar:
4897 TAGS-fastjar: \
4898 configure-fastjar
4899 @[ -f ./fastjar/Makefile ] || exit 0; \
4900 r=`${PWD}`; export r; \
4901 s=`cd $(srcdir); ${PWD}`; export s; \
4902 $(SET_LIB_PATH) \
4903 for flag in $(EXTRA_HOST_FLAGS); do \
4904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4905 done; \
4906 echo "Doing TAGS in fastjar" ; \
4907 (cd fastjar && \
4908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4910 "RANLIB=$${RANLIB}" \
4911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4912 TAGS) \
4913 || exit 1
4916 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
4917 maybe-TAGS-fileutils:
4919 TAGS-fileutils: \
4920 configure-fileutils
4921 @[ -f ./fileutils/Makefile ] || exit 0; \
4922 r=`${PWD}`; export r; \
4923 s=`cd $(srcdir); ${PWD}`; export s; \
4924 $(SET_LIB_PATH) \
4925 for flag in $(EXTRA_HOST_FLAGS); do \
4926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4927 done; \
4928 echo "Doing TAGS in fileutils" ; \
4929 (cd fileutils && \
4930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4932 "RANLIB=$${RANLIB}" \
4933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4934 TAGS) \
4935 || exit 1
4938 .PHONY: maybe-TAGS-findutils TAGS-findutils
4939 maybe-TAGS-findutils:
4941 TAGS-findutils: \
4942 configure-findutils
4943 @[ -f ./findutils/Makefile ] || exit 0; \
4944 r=`${PWD}`; export r; \
4945 s=`cd $(srcdir); ${PWD}`; export s; \
4946 $(SET_LIB_PATH) \
4947 for flag in $(EXTRA_HOST_FLAGS); do \
4948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4949 done; \
4950 echo "Doing TAGS in findutils" ; \
4951 (cd findutils && \
4952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4954 "RANLIB=$${RANLIB}" \
4955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4956 TAGS) \
4957 || exit 1
4960 .PHONY: maybe-TAGS-find TAGS-find
4961 maybe-TAGS-find:
4963 TAGS-find: \
4964 configure-find
4965 @[ -f ./find/Makefile ] || exit 0; \
4966 r=`${PWD}`; export r; \
4967 s=`cd $(srcdir); ${PWD}`; export s; \
4968 $(SET_LIB_PATH) \
4969 for flag in $(EXTRA_HOST_FLAGS); do \
4970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4971 done; \
4972 echo "Doing TAGS in find" ; \
4973 (cd find && \
4974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4976 "RANLIB=$${RANLIB}" \
4977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4978 TAGS) \
4979 || exit 1
4982 .PHONY: maybe-TAGS-flex TAGS-flex
4983 maybe-TAGS-flex:
4985 TAGS-flex: \
4986 configure-flex
4987 @[ -f ./flex/Makefile ] || exit 0; \
4988 r=`${PWD}`; export r; \
4989 s=`cd $(srcdir); ${PWD}`; export s; \
4990 $(SET_LIB_PATH) \
4991 for flag in $(EXTRA_HOST_FLAGS); do \
4992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4993 done; \
4994 echo "Doing TAGS in flex" ; \
4995 (cd flex && \
4996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4998 "RANLIB=$${RANLIB}" \
4999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5000 TAGS) \
5001 || exit 1
5004 .PHONY: maybe-TAGS-gas TAGS-gas
5005 maybe-TAGS-gas:
5007 TAGS-gas: \
5008 configure-gas
5009 @[ -f ./gas/Makefile ] || exit 0; \
5010 r=`${PWD}`; export r; \
5011 s=`cd $(srcdir); ${PWD}`; export s; \
5012 $(SET_LIB_PATH) \
5013 for flag in $(EXTRA_HOST_FLAGS); do \
5014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5015 done; \
5016 echo "Doing TAGS in gas" ; \
5017 (cd gas && \
5018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5020 "RANLIB=$${RANLIB}" \
5021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5022 TAGS) \
5023 || exit 1
5026 .PHONY: maybe-TAGS-gawk TAGS-gawk
5027 maybe-TAGS-gawk:
5029 TAGS-gawk: \
5030 configure-gawk
5031 @[ -f ./gawk/Makefile ] || exit 0; \
5032 r=`${PWD}`; export r; \
5033 s=`cd $(srcdir); ${PWD}`; export s; \
5034 $(SET_LIB_PATH) \
5035 for flag in $(EXTRA_HOST_FLAGS); do \
5036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5037 done; \
5038 echo "Doing TAGS in gawk" ; \
5039 (cd gawk && \
5040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5042 "RANLIB=$${RANLIB}" \
5043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5044 TAGS) \
5045 || exit 1
5048 .PHONY: maybe-TAGS-gettext TAGS-gettext
5049 maybe-TAGS-gettext:
5051 TAGS-gettext: \
5052 configure-gettext
5053 @[ -f ./gettext/Makefile ] || exit 0; \
5054 r=`${PWD}`; export r; \
5055 s=`cd $(srcdir); ${PWD}`; export s; \
5056 $(SET_LIB_PATH) \
5057 for flag in $(EXTRA_HOST_FLAGS); do \
5058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5059 done; \
5060 echo "Doing TAGS in gettext" ; \
5061 (cd gettext && \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5064 "RANLIB=$${RANLIB}" \
5065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5066 TAGS) \
5067 || exit 1
5070 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
5071 maybe-TAGS-gnuserv:
5073 TAGS-gnuserv: \
5074 configure-gnuserv
5075 @[ -f ./gnuserv/Makefile ] || exit 0; \
5076 r=`${PWD}`; export r; \
5077 s=`cd $(srcdir); ${PWD}`; export s; \
5078 $(SET_LIB_PATH) \
5079 for flag in $(EXTRA_HOST_FLAGS); do \
5080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5081 done; \
5082 echo "Doing TAGS in gnuserv" ; \
5083 (cd gnuserv && \
5084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5086 "RANLIB=$${RANLIB}" \
5087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5088 TAGS) \
5089 || exit 1
5092 .PHONY: maybe-TAGS-gprof TAGS-gprof
5093 maybe-TAGS-gprof:
5095 TAGS-gprof: \
5096 configure-gprof
5097 @[ -f ./gprof/Makefile ] || exit 0; \
5098 r=`${PWD}`; export r; \
5099 s=`cd $(srcdir); ${PWD}`; export s; \
5100 $(SET_LIB_PATH) \
5101 for flag in $(EXTRA_HOST_FLAGS); do \
5102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5103 done; \
5104 echo "Doing TAGS in gprof" ; \
5105 (cd gprof && \
5106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5108 "RANLIB=$${RANLIB}" \
5109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5110 TAGS) \
5111 || exit 1
5114 .PHONY: maybe-TAGS-gzip TAGS-gzip
5115 maybe-TAGS-gzip:
5117 TAGS-gzip: \
5118 configure-gzip
5119 @[ -f ./gzip/Makefile ] || exit 0; \
5120 r=`${PWD}`; export r; \
5121 s=`cd $(srcdir); ${PWD}`; export s; \
5122 $(SET_LIB_PATH) \
5123 for flag in $(EXTRA_HOST_FLAGS); do \
5124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5125 done; \
5126 echo "Doing TAGS in gzip" ; \
5127 (cd gzip && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5130 "RANLIB=$${RANLIB}" \
5131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5132 TAGS) \
5133 || exit 1
5136 .PHONY: maybe-TAGS-hello TAGS-hello
5137 maybe-TAGS-hello:
5139 TAGS-hello: \
5140 configure-hello
5141 @[ -f ./hello/Makefile ] || exit 0; \
5142 r=`${PWD}`; export r; \
5143 s=`cd $(srcdir); ${PWD}`; export s; \
5144 $(SET_LIB_PATH) \
5145 for flag in $(EXTRA_HOST_FLAGS); do \
5146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5147 done; \
5148 echo "Doing TAGS in hello" ; \
5149 (cd hello && \
5150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5152 "RANLIB=$${RANLIB}" \
5153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5154 TAGS) \
5155 || exit 1
5158 .PHONY: maybe-TAGS-indent TAGS-indent
5159 maybe-TAGS-indent:
5161 TAGS-indent: \
5162 configure-indent
5163 @[ -f ./indent/Makefile ] || exit 0; \
5164 r=`${PWD}`; export r; \
5165 s=`cd $(srcdir); ${PWD}`; export s; \
5166 $(SET_LIB_PATH) \
5167 for flag in $(EXTRA_HOST_FLAGS); do \
5168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5169 done; \
5170 echo "Doing TAGS in indent" ; \
5171 (cd indent && \
5172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5174 "RANLIB=$${RANLIB}" \
5175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5176 TAGS) \
5177 || exit 1
5180 .PHONY: maybe-TAGS-intl TAGS-intl
5181 maybe-TAGS-intl:
5183 TAGS-intl: \
5184 configure-intl
5185 @[ -f ./intl/Makefile ] || exit 0; \
5186 r=`${PWD}`; export r; \
5187 s=`cd $(srcdir); ${PWD}`; export s; \
5188 $(SET_LIB_PATH) \
5189 for flag in $(EXTRA_HOST_FLAGS); do \
5190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5191 done; \
5192 echo "Doing TAGS in intl" ; \
5193 (cd intl && \
5194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5196 "RANLIB=$${RANLIB}" \
5197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5198 TAGS) \
5199 || exit 1
5202 .PHONY: maybe-TAGS-tcl TAGS-tcl
5203 maybe-TAGS-tcl:
5205 TAGS-tcl: \
5206 configure-tcl
5207 @[ -f ./tcl/Makefile ] || exit 0; \
5208 r=`${PWD}`; export r; \
5209 s=`cd $(srcdir); ${PWD}`; export s; \
5210 $(SET_LIB_PATH) \
5211 for flag in $(EXTRA_HOST_FLAGS); do \
5212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5213 done; \
5214 echo "Doing TAGS in tcl" ; \
5215 (cd tcl && \
5216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5218 "RANLIB=$${RANLIB}" \
5219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5220 TAGS) \
5221 || exit 1
5224 .PHONY: maybe-TAGS-itcl TAGS-itcl
5225 maybe-TAGS-itcl:
5227 TAGS-itcl: \
5228 configure-itcl
5229 @[ -f ./itcl/Makefile ] || exit 0; \
5230 r=`${PWD}`; export r; \
5231 s=`cd $(srcdir); ${PWD}`; export s; \
5232 $(SET_LIB_PATH) \
5233 for flag in $(EXTRA_HOST_FLAGS); do \
5234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5235 done; \
5236 echo "Doing TAGS in itcl" ; \
5237 (cd itcl && \
5238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5240 "RANLIB=$${RANLIB}" \
5241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5242 TAGS) \
5243 || exit 1
5246 .PHONY: maybe-TAGS-ld TAGS-ld
5247 maybe-TAGS-ld:
5249 TAGS-ld: \
5250 configure-ld
5251 @[ -f ./ld/Makefile ] || exit 0; \
5252 r=`${PWD}`; export r; \
5253 s=`cd $(srcdir); ${PWD}`; export s; \
5254 $(SET_LIB_PATH) \
5255 for flag in $(EXTRA_HOST_FLAGS); do \
5256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5257 done; \
5258 echo "Doing TAGS in ld" ; \
5259 (cd ld && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5262 "RANLIB=$${RANLIB}" \
5263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5264 TAGS) \
5265 || exit 1
5268 .PHONY: maybe-TAGS-libgui TAGS-libgui
5269 maybe-TAGS-libgui:
5271 TAGS-libgui: \
5272 configure-libgui
5273 @[ -f ./libgui/Makefile ] || exit 0; \
5274 r=`${PWD}`; export r; \
5275 s=`cd $(srcdir); ${PWD}`; export s; \
5276 $(SET_LIB_PATH) \
5277 for flag in $(EXTRA_HOST_FLAGS); do \
5278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5279 done; \
5280 echo "Doing TAGS in libgui" ; \
5281 (cd libgui && \
5282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5284 "RANLIB=$${RANLIB}" \
5285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5286 TAGS) \
5287 || exit 1
5290 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
5291 maybe-TAGS-libiberty:
5293 TAGS-libiberty: \
5294 configure-libiberty
5295 @[ -f ./libiberty/Makefile ] || exit 0; \
5296 r=`${PWD}`; export r; \
5297 s=`cd $(srcdir); ${PWD}`; export s; \
5298 $(SET_LIB_PATH) \
5299 for flag in $(EXTRA_HOST_FLAGS); do \
5300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5301 done; \
5302 echo "Doing TAGS in libiberty" ; \
5303 (cd libiberty && \
5304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5306 "RANLIB=$${RANLIB}" \
5307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5308 TAGS) \
5309 || exit 1
5312 .PHONY: maybe-TAGS-libtool TAGS-libtool
5313 maybe-TAGS-libtool:
5315 TAGS-libtool: \
5316 configure-libtool
5317 @[ -f ./libtool/Makefile ] || exit 0; \
5318 r=`${PWD}`; export r; \
5319 s=`cd $(srcdir); ${PWD}`; export s; \
5320 $(SET_LIB_PATH) \
5321 for flag in $(EXTRA_HOST_FLAGS); do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323 done; \
5324 echo "Doing TAGS in libtool" ; \
5325 (cd libtool && \
5326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328 "RANLIB=$${RANLIB}" \
5329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5330 TAGS) \
5331 || exit 1
5334 .PHONY: maybe-TAGS-m4 TAGS-m4
5335 maybe-TAGS-m4:
5337 TAGS-m4: \
5338 configure-m4
5339 @[ -f ./m4/Makefile ] || exit 0; \
5340 r=`${PWD}`; export r; \
5341 s=`cd $(srcdir); ${PWD}`; export s; \
5342 $(SET_LIB_PATH) \
5343 for flag in $(EXTRA_HOST_FLAGS); do \
5344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5345 done; \
5346 echo "Doing TAGS in m4" ; \
5347 (cd m4 && \
5348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5350 "RANLIB=$${RANLIB}" \
5351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5352 TAGS) \
5353 || exit 1
5356 .PHONY: maybe-TAGS-make TAGS-make
5357 maybe-TAGS-make:
5359 TAGS-make: \
5360 configure-make
5361 @[ -f ./make/Makefile ] || exit 0; \
5362 r=`${PWD}`; export r; \
5363 s=`cd $(srcdir); ${PWD}`; export s; \
5364 $(SET_LIB_PATH) \
5365 for flag in $(EXTRA_HOST_FLAGS); do \
5366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5367 done; \
5368 echo "Doing TAGS in make" ; \
5369 (cd make && \
5370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5372 "RANLIB=$${RANLIB}" \
5373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5374 TAGS) \
5375 || exit 1
5378 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
5379 maybe-TAGS-mmalloc:
5381 TAGS-mmalloc: \
5382 configure-mmalloc
5383 @[ -f ./mmalloc/Makefile ] || exit 0; \
5384 r=`${PWD}`; export r; \
5385 s=`cd $(srcdir); ${PWD}`; export s; \
5386 $(SET_LIB_PATH) \
5387 for flag in $(EXTRA_HOST_FLAGS); do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 done; \
5390 echo "Doing TAGS in mmalloc" ; \
5391 (cd mmalloc && \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5396 TAGS) \
5397 || exit 1
5400 .PHONY: maybe-TAGS-patch TAGS-patch
5401 maybe-TAGS-patch:
5403 TAGS-patch: \
5404 configure-patch
5405 @[ -f ./patch/Makefile ] || exit 0; \
5406 r=`${PWD}`; export r; \
5407 s=`cd $(srcdir); ${PWD}`; export s; \
5408 $(SET_LIB_PATH) \
5409 for flag in $(EXTRA_HOST_FLAGS); do \
5410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5411 done; \
5412 echo "Doing TAGS in patch" ; \
5413 (cd patch && \
5414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5416 "RANLIB=$${RANLIB}" \
5417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5418 TAGS) \
5419 || exit 1
5422 .PHONY: maybe-TAGS-perl TAGS-perl
5423 maybe-TAGS-perl:
5425 TAGS-perl: \
5426 configure-perl
5427 @[ -f ./perl/Makefile ] || exit 0; \
5428 r=`${PWD}`; export r; \
5429 s=`cd $(srcdir); ${PWD}`; export s; \
5430 $(SET_LIB_PATH) \
5431 for flag in $(EXTRA_HOST_FLAGS); do \
5432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5433 done; \
5434 echo "Doing TAGS in perl" ; \
5435 (cd perl && \
5436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5438 "RANLIB=$${RANLIB}" \
5439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5440 TAGS) \
5441 || exit 1
5444 .PHONY: maybe-TAGS-prms TAGS-prms
5445 maybe-TAGS-prms:
5447 TAGS-prms: \
5448 configure-prms
5449 @[ -f ./prms/Makefile ] || exit 0; \
5450 r=`${PWD}`; export r; \
5451 s=`cd $(srcdir); ${PWD}`; export s; \
5452 $(SET_LIB_PATH) \
5453 for flag in $(EXTRA_HOST_FLAGS); do \
5454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 done; \
5456 echo "Doing TAGS in prms" ; \
5457 (cd prms && \
5458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5460 "RANLIB=$${RANLIB}" \
5461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5462 TAGS) \
5463 || exit 1
5466 .PHONY: maybe-TAGS-rcs TAGS-rcs
5467 maybe-TAGS-rcs:
5469 TAGS-rcs: \
5470 configure-rcs
5471 @[ -f ./rcs/Makefile ] || exit 0; \
5472 r=`${PWD}`; export r; \
5473 s=`cd $(srcdir); ${PWD}`; export s; \
5474 $(SET_LIB_PATH) \
5475 for flag in $(EXTRA_HOST_FLAGS); do \
5476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5477 done; \
5478 echo "Doing TAGS in rcs" ; \
5479 (cd rcs && \
5480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5482 "RANLIB=$${RANLIB}" \
5483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5484 TAGS) \
5485 || exit 1
5488 .PHONY: maybe-TAGS-readline TAGS-readline
5489 maybe-TAGS-readline:
5491 TAGS-readline: \
5492 configure-readline
5493 @[ -f ./readline/Makefile ] || exit 0; \
5494 r=`${PWD}`; export r; \
5495 s=`cd $(srcdir); ${PWD}`; export s; \
5496 $(SET_LIB_PATH) \
5497 for flag in $(EXTRA_HOST_FLAGS); do \
5498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5499 done; \
5500 echo "Doing TAGS in readline" ; \
5501 (cd readline && \
5502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5504 "RANLIB=$${RANLIB}" \
5505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5506 TAGS) \
5507 || exit 1
5510 .PHONY: maybe-TAGS-release TAGS-release
5511 maybe-TAGS-release:
5513 TAGS-release: \
5514 configure-release
5515 @[ -f ./release/Makefile ] || exit 0; \
5516 r=`${PWD}`; export r; \
5517 s=`cd $(srcdir); ${PWD}`; export s; \
5518 $(SET_LIB_PATH) \
5519 for flag in $(EXTRA_HOST_FLAGS); do \
5520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5521 done; \
5522 echo "Doing TAGS in release" ; \
5523 (cd release && \
5524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526 "RANLIB=$${RANLIB}" \
5527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5528 TAGS) \
5529 || exit 1
5532 .PHONY: maybe-TAGS-recode TAGS-recode
5533 maybe-TAGS-recode:
5535 TAGS-recode: \
5536 configure-recode
5537 @[ -f ./recode/Makefile ] || exit 0; \
5538 r=`${PWD}`; export r; \
5539 s=`cd $(srcdir); ${PWD}`; export s; \
5540 $(SET_LIB_PATH) \
5541 for flag in $(EXTRA_HOST_FLAGS); do \
5542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5543 done; \
5544 echo "Doing TAGS in recode" ; \
5545 (cd recode && \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548 "RANLIB=$${RANLIB}" \
5549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5550 TAGS) \
5551 || exit 1
5554 .PHONY: maybe-TAGS-sed TAGS-sed
5555 maybe-TAGS-sed:
5557 TAGS-sed: \
5558 configure-sed
5559 @[ -f ./sed/Makefile ] || exit 0; \
5560 r=`${PWD}`; export r; \
5561 s=`cd $(srcdir); ${PWD}`; export s; \
5562 $(SET_LIB_PATH) \
5563 for flag in $(EXTRA_HOST_FLAGS); do \
5564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5565 done; \
5566 echo "Doing TAGS in sed" ; \
5567 (cd sed && \
5568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5570 "RANLIB=$${RANLIB}" \
5571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5572 TAGS) \
5573 || exit 1
5576 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
5577 maybe-TAGS-send-pr:
5579 TAGS-send-pr: \
5580 configure-send-pr
5581 @[ -f ./send-pr/Makefile ] || exit 0; \
5582 r=`${PWD}`; export r; \
5583 s=`cd $(srcdir); ${PWD}`; export s; \
5584 $(SET_LIB_PATH) \
5585 for flag in $(EXTRA_HOST_FLAGS); do \
5586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5587 done; \
5588 echo "Doing TAGS in send-pr" ; \
5589 (cd send-pr && \
5590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5592 "RANLIB=$${RANLIB}" \
5593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5594 TAGS) \
5595 || exit 1
5598 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
5599 maybe-TAGS-shellutils:
5601 TAGS-shellutils: \
5602 configure-shellutils
5603 @[ -f ./shellutils/Makefile ] || exit 0; \
5604 r=`${PWD}`; export r; \
5605 s=`cd $(srcdir); ${PWD}`; export s; \
5606 $(SET_LIB_PATH) \
5607 for flag in $(EXTRA_HOST_FLAGS); do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5609 done; \
5610 echo "Doing TAGS in shellutils" ; \
5611 (cd shellutils && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5616 TAGS) \
5617 || exit 1
5620 .PHONY: maybe-TAGS-sid TAGS-sid
5621 maybe-TAGS-sid:
5623 TAGS-sid: \
5624 configure-sid
5625 @[ -f ./sid/Makefile ] || exit 0; \
5626 r=`${PWD}`; export r; \
5627 s=`cd $(srcdir); ${PWD}`; export s; \
5628 $(SET_LIB_PATH) \
5629 for flag in $(EXTRA_HOST_FLAGS); do \
5630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5631 done; \
5632 echo "Doing TAGS in sid" ; \
5633 (cd sid && \
5634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5636 "RANLIB=$${RANLIB}" \
5637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5638 TAGS) \
5639 || exit 1
5642 .PHONY: maybe-TAGS-sim TAGS-sim
5643 maybe-TAGS-sim:
5645 TAGS-sim: \
5646 configure-sim
5647 @[ -f ./sim/Makefile ] || exit 0; \
5648 r=`${PWD}`; export r; \
5649 s=`cd $(srcdir); ${PWD}`; export s; \
5650 $(SET_LIB_PATH) \
5651 for flag in $(EXTRA_HOST_FLAGS); do \
5652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653 done; \
5654 echo "Doing TAGS in sim" ; \
5655 (cd sim && \
5656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658 "RANLIB=$${RANLIB}" \
5659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5660 TAGS) \
5661 || exit 1
5664 .PHONY: maybe-TAGS-tar TAGS-tar
5665 maybe-TAGS-tar:
5667 TAGS-tar: \
5668 configure-tar
5669 @[ -f ./tar/Makefile ] || exit 0; \
5670 r=`${PWD}`; export r; \
5671 s=`cd $(srcdir); ${PWD}`; export s; \
5672 $(SET_LIB_PATH) \
5673 for flag in $(EXTRA_HOST_FLAGS); do \
5674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5675 done; \
5676 echo "Doing TAGS in tar" ; \
5677 (cd tar && \
5678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5680 "RANLIB=$${RANLIB}" \
5681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5682 TAGS) \
5683 || exit 1
5686 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
5687 maybe-TAGS-texinfo:
5689 TAGS-texinfo: \
5690 configure-texinfo
5691 @[ -f ./texinfo/Makefile ] || exit 0; \
5692 r=`${PWD}`; export r; \
5693 s=`cd $(srcdir); ${PWD}`; export s; \
5694 $(SET_LIB_PATH) \
5695 for flag in $(EXTRA_HOST_FLAGS); do \
5696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5697 done; \
5698 echo "Doing TAGS in texinfo" ; \
5699 (cd texinfo && \
5700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5702 "RANLIB=$${RANLIB}" \
5703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5704 TAGS) \
5705 || exit 1
5708 .PHONY: maybe-TAGS-textutils TAGS-textutils
5709 maybe-TAGS-textutils:
5711 TAGS-textutils: \
5712 configure-textutils
5713 @[ -f ./textutils/Makefile ] || exit 0; \
5714 r=`${PWD}`; export r; \
5715 s=`cd $(srcdir); ${PWD}`; export s; \
5716 $(SET_LIB_PATH) \
5717 for flag in $(EXTRA_HOST_FLAGS); do \
5718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5719 done; \
5720 echo "Doing TAGS in textutils" ; \
5721 (cd textutils && \
5722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5724 "RANLIB=$${RANLIB}" \
5725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5726 TAGS) \
5727 || exit 1
5730 .PHONY: maybe-TAGS-time TAGS-time
5731 maybe-TAGS-time:
5733 TAGS-time: \
5734 configure-time
5735 @[ -f ./time/Makefile ] || exit 0; \
5736 r=`${PWD}`; export r; \
5737 s=`cd $(srcdir); ${PWD}`; export s; \
5738 $(SET_LIB_PATH) \
5739 for flag in $(EXTRA_HOST_FLAGS); do \
5740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5741 done; \
5742 echo "Doing TAGS in time" ; \
5743 (cd time && \
5744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5746 "RANLIB=$${RANLIB}" \
5747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5748 TAGS) \
5749 || exit 1
5752 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
5753 maybe-TAGS-uudecode:
5755 TAGS-uudecode: \
5756 configure-uudecode
5757 @[ -f ./uudecode/Makefile ] || exit 0; \
5758 r=`${PWD}`; export r; \
5759 s=`cd $(srcdir); ${PWD}`; export s; \
5760 $(SET_LIB_PATH) \
5761 for flag in $(EXTRA_HOST_FLAGS); do \
5762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5763 done; \
5764 echo "Doing TAGS in uudecode" ; \
5765 (cd uudecode && \
5766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5768 "RANLIB=$${RANLIB}" \
5769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5770 TAGS) \
5771 || exit 1
5774 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
5775 maybe-TAGS-wdiff:
5777 TAGS-wdiff: \
5778 configure-wdiff
5779 @[ -f ./wdiff/Makefile ] || exit 0; \
5780 r=`${PWD}`; export r; \
5781 s=`cd $(srcdir); ${PWD}`; export s; \
5782 $(SET_LIB_PATH) \
5783 for flag in $(EXTRA_HOST_FLAGS); do \
5784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5785 done; \
5786 echo "Doing TAGS in wdiff" ; \
5787 (cd wdiff && \
5788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5790 "RANLIB=$${RANLIB}" \
5791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5792 TAGS) \
5793 || exit 1
5796 .PHONY: maybe-TAGS-zip TAGS-zip
5797 maybe-TAGS-zip:
5799 TAGS-zip: \
5800 configure-zip
5801 @[ -f ./zip/Makefile ] || exit 0; \
5802 r=`${PWD}`; export r; \
5803 s=`cd $(srcdir); ${PWD}`; export s; \
5804 $(SET_LIB_PATH) \
5805 for flag in $(EXTRA_HOST_FLAGS); do \
5806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5807 done; \
5808 echo "Doing TAGS in zip" ; \
5809 (cd zip && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5812 "RANLIB=$${RANLIB}" \
5813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5814 TAGS) \
5815 || exit 1
5818 .PHONY: maybe-TAGS-zlib TAGS-zlib
5819 maybe-TAGS-zlib:
5821 TAGS-zlib: \
5822 configure-zlib
5823 @[ -f ./zlib/Makefile ] || exit 0; \
5824 r=`${PWD}`; export r; \
5825 s=`cd $(srcdir); ${PWD}`; export s; \
5826 $(SET_LIB_PATH) \
5827 for flag in $(EXTRA_HOST_FLAGS); do \
5828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5829 done; \
5830 echo "Doing TAGS in zlib" ; \
5831 (cd zlib && \
5832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5834 "RANLIB=$${RANLIB}" \
5835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5836 TAGS) \
5837 || exit 1
5840 .PHONY: maybe-TAGS-gdb TAGS-gdb
5841 maybe-TAGS-gdb:
5843 TAGS-gdb: \
5844 configure-gdb
5845 @[ -f ./gdb/Makefile ] || exit 0; \
5846 r=`${PWD}`; export r; \
5847 s=`cd $(srcdir); ${PWD}`; export s; \
5848 $(SET_LIB_PATH) \
5849 for flag in $(EXTRA_HOST_FLAGS); do \
5850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5851 done; \
5852 echo "Doing TAGS in gdb" ; \
5853 (cd gdb && \
5854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5856 "RANLIB=$${RANLIB}" \
5857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5858 TAGS) \
5859 || exit 1
5862 .PHONY: maybe-TAGS-expect TAGS-expect
5863 maybe-TAGS-expect:
5865 TAGS-expect: \
5866 configure-expect
5867 @[ -f ./expect/Makefile ] || exit 0; \
5868 r=`${PWD}`; export r; \
5869 s=`cd $(srcdir); ${PWD}`; export s; \
5870 $(SET_LIB_PATH) \
5871 for flag in $(EXTRA_HOST_FLAGS); do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5873 done; \
5874 echo "Doing TAGS in expect" ; \
5875 (cd expect && \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5880 TAGS) \
5881 || exit 1
5884 .PHONY: maybe-TAGS-guile TAGS-guile
5885 maybe-TAGS-guile:
5887 TAGS-guile: \
5888 configure-guile
5889 @[ -f ./guile/Makefile ] || exit 0; \
5890 r=`${PWD}`; export r; \
5891 s=`cd $(srcdir); ${PWD}`; export s; \
5892 $(SET_LIB_PATH) \
5893 for flag in $(EXTRA_HOST_FLAGS); do \
5894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5895 done; \
5896 echo "Doing TAGS in guile" ; \
5897 (cd guile && \
5898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5900 "RANLIB=$${RANLIB}" \
5901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5902 TAGS) \
5903 || exit 1
5906 .PHONY: maybe-TAGS-tk TAGS-tk
5907 maybe-TAGS-tk:
5909 TAGS-tk: \
5910 configure-tk
5911 @[ -f ./tk/Makefile ] || exit 0; \
5912 r=`${PWD}`; export r; \
5913 s=`cd $(srcdir); ${PWD}`; export s; \
5914 $(SET_LIB_PATH) \
5915 for flag in $(EXTRA_HOST_FLAGS); do \
5916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5917 done; \
5918 echo "Doing TAGS in tk" ; \
5919 (cd tk && \
5920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5922 "RANLIB=$${RANLIB}" \
5923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5924 TAGS) \
5925 || exit 1
5928 .PHONY: maybe-TAGS-tix TAGS-tix
5929 maybe-TAGS-tix:
5931 TAGS-tix: \
5932 configure-tix
5933 @[ -f ./tix/Makefile ] || exit 0; \
5934 r=`${PWD}`; export r; \
5935 s=`cd $(srcdir); ${PWD}`; export s; \
5936 $(SET_LIB_PATH) \
5937 for flag in $(EXTRA_HOST_FLAGS); do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing TAGS in tix" ; \
5941 (cd tix && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5946 TAGS) \
5947 || exit 1
5950 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
5951 maybe-TAGS-libtermcap:
5953 TAGS-libtermcap: \
5954 configure-libtermcap
5955 @[ -f ./libtermcap/Makefile ] || exit 0; \
5956 r=`${PWD}`; export r; \
5957 s=`cd $(srcdir); ${PWD}`; export s; \
5958 $(SET_LIB_PATH) \
5959 for flag in $(EXTRA_HOST_FLAGS); do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961 done; \
5962 echo "Doing TAGS in libtermcap" ; \
5963 (cd libtermcap && \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5968 TAGS) \
5969 || exit 1
5972 .PHONY: maybe-TAGS-utils TAGS-utils
5973 maybe-TAGS-utils:
5975 TAGS-utils: \
5976 configure-utils
5977 @[ -f ./utils/Makefile ] || exit 0; \
5978 r=`${PWD}`; export r; \
5979 s=`cd $(srcdir); ${PWD}`; export s; \
5980 $(SET_LIB_PATH) \
5981 for flag in $(EXTRA_HOST_FLAGS); do \
5982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5983 done; \
5984 echo "Doing TAGS in utils" ; \
5985 (cd utils && \
5986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988 "RANLIB=$${RANLIB}" \
5989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990 TAGS) \
5991 || exit 1
5995 # Target modules.
5997 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
5998 maybe-TAGS-target-libstdc++-v3:
6000 TAGS-target-libstdc++-v3: \
6001 configure-target-libstdc++-v3
6002 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
6003 r=`${PWD}`; export r; \
6004 s=`cd $(srcdir); ${PWD}`; export s; \
6005 $(SET_LIB_PATH) \
6006 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
6007 for flag in $(EXTRA_TARGET_FLAGS); do \
6008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6009 done; \
6010 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
6011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6013 "RANLIB=$${RANLIB}" \
6014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6015 TAGS) \
6016 || exit 1
6019 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
6020 maybe-TAGS-target-newlib:
6022 TAGS-target-newlib: \
6023 configure-target-newlib
6024 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
6025 r=`${PWD}`; export r; \
6026 s=`cd $(srcdir); ${PWD}`; export s; \
6027 $(SET_LIB_PATH) \
6028 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
6029 for flag in $(EXTRA_TARGET_FLAGS); do \
6030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6031 done; \
6032 (cd $(TARGET_SUBDIR)/newlib && \
6033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6035 "RANLIB=$${RANLIB}" \
6036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6037 TAGS) \
6038 || exit 1
6041 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
6042 maybe-TAGS-target-libf2c:
6044 TAGS-target-libf2c: \
6045 configure-target-libf2c
6046 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
6047 r=`${PWD}`; export r; \
6048 s=`cd $(srcdir); ${PWD}`; export s; \
6049 $(SET_LIB_PATH) \
6050 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
6051 for flag in $(EXTRA_TARGET_FLAGS); do \
6052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6053 done; \
6054 (cd $(TARGET_SUBDIR)/libf2c && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6059 TAGS) \
6060 || exit 1
6063 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
6064 maybe-TAGS-target-libobjc:
6066 TAGS-target-libobjc: \
6067 configure-target-libobjc
6068 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
6069 r=`${PWD}`; export r; \
6070 s=`cd $(srcdir); ${PWD}`; export s; \
6071 $(SET_LIB_PATH) \
6072 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
6073 for flag in $(EXTRA_TARGET_FLAGS); do \
6074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6075 done; \
6076 (cd $(TARGET_SUBDIR)/libobjc && \
6077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6079 "RANLIB=$${RANLIB}" \
6080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6081 TAGS) \
6082 || exit 1
6085 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
6086 maybe-TAGS-target-libtermcap:
6088 TAGS-target-libtermcap: \
6089 configure-target-libtermcap
6090 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
6091 r=`${PWD}`; export r; \
6092 s=`cd $(srcdir); ${PWD}`; export s; \
6093 $(SET_LIB_PATH) \
6094 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
6095 for flag in $(EXTRA_TARGET_FLAGS); do \
6096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6097 done; \
6098 (cd $(TARGET_SUBDIR)/libtermcap && \
6099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6101 "RANLIB=$${RANLIB}" \
6102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6103 TAGS) \
6104 || exit 1
6107 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
6108 maybe-TAGS-target-winsup:
6110 TAGS-target-winsup: \
6111 configure-target-winsup
6112 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
6113 r=`${PWD}`; export r; \
6114 s=`cd $(srcdir); ${PWD}`; export s; \
6115 $(SET_LIB_PATH) \
6116 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
6117 for flag in $(EXTRA_TARGET_FLAGS); do \
6118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6119 done; \
6120 (cd $(TARGET_SUBDIR)/winsup && \
6121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6123 "RANLIB=$${RANLIB}" \
6124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6125 TAGS) \
6126 || exit 1
6129 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
6130 maybe-TAGS-target-libgloss:
6132 TAGS-target-libgloss: \
6133 configure-target-libgloss
6134 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
6135 r=`${PWD}`; export r; \
6136 s=`cd $(srcdir); ${PWD}`; export s; \
6137 $(SET_LIB_PATH) \
6138 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
6139 for flag in $(EXTRA_TARGET_FLAGS); do \
6140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6141 done; \
6142 (cd $(TARGET_SUBDIR)/libgloss && \
6143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6145 "RANLIB=$${RANLIB}" \
6146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6147 TAGS) \
6148 || exit 1
6151 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
6152 maybe-TAGS-target-libiberty:
6154 TAGS-target-libiberty: \
6155 configure-target-libiberty
6156 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
6157 r=`${PWD}`; export r; \
6158 s=`cd $(srcdir); ${PWD}`; export s; \
6159 $(SET_LIB_PATH) \
6160 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
6161 for flag in $(EXTRA_TARGET_FLAGS); do \
6162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6163 done; \
6164 (cd $(TARGET_SUBDIR)/libiberty && \
6165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6167 "RANLIB=$${RANLIB}" \
6168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6169 TAGS) \
6170 || exit 1
6173 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6174 maybe-TAGS-target-gperf:
6176 TAGS-target-gperf: \
6177 configure-target-gperf
6178 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
6179 r=`${PWD}`; export r; \
6180 s=`cd $(srcdir); ${PWD}`; export s; \
6181 $(SET_LIB_PATH) \
6182 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
6183 for flag in $(EXTRA_TARGET_FLAGS); do \
6184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6185 done; \
6186 (cd $(TARGET_SUBDIR)/gperf && \
6187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6189 "RANLIB=$${RANLIB}" \
6190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6191 TAGS) \
6192 || exit 1
6195 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
6196 maybe-TAGS-target-examples:
6198 TAGS-target-examples: \
6199 configure-target-examples
6200 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
6201 r=`${PWD}`; export r; \
6202 s=`cd $(srcdir); ${PWD}`; export s; \
6203 $(SET_LIB_PATH) \
6204 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
6205 for flag in $(EXTRA_TARGET_FLAGS); do \
6206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 done; \
6208 (cd $(TARGET_SUBDIR)/examples && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6213 TAGS) \
6214 || exit 1
6217 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
6218 maybe-TAGS-target-libffi:
6220 TAGS-target-libffi: \
6221 configure-target-libffi
6222 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
6223 r=`${PWD}`; export r; \
6224 s=`cd $(srcdir); ${PWD}`; export s; \
6225 $(SET_LIB_PATH) \
6226 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
6227 for flag in $(EXTRA_TARGET_FLAGS); do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 (cd $(TARGET_SUBDIR)/libffi && \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6235 TAGS) \
6236 || exit 1
6239 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
6240 maybe-TAGS-target-libjava:
6242 TAGS-target-libjava: \
6243 configure-target-libjava
6244 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
6245 r=`${PWD}`; export r; \
6246 s=`cd $(srcdir); ${PWD}`; export s; \
6247 $(SET_LIB_PATH) \
6248 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
6249 for flag in $(EXTRA_TARGET_FLAGS); do \
6250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6251 done; \
6252 (cd $(TARGET_SUBDIR)/libjava && \
6253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6255 "RANLIB=$${RANLIB}" \
6256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6257 TAGS) \
6258 || exit 1
6261 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
6262 maybe-TAGS-target-zlib:
6264 TAGS-target-zlib: \
6265 configure-target-zlib
6266 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
6267 r=`${PWD}`; export r; \
6268 s=`cd $(srcdir); ${PWD}`; export s; \
6269 $(SET_LIB_PATH) \
6270 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
6271 for flag in $(EXTRA_TARGET_FLAGS); do \
6272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6273 done; \
6274 (cd $(TARGET_SUBDIR)/zlib && \
6275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6277 "RANLIB=$${RANLIB}" \
6278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6279 TAGS) \
6280 || exit 1
6283 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
6284 maybe-TAGS-target-boehm-gc:
6286 TAGS-target-boehm-gc: \
6287 configure-target-boehm-gc
6288 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
6289 r=`${PWD}`; export r; \
6290 s=`cd $(srcdir); ${PWD}`; export s; \
6291 $(SET_LIB_PATH) \
6292 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
6293 for flag in $(EXTRA_TARGET_FLAGS); do \
6294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6295 done; \
6296 (cd $(TARGET_SUBDIR)/boehm-gc && \
6297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6299 "RANLIB=$${RANLIB}" \
6300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6301 TAGS) \
6302 || exit 1
6305 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
6306 maybe-TAGS-target-qthreads:
6308 TAGS-target-qthreads: \
6309 configure-target-qthreads
6310 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
6311 r=`${PWD}`; export r; \
6312 s=`cd $(srcdir); ${PWD}`; export s; \
6313 $(SET_LIB_PATH) \
6314 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
6315 for flag in $(EXTRA_TARGET_FLAGS); do \
6316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6317 done; \
6318 (cd $(TARGET_SUBDIR)/qthreads && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 TAGS) \
6324 || exit 1
6327 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
6328 maybe-TAGS-target-rda:
6330 TAGS-target-rda: \
6331 configure-target-rda
6332 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
6333 r=`${PWD}`; export r; \
6334 s=`cd $(srcdir); ${PWD}`; export s; \
6335 $(SET_LIB_PATH) \
6336 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
6337 for flag in $(EXTRA_TARGET_FLAGS); do \
6338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6339 done; \
6340 (cd $(TARGET_SUBDIR)/rda && \
6341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6343 "RANLIB=$${RANLIB}" \
6344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6345 TAGS) \
6346 || exit 1
6350 .PHONY: do-install-info
6351 do-install-info: install-info-host install-info-target
6353 .PHONY: install-info-host
6354 install-info-host: maybe-install-info-gcc \
6355 maybe-install-info-ash \
6356 maybe-install-info-autoconf \
6357 maybe-install-info-automake \
6358 maybe-install-info-bash \
6359 maybe-install-info-bfd \
6360 maybe-install-info-opcodes \
6361 maybe-install-info-binutils \
6362 maybe-install-info-bison \
6363 maybe-install-info-byacc \
6364 maybe-install-info-bzip2 \
6365 maybe-install-info-dejagnu \
6366 maybe-install-info-diff \
6367 maybe-install-info-dosutils \
6368 maybe-install-info-etc \
6369 maybe-install-info-fastjar \
6370 maybe-install-info-fileutils \
6371 maybe-install-info-findutils \
6372 maybe-install-info-find \
6373 maybe-install-info-flex \
6374 maybe-install-info-gas \
6375 maybe-install-info-gawk \
6376 maybe-install-info-gettext \
6377 maybe-install-info-gnuserv \
6378 maybe-install-info-gprof \
6379 maybe-install-info-gzip \
6380 maybe-install-info-hello \
6381 maybe-install-info-indent \
6382 maybe-install-info-intl \
6383 maybe-install-info-tcl \
6384 maybe-install-info-itcl \
6385 maybe-install-info-ld \
6386 maybe-install-info-libgui \
6387 maybe-install-info-libiberty \
6388 maybe-install-info-libtool \
6389 maybe-install-info-m4 \
6390 maybe-install-info-make \
6391 maybe-install-info-mmalloc \
6392 maybe-install-info-patch \
6393 maybe-install-info-perl \
6394 maybe-install-info-prms \
6395 maybe-install-info-rcs \
6396 maybe-install-info-readline \
6397 maybe-install-info-release \
6398 maybe-install-info-recode \
6399 maybe-install-info-sed \
6400 maybe-install-info-send-pr \
6401 maybe-install-info-shellutils \
6402 maybe-install-info-sid \
6403 maybe-install-info-sim \
6404 maybe-install-info-tar \
6405 maybe-install-info-texinfo \
6406 maybe-install-info-textutils \
6407 maybe-install-info-time \
6408 maybe-install-info-uudecode \
6409 maybe-install-info-wdiff \
6410 maybe-install-info-zip \
6411 maybe-install-info-zlib \
6412 maybe-install-info-gdb \
6413 maybe-install-info-expect \
6414 maybe-install-info-guile \
6415 maybe-install-info-tk \
6416 maybe-install-info-tix \
6417 maybe-install-info-libtermcap \
6418 maybe-install-info-utils
6420 .PHONY: install-info-target
6421 install-info-target: \
6422 maybe-install-info-target-libstdc++-v3 \
6423 maybe-install-info-target-newlib \
6424 maybe-install-info-target-libf2c \
6425 maybe-install-info-target-libobjc \
6426 maybe-install-info-target-libtermcap \
6427 maybe-install-info-target-winsup \
6428 maybe-install-info-target-libgloss \
6429 maybe-install-info-target-libiberty \
6430 maybe-install-info-target-gperf \
6431 maybe-install-info-target-examples \
6432 maybe-install-info-target-libffi \
6433 maybe-install-info-target-libjava \
6434 maybe-install-info-target-zlib \
6435 maybe-install-info-target-boehm-gc \
6436 maybe-install-info-target-qthreads \
6437 maybe-install-info-target-rda
6439 # GCC, the eternal special case
6440 .PHONY: maybe-install-info-gcc install-info-gcc
6441 maybe-install-info-gcc:
6442 install-info-gcc: \
6443 configure-gcc \
6444 info-gcc
6445 @[ -f ./gcc/Makefile ] || exit 0; \
6446 r=`${PWD}`; export r; \
6447 s=`cd $(srcdir); ${PWD}`; export s; \
6448 $(SET_LIB_PATH) \
6449 for flag in $(EXTRA_GCC_FLAGS); do \
6450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6451 done; \
6452 echo "Doing install-info in gcc" ; \
6453 (cd gcc && \
6454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6456 "RANLIB=$${RANLIB}" \
6457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6458 install-info) \
6459 || exit 1
6461 # Host modules.
6463 .PHONY: maybe-install-info-ash install-info-ash
6464 maybe-install-info-ash:
6466 install-info-ash: \
6467 configure-ash \
6468 info-ash
6469 @[ -f ./ash/Makefile ] || exit 0; \
6470 r=`${PWD}`; export r; \
6471 s=`cd $(srcdir); ${PWD}`; export s; \
6472 $(SET_LIB_PATH) \
6473 for flag in $(EXTRA_HOST_FLAGS); do \
6474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6475 done; \
6476 echo "Doing install-info in ash" ; \
6477 (cd ash && \
6478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6480 "RANLIB=$${RANLIB}" \
6481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6482 install-info) \
6483 || exit 1
6486 .PHONY: maybe-install-info-autoconf install-info-autoconf
6487 maybe-install-info-autoconf:
6489 install-info-autoconf: \
6490 configure-autoconf \
6491 info-autoconf
6492 @[ -f ./autoconf/Makefile ] || exit 0; \
6493 r=`${PWD}`; export r; \
6494 s=`cd $(srcdir); ${PWD}`; export s; \
6495 $(SET_LIB_PATH) \
6496 for flag in $(EXTRA_HOST_FLAGS); do \
6497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6498 done; \
6499 echo "Doing install-info in autoconf" ; \
6500 (cd autoconf && \
6501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6503 "RANLIB=$${RANLIB}" \
6504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6505 install-info) \
6506 || exit 1
6509 .PHONY: maybe-install-info-automake install-info-automake
6510 maybe-install-info-automake:
6512 install-info-automake: \
6513 configure-automake \
6514 info-automake
6515 @[ -f ./automake/Makefile ] || exit 0; \
6516 r=`${PWD}`; export r; \
6517 s=`cd $(srcdir); ${PWD}`; export s; \
6518 $(SET_LIB_PATH) \
6519 for flag in $(EXTRA_HOST_FLAGS); do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6521 done; \
6522 echo "Doing install-info in automake" ; \
6523 (cd automake && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6528 install-info) \
6529 || exit 1
6532 .PHONY: maybe-install-info-bash install-info-bash
6533 maybe-install-info-bash:
6535 install-info-bash: \
6536 configure-bash \
6537 info-bash
6538 @[ -f ./bash/Makefile ] || exit 0; \
6539 r=`${PWD}`; export r; \
6540 s=`cd $(srcdir); ${PWD}`; export s; \
6541 $(SET_LIB_PATH) \
6542 for flag in $(EXTRA_HOST_FLAGS); do \
6543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6544 done; \
6545 echo "Doing install-info in bash" ; \
6546 (cd bash && \
6547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6549 "RANLIB=$${RANLIB}" \
6550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6551 install-info) \
6552 || exit 1
6555 .PHONY: maybe-install-info-bfd install-info-bfd
6556 maybe-install-info-bfd:
6558 install-info-bfd: \
6559 configure-bfd \
6560 info-bfd
6561 @[ -f ./bfd/Makefile ] || exit 0; \
6562 r=`${PWD}`; export r; \
6563 s=`cd $(srcdir); ${PWD}`; export s; \
6564 $(SET_LIB_PATH) \
6565 for flag in $(EXTRA_HOST_FLAGS); do \
6566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6567 done; \
6568 echo "Doing install-info in bfd" ; \
6569 (cd bfd && \
6570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6572 "RANLIB=$${RANLIB}" \
6573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6574 install-info) \
6575 || exit 1
6578 .PHONY: maybe-install-info-opcodes install-info-opcodes
6579 maybe-install-info-opcodes:
6581 install-info-opcodes: \
6582 configure-opcodes \
6583 info-opcodes
6584 @[ -f ./opcodes/Makefile ] || exit 0; \
6585 r=`${PWD}`; export r; \
6586 s=`cd $(srcdir); ${PWD}`; export s; \
6587 $(SET_LIB_PATH) \
6588 for flag in $(EXTRA_HOST_FLAGS); do \
6589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6590 done; \
6591 echo "Doing install-info in opcodes" ; \
6592 (cd opcodes && \
6593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6595 "RANLIB=$${RANLIB}" \
6596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6597 install-info) \
6598 || exit 1
6601 .PHONY: maybe-install-info-binutils install-info-binutils
6602 maybe-install-info-binutils:
6604 install-info-binutils: \
6605 configure-binutils \
6606 info-binutils
6607 @[ -f ./binutils/Makefile ] || exit 0; \
6608 r=`${PWD}`; export r; \
6609 s=`cd $(srcdir); ${PWD}`; export s; \
6610 $(SET_LIB_PATH) \
6611 for flag in $(EXTRA_HOST_FLAGS); do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing install-info in binutils" ; \
6615 (cd binutils && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6620 install-info) \
6621 || exit 1
6624 .PHONY: maybe-install-info-bison install-info-bison
6625 maybe-install-info-bison:
6627 install-info-bison: \
6628 configure-bison \
6629 info-bison
6630 @[ -f ./bison/Makefile ] || exit 0; \
6631 r=`${PWD}`; export r; \
6632 s=`cd $(srcdir); ${PWD}`; export s; \
6633 $(SET_LIB_PATH) \
6634 for flag in $(EXTRA_HOST_FLAGS); do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing install-info in bison" ; \
6638 (cd bison && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6643 install-info) \
6644 || exit 1
6647 .PHONY: maybe-install-info-byacc install-info-byacc
6648 maybe-install-info-byacc:
6650 install-info-byacc: \
6651 configure-byacc \
6652 info-byacc
6653 @[ -f ./byacc/Makefile ] || exit 0; \
6654 r=`${PWD}`; export r; \
6655 s=`cd $(srcdir); ${PWD}`; export s; \
6656 $(SET_LIB_PATH) \
6657 for flag in $(EXTRA_HOST_FLAGS); do \
6658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6659 done; \
6660 echo "Doing install-info in byacc" ; \
6661 (cd byacc && \
6662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6664 "RANLIB=$${RANLIB}" \
6665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6666 install-info) \
6667 || exit 1
6670 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6671 maybe-install-info-bzip2:
6673 install-info-bzip2: \
6674 configure-bzip2 \
6675 info-bzip2
6676 @[ -f ./bzip2/Makefile ] || exit 0; \
6677 r=`${PWD}`; export r; \
6678 s=`cd $(srcdir); ${PWD}`; export s; \
6679 $(SET_LIB_PATH) \
6680 for flag in $(EXTRA_HOST_FLAGS); do \
6681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6682 done; \
6683 echo "Doing install-info in bzip2" ; \
6684 (cd bzip2 && \
6685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6687 "RANLIB=$${RANLIB}" \
6688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6689 install-info) \
6690 || exit 1
6693 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6694 maybe-install-info-dejagnu:
6696 install-info-dejagnu: \
6697 configure-dejagnu \
6698 info-dejagnu
6699 @[ -f ./dejagnu/Makefile ] || exit 0; \
6700 r=`${PWD}`; export r; \
6701 s=`cd $(srcdir); ${PWD}`; export s; \
6702 $(SET_LIB_PATH) \
6703 for flag in $(EXTRA_HOST_FLAGS); do \
6704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6705 done; \
6706 echo "Doing install-info in dejagnu" ; \
6707 (cd dejagnu && \
6708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6710 "RANLIB=$${RANLIB}" \
6711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6712 install-info) \
6713 || exit 1
6716 .PHONY: maybe-install-info-diff install-info-diff
6717 maybe-install-info-diff:
6719 install-info-diff: \
6720 configure-diff \
6721 info-diff
6722 @[ -f ./diff/Makefile ] || exit 0; \
6723 r=`${PWD}`; export r; \
6724 s=`cd $(srcdir); ${PWD}`; export s; \
6725 $(SET_LIB_PATH) \
6726 for flag in $(EXTRA_HOST_FLAGS); do \
6727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6728 done; \
6729 echo "Doing install-info in diff" ; \
6730 (cd diff && \
6731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6733 "RANLIB=$${RANLIB}" \
6734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6735 install-info) \
6736 || exit 1
6739 .PHONY: maybe-install-info-dosutils install-info-dosutils
6740 maybe-install-info-dosutils:
6742 install-info-dosutils: \
6743 configure-dosutils \
6744 info-dosutils
6745 @[ -f ./dosutils/Makefile ] || exit 0; \
6746 r=`${PWD}`; export r; \
6747 s=`cd $(srcdir); ${PWD}`; export s; \
6748 $(SET_LIB_PATH) \
6749 for flag in $(EXTRA_HOST_FLAGS); do \
6750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6751 done; \
6752 echo "Doing install-info in dosutils" ; \
6753 (cd dosutils && \
6754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6756 "RANLIB=$${RANLIB}" \
6757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6758 install-info) \
6759 || exit 1
6762 .PHONY: maybe-install-info-etc install-info-etc
6763 maybe-install-info-etc:
6765 install-info-etc: \
6766 configure-etc \
6767 info-etc
6768 @[ -f ./etc/Makefile ] || exit 0; \
6769 r=`${PWD}`; export r; \
6770 s=`cd $(srcdir); ${PWD}`; export s; \
6771 $(SET_LIB_PATH) \
6772 for flag in $(EXTRA_HOST_FLAGS); do \
6773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6774 done; \
6775 echo "Doing install-info in etc" ; \
6776 (cd etc && \
6777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6779 "RANLIB=$${RANLIB}" \
6780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6781 install-info) \
6782 || exit 1
6785 .PHONY: maybe-install-info-fastjar install-info-fastjar
6786 maybe-install-info-fastjar:
6788 install-info-fastjar: \
6789 configure-fastjar \
6790 info-fastjar
6791 @[ -f ./fastjar/Makefile ] || exit 0; \
6792 r=`${PWD}`; export r; \
6793 s=`cd $(srcdir); ${PWD}`; export s; \
6794 $(SET_LIB_PATH) \
6795 for flag in $(EXTRA_HOST_FLAGS); do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing install-info in fastjar" ; \
6799 (cd fastjar && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6804 install-info) \
6805 || exit 1
6808 .PHONY: maybe-install-info-fileutils install-info-fileutils
6809 maybe-install-info-fileutils:
6811 install-info-fileutils: \
6812 configure-fileutils \
6813 info-fileutils
6814 @[ -f ./fileutils/Makefile ] || exit 0; \
6815 r=`${PWD}`; export r; \
6816 s=`cd $(srcdir); ${PWD}`; export s; \
6817 $(SET_LIB_PATH) \
6818 for flag in $(EXTRA_HOST_FLAGS); do \
6819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6820 done; \
6821 echo "Doing install-info in fileutils" ; \
6822 (cd fileutils && \
6823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6825 "RANLIB=$${RANLIB}" \
6826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6827 install-info) \
6828 || exit 1
6831 .PHONY: maybe-install-info-findutils install-info-findutils
6832 maybe-install-info-findutils:
6834 install-info-findutils: \
6835 configure-findutils \
6836 info-findutils
6837 @[ -f ./findutils/Makefile ] || exit 0; \
6838 r=`${PWD}`; export r; \
6839 s=`cd $(srcdir); ${PWD}`; export s; \
6840 $(SET_LIB_PATH) \
6841 for flag in $(EXTRA_HOST_FLAGS); do \
6842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6843 done; \
6844 echo "Doing install-info in findutils" ; \
6845 (cd findutils && \
6846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6848 "RANLIB=$${RANLIB}" \
6849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6850 install-info) \
6851 || exit 1
6854 .PHONY: maybe-install-info-find install-info-find
6855 maybe-install-info-find:
6857 install-info-find: \
6858 configure-find \
6859 info-find
6860 @[ -f ./find/Makefile ] || exit 0; \
6861 r=`${PWD}`; export r; \
6862 s=`cd $(srcdir); ${PWD}`; export s; \
6863 $(SET_LIB_PATH) \
6864 for flag in $(EXTRA_HOST_FLAGS); do \
6865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6866 done; \
6867 echo "Doing install-info in find" ; \
6868 (cd find && \
6869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6871 "RANLIB=$${RANLIB}" \
6872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6873 install-info) \
6874 || exit 1
6877 .PHONY: maybe-install-info-flex install-info-flex
6878 maybe-install-info-flex:
6880 install-info-flex: \
6881 configure-flex \
6882 info-flex
6883 @[ -f ./flex/Makefile ] || exit 0; \
6884 r=`${PWD}`; export r; \
6885 s=`cd $(srcdir); ${PWD}`; export s; \
6886 $(SET_LIB_PATH) \
6887 for flag in $(EXTRA_HOST_FLAGS); do \
6888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6889 done; \
6890 echo "Doing install-info in flex" ; \
6891 (cd flex && \
6892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6894 "RANLIB=$${RANLIB}" \
6895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 install-info) \
6897 || exit 1
6900 .PHONY: maybe-install-info-gas install-info-gas
6901 maybe-install-info-gas:
6903 install-info-gas: \
6904 configure-gas \
6905 info-gas
6906 @[ -f ./gas/Makefile ] || exit 0; \
6907 r=`${PWD}`; export r; \
6908 s=`cd $(srcdir); ${PWD}`; export s; \
6909 $(SET_LIB_PATH) \
6910 for flag in $(EXTRA_HOST_FLAGS); do \
6911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6912 done; \
6913 echo "Doing install-info in gas" ; \
6914 (cd gas && \
6915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6917 "RANLIB=$${RANLIB}" \
6918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6919 install-info) \
6920 || exit 1
6923 .PHONY: maybe-install-info-gawk install-info-gawk
6924 maybe-install-info-gawk:
6926 install-info-gawk: \
6927 configure-gawk \
6928 info-gawk
6929 @[ -f ./gawk/Makefile ] || exit 0; \
6930 r=`${PWD}`; export r; \
6931 s=`cd $(srcdir); ${PWD}`; export s; \
6932 $(SET_LIB_PATH) \
6933 for flag in $(EXTRA_HOST_FLAGS); do \
6934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6935 done; \
6936 echo "Doing install-info in gawk" ; \
6937 (cd gawk && \
6938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6940 "RANLIB=$${RANLIB}" \
6941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6942 install-info) \
6943 || exit 1
6946 .PHONY: maybe-install-info-gettext install-info-gettext
6947 maybe-install-info-gettext:
6949 install-info-gettext: \
6950 configure-gettext \
6951 info-gettext
6952 @[ -f ./gettext/Makefile ] || exit 0; \
6953 r=`${PWD}`; export r; \
6954 s=`cd $(srcdir); ${PWD}`; export s; \
6955 $(SET_LIB_PATH) \
6956 for flag in $(EXTRA_HOST_FLAGS); do \
6957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6958 done; \
6959 echo "Doing install-info in gettext" ; \
6960 (cd gettext && \
6961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6963 "RANLIB=$${RANLIB}" \
6964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6965 install-info) \
6966 || exit 1
6969 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
6970 maybe-install-info-gnuserv:
6972 install-info-gnuserv: \
6973 configure-gnuserv \
6974 info-gnuserv
6975 @[ -f ./gnuserv/Makefile ] || exit 0; \
6976 r=`${PWD}`; export r; \
6977 s=`cd $(srcdir); ${PWD}`; export s; \
6978 $(SET_LIB_PATH) \
6979 for flag in $(EXTRA_HOST_FLAGS); do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6981 done; \
6982 echo "Doing install-info in gnuserv" ; \
6983 (cd gnuserv && \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6988 install-info) \
6989 || exit 1
6992 .PHONY: maybe-install-info-gprof install-info-gprof
6993 maybe-install-info-gprof:
6995 install-info-gprof: \
6996 configure-gprof \
6997 info-gprof
6998 @[ -f ./gprof/Makefile ] || exit 0; \
6999 r=`${PWD}`; export r; \
7000 s=`cd $(srcdir); ${PWD}`; export s; \
7001 $(SET_LIB_PATH) \
7002 for flag in $(EXTRA_HOST_FLAGS); do \
7003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7004 done; \
7005 echo "Doing install-info in gprof" ; \
7006 (cd gprof && \
7007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7009 "RANLIB=$${RANLIB}" \
7010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7011 install-info) \
7012 || exit 1
7015 .PHONY: maybe-install-info-gzip install-info-gzip
7016 maybe-install-info-gzip:
7018 install-info-gzip: \
7019 configure-gzip \
7020 info-gzip
7021 @[ -f ./gzip/Makefile ] || exit 0; \
7022 r=`${PWD}`; export r; \
7023 s=`cd $(srcdir); ${PWD}`; export s; \
7024 $(SET_LIB_PATH) \
7025 for flag in $(EXTRA_HOST_FLAGS); do \
7026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7027 done; \
7028 echo "Doing install-info in gzip" ; \
7029 (cd gzip && \
7030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7032 "RANLIB=$${RANLIB}" \
7033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7034 install-info) \
7035 || exit 1
7038 .PHONY: maybe-install-info-hello install-info-hello
7039 maybe-install-info-hello:
7041 install-info-hello: \
7042 configure-hello \
7043 info-hello
7044 @[ -f ./hello/Makefile ] || exit 0; \
7045 r=`${PWD}`; export r; \
7046 s=`cd $(srcdir); ${PWD}`; export s; \
7047 $(SET_LIB_PATH) \
7048 for flag in $(EXTRA_HOST_FLAGS); do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050 done; \
7051 echo "Doing install-info in hello" ; \
7052 (cd hello && \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7057 install-info) \
7058 || exit 1
7061 .PHONY: maybe-install-info-indent install-info-indent
7062 maybe-install-info-indent:
7064 install-info-indent: \
7065 configure-indent \
7066 info-indent
7067 @[ -f ./indent/Makefile ] || exit 0; \
7068 r=`${PWD}`; export r; \
7069 s=`cd $(srcdir); ${PWD}`; export s; \
7070 $(SET_LIB_PATH) \
7071 for flag in $(EXTRA_HOST_FLAGS); do \
7072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 done; \
7074 echo "Doing install-info in indent" ; \
7075 (cd indent && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7078 "RANLIB=$${RANLIB}" \
7079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7080 install-info) \
7081 || exit 1
7084 .PHONY: maybe-install-info-intl install-info-intl
7085 maybe-install-info-intl:
7087 install-info-intl: \
7088 configure-intl \
7089 info-intl
7090 @[ -f ./intl/Makefile ] || exit 0; \
7091 r=`${PWD}`; export r; \
7092 s=`cd $(srcdir); ${PWD}`; export s; \
7093 $(SET_LIB_PATH) \
7094 for flag in $(EXTRA_HOST_FLAGS); do \
7095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7096 done; \
7097 echo "Doing install-info in intl" ; \
7098 (cd intl && \
7099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7101 "RANLIB=$${RANLIB}" \
7102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7103 install-info) \
7104 || exit 1
7107 .PHONY: maybe-install-info-tcl install-info-tcl
7108 maybe-install-info-tcl:
7110 install-info-tcl: \
7111 configure-tcl \
7112 info-tcl
7113 @[ -f ./tcl/Makefile ] || exit 0; \
7114 r=`${PWD}`; export r; \
7115 s=`cd $(srcdir); ${PWD}`; export s; \
7116 $(SET_LIB_PATH) \
7117 for flag in $(EXTRA_HOST_FLAGS); do \
7118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7119 done; \
7120 echo "Doing install-info in tcl" ; \
7121 (cd tcl && \
7122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7124 "RANLIB=$${RANLIB}" \
7125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7126 install-info) \
7127 || exit 1
7130 .PHONY: maybe-install-info-itcl install-info-itcl
7131 maybe-install-info-itcl:
7133 install-info-itcl: \
7134 configure-itcl \
7135 info-itcl
7136 @[ -f ./itcl/Makefile ] || exit 0; \
7137 r=`${PWD}`; export r; \
7138 s=`cd $(srcdir); ${PWD}`; export s; \
7139 $(SET_LIB_PATH) \
7140 for flag in $(EXTRA_HOST_FLAGS); do \
7141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7142 done; \
7143 echo "Doing install-info in itcl" ; \
7144 (cd itcl && \
7145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7147 "RANLIB=$${RANLIB}" \
7148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7149 install-info) \
7150 || exit 1
7153 .PHONY: maybe-install-info-ld install-info-ld
7154 maybe-install-info-ld:
7156 install-info-ld: \
7157 configure-ld \
7158 info-ld
7159 @[ -f ./ld/Makefile ] || exit 0; \
7160 r=`${PWD}`; export r; \
7161 s=`cd $(srcdir); ${PWD}`; export s; \
7162 $(SET_LIB_PATH) \
7163 for flag in $(EXTRA_HOST_FLAGS); do \
7164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7165 done; \
7166 echo "Doing install-info in ld" ; \
7167 (cd ld && \
7168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7170 "RANLIB=$${RANLIB}" \
7171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7172 install-info) \
7173 || exit 1
7176 .PHONY: maybe-install-info-libgui install-info-libgui
7177 maybe-install-info-libgui:
7179 install-info-libgui: \
7180 configure-libgui \
7181 info-libgui
7182 @[ -f ./libgui/Makefile ] || exit 0; \
7183 r=`${PWD}`; export r; \
7184 s=`cd $(srcdir); ${PWD}`; export s; \
7185 $(SET_LIB_PATH) \
7186 for flag in $(EXTRA_HOST_FLAGS); do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7188 done; \
7189 echo "Doing install-info in libgui" ; \
7190 (cd libgui && \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7195 install-info) \
7196 || exit 1
7199 .PHONY: maybe-install-info-libiberty install-info-libiberty
7200 maybe-install-info-libiberty:
7202 install-info-libiberty: \
7203 configure-libiberty \
7204 info-libiberty
7205 @[ -f ./libiberty/Makefile ] || exit 0; \
7206 r=`${PWD}`; export r; \
7207 s=`cd $(srcdir); ${PWD}`; export s; \
7208 $(SET_LIB_PATH) \
7209 for flag in $(EXTRA_HOST_FLAGS); do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing install-info in libiberty" ; \
7213 (cd libiberty && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7218 install-info) \
7219 || exit 1
7222 .PHONY: maybe-install-info-libtool install-info-libtool
7223 maybe-install-info-libtool:
7225 install-info-libtool: \
7226 configure-libtool \
7227 info-libtool
7228 @[ -f ./libtool/Makefile ] || exit 0; \
7229 r=`${PWD}`; export r; \
7230 s=`cd $(srcdir); ${PWD}`; export s; \
7231 $(SET_LIB_PATH) \
7232 for flag in $(EXTRA_HOST_FLAGS); do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing install-info in libtool" ; \
7236 (cd libtool && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7241 install-info) \
7242 || exit 1
7245 .PHONY: maybe-install-info-m4 install-info-m4
7246 maybe-install-info-m4:
7248 install-info-m4: \
7249 configure-m4 \
7250 info-m4
7251 @[ -f ./m4/Makefile ] || exit 0; \
7252 r=`${PWD}`; export r; \
7253 s=`cd $(srcdir); ${PWD}`; export s; \
7254 $(SET_LIB_PATH) \
7255 for flag in $(EXTRA_HOST_FLAGS); do \
7256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7257 done; \
7258 echo "Doing install-info in m4" ; \
7259 (cd m4 && \
7260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7262 "RANLIB=$${RANLIB}" \
7263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7264 install-info) \
7265 || exit 1
7268 .PHONY: maybe-install-info-make install-info-make
7269 maybe-install-info-make:
7271 install-info-make: \
7272 configure-make \
7273 info-make
7274 @[ -f ./make/Makefile ] || exit 0; \
7275 r=`${PWD}`; export r; \
7276 s=`cd $(srcdir); ${PWD}`; export s; \
7277 $(SET_LIB_PATH) \
7278 for flag in $(EXTRA_HOST_FLAGS); do \
7279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7280 done; \
7281 echo "Doing install-info in make" ; \
7282 (cd make && \
7283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7285 "RANLIB=$${RANLIB}" \
7286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7287 install-info) \
7288 || exit 1
7291 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
7292 maybe-install-info-mmalloc:
7294 install-info-mmalloc: \
7295 configure-mmalloc \
7296 info-mmalloc
7297 @[ -f ./mmalloc/Makefile ] || exit 0; \
7298 r=`${PWD}`; export r; \
7299 s=`cd $(srcdir); ${PWD}`; export s; \
7300 $(SET_LIB_PATH) \
7301 for flag in $(EXTRA_HOST_FLAGS); do \
7302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7303 done; \
7304 echo "Doing install-info in mmalloc" ; \
7305 (cd mmalloc && \
7306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7308 "RANLIB=$${RANLIB}" \
7309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7310 install-info) \
7311 || exit 1
7314 .PHONY: maybe-install-info-patch install-info-patch
7315 maybe-install-info-patch:
7317 install-info-patch: \
7318 configure-patch \
7319 info-patch
7320 @[ -f ./patch/Makefile ] || exit 0; \
7321 r=`${PWD}`; export r; \
7322 s=`cd $(srcdir); ${PWD}`; export s; \
7323 $(SET_LIB_PATH) \
7324 for flag in $(EXTRA_HOST_FLAGS); do \
7325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7326 done; \
7327 echo "Doing install-info in patch" ; \
7328 (cd patch && \
7329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7331 "RANLIB=$${RANLIB}" \
7332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7333 install-info) \
7334 || exit 1
7337 .PHONY: maybe-install-info-perl install-info-perl
7338 maybe-install-info-perl:
7340 install-info-perl: \
7341 configure-perl \
7342 info-perl
7343 @[ -f ./perl/Makefile ] || exit 0; \
7344 r=`${PWD}`; export r; \
7345 s=`cd $(srcdir); ${PWD}`; export s; \
7346 $(SET_LIB_PATH) \
7347 for flag in $(EXTRA_HOST_FLAGS); do \
7348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7349 done; \
7350 echo "Doing install-info in perl" ; \
7351 (cd perl && \
7352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7354 "RANLIB=$${RANLIB}" \
7355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7356 install-info) \
7357 || exit 1
7360 .PHONY: maybe-install-info-prms install-info-prms
7361 maybe-install-info-prms:
7363 install-info-prms: \
7364 configure-prms \
7365 info-prms
7366 @[ -f ./prms/Makefile ] || exit 0; \
7367 r=`${PWD}`; export r; \
7368 s=`cd $(srcdir); ${PWD}`; export s; \
7369 $(SET_LIB_PATH) \
7370 for flag in $(EXTRA_HOST_FLAGS); do \
7371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7372 done; \
7373 echo "Doing install-info in prms" ; \
7374 (cd prms && \
7375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7377 "RANLIB=$${RANLIB}" \
7378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7379 install-info) \
7380 || exit 1
7383 .PHONY: maybe-install-info-rcs install-info-rcs
7384 maybe-install-info-rcs:
7386 install-info-rcs: \
7387 configure-rcs \
7388 info-rcs
7389 @[ -f ./rcs/Makefile ] || exit 0; \
7390 r=`${PWD}`; export r; \
7391 s=`cd $(srcdir); ${PWD}`; export s; \
7392 $(SET_LIB_PATH) \
7393 for flag in $(EXTRA_HOST_FLAGS); do \
7394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7395 done; \
7396 echo "Doing install-info in rcs" ; \
7397 (cd rcs && \
7398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7400 "RANLIB=$${RANLIB}" \
7401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7402 install-info) \
7403 || exit 1
7406 .PHONY: maybe-install-info-readline install-info-readline
7407 maybe-install-info-readline:
7409 install-info-readline: \
7410 configure-readline \
7411 info-readline
7412 @[ -f ./readline/Makefile ] || exit 0; \
7413 r=`${PWD}`; export r; \
7414 s=`cd $(srcdir); ${PWD}`; export s; \
7415 $(SET_LIB_PATH) \
7416 for flag in $(EXTRA_HOST_FLAGS); do \
7417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7418 done; \
7419 echo "Doing install-info in readline" ; \
7420 (cd readline && \
7421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7423 "RANLIB=$${RANLIB}" \
7424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7425 install-info) \
7426 || exit 1
7429 .PHONY: maybe-install-info-release install-info-release
7430 maybe-install-info-release:
7432 install-info-release: \
7433 configure-release \
7434 info-release
7435 @[ -f ./release/Makefile ] || exit 0; \
7436 r=`${PWD}`; export r; \
7437 s=`cd $(srcdir); ${PWD}`; export s; \
7438 $(SET_LIB_PATH) \
7439 for flag in $(EXTRA_HOST_FLAGS); do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing install-info in release" ; \
7443 (cd release && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 install-info) \
7449 || exit 1
7452 .PHONY: maybe-install-info-recode install-info-recode
7453 maybe-install-info-recode:
7455 install-info-recode: \
7456 configure-recode \
7457 info-recode
7458 @[ -f ./recode/Makefile ] || exit 0; \
7459 r=`${PWD}`; export r; \
7460 s=`cd $(srcdir); ${PWD}`; export s; \
7461 $(SET_LIB_PATH) \
7462 for flag in $(EXTRA_HOST_FLAGS); do \
7463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7464 done; \
7465 echo "Doing install-info in recode" ; \
7466 (cd recode && \
7467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7469 "RANLIB=$${RANLIB}" \
7470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7471 install-info) \
7472 || exit 1
7475 .PHONY: maybe-install-info-sed install-info-sed
7476 maybe-install-info-sed:
7478 install-info-sed: \
7479 configure-sed \
7480 info-sed
7481 @[ -f ./sed/Makefile ] || exit 0; \
7482 r=`${PWD}`; export r; \
7483 s=`cd $(srcdir); ${PWD}`; export s; \
7484 $(SET_LIB_PATH) \
7485 for flag in $(EXTRA_HOST_FLAGS); do \
7486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7487 done; \
7488 echo "Doing install-info in sed" ; \
7489 (cd sed && \
7490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7492 "RANLIB=$${RANLIB}" \
7493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7494 install-info) \
7495 || exit 1
7498 .PHONY: maybe-install-info-send-pr install-info-send-pr
7499 maybe-install-info-send-pr:
7501 install-info-send-pr: \
7502 configure-send-pr \
7503 info-send-pr
7504 @[ -f ./send-pr/Makefile ] || exit 0; \
7505 r=`${PWD}`; export r; \
7506 s=`cd $(srcdir); ${PWD}`; export s; \
7507 $(SET_LIB_PATH) \
7508 for flag in $(EXTRA_HOST_FLAGS); do \
7509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7510 done; \
7511 echo "Doing install-info in send-pr" ; \
7512 (cd send-pr && \
7513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7515 "RANLIB=$${RANLIB}" \
7516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7517 install-info) \
7518 || exit 1
7521 .PHONY: maybe-install-info-shellutils install-info-shellutils
7522 maybe-install-info-shellutils:
7524 install-info-shellutils: \
7525 configure-shellutils \
7526 info-shellutils
7527 @[ -f ./shellutils/Makefile ] || exit 0; \
7528 r=`${PWD}`; export r; \
7529 s=`cd $(srcdir); ${PWD}`; export s; \
7530 $(SET_LIB_PATH) \
7531 for flag in $(EXTRA_HOST_FLAGS); do \
7532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7533 done; \
7534 echo "Doing install-info in shellutils" ; \
7535 (cd shellutils && \
7536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7538 "RANLIB=$${RANLIB}" \
7539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7540 install-info) \
7541 || exit 1
7544 .PHONY: maybe-install-info-sid install-info-sid
7545 maybe-install-info-sid:
7547 install-info-sid: \
7548 configure-sid \
7549 info-sid
7550 @[ -f ./sid/Makefile ] || exit 0; \
7551 r=`${PWD}`; export r; \
7552 s=`cd $(srcdir); ${PWD}`; export s; \
7553 $(SET_LIB_PATH) \
7554 for flag in $(EXTRA_HOST_FLAGS); do \
7555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7556 done; \
7557 echo "Doing install-info in sid" ; \
7558 (cd sid && \
7559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7561 "RANLIB=$${RANLIB}" \
7562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7563 install-info) \
7564 || exit 1
7567 .PHONY: maybe-install-info-sim install-info-sim
7568 maybe-install-info-sim:
7570 install-info-sim: \
7571 configure-sim \
7572 info-sim
7573 @[ -f ./sim/Makefile ] || exit 0; \
7574 r=`${PWD}`; export r; \
7575 s=`cd $(srcdir); ${PWD}`; export s; \
7576 $(SET_LIB_PATH) \
7577 for flag in $(EXTRA_HOST_FLAGS); do \
7578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7579 done; \
7580 echo "Doing install-info in sim" ; \
7581 (cd sim && \
7582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7584 "RANLIB=$${RANLIB}" \
7585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7586 install-info) \
7587 || exit 1
7590 .PHONY: maybe-install-info-tar install-info-tar
7591 maybe-install-info-tar:
7593 install-info-tar: \
7594 configure-tar \
7595 info-tar
7596 @[ -f ./tar/Makefile ] || exit 0; \
7597 r=`${PWD}`; export r; \
7598 s=`cd $(srcdir); ${PWD}`; export s; \
7599 $(SET_LIB_PATH) \
7600 for flag in $(EXTRA_HOST_FLAGS); do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing install-info in tar" ; \
7604 (cd tar && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7609 install-info) \
7610 || exit 1
7613 .PHONY: maybe-install-info-texinfo install-info-texinfo
7614 maybe-install-info-texinfo:
7616 install-info-texinfo: \
7617 configure-texinfo \
7618 info-texinfo
7619 @[ -f ./texinfo/Makefile ] || exit 0; \
7620 r=`${PWD}`; export r; \
7621 s=`cd $(srcdir); ${PWD}`; export s; \
7622 $(SET_LIB_PATH) \
7623 for flag in $(EXTRA_HOST_FLAGS); do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 done; \
7626 echo "Doing install-info in texinfo" ; \
7627 (cd texinfo && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7632 install-info) \
7633 || exit 1
7636 .PHONY: maybe-install-info-textutils install-info-textutils
7637 maybe-install-info-textutils:
7639 install-info-textutils: \
7640 configure-textutils \
7641 info-textutils
7642 @[ -f ./textutils/Makefile ] || exit 0; \
7643 r=`${PWD}`; export r; \
7644 s=`cd $(srcdir); ${PWD}`; export s; \
7645 $(SET_LIB_PATH) \
7646 for flag in $(EXTRA_HOST_FLAGS); do \
7647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7648 done; \
7649 echo "Doing install-info in textutils" ; \
7650 (cd textutils && \
7651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7653 "RANLIB=$${RANLIB}" \
7654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7655 install-info) \
7656 || exit 1
7659 .PHONY: maybe-install-info-time install-info-time
7660 maybe-install-info-time:
7662 install-info-time: \
7663 configure-time \
7664 info-time
7665 @[ -f ./time/Makefile ] || exit 0; \
7666 r=`${PWD}`; export r; \
7667 s=`cd $(srcdir); ${PWD}`; export s; \
7668 $(SET_LIB_PATH) \
7669 for flag in $(EXTRA_HOST_FLAGS); do \
7670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7671 done; \
7672 echo "Doing install-info in time" ; \
7673 (cd time && \
7674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7676 "RANLIB=$${RANLIB}" \
7677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7678 install-info) \
7679 || exit 1
7682 .PHONY: maybe-install-info-uudecode install-info-uudecode
7683 maybe-install-info-uudecode:
7685 install-info-uudecode: \
7686 configure-uudecode \
7687 info-uudecode
7688 @[ -f ./uudecode/Makefile ] || exit 0; \
7689 r=`${PWD}`; export r; \
7690 s=`cd $(srcdir); ${PWD}`; export s; \
7691 $(SET_LIB_PATH) \
7692 for flag in $(EXTRA_HOST_FLAGS); do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7694 done; \
7695 echo "Doing install-info in uudecode" ; \
7696 (cd uudecode && \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 install-info) \
7702 || exit 1
7705 .PHONY: maybe-install-info-wdiff install-info-wdiff
7706 maybe-install-info-wdiff:
7708 install-info-wdiff: \
7709 configure-wdiff \
7710 info-wdiff
7711 @[ -f ./wdiff/Makefile ] || exit 0; \
7712 r=`${PWD}`; export r; \
7713 s=`cd $(srcdir); ${PWD}`; export s; \
7714 $(SET_LIB_PATH) \
7715 for flag in $(EXTRA_HOST_FLAGS); do \
7716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7717 done; \
7718 echo "Doing install-info in wdiff" ; \
7719 (cd wdiff && \
7720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7722 "RANLIB=$${RANLIB}" \
7723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7724 install-info) \
7725 || exit 1
7728 .PHONY: maybe-install-info-zip install-info-zip
7729 maybe-install-info-zip:
7731 install-info-zip: \
7732 configure-zip \
7733 info-zip
7734 @[ -f ./zip/Makefile ] || exit 0; \
7735 r=`${PWD}`; export r; \
7736 s=`cd $(srcdir); ${PWD}`; export s; \
7737 $(SET_LIB_PATH) \
7738 for flag in $(EXTRA_HOST_FLAGS); do \
7739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7740 done; \
7741 echo "Doing install-info in zip" ; \
7742 (cd zip && \
7743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7745 "RANLIB=$${RANLIB}" \
7746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7747 install-info) \
7748 || exit 1
7751 .PHONY: maybe-install-info-zlib install-info-zlib
7752 maybe-install-info-zlib:
7754 install-info-zlib: \
7755 configure-zlib \
7756 info-zlib
7757 @[ -f ./zlib/Makefile ] || exit 0; \
7758 r=`${PWD}`; export r; \
7759 s=`cd $(srcdir); ${PWD}`; export s; \
7760 $(SET_LIB_PATH) \
7761 for flag in $(EXTRA_HOST_FLAGS); do \
7762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 done; \
7764 echo "Doing install-info in zlib" ; \
7765 (cd zlib && \
7766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7768 "RANLIB=$${RANLIB}" \
7769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7770 install-info) \
7771 || exit 1
7774 .PHONY: maybe-install-info-gdb install-info-gdb
7775 maybe-install-info-gdb:
7777 install-info-gdb: \
7778 configure-gdb \
7779 info-gdb
7780 @[ -f ./gdb/Makefile ] || exit 0; \
7781 r=`${PWD}`; export r; \
7782 s=`cd $(srcdir); ${PWD}`; export s; \
7783 $(SET_LIB_PATH) \
7784 for flag in $(EXTRA_HOST_FLAGS); do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing install-info in gdb" ; \
7788 (cd gdb && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7793 install-info) \
7794 || exit 1
7797 .PHONY: maybe-install-info-expect install-info-expect
7798 maybe-install-info-expect:
7800 install-info-expect: \
7801 configure-expect \
7802 info-expect
7803 @[ -f ./expect/Makefile ] || exit 0; \
7804 r=`${PWD}`; export r; \
7805 s=`cd $(srcdir); ${PWD}`; export s; \
7806 $(SET_LIB_PATH) \
7807 for flag in $(EXTRA_HOST_FLAGS); do \
7808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7809 done; \
7810 echo "Doing install-info in expect" ; \
7811 (cd expect && \
7812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7814 "RANLIB=$${RANLIB}" \
7815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7816 install-info) \
7817 || exit 1
7820 .PHONY: maybe-install-info-guile install-info-guile
7821 maybe-install-info-guile:
7823 install-info-guile: \
7824 configure-guile \
7825 info-guile
7826 @[ -f ./guile/Makefile ] || exit 0; \
7827 r=`${PWD}`; export r; \
7828 s=`cd $(srcdir); ${PWD}`; export s; \
7829 $(SET_LIB_PATH) \
7830 for flag in $(EXTRA_HOST_FLAGS); do \
7831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 done; \
7833 echo "Doing install-info in guile" ; \
7834 (cd guile && \
7835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837 "RANLIB=$${RANLIB}" \
7838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7839 install-info) \
7840 || exit 1
7843 .PHONY: maybe-install-info-tk install-info-tk
7844 maybe-install-info-tk:
7846 install-info-tk: \
7847 configure-tk \
7848 info-tk
7849 @[ -f ./tk/Makefile ] || exit 0; \
7850 r=`${PWD}`; export r; \
7851 s=`cd $(srcdir); ${PWD}`; export s; \
7852 $(SET_LIB_PATH) \
7853 for flag in $(EXTRA_HOST_FLAGS); do \
7854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7855 done; \
7856 echo "Doing install-info in tk" ; \
7857 (cd tk && \
7858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7860 "RANLIB=$${RANLIB}" \
7861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7862 install-info) \
7863 || exit 1
7866 .PHONY: maybe-install-info-tix install-info-tix
7867 maybe-install-info-tix:
7869 install-info-tix: \
7870 configure-tix \
7871 info-tix
7872 @[ -f ./tix/Makefile ] || exit 0; \
7873 r=`${PWD}`; export r; \
7874 s=`cd $(srcdir); ${PWD}`; export s; \
7875 $(SET_LIB_PATH) \
7876 for flag in $(EXTRA_HOST_FLAGS); do \
7877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7878 done; \
7879 echo "Doing install-info in tix" ; \
7880 (cd tix && \
7881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7883 "RANLIB=$${RANLIB}" \
7884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7885 install-info) \
7886 || exit 1
7889 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
7890 maybe-install-info-libtermcap:
7892 install-info-libtermcap: \
7893 configure-libtermcap \
7894 info-libtermcap
7895 @[ -f ./libtermcap/Makefile ] || exit 0; \
7896 r=`${PWD}`; export r; \
7897 s=`cd $(srcdir); ${PWD}`; export s; \
7898 $(SET_LIB_PATH) \
7899 for flag in $(EXTRA_HOST_FLAGS); do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7901 done; \
7902 echo "Doing install-info in libtermcap" ; \
7903 (cd libtermcap && \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7908 install-info) \
7909 || exit 1
7912 .PHONY: maybe-install-info-utils install-info-utils
7913 maybe-install-info-utils:
7915 install-info-utils: \
7916 configure-utils \
7917 info-utils
7918 @[ -f ./utils/Makefile ] || exit 0; \
7919 r=`${PWD}`; export r; \
7920 s=`cd $(srcdir); ${PWD}`; export s; \
7921 $(SET_LIB_PATH) \
7922 for flag in $(EXTRA_HOST_FLAGS); do \
7923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7924 done; \
7925 echo "Doing install-info in utils" ; \
7926 (cd utils && \
7927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7929 "RANLIB=$${RANLIB}" \
7930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7931 install-info) \
7932 || exit 1
7936 # Target modules.
7938 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
7939 maybe-install-info-target-libstdc++-v3:
7941 install-info-target-libstdc++-v3: \
7942 configure-target-libstdc++-v3 \
7943 info-target-libstdc++-v3
7944 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
7945 r=`${PWD}`; export r; \
7946 s=`cd $(srcdir); ${PWD}`; export s; \
7947 $(SET_LIB_PATH) \
7948 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
7949 for flag in $(EXTRA_TARGET_FLAGS); do \
7950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7951 done; \
7952 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
7953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7955 "RANLIB=$${RANLIB}" \
7956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7957 install-info) \
7958 || exit 1
7961 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
7962 maybe-install-info-target-newlib:
7964 install-info-target-newlib: \
7965 configure-target-newlib \
7966 info-target-newlib
7967 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
7968 r=`${PWD}`; export r; \
7969 s=`cd $(srcdir); ${PWD}`; export s; \
7970 $(SET_LIB_PATH) \
7971 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
7972 for flag in $(EXTRA_TARGET_FLAGS); do \
7973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7974 done; \
7975 (cd $(TARGET_SUBDIR)/newlib && \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7980 install-info) \
7981 || exit 1
7984 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
7985 maybe-install-info-target-libf2c:
7987 install-info-target-libf2c: \
7988 configure-target-libf2c \
7989 info-target-libf2c
7990 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
7991 r=`${PWD}`; export r; \
7992 s=`cd $(srcdir); ${PWD}`; export s; \
7993 $(SET_LIB_PATH) \
7994 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
7995 for flag in $(EXTRA_TARGET_FLAGS); do \
7996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7997 done; \
7998 (cd $(TARGET_SUBDIR)/libf2c && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8003 install-info) \
8004 || exit 1
8007 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
8008 maybe-install-info-target-libobjc:
8010 install-info-target-libobjc: \
8011 configure-target-libobjc \
8012 info-target-libobjc
8013 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8014 r=`${PWD}`; export r; \
8015 s=`cd $(srcdir); ${PWD}`; export s; \
8016 $(SET_LIB_PATH) \
8017 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
8018 for flag in $(EXTRA_TARGET_FLAGS); do \
8019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8020 done; \
8021 (cd $(TARGET_SUBDIR)/libobjc && \
8022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024 "RANLIB=$${RANLIB}" \
8025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8026 install-info) \
8027 || exit 1
8030 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
8031 maybe-install-info-target-libtermcap:
8033 install-info-target-libtermcap: \
8034 configure-target-libtermcap \
8035 info-target-libtermcap
8036 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8037 r=`${PWD}`; export r; \
8038 s=`cd $(srcdir); ${PWD}`; export s; \
8039 $(SET_LIB_PATH) \
8040 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
8041 for flag in $(EXTRA_TARGET_FLAGS); do \
8042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8043 done; \
8044 (cd $(TARGET_SUBDIR)/libtermcap && \
8045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8047 "RANLIB=$${RANLIB}" \
8048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8049 install-info) \
8050 || exit 1
8053 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
8054 maybe-install-info-target-winsup:
8056 install-info-target-winsup: \
8057 configure-target-winsup \
8058 info-target-winsup
8059 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8060 r=`${PWD}`; export r; \
8061 s=`cd $(srcdir); ${PWD}`; export s; \
8062 $(SET_LIB_PATH) \
8063 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
8064 for flag in $(EXTRA_TARGET_FLAGS); do \
8065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8066 done; \
8067 (cd $(TARGET_SUBDIR)/winsup && \
8068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8070 "RANLIB=$${RANLIB}" \
8071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8072 install-info) \
8073 || exit 1
8076 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
8077 maybe-install-info-target-libgloss:
8079 install-info-target-libgloss: \
8080 configure-target-libgloss \
8081 info-target-libgloss
8082 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8083 r=`${PWD}`; export r; \
8084 s=`cd $(srcdir); ${PWD}`; export s; \
8085 $(SET_LIB_PATH) \
8086 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
8087 for flag in $(EXTRA_TARGET_FLAGS); do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8089 done; \
8090 (cd $(TARGET_SUBDIR)/libgloss && \
8091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8093 "RANLIB=$${RANLIB}" \
8094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8095 install-info) \
8096 || exit 1
8099 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
8100 maybe-install-info-target-libiberty:
8102 install-info-target-libiberty: \
8103 configure-target-libiberty \
8104 info-target-libiberty
8105 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8106 r=`${PWD}`; export r; \
8107 s=`cd $(srcdir); ${PWD}`; export s; \
8108 $(SET_LIB_PATH) \
8109 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
8110 for flag in $(EXTRA_TARGET_FLAGS); do \
8111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8112 done; \
8113 (cd $(TARGET_SUBDIR)/libiberty && \
8114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8116 "RANLIB=$${RANLIB}" \
8117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8118 install-info) \
8119 || exit 1
8122 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
8123 maybe-install-info-target-gperf:
8125 install-info-target-gperf: \
8126 configure-target-gperf \
8127 info-target-gperf
8128 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8129 r=`${PWD}`; export r; \
8130 s=`cd $(srcdir); ${PWD}`; export s; \
8131 $(SET_LIB_PATH) \
8132 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
8133 for flag in $(EXTRA_TARGET_FLAGS); do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135 done; \
8136 (cd $(TARGET_SUBDIR)/gperf && \
8137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8139 "RANLIB=$${RANLIB}" \
8140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8141 install-info) \
8142 || exit 1
8145 .PHONY: maybe-install-info-target-examples install-info-target-examples
8146 maybe-install-info-target-examples:
8148 install-info-target-examples: \
8149 configure-target-examples \
8150 info-target-examples
8151 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8152 r=`${PWD}`; export r; \
8153 s=`cd $(srcdir); ${PWD}`; export s; \
8154 $(SET_LIB_PATH) \
8155 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
8156 for flag in $(EXTRA_TARGET_FLAGS); do \
8157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8158 done; \
8159 (cd $(TARGET_SUBDIR)/examples && \
8160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8162 "RANLIB=$${RANLIB}" \
8163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8164 install-info) \
8165 || exit 1
8168 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
8169 maybe-install-info-target-libffi:
8171 install-info-target-libffi: \
8172 configure-target-libffi \
8173 info-target-libffi
8174 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8175 r=`${PWD}`; export r; \
8176 s=`cd $(srcdir); ${PWD}`; export s; \
8177 $(SET_LIB_PATH) \
8178 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
8179 for flag in $(EXTRA_TARGET_FLAGS); do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8181 done; \
8182 (cd $(TARGET_SUBDIR)/libffi && \
8183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8185 "RANLIB=$${RANLIB}" \
8186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8187 install-info) \
8188 || exit 1
8191 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
8192 maybe-install-info-target-libjava:
8194 install-info-target-libjava: \
8195 configure-target-libjava \
8196 info-target-libjava
8197 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8198 r=`${PWD}`; export r; \
8199 s=`cd $(srcdir); ${PWD}`; export s; \
8200 $(SET_LIB_PATH) \
8201 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
8202 for flag in $(EXTRA_TARGET_FLAGS); do \
8203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8204 done; \
8205 (cd $(TARGET_SUBDIR)/libjava && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8210 install-info) \
8211 || exit 1
8214 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
8215 maybe-install-info-target-zlib:
8217 install-info-target-zlib: \
8218 configure-target-zlib \
8219 info-target-zlib
8220 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8221 r=`${PWD}`; export r; \
8222 s=`cd $(srcdir); ${PWD}`; export s; \
8223 $(SET_LIB_PATH) \
8224 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
8225 for flag in $(EXTRA_TARGET_FLAGS); do \
8226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8227 done; \
8228 (cd $(TARGET_SUBDIR)/zlib && \
8229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8231 "RANLIB=$${RANLIB}" \
8232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8233 install-info) \
8234 || exit 1
8237 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
8238 maybe-install-info-target-boehm-gc:
8240 install-info-target-boehm-gc: \
8241 configure-target-boehm-gc \
8242 info-target-boehm-gc
8243 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8244 r=`${PWD}`; export r; \
8245 s=`cd $(srcdir); ${PWD}`; export s; \
8246 $(SET_LIB_PATH) \
8247 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
8248 for flag in $(EXTRA_TARGET_FLAGS); do \
8249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8250 done; \
8251 (cd $(TARGET_SUBDIR)/boehm-gc && \
8252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8254 "RANLIB=$${RANLIB}" \
8255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8256 install-info) \
8257 || exit 1
8260 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
8261 maybe-install-info-target-qthreads:
8263 install-info-target-qthreads: \
8264 configure-target-qthreads \
8265 info-target-qthreads
8266 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8267 r=`${PWD}`; export r; \
8268 s=`cd $(srcdir); ${PWD}`; export s; \
8269 $(SET_LIB_PATH) \
8270 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
8271 for flag in $(EXTRA_TARGET_FLAGS); do \
8272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8273 done; \
8274 (cd $(TARGET_SUBDIR)/qthreads && \
8275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8277 "RANLIB=$${RANLIB}" \
8278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8279 install-info) \
8280 || exit 1
8283 .PHONY: maybe-install-info-target-rda install-info-target-rda
8284 maybe-install-info-target-rda:
8286 install-info-target-rda: \
8287 configure-target-rda \
8288 info-target-rda
8289 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8290 r=`${PWD}`; export r; \
8291 s=`cd $(srcdir); ${PWD}`; export s; \
8292 $(SET_LIB_PATH) \
8293 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
8294 for flag in $(EXTRA_TARGET_FLAGS); do \
8295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8296 done; \
8297 (cd $(TARGET_SUBDIR)/rda && \
8298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8300 "RANLIB=$${RANLIB}" \
8301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8302 install-info) \
8303 || exit 1
8307 .PHONY: do-installcheck
8308 do-installcheck: installcheck-host installcheck-target
8310 .PHONY: installcheck-host
8311 installcheck-host: maybe-installcheck-gcc \
8312 maybe-installcheck-ash \
8313 maybe-installcheck-autoconf \
8314 maybe-installcheck-automake \
8315 maybe-installcheck-bash \
8316 maybe-installcheck-bfd \
8317 maybe-installcheck-opcodes \
8318 maybe-installcheck-binutils \
8319 maybe-installcheck-bison \
8320 maybe-installcheck-byacc \
8321 maybe-installcheck-bzip2 \
8322 maybe-installcheck-dejagnu \
8323 maybe-installcheck-diff \
8324 maybe-installcheck-dosutils \
8325 maybe-installcheck-etc \
8326 maybe-installcheck-fastjar \
8327 maybe-installcheck-fileutils \
8328 maybe-installcheck-findutils \
8329 maybe-installcheck-find \
8330 maybe-installcheck-flex \
8331 maybe-installcheck-gas \
8332 maybe-installcheck-gawk \
8333 maybe-installcheck-gettext \
8334 maybe-installcheck-gnuserv \
8335 maybe-installcheck-gprof \
8336 maybe-installcheck-gzip \
8337 maybe-installcheck-hello \
8338 maybe-installcheck-indent \
8339 maybe-installcheck-intl \
8340 maybe-installcheck-tcl \
8341 maybe-installcheck-itcl \
8342 maybe-installcheck-ld \
8343 maybe-installcheck-libgui \
8344 maybe-installcheck-libiberty \
8345 maybe-installcheck-libtool \
8346 maybe-installcheck-m4 \
8347 maybe-installcheck-make \
8348 maybe-installcheck-mmalloc \
8349 maybe-installcheck-patch \
8350 maybe-installcheck-perl \
8351 maybe-installcheck-prms \
8352 maybe-installcheck-rcs \
8353 maybe-installcheck-readline \
8354 maybe-installcheck-release \
8355 maybe-installcheck-recode \
8356 maybe-installcheck-sed \
8357 maybe-installcheck-send-pr \
8358 maybe-installcheck-shellutils \
8359 maybe-installcheck-sid \
8360 maybe-installcheck-sim \
8361 maybe-installcheck-tar \
8362 maybe-installcheck-texinfo \
8363 maybe-installcheck-textutils \
8364 maybe-installcheck-time \
8365 maybe-installcheck-uudecode \
8366 maybe-installcheck-wdiff \
8367 maybe-installcheck-zip \
8368 maybe-installcheck-zlib \
8369 maybe-installcheck-gdb \
8370 maybe-installcheck-expect \
8371 maybe-installcheck-guile \
8372 maybe-installcheck-tk \
8373 maybe-installcheck-tix \
8374 maybe-installcheck-libtermcap \
8375 maybe-installcheck-utils
8377 .PHONY: installcheck-target
8378 installcheck-target: \
8379 maybe-installcheck-target-libstdc++-v3 \
8380 maybe-installcheck-target-newlib \
8381 maybe-installcheck-target-libf2c \
8382 maybe-installcheck-target-libobjc \
8383 maybe-installcheck-target-libtermcap \
8384 maybe-installcheck-target-winsup \
8385 maybe-installcheck-target-libgloss \
8386 maybe-installcheck-target-libiberty \
8387 maybe-installcheck-target-gperf \
8388 maybe-installcheck-target-examples \
8389 maybe-installcheck-target-libffi \
8390 maybe-installcheck-target-libjava \
8391 maybe-installcheck-target-zlib \
8392 maybe-installcheck-target-boehm-gc \
8393 maybe-installcheck-target-qthreads \
8394 maybe-installcheck-target-rda
8396 # GCC, the eternal special case
8397 .PHONY: maybe-installcheck-gcc installcheck-gcc
8398 maybe-installcheck-gcc:
8399 installcheck-gcc: \
8400 configure-gcc
8401 @[ -f ./gcc/Makefile ] || exit 0; \
8402 r=`${PWD}`; export r; \
8403 s=`cd $(srcdir); ${PWD}`; export s; \
8404 $(SET_LIB_PATH) \
8405 for flag in $(EXTRA_GCC_FLAGS); do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing installcheck in gcc" ; \
8409 (cd gcc && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8414 installcheck) \
8415 || exit 1
8417 # Host modules.
8419 .PHONY: maybe-installcheck-ash installcheck-ash
8420 maybe-installcheck-ash:
8422 installcheck-ash: \
8423 configure-ash
8424 @[ -f ./ash/Makefile ] || exit 0; \
8425 r=`${PWD}`; export r; \
8426 s=`cd $(srcdir); ${PWD}`; export s; \
8427 $(SET_LIB_PATH) \
8428 for flag in $(EXTRA_HOST_FLAGS); do \
8429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8430 done; \
8431 echo "Doing installcheck in ash" ; \
8432 (cd ash && \
8433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8435 "RANLIB=$${RANLIB}" \
8436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8437 installcheck) \
8438 || exit 1
8441 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
8442 maybe-installcheck-autoconf:
8444 installcheck-autoconf: \
8445 configure-autoconf
8446 @[ -f ./autoconf/Makefile ] || exit 0; \
8447 r=`${PWD}`; export r; \
8448 s=`cd $(srcdir); ${PWD}`; export s; \
8449 $(SET_LIB_PATH) \
8450 for flag in $(EXTRA_HOST_FLAGS); do \
8451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8452 done; \
8453 echo "Doing installcheck in autoconf" ; \
8454 (cd autoconf && \
8455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8457 "RANLIB=$${RANLIB}" \
8458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8459 installcheck) \
8460 || exit 1
8463 .PHONY: maybe-installcheck-automake installcheck-automake
8464 maybe-installcheck-automake:
8466 installcheck-automake: \
8467 configure-automake
8468 @[ -f ./automake/Makefile ] || exit 0; \
8469 r=`${PWD}`; export r; \
8470 s=`cd $(srcdir); ${PWD}`; export s; \
8471 $(SET_LIB_PATH) \
8472 for flag in $(EXTRA_HOST_FLAGS); do \
8473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8474 done; \
8475 echo "Doing installcheck in automake" ; \
8476 (cd automake && \
8477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8479 "RANLIB=$${RANLIB}" \
8480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8481 installcheck) \
8482 || exit 1
8485 .PHONY: maybe-installcheck-bash installcheck-bash
8486 maybe-installcheck-bash:
8488 installcheck-bash: \
8489 configure-bash
8490 @[ -f ./bash/Makefile ] || exit 0; \
8491 r=`${PWD}`; export r; \
8492 s=`cd $(srcdir); ${PWD}`; export s; \
8493 $(SET_LIB_PATH) \
8494 for flag in $(EXTRA_HOST_FLAGS); do \
8495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496 done; \
8497 echo "Doing installcheck in bash" ; \
8498 (cd bash && \
8499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501 "RANLIB=$${RANLIB}" \
8502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8503 installcheck) \
8504 || exit 1
8507 .PHONY: maybe-installcheck-bfd installcheck-bfd
8508 maybe-installcheck-bfd:
8510 installcheck-bfd: \
8511 configure-bfd
8512 @[ -f ./bfd/Makefile ] || exit 0; \
8513 r=`${PWD}`; export r; \
8514 s=`cd $(srcdir); ${PWD}`; export s; \
8515 $(SET_LIB_PATH) \
8516 for flag in $(EXTRA_HOST_FLAGS); do \
8517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8518 done; \
8519 echo "Doing installcheck in bfd" ; \
8520 (cd bfd && \
8521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8523 "RANLIB=$${RANLIB}" \
8524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8525 installcheck) \
8526 || exit 1
8529 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
8530 maybe-installcheck-opcodes:
8532 installcheck-opcodes: \
8533 configure-opcodes
8534 @[ -f ./opcodes/Makefile ] || exit 0; \
8535 r=`${PWD}`; export r; \
8536 s=`cd $(srcdir); ${PWD}`; export s; \
8537 $(SET_LIB_PATH) \
8538 for flag in $(EXTRA_HOST_FLAGS); do \
8539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540 done; \
8541 echo "Doing installcheck in opcodes" ; \
8542 (cd opcodes && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545 "RANLIB=$${RANLIB}" \
8546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8547 installcheck) \
8548 || exit 1
8551 .PHONY: maybe-installcheck-binutils installcheck-binutils
8552 maybe-installcheck-binutils:
8554 installcheck-binutils: \
8555 configure-binutils
8556 @[ -f ./binutils/Makefile ] || exit 0; \
8557 r=`${PWD}`; export r; \
8558 s=`cd $(srcdir); ${PWD}`; export s; \
8559 $(SET_LIB_PATH) \
8560 for flag in $(EXTRA_HOST_FLAGS); do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 done; \
8563 echo "Doing installcheck in binutils" ; \
8564 (cd binutils && \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8569 installcheck) \
8570 || exit 1
8573 .PHONY: maybe-installcheck-bison installcheck-bison
8574 maybe-installcheck-bison:
8576 installcheck-bison: \
8577 configure-bison
8578 @[ -f ./bison/Makefile ] || exit 0; \
8579 r=`${PWD}`; export r; \
8580 s=`cd $(srcdir); ${PWD}`; export s; \
8581 $(SET_LIB_PATH) \
8582 for flag in $(EXTRA_HOST_FLAGS); do \
8583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8584 done; \
8585 echo "Doing installcheck in bison" ; \
8586 (cd bison && \
8587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589 "RANLIB=$${RANLIB}" \
8590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8591 installcheck) \
8592 || exit 1
8595 .PHONY: maybe-installcheck-byacc installcheck-byacc
8596 maybe-installcheck-byacc:
8598 installcheck-byacc: \
8599 configure-byacc
8600 @[ -f ./byacc/Makefile ] || exit 0; \
8601 r=`${PWD}`; export r; \
8602 s=`cd $(srcdir); ${PWD}`; export s; \
8603 $(SET_LIB_PATH) \
8604 for flag in $(EXTRA_HOST_FLAGS); do \
8605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 done; \
8607 echo "Doing installcheck in byacc" ; \
8608 (cd byacc && \
8609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8611 "RANLIB=$${RANLIB}" \
8612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8613 installcheck) \
8614 || exit 1
8617 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8618 maybe-installcheck-bzip2:
8620 installcheck-bzip2: \
8621 configure-bzip2
8622 @[ -f ./bzip2/Makefile ] || exit 0; \
8623 r=`${PWD}`; export r; \
8624 s=`cd $(srcdir); ${PWD}`; export s; \
8625 $(SET_LIB_PATH) \
8626 for flag in $(EXTRA_HOST_FLAGS); do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing installcheck in bzip2" ; \
8630 (cd bzip2 && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 installcheck) \
8636 || exit 1
8639 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8640 maybe-installcheck-dejagnu:
8642 installcheck-dejagnu: \
8643 configure-dejagnu
8644 @[ -f ./dejagnu/Makefile ] || exit 0; \
8645 r=`${PWD}`; export r; \
8646 s=`cd $(srcdir); ${PWD}`; export s; \
8647 $(SET_LIB_PATH) \
8648 for flag in $(EXTRA_HOST_FLAGS); do \
8649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8650 done; \
8651 echo "Doing installcheck in dejagnu" ; \
8652 (cd dejagnu && \
8653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8655 "RANLIB=$${RANLIB}" \
8656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8657 installcheck) \
8658 || exit 1
8661 .PHONY: maybe-installcheck-diff installcheck-diff
8662 maybe-installcheck-diff:
8664 installcheck-diff: \
8665 configure-diff
8666 @[ -f ./diff/Makefile ] || exit 0; \
8667 r=`${PWD}`; export r; \
8668 s=`cd $(srcdir); ${PWD}`; export s; \
8669 $(SET_LIB_PATH) \
8670 for flag in $(EXTRA_HOST_FLAGS); do \
8671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8672 done; \
8673 echo "Doing installcheck in diff" ; \
8674 (cd diff && \
8675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8677 "RANLIB=$${RANLIB}" \
8678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 installcheck) \
8680 || exit 1
8683 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8684 maybe-installcheck-dosutils:
8686 installcheck-dosutils: \
8687 configure-dosutils
8688 @[ -f ./dosutils/Makefile ] || exit 0; \
8689 r=`${PWD}`; export r; \
8690 s=`cd $(srcdir); ${PWD}`; export s; \
8691 $(SET_LIB_PATH) \
8692 for flag in $(EXTRA_HOST_FLAGS); do \
8693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8694 done; \
8695 echo "Doing installcheck in dosutils" ; \
8696 (cd dosutils && \
8697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8699 "RANLIB=$${RANLIB}" \
8700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8701 installcheck) \
8702 || exit 1
8705 .PHONY: maybe-installcheck-etc installcheck-etc
8706 maybe-installcheck-etc:
8708 installcheck-etc: \
8709 configure-etc
8710 @[ -f ./etc/Makefile ] || exit 0; \
8711 r=`${PWD}`; export r; \
8712 s=`cd $(srcdir); ${PWD}`; export s; \
8713 $(SET_LIB_PATH) \
8714 for flag in $(EXTRA_HOST_FLAGS); do \
8715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8716 done; \
8717 echo "Doing installcheck in etc" ; \
8718 (cd etc && \
8719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8721 "RANLIB=$${RANLIB}" \
8722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8723 installcheck) \
8724 || exit 1
8727 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8728 maybe-installcheck-fastjar:
8730 installcheck-fastjar: \
8731 configure-fastjar
8732 @[ -f ./fastjar/Makefile ] || exit 0; \
8733 r=`${PWD}`; export r; \
8734 s=`cd $(srcdir); ${PWD}`; export s; \
8735 $(SET_LIB_PATH) \
8736 for flag in $(EXTRA_HOST_FLAGS); do \
8737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8738 done; \
8739 echo "Doing installcheck in fastjar" ; \
8740 (cd fastjar && \
8741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8743 "RANLIB=$${RANLIB}" \
8744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8745 installcheck) \
8746 || exit 1
8749 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8750 maybe-installcheck-fileutils:
8752 installcheck-fileutils: \
8753 configure-fileutils
8754 @[ -f ./fileutils/Makefile ] || exit 0; \
8755 r=`${PWD}`; export r; \
8756 s=`cd $(srcdir); ${PWD}`; export s; \
8757 $(SET_LIB_PATH) \
8758 for flag in $(EXTRA_HOST_FLAGS); do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing installcheck in fileutils" ; \
8762 (cd fileutils && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8767 installcheck) \
8768 || exit 1
8771 .PHONY: maybe-installcheck-findutils installcheck-findutils
8772 maybe-installcheck-findutils:
8774 installcheck-findutils: \
8775 configure-findutils
8776 @[ -f ./findutils/Makefile ] || exit 0; \
8777 r=`${PWD}`; export r; \
8778 s=`cd $(srcdir); ${PWD}`; export s; \
8779 $(SET_LIB_PATH) \
8780 for flag in $(EXTRA_HOST_FLAGS); do \
8781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8782 done; \
8783 echo "Doing installcheck in findutils" ; \
8784 (cd findutils && \
8785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8787 "RANLIB=$${RANLIB}" \
8788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789 installcheck) \
8790 || exit 1
8793 .PHONY: maybe-installcheck-find installcheck-find
8794 maybe-installcheck-find:
8796 installcheck-find: \
8797 configure-find
8798 @[ -f ./find/Makefile ] || exit 0; \
8799 r=`${PWD}`; export r; \
8800 s=`cd $(srcdir); ${PWD}`; export s; \
8801 $(SET_LIB_PATH) \
8802 for flag in $(EXTRA_HOST_FLAGS); do \
8803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8804 done; \
8805 echo "Doing installcheck in find" ; \
8806 (cd find && \
8807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8809 "RANLIB=$${RANLIB}" \
8810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8811 installcheck) \
8812 || exit 1
8815 .PHONY: maybe-installcheck-flex installcheck-flex
8816 maybe-installcheck-flex:
8818 installcheck-flex: \
8819 configure-flex
8820 @[ -f ./flex/Makefile ] || exit 0; \
8821 r=`${PWD}`; export r; \
8822 s=`cd $(srcdir); ${PWD}`; export s; \
8823 $(SET_LIB_PATH) \
8824 for flag in $(EXTRA_HOST_FLAGS); do \
8825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8826 done; \
8827 echo "Doing installcheck in flex" ; \
8828 (cd flex && \
8829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8831 "RANLIB=$${RANLIB}" \
8832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8833 installcheck) \
8834 || exit 1
8837 .PHONY: maybe-installcheck-gas installcheck-gas
8838 maybe-installcheck-gas:
8840 installcheck-gas: \
8841 configure-gas
8842 @[ -f ./gas/Makefile ] || exit 0; \
8843 r=`${PWD}`; export r; \
8844 s=`cd $(srcdir); ${PWD}`; export s; \
8845 $(SET_LIB_PATH) \
8846 for flag in $(EXTRA_HOST_FLAGS); do \
8847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8848 done; \
8849 echo "Doing installcheck in gas" ; \
8850 (cd gas && \
8851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8853 "RANLIB=$${RANLIB}" \
8854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8855 installcheck) \
8856 || exit 1
8859 .PHONY: maybe-installcheck-gawk installcheck-gawk
8860 maybe-installcheck-gawk:
8862 installcheck-gawk: \
8863 configure-gawk
8864 @[ -f ./gawk/Makefile ] || exit 0; \
8865 r=`${PWD}`; export r; \
8866 s=`cd $(srcdir); ${PWD}`; export s; \
8867 $(SET_LIB_PATH) \
8868 for flag in $(EXTRA_HOST_FLAGS); do \
8869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8870 done; \
8871 echo "Doing installcheck in gawk" ; \
8872 (cd gawk && \
8873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8875 "RANLIB=$${RANLIB}" \
8876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8877 installcheck) \
8878 || exit 1
8881 .PHONY: maybe-installcheck-gettext installcheck-gettext
8882 maybe-installcheck-gettext:
8884 installcheck-gettext: \
8885 configure-gettext
8886 @[ -f ./gettext/Makefile ] || exit 0; \
8887 r=`${PWD}`; export r; \
8888 s=`cd $(srcdir); ${PWD}`; export s; \
8889 $(SET_LIB_PATH) \
8890 for flag in $(EXTRA_HOST_FLAGS); do \
8891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8892 done; \
8893 echo "Doing installcheck in gettext" ; \
8894 (cd gettext && \
8895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8897 "RANLIB=$${RANLIB}" \
8898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8899 installcheck) \
8900 || exit 1
8903 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8904 maybe-installcheck-gnuserv:
8906 installcheck-gnuserv: \
8907 configure-gnuserv
8908 @[ -f ./gnuserv/Makefile ] || exit 0; \
8909 r=`${PWD}`; export r; \
8910 s=`cd $(srcdir); ${PWD}`; export s; \
8911 $(SET_LIB_PATH) \
8912 for flag in $(EXTRA_HOST_FLAGS); do \
8913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8914 done; \
8915 echo "Doing installcheck in gnuserv" ; \
8916 (cd gnuserv && \
8917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8919 "RANLIB=$${RANLIB}" \
8920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8921 installcheck) \
8922 || exit 1
8925 .PHONY: maybe-installcheck-gprof installcheck-gprof
8926 maybe-installcheck-gprof:
8928 installcheck-gprof: \
8929 configure-gprof
8930 @[ -f ./gprof/Makefile ] || exit 0; \
8931 r=`${PWD}`; export r; \
8932 s=`cd $(srcdir); ${PWD}`; export s; \
8933 $(SET_LIB_PATH) \
8934 for flag in $(EXTRA_HOST_FLAGS); do \
8935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8936 done; \
8937 echo "Doing installcheck in gprof" ; \
8938 (cd gprof && \
8939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8941 "RANLIB=$${RANLIB}" \
8942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8943 installcheck) \
8944 || exit 1
8947 .PHONY: maybe-installcheck-gzip installcheck-gzip
8948 maybe-installcheck-gzip:
8950 installcheck-gzip: \
8951 configure-gzip
8952 @[ -f ./gzip/Makefile ] || exit 0; \
8953 r=`${PWD}`; export r; \
8954 s=`cd $(srcdir); ${PWD}`; export s; \
8955 $(SET_LIB_PATH) \
8956 for flag in $(EXTRA_HOST_FLAGS); do \
8957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8958 done; \
8959 echo "Doing installcheck in gzip" ; \
8960 (cd gzip && \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8963 "RANLIB=$${RANLIB}" \
8964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8965 installcheck) \
8966 || exit 1
8969 .PHONY: maybe-installcheck-hello installcheck-hello
8970 maybe-installcheck-hello:
8972 installcheck-hello: \
8973 configure-hello
8974 @[ -f ./hello/Makefile ] || exit 0; \
8975 r=`${PWD}`; export r; \
8976 s=`cd $(srcdir); ${PWD}`; export s; \
8977 $(SET_LIB_PATH) \
8978 for flag in $(EXTRA_HOST_FLAGS); do \
8979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8980 done; \
8981 echo "Doing installcheck in hello" ; \
8982 (cd hello && \
8983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8985 "RANLIB=$${RANLIB}" \
8986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8987 installcheck) \
8988 || exit 1
8991 .PHONY: maybe-installcheck-indent installcheck-indent
8992 maybe-installcheck-indent:
8994 installcheck-indent: \
8995 configure-indent
8996 @[ -f ./indent/Makefile ] || exit 0; \
8997 r=`${PWD}`; export r; \
8998 s=`cd $(srcdir); ${PWD}`; export s; \
8999 $(SET_LIB_PATH) \
9000 for flag in $(EXTRA_HOST_FLAGS); do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9002 done; \
9003 echo "Doing installcheck in indent" ; \
9004 (cd indent && \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9009 installcheck) \
9010 || exit 1
9013 .PHONY: maybe-installcheck-intl installcheck-intl
9014 maybe-installcheck-intl:
9016 installcheck-intl: \
9017 configure-intl
9018 @[ -f ./intl/Makefile ] || exit 0; \
9019 r=`${PWD}`; export r; \
9020 s=`cd $(srcdir); ${PWD}`; export s; \
9021 $(SET_LIB_PATH) \
9022 for flag in $(EXTRA_HOST_FLAGS); do \
9023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9024 done; \
9025 echo "Doing installcheck in intl" ; \
9026 (cd intl && \
9027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9029 "RANLIB=$${RANLIB}" \
9030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9031 installcheck) \
9032 || exit 1
9035 .PHONY: maybe-installcheck-tcl installcheck-tcl
9036 maybe-installcheck-tcl:
9038 installcheck-tcl: \
9039 configure-tcl
9040 @[ -f ./tcl/Makefile ] || exit 0; \
9041 r=`${PWD}`; export r; \
9042 s=`cd $(srcdir); ${PWD}`; export s; \
9043 $(SET_LIB_PATH) \
9044 for flag in $(EXTRA_HOST_FLAGS); do \
9045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9046 done; \
9047 echo "Doing installcheck in tcl" ; \
9048 (cd tcl && \
9049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9051 "RANLIB=$${RANLIB}" \
9052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9053 installcheck) \
9054 || exit 1
9057 .PHONY: maybe-installcheck-itcl installcheck-itcl
9058 maybe-installcheck-itcl:
9060 installcheck-itcl: \
9061 configure-itcl
9062 @[ -f ./itcl/Makefile ] || exit 0; \
9063 r=`${PWD}`; export r; \
9064 s=`cd $(srcdir); ${PWD}`; export s; \
9065 $(SET_LIB_PATH) \
9066 for flag in $(EXTRA_HOST_FLAGS); do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9068 done; \
9069 echo "Doing installcheck in itcl" ; \
9070 (cd itcl && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9075 installcheck) \
9076 || exit 1
9079 .PHONY: maybe-installcheck-ld installcheck-ld
9080 maybe-installcheck-ld:
9082 installcheck-ld: \
9083 configure-ld
9084 @[ -f ./ld/Makefile ] || exit 0; \
9085 r=`${PWD}`; export r; \
9086 s=`cd $(srcdir); ${PWD}`; export s; \
9087 $(SET_LIB_PATH) \
9088 for flag in $(EXTRA_HOST_FLAGS); do \
9089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9090 done; \
9091 echo "Doing installcheck in ld" ; \
9092 (cd ld && \
9093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9095 "RANLIB=$${RANLIB}" \
9096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9097 installcheck) \
9098 || exit 1
9101 .PHONY: maybe-installcheck-libgui installcheck-libgui
9102 maybe-installcheck-libgui:
9104 installcheck-libgui: \
9105 configure-libgui
9106 @[ -f ./libgui/Makefile ] || exit 0; \
9107 r=`${PWD}`; export r; \
9108 s=`cd $(srcdir); ${PWD}`; export s; \
9109 $(SET_LIB_PATH) \
9110 for flag in $(EXTRA_HOST_FLAGS); do \
9111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9112 done; \
9113 echo "Doing installcheck in libgui" ; \
9114 (cd libgui && \
9115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9117 "RANLIB=$${RANLIB}" \
9118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9119 installcheck) \
9120 || exit 1
9123 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
9124 maybe-installcheck-libiberty:
9126 installcheck-libiberty: \
9127 configure-libiberty
9128 @[ -f ./libiberty/Makefile ] || exit 0; \
9129 r=`${PWD}`; export r; \
9130 s=`cd $(srcdir); ${PWD}`; export s; \
9131 $(SET_LIB_PATH) \
9132 for flag in $(EXTRA_HOST_FLAGS); do \
9133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9134 done; \
9135 echo "Doing installcheck in libiberty" ; \
9136 (cd libiberty && \
9137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9139 "RANLIB=$${RANLIB}" \
9140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9141 installcheck) \
9142 || exit 1
9145 .PHONY: maybe-installcheck-libtool installcheck-libtool
9146 maybe-installcheck-libtool:
9148 installcheck-libtool: \
9149 configure-libtool
9150 @[ -f ./libtool/Makefile ] || exit 0; \
9151 r=`${PWD}`; export r; \
9152 s=`cd $(srcdir); ${PWD}`; export s; \
9153 $(SET_LIB_PATH) \
9154 for flag in $(EXTRA_HOST_FLAGS); do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156 done; \
9157 echo "Doing installcheck in libtool" ; \
9158 (cd libtool && \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9163 installcheck) \
9164 || exit 1
9167 .PHONY: maybe-installcheck-m4 installcheck-m4
9168 maybe-installcheck-m4:
9170 installcheck-m4: \
9171 configure-m4
9172 @[ -f ./m4/Makefile ] || exit 0; \
9173 r=`${PWD}`; export r; \
9174 s=`cd $(srcdir); ${PWD}`; export s; \
9175 $(SET_LIB_PATH) \
9176 for flag in $(EXTRA_HOST_FLAGS); do \
9177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9178 done; \
9179 echo "Doing installcheck in m4" ; \
9180 (cd m4 && \
9181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183 "RANLIB=$${RANLIB}" \
9184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9185 installcheck) \
9186 || exit 1
9189 .PHONY: maybe-installcheck-make installcheck-make
9190 maybe-installcheck-make:
9192 installcheck-make: \
9193 configure-make
9194 @[ -f ./make/Makefile ] || exit 0; \
9195 r=`${PWD}`; export r; \
9196 s=`cd $(srcdir); ${PWD}`; export s; \
9197 $(SET_LIB_PATH) \
9198 for flag in $(EXTRA_HOST_FLAGS); do \
9199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9200 done; \
9201 echo "Doing installcheck in make" ; \
9202 (cd make && \
9203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9205 "RANLIB=$${RANLIB}" \
9206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9207 installcheck) \
9208 || exit 1
9211 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
9212 maybe-installcheck-mmalloc:
9214 installcheck-mmalloc: \
9215 configure-mmalloc
9216 @[ -f ./mmalloc/Makefile ] || exit 0; \
9217 r=`${PWD}`; export r; \
9218 s=`cd $(srcdir); ${PWD}`; export s; \
9219 $(SET_LIB_PATH) \
9220 for flag in $(EXTRA_HOST_FLAGS); do \
9221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 done; \
9223 echo "Doing installcheck in mmalloc" ; \
9224 (cd mmalloc && \
9225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9227 "RANLIB=$${RANLIB}" \
9228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9229 installcheck) \
9230 || exit 1
9233 .PHONY: maybe-installcheck-patch installcheck-patch
9234 maybe-installcheck-patch:
9236 installcheck-patch: \
9237 configure-patch
9238 @[ -f ./patch/Makefile ] || exit 0; \
9239 r=`${PWD}`; export r; \
9240 s=`cd $(srcdir); ${PWD}`; export s; \
9241 $(SET_LIB_PATH) \
9242 for flag in $(EXTRA_HOST_FLAGS); do \
9243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9244 done; \
9245 echo "Doing installcheck in patch" ; \
9246 (cd patch && \
9247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9249 "RANLIB=$${RANLIB}" \
9250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9251 installcheck) \
9252 || exit 1
9255 .PHONY: maybe-installcheck-perl installcheck-perl
9256 maybe-installcheck-perl:
9258 installcheck-perl: \
9259 configure-perl
9260 @[ -f ./perl/Makefile ] || exit 0; \
9261 r=`${PWD}`; export r; \
9262 s=`cd $(srcdir); ${PWD}`; export s; \
9263 $(SET_LIB_PATH) \
9264 for flag in $(EXTRA_HOST_FLAGS); do \
9265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9266 done; \
9267 echo "Doing installcheck in perl" ; \
9268 (cd perl && \
9269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9271 "RANLIB=$${RANLIB}" \
9272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9273 installcheck) \
9274 || exit 1
9277 .PHONY: maybe-installcheck-prms installcheck-prms
9278 maybe-installcheck-prms:
9280 installcheck-prms: \
9281 configure-prms
9282 @[ -f ./prms/Makefile ] || exit 0; \
9283 r=`${PWD}`; export r; \
9284 s=`cd $(srcdir); ${PWD}`; export s; \
9285 $(SET_LIB_PATH) \
9286 for flag in $(EXTRA_HOST_FLAGS); do \
9287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9288 done; \
9289 echo "Doing installcheck in prms" ; \
9290 (cd prms && \
9291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9293 "RANLIB=$${RANLIB}" \
9294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9295 installcheck) \
9296 || exit 1
9299 .PHONY: maybe-installcheck-rcs installcheck-rcs
9300 maybe-installcheck-rcs:
9302 installcheck-rcs: \
9303 configure-rcs
9304 @[ -f ./rcs/Makefile ] || exit 0; \
9305 r=`${PWD}`; export r; \
9306 s=`cd $(srcdir); ${PWD}`; export s; \
9307 $(SET_LIB_PATH) \
9308 for flag in $(EXTRA_HOST_FLAGS); do \
9309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9310 done; \
9311 echo "Doing installcheck in rcs" ; \
9312 (cd rcs && \
9313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9315 "RANLIB=$${RANLIB}" \
9316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9317 installcheck) \
9318 || exit 1
9321 .PHONY: maybe-installcheck-readline installcheck-readline
9322 maybe-installcheck-readline:
9324 installcheck-readline: \
9325 configure-readline
9326 @[ -f ./readline/Makefile ] || exit 0; \
9327 r=`${PWD}`; export r; \
9328 s=`cd $(srcdir); ${PWD}`; export s; \
9329 $(SET_LIB_PATH) \
9330 for flag in $(EXTRA_HOST_FLAGS); do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9332 done; \
9333 echo "Doing installcheck in readline" ; \
9334 (cd readline && \
9335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337 "RANLIB=$${RANLIB}" \
9338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9339 installcheck) \
9340 || exit 1
9343 .PHONY: maybe-installcheck-release installcheck-release
9344 maybe-installcheck-release:
9346 installcheck-release: \
9347 configure-release
9348 @[ -f ./release/Makefile ] || exit 0; \
9349 r=`${PWD}`; export r; \
9350 s=`cd $(srcdir); ${PWD}`; export s; \
9351 $(SET_LIB_PATH) \
9352 for flag in $(EXTRA_HOST_FLAGS); do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9354 done; \
9355 echo "Doing installcheck in release" ; \
9356 (cd release && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9361 installcheck) \
9362 || exit 1
9365 .PHONY: maybe-installcheck-recode installcheck-recode
9366 maybe-installcheck-recode:
9368 installcheck-recode: \
9369 configure-recode
9370 @[ -f ./recode/Makefile ] || exit 0; \
9371 r=`${PWD}`; export r; \
9372 s=`cd $(srcdir); ${PWD}`; export s; \
9373 $(SET_LIB_PATH) \
9374 for flag in $(EXTRA_HOST_FLAGS); do \
9375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9376 done; \
9377 echo "Doing installcheck in recode" ; \
9378 (cd recode && \
9379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9381 "RANLIB=$${RANLIB}" \
9382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9383 installcheck) \
9384 || exit 1
9387 .PHONY: maybe-installcheck-sed installcheck-sed
9388 maybe-installcheck-sed:
9390 installcheck-sed: \
9391 configure-sed
9392 @[ -f ./sed/Makefile ] || exit 0; \
9393 r=`${PWD}`; export r; \
9394 s=`cd $(srcdir); ${PWD}`; export s; \
9395 $(SET_LIB_PATH) \
9396 for flag in $(EXTRA_HOST_FLAGS); do \
9397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9398 done; \
9399 echo "Doing installcheck in sed" ; \
9400 (cd sed && \
9401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9403 "RANLIB=$${RANLIB}" \
9404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9405 installcheck) \
9406 || exit 1
9409 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
9410 maybe-installcheck-send-pr:
9412 installcheck-send-pr: \
9413 configure-send-pr
9414 @[ -f ./send-pr/Makefile ] || exit 0; \
9415 r=`${PWD}`; export r; \
9416 s=`cd $(srcdir); ${PWD}`; export s; \
9417 $(SET_LIB_PATH) \
9418 for flag in $(EXTRA_HOST_FLAGS); do \
9419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9420 done; \
9421 echo "Doing installcheck in send-pr" ; \
9422 (cd send-pr && \
9423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9425 "RANLIB=$${RANLIB}" \
9426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9427 installcheck) \
9428 || exit 1
9431 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
9432 maybe-installcheck-shellutils:
9434 installcheck-shellutils: \
9435 configure-shellutils
9436 @[ -f ./shellutils/Makefile ] || exit 0; \
9437 r=`${PWD}`; export r; \
9438 s=`cd $(srcdir); ${PWD}`; export s; \
9439 $(SET_LIB_PATH) \
9440 for flag in $(EXTRA_HOST_FLAGS); do \
9441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9442 done; \
9443 echo "Doing installcheck in shellutils" ; \
9444 (cd shellutils && \
9445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9447 "RANLIB=$${RANLIB}" \
9448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9449 installcheck) \
9450 || exit 1
9453 .PHONY: maybe-installcheck-sid installcheck-sid
9454 maybe-installcheck-sid:
9456 installcheck-sid: \
9457 configure-sid
9458 @[ -f ./sid/Makefile ] || exit 0; \
9459 r=`${PWD}`; export r; \
9460 s=`cd $(srcdir); ${PWD}`; export s; \
9461 $(SET_LIB_PATH) \
9462 for flag in $(EXTRA_HOST_FLAGS); do \
9463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9464 done; \
9465 echo "Doing installcheck in sid" ; \
9466 (cd sid && \
9467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9469 "RANLIB=$${RANLIB}" \
9470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9471 installcheck) \
9472 || exit 1
9475 .PHONY: maybe-installcheck-sim installcheck-sim
9476 maybe-installcheck-sim:
9478 installcheck-sim: \
9479 configure-sim
9480 @[ -f ./sim/Makefile ] || exit 0; \
9481 r=`${PWD}`; export r; \
9482 s=`cd $(srcdir); ${PWD}`; export s; \
9483 $(SET_LIB_PATH) \
9484 for flag in $(EXTRA_HOST_FLAGS); do \
9485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9486 done; \
9487 echo "Doing installcheck in sim" ; \
9488 (cd sim && \
9489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491 "RANLIB=$${RANLIB}" \
9492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9493 installcheck) \
9494 || exit 1
9497 .PHONY: maybe-installcheck-tar installcheck-tar
9498 maybe-installcheck-tar:
9500 installcheck-tar: \
9501 configure-tar
9502 @[ -f ./tar/Makefile ] || exit 0; \
9503 r=`${PWD}`; export r; \
9504 s=`cd $(srcdir); ${PWD}`; export s; \
9505 $(SET_LIB_PATH) \
9506 for flag in $(EXTRA_HOST_FLAGS); do \
9507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9508 done; \
9509 echo "Doing installcheck in tar" ; \
9510 (cd tar && \
9511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9513 "RANLIB=$${RANLIB}" \
9514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9515 installcheck) \
9516 || exit 1
9519 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
9520 maybe-installcheck-texinfo:
9522 installcheck-texinfo: \
9523 configure-texinfo
9524 @[ -f ./texinfo/Makefile ] || exit 0; \
9525 r=`${PWD}`; export r; \
9526 s=`cd $(srcdir); ${PWD}`; export s; \
9527 $(SET_LIB_PATH) \
9528 for flag in $(EXTRA_HOST_FLAGS); do \
9529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9530 done; \
9531 echo "Doing installcheck in texinfo" ; \
9532 (cd texinfo && \
9533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9535 "RANLIB=$${RANLIB}" \
9536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9537 installcheck) \
9538 || exit 1
9541 .PHONY: maybe-installcheck-textutils installcheck-textutils
9542 maybe-installcheck-textutils:
9544 installcheck-textutils: \
9545 configure-textutils
9546 @[ -f ./textutils/Makefile ] || exit 0; \
9547 r=`${PWD}`; export r; \
9548 s=`cd $(srcdir); ${PWD}`; export s; \
9549 $(SET_LIB_PATH) \
9550 for flag in $(EXTRA_HOST_FLAGS); do \
9551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9552 done; \
9553 echo "Doing installcheck in textutils" ; \
9554 (cd textutils && \
9555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9557 "RANLIB=$${RANLIB}" \
9558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9559 installcheck) \
9560 || exit 1
9563 .PHONY: maybe-installcheck-time installcheck-time
9564 maybe-installcheck-time:
9566 installcheck-time: \
9567 configure-time
9568 @[ -f ./time/Makefile ] || exit 0; \
9569 r=`${PWD}`; export r; \
9570 s=`cd $(srcdir); ${PWD}`; export s; \
9571 $(SET_LIB_PATH) \
9572 for flag in $(EXTRA_HOST_FLAGS); do \
9573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9574 done; \
9575 echo "Doing installcheck in time" ; \
9576 (cd time && \
9577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9579 "RANLIB=$${RANLIB}" \
9580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9581 installcheck) \
9582 || exit 1
9585 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
9586 maybe-installcheck-uudecode:
9588 installcheck-uudecode: \
9589 configure-uudecode
9590 @[ -f ./uudecode/Makefile ] || exit 0; \
9591 r=`${PWD}`; export r; \
9592 s=`cd $(srcdir); ${PWD}`; export s; \
9593 $(SET_LIB_PATH) \
9594 for flag in $(EXTRA_HOST_FLAGS); do \
9595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 done; \
9597 echo "Doing installcheck in uudecode" ; \
9598 (cd uudecode && \
9599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9601 "RANLIB=$${RANLIB}" \
9602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9603 installcheck) \
9604 || exit 1
9607 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
9608 maybe-installcheck-wdiff:
9610 installcheck-wdiff: \
9611 configure-wdiff
9612 @[ -f ./wdiff/Makefile ] || exit 0; \
9613 r=`${PWD}`; export r; \
9614 s=`cd $(srcdir); ${PWD}`; export s; \
9615 $(SET_LIB_PATH) \
9616 for flag in $(EXTRA_HOST_FLAGS); do \
9617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9618 done; \
9619 echo "Doing installcheck in wdiff" ; \
9620 (cd wdiff && \
9621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9623 "RANLIB=$${RANLIB}" \
9624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9625 installcheck) \
9626 || exit 1
9629 .PHONY: maybe-installcheck-zip installcheck-zip
9630 maybe-installcheck-zip:
9632 installcheck-zip: \
9633 configure-zip
9634 @[ -f ./zip/Makefile ] || exit 0; \
9635 r=`${PWD}`; export r; \
9636 s=`cd $(srcdir); ${PWD}`; export s; \
9637 $(SET_LIB_PATH) \
9638 for flag in $(EXTRA_HOST_FLAGS); do \
9639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9640 done; \
9641 echo "Doing installcheck in zip" ; \
9642 (cd zip && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9645 "RANLIB=$${RANLIB}" \
9646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9647 installcheck) \
9648 || exit 1
9651 .PHONY: maybe-installcheck-zlib installcheck-zlib
9652 maybe-installcheck-zlib:
9654 installcheck-zlib: \
9655 configure-zlib
9656 @[ -f ./zlib/Makefile ] || exit 0; \
9657 r=`${PWD}`; export r; \
9658 s=`cd $(srcdir); ${PWD}`; export s; \
9659 $(SET_LIB_PATH) \
9660 for flag in $(EXTRA_HOST_FLAGS); do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing installcheck in zlib" ; \
9664 (cd zlib && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9669 installcheck) \
9670 || exit 1
9673 .PHONY: maybe-installcheck-gdb installcheck-gdb
9674 maybe-installcheck-gdb:
9676 installcheck-gdb: \
9677 configure-gdb
9678 @[ -f ./gdb/Makefile ] || exit 0; \
9679 r=`${PWD}`; export r; \
9680 s=`cd $(srcdir); ${PWD}`; export s; \
9681 $(SET_LIB_PATH) \
9682 for flag in $(EXTRA_HOST_FLAGS); do \
9683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9684 done; \
9685 echo "Doing installcheck in gdb" ; \
9686 (cd gdb && \
9687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9689 "RANLIB=$${RANLIB}" \
9690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9691 installcheck) \
9692 || exit 1
9695 .PHONY: maybe-installcheck-expect installcheck-expect
9696 maybe-installcheck-expect:
9698 installcheck-expect: \
9699 configure-expect
9700 @[ -f ./expect/Makefile ] || exit 0; \
9701 r=`${PWD}`; export r; \
9702 s=`cd $(srcdir); ${PWD}`; export s; \
9703 $(SET_LIB_PATH) \
9704 for flag in $(EXTRA_HOST_FLAGS); do \
9705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9706 done; \
9707 echo "Doing installcheck in expect" ; \
9708 (cd expect && \
9709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9711 "RANLIB=$${RANLIB}" \
9712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9713 installcheck) \
9714 || exit 1
9717 .PHONY: maybe-installcheck-guile installcheck-guile
9718 maybe-installcheck-guile:
9720 installcheck-guile: \
9721 configure-guile
9722 @[ -f ./guile/Makefile ] || exit 0; \
9723 r=`${PWD}`; export r; \
9724 s=`cd $(srcdir); ${PWD}`; export s; \
9725 $(SET_LIB_PATH) \
9726 for flag in $(EXTRA_HOST_FLAGS); do \
9727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9728 done; \
9729 echo "Doing installcheck in guile" ; \
9730 (cd guile && \
9731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9733 "RANLIB=$${RANLIB}" \
9734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9735 installcheck) \
9736 || exit 1
9739 .PHONY: maybe-installcheck-tk installcheck-tk
9740 maybe-installcheck-tk:
9742 installcheck-tk: \
9743 configure-tk
9744 @[ -f ./tk/Makefile ] || exit 0; \
9745 r=`${PWD}`; export r; \
9746 s=`cd $(srcdir); ${PWD}`; export s; \
9747 $(SET_LIB_PATH) \
9748 for flag in $(EXTRA_HOST_FLAGS); do \
9749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9750 done; \
9751 echo "Doing installcheck in tk" ; \
9752 (cd tk && \
9753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9755 "RANLIB=$${RANLIB}" \
9756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9757 installcheck) \
9758 || exit 1
9761 .PHONY: maybe-installcheck-tix installcheck-tix
9762 maybe-installcheck-tix:
9764 installcheck-tix: \
9765 configure-tix
9766 @[ -f ./tix/Makefile ] || exit 0; \
9767 r=`${PWD}`; export r; \
9768 s=`cd $(srcdir); ${PWD}`; export s; \
9769 $(SET_LIB_PATH) \
9770 for flag in $(EXTRA_HOST_FLAGS); do \
9771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9772 done; \
9773 echo "Doing installcheck in tix" ; \
9774 (cd tix && \
9775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9777 "RANLIB=$${RANLIB}" \
9778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9779 installcheck) \
9780 || exit 1
9783 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
9784 maybe-installcheck-libtermcap:
9786 installcheck-libtermcap: \
9787 configure-libtermcap
9788 @[ -f ./libtermcap/Makefile ] || exit 0; \
9789 r=`${PWD}`; export r; \
9790 s=`cd $(srcdir); ${PWD}`; export s; \
9791 $(SET_LIB_PATH) \
9792 for flag in $(EXTRA_HOST_FLAGS); do \
9793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9794 done; \
9795 echo "Doing installcheck in libtermcap" ; \
9796 (cd libtermcap && \
9797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9799 "RANLIB=$${RANLIB}" \
9800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9801 installcheck) \
9802 || exit 1
9805 .PHONY: maybe-installcheck-utils installcheck-utils
9806 maybe-installcheck-utils:
9808 installcheck-utils: \
9809 configure-utils
9810 @[ -f ./utils/Makefile ] || exit 0; \
9811 r=`${PWD}`; export r; \
9812 s=`cd $(srcdir); ${PWD}`; export s; \
9813 $(SET_LIB_PATH) \
9814 for flag in $(EXTRA_HOST_FLAGS); do \
9815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9816 done; \
9817 echo "Doing installcheck in utils" ; \
9818 (cd utils && \
9819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9821 "RANLIB=$${RANLIB}" \
9822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9823 installcheck) \
9824 || exit 1
9828 # Target modules.
9830 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
9831 maybe-installcheck-target-libstdc++-v3:
9833 installcheck-target-libstdc++-v3: \
9834 configure-target-libstdc++-v3
9835 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
9836 r=`${PWD}`; export r; \
9837 s=`cd $(srcdir); ${PWD}`; export s; \
9838 $(SET_LIB_PATH) \
9839 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
9840 for flag in $(EXTRA_TARGET_FLAGS); do \
9841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9842 done; \
9843 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
9844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9846 "RANLIB=$${RANLIB}" \
9847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9848 installcheck) \
9849 || exit 1
9852 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
9853 maybe-installcheck-target-newlib:
9855 installcheck-target-newlib: \
9856 configure-target-newlib
9857 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
9858 r=`${PWD}`; export r; \
9859 s=`cd $(srcdir); ${PWD}`; export s; \
9860 $(SET_LIB_PATH) \
9861 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
9862 for flag in $(EXTRA_TARGET_FLAGS); do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 (cd $(TARGET_SUBDIR)/newlib && \
9866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9868 "RANLIB=$${RANLIB}" \
9869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9870 installcheck) \
9871 || exit 1
9874 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
9875 maybe-installcheck-target-libf2c:
9877 installcheck-target-libf2c: \
9878 configure-target-libf2c
9879 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
9880 r=`${PWD}`; export r; \
9881 s=`cd $(srcdir); ${PWD}`; export s; \
9882 $(SET_LIB_PATH) \
9883 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
9884 for flag in $(EXTRA_TARGET_FLAGS); do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886 done; \
9887 (cd $(TARGET_SUBDIR)/libf2c && \
9888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9890 "RANLIB=$${RANLIB}" \
9891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9892 installcheck) \
9893 || exit 1
9896 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
9897 maybe-installcheck-target-libobjc:
9899 installcheck-target-libobjc: \
9900 configure-target-libobjc
9901 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
9902 r=`${PWD}`; export r; \
9903 s=`cd $(srcdir); ${PWD}`; export s; \
9904 $(SET_LIB_PATH) \
9905 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
9906 for flag in $(EXTRA_TARGET_FLAGS); do \
9907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9908 done; \
9909 (cd $(TARGET_SUBDIR)/libobjc && \
9910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9912 "RANLIB=$${RANLIB}" \
9913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9914 installcheck) \
9915 || exit 1
9918 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
9919 maybe-installcheck-target-libtermcap:
9921 installcheck-target-libtermcap: \
9922 configure-target-libtermcap
9923 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
9924 r=`${PWD}`; export r; \
9925 s=`cd $(srcdir); ${PWD}`; export s; \
9926 $(SET_LIB_PATH) \
9927 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
9928 for flag in $(EXTRA_TARGET_FLAGS); do \
9929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9930 done; \
9931 (cd $(TARGET_SUBDIR)/libtermcap && \
9932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9934 "RANLIB=$${RANLIB}" \
9935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9936 installcheck) \
9937 || exit 1
9940 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
9941 maybe-installcheck-target-winsup:
9943 installcheck-target-winsup: \
9944 configure-target-winsup
9945 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
9946 r=`${PWD}`; export r; \
9947 s=`cd $(srcdir); ${PWD}`; export s; \
9948 $(SET_LIB_PATH) \
9949 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
9950 for flag in $(EXTRA_TARGET_FLAGS); do \
9951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9952 done; \
9953 (cd $(TARGET_SUBDIR)/winsup && \
9954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9956 "RANLIB=$${RANLIB}" \
9957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9958 installcheck) \
9959 || exit 1
9962 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
9963 maybe-installcheck-target-libgloss:
9965 installcheck-target-libgloss: \
9966 configure-target-libgloss
9967 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
9968 r=`${PWD}`; export r; \
9969 s=`cd $(srcdir); ${PWD}`; export s; \
9970 $(SET_LIB_PATH) \
9971 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
9972 for flag in $(EXTRA_TARGET_FLAGS); do \
9973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9974 done; \
9975 (cd $(TARGET_SUBDIR)/libgloss && \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978 "RANLIB=$${RANLIB}" \
9979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9980 installcheck) \
9981 || exit 1
9984 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
9985 maybe-installcheck-target-libiberty:
9987 installcheck-target-libiberty: \
9988 configure-target-libiberty
9989 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
9990 r=`${PWD}`; export r; \
9991 s=`cd $(srcdir); ${PWD}`; export s; \
9992 $(SET_LIB_PATH) \
9993 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
9994 for flag in $(EXTRA_TARGET_FLAGS); do \
9995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9996 done; \
9997 (cd $(TARGET_SUBDIR)/libiberty && \
9998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10000 "RANLIB=$${RANLIB}" \
10001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10002 installcheck) \
10003 || exit 1
10006 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10007 maybe-installcheck-target-gperf:
10009 installcheck-target-gperf: \
10010 configure-target-gperf
10011 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
10012 r=`${PWD}`; export r; \
10013 s=`cd $(srcdir); ${PWD}`; export s; \
10014 $(SET_LIB_PATH) \
10015 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
10016 for flag in $(EXTRA_TARGET_FLAGS); do \
10017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10018 done; \
10019 (cd $(TARGET_SUBDIR)/gperf && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 installcheck) \
10025 || exit 1
10028 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
10029 maybe-installcheck-target-examples:
10031 installcheck-target-examples: \
10032 configure-target-examples
10033 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
10034 r=`${PWD}`; export r; \
10035 s=`cd $(srcdir); ${PWD}`; export s; \
10036 $(SET_LIB_PATH) \
10037 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
10038 for flag in $(EXTRA_TARGET_FLAGS); do \
10039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10040 done; \
10041 (cd $(TARGET_SUBDIR)/examples && \
10042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10044 "RANLIB=$${RANLIB}" \
10045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10046 installcheck) \
10047 || exit 1
10050 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
10051 maybe-installcheck-target-libffi:
10053 installcheck-target-libffi: \
10054 configure-target-libffi
10055 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
10056 r=`${PWD}`; export r; \
10057 s=`cd $(srcdir); ${PWD}`; export s; \
10058 $(SET_LIB_PATH) \
10059 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
10060 for flag in $(EXTRA_TARGET_FLAGS); do \
10061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10062 done; \
10063 (cd $(TARGET_SUBDIR)/libffi && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 installcheck) \
10069 || exit 1
10072 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
10073 maybe-installcheck-target-libjava:
10075 installcheck-target-libjava: \
10076 configure-target-libjava
10077 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
10078 r=`${PWD}`; export r; \
10079 s=`cd $(srcdir); ${PWD}`; export s; \
10080 $(SET_LIB_PATH) \
10081 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
10082 for flag in $(EXTRA_TARGET_FLAGS); do \
10083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 done; \
10085 (cd $(TARGET_SUBDIR)/libjava && \
10086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10088 "RANLIB=$${RANLIB}" \
10089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10090 installcheck) \
10091 || exit 1
10094 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
10095 maybe-installcheck-target-zlib:
10097 installcheck-target-zlib: \
10098 configure-target-zlib
10099 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
10100 r=`${PWD}`; export r; \
10101 s=`cd $(srcdir); ${PWD}`; export s; \
10102 $(SET_LIB_PATH) \
10103 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
10104 for flag in $(EXTRA_TARGET_FLAGS); do \
10105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10106 done; \
10107 (cd $(TARGET_SUBDIR)/zlib && \
10108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10110 "RANLIB=$${RANLIB}" \
10111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10112 installcheck) \
10113 || exit 1
10116 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
10117 maybe-installcheck-target-boehm-gc:
10119 installcheck-target-boehm-gc: \
10120 configure-target-boehm-gc
10121 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
10122 r=`${PWD}`; export r; \
10123 s=`cd $(srcdir); ${PWD}`; export s; \
10124 $(SET_LIB_PATH) \
10125 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
10126 for flag in $(EXTRA_TARGET_FLAGS); do \
10127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10128 done; \
10129 (cd $(TARGET_SUBDIR)/boehm-gc && \
10130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10132 "RANLIB=$${RANLIB}" \
10133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10134 installcheck) \
10135 || exit 1
10138 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
10139 maybe-installcheck-target-qthreads:
10141 installcheck-target-qthreads: \
10142 configure-target-qthreads
10143 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
10144 r=`${PWD}`; export r; \
10145 s=`cd $(srcdir); ${PWD}`; export s; \
10146 $(SET_LIB_PATH) \
10147 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
10148 for flag in $(EXTRA_TARGET_FLAGS); do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 (cd $(TARGET_SUBDIR)/qthreads && \
10152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10154 "RANLIB=$${RANLIB}" \
10155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10156 installcheck) \
10157 || exit 1
10160 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
10161 maybe-installcheck-target-rda:
10163 installcheck-target-rda: \
10164 configure-target-rda
10165 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
10166 r=`${PWD}`; export r; \
10167 s=`cd $(srcdir); ${PWD}`; export s; \
10168 $(SET_LIB_PATH) \
10169 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
10170 for flag in $(EXTRA_TARGET_FLAGS); do \
10171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10172 done; \
10173 (cd $(TARGET_SUBDIR)/rda && \
10174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10176 "RANLIB=$${RANLIB}" \
10177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10178 installcheck) \
10179 || exit 1
10183 .PHONY: do-mostlyclean
10184 do-mostlyclean: mostlyclean-host mostlyclean-target
10186 .PHONY: mostlyclean-host
10187 mostlyclean-host: maybe-mostlyclean-gcc \
10188 maybe-mostlyclean-ash \
10189 maybe-mostlyclean-autoconf \
10190 maybe-mostlyclean-automake \
10191 maybe-mostlyclean-bash \
10192 maybe-mostlyclean-bfd \
10193 maybe-mostlyclean-opcodes \
10194 maybe-mostlyclean-binutils \
10195 maybe-mostlyclean-bison \
10196 maybe-mostlyclean-byacc \
10197 maybe-mostlyclean-bzip2 \
10198 maybe-mostlyclean-dejagnu \
10199 maybe-mostlyclean-diff \
10200 maybe-mostlyclean-dosutils \
10201 maybe-mostlyclean-etc \
10202 maybe-mostlyclean-fastjar \
10203 maybe-mostlyclean-fileutils \
10204 maybe-mostlyclean-findutils \
10205 maybe-mostlyclean-find \
10206 maybe-mostlyclean-flex \
10207 maybe-mostlyclean-gas \
10208 maybe-mostlyclean-gawk \
10209 maybe-mostlyclean-gettext \
10210 maybe-mostlyclean-gnuserv \
10211 maybe-mostlyclean-gprof \
10212 maybe-mostlyclean-gzip \
10213 maybe-mostlyclean-hello \
10214 maybe-mostlyclean-indent \
10215 maybe-mostlyclean-intl \
10216 maybe-mostlyclean-tcl \
10217 maybe-mostlyclean-itcl \
10218 maybe-mostlyclean-ld \
10219 maybe-mostlyclean-libgui \
10220 maybe-mostlyclean-libiberty \
10221 maybe-mostlyclean-libtool \
10222 maybe-mostlyclean-m4 \
10223 maybe-mostlyclean-make \
10224 maybe-mostlyclean-mmalloc \
10225 maybe-mostlyclean-patch \
10226 maybe-mostlyclean-perl \
10227 maybe-mostlyclean-prms \
10228 maybe-mostlyclean-rcs \
10229 maybe-mostlyclean-readline \
10230 maybe-mostlyclean-release \
10231 maybe-mostlyclean-recode \
10232 maybe-mostlyclean-sed \
10233 maybe-mostlyclean-send-pr \
10234 maybe-mostlyclean-shellutils \
10235 maybe-mostlyclean-sid \
10236 maybe-mostlyclean-sim \
10237 maybe-mostlyclean-tar \
10238 maybe-mostlyclean-texinfo \
10239 maybe-mostlyclean-textutils \
10240 maybe-mostlyclean-time \
10241 maybe-mostlyclean-uudecode \
10242 maybe-mostlyclean-wdiff \
10243 maybe-mostlyclean-zip \
10244 maybe-mostlyclean-zlib \
10245 maybe-mostlyclean-gdb \
10246 maybe-mostlyclean-expect \
10247 maybe-mostlyclean-guile \
10248 maybe-mostlyclean-tk \
10249 maybe-mostlyclean-tix \
10250 maybe-mostlyclean-libtermcap \
10251 maybe-mostlyclean-utils
10253 .PHONY: mostlyclean-target
10254 mostlyclean-target: \
10255 maybe-mostlyclean-target-libstdc++-v3 \
10256 maybe-mostlyclean-target-newlib \
10257 maybe-mostlyclean-target-libf2c \
10258 maybe-mostlyclean-target-libobjc \
10259 maybe-mostlyclean-target-libtermcap \
10260 maybe-mostlyclean-target-winsup \
10261 maybe-mostlyclean-target-libgloss \
10262 maybe-mostlyclean-target-libiberty \
10263 maybe-mostlyclean-target-gperf \
10264 maybe-mostlyclean-target-examples \
10265 maybe-mostlyclean-target-libffi \
10266 maybe-mostlyclean-target-libjava \
10267 maybe-mostlyclean-target-zlib \
10268 maybe-mostlyclean-target-boehm-gc \
10269 maybe-mostlyclean-target-qthreads \
10270 maybe-mostlyclean-target-rda
10272 # GCC, the eternal special case
10273 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10274 maybe-mostlyclean-gcc:
10275 mostlyclean-gcc:
10276 @[ -f ./gcc/Makefile ] || exit 0; \
10277 r=`${PWD}`; export r; \
10278 s=`cd $(srcdir); ${PWD}`; export s; \
10279 $(SET_LIB_PATH) \
10280 for flag in $(EXTRA_GCC_FLAGS); do \
10281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10282 done; \
10283 echo "Doing mostlyclean in gcc" ; \
10284 (cd gcc && \
10285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10287 "RANLIB=$${RANLIB}" \
10288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10289 mostlyclean) \
10290 || exit 1
10292 # Host modules.
10294 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
10295 maybe-mostlyclean-ash:
10297 mostlyclean-ash:
10298 @[ -f ./ash/Makefile ] || exit 0; \
10299 r=`${PWD}`; export r; \
10300 s=`cd $(srcdir); ${PWD}`; export s; \
10301 $(SET_LIB_PATH) \
10302 for flag in $(EXTRA_HOST_FLAGS); do \
10303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10304 done; \
10305 echo "Doing mostlyclean in ash" ; \
10306 (cd ash && \
10307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10309 "RANLIB=$${RANLIB}" \
10310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10311 mostlyclean) \
10312 || exit 1
10315 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
10316 maybe-mostlyclean-autoconf:
10318 mostlyclean-autoconf:
10319 @[ -f ./autoconf/Makefile ] || exit 0; \
10320 r=`${PWD}`; export r; \
10321 s=`cd $(srcdir); ${PWD}`; export s; \
10322 $(SET_LIB_PATH) \
10323 for flag in $(EXTRA_HOST_FLAGS); do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing mostlyclean in autoconf" ; \
10327 (cd autoconf && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10332 mostlyclean) \
10333 || exit 1
10336 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
10337 maybe-mostlyclean-automake:
10339 mostlyclean-automake:
10340 @[ -f ./automake/Makefile ] || exit 0; \
10341 r=`${PWD}`; export r; \
10342 s=`cd $(srcdir); ${PWD}`; export s; \
10343 $(SET_LIB_PATH) \
10344 for flag in $(EXTRA_HOST_FLAGS); do \
10345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10346 done; \
10347 echo "Doing mostlyclean in automake" ; \
10348 (cd automake && \
10349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10351 "RANLIB=$${RANLIB}" \
10352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10353 mostlyclean) \
10354 || exit 1
10357 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
10358 maybe-mostlyclean-bash:
10360 mostlyclean-bash:
10361 @[ -f ./bash/Makefile ] || exit 0; \
10362 r=`${PWD}`; export r; \
10363 s=`cd $(srcdir); ${PWD}`; export s; \
10364 $(SET_LIB_PATH) \
10365 for flag in $(EXTRA_HOST_FLAGS); do \
10366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10367 done; \
10368 echo "Doing mostlyclean in bash" ; \
10369 (cd bash && \
10370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10372 "RANLIB=$${RANLIB}" \
10373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10374 mostlyclean) \
10375 || exit 1
10378 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
10379 maybe-mostlyclean-bfd:
10381 mostlyclean-bfd:
10382 @[ -f ./bfd/Makefile ] || exit 0; \
10383 r=`${PWD}`; export r; \
10384 s=`cd $(srcdir); ${PWD}`; export s; \
10385 $(SET_LIB_PATH) \
10386 for flag in $(EXTRA_HOST_FLAGS); do \
10387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10388 done; \
10389 echo "Doing mostlyclean in bfd" ; \
10390 (cd bfd && \
10391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10393 "RANLIB=$${RANLIB}" \
10394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10395 mostlyclean) \
10396 || exit 1
10399 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
10400 maybe-mostlyclean-opcodes:
10402 mostlyclean-opcodes:
10403 @[ -f ./opcodes/Makefile ] || exit 0; \
10404 r=`${PWD}`; export r; \
10405 s=`cd $(srcdir); ${PWD}`; export s; \
10406 $(SET_LIB_PATH) \
10407 for flag in $(EXTRA_HOST_FLAGS); do \
10408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10409 done; \
10410 echo "Doing mostlyclean in opcodes" ; \
10411 (cd opcodes && \
10412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10414 "RANLIB=$${RANLIB}" \
10415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10416 mostlyclean) \
10417 || exit 1
10420 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
10421 maybe-mostlyclean-binutils:
10423 mostlyclean-binutils:
10424 @[ -f ./binutils/Makefile ] || exit 0; \
10425 r=`${PWD}`; export r; \
10426 s=`cd $(srcdir); ${PWD}`; export s; \
10427 $(SET_LIB_PATH) \
10428 for flag in $(EXTRA_HOST_FLAGS); do \
10429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10430 done; \
10431 echo "Doing mostlyclean in binutils" ; \
10432 (cd binutils && \
10433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10435 "RANLIB=$${RANLIB}" \
10436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10437 mostlyclean) \
10438 || exit 1
10441 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
10442 maybe-mostlyclean-bison:
10444 mostlyclean-bison:
10445 @[ -f ./bison/Makefile ] || exit 0; \
10446 r=`${PWD}`; export r; \
10447 s=`cd $(srcdir); ${PWD}`; export s; \
10448 $(SET_LIB_PATH) \
10449 for flag in $(EXTRA_HOST_FLAGS); do \
10450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10451 done; \
10452 echo "Doing mostlyclean in bison" ; \
10453 (cd bison && \
10454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10456 "RANLIB=$${RANLIB}" \
10457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10458 mostlyclean) \
10459 || exit 1
10462 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
10463 maybe-mostlyclean-byacc:
10465 mostlyclean-byacc:
10466 @[ -f ./byacc/Makefile ] || exit 0; \
10467 r=`${PWD}`; export r; \
10468 s=`cd $(srcdir); ${PWD}`; export s; \
10469 $(SET_LIB_PATH) \
10470 for flag in $(EXTRA_HOST_FLAGS); do \
10471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10472 done; \
10473 echo "Doing mostlyclean in byacc" ; \
10474 (cd byacc && \
10475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10477 "RANLIB=$${RANLIB}" \
10478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10479 mostlyclean) \
10480 || exit 1
10483 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
10484 maybe-mostlyclean-bzip2:
10486 mostlyclean-bzip2:
10487 @[ -f ./bzip2/Makefile ] || exit 0; \
10488 r=`${PWD}`; export r; \
10489 s=`cd $(srcdir); ${PWD}`; export s; \
10490 $(SET_LIB_PATH) \
10491 for flag in $(EXTRA_HOST_FLAGS); do \
10492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10493 done; \
10494 echo "Doing mostlyclean in bzip2" ; \
10495 (cd bzip2 && \
10496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10498 "RANLIB=$${RANLIB}" \
10499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10500 mostlyclean) \
10501 || exit 1
10504 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10505 maybe-mostlyclean-dejagnu:
10507 mostlyclean-dejagnu:
10508 @[ -f ./dejagnu/Makefile ] || exit 0; \
10509 r=`${PWD}`; export r; \
10510 s=`cd $(srcdir); ${PWD}`; export s; \
10511 $(SET_LIB_PATH) \
10512 for flag in $(EXTRA_HOST_FLAGS); do \
10513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10514 done; \
10515 echo "Doing mostlyclean in dejagnu" ; \
10516 (cd dejagnu && \
10517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10519 "RANLIB=$${RANLIB}" \
10520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10521 mostlyclean) \
10522 || exit 1
10525 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10526 maybe-mostlyclean-diff:
10528 mostlyclean-diff:
10529 @[ -f ./diff/Makefile ] || exit 0; \
10530 r=`${PWD}`; export r; \
10531 s=`cd $(srcdir); ${PWD}`; export s; \
10532 $(SET_LIB_PATH) \
10533 for flag in $(EXTRA_HOST_FLAGS); do \
10534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10535 done; \
10536 echo "Doing mostlyclean in diff" ; \
10537 (cd diff && \
10538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10540 "RANLIB=$${RANLIB}" \
10541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10542 mostlyclean) \
10543 || exit 1
10546 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10547 maybe-mostlyclean-dosutils:
10549 mostlyclean-dosutils:
10550 @[ -f ./dosutils/Makefile ] || exit 0; \
10551 r=`${PWD}`; export r; \
10552 s=`cd $(srcdir); ${PWD}`; export s; \
10553 $(SET_LIB_PATH) \
10554 for flag in $(EXTRA_HOST_FLAGS); do \
10555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10556 done; \
10557 echo "Doing mostlyclean in dosutils" ; \
10558 (cd dosutils && \
10559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10561 "RANLIB=$${RANLIB}" \
10562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10563 mostlyclean) \
10564 || exit 1
10567 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10568 maybe-mostlyclean-etc:
10570 mostlyclean-etc:
10571 @[ -f ./etc/Makefile ] || exit 0; \
10572 r=`${PWD}`; export r; \
10573 s=`cd $(srcdir); ${PWD}`; export s; \
10574 $(SET_LIB_PATH) \
10575 for flag in $(EXTRA_HOST_FLAGS); do \
10576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10577 done; \
10578 echo "Doing mostlyclean in etc" ; \
10579 (cd etc && \
10580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10582 "RANLIB=$${RANLIB}" \
10583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10584 mostlyclean) \
10585 || exit 1
10588 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10589 maybe-mostlyclean-fastjar:
10591 mostlyclean-fastjar:
10592 @[ -f ./fastjar/Makefile ] || exit 0; \
10593 r=`${PWD}`; export r; \
10594 s=`cd $(srcdir); ${PWD}`; export s; \
10595 $(SET_LIB_PATH) \
10596 for flag in $(EXTRA_HOST_FLAGS); do \
10597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10598 done; \
10599 echo "Doing mostlyclean in fastjar" ; \
10600 (cd fastjar && \
10601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10603 "RANLIB=$${RANLIB}" \
10604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10605 mostlyclean) \
10606 || exit 1
10609 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10610 maybe-mostlyclean-fileutils:
10612 mostlyclean-fileutils:
10613 @[ -f ./fileutils/Makefile ] || exit 0; \
10614 r=`${PWD}`; export r; \
10615 s=`cd $(srcdir); ${PWD}`; export s; \
10616 $(SET_LIB_PATH) \
10617 for flag in $(EXTRA_HOST_FLAGS); do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619 done; \
10620 echo "Doing mostlyclean in fileutils" ; \
10621 (cd fileutils && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10626 mostlyclean) \
10627 || exit 1
10630 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10631 maybe-mostlyclean-findutils:
10633 mostlyclean-findutils:
10634 @[ -f ./findutils/Makefile ] || exit 0; \
10635 r=`${PWD}`; export r; \
10636 s=`cd $(srcdir); ${PWD}`; export s; \
10637 $(SET_LIB_PATH) \
10638 for flag in $(EXTRA_HOST_FLAGS); do \
10639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10640 done; \
10641 echo "Doing mostlyclean in findutils" ; \
10642 (cd findutils && \
10643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10645 "RANLIB=$${RANLIB}" \
10646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10647 mostlyclean) \
10648 || exit 1
10651 .PHONY: maybe-mostlyclean-find mostlyclean-find
10652 maybe-mostlyclean-find:
10654 mostlyclean-find:
10655 @[ -f ./find/Makefile ] || exit 0; \
10656 r=`${PWD}`; export r; \
10657 s=`cd $(srcdir); ${PWD}`; export s; \
10658 $(SET_LIB_PATH) \
10659 for flag in $(EXTRA_HOST_FLAGS); do \
10660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10661 done; \
10662 echo "Doing mostlyclean in find" ; \
10663 (cd find && \
10664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10666 "RANLIB=$${RANLIB}" \
10667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10668 mostlyclean) \
10669 || exit 1
10672 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10673 maybe-mostlyclean-flex:
10675 mostlyclean-flex:
10676 @[ -f ./flex/Makefile ] || exit 0; \
10677 r=`${PWD}`; export r; \
10678 s=`cd $(srcdir); ${PWD}`; export s; \
10679 $(SET_LIB_PATH) \
10680 for flag in $(EXTRA_HOST_FLAGS); do \
10681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10682 done; \
10683 echo "Doing mostlyclean in flex" ; \
10684 (cd flex && \
10685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10687 "RANLIB=$${RANLIB}" \
10688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10689 mostlyclean) \
10690 || exit 1
10693 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10694 maybe-mostlyclean-gas:
10696 mostlyclean-gas:
10697 @[ -f ./gas/Makefile ] || exit 0; \
10698 r=`${PWD}`; export r; \
10699 s=`cd $(srcdir); ${PWD}`; export s; \
10700 $(SET_LIB_PATH) \
10701 for flag in $(EXTRA_HOST_FLAGS); do \
10702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10703 done; \
10704 echo "Doing mostlyclean in gas" ; \
10705 (cd gas && \
10706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10708 "RANLIB=$${RANLIB}" \
10709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10710 mostlyclean) \
10711 || exit 1
10714 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10715 maybe-mostlyclean-gawk:
10717 mostlyclean-gawk:
10718 @[ -f ./gawk/Makefile ] || exit 0; \
10719 r=`${PWD}`; export r; \
10720 s=`cd $(srcdir); ${PWD}`; export s; \
10721 $(SET_LIB_PATH) \
10722 for flag in $(EXTRA_HOST_FLAGS); do \
10723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10724 done; \
10725 echo "Doing mostlyclean in gawk" ; \
10726 (cd gawk && \
10727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10729 "RANLIB=$${RANLIB}" \
10730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10731 mostlyclean) \
10732 || exit 1
10735 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10736 maybe-mostlyclean-gettext:
10738 mostlyclean-gettext:
10739 @[ -f ./gettext/Makefile ] || exit 0; \
10740 r=`${PWD}`; export r; \
10741 s=`cd $(srcdir); ${PWD}`; export s; \
10742 $(SET_LIB_PATH) \
10743 for flag in $(EXTRA_HOST_FLAGS); do \
10744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10745 done; \
10746 echo "Doing mostlyclean in gettext" ; \
10747 (cd gettext && \
10748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10750 "RANLIB=$${RANLIB}" \
10751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10752 mostlyclean) \
10753 || exit 1
10756 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10757 maybe-mostlyclean-gnuserv:
10759 mostlyclean-gnuserv:
10760 @[ -f ./gnuserv/Makefile ] || exit 0; \
10761 r=`${PWD}`; export r; \
10762 s=`cd $(srcdir); ${PWD}`; export s; \
10763 $(SET_LIB_PATH) \
10764 for flag in $(EXTRA_HOST_FLAGS); do \
10765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10766 done; \
10767 echo "Doing mostlyclean in gnuserv" ; \
10768 (cd gnuserv && \
10769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10771 "RANLIB=$${RANLIB}" \
10772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10773 mostlyclean) \
10774 || exit 1
10777 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10778 maybe-mostlyclean-gprof:
10780 mostlyclean-gprof:
10781 @[ -f ./gprof/Makefile ] || exit 0; \
10782 r=`${PWD}`; export r; \
10783 s=`cd $(srcdir); ${PWD}`; export s; \
10784 $(SET_LIB_PATH) \
10785 for flag in $(EXTRA_HOST_FLAGS); do \
10786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10787 done; \
10788 echo "Doing mostlyclean in gprof" ; \
10789 (cd gprof && \
10790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10792 "RANLIB=$${RANLIB}" \
10793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10794 mostlyclean) \
10795 || exit 1
10798 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10799 maybe-mostlyclean-gzip:
10801 mostlyclean-gzip:
10802 @[ -f ./gzip/Makefile ] || exit 0; \
10803 r=`${PWD}`; export r; \
10804 s=`cd $(srcdir); ${PWD}`; export s; \
10805 $(SET_LIB_PATH) \
10806 for flag in $(EXTRA_HOST_FLAGS); do \
10807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10808 done; \
10809 echo "Doing mostlyclean in gzip" ; \
10810 (cd gzip && \
10811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10813 "RANLIB=$${RANLIB}" \
10814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10815 mostlyclean) \
10816 || exit 1
10819 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10820 maybe-mostlyclean-hello:
10822 mostlyclean-hello:
10823 @[ -f ./hello/Makefile ] || exit 0; \
10824 r=`${PWD}`; export r; \
10825 s=`cd $(srcdir); ${PWD}`; export s; \
10826 $(SET_LIB_PATH) \
10827 for flag in $(EXTRA_HOST_FLAGS); do \
10828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10829 done; \
10830 echo "Doing mostlyclean in hello" ; \
10831 (cd hello && \
10832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10834 "RANLIB=$${RANLIB}" \
10835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10836 mostlyclean) \
10837 || exit 1
10840 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10841 maybe-mostlyclean-indent:
10843 mostlyclean-indent:
10844 @[ -f ./indent/Makefile ] || exit 0; \
10845 r=`${PWD}`; export r; \
10846 s=`cd $(srcdir); ${PWD}`; export s; \
10847 $(SET_LIB_PATH) \
10848 for flag in $(EXTRA_HOST_FLAGS); do \
10849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10850 done; \
10851 echo "Doing mostlyclean in indent" ; \
10852 (cd indent && \
10853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10855 "RANLIB=$${RANLIB}" \
10856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 mostlyclean) \
10858 || exit 1
10861 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10862 maybe-mostlyclean-intl:
10864 mostlyclean-intl:
10865 @[ -f ./intl/Makefile ] || exit 0; \
10866 r=`${PWD}`; export r; \
10867 s=`cd $(srcdir); ${PWD}`; export s; \
10868 $(SET_LIB_PATH) \
10869 for flag in $(EXTRA_HOST_FLAGS); do \
10870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10871 done; \
10872 echo "Doing mostlyclean in intl" ; \
10873 (cd intl && \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10876 "RANLIB=$${RANLIB}" \
10877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10878 mostlyclean) \
10879 || exit 1
10882 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10883 maybe-mostlyclean-tcl:
10885 # tcl doesn't support mostlyclean.
10886 mostlyclean-tcl:
10889 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
10890 maybe-mostlyclean-itcl:
10892 mostlyclean-itcl:
10893 @[ -f ./itcl/Makefile ] || exit 0; \
10894 r=`${PWD}`; export r; \
10895 s=`cd $(srcdir); ${PWD}`; export s; \
10896 $(SET_LIB_PATH) \
10897 for flag in $(EXTRA_HOST_FLAGS); do \
10898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10899 done; \
10900 echo "Doing mostlyclean in itcl" ; \
10901 (cd itcl && \
10902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10904 "RANLIB=$${RANLIB}" \
10905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10906 mostlyclean) \
10907 || exit 1
10910 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10911 maybe-mostlyclean-ld:
10913 mostlyclean-ld:
10914 @[ -f ./ld/Makefile ] || exit 0; \
10915 r=`${PWD}`; export r; \
10916 s=`cd $(srcdir); ${PWD}`; export s; \
10917 $(SET_LIB_PATH) \
10918 for flag in $(EXTRA_HOST_FLAGS); do \
10919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10920 done; \
10921 echo "Doing mostlyclean in ld" ; \
10922 (cd ld && \
10923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10925 "RANLIB=$${RANLIB}" \
10926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10927 mostlyclean) \
10928 || exit 1
10931 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10932 maybe-mostlyclean-libgui:
10934 mostlyclean-libgui:
10935 @[ -f ./libgui/Makefile ] || exit 0; \
10936 r=`${PWD}`; export r; \
10937 s=`cd $(srcdir); ${PWD}`; export s; \
10938 $(SET_LIB_PATH) \
10939 for flag in $(EXTRA_HOST_FLAGS); do \
10940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10941 done; \
10942 echo "Doing mostlyclean in libgui" ; \
10943 (cd libgui && \
10944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10946 "RANLIB=$${RANLIB}" \
10947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10948 mostlyclean) \
10949 || exit 1
10952 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10953 maybe-mostlyclean-libiberty:
10955 mostlyclean-libiberty:
10956 @[ -f ./libiberty/Makefile ] || exit 0; \
10957 r=`${PWD}`; export r; \
10958 s=`cd $(srcdir); ${PWD}`; export s; \
10959 $(SET_LIB_PATH) \
10960 for flag in $(EXTRA_HOST_FLAGS); do \
10961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10962 done; \
10963 echo "Doing mostlyclean in libiberty" ; \
10964 (cd libiberty && \
10965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10967 "RANLIB=$${RANLIB}" \
10968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10969 mostlyclean) \
10970 || exit 1
10973 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10974 maybe-mostlyclean-libtool:
10976 mostlyclean-libtool:
10977 @[ -f ./libtool/Makefile ] || exit 0; \
10978 r=`${PWD}`; export r; \
10979 s=`cd $(srcdir); ${PWD}`; export s; \
10980 $(SET_LIB_PATH) \
10981 for flag in $(EXTRA_HOST_FLAGS); do \
10982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10983 done; \
10984 echo "Doing mostlyclean in libtool" ; \
10985 (cd libtool && \
10986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10988 "RANLIB=$${RANLIB}" \
10989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10990 mostlyclean) \
10991 || exit 1
10994 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
10995 maybe-mostlyclean-m4:
10997 mostlyclean-m4:
10998 @[ -f ./m4/Makefile ] || exit 0; \
10999 r=`${PWD}`; export r; \
11000 s=`cd $(srcdir); ${PWD}`; export s; \
11001 $(SET_LIB_PATH) \
11002 for flag in $(EXTRA_HOST_FLAGS); do \
11003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11004 done; \
11005 echo "Doing mostlyclean in m4" ; \
11006 (cd m4 && \
11007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11009 "RANLIB=$${RANLIB}" \
11010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11011 mostlyclean) \
11012 || exit 1
11015 .PHONY: maybe-mostlyclean-make mostlyclean-make
11016 maybe-mostlyclean-make:
11018 mostlyclean-make:
11019 @[ -f ./make/Makefile ] || exit 0; \
11020 r=`${PWD}`; export r; \
11021 s=`cd $(srcdir); ${PWD}`; export s; \
11022 $(SET_LIB_PATH) \
11023 for flag in $(EXTRA_HOST_FLAGS); do \
11024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11025 done; \
11026 echo "Doing mostlyclean in make" ; \
11027 (cd make && \
11028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11030 "RANLIB=$${RANLIB}" \
11031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11032 mostlyclean) \
11033 || exit 1
11036 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11037 maybe-mostlyclean-mmalloc:
11039 mostlyclean-mmalloc:
11040 @[ -f ./mmalloc/Makefile ] || exit 0; \
11041 r=`${PWD}`; export r; \
11042 s=`cd $(srcdir); ${PWD}`; export s; \
11043 $(SET_LIB_PATH) \
11044 for flag in $(EXTRA_HOST_FLAGS); do \
11045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11046 done; \
11047 echo "Doing mostlyclean in mmalloc" ; \
11048 (cd mmalloc && \
11049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11051 "RANLIB=$${RANLIB}" \
11052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11053 mostlyclean) \
11054 || exit 1
11057 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11058 maybe-mostlyclean-patch:
11060 mostlyclean-patch:
11061 @[ -f ./patch/Makefile ] || exit 0; \
11062 r=`${PWD}`; export r; \
11063 s=`cd $(srcdir); ${PWD}`; export s; \
11064 $(SET_LIB_PATH) \
11065 for flag in $(EXTRA_HOST_FLAGS); do \
11066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11067 done; \
11068 echo "Doing mostlyclean in patch" ; \
11069 (cd patch && \
11070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11072 "RANLIB=$${RANLIB}" \
11073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11074 mostlyclean) \
11075 || exit 1
11078 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
11079 maybe-mostlyclean-perl:
11081 mostlyclean-perl:
11082 @[ -f ./perl/Makefile ] || exit 0; \
11083 r=`${PWD}`; export r; \
11084 s=`cd $(srcdir); ${PWD}`; export s; \
11085 $(SET_LIB_PATH) \
11086 for flag in $(EXTRA_HOST_FLAGS); do \
11087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11088 done; \
11089 echo "Doing mostlyclean in perl" ; \
11090 (cd perl && \
11091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11093 "RANLIB=$${RANLIB}" \
11094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11095 mostlyclean) \
11096 || exit 1
11099 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
11100 maybe-mostlyclean-prms:
11102 mostlyclean-prms:
11103 @[ -f ./prms/Makefile ] || exit 0; \
11104 r=`${PWD}`; export r; \
11105 s=`cd $(srcdir); ${PWD}`; export s; \
11106 $(SET_LIB_PATH) \
11107 for flag in $(EXTRA_HOST_FLAGS); do \
11108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 done; \
11110 echo "Doing mostlyclean in prms" ; \
11111 (cd prms && \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11114 "RANLIB=$${RANLIB}" \
11115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11116 mostlyclean) \
11117 || exit 1
11120 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
11121 maybe-mostlyclean-rcs:
11123 mostlyclean-rcs:
11124 @[ -f ./rcs/Makefile ] || exit 0; \
11125 r=`${PWD}`; export r; \
11126 s=`cd $(srcdir); ${PWD}`; export s; \
11127 $(SET_LIB_PATH) \
11128 for flag in $(EXTRA_HOST_FLAGS); do \
11129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11130 done; \
11131 echo "Doing mostlyclean in rcs" ; \
11132 (cd rcs && \
11133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11135 "RANLIB=$${RANLIB}" \
11136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11137 mostlyclean) \
11138 || exit 1
11141 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
11142 maybe-mostlyclean-readline:
11144 mostlyclean-readline:
11145 @[ -f ./readline/Makefile ] || exit 0; \
11146 r=`${PWD}`; export r; \
11147 s=`cd $(srcdir); ${PWD}`; export s; \
11148 $(SET_LIB_PATH) \
11149 for flag in $(EXTRA_HOST_FLAGS); do \
11150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11151 done; \
11152 echo "Doing mostlyclean in readline" ; \
11153 (cd readline && \
11154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11156 "RANLIB=$${RANLIB}" \
11157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11158 mostlyclean) \
11159 || exit 1
11162 .PHONY: maybe-mostlyclean-release mostlyclean-release
11163 maybe-mostlyclean-release:
11165 mostlyclean-release:
11166 @[ -f ./release/Makefile ] || exit 0; \
11167 r=`${PWD}`; export r; \
11168 s=`cd $(srcdir); ${PWD}`; export s; \
11169 $(SET_LIB_PATH) \
11170 for flag in $(EXTRA_HOST_FLAGS); do \
11171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11172 done; \
11173 echo "Doing mostlyclean in release" ; \
11174 (cd release && \
11175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11177 "RANLIB=$${RANLIB}" \
11178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11179 mostlyclean) \
11180 || exit 1
11183 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
11184 maybe-mostlyclean-recode:
11186 mostlyclean-recode:
11187 @[ -f ./recode/Makefile ] || exit 0; \
11188 r=`${PWD}`; export r; \
11189 s=`cd $(srcdir); ${PWD}`; export s; \
11190 $(SET_LIB_PATH) \
11191 for flag in $(EXTRA_HOST_FLAGS); do \
11192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11193 done; \
11194 echo "Doing mostlyclean in recode" ; \
11195 (cd recode && \
11196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11198 "RANLIB=$${RANLIB}" \
11199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11200 mostlyclean) \
11201 || exit 1
11204 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
11205 maybe-mostlyclean-sed:
11207 mostlyclean-sed:
11208 @[ -f ./sed/Makefile ] || exit 0; \
11209 r=`${PWD}`; export r; \
11210 s=`cd $(srcdir); ${PWD}`; export s; \
11211 $(SET_LIB_PATH) \
11212 for flag in $(EXTRA_HOST_FLAGS); do \
11213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11214 done; \
11215 echo "Doing mostlyclean in sed" ; \
11216 (cd sed && \
11217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11219 "RANLIB=$${RANLIB}" \
11220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11221 mostlyclean) \
11222 || exit 1
11225 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
11226 maybe-mostlyclean-send-pr:
11228 mostlyclean-send-pr:
11229 @[ -f ./send-pr/Makefile ] || exit 0; \
11230 r=`${PWD}`; export r; \
11231 s=`cd $(srcdir); ${PWD}`; export s; \
11232 $(SET_LIB_PATH) \
11233 for flag in $(EXTRA_HOST_FLAGS); do \
11234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11235 done; \
11236 echo "Doing mostlyclean in send-pr" ; \
11237 (cd send-pr && \
11238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11240 "RANLIB=$${RANLIB}" \
11241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11242 mostlyclean) \
11243 || exit 1
11246 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
11247 maybe-mostlyclean-shellutils:
11249 mostlyclean-shellutils:
11250 @[ -f ./shellutils/Makefile ] || exit 0; \
11251 r=`${PWD}`; export r; \
11252 s=`cd $(srcdir); ${PWD}`; export s; \
11253 $(SET_LIB_PATH) \
11254 for flag in $(EXTRA_HOST_FLAGS); do \
11255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11256 done; \
11257 echo "Doing mostlyclean in shellutils" ; \
11258 (cd shellutils && \
11259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11261 "RANLIB=$${RANLIB}" \
11262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11263 mostlyclean) \
11264 || exit 1
11267 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
11268 maybe-mostlyclean-sid:
11270 mostlyclean-sid:
11271 @[ -f ./sid/Makefile ] || exit 0; \
11272 r=`${PWD}`; export r; \
11273 s=`cd $(srcdir); ${PWD}`; export s; \
11274 $(SET_LIB_PATH) \
11275 for flag in $(EXTRA_HOST_FLAGS); do \
11276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11277 done; \
11278 echo "Doing mostlyclean in sid" ; \
11279 (cd sid && \
11280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11282 "RANLIB=$${RANLIB}" \
11283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11284 mostlyclean) \
11285 || exit 1
11288 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
11289 maybe-mostlyclean-sim:
11291 mostlyclean-sim:
11292 @[ -f ./sim/Makefile ] || exit 0; \
11293 r=`${PWD}`; export r; \
11294 s=`cd $(srcdir); ${PWD}`; export s; \
11295 $(SET_LIB_PATH) \
11296 for flag in $(EXTRA_HOST_FLAGS); do \
11297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11298 done; \
11299 echo "Doing mostlyclean in sim" ; \
11300 (cd sim && \
11301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11303 "RANLIB=$${RANLIB}" \
11304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11305 mostlyclean) \
11306 || exit 1
11309 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
11310 maybe-mostlyclean-tar:
11312 mostlyclean-tar:
11313 @[ -f ./tar/Makefile ] || exit 0; \
11314 r=`${PWD}`; export r; \
11315 s=`cd $(srcdir); ${PWD}`; export s; \
11316 $(SET_LIB_PATH) \
11317 for flag in $(EXTRA_HOST_FLAGS); do \
11318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11319 done; \
11320 echo "Doing mostlyclean in tar" ; \
11321 (cd tar && \
11322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11324 "RANLIB=$${RANLIB}" \
11325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11326 mostlyclean) \
11327 || exit 1
11330 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
11331 maybe-mostlyclean-texinfo:
11333 mostlyclean-texinfo:
11334 @[ -f ./texinfo/Makefile ] || exit 0; \
11335 r=`${PWD}`; export r; \
11336 s=`cd $(srcdir); ${PWD}`; export s; \
11337 $(SET_LIB_PATH) \
11338 for flag in $(EXTRA_HOST_FLAGS); do \
11339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11340 done; \
11341 echo "Doing mostlyclean in texinfo" ; \
11342 (cd texinfo && \
11343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11345 "RANLIB=$${RANLIB}" \
11346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11347 mostlyclean) \
11348 || exit 1
11351 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
11352 maybe-mostlyclean-textutils:
11354 mostlyclean-textutils:
11355 @[ -f ./textutils/Makefile ] || exit 0; \
11356 r=`${PWD}`; export r; \
11357 s=`cd $(srcdir); ${PWD}`; export s; \
11358 $(SET_LIB_PATH) \
11359 for flag in $(EXTRA_HOST_FLAGS); do \
11360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11361 done; \
11362 echo "Doing mostlyclean in textutils" ; \
11363 (cd textutils && \
11364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11366 "RANLIB=$${RANLIB}" \
11367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11368 mostlyclean) \
11369 || exit 1
11372 .PHONY: maybe-mostlyclean-time mostlyclean-time
11373 maybe-mostlyclean-time:
11375 mostlyclean-time:
11376 @[ -f ./time/Makefile ] || exit 0; \
11377 r=`${PWD}`; export r; \
11378 s=`cd $(srcdir); ${PWD}`; export s; \
11379 $(SET_LIB_PATH) \
11380 for flag in $(EXTRA_HOST_FLAGS); do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11382 done; \
11383 echo "Doing mostlyclean in time" ; \
11384 (cd time && \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11389 mostlyclean) \
11390 || exit 1
11393 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
11394 maybe-mostlyclean-uudecode:
11396 mostlyclean-uudecode:
11397 @[ -f ./uudecode/Makefile ] || exit 0; \
11398 r=`${PWD}`; export r; \
11399 s=`cd $(srcdir); ${PWD}`; export s; \
11400 $(SET_LIB_PATH) \
11401 for flag in $(EXTRA_HOST_FLAGS); do \
11402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11403 done; \
11404 echo "Doing mostlyclean in uudecode" ; \
11405 (cd uudecode && \
11406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11408 "RANLIB=$${RANLIB}" \
11409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11410 mostlyclean) \
11411 || exit 1
11414 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
11415 maybe-mostlyclean-wdiff:
11417 mostlyclean-wdiff:
11418 @[ -f ./wdiff/Makefile ] || exit 0; \
11419 r=`${PWD}`; export r; \
11420 s=`cd $(srcdir); ${PWD}`; export s; \
11421 $(SET_LIB_PATH) \
11422 for flag in $(EXTRA_HOST_FLAGS); do \
11423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11424 done; \
11425 echo "Doing mostlyclean in wdiff" ; \
11426 (cd wdiff && \
11427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11429 "RANLIB=$${RANLIB}" \
11430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11431 mostlyclean) \
11432 || exit 1
11435 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
11436 maybe-mostlyclean-zip:
11438 mostlyclean-zip:
11439 @[ -f ./zip/Makefile ] || exit 0; \
11440 r=`${PWD}`; export r; \
11441 s=`cd $(srcdir); ${PWD}`; export s; \
11442 $(SET_LIB_PATH) \
11443 for flag in $(EXTRA_HOST_FLAGS); do \
11444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11445 done; \
11446 echo "Doing mostlyclean in zip" ; \
11447 (cd zip && \
11448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11450 "RANLIB=$${RANLIB}" \
11451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11452 mostlyclean) \
11453 || exit 1
11456 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
11457 maybe-mostlyclean-zlib:
11459 mostlyclean-zlib:
11460 @[ -f ./zlib/Makefile ] || exit 0; \
11461 r=`${PWD}`; export r; \
11462 s=`cd $(srcdir); ${PWD}`; export s; \
11463 $(SET_LIB_PATH) \
11464 for flag in $(EXTRA_HOST_FLAGS); do \
11465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11466 done; \
11467 echo "Doing mostlyclean in zlib" ; \
11468 (cd zlib && \
11469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11471 "RANLIB=$${RANLIB}" \
11472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11473 mostlyclean) \
11474 || exit 1
11477 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
11478 maybe-mostlyclean-gdb:
11480 mostlyclean-gdb:
11481 @[ -f ./gdb/Makefile ] || exit 0; \
11482 r=`${PWD}`; export r; \
11483 s=`cd $(srcdir); ${PWD}`; export s; \
11484 $(SET_LIB_PATH) \
11485 for flag in $(EXTRA_HOST_FLAGS); do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487 done; \
11488 echo "Doing mostlyclean in gdb" ; \
11489 (cd gdb && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494 mostlyclean) \
11495 || exit 1
11498 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
11499 maybe-mostlyclean-expect:
11501 mostlyclean-expect:
11502 @[ -f ./expect/Makefile ] || exit 0; \
11503 r=`${PWD}`; export r; \
11504 s=`cd $(srcdir); ${PWD}`; export s; \
11505 $(SET_LIB_PATH) \
11506 for flag in $(EXTRA_HOST_FLAGS); do \
11507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11508 done; \
11509 echo "Doing mostlyclean in expect" ; \
11510 (cd expect && \
11511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513 "RANLIB=$${RANLIB}" \
11514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11515 mostlyclean) \
11516 || exit 1
11519 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
11520 maybe-mostlyclean-guile:
11522 mostlyclean-guile:
11523 @[ -f ./guile/Makefile ] || exit 0; \
11524 r=`${PWD}`; export r; \
11525 s=`cd $(srcdir); ${PWD}`; export s; \
11526 $(SET_LIB_PATH) \
11527 for flag in $(EXTRA_HOST_FLAGS); do \
11528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11529 done; \
11530 echo "Doing mostlyclean in guile" ; \
11531 (cd guile && \
11532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11534 "RANLIB=$${RANLIB}" \
11535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11536 mostlyclean) \
11537 || exit 1
11540 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
11541 maybe-mostlyclean-tk:
11543 mostlyclean-tk:
11544 @[ -f ./tk/Makefile ] || exit 0; \
11545 r=`${PWD}`; export r; \
11546 s=`cd $(srcdir); ${PWD}`; export s; \
11547 $(SET_LIB_PATH) \
11548 for flag in $(EXTRA_HOST_FLAGS); do \
11549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11550 done; \
11551 echo "Doing mostlyclean in tk" ; \
11552 (cd tk && \
11553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11555 "RANLIB=$${RANLIB}" \
11556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11557 mostlyclean) \
11558 || exit 1
11561 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
11562 maybe-mostlyclean-tix:
11564 mostlyclean-tix:
11565 @[ -f ./tix/Makefile ] || exit 0; \
11566 r=`${PWD}`; export r; \
11567 s=`cd $(srcdir); ${PWD}`; export s; \
11568 $(SET_LIB_PATH) \
11569 for flag in $(EXTRA_HOST_FLAGS); do \
11570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11571 done; \
11572 echo "Doing mostlyclean in tix" ; \
11573 (cd tix && \
11574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11576 "RANLIB=$${RANLIB}" \
11577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11578 mostlyclean) \
11579 || exit 1
11582 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
11583 maybe-mostlyclean-libtermcap:
11585 # libtermcap doesn't support mostlyclean.
11586 mostlyclean-libtermcap:
11589 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
11590 maybe-mostlyclean-utils:
11592 mostlyclean-utils:
11593 @[ -f ./utils/Makefile ] || exit 0; \
11594 r=`${PWD}`; export r; \
11595 s=`cd $(srcdir); ${PWD}`; export s; \
11596 $(SET_LIB_PATH) \
11597 for flag in $(EXTRA_HOST_FLAGS); do \
11598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11599 done; \
11600 echo "Doing mostlyclean in utils" ; \
11601 (cd utils && \
11602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11604 "RANLIB=$${RANLIB}" \
11605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11606 mostlyclean) \
11607 || exit 1
11611 # Target modules.
11613 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
11614 maybe-mostlyclean-target-libstdc++-v3:
11616 mostlyclean-target-libstdc++-v3:
11617 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
11618 r=`${PWD}`; export r; \
11619 s=`cd $(srcdir); ${PWD}`; export s; \
11620 $(SET_LIB_PATH) \
11621 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
11622 for flag in $(EXTRA_TARGET_FLAGS); do \
11623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11624 done; \
11625 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
11626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11628 "RANLIB=$${RANLIB}" \
11629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11630 mostlyclean) \
11631 || exit 1
11634 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
11635 maybe-mostlyclean-target-newlib:
11637 mostlyclean-target-newlib:
11638 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
11639 r=`${PWD}`; export r; \
11640 s=`cd $(srcdir); ${PWD}`; export s; \
11641 $(SET_LIB_PATH) \
11642 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
11643 for flag in $(EXTRA_TARGET_FLAGS); do \
11644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11645 done; \
11646 (cd $(TARGET_SUBDIR)/newlib && \
11647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11649 "RANLIB=$${RANLIB}" \
11650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11651 mostlyclean) \
11652 || exit 1
11655 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
11656 maybe-mostlyclean-target-libf2c:
11658 mostlyclean-target-libf2c:
11659 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
11660 r=`${PWD}`; export r; \
11661 s=`cd $(srcdir); ${PWD}`; export s; \
11662 $(SET_LIB_PATH) \
11663 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
11664 for flag in $(EXTRA_TARGET_FLAGS); do \
11665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11666 done; \
11667 (cd $(TARGET_SUBDIR)/libf2c && \
11668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11670 "RANLIB=$${RANLIB}" \
11671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11672 mostlyclean) \
11673 || exit 1
11676 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
11677 maybe-mostlyclean-target-libobjc:
11679 mostlyclean-target-libobjc:
11680 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
11681 r=`${PWD}`; export r; \
11682 s=`cd $(srcdir); ${PWD}`; export s; \
11683 $(SET_LIB_PATH) \
11684 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
11685 for flag in $(EXTRA_TARGET_FLAGS); do \
11686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11687 done; \
11688 (cd $(TARGET_SUBDIR)/libobjc && \
11689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11691 "RANLIB=$${RANLIB}" \
11692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11693 mostlyclean) \
11694 || exit 1
11697 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
11698 maybe-mostlyclean-target-libtermcap:
11700 # libtermcap doesn't support mostlyclean.
11701 mostlyclean-target-libtermcap:
11704 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
11705 maybe-mostlyclean-target-winsup:
11707 mostlyclean-target-winsup:
11708 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
11709 r=`${PWD}`; export r; \
11710 s=`cd $(srcdir); ${PWD}`; export s; \
11711 $(SET_LIB_PATH) \
11712 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
11713 for flag in $(EXTRA_TARGET_FLAGS); do \
11714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11715 done; \
11716 (cd $(TARGET_SUBDIR)/winsup && \
11717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11719 "RANLIB=$${RANLIB}" \
11720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11721 mostlyclean) \
11722 || exit 1
11725 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
11726 maybe-mostlyclean-target-libgloss:
11728 mostlyclean-target-libgloss:
11729 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
11730 r=`${PWD}`; export r; \
11731 s=`cd $(srcdir); ${PWD}`; export s; \
11732 $(SET_LIB_PATH) \
11733 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
11734 for flag in $(EXTRA_TARGET_FLAGS); do \
11735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11736 done; \
11737 (cd $(TARGET_SUBDIR)/libgloss && \
11738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11740 "RANLIB=$${RANLIB}" \
11741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11742 mostlyclean) \
11743 || exit 1
11746 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
11747 maybe-mostlyclean-target-libiberty:
11749 mostlyclean-target-libiberty:
11750 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
11751 r=`${PWD}`; export r; \
11752 s=`cd $(srcdir); ${PWD}`; export s; \
11753 $(SET_LIB_PATH) \
11754 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
11755 for flag in $(EXTRA_TARGET_FLAGS); do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 (cd $(TARGET_SUBDIR)/libiberty && \
11759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11761 "RANLIB=$${RANLIB}" \
11762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11763 mostlyclean) \
11764 || exit 1
11767 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
11768 maybe-mostlyclean-target-gperf:
11770 mostlyclean-target-gperf:
11771 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
11772 r=`${PWD}`; export r; \
11773 s=`cd $(srcdir); ${PWD}`; export s; \
11774 $(SET_LIB_PATH) \
11775 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
11776 for flag in $(EXTRA_TARGET_FLAGS); do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 (cd $(TARGET_SUBDIR)/gperf && \
11780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11782 "RANLIB=$${RANLIB}" \
11783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11784 mostlyclean) \
11785 || exit 1
11788 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
11789 maybe-mostlyclean-target-examples:
11791 mostlyclean-target-examples:
11792 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
11793 r=`${PWD}`; export r; \
11794 s=`cd $(srcdir); ${PWD}`; export s; \
11795 $(SET_LIB_PATH) \
11796 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
11797 for flag in $(EXTRA_TARGET_FLAGS); do \
11798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11799 done; \
11800 (cd $(TARGET_SUBDIR)/examples && \
11801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11803 "RANLIB=$${RANLIB}" \
11804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11805 mostlyclean) \
11806 || exit 1
11809 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
11810 maybe-mostlyclean-target-libffi:
11812 mostlyclean-target-libffi:
11813 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
11814 r=`${PWD}`; export r; \
11815 s=`cd $(srcdir); ${PWD}`; export s; \
11816 $(SET_LIB_PATH) \
11817 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
11818 for flag in $(EXTRA_TARGET_FLAGS); do \
11819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11820 done; \
11821 (cd $(TARGET_SUBDIR)/libffi && \
11822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11824 "RANLIB=$${RANLIB}" \
11825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11826 mostlyclean) \
11827 || exit 1
11830 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
11831 maybe-mostlyclean-target-libjava:
11833 mostlyclean-target-libjava:
11834 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
11835 r=`${PWD}`; export r; \
11836 s=`cd $(srcdir); ${PWD}`; export s; \
11837 $(SET_LIB_PATH) \
11838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
11839 for flag in $(EXTRA_TARGET_FLAGS); do \
11840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11841 done; \
11842 (cd $(TARGET_SUBDIR)/libjava && \
11843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11845 "RANLIB=$${RANLIB}" \
11846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11847 mostlyclean) \
11848 || exit 1
11851 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
11852 maybe-mostlyclean-target-zlib:
11854 mostlyclean-target-zlib:
11855 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
11856 r=`${PWD}`; export r; \
11857 s=`cd $(srcdir); ${PWD}`; export s; \
11858 $(SET_LIB_PATH) \
11859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
11860 for flag in $(EXTRA_TARGET_FLAGS); do \
11861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11862 done; \
11863 (cd $(TARGET_SUBDIR)/zlib && \
11864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11866 "RANLIB=$${RANLIB}" \
11867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11868 mostlyclean) \
11869 || exit 1
11872 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
11873 maybe-mostlyclean-target-boehm-gc:
11875 mostlyclean-target-boehm-gc:
11876 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
11877 r=`${PWD}`; export r; \
11878 s=`cd $(srcdir); ${PWD}`; export s; \
11879 $(SET_LIB_PATH) \
11880 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
11881 for flag in $(EXTRA_TARGET_FLAGS); do \
11882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11883 done; \
11884 (cd $(TARGET_SUBDIR)/boehm-gc && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11889 mostlyclean) \
11890 || exit 1
11893 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
11894 maybe-mostlyclean-target-qthreads:
11896 mostlyclean-target-qthreads:
11897 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
11898 r=`${PWD}`; export r; \
11899 s=`cd $(srcdir); ${PWD}`; export s; \
11900 $(SET_LIB_PATH) \
11901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
11902 for flag in $(EXTRA_TARGET_FLAGS); do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 (cd $(TARGET_SUBDIR)/qthreads && \
11906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11908 "RANLIB=$${RANLIB}" \
11909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11910 mostlyclean) \
11911 || exit 1
11914 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
11915 maybe-mostlyclean-target-rda:
11917 mostlyclean-target-rda:
11918 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
11919 r=`${PWD}`; export r; \
11920 s=`cd $(srcdir); ${PWD}`; export s; \
11921 $(SET_LIB_PATH) \
11922 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
11923 for flag in $(EXTRA_TARGET_FLAGS); do \
11924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11925 done; \
11926 (cd $(TARGET_SUBDIR)/rda && \
11927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11929 "RANLIB=$${RANLIB}" \
11930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11931 mostlyclean) \
11932 || exit 1
11936 .PHONY: do-clean
11937 do-clean: clean-host clean-target
11939 .PHONY: clean-host
11940 clean-host: maybe-clean-gcc \
11941 maybe-clean-ash \
11942 maybe-clean-autoconf \
11943 maybe-clean-automake \
11944 maybe-clean-bash \
11945 maybe-clean-bfd \
11946 maybe-clean-opcodes \
11947 maybe-clean-binutils \
11948 maybe-clean-bison \
11949 maybe-clean-byacc \
11950 maybe-clean-bzip2 \
11951 maybe-clean-dejagnu \
11952 maybe-clean-diff \
11953 maybe-clean-dosutils \
11954 maybe-clean-etc \
11955 maybe-clean-fastjar \
11956 maybe-clean-fileutils \
11957 maybe-clean-findutils \
11958 maybe-clean-find \
11959 maybe-clean-flex \
11960 maybe-clean-gas \
11961 maybe-clean-gawk \
11962 maybe-clean-gettext \
11963 maybe-clean-gnuserv \
11964 maybe-clean-gprof \
11965 maybe-clean-gzip \
11966 maybe-clean-hello \
11967 maybe-clean-indent \
11968 maybe-clean-intl \
11969 maybe-clean-tcl \
11970 maybe-clean-itcl \
11971 maybe-clean-ld \
11972 maybe-clean-libgui \
11973 maybe-clean-libiberty \
11974 maybe-clean-libtool \
11975 maybe-clean-m4 \
11976 maybe-clean-make \
11977 maybe-clean-mmalloc \
11978 maybe-clean-patch \
11979 maybe-clean-perl \
11980 maybe-clean-prms \
11981 maybe-clean-rcs \
11982 maybe-clean-readline \
11983 maybe-clean-release \
11984 maybe-clean-recode \
11985 maybe-clean-sed \
11986 maybe-clean-send-pr \
11987 maybe-clean-shellutils \
11988 maybe-clean-sid \
11989 maybe-clean-sim \
11990 maybe-clean-tar \
11991 maybe-clean-texinfo \
11992 maybe-clean-textutils \
11993 maybe-clean-time \
11994 maybe-clean-uudecode \
11995 maybe-clean-wdiff \
11996 maybe-clean-zip \
11997 maybe-clean-zlib \
11998 maybe-clean-gdb \
11999 maybe-clean-expect \
12000 maybe-clean-guile \
12001 maybe-clean-tk \
12002 maybe-clean-tix \
12003 maybe-clean-libtermcap \
12004 maybe-clean-utils
12006 .PHONY: clean-target
12007 clean-target: \
12008 maybe-clean-target-libstdc++-v3 \
12009 maybe-clean-target-newlib \
12010 maybe-clean-target-libf2c \
12011 maybe-clean-target-libobjc \
12012 maybe-clean-target-libtermcap \
12013 maybe-clean-target-winsup \
12014 maybe-clean-target-libgloss \
12015 maybe-clean-target-libiberty \
12016 maybe-clean-target-gperf \
12017 maybe-clean-target-examples \
12018 maybe-clean-target-libffi \
12019 maybe-clean-target-libjava \
12020 maybe-clean-target-zlib \
12021 maybe-clean-target-boehm-gc \
12022 maybe-clean-target-qthreads \
12023 maybe-clean-target-rda
12025 # GCC, the eternal special case
12026 .PHONY: maybe-clean-gcc clean-gcc
12027 maybe-clean-gcc:
12028 clean-gcc:
12029 @[ -f ./gcc/Makefile ] || exit 0; \
12030 r=`${PWD}`; export r; \
12031 s=`cd $(srcdir); ${PWD}`; export s; \
12032 $(SET_LIB_PATH) \
12033 for flag in $(EXTRA_GCC_FLAGS); do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing clean in gcc" ; \
12037 (cd gcc && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12042 clean) \
12043 || exit 1
12045 # Host modules.
12047 .PHONY: maybe-clean-ash clean-ash
12048 maybe-clean-ash:
12050 clean-ash:
12051 @[ -f ./ash/Makefile ] || exit 0; \
12052 r=`${PWD}`; export r; \
12053 s=`cd $(srcdir); ${PWD}`; export s; \
12054 $(SET_LIB_PATH) \
12055 for flag in $(EXTRA_HOST_FLAGS); do \
12056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12057 done; \
12058 echo "Doing clean in ash" ; \
12059 (cd ash && \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062 "RANLIB=$${RANLIB}" \
12063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12064 clean) \
12065 || exit 1
12068 .PHONY: maybe-clean-autoconf clean-autoconf
12069 maybe-clean-autoconf:
12071 clean-autoconf:
12072 @[ -f ./autoconf/Makefile ] || exit 0; \
12073 r=`${PWD}`; export r; \
12074 s=`cd $(srcdir); ${PWD}`; export s; \
12075 $(SET_LIB_PATH) \
12076 for flag in $(EXTRA_HOST_FLAGS); do \
12077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12078 done; \
12079 echo "Doing clean in autoconf" ; \
12080 (cd autoconf && \
12081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12083 "RANLIB=$${RANLIB}" \
12084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12085 clean) \
12086 || exit 1
12089 .PHONY: maybe-clean-automake clean-automake
12090 maybe-clean-automake:
12092 clean-automake:
12093 @[ -f ./automake/Makefile ] || exit 0; \
12094 r=`${PWD}`; export r; \
12095 s=`cd $(srcdir); ${PWD}`; export s; \
12096 $(SET_LIB_PATH) \
12097 for flag in $(EXTRA_HOST_FLAGS); do \
12098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12099 done; \
12100 echo "Doing clean in automake" ; \
12101 (cd automake && \
12102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12104 "RANLIB=$${RANLIB}" \
12105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12106 clean) \
12107 || exit 1
12110 .PHONY: maybe-clean-bash clean-bash
12111 maybe-clean-bash:
12113 clean-bash:
12114 @[ -f ./bash/Makefile ] || exit 0; \
12115 r=`${PWD}`; export r; \
12116 s=`cd $(srcdir); ${PWD}`; export s; \
12117 $(SET_LIB_PATH) \
12118 for flag in $(EXTRA_HOST_FLAGS); do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12120 done; \
12121 echo "Doing clean in bash" ; \
12122 (cd bash && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12127 clean) \
12128 || exit 1
12131 .PHONY: maybe-clean-bfd clean-bfd
12132 maybe-clean-bfd:
12134 clean-bfd:
12135 @[ -f ./bfd/Makefile ] || exit 0; \
12136 r=`${PWD}`; export r; \
12137 s=`cd $(srcdir); ${PWD}`; export s; \
12138 $(SET_LIB_PATH) \
12139 for flag in $(EXTRA_HOST_FLAGS); do \
12140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12141 done; \
12142 echo "Doing clean in bfd" ; \
12143 (cd bfd && \
12144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12146 "RANLIB=$${RANLIB}" \
12147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12148 clean) \
12149 || exit 1
12152 .PHONY: maybe-clean-opcodes clean-opcodes
12153 maybe-clean-opcodes:
12155 clean-opcodes:
12156 @[ -f ./opcodes/Makefile ] || exit 0; \
12157 r=`${PWD}`; export r; \
12158 s=`cd $(srcdir); ${PWD}`; export s; \
12159 $(SET_LIB_PATH) \
12160 for flag in $(EXTRA_HOST_FLAGS); do \
12161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12162 done; \
12163 echo "Doing clean in opcodes" ; \
12164 (cd opcodes && \
12165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12167 "RANLIB=$${RANLIB}" \
12168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12169 clean) \
12170 || exit 1
12173 .PHONY: maybe-clean-binutils clean-binutils
12174 maybe-clean-binutils:
12176 clean-binutils:
12177 @[ -f ./binutils/Makefile ] || exit 0; \
12178 r=`${PWD}`; export r; \
12179 s=`cd $(srcdir); ${PWD}`; export s; \
12180 $(SET_LIB_PATH) \
12181 for flag in $(EXTRA_HOST_FLAGS); do \
12182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12183 done; \
12184 echo "Doing clean in binutils" ; \
12185 (cd binutils && \
12186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12188 "RANLIB=$${RANLIB}" \
12189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12190 clean) \
12191 || exit 1
12194 .PHONY: maybe-clean-bison clean-bison
12195 maybe-clean-bison:
12197 clean-bison:
12198 @[ -f ./bison/Makefile ] || exit 0; \
12199 r=`${PWD}`; export r; \
12200 s=`cd $(srcdir); ${PWD}`; export s; \
12201 $(SET_LIB_PATH) \
12202 for flag in $(EXTRA_HOST_FLAGS); do \
12203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12204 done; \
12205 echo "Doing clean in bison" ; \
12206 (cd bison && \
12207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12209 "RANLIB=$${RANLIB}" \
12210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12211 clean) \
12212 || exit 1
12215 .PHONY: maybe-clean-byacc clean-byacc
12216 maybe-clean-byacc:
12218 clean-byacc:
12219 @[ -f ./byacc/Makefile ] || exit 0; \
12220 r=`${PWD}`; export r; \
12221 s=`cd $(srcdir); ${PWD}`; export s; \
12222 $(SET_LIB_PATH) \
12223 for flag in $(EXTRA_HOST_FLAGS); do \
12224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12225 done; \
12226 echo "Doing clean in byacc" ; \
12227 (cd byacc && \
12228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12230 "RANLIB=$${RANLIB}" \
12231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12232 clean) \
12233 || exit 1
12236 .PHONY: maybe-clean-bzip2 clean-bzip2
12237 maybe-clean-bzip2:
12239 clean-bzip2:
12240 @[ -f ./bzip2/Makefile ] || exit 0; \
12241 r=`${PWD}`; export r; \
12242 s=`cd $(srcdir); ${PWD}`; export s; \
12243 $(SET_LIB_PATH) \
12244 for flag in $(EXTRA_HOST_FLAGS); do \
12245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12246 done; \
12247 echo "Doing clean in bzip2" ; \
12248 (cd bzip2 && \
12249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12251 "RANLIB=$${RANLIB}" \
12252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12253 clean) \
12254 || exit 1
12257 .PHONY: maybe-clean-dejagnu clean-dejagnu
12258 maybe-clean-dejagnu:
12260 clean-dejagnu:
12261 @[ -f ./dejagnu/Makefile ] || exit 0; \
12262 r=`${PWD}`; export r; \
12263 s=`cd $(srcdir); ${PWD}`; export s; \
12264 $(SET_LIB_PATH) \
12265 for flag in $(EXTRA_HOST_FLAGS); do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12267 done; \
12268 echo "Doing clean in dejagnu" ; \
12269 (cd dejagnu && \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272 "RANLIB=$${RANLIB}" \
12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12274 clean) \
12275 || exit 1
12278 .PHONY: maybe-clean-diff clean-diff
12279 maybe-clean-diff:
12281 clean-diff:
12282 @[ -f ./diff/Makefile ] || exit 0; \
12283 r=`${PWD}`; export r; \
12284 s=`cd $(srcdir); ${PWD}`; export s; \
12285 $(SET_LIB_PATH) \
12286 for flag in $(EXTRA_HOST_FLAGS); do \
12287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12288 done; \
12289 echo "Doing clean in diff" ; \
12290 (cd diff && \
12291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12293 "RANLIB=$${RANLIB}" \
12294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12295 clean) \
12296 || exit 1
12299 .PHONY: maybe-clean-dosutils clean-dosutils
12300 maybe-clean-dosutils:
12302 clean-dosutils:
12303 @[ -f ./dosutils/Makefile ] || exit 0; \
12304 r=`${PWD}`; export r; \
12305 s=`cd $(srcdir); ${PWD}`; export s; \
12306 $(SET_LIB_PATH) \
12307 for flag in $(EXTRA_HOST_FLAGS); do \
12308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12309 done; \
12310 echo "Doing clean in dosutils" ; \
12311 (cd dosutils && \
12312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12314 "RANLIB=$${RANLIB}" \
12315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12316 clean) \
12317 || exit 1
12320 .PHONY: maybe-clean-etc clean-etc
12321 maybe-clean-etc:
12323 clean-etc:
12324 @[ -f ./etc/Makefile ] || exit 0; \
12325 r=`${PWD}`; export r; \
12326 s=`cd $(srcdir); ${PWD}`; export s; \
12327 $(SET_LIB_PATH) \
12328 for flag in $(EXTRA_HOST_FLAGS); do \
12329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12330 done; \
12331 echo "Doing clean in etc" ; \
12332 (cd etc && \
12333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12335 "RANLIB=$${RANLIB}" \
12336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12337 clean) \
12338 || exit 1
12341 .PHONY: maybe-clean-fastjar clean-fastjar
12342 maybe-clean-fastjar:
12344 clean-fastjar:
12345 @[ -f ./fastjar/Makefile ] || exit 0; \
12346 r=`${PWD}`; export r; \
12347 s=`cd $(srcdir); ${PWD}`; export s; \
12348 $(SET_LIB_PATH) \
12349 for flag in $(EXTRA_HOST_FLAGS); do \
12350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351 done; \
12352 echo "Doing clean in fastjar" ; \
12353 (cd fastjar && \
12354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12356 "RANLIB=$${RANLIB}" \
12357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12358 clean) \
12359 || exit 1
12362 .PHONY: maybe-clean-fileutils clean-fileutils
12363 maybe-clean-fileutils:
12365 clean-fileutils:
12366 @[ -f ./fileutils/Makefile ] || exit 0; \
12367 r=`${PWD}`; export r; \
12368 s=`cd $(srcdir); ${PWD}`; export s; \
12369 $(SET_LIB_PATH) \
12370 for flag in $(EXTRA_HOST_FLAGS); do \
12371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12372 done; \
12373 echo "Doing clean in fileutils" ; \
12374 (cd fileutils && \
12375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12377 "RANLIB=$${RANLIB}" \
12378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12379 clean) \
12380 || exit 1
12383 .PHONY: maybe-clean-findutils clean-findutils
12384 maybe-clean-findutils:
12386 clean-findutils:
12387 @[ -f ./findutils/Makefile ] || exit 0; \
12388 r=`${PWD}`; export r; \
12389 s=`cd $(srcdir); ${PWD}`; export s; \
12390 $(SET_LIB_PATH) \
12391 for flag in $(EXTRA_HOST_FLAGS); do \
12392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12393 done; \
12394 echo "Doing clean in findutils" ; \
12395 (cd findutils && \
12396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12398 "RANLIB=$${RANLIB}" \
12399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12400 clean) \
12401 || exit 1
12404 .PHONY: maybe-clean-find clean-find
12405 maybe-clean-find:
12407 clean-find:
12408 @[ -f ./find/Makefile ] || exit 0; \
12409 r=`${PWD}`; export r; \
12410 s=`cd $(srcdir); ${PWD}`; export s; \
12411 $(SET_LIB_PATH) \
12412 for flag in $(EXTRA_HOST_FLAGS); do \
12413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12414 done; \
12415 echo "Doing clean in find" ; \
12416 (cd find && \
12417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12419 "RANLIB=$${RANLIB}" \
12420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12421 clean) \
12422 || exit 1
12425 .PHONY: maybe-clean-flex clean-flex
12426 maybe-clean-flex:
12428 clean-flex:
12429 @[ -f ./flex/Makefile ] || exit 0; \
12430 r=`${PWD}`; export r; \
12431 s=`cd $(srcdir); ${PWD}`; export s; \
12432 $(SET_LIB_PATH) \
12433 for flag in $(EXTRA_HOST_FLAGS); do \
12434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12435 done; \
12436 echo "Doing clean in flex" ; \
12437 (cd flex && \
12438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12440 "RANLIB=$${RANLIB}" \
12441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12442 clean) \
12443 || exit 1
12446 .PHONY: maybe-clean-gas clean-gas
12447 maybe-clean-gas:
12449 clean-gas:
12450 @[ -f ./gas/Makefile ] || exit 0; \
12451 r=`${PWD}`; export r; \
12452 s=`cd $(srcdir); ${PWD}`; export s; \
12453 $(SET_LIB_PATH) \
12454 for flag in $(EXTRA_HOST_FLAGS); do \
12455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12456 done; \
12457 echo "Doing clean in gas" ; \
12458 (cd gas && \
12459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12461 "RANLIB=$${RANLIB}" \
12462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12463 clean) \
12464 || exit 1
12467 .PHONY: maybe-clean-gawk clean-gawk
12468 maybe-clean-gawk:
12470 clean-gawk:
12471 @[ -f ./gawk/Makefile ] || exit 0; \
12472 r=`${PWD}`; export r; \
12473 s=`cd $(srcdir); ${PWD}`; export s; \
12474 $(SET_LIB_PATH) \
12475 for flag in $(EXTRA_HOST_FLAGS); do \
12476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12477 done; \
12478 echo "Doing clean in gawk" ; \
12479 (cd gawk && \
12480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12482 "RANLIB=$${RANLIB}" \
12483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12484 clean) \
12485 || exit 1
12488 .PHONY: maybe-clean-gettext clean-gettext
12489 maybe-clean-gettext:
12491 clean-gettext:
12492 @[ -f ./gettext/Makefile ] || exit 0; \
12493 r=`${PWD}`; export r; \
12494 s=`cd $(srcdir); ${PWD}`; export s; \
12495 $(SET_LIB_PATH) \
12496 for flag in $(EXTRA_HOST_FLAGS); do \
12497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12498 done; \
12499 echo "Doing clean in gettext" ; \
12500 (cd gettext && \
12501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12503 "RANLIB=$${RANLIB}" \
12504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12505 clean) \
12506 || exit 1
12509 .PHONY: maybe-clean-gnuserv clean-gnuserv
12510 maybe-clean-gnuserv:
12512 clean-gnuserv:
12513 @[ -f ./gnuserv/Makefile ] || exit 0; \
12514 r=`${PWD}`; export r; \
12515 s=`cd $(srcdir); ${PWD}`; export s; \
12516 $(SET_LIB_PATH) \
12517 for flag in $(EXTRA_HOST_FLAGS); do \
12518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12519 done; \
12520 echo "Doing clean in gnuserv" ; \
12521 (cd gnuserv && \
12522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12524 "RANLIB=$${RANLIB}" \
12525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12526 clean) \
12527 || exit 1
12530 .PHONY: maybe-clean-gprof clean-gprof
12531 maybe-clean-gprof:
12533 clean-gprof:
12534 @[ -f ./gprof/Makefile ] || exit 0; \
12535 r=`${PWD}`; export r; \
12536 s=`cd $(srcdir); ${PWD}`; export s; \
12537 $(SET_LIB_PATH) \
12538 for flag in $(EXTRA_HOST_FLAGS); do \
12539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12540 done; \
12541 echo "Doing clean in gprof" ; \
12542 (cd gprof && \
12543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12545 "RANLIB=$${RANLIB}" \
12546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12547 clean) \
12548 || exit 1
12551 .PHONY: maybe-clean-gzip clean-gzip
12552 maybe-clean-gzip:
12554 clean-gzip:
12555 @[ -f ./gzip/Makefile ] || exit 0; \
12556 r=`${PWD}`; export r; \
12557 s=`cd $(srcdir); ${PWD}`; export s; \
12558 $(SET_LIB_PATH) \
12559 for flag in $(EXTRA_HOST_FLAGS); do \
12560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12561 done; \
12562 echo "Doing clean in gzip" ; \
12563 (cd gzip && \
12564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12566 "RANLIB=$${RANLIB}" \
12567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12568 clean) \
12569 || exit 1
12572 .PHONY: maybe-clean-hello clean-hello
12573 maybe-clean-hello:
12575 clean-hello:
12576 @[ -f ./hello/Makefile ] || exit 0; \
12577 r=`${PWD}`; export r; \
12578 s=`cd $(srcdir); ${PWD}`; export s; \
12579 $(SET_LIB_PATH) \
12580 for flag in $(EXTRA_HOST_FLAGS); do \
12581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12582 done; \
12583 echo "Doing clean in hello" ; \
12584 (cd hello && \
12585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12587 "RANLIB=$${RANLIB}" \
12588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12589 clean) \
12590 || exit 1
12593 .PHONY: maybe-clean-indent clean-indent
12594 maybe-clean-indent:
12596 clean-indent:
12597 @[ -f ./indent/Makefile ] || exit 0; \
12598 r=`${PWD}`; export r; \
12599 s=`cd $(srcdir); ${PWD}`; export s; \
12600 $(SET_LIB_PATH) \
12601 for flag in $(EXTRA_HOST_FLAGS); do \
12602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12603 done; \
12604 echo "Doing clean in indent" ; \
12605 (cd indent && \
12606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12608 "RANLIB=$${RANLIB}" \
12609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12610 clean) \
12611 || exit 1
12614 .PHONY: maybe-clean-intl clean-intl
12615 maybe-clean-intl:
12617 clean-intl:
12618 @[ -f ./intl/Makefile ] || exit 0; \
12619 r=`${PWD}`; export r; \
12620 s=`cd $(srcdir); ${PWD}`; export s; \
12621 $(SET_LIB_PATH) \
12622 for flag in $(EXTRA_HOST_FLAGS); do \
12623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12624 done; \
12625 echo "Doing clean in intl" ; \
12626 (cd intl && \
12627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12629 "RANLIB=$${RANLIB}" \
12630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12631 clean) \
12632 || exit 1
12635 .PHONY: maybe-clean-tcl clean-tcl
12636 maybe-clean-tcl:
12638 clean-tcl:
12639 @[ -f ./tcl/Makefile ] || exit 0; \
12640 r=`${PWD}`; export r; \
12641 s=`cd $(srcdir); ${PWD}`; export s; \
12642 $(SET_LIB_PATH) \
12643 for flag in $(EXTRA_HOST_FLAGS); do \
12644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12645 done; \
12646 echo "Doing clean in tcl" ; \
12647 (cd tcl && \
12648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12650 "RANLIB=$${RANLIB}" \
12651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12652 clean) \
12653 || exit 1
12656 .PHONY: maybe-clean-itcl clean-itcl
12657 maybe-clean-itcl:
12659 clean-itcl:
12660 @[ -f ./itcl/Makefile ] || exit 0; \
12661 r=`${PWD}`; export r; \
12662 s=`cd $(srcdir); ${PWD}`; export s; \
12663 $(SET_LIB_PATH) \
12664 for flag in $(EXTRA_HOST_FLAGS); do \
12665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12666 done; \
12667 echo "Doing clean in itcl" ; \
12668 (cd itcl && \
12669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12671 "RANLIB=$${RANLIB}" \
12672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12673 clean) \
12674 || exit 1
12677 .PHONY: maybe-clean-ld clean-ld
12678 maybe-clean-ld:
12680 clean-ld:
12681 @[ -f ./ld/Makefile ] || exit 0; \
12682 r=`${PWD}`; export r; \
12683 s=`cd $(srcdir); ${PWD}`; export s; \
12684 $(SET_LIB_PATH) \
12685 for flag in $(EXTRA_HOST_FLAGS); do \
12686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12687 done; \
12688 echo "Doing clean in ld" ; \
12689 (cd ld && \
12690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692 "RANLIB=$${RANLIB}" \
12693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12694 clean) \
12695 || exit 1
12698 .PHONY: maybe-clean-libgui clean-libgui
12699 maybe-clean-libgui:
12701 clean-libgui:
12702 @[ -f ./libgui/Makefile ] || exit 0; \
12703 r=`${PWD}`; export r; \
12704 s=`cd $(srcdir); ${PWD}`; export s; \
12705 $(SET_LIB_PATH) \
12706 for flag in $(EXTRA_HOST_FLAGS); do \
12707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12708 done; \
12709 echo "Doing clean in libgui" ; \
12710 (cd libgui && \
12711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12713 "RANLIB=$${RANLIB}" \
12714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12715 clean) \
12716 || exit 1
12719 .PHONY: maybe-clean-libiberty clean-libiberty
12720 maybe-clean-libiberty:
12722 clean-libiberty:
12723 @[ -f ./libiberty/Makefile ] || exit 0; \
12724 r=`${PWD}`; export r; \
12725 s=`cd $(srcdir); ${PWD}`; export s; \
12726 $(SET_LIB_PATH) \
12727 for flag in $(EXTRA_HOST_FLAGS); do \
12728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729 done; \
12730 echo "Doing clean in libiberty" ; \
12731 (cd libiberty && \
12732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734 "RANLIB=$${RANLIB}" \
12735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 clean) \
12737 || exit 1
12740 .PHONY: maybe-clean-libtool clean-libtool
12741 maybe-clean-libtool:
12743 clean-libtool:
12744 @[ -f ./libtool/Makefile ] || exit 0; \
12745 r=`${PWD}`; export r; \
12746 s=`cd $(srcdir); ${PWD}`; export s; \
12747 $(SET_LIB_PATH) \
12748 for flag in $(EXTRA_HOST_FLAGS); do \
12749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 done; \
12751 echo "Doing clean in libtool" ; \
12752 (cd libtool && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12755 "RANLIB=$${RANLIB}" \
12756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12757 clean) \
12758 || exit 1
12761 .PHONY: maybe-clean-m4 clean-m4
12762 maybe-clean-m4:
12764 clean-m4:
12765 @[ -f ./m4/Makefile ] || exit 0; \
12766 r=`${PWD}`; export r; \
12767 s=`cd $(srcdir); ${PWD}`; export s; \
12768 $(SET_LIB_PATH) \
12769 for flag in $(EXTRA_HOST_FLAGS); do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771 done; \
12772 echo "Doing clean in m4" ; \
12773 (cd m4 && \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12778 clean) \
12779 || exit 1
12782 .PHONY: maybe-clean-make clean-make
12783 maybe-clean-make:
12785 clean-make:
12786 @[ -f ./make/Makefile ] || exit 0; \
12787 r=`${PWD}`; export r; \
12788 s=`cd $(srcdir); ${PWD}`; export s; \
12789 $(SET_LIB_PATH) \
12790 for flag in $(EXTRA_HOST_FLAGS); do \
12791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12792 done; \
12793 echo "Doing clean in make" ; \
12794 (cd make && \
12795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12797 "RANLIB=$${RANLIB}" \
12798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12799 clean) \
12800 || exit 1
12803 .PHONY: maybe-clean-mmalloc clean-mmalloc
12804 maybe-clean-mmalloc:
12806 clean-mmalloc:
12807 @[ -f ./mmalloc/Makefile ] || exit 0; \
12808 r=`${PWD}`; export r; \
12809 s=`cd $(srcdir); ${PWD}`; export s; \
12810 $(SET_LIB_PATH) \
12811 for flag in $(EXTRA_HOST_FLAGS); do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813 done; \
12814 echo "Doing clean in mmalloc" ; \
12815 (cd mmalloc && \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12820 clean) \
12821 || exit 1
12824 .PHONY: maybe-clean-patch clean-patch
12825 maybe-clean-patch:
12827 clean-patch:
12828 @[ -f ./patch/Makefile ] || exit 0; \
12829 r=`${PWD}`; export r; \
12830 s=`cd $(srcdir); ${PWD}`; export s; \
12831 $(SET_LIB_PATH) \
12832 for flag in $(EXTRA_HOST_FLAGS); do \
12833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12834 done; \
12835 echo "Doing clean in patch" ; \
12836 (cd patch && \
12837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12839 "RANLIB=$${RANLIB}" \
12840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12841 clean) \
12842 || exit 1
12845 .PHONY: maybe-clean-perl clean-perl
12846 maybe-clean-perl:
12848 clean-perl:
12849 @[ -f ./perl/Makefile ] || exit 0; \
12850 r=`${PWD}`; export r; \
12851 s=`cd $(srcdir); ${PWD}`; export s; \
12852 $(SET_LIB_PATH) \
12853 for flag in $(EXTRA_HOST_FLAGS); do \
12854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12855 done; \
12856 echo "Doing clean in perl" ; \
12857 (cd perl && \
12858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12860 "RANLIB=$${RANLIB}" \
12861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12862 clean) \
12863 || exit 1
12866 .PHONY: maybe-clean-prms clean-prms
12867 maybe-clean-prms:
12869 clean-prms:
12870 @[ -f ./prms/Makefile ] || exit 0; \
12871 r=`${PWD}`; export r; \
12872 s=`cd $(srcdir); ${PWD}`; export s; \
12873 $(SET_LIB_PATH) \
12874 for flag in $(EXTRA_HOST_FLAGS); do \
12875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12876 done; \
12877 echo "Doing clean in prms" ; \
12878 (cd prms && \
12879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12881 "RANLIB=$${RANLIB}" \
12882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12883 clean) \
12884 || exit 1
12887 .PHONY: maybe-clean-rcs clean-rcs
12888 maybe-clean-rcs:
12890 clean-rcs:
12891 @[ -f ./rcs/Makefile ] || exit 0; \
12892 r=`${PWD}`; export r; \
12893 s=`cd $(srcdir); ${PWD}`; export s; \
12894 $(SET_LIB_PATH) \
12895 for flag in $(EXTRA_HOST_FLAGS); do \
12896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12897 done; \
12898 echo "Doing clean in rcs" ; \
12899 (cd rcs && \
12900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12902 "RANLIB=$${RANLIB}" \
12903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12904 clean) \
12905 || exit 1
12908 .PHONY: maybe-clean-readline clean-readline
12909 maybe-clean-readline:
12911 clean-readline:
12912 @[ -f ./readline/Makefile ] || exit 0; \
12913 r=`${PWD}`; export r; \
12914 s=`cd $(srcdir); ${PWD}`; export s; \
12915 $(SET_LIB_PATH) \
12916 for flag in $(EXTRA_HOST_FLAGS); do \
12917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12918 done; \
12919 echo "Doing clean in readline" ; \
12920 (cd readline && \
12921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12923 "RANLIB=$${RANLIB}" \
12924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12925 clean) \
12926 || exit 1
12929 .PHONY: maybe-clean-release clean-release
12930 maybe-clean-release:
12932 clean-release:
12933 @[ -f ./release/Makefile ] || exit 0; \
12934 r=`${PWD}`; export r; \
12935 s=`cd $(srcdir); ${PWD}`; export s; \
12936 $(SET_LIB_PATH) \
12937 for flag in $(EXTRA_HOST_FLAGS); do \
12938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12939 done; \
12940 echo "Doing clean in release" ; \
12941 (cd release && \
12942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12944 "RANLIB=$${RANLIB}" \
12945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12946 clean) \
12947 || exit 1
12950 .PHONY: maybe-clean-recode clean-recode
12951 maybe-clean-recode:
12953 clean-recode:
12954 @[ -f ./recode/Makefile ] || exit 0; \
12955 r=`${PWD}`; export r; \
12956 s=`cd $(srcdir); ${PWD}`; export s; \
12957 $(SET_LIB_PATH) \
12958 for flag in $(EXTRA_HOST_FLAGS); do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 done; \
12961 echo "Doing clean in recode" ; \
12962 (cd recode && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12967 clean) \
12968 || exit 1
12971 .PHONY: maybe-clean-sed clean-sed
12972 maybe-clean-sed:
12974 clean-sed:
12975 @[ -f ./sed/Makefile ] || exit 0; \
12976 r=`${PWD}`; export r; \
12977 s=`cd $(srcdir); ${PWD}`; export s; \
12978 $(SET_LIB_PATH) \
12979 for flag in $(EXTRA_HOST_FLAGS); do \
12980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12981 done; \
12982 echo "Doing clean in sed" ; \
12983 (cd sed && \
12984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12986 "RANLIB=$${RANLIB}" \
12987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12988 clean) \
12989 || exit 1
12992 .PHONY: maybe-clean-send-pr clean-send-pr
12993 maybe-clean-send-pr:
12995 clean-send-pr:
12996 @[ -f ./send-pr/Makefile ] || exit 0; \
12997 r=`${PWD}`; export r; \
12998 s=`cd $(srcdir); ${PWD}`; export s; \
12999 $(SET_LIB_PATH) \
13000 for flag in $(EXTRA_HOST_FLAGS); do \
13001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13002 done; \
13003 echo "Doing clean in send-pr" ; \
13004 (cd send-pr && \
13005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13007 "RANLIB=$${RANLIB}" \
13008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13009 clean) \
13010 || exit 1
13013 .PHONY: maybe-clean-shellutils clean-shellutils
13014 maybe-clean-shellutils:
13016 clean-shellutils:
13017 @[ -f ./shellutils/Makefile ] || exit 0; \
13018 r=`${PWD}`; export r; \
13019 s=`cd $(srcdir); ${PWD}`; export s; \
13020 $(SET_LIB_PATH) \
13021 for flag in $(EXTRA_HOST_FLAGS); do \
13022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13023 done; \
13024 echo "Doing clean in shellutils" ; \
13025 (cd shellutils && \
13026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13028 "RANLIB=$${RANLIB}" \
13029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13030 clean) \
13031 || exit 1
13034 .PHONY: maybe-clean-sid clean-sid
13035 maybe-clean-sid:
13037 clean-sid:
13038 @[ -f ./sid/Makefile ] || exit 0; \
13039 r=`${PWD}`; export r; \
13040 s=`cd $(srcdir); ${PWD}`; export s; \
13041 $(SET_LIB_PATH) \
13042 for flag in $(EXTRA_HOST_FLAGS); do \
13043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13044 done; \
13045 echo "Doing clean in sid" ; \
13046 (cd sid && \
13047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13049 "RANLIB=$${RANLIB}" \
13050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13051 clean) \
13052 || exit 1
13055 .PHONY: maybe-clean-sim clean-sim
13056 maybe-clean-sim:
13058 clean-sim:
13059 @[ -f ./sim/Makefile ] || exit 0; \
13060 r=`${PWD}`; export r; \
13061 s=`cd $(srcdir); ${PWD}`; export s; \
13062 $(SET_LIB_PATH) \
13063 for flag in $(EXTRA_HOST_FLAGS); do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 done; \
13066 echo "Doing clean in sim" ; \
13067 (cd sim && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13072 clean) \
13073 || exit 1
13076 .PHONY: maybe-clean-tar clean-tar
13077 maybe-clean-tar:
13079 clean-tar:
13080 @[ -f ./tar/Makefile ] || exit 0; \
13081 r=`${PWD}`; export r; \
13082 s=`cd $(srcdir); ${PWD}`; export s; \
13083 $(SET_LIB_PATH) \
13084 for flag in $(EXTRA_HOST_FLAGS); do \
13085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13086 done; \
13087 echo "Doing clean in tar" ; \
13088 (cd tar && \
13089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13091 "RANLIB=$${RANLIB}" \
13092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13093 clean) \
13094 || exit 1
13097 .PHONY: maybe-clean-texinfo clean-texinfo
13098 maybe-clean-texinfo:
13100 clean-texinfo:
13101 @[ -f ./texinfo/Makefile ] || exit 0; \
13102 r=`${PWD}`; export r; \
13103 s=`cd $(srcdir); ${PWD}`; export s; \
13104 $(SET_LIB_PATH) \
13105 for flag in $(EXTRA_HOST_FLAGS); do \
13106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13107 done; \
13108 echo "Doing clean in texinfo" ; \
13109 (cd texinfo && \
13110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13112 "RANLIB=$${RANLIB}" \
13113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13114 clean) \
13115 || exit 1
13118 .PHONY: maybe-clean-textutils clean-textutils
13119 maybe-clean-textutils:
13121 clean-textutils:
13122 @[ -f ./textutils/Makefile ] || exit 0; \
13123 r=`${PWD}`; export r; \
13124 s=`cd $(srcdir); ${PWD}`; export s; \
13125 $(SET_LIB_PATH) \
13126 for flag in $(EXTRA_HOST_FLAGS); do \
13127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13128 done; \
13129 echo "Doing clean in textutils" ; \
13130 (cd textutils && \
13131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13133 "RANLIB=$${RANLIB}" \
13134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13135 clean) \
13136 || exit 1
13139 .PHONY: maybe-clean-time clean-time
13140 maybe-clean-time:
13142 clean-time:
13143 @[ -f ./time/Makefile ] || exit 0; \
13144 r=`${PWD}`; export r; \
13145 s=`cd $(srcdir); ${PWD}`; export s; \
13146 $(SET_LIB_PATH) \
13147 for flag in $(EXTRA_HOST_FLAGS); do \
13148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13149 done; \
13150 echo "Doing clean in time" ; \
13151 (cd time && \
13152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13154 "RANLIB=$${RANLIB}" \
13155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13156 clean) \
13157 || exit 1
13160 .PHONY: maybe-clean-uudecode clean-uudecode
13161 maybe-clean-uudecode:
13163 clean-uudecode:
13164 @[ -f ./uudecode/Makefile ] || exit 0; \
13165 r=`${PWD}`; export r; \
13166 s=`cd $(srcdir); ${PWD}`; export s; \
13167 $(SET_LIB_PATH) \
13168 for flag in $(EXTRA_HOST_FLAGS); do \
13169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13170 done; \
13171 echo "Doing clean in uudecode" ; \
13172 (cd uudecode && \
13173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13175 "RANLIB=$${RANLIB}" \
13176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13177 clean) \
13178 || exit 1
13181 .PHONY: maybe-clean-wdiff clean-wdiff
13182 maybe-clean-wdiff:
13184 clean-wdiff:
13185 @[ -f ./wdiff/Makefile ] || exit 0; \
13186 r=`${PWD}`; export r; \
13187 s=`cd $(srcdir); ${PWD}`; export s; \
13188 $(SET_LIB_PATH) \
13189 for flag in $(EXTRA_HOST_FLAGS); do \
13190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13191 done; \
13192 echo "Doing clean in wdiff" ; \
13193 (cd wdiff && \
13194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13196 "RANLIB=$${RANLIB}" \
13197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13198 clean) \
13199 || exit 1
13202 .PHONY: maybe-clean-zip clean-zip
13203 maybe-clean-zip:
13205 clean-zip:
13206 @[ -f ./zip/Makefile ] || exit 0; \
13207 r=`${PWD}`; export r; \
13208 s=`cd $(srcdir); ${PWD}`; export s; \
13209 $(SET_LIB_PATH) \
13210 for flag in $(EXTRA_HOST_FLAGS); do \
13211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13212 done; \
13213 echo "Doing clean in zip" ; \
13214 (cd zip && \
13215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13217 "RANLIB=$${RANLIB}" \
13218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13219 clean) \
13220 || exit 1
13223 .PHONY: maybe-clean-zlib clean-zlib
13224 maybe-clean-zlib:
13226 clean-zlib:
13227 @[ -f ./zlib/Makefile ] || exit 0; \
13228 r=`${PWD}`; export r; \
13229 s=`cd $(srcdir); ${PWD}`; export s; \
13230 $(SET_LIB_PATH) \
13231 for flag in $(EXTRA_HOST_FLAGS); do \
13232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13233 done; \
13234 echo "Doing clean in zlib" ; \
13235 (cd zlib && \
13236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13238 "RANLIB=$${RANLIB}" \
13239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13240 clean) \
13241 || exit 1
13244 .PHONY: maybe-clean-gdb clean-gdb
13245 maybe-clean-gdb:
13247 clean-gdb:
13248 @[ -f ./gdb/Makefile ] || exit 0; \
13249 r=`${PWD}`; export r; \
13250 s=`cd $(srcdir); ${PWD}`; export s; \
13251 $(SET_LIB_PATH) \
13252 for flag in $(EXTRA_HOST_FLAGS); do \
13253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13254 done; \
13255 echo "Doing clean in gdb" ; \
13256 (cd gdb && \
13257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13259 "RANLIB=$${RANLIB}" \
13260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13261 clean) \
13262 || exit 1
13265 .PHONY: maybe-clean-expect clean-expect
13266 maybe-clean-expect:
13268 clean-expect:
13269 @[ -f ./expect/Makefile ] || exit 0; \
13270 r=`${PWD}`; export r; \
13271 s=`cd $(srcdir); ${PWD}`; export s; \
13272 $(SET_LIB_PATH) \
13273 for flag in $(EXTRA_HOST_FLAGS); do \
13274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13275 done; \
13276 echo "Doing clean in expect" ; \
13277 (cd expect && \
13278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13280 "RANLIB=$${RANLIB}" \
13281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13282 clean) \
13283 || exit 1
13286 .PHONY: maybe-clean-guile clean-guile
13287 maybe-clean-guile:
13289 clean-guile:
13290 @[ -f ./guile/Makefile ] || exit 0; \
13291 r=`${PWD}`; export r; \
13292 s=`cd $(srcdir); ${PWD}`; export s; \
13293 $(SET_LIB_PATH) \
13294 for flag in $(EXTRA_HOST_FLAGS); do \
13295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13296 done; \
13297 echo "Doing clean in guile" ; \
13298 (cd guile && \
13299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13301 "RANLIB=$${RANLIB}" \
13302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13303 clean) \
13304 || exit 1
13307 .PHONY: maybe-clean-tk clean-tk
13308 maybe-clean-tk:
13310 clean-tk:
13311 @[ -f ./tk/Makefile ] || exit 0; \
13312 r=`${PWD}`; export r; \
13313 s=`cd $(srcdir); ${PWD}`; export s; \
13314 $(SET_LIB_PATH) \
13315 for flag in $(EXTRA_HOST_FLAGS); do \
13316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13317 done; \
13318 echo "Doing clean in tk" ; \
13319 (cd tk && \
13320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13322 "RANLIB=$${RANLIB}" \
13323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13324 clean) \
13325 || exit 1
13328 .PHONY: maybe-clean-tix clean-tix
13329 maybe-clean-tix:
13331 clean-tix:
13332 @[ -f ./tix/Makefile ] || exit 0; \
13333 r=`${PWD}`; export r; \
13334 s=`cd $(srcdir); ${PWD}`; export s; \
13335 $(SET_LIB_PATH) \
13336 for flag in $(EXTRA_HOST_FLAGS); do \
13337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13338 done; \
13339 echo "Doing clean in tix" ; \
13340 (cd tix && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13343 "RANLIB=$${RANLIB}" \
13344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13345 clean) \
13346 || exit 1
13349 .PHONY: maybe-clean-libtermcap clean-libtermcap
13350 maybe-clean-libtermcap:
13352 # libtermcap doesn't support clean.
13353 clean-libtermcap:
13356 .PHONY: maybe-clean-utils clean-utils
13357 maybe-clean-utils:
13359 clean-utils:
13360 @[ -f ./utils/Makefile ] || exit 0; \
13361 r=`${PWD}`; export r; \
13362 s=`cd $(srcdir); ${PWD}`; export s; \
13363 $(SET_LIB_PATH) \
13364 for flag in $(EXTRA_HOST_FLAGS); do \
13365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13366 done; \
13367 echo "Doing clean in utils" ; \
13368 (cd utils && \
13369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13371 "RANLIB=$${RANLIB}" \
13372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13373 clean) \
13374 || exit 1
13378 # Target modules.
13380 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
13381 maybe-clean-target-libstdc++-v3:
13383 clean-target-libstdc++-v3:
13384 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
13385 r=`${PWD}`; export r; \
13386 s=`cd $(srcdir); ${PWD}`; export s; \
13387 $(SET_LIB_PATH) \
13388 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
13389 for flag in $(EXTRA_TARGET_FLAGS); do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 done; \
13392 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
13393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13395 "RANLIB=$${RANLIB}" \
13396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13397 clean) \
13398 || exit 1
13401 .PHONY: maybe-clean-target-newlib clean-target-newlib
13402 maybe-clean-target-newlib:
13404 clean-target-newlib:
13405 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
13406 r=`${PWD}`; export r; \
13407 s=`cd $(srcdir); ${PWD}`; export s; \
13408 $(SET_LIB_PATH) \
13409 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
13410 for flag in $(EXTRA_TARGET_FLAGS); do \
13411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13412 done; \
13413 (cd $(TARGET_SUBDIR)/newlib && \
13414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13416 "RANLIB=$${RANLIB}" \
13417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13418 clean) \
13419 || exit 1
13422 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
13423 maybe-clean-target-libf2c:
13425 clean-target-libf2c:
13426 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
13427 r=`${PWD}`; export r; \
13428 s=`cd $(srcdir); ${PWD}`; export s; \
13429 $(SET_LIB_PATH) \
13430 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
13431 for flag in $(EXTRA_TARGET_FLAGS); do \
13432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13433 done; \
13434 (cd $(TARGET_SUBDIR)/libf2c && \
13435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13437 "RANLIB=$${RANLIB}" \
13438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13439 clean) \
13440 || exit 1
13443 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
13444 maybe-clean-target-libobjc:
13446 clean-target-libobjc:
13447 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
13448 r=`${PWD}`; export r; \
13449 s=`cd $(srcdir); ${PWD}`; export s; \
13450 $(SET_LIB_PATH) \
13451 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
13452 for flag in $(EXTRA_TARGET_FLAGS); do \
13453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454 done; \
13455 (cd $(TARGET_SUBDIR)/libobjc && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13458 "RANLIB=$${RANLIB}" \
13459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13460 clean) \
13461 || exit 1
13464 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
13465 maybe-clean-target-libtermcap:
13467 # libtermcap doesn't support clean.
13468 clean-target-libtermcap:
13471 .PHONY: maybe-clean-target-winsup clean-target-winsup
13472 maybe-clean-target-winsup:
13474 clean-target-winsup:
13475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
13476 r=`${PWD}`; export r; \
13477 s=`cd $(srcdir); ${PWD}`; export s; \
13478 $(SET_LIB_PATH) \
13479 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
13480 for flag in $(EXTRA_TARGET_FLAGS); do \
13481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13482 done; \
13483 (cd $(TARGET_SUBDIR)/winsup && \
13484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13486 "RANLIB=$${RANLIB}" \
13487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13488 clean) \
13489 || exit 1
13492 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
13493 maybe-clean-target-libgloss:
13495 clean-target-libgloss:
13496 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
13497 r=`${PWD}`; export r; \
13498 s=`cd $(srcdir); ${PWD}`; export s; \
13499 $(SET_LIB_PATH) \
13500 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
13501 for flag in $(EXTRA_TARGET_FLAGS); do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 (cd $(TARGET_SUBDIR)/libgloss && \
13505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13507 "RANLIB=$${RANLIB}" \
13508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13509 clean) \
13510 || exit 1
13513 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
13514 maybe-clean-target-libiberty:
13516 clean-target-libiberty:
13517 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
13518 r=`${PWD}`; export r; \
13519 s=`cd $(srcdir); ${PWD}`; export s; \
13520 $(SET_LIB_PATH) \
13521 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
13522 for flag in $(EXTRA_TARGET_FLAGS); do \
13523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13524 done; \
13525 (cd $(TARGET_SUBDIR)/libiberty && \
13526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13528 "RANLIB=$${RANLIB}" \
13529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13530 clean) \
13531 || exit 1
13534 .PHONY: maybe-clean-target-gperf clean-target-gperf
13535 maybe-clean-target-gperf:
13537 clean-target-gperf:
13538 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
13539 r=`${PWD}`; export r; \
13540 s=`cd $(srcdir); ${PWD}`; export s; \
13541 $(SET_LIB_PATH) \
13542 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
13543 for flag in $(EXTRA_TARGET_FLAGS); do \
13544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13545 done; \
13546 (cd $(TARGET_SUBDIR)/gperf && \
13547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13549 "RANLIB=$${RANLIB}" \
13550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13551 clean) \
13552 || exit 1
13555 .PHONY: maybe-clean-target-examples clean-target-examples
13556 maybe-clean-target-examples:
13558 clean-target-examples:
13559 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
13560 r=`${PWD}`; export r; \
13561 s=`cd $(srcdir); ${PWD}`; export s; \
13562 $(SET_LIB_PATH) \
13563 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
13564 for flag in $(EXTRA_TARGET_FLAGS); do \
13565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13566 done; \
13567 (cd $(TARGET_SUBDIR)/examples && \
13568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13570 "RANLIB=$${RANLIB}" \
13571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13572 clean) \
13573 || exit 1
13576 .PHONY: maybe-clean-target-libffi clean-target-libffi
13577 maybe-clean-target-libffi:
13579 clean-target-libffi:
13580 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
13581 r=`${PWD}`; export r; \
13582 s=`cd $(srcdir); ${PWD}`; export s; \
13583 $(SET_LIB_PATH) \
13584 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
13585 for flag in $(EXTRA_TARGET_FLAGS); do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 (cd $(TARGET_SUBDIR)/libffi && \
13589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13591 "RANLIB=$${RANLIB}" \
13592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13593 clean) \
13594 || exit 1
13597 .PHONY: maybe-clean-target-libjava clean-target-libjava
13598 maybe-clean-target-libjava:
13600 clean-target-libjava:
13601 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
13602 r=`${PWD}`; export r; \
13603 s=`cd $(srcdir); ${PWD}`; export s; \
13604 $(SET_LIB_PATH) \
13605 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
13606 for flag in $(EXTRA_TARGET_FLAGS); do \
13607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 done; \
13609 (cd $(TARGET_SUBDIR)/libjava && \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13614 clean) \
13615 || exit 1
13618 .PHONY: maybe-clean-target-zlib clean-target-zlib
13619 maybe-clean-target-zlib:
13621 clean-target-zlib:
13622 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
13623 r=`${PWD}`; export r; \
13624 s=`cd $(srcdir); ${PWD}`; export s; \
13625 $(SET_LIB_PATH) \
13626 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
13627 for flag in $(EXTRA_TARGET_FLAGS); do \
13628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13629 done; \
13630 (cd $(TARGET_SUBDIR)/zlib && \
13631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13633 "RANLIB=$${RANLIB}" \
13634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13635 clean) \
13636 || exit 1
13639 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
13640 maybe-clean-target-boehm-gc:
13642 clean-target-boehm-gc:
13643 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
13644 r=`${PWD}`; export r; \
13645 s=`cd $(srcdir); ${PWD}`; export s; \
13646 $(SET_LIB_PATH) \
13647 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
13648 for flag in $(EXTRA_TARGET_FLAGS); do \
13649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13650 done; \
13651 (cd $(TARGET_SUBDIR)/boehm-gc && \
13652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13654 "RANLIB=$${RANLIB}" \
13655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13656 clean) \
13657 || exit 1
13660 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
13661 maybe-clean-target-qthreads:
13663 clean-target-qthreads:
13664 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
13665 r=`${PWD}`; export r; \
13666 s=`cd $(srcdir); ${PWD}`; export s; \
13667 $(SET_LIB_PATH) \
13668 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
13669 for flag in $(EXTRA_TARGET_FLAGS); do \
13670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13671 done; \
13672 (cd $(TARGET_SUBDIR)/qthreads && \
13673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13675 "RANLIB=$${RANLIB}" \
13676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13677 clean) \
13678 || exit 1
13681 .PHONY: maybe-clean-target-rda clean-target-rda
13682 maybe-clean-target-rda:
13684 clean-target-rda:
13685 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
13686 r=`${PWD}`; export r; \
13687 s=`cd $(srcdir); ${PWD}`; export s; \
13688 $(SET_LIB_PATH) \
13689 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
13690 for flag in $(EXTRA_TARGET_FLAGS); do \
13691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13692 done; \
13693 (cd $(TARGET_SUBDIR)/rda && \
13694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696 "RANLIB=$${RANLIB}" \
13697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13698 clean) \
13699 || exit 1
13703 .PHONY: do-distclean
13704 do-distclean: distclean-host distclean-target
13706 .PHONY: distclean-host
13707 distclean-host: maybe-distclean-gcc \
13708 maybe-distclean-ash \
13709 maybe-distclean-autoconf \
13710 maybe-distclean-automake \
13711 maybe-distclean-bash \
13712 maybe-distclean-bfd \
13713 maybe-distclean-opcodes \
13714 maybe-distclean-binutils \
13715 maybe-distclean-bison \
13716 maybe-distclean-byacc \
13717 maybe-distclean-bzip2 \
13718 maybe-distclean-dejagnu \
13719 maybe-distclean-diff \
13720 maybe-distclean-dosutils \
13721 maybe-distclean-etc \
13722 maybe-distclean-fastjar \
13723 maybe-distclean-fileutils \
13724 maybe-distclean-findutils \
13725 maybe-distclean-find \
13726 maybe-distclean-flex \
13727 maybe-distclean-gas \
13728 maybe-distclean-gawk \
13729 maybe-distclean-gettext \
13730 maybe-distclean-gnuserv \
13731 maybe-distclean-gprof \
13732 maybe-distclean-gzip \
13733 maybe-distclean-hello \
13734 maybe-distclean-indent \
13735 maybe-distclean-intl \
13736 maybe-distclean-tcl \
13737 maybe-distclean-itcl \
13738 maybe-distclean-ld \
13739 maybe-distclean-libgui \
13740 maybe-distclean-libiberty \
13741 maybe-distclean-libtool \
13742 maybe-distclean-m4 \
13743 maybe-distclean-make \
13744 maybe-distclean-mmalloc \
13745 maybe-distclean-patch \
13746 maybe-distclean-perl \
13747 maybe-distclean-prms \
13748 maybe-distclean-rcs \
13749 maybe-distclean-readline \
13750 maybe-distclean-release \
13751 maybe-distclean-recode \
13752 maybe-distclean-sed \
13753 maybe-distclean-send-pr \
13754 maybe-distclean-shellutils \
13755 maybe-distclean-sid \
13756 maybe-distclean-sim \
13757 maybe-distclean-tar \
13758 maybe-distclean-texinfo \
13759 maybe-distclean-textutils \
13760 maybe-distclean-time \
13761 maybe-distclean-uudecode \
13762 maybe-distclean-wdiff \
13763 maybe-distclean-zip \
13764 maybe-distclean-zlib \
13765 maybe-distclean-gdb \
13766 maybe-distclean-expect \
13767 maybe-distclean-guile \
13768 maybe-distclean-tk \
13769 maybe-distclean-tix \
13770 maybe-distclean-libtermcap \
13771 maybe-distclean-utils
13773 .PHONY: distclean-target
13774 distclean-target: \
13775 maybe-distclean-target-libstdc++-v3 \
13776 maybe-distclean-target-newlib \
13777 maybe-distclean-target-libf2c \
13778 maybe-distclean-target-libobjc \
13779 maybe-distclean-target-libtermcap \
13780 maybe-distclean-target-winsup \
13781 maybe-distclean-target-libgloss \
13782 maybe-distclean-target-libiberty \
13783 maybe-distclean-target-gperf \
13784 maybe-distclean-target-examples \
13785 maybe-distclean-target-libffi \
13786 maybe-distclean-target-libjava \
13787 maybe-distclean-target-zlib \
13788 maybe-distclean-target-boehm-gc \
13789 maybe-distclean-target-qthreads \
13790 maybe-distclean-target-rda
13792 # GCC, the eternal special case
13793 .PHONY: maybe-distclean-gcc distclean-gcc
13794 maybe-distclean-gcc:
13795 distclean-gcc:
13796 @[ -f ./gcc/Makefile ] || exit 0; \
13797 r=`${PWD}`; export r; \
13798 s=`cd $(srcdir); ${PWD}`; export s; \
13799 $(SET_LIB_PATH) \
13800 for flag in $(EXTRA_GCC_FLAGS); do \
13801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13802 done; \
13803 echo "Doing distclean in gcc" ; \
13804 (cd gcc && \
13805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13807 "RANLIB=$${RANLIB}" \
13808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13809 distclean) \
13810 || exit 1
13812 # Host modules.
13814 .PHONY: maybe-distclean-ash distclean-ash
13815 maybe-distclean-ash:
13817 distclean-ash:
13818 @[ -f ./ash/Makefile ] || exit 0; \
13819 r=`${PWD}`; export r; \
13820 s=`cd $(srcdir); ${PWD}`; export s; \
13821 $(SET_LIB_PATH) \
13822 for flag in $(EXTRA_HOST_FLAGS); do \
13823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13824 done; \
13825 echo "Doing distclean in ash" ; \
13826 (cd ash && \
13827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13829 "RANLIB=$${RANLIB}" \
13830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13831 distclean) \
13832 || exit 1
13835 .PHONY: maybe-distclean-autoconf distclean-autoconf
13836 maybe-distclean-autoconf:
13838 distclean-autoconf:
13839 @[ -f ./autoconf/Makefile ] || exit 0; \
13840 r=`${PWD}`; export r; \
13841 s=`cd $(srcdir); ${PWD}`; export s; \
13842 $(SET_LIB_PATH) \
13843 for flag in $(EXTRA_HOST_FLAGS); do \
13844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13845 done; \
13846 echo "Doing distclean in autoconf" ; \
13847 (cd autoconf && \
13848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13850 "RANLIB=$${RANLIB}" \
13851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13852 distclean) \
13853 || exit 1
13856 .PHONY: maybe-distclean-automake distclean-automake
13857 maybe-distclean-automake:
13859 distclean-automake:
13860 @[ -f ./automake/Makefile ] || exit 0; \
13861 r=`${PWD}`; export r; \
13862 s=`cd $(srcdir); ${PWD}`; export s; \
13863 $(SET_LIB_PATH) \
13864 for flag in $(EXTRA_HOST_FLAGS); do \
13865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13866 done; \
13867 echo "Doing distclean in automake" ; \
13868 (cd automake && \
13869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13871 "RANLIB=$${RANLIB}" \
13872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13873 distclean) \
13874 || exit 1
13877 .PHONY: maybe-distclean-bash distclean-bash
13878 maybe-distclean-bash:
13880 distclean-bash:
13881 @[ -f ./bash/Makefile ] || exit 0; \
13882 r=`${PWD}`; export r; \
13883 s=`cd $(srcdir); ${PWD}`; export s; \
13884 $(SET_LIB_PATH) \
13885 for flag in $(EXTRA_HOST_FLAGS); do \
13886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13887 done; \
13888 echo "Doing distclean in bash" ; \
13889 (cd bash && \
13890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13892 "RANLIB=$${RANLIB}" \
13893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13894 distclean) \
13895 || exit 1
13898 .PHONY: maybe-distclean-bfd distclean-bfd
13899 maybe-distclean-bfd:
13901 distclean-bfd:
13902 @[ -f ./bfd/Makefile ] || exit 0; \
13903 r=`${PWD}`; export r; \
13904 s=`cd $(srcdir); ${PWD}`; export s; \
13905 $(SET_LIB_PATH) \
13906 for flag in $(EXTRA_HOST_FLAGS); do \
13907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13908 done; \
13909 echo "Doing distclean in bfd" ; \
13910 (cd bfd && \
13911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13913 "RANLIB=$${RANLIB}" \
13914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13915 distclean) \
13916 || exit 1
13919 .PHONY: maybe-distclean-opcodes distclean-opcodes
13920 maybe-distclean-opcodes:
13922 distclean-opcodes:
13923 @[ -f ./opcodes/Makefile ] || exit 0; \
13924 r=`${PWD}`; export r; \
13925 s=`cd $(srcdir); ${PWD}`; export s; \
13926 $(SET_LIB_PATH) \
13927 for flag in $(EXTRA_HOST_FLAGS); do \
13928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13929 done; \
13930 echo "Doing distclean in opcodes" ; \
13931 (cd opcodes && \
13932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13934 "RANLIB=$${RANLIB}" \
13935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13936 distclean) \
13937 || exit 1
13940 .PHONY: maybe-distclean-binutils distclean-binutils
13941 maybe-distclean-binutils:
13943 distclean-binutils:
13944 @[ -f ./binutils/Makefile ] || exit 0; \
13945 r=`${PWD}`; export r; \
13946 s=`cd $(srcdir); ${PWD}`; export s; \
13947 $(SET_LIB_PATH) \
13948 for flag in $(EXTRA_HOST_FLAGS); do \
13949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13950 done; \
13951 echo "Doing distclean in binutils" ; \
13952 (cd binutils && \
13953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13955 "RANLIB=$${RANLIB}" \
13956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13957 distclean) \
13958 || exit 1
13961 .PHONY: maybe-distclean-bison distclean-bison
13962 maybe-distclean-bison:
13964 distclean-bison:
13965 @[ -f ./bison/Makefile ] || exit 0; \
13966 r=`${PWD}`; export r; \
13967 s=`cd $(srcdir); ${PWD}`; export s; \
13968 $(SET_LIB_PATH) \
13969 for flag in $(EXTRA_HOST_FLAGS); do \
13970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13971 done; \
13972 echo "Doing distclean in bison" ; \
13973 (cd bison && \
13974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13976 "RANLIB=$${RANLIB}" \
13977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13978 distclean) \
13979 || exit 1
13982 .PHONY: maybe-distclean-byacc distclean-byacc
13983 maybe-distclean-byacc:
13985 distclean-byacc:
13986 @[ -f ./byacc/Makefile ] || exit 0; \
13987 r=`${PWD}`; export r; \
13988 s=`cd $(srcdir); ${PWD}`; export s; \
13989 $(SET_LIB_PATH) \
13990 for flag in $(EXTRA_HOST_FLAGS); do \
13991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13992 done; \
13993 echo "Doing distclean in byacc" ; \
13994 (cd byacc && \
13995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13997 "RANLIB=$${RANLIB}" \
13998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13999 distclean) \
14000 || exit 1
14003 .PHONY: maybe-distclean-bzip2 distclean-bzip2
14004 maybe-distclean-bzip2:
14006 distclean-bzip2:
14007 @[ -f ./bzip2/Makefile ] || exit 0; \
14008 r=`${PWD}`; export r; \
14009 s=`cd $(srcdir); ${PWD}`; export s; \
14010 $(SET_LIB_PATH) \
14011 for flag in $(EXTRA_HOST_FLAGS); do \
14012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14013 done; \
14014 echo "Doing distclean in bzip2" ; \
14015 (cd bzip2 && \
14016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018 "RANLIB=$${RANLIB}" \
14019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14020 distclean) \
14021 || exit 1
14024 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
14025 maybe-distclean-dejagnu:
14027 distclean-dejagnu:
14028 @[ -f ./dejagnu/Makefile ] || exit 0; \
14029 r=`${PWD}`; export r; \
14030 s=`cd $(srcdir); ${PWD}`; export s; \
14031 $(SET_LIB_PATH) \
14032 for flag in $(EXTRA_HOST_FLAGS); do \
14033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14034 done; \
14035 echo "Doing distclean in dejagnu" ; \
14036 (cd dejagnu && \
14037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14039 "RANLIB=$${RANLIB}" \
14040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14041 distclean) \
14042 || exit 1
14045 .PHONY: maybe-distclean-diff distclean-diff
14046 maybe-distclean-diff:
14048 distclean-diff:
14049 @[ -f ./diff/Makefile ] || exit 0; \
14050 r=`${PWD}`; export r; \
14051 s=`cd $(srcdir); ${PWD}`; export s; \
14052 $(SET_LIB_PATH) \
14053 for flag in $(EXTRA_HOST_FLAGS); do \
14054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14055 done; \
14056 echo "Doing distclean in diff" ; \
14057 (cd diff && \
14058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14060 "RANLIB=$${RANLIB}" \
14061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14062 distclean) \
14063 || exit 1
14066 .PHONY: maybe-distclean-dosutils distclean-dosutils
14067 maybe-distclean-dosutils:
14069 distclean-dosutils:
14070 @[ -f ./dosutils/Makefile ] || exit 0; \
14071 r=`${PWD}`; export r; \
14072 s=`cd $(srcdir); ${PWD}`; export s; \
14073 $(SET_LIB_PATH) \
14074 for flag in $(EXTRA_HOST_FLAGS); do \
14075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14076 done; \
14077 echo "Doing distclean in dosutils" ; \
14078 (cd dosutils && \
14079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081 "RANLIB=$${RANLIB}" \
14082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14083 distclean) \
14084 || exit 1
14087 .PHONY: maybe-distclean-etc distclean-etc
14088 maybe-distclean-etc:
14090 distclean-etc:
14091 @[ -f ./etc/Makefile ] || exit 0; \
14092 r=`${PWD}`; export r; \
14093 s=`cd $(srcdir); ${PWD}`; export s; \
14094 $(SET_LIB_PATH) \
14095 for flag in $(EXTRA_HOST_FLAGS); do \
14096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14097 done; \
14098 echo "Doing distclean in etc" ; \
14099 (cd etc && \
14100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14102 "RANLIB=$${RANLIB}" \
14103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14104 distclean) \
14105 || exit 1
14108 .PHONY: maybe-distclean-fastjar distclean-fastjar
14109 maybe-distclean-fastjar:
14111 distclean-fastjar:
14112 @[ -f ./fastjar/Makefile ] || exit 0; \
14113 r=`${PWD}`; export r; \
14114 s=`cd $(srcdir); ${PWD}`; export s; \
14115 $(SET_LIB_PATH) \
14116 for flag in $(EXTRA_HOST_FLAGS); do \
14117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14118 done; \
14119 echo "Doing distclean in fastjar" ; \
14120 (cd fastjar && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14123 "RANLIB=$${RANLIB}" \
14124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14125 distclean) \
14126 || exit 1
14129 .PHONY: maybe-distclean-fileutils distclean-fileutils
14130 maybe-distclean-fileutils:
14132 distclean-fileutils:
14133 @[ -f ./fileutils/Makefile ] || exit 0; \
14134 r=`${PWD}`; export r; \
14135 s=`cd $(srcdir); ${PWD}`; export s; \
14136 $(SET_LIB_PATH) \
14137 for flag in $(EXTRA_HOST_FLAGS); do \
14138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14139 done; \
14140 echo "Doing distclean in fileutils" ; \
14141 (cd fileutils && \
14142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14144 "RANLIB=$${RANLIB}" \
14145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14146 distclean) \
14147 || exit 1
14150 .PHONY: maybe-distclean-findutils distclean-findutils
14151 maybe-distclean-findutils:
14153 distclean-findutils:
14154 @[ -f ./findutils/Makefile ] || exit 0; \
14155 r=`${PWD}`; export r; \
14156 s=`cd $(srcdir); ${PWD}`; export s; \
14157 $(SET_LIB_PATH) \
14158 for flag in $(EXTRA_HOST_FLAGS); do \
14159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14160 done; \
14161 echo "Doing distclean in findutils" ; \
14162 (cd findutils && \
14163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14165 "RANLIB=$${RANLIB}" \
14166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14167 distclean) \
14168 || exit 1
14171 .PHONY: maybe-distclean-find distclean-find
14172 maybe-distclean-find:
14174 distclean-find:
14175 @[ -f ./find/Makefile ] || exit 0; \
14176 r=`${PWD}`; export r; \
14177 s=`cd $(srcdir); ${PWD}`; export s; \
14178 $(SET_LIB_PATH) \
14179 for flag in $(EXTRA_HOST_FLAGS); do \
14180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181 done; \
14182 echo "Doing distclean in find" ; \
14183 (cd find && \
14184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186 "RANLIB=$${RANLIB}" \
14187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14188 distclean) \
14189 || exit 1
14192 .PHONY: maybe-distclean-flex distclean-flex
14193 maybe-distclean-flex:
14195 distclean-flex:
14196 @[ -f ./flex/Makefile ] || exit 0; \
14197 r=`${PWD}`; export r; \
14198 s=`cd $(srcdir); ${PWD}`; export s; \
14199 $(SET_LIB_PATH) \
14200 for flag in $(EXTRA_HOST_FLAGS); do \
14201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14202 done; \
14203 echo "Doing distclean in flex" ; \
14204 (cd flex && \
14205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14207 "RANLIB=$${RANLIB}" \
14208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14209 distclean) \
14210 || exit 1
14213 .PHONY: maybe-distclean-gas distclean-gas
14214 maybe-distclean-gas:
14216 distclean-gas:
14217 @[ -f ./gas/Makefile ] || exit 0; \
14218 r=`${PWD}`; export r; \
14219 s=`cd $(srcdir); ${PWD}`; export s; \
14220 $(SET_LIB_PATH) \
14221 for flag in $(EXTRA_HOST_FLAGS); do \
14222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14223 done; \
14224 echo "Doing distclean in gas" ; \
14225 (cd gas && \
14226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228 "RANLIB=$${RANLIB}" \
14229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14230 distclean) \
14231 || exit 1
14234 .PHONY: maybe-distclean-gawk distclean-gawk
14235 maybe-distclean-gawk:
14237 distclean-gawk:
14238 @[ -f ./gawk/Makefile ] || exit 0; \
14239 r=`${PWD}`; export r; \
14240 s=`cd $(srcdir); ${PWD}`; export s; \
14241 $(SET_LIB_PATH) \
14242 for flag in $(EXTRA_HOST_FLAGS); do \
14243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14244 done; \
14245 echo "Doing distclean in gawk" ; \
14246 (cd gawk && \
14247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249 "RANLIB=$${RANLIB}" \
14250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14251 distclean) \
14252 || exit 1
14255 .PHONY: maybe-distclean-gettext distclean-gettext
14256 maybe-distclean-gettext:
14258 distclean-gettext:
14259 @[ -f ./gettext/Makefile ] || exit 0; \
14260 r=`${PWD}`; export r; \
14261 s=`cd $(srcdir); ${PWD}`; export s; \
14262 $(SET_LIB_PATH) \
14263 for flag in $(EXTRA_HOST_FLAGS); do \
14264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14265 done; \
14266 echo "Doing distclean in gettext" ; \
14267 (cd gettext && \
14268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14270 "RANLIB=$${RANLIB}" \
14271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14272 distclean) \
14273 || exit 1
14276 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14277 maybe-distclean-gnuserv:
14279 distclean-gnuserv:
14280 @[ -f ./gnuserv/Makefile ] || exit 0; \
14281 r=`${PWD}`; export r; \
14282 s=`cd $(srcdir); ${PWD}`; export s; \
14283 $(SET_LIB_PATH) \
14284 for flag in $(EXTRA_HOST_FLAGS); do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286 done; \
14287 echo "Doing distclean in gnuserv" ; \
14288 (cd gnuserv && \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293 distclean) \
14294 || exit 1
14297 .PHONY: maybe-distclean-gprof distclean-gprof
14298 maybe-distclean-gprof:
14300 distclean-gprof:
14301 @[ -f ./gprof/Makefile ] || exit 0; \
14302 r=`${PWD}`; export r; \
14303 s=`cd $(srcdir); ${PWD}`; export s; \
14304 $(SET_LIB_PATH) \
14305 for flag in $(EXTRA_HOST_FLAGS); do \
14306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14307 done; \
14308 echo "Doing distclean in gprof" ; \
14309 (cd gprof && \
14310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14312 "RANLIB=$${RANLIB}" \
14313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14314 distclean) \
14315 || exit 1
14318 .PHONY: maybe-distclean-gzip distclean-gzip
14319 maybe-distclean-gzip:
14321 distclean-gzip:
14322 @[ -f ./gzip/Makefile ] || exit 0; \
14323 r=`${PWD}`; export r; \
14324 s=`cd $(srcdir); ${PWD}`; export s; \
14325 $(SET_LIB_PATH) \
14326 for flag in $(EXTRA_HOST_FLAGS); do \
14327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14328 done; \
14329 echo "Doing distclean in gzip" ; \
14330 (cd gzip && \
14331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14333 "RANLIB=$${RANLIB}" \
14334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14335 distclean) \
14336 || exit 1
14339 .PHONY: maybe-distclean-hello distclean-hello
14340 maybe-distclean-hello:
14342 distclean-hello:
14343 @[ -f ./hello/Makefile ] || exit 0; \
14344 r=`${PWD}`; export r; \
14345 s=`cd $(srcdir); ${PWD}`; export s; \
14346 $(SET_LIB_PATH) \
14347 for flag in $(EXTRA_HOST_FLAGS); do \
14348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14349 done; \
14350 echo "Doing distclean in hello" ; \
14351 (cd hello && \
14352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14354 "RANLIB=$${RANLIB}" \
14355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14356 distclean) \
14357 || exit 1
14360 .PHONY: maybe-distclean-indent distclean-indent
14361 maybe-distclean-indent:
14363 distclean-indent:
14364 @[ -f ./indent/Makefile ] || exit 0; \
14365 r=`${PWD}`; export r; \
14366 s=`cd $(srcdir); ${PWD}`; export s; \
14367 $(SET_LIB_PATH) \
14368 for flag in $(EXTRA_HOST_FLAGS); do \
14369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14370 done; \
14371 echo "Doing distclean in indent" ; \
14372 (cd indent && \
14373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14375 "RANLIB=$${RANLIB}" \
14376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14377 distclean) \
14378 || exit 1
14381 .PHONY: maybe-distclean-intl distclean-intl
14382 maybe-distclean-intl:
14384 distclean-intl:
14385 @[ -f ./intl/Makefile ] || exit 0; \
14386 r=`${PWD}`; export r; \
14387 s=`cd $(srcdir); ${PWD}`; export s; \
14388 $(SET_LIB_PATH) \
14389 for flag in $(EXTRA_HOST_FLAGS); do \
14390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14391 done; \
14392 echo "Doing distclean in intl" ; \
14393 (cd intl && \
14394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14396 "RANLIB=$${RANLIB}" \
14397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14398 distclean) \
14399 || exit 1
14402 .PHONY: maybe-distclean-tcl distclean-tcl
14403 maybe-distclean-tcl:
14405 distclean-tcl:
14406 @[ -f ./tcl/Makefile ] || exit 0; \
14407 r=`${PWD}`; export r; \
14408 s=`cd $(srcdir); ${PWD}`; export s; \
14409 $(SET_LIB_PATH) \
14410 for flag in $(EXTRA_HOST_FLAGS); do \
14411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14412 done; \
14413 echo "Doing distclean in tcl" ; \
14414 (cd tcl && \
14415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14417 "RANLIB=$${RANLIB}" \
14418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14419 distclean) \
14420 || exit 1
14423 .PHONY: maybe-distclean-itcl distclean-itcl
14424 maybe-distclean-itcl:
14426 distclean-itcl:
14427 @[ -f ./itcl/Makefile ] || exit 0; \
14428 r=`${PWD}`; export r; \
14429 s=`cd $(srcdir); ${PWD}`; export s; \
14430 $(SET_LIB_PATH) \
14431 for flag in $(EXTRA_HOST_FLAGS); do \
14432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14433 done; \
14434 echo "Doing distclean in itcl" ; \
14435 (cd itcl && \
14436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14438 "RANLIB=$${RANLIB}" \
14439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14440 distclean) \
14441 || exit 1
14444 .PHONY: maybe-distclean-ld distclean-ld
14445 maybe-distclean-ld:
14447 distclean-ld:
14448 @[ -f ./ld/Makefile ] || exit 0; \
14449 r=`${PWD}`; export r; \
14450 s=`cd $(srcdir); ${PWD}`; export s; \
14451 $(SET_LIB_PATH) \
14452 for flag in $(EXTRA_HOST_FLAGS); do \
14453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14454 done; \
14455 echo "Doing distclean in ld" ; \
14456 (cd ld && \
14457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14459 "RANLIB=$${RANLIB}" \
14460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14461 distclean) \
14462 || exit 1
14465 .PHONY: maybe-distclean-libgui distclean-libgui
14466 maybe-distclean-libgui:
14468 distclean-libgui:
14469 @[ -f ./libgui/Makefile ] || exit 0; \
14470 r=`${PWD}`; export r; \
14471 s=`cd $(srcdir); ${PWD}`; export s; \
14472 $(SET_LIB_PATH) \
14473 for flag in $(EXTRA_HOST_FLAGS); do \
14474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14475 done; \
14476 echo "Doing distclean in libgui" ; \
14477 (cd libgui && \
14478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14480 "RANLIB=$${RANLIB}" \
14481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14482 distclean) \
14483 || exit 1
14486 .PHONY: maybe-distclean-libiberty distclean-libiberty
14487 maybe-distclean-libiberty:
14489 distclean-libiberty:
14490 @[ -f ./libiberty/Makefile ] || exit 0; \
14491 r=`${PWD}`; export r; \
14492 s=`cd $(srcdir); ${PWD}`; export s; \
14493 $(SET_LIB_PATH) \
14494 for flag in $(EXTRA_HOST_FLAGS); do \
14495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14496 done; \
14497 echo "Doing distclean in libiberty" ; \
14498 (cd libiberty && \
14499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14501 "RANLIB=$${RANLIB}" \
14502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14503 distclean) \
14504 || exit 1
14507 .PHONY: maybe-distclean-libtool distclean-libtool
14508 maybe-distclean-libtool:
14510 distclean-libtool:
14511 @[ -f ./libtool/Makefile ] || exit 0; \
14512 r=`${PWD}`; export r; \
14513 s=`cd $(srcdir); ${PWD}`; export s; \
14514 $(SET_LIB_PATH) \
14515 for flag in $(EXTRA_HOST_FLAGS); do \
14516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14517 done; \
14518 echo "Doing distclean in libtool" ; \
14519 (cd libtool && \
14520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14522 "RANLIB=$${RANLIB}" \
14523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14524 distclean) \
14525 || exit 1
14528 .PHONY: maybe-distclean-m4 distclean-m4
14529 maybe-distclean-m4:
14531 distclean-m4:
14532 @[ -f ./m4/Makefile ] || exit 0; \
14533 r=`${PWD}`; export r; \
14534 s=`cd $(srcdir); ${PWD}`; export s; \
14535 $(SET_LIB_PATH) \
14536 for flag in $(EXTRA_HOST_FLAGS); do \
14537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14538 done; \
14539 echo "Doing distclean in m4" ; \
14540 (cd m4 && \
14541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14543 "RANLIB=$${RANLIB}" \
14544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14545 distclean) \
14546 || exit 1
14549 .PHONY: maybe-distclean-make distclean-make
14550 maybe-distclean-make:
14552 distclean-make:
14553 @[ -f ./make/Makefile ] || exit 0; \
14554 r=`${PWD}`; export r; \
14555 s=`cd $(srcdir); ${PWD}`; export s; \
14556 $(SET_LIB_PATH) \
14557 for flag in $(EXTRA_HOST_FLAGS); do \
14558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 done; \
14560 echo "Doing distclean in make" ; \
14561 (cd make && \
14562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14564 "RANLIB=$${RANLIB}" \
14565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14566 distclean) \
14567 || exit 1
14570 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14571 maybe-distclean-mmalloc:
14573 distclean-mmalloc:
14574 @[ -f ./mmalloc/Makefile ] || exit 0; \
14575 r=`${PWD}`; export r; \
14576 s=`cd $(srcdir); ${PWD}`; export s; \
14577 $(SET_LIB_PATH) \
14578 for flag in $(EXTRA_HOST_FLAGS); do \
14579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14580 done; \
14581 echo "Doing distclean in mmalloc" ; \
14582 (cd mmalloc && \
14583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14585 "RANLIB=$${RANLIB}" \
14586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14587 distclean) \
14588 || exit 1
14591 .PHONY: maybe-distclean-patch distclean-patch
14592 maybe-distclean-patch:
14594 distclean-patch:
14595 @[ -f ./patch/Makefile ] || exit 0; \
14596 r=`${PWD}`; export r; \
14597 s=`cd $(srcdir); ${PWD}`; export s; \
14598 $(SET_LIB_PATH) \
14599 for flag in $(EXTRA_HOST_FLAGS); do \
14600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14601 done; \
14602 echo "Doing distclean in patch" ; \
14603 (cd patch && \
14604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14606 "RANLIB=$${RANLIB}" \
14607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14608 distclean) \
14609 || exit 1
14612 .PHONY: maybe-distclean-perl distclean-perl
14613 maybe-distclean-perl:
14615 distclean-perl:
14616 @[ -f ./perl/Makefile ] || exit 0; \
14617 r=`${PWD}`; export r; \
14618 s=`cd $(srcdir); ${PWD}`; export s; \
14619 $(SET_LIB_PATH) \
14620 for flag in $(EXTRA_HOST_FLAGS); do \
14621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14622 done; \
14623 echo "Doing distclean in perl" ; \
14624 (cd perl && \
14625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14627 "RANLIB=$${RANLIB}" \
14628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14629 distclean) \
14630 || exit 1
14633 .PHONY: maybe-distclean-prms distclean-prms
14634 maybe-distclean-prms:
14636 distclean-prms:
14637 @[ -f ./prms/Makefile ] || exit 0; \
14638 r=`${PWD}`; export r; \
14639 s=`cd $(srcdir); ${PWD}`; export s; \
14640 $(SET_LIB_PATH) \
14641 for flag in $(EXTRA_HOST_FLAGS); do \
14642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14643 done; \
14644 echo "Doing distclean in prms" ; \
14645 (cd prms && \
14646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14648 "RANLIB=$${RANLIB}" \
14649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14650 distclean) \
14651 || exit 1
14654 .PHONY: maybe-distclean-rcs distclean-rcs
14655 maybe-distclean-rcs:
14657 distclean-rcs:
14658 @[ -f ./rcs/Makefile ] || exit 0; \
14659 r=`${PWD}`; export r; \
14660 s=`cd $(srcdir); ${PWD}`; export s; \
14661 $(SET_LIB_PATH) \
14662 for flag in $(EXTRA_HOST_FLAGS); do \
14663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14664 done; \
14665 echo "Doing distclean in rcs" ; \
14666 (cd rcs && \
14667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14669 "RANLIB=$${RANLIB}" \
14670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14671 distclean) \
14672 || exit 1
14675 .PHONY: maybe-distclean-readline distclean-readline
14676 maybe-distclean-readline:
14678 distclean-readline:
14679 @[ -f ./readline/Makefile ] || exit 0; \
14680 r=`${PWD}`; export r; \
14681 s=`cd $(srcdir); ${PWD}`; export s; \
14682 $(SET_LIB_PATH) \
14683 for flag in $(EXTRA_HOST_FLAGS); do \
14684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14685 done; \
14686 echo "Doing distclean in readline" ; \
14687 (cd readline && \
14688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14690 "RANLIB=$${RANLIB}" \
14691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14692 distclean) \
14693 || exit 1
14696 .PHONY: maybe-distclean-release distclean-release
14697 maybe-distclean-release:
14699 distclean-release:
14700 @[ -f ./release/Makefile ] || exit 0; \
14701 r=`${PWD}`; export r; \
14702 s=`cd $(srcdir); ${PWD}`; export s; \
14703 $(SET_LIB_PATH) \
14704 for flag in $(EXTRA_HOST_FLAGS); do \
14705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14706 done; \
14707 echo "Doing distclean in release" ; \
14708 (cd release && \
14709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14711 "RANLIB=$${RANLIB}" \
14712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14713 distclean) \
14714 || exit 1
14717 .PHONY: maybe-distclean-recode distclean-recode
14718 maybe-distclean-recode:
14720 distclean-recode:
14721 @[ -f ./recode/Makefile ] || exit 0; \
14722 r=`${PWD}`; export r; \
14723 s=`cd $(srcdir); ${PWD}`; export s; \
14724 $(SET_LIB_PATH) \
14725 for flag in $(EXTRA_HOST_FLAGS); do \
14726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14727 done; \
14728 echo "Doing distclean in recode" ; \
14729 (cd recode && \
14730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14732 "RANLIB=$${RANLIB}" \
14733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14734 distclean) \
14735 || exit 1
14738 .PHONY: maybe-distclean-sed distclean-sed
14739 maybe-distclean-sed:
14741 distclean-sed:
14742 @[ -f ./sed/Makefile ] || exit 0; \
14743 r=`${PWD}`; export r; \
14744 s=`cd $(srcdir); ${PWD}`; export s; \
14745 $(SET_LIB_PATH) \
14746 for flag in $(EXTRA_HOST_FLAGS); do \
14747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14748 done; \
14749 echo "Doing distclean in sed" ; \
14750 (cd sed && \
14751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14753 "RANLIB=$${RANLIB}" \
14754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14755 distclean) \
14756 || exit 1
14759 .PHONY: maybe-distclean-send-pr distclean-send-pr
14760 maybe-distclean-send-pr:
14762 distclean-send-pr:
14763 @[ -f ./send-pr/Makefile ] || exit 0; \
14764 r=`${PWD}`; export r; \
14765 s=`cd $(srcdir); ${PWD}`; export s; \
14766 $(SET_LIB_PATH) \
14767 for flag in $(EXTRA_HOST_FLAGS); do \
14768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14769 done; \
14770 echo "Doing distclean in send-pr" ; \
14771 (cd send-pr && \
14772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14774 "RANLIB=$${RANLIB}" \
14775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14776 distclean) \
14777 || exit 1
14780 .PHONY: maybe-distclean-shellutils distclean-shellutils
14781 maybe-distclean-shellutils:
14783 distclean-shellutils:
14784 @[ -f ./shellutils/Makefile ] || exit 0; \
14785 r=`${PWD}`; export r; \
14786 s=`cd $(srcdir); ${PWD}`; export s; \
14787 $(SET_LIB_PATH) \
14788 for flag in $(EXTRA_HOST_FLAGS); do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790 done; \
14791 echo "Doing distclean in shellutils" ; \
14792 (cd shellutils && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797 distclean) \
14798 || exit 1
14801 .PHONY: maybe-distclean-sid distclean-sid
14802 maybe-distclean-sid:
14804 distclean-sid:
14805 @[ -f ./sid/Makefile ] || exit 0; \
14806 r=`${PWD}`; export r; \
14807 s=`cd $(srcdir); ${PWD}`; export s; \
14808 $(SET_LIB_PATH) \
14809 for flag in $(EXTRA_HOST_FLAGS); do \
14810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14811 done; \
14812 echo "Doing distclean in sid" ; \
14813 (cd sid && \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14816 "RANLIB=$${RANLIB}" \
14817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14818 distclean) \
14819 || exit 1
14822 .PHONY: maybe-distclean-sim distclean-sim
14823 maybe-distclean-sim:
14825 distclean-sim:
14826 @[ -f ./sim/Makefile ] || exit 0; \
14827 r=`${PWD}`; export r; \
14828 s=`cd $(srcdir); ${PWD}`; export s; \
14829 $(SET_LIB_PATH) \
14830 for flag in $(EXTRA_HOST_FLAGS); do \
14831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14832 done; \
14833 echo "Doing distclean in sim" ; \
14834 (cd sim && \
14835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14837 "RANLIB=$${RANLIB}" \
14838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14839 distclean) \
14840 || exit 1
14843 .PHONY: maybe-distclean-tar distclean-tar
14844 maybe-distclean-tar:
14846 distclean-tar:
14847 @[ -f ./tar/Makefile ] || exit 0; \
14848 r=`${PWD}`; export r; \
14849 s=`cd $(srcdir); ${PWD}`; export s; \
14850 $(SET_LIB_PATH) \
14851 for flag in $(EXTRA_HOST_FLAGS); do \
14852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14853 done; \
14854 echo "Doing distclean in tar" ; \
14855 (cd tar && \
14856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14858 "RANLIB=$${RANLIB}" \
14859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14860 distclean) \
14861 || exit 1
14864 .PHONY: maybe-distclean-texinfo distclean-texinfo
14865 maybe-distclean-texinfo:
14867 distclean-texinfo:
14868 @[ -f ./texinfo/Makefile ] || exit 0; \
14869 r=`${PWD}`; export r; \
14870 s=`cd $(srcdir); ${PWD}`; export s; \
14871 $(SET_LIB_PATH) \
14872 for flag in $(EXTRA_HOST_FLAGS); do \
14873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14874 done; \
14875 echo "Doing distclean in texinfo" ; \
14876 (cd texinfo && \
14877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14879 "RANLIB=$${RANLIB}" \
14880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14881 distclean) \
14882 || exit 1
14885 .PHONY: maybe-distclean-textutils distclean-textutils
14886 maybe-distclean-textutils:
14888 distclean-textutils:
14889 @[ -f ./textutils/Makefile ] || exit 0; \
14890 r=`${PWD}`; export r; \
14891 s=`cd $(srcdir); ${PWD}`; export s; \
14892 $(SET_LIB_PATH) \
14893 for flag in $(EXTRA_HOST_FLAGS); do \
14894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14895 done; \
14896 echo "Doing distclean in textutils" ; \
14897 (cd textutils && \
14898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14900 "RANLIB=$${RANLIB}" \
14901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14902 distclean) \
14903 || exit 1
14906 .PHONY: maybe-distclean-time distclean-time
14907 maybe-distclean-time:
14909 distclean-time:
14910 @[ -f ./time/Makefile ] || exit 0; \
14911 r=`${PWD}`; export r; \
14912 s=`cd $(srcdir); ${PWD}`; export s; \
14913 $(SET_LIB_PATH) \
14914 for flag in $(EXTRA_HOST_FLAGS); do \
14915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14916 done; \
14917 echo "Doing distclean in time" ; \
14918 (cd time && \
14919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14921 "RANLIB=$${RANLIB}" \
14922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14923 distclean) \
14924 || exit 1
14927 .PHONY: maybe-distclean-uudecode distclean-uudecode
14928 maybe-distclean-uudecode:
14930 distclean-uudecode:
14931 @[ -f ./uudecode/Makefile ] || exit 0; \
14932 r=`${PWD}`; export r; \
14933 s=`cd $(srcdir); ${PWD}`; export s; \
14934 $(SET_LIB_PATH) \
14935 for flag in $(EXTRA_HOST_FLAGS); do \
14936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14937 done; \
14938 echo "Doing distclean in uudecode" ; \
14939 (cd uudecode && \
14940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14942 "RANLIB=$${RANLIB}" \
14943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14944 distclean) \
14945 || exit 1
14948 .PHONY: maybe-distclean-wdiff distclean-wdiff
14949 maybe-distclean-wdiff:
14951 distclean-wdiff:
14952 @[ -f ./wdiff/Makefile ] || exit 0; \
14953 r=`${PWD}`; export r; \
14954 s=`cd $(srcdir); ${PWD}`; export s; \
14955 $(SET_LIB_PATH) \
14956 for flag in $(EXTRA_HOST_FLAGS); do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14958 done; \
14959 echo "Doing distclean in wdiff" ; \
14960 (cd wdiff && \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14965 distclean) \
14966 || exit 1
14969 .PHONY: maybe-distclean-zip distclean-zip
14970 maybe-distclean-zip:
14972 distclean-zip:
14973 @[ -f ./zip/Makefile ] || exit 0; \
14974 r=`${PWD}`; export r; \
14975 s=`cd $(srcdir); ${PWD}`; export s; \
14976 $(SET_LIB_PATH) \
14977 for flag in $(EXTRA_HOST_FLAGS); do \
14978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14979 done; \
14980 echo "Doing distclean in zip" ; \
14981 (cd zip && \
14982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14984 "RANLIB=$${RANLIB}" \
14985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14986 distclean) \
14987 || exit 1
14990 .PHONY: maybe-distclean-zlib distclean-zlib
14991 maybe-distclean-zlib:
14993 distclean-zlib:
14994 @[ -f ./zlib/Makefile ] || exit 0; \
14995 r=`${PWD}`; export r; \
14996 s=`cd $(srcdir); ${PWD}`; export s; \
14997 $(SET_LIB_PATH) \
14998 for flag in $(EXTRA_HOST_FLAGS); do \
14999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15000 done; \
15001 echo "Doing distclean in zlib" ; \
15002 (cd zlib && \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15005 "RANLIB=$${RANLIB}" \
15006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15007 distclean) \
15008 || exit 1
15011 .PHONY: maybe-distclean-gdb distclean-gdb
15012 maybe-distclean-gdb:
15014 distclean-gdb:
15015 @[ -f ./gdb/Makefile ] || exit 0; \
15016 r=`${PWD}`; export r; \
15017 s=`cd $(srcdir); ${PWD}`; export s; \
15018 $(SET_LIB_PATH) \
15019 for flag in $(EXTRA_HOST_FLAGS); do \
15020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15021 done; \
15022 echo "Doing distclean in gdb" ; \
15023 (cd gdb && \
15024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15026 "RANLIB=$${RANLIB}" \
15027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15028 distclean) \
15029 || exit 1
15032 .PHONY: maybe-distclean-expect distclean-expect
15033 maybe-distclean-expect:
15035 distclean-expect:
15036 @[ -f ./expect/Makefile ] || exit 0; \
15037 r=`${PWD}`; export r; \
15038 s=`cd $(srcdir); ${PWD}`; export s; \
15039 $(SET_LIB_PATH) \
15040 for flag in $(EXTRA_HOST_FLAGS); do \
15041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15042 done; \
15043 echo "Doing distclean in expect" ; \
15044 (cd expect && \
15045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15047 "RANLIB=$${RANLIB}" \
15048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15049 distclean) \
15050 || exit 1
15053 .PHONY: maybe-distclean-guile distclean-guile
15054 maybe-distclean-guile:
15056 distclean-guile:
15057 @[ -f ./guile/Makefile ] || exit 0; \
15058 r=`${PWD}`; export r; \
15059 s=`cd $(srcdir); ${PWD}`; export s; \
15060 $(SET_LIB_PATH) \
15061 for flag in $(EXTRA_HOST_FLAGS); do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15063 done; \
15064 echo "Doing distclean in guile" ; \
15065 (cd guile && \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15070 distclean) \
15071 || exit 1
15074 .PHONY: maybe-distclean-tk distclean-tk
15075 maybe-distclean-tk:
15077 distclean-tk:
15078 @[ -f ./tk/Makefile ] || exit 0; \
15079 r=`${PWD}`; export r; \
15080 s=`cd $(srcdir); ${PWD}`; export s; \
15081 $(SET_LIB_PATH) \
15082 for flag in $(EXTRA_HOST_FLAGS); do \
15083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15084 done; \
15085 echo "Doing distclean in tk" ; \
15086 (cd tk && \
15087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15089 "RANLIB=$${RANLIB}" \
15090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15091 distclean) \
15092 || exit 1
15095 .PHONY: maybe-distclean-tix distclean-tix
15096 maybe-distclean-tix:
15098 distclean-tix:
15099 @[ -f ./tix/Makefile ] || exit 0; \
15100 r=`${PWD}`; export r; \
15101 s=`cd $(srcdir); ${PWD}`; export s; \
15102 $(SET_LIB_PATH) \
15103 for flag in $(EXTRA_HOST_FLAGS); do \
15104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15105 done; \
15106 echo "Doing distclean in tix" ; \
15107 (cd tix && \
15108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15110 "RANLIB=$${RANLIB}" \
15111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15112 distclean) \
15113 || exit 1
15116 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
15117 maybe-distclean-libtermcap:
15119 # libtermcap doesn't support distclean.
15120 distclean-libtermcap:
15123 .PHONY: maybe-distclean-utils distclean-utils
15124 maybe-distclean-utils:
15126 distclean-utils:
15127 @[ -f ./utils/Makefile ] || exit 0; \
15128 r=`${PWD}`; export r; \
15129 s=`cd $(srcdir); ${PWD}`; export s; \
15130 $(SET_LIB_PATH) \
15131 for flag in $(EXTRA_HOST_FLAGS); do \
15132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15133 done; \
15134 echo "Doing distclean in utils" ; \
15135 (cd utils && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15138 "RANLIB=$${RANLIB}" \
15139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15140 distclean) \
15141 || exit 1
15145 # Target modules.
15147 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
15148 maybe-distclean-target-libstdc++-v3:
15150 distclean-target-libstdc++-v3:
15151 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
15152 r=`${PWD}`; export r; \
15153 s=`cd $(srcdir); ${PWD}`; export s; \
15154 $(SET_LIB_PATH) \
15155 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
15156 for flag in $(EXTRA_TARGET_FLAGS); do \
15157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15158 done; \
15159 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
15160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15162 "RANLIB=$${RANLIB}" \
15163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15164 distclean) \
15165 || exit 1
15168 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
15169 maybe-distclean-target-newlib:
15171 distclean-target-newlib:
15172 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
15173 r=`${PWD}`; export r; \
15174 s=`cd $(srcdir); ${PWD}`; export s; \
15175 $(SET_LIB_PATH) \
15176 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
15177 for flag in $(EXTRA_TARGET_FLAGS); do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15179 done; \
15180 (cd $(TARGET_SUBDIR)/newlib && \
15181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15183 "RANLIB=$${RANLIB}" \
15184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15185 distclean) \
15186 || exit 1
15189 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
15190 maybe-distclean-target-libf2c:
15192 distclean-target-libf2c:
15193 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
15194 r=`${PWD}`; export r; \
15195 s=`cd $(srcdir); ${PWD}`; export s; \
15196 $(SET_LIB_PATH) \
15197 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
15198 for flag in $(EXTRA_TARGET_FLAGS); do \
15199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15200 done; \
15201 (cd $(TARGET_SUBDIR)/libf2c && \
15202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15204 "RANLIB=$${RANLIB}" \
15205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15206 distclean) \
15207 || exit 1
15210 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
15211 maybe-distclean-target-libobjc:
15213 distclean-target-libobjc:
15214 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
15215 r=`${PWD}`; export r; \
15216 s=`cd $(srcdir); ${PWD}`; export s; \
15217 $(SET_LIB_PATH) \
15218 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
15219 for flag in $(EXTRA_TARGET_FLAGS); do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221 done; \
15222 (cd $(TARGET_SUBDIR)/libobjc && \
15223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15225 "RANLIB=$${RANLIB}" \
15226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15227 distclean) \
15228 || exit 1
15231 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
15232 maybe-distclean-target-libtermcap:
15234 # libtermcap doesn't support distclean.
15235 distclean-target-libtermcap:
15238 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
15239 maybe-distclean-target-winsup:
15241 distclean-target-winsup:
15242 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
15243 r=`${PWD}`; export r; \
15244 s=`cd $(srcdir); ${PWD}`; export s; \
15245 $(SET_LIB_PATH) \
15246 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
15247 for flag in $(EXTRA_TARGET_FLAGS); do \
15248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15249 done; \
15250 (cd $(TARGET_SUBDIR)/winsup && \
15251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15253 "RANLIB=$${RANLIB}" \
15254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15255 distclean) \
15256 || exit 1
15259 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
15260 maybe-distclean-target-libgloss:
15262 distclean-target-libgloss:
15263 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
15264 r=`${PWD}`; export r; \
15265 s=`cd $(srcdir); ${PWD}`; export s; \
15266 $(SET_LIB_PATH) \
15267 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
15268 for flag in $(EXTRA_TARGET_FLAGS); do \
15269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15270 done; \
15271 (cd $(TARGET_SUBDIR)/libgloss && \
15272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15274 "RANLIB=$${RANLIB}" \
15275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15276 distclean) \
15277 || exit 1
15280 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
15281 maybe-distclean-target-libiberty:
15283 distclean-target-libiberty:
15284 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
15285 r=`${PWD}`; export r; \
15286 s=`cd $(srcdir); ${PWD}`; export s; \
15287 $(SET_LIB_PATH) \
15288 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
15289 for flag in $(EXTRA_TARGET_FLAGS); do \
15290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15291 done; \
15292 (cd $(TARGET_SUBDIR)/libiberty && \
15293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15295 "RANLIB=$${RANLIB}" \
15296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15297 distclean) \
15298 || exit 1
15301 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
15302 maybe-distclean-target-gperf:
15304 distclean-target-gperf:
15305 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
15306 r=`${PWD}`; export r; \
15307 s=`cd $(srcdir); ${PWD}`; export s; \
15308 $(SET_LIB_PATH) \
15309 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
15310 for flag in $(EXTRA_TARGET_FLAGS); do \
15311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15312 done; \
15313 (cd $(TARGET_SUBDIR)/gperf && \
15314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15316 "RANLIB=$${RANLIB}" \
15317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15318 distclean) \
15319 || exit 1
15322 .PHONY: maybe-distclean-target-examples distclean-target-examples
15323 maybe-distclean-target-examples:
15325 distclean-target-examples:
15326 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
15327 r=`${PWD}`; export r; \
15328 s=`cd $(srcdir); ${PWD}`; export s; \
15329 $(SET_LIB_PATH) \
15330 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
15331 for flag in $(EXTRA_TARGET_FLAGS); do \
15332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15333 done; \
15334 (cd $(TARGET_SUBDIR)/examples && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15339 distclean) \
15340 || exit 1
15343 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
15344 maybe-distclean-target-libffi:
15346 distclean-target-libffi:
15347 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
15348 r=`${PWD}`; export r; \
15349 s=`cd $(srcdir); ${PWD}`; export s; \
15350 $(SET_LIB_PATH) \
15351 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
15352 for flag in $(EXTRA_TARGET_FLAGS); do \
15353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15354 done; \
15355 (cd $(TARGET_SUBDIR)/libffi && \
15356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15358 "RANLIB=$${RANLIB}" \
15359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15360 distclean) \
15361 || exit 1
15364 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
15365 maybe-distclean-target-libjava:
15367 distclean-target-libjava:
15368 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
15369 r=`${PWD}`; export r; \
15370 s=`cd $(srcdir); ${PWD}`; export s; \
15371 $(SET_LIB_PATH) \
15372 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
15373 for flag in $(EXTRA_TARGET_FLAGS); do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 (cd $(TARGET_SUBDIR)/libjava && \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381 distclean) \
15382 || exit 1
15385 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
15386 maybe-distclean-target-zlib:
15388 distclean-target-zlib:
15389 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
15390 r=`${PWD}`; export r; \
15391 s=`cd $(srcdir); ${PWD}`; export s; \
15392 $(SET_LIB_PATH) \
15393 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
15394 for flag in $(EXTRA_TARGET_FLAGS); do \
15395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15396 done; \
15397 (cd $(TARGET_SUBDIR)/zlib && \
15398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15400 "RANLIB=$${RANLIB}" \
15401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15402 distclean) \
15403 || exit 1
15406 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
15407 maybe-distclean-target-boehm-gc:
15409 distclean-target-boehm-gc:
15410 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
15411 r=`${PWD}`; export r; \
15412 s=`cd $(srcdir); ${PWD}`; export s; \
15413 $(SET_LIB_PATH) \
15414 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
15415 for flag in $(EXTRA_TARGET_FLAGS); do \
15416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15417 done; \
15418 (cd $(TARGET_SUBDIR)/boehm-gc && \
15419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15421 "RANLIB=$${RANLIB}" \
15422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15423 distclean) \
15424 || exit 1
15427 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
15428 maybe-distclean-target-qthreads:
15430 distclean-target-qthreads:
15431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
15432 r=`${PWD}`; export r; \
15433 s=`cd $(srcdir); ${PWD}`; export s; \
15434 $(SET_LIB_PATH) \
15435 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
15436 for flag in $(EXTRA_TARGET_FLAGS); do \
15437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15438 done; \
15439 (cd $(TARGET_SUBDIR)/qthreads && \
15440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442 "RANLIB=$${RANLIB}" \
15443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15444 distclean) \
15445 || exit 1
15448 .PHONY: maybe-distclean-target-rda distclean-target-rda
15449 maybe-distclean-target-rda:
15451 distclean-target-rda:
15452 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
15453 r=`${PWD}`; export r; \
15454 s=`cd $(srcdir); ${PWD}`; export s; \
15455 $(SET_LIB_PATH) \
15456 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
15457 for flag in $(EXTRA_TARGET_FLAGS); do \
15458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15459 done; \
15460 (cd $(TARGET_SUBDIR)/rda && \
15461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15463 "RANLIB=$${RANLIB}" \
15464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15465 distclean) \
15466 || exit 1
15470 .PHONY: do-maintainer-clean
15471 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
15473 .PHONY: maintainer-clean-host
15474 maintainer-clean-host: maybe-maintainer-clean-gcc \
15475 maybe-maintainer-clean-ash \
15476 maybe-maintainer-clean-autoconf \
15477 maybe-maintainer-clean-automake \
15478 maybe-maintainer-clean-bash \
15479 maybe-maintainer-clean-bfd \
15480 maybe-maintainer-clean-opcodes \
15481 maybe-maintainer-clean-binutils \
15482 maybe-maintainer-clean-bison \
15483 maybe-maintainer-clean-byacc \
15484 maybe-maintainer-clean-bzip2 \
15485 maybe-maintainer-clean-dejagnu \
15486 maybe-maintainer-clean-diff \
15487 maybe-maintainer-clean-dosutils \
15488 maybe-maintainer-clean-etc \
15489 maybe-maintainer-clean-fastjar \
15490 maybe-maintainer-clean-fileutils \
15491 maybe-maintainer-clean-findutils \
15492 maybe-maintainer-clean-find \
15493 maybe-maintainer-clean-flex \
15494 maybe-maintainer-clean-gas \
15495 maybe-maintainer-clean-gawk \
15496 maybe-maintainer-clean-gettext \
15497 maybe-maintainer-clean-gnuserv \
15498 maybe-maintainer-clean-gprof \
15499 maybe-maintainer-clean-gzip \
15500 maybe-maintainer-clean-hello \
15501 maybe-maintainer-clean-indent \
15502 maybe-maintainer-clean-intl \
15503 maybe-maintainer-clean-tcl \
15504 maybe-maintainer-clean-itcl \
15505 maybe-maintainer-clean-ld \
15506 maybe-maintainer-clean-libgui \
15507 maybe-maintainer-clean-libiberty \
15508 maybe-maintainer-clean-libtool \
15509 maybe-maintainer-clean-m4 \
15510 maybe-maintainer-clean-make \
15511 maybe-maintainer-clean-mmalloc \
15512 maybe-maintainer-clean-patch \
15513 maybe-maintainer-clean-perl \
15514 maybe-maintainer-clean-prms \
15515 maybe-maintainer-clean-rcs \
15516 maybe-maintainer-clean-readline \
15517 maybe-maintainer-clean-release \
15518 maybe-maintainer-clean-recode \
15519 maybe-maintainer-clean-sed \
15520 maybe-maintainer-clean-send-pr \
15521 maybe-maintainer-clean-shellutils \
15522 maybe-maintainer-clean-sid \
15523 maybe-maintainer-clean-sim \
15524 maybe-maintainer-clean-tar \
15525 maybe-maintainer-clean-texinfo \
15526 maybe-maintainer-clean-textutils \
15527 maybe-maintainer-clean-time \
15528 maybe-maintainer-clean-uudecode \
15529 maybe-maintainer-clean-wdiff \
15530 maybe-maintainer-clean-zip \
15531 maybe-maintainer-clean-zlib \
15532 maybe-maintainer-clean-gdb \
15533 maybe-maintainer-clean-expect \
15534 maybe-maintainer-clean-guile \
15535 maybe-maintainer-clean-tk \
15536 maybe-maintainer-clean-tix \
15537 maybe-maintainer-clean-libtermcap \
15538 maybe-maintainer-clean-utils
15540 .PHONY: maintainer-clean-target
15541 maintainer-clean-target: \
15542 maybe-maintainer-clean-target-libstdc++-v3 \
15543 maybe-maintainer-clean-target-newlib \
15544 maybe-maintainer-clean-target-libf2c \
15545 maybe-maintainer-clean-target-libobjc \
15546 maybe-maintainer-clean-target-libtermcap \
15547 maybe-maintainer-clean-target-winsup \
15548 maybe-maintainer-clean-target-libgloss \
15549 maybe-maintainer-clean-target-libiberty \
15550 maybe-maintainer-clean-target-gperf \
15551 maybe-maintainer-clean-target-examples \
15552 maybe-maintainer-clean-target-libffi \
15553 maybe-maintainer-clean-target-libjava \
15554 maybe-maintainer-clean-target-zlib \
15555 maybe-maintainer-clean-target-boehm-gc \
15556 maybe-maintainer-clean-target-qthreads \
15557 maybe-maintainer-clean-target-rda
15559 # GCC, the eternal special case
15560 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15561 maybe-maintainer-clean-gcc:
15562 maintainer-clean-gcc:
15563 @[ -f ./gcc/Makefile ] || exit 0; \
15564 r=`${PWD}`; export r; \
15565 s=`cd $(srcdir); ${PWD}`; export s; \
15566 $(SET_LIB_PATH) \
15567 for flag in $(EXTRA_GCC_FLAGS); do \
15568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15569 done; \
15570 echo "Doing maintainer-clean in gcc" ; \
15571 (cd gcc && \
15572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15574 "RANLIB=$${RANLIB}" \
15575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15576 maintainer-clean) \
15577 || exit 1
15579 # Host modules.
15581 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
15582 maybe-maintainer-clean-ash:
15584 maintainer-clean-ash:
15585 @[ -f ./ash/Makefile ] || exit 0; \
15586 r=`${PWD}`; export r; \
15587 s=`cd $(srcdir); ${PWD}`; export s; \
15588 $(SET_LIB_PATH) \
15589 for flag in $(EXTRA_HOST_FLAGS); do \
15590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15591 done; \
15592 echo "Doing maintainer-clean in ash" ; \
15593 (cd ash && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15596 "RANLIB=$${RANLIB}" \
15597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15598 maintainer-clean) \
15599 || exit 1
15602 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
15603 maybe-maintainer-clean-autoconf:
15605 maintainer-clean-autoconf:
15606 @[ -f ./autoconf/Makefile ] || exit 0; \
15607 r=`${PWD}`; export r; \
15608 s=`cd $(srcdir); ${PWD}`; export s; \
15609 $(SET_LIB_PATH) \
15610 for flag in $(EXTRA_HOST_FLAGS); do \
15611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15612 done; \
15613 echo "Doing maintainer-clean in autoconf" ; \
15614 (cd autoconf && \
15615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15617 "RANLIB=$${RANLIB}" \
15618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15619 maintainer-clean) \
15620 || exit 1
15623 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
15624 maybe-maintainer-clean-automake:
15626 maintainer-clean-automake:
15627 @[ -f ./automake/Makefile ] || exit 0; \
15628 r=`${PWD}`; export r; \
15629 s=`cd $(srcdir); ${PWD}`; export s; \
15630 $(SET_LIB_PATH) \
15631 for flag in $(EXTRA_HOST_FLAGS); do \
15632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15633 done; \
15634 echo "Doing maintainer-clean in automake" ; \
15635 (cd automake && \
15636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15638 "RANLIB=$${RANLIB}" \
15639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15640 maintainer-clean) \
15641 || exit 1
15644 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
15645 maybe-maintainer-clean-bash:
15647 maintainer-clean-bash:
15648 @[ -f ./bash/Makefile ] || exit 0; \
15649 r=`${PWD}`; export r; \
15650 s=`cd $(srcdir); ${PWD}`; export s; \
15651 $(SET_LIB_PATH) \
15652 for flag in $(EXTRA_HOST_FLAGS); do \
15653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15654 done; \
15655 echo "Doing maintainer-clean in bash" ; \
15656 (cd bash && \
15657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15659 "RANLIB=$${RANLIB}" \
15660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15661 maintainer-clean) \
15662 || exit 1
15665 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
15666 maybe-maintainer-clean-bfd:
15668 maintainer-clean-bfd:
15669 @[ -f ./bfd/Makefile ] || exit 0; \
15670 r=`${PWD}`; export r; \
15671 s=`cd $(srcdir); ${PWD}`; export s; \
15672 $(SET_LIB_PATH) \
15673 for flag in $(EXTRA_HOST_FLAGS); do \
15674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15675 done; \
15676 echo "Doing maintainer-clean in bfd" ; \
15677 (cd bfd && \
15678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15680 "RANLIB=$${RANLIB}" \
15681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15682 maintainer-clean) \
15683 || exit 1
15686 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
15687 maybe-maintainer-clean-opcodes:
15689 maintainer-clean-opcodes:
15690 @[ -f ./opcodes/Makefile ] || exit 0; \
15691 r=`${PWD}`; export r; \
15692 s=`cd $(srcdir); ${PWD}`; export s; \
15693 $(SET_LIB_PATH) \
15694 for flag in $(EXTRA_HOST_FLAGS); do \
15695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15696 done; \
15697 echo "Doing maintainer-clean in opcodes" ; \
15698 (cd opcodes && \
15699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15701 "RANLIB=$${RANLIB}" \
15702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15703 maintainer-clean) \
15704 || exit 1
15707 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
15708 maybe-maintainer-clean-binutils:
15710 maintainer-clean-binutils:
15711 @[ -f ./binutils/Makefile ] || exit 0; \
15712 r=`${PWD}`; export r; \
15713 s=`cd $(srcdir); ${PWD}`; export s; \
15714 $(SET_LIB_PATH) \
15715 for flag in $(EXTRA_HOST_FLAGS); do \
15716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15717 done; \
15718 echo "Doing maintainer-clean in binutils" ; \
15719 (cd binutils && \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15722 "RANLIB=$${RANLIB}" \
15723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15724 maintainer-clean) \
15725 || exit 1
15728 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
15729 maybe-maintainer-clean-bison:
15731 maintainer-clean-bison:
15732 @[ -f ./bison/Makefile ] || exit 0; \
15733 r=`${PWD}`; export r; \
15734 s=`cd $(srcdir); ${PWD}`; export s; \
15735 $(SET_LIB_PATH) \
15736 for flag in $(EXTRA_HOST_FLAGS); do \
15737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15738 done; \
15739 echo "Doing maintainer-clean in bison" ; \
15740 (cd bison && \
15741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743 "RANLIB=$${RANLIB}" \
15744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15745 maintainer-clean) \
15746 || exit 1
15749 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
15750 maybe-maintainer-clean-byacc:
15752 maintainer-clean-byacc:
15753 @[ -f ./byacc/Makefile ] || exit 0; \
15754 r=`${PWD}`; export r; \
15755 s=`cd $(srcdir); ${PWD}`; export s; \
15756 $(SET_LIB_PATH) \
15757 for flag in $(EXTRA_HOST_FLAGS); do \
15758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15759 done; \
15760 echo "Doing maintainer-clean in byacc" ; \
15761 (cd byacc && \
15762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15764 "RANLIB=$${RANLIB}" \
15765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15766 maintainer-clean) \
15767 || exit 1
15770 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
15771 maybe-maintainer-clean-bzip2:
15773 maintainer-clean-bzip2:
15774 @[ -f ./bzip2/Makefile ] || exit 0; \
15775 r=`${PWD}`; export r; \
15776 s=`cd $(srcdir); ${PWD}`; export s; \
15777 $(SET_LIB_PATH) \
15778 for flag in $(EXTRA_HOST_FLAGS); do \
15779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15780 done; \
15781 echo "Doing maintainer-clean in bzip2" ; \
15782 (cd bzip2 && \
15783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15785 "RANLIB=$${RANLIB}" \
15786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15787 maintainer-clean) \
15788 || exit 1
15791 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
15792 maybe-maintainer-clean-dejagnu:
15794 maintainer-clean-dejagnu:
15795 @[ -f ./dejagnu/Makefile ] || exit 0; \
15796 r=`${PWD}`; export r; \
15797 s=`cd $(srcdir); ${PWD}`; export s; \
15798 $(SET_LIB_PATH) \
15799 for flag in $(EXTRA_HOST_FLAGS); do \
15800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15801 done; \
15802 echo "Doing maintainer-clean in dejagnu" ; \
15803 (cd dejagnu && \
15804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15806 "RANLIB=$${RANLIB}" \
15807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15808 maintainer-clean) \
15809 || exit 1
15812 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
15813 maybe-maintainer-clean-diff:
15815 maintainer-clean-diff:
15816 @[ -f ./diff/Makefile ] || exit 0; \
15817 r=`${PWD}`; export r; \
15818 s=`cd $(srcdir); ${PWD}`; export s; \
15819 $(SET_LIB_PATH) \
15820 for flag in $(EXTRA_HOST_FLAGS); do \
15821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15822 done; \
15823 echo "Doing maintainer-clean in diff" ; \
15824 (cd diff && \
15825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15827 "RANLIB=$${RANLIB}" \
15828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15829 maintainer-clean) \
15830 || exit 1
15833 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
15834 maybe-maintainer-clean-dosutils:
15836 maintainer-clean-dosutils:
15837 @[ -f ./dosutils/Makefile ] || exit 0; \
15838 r=`${PWD}`; export r; \
15839 s=`cd $(srcdir); ${PWD}`; export s; \
15840 $(SET_LIB_PATH) \
15841 for flag in $(EXTRA_HOST_FLAGS); do \
15842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15843 done; \
15844 echo "Doing maintainer-clean in dosutils" ; \
15845 (cd dosutils && \
15846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15848 "RANLIB=$${RANLIB}" \
15849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15850 maintainer-clean) \
15851 || exit 1
15854 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
15855 maybe-maintainer-clean-etc:
15857 maintainer-clean-etc:
15858 @[ -f ./etc/Makefile ] || exit 0; \
15859 r=`${PWD}`; export r; \
15860 s=`cd $(srcdir); ${PWD}`; export s; \
15861 $(SET_LIB_PATH) \
15862 for flag in $(EXTRA_HOST_FLAGS); do \
15863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15864 done; \
15865 echo "Doing maintainer-clean in etc" ; \
15866 (cd etc && \
15867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15869 "RANLIB=$${RANLIB}" \
15870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15871 maintainer-clean) \
15872 || exit 1
15875 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
15876 maybe-maintainer-clean-fastjar:
15878 maintainer-clean-fastjar:
15879 @[ -f ./fastjar/Makefile ] || exit 0; \
15880 r=`${PWD}`; export r; \
15881 s=`cd $(srcdir); ${PWD}`; export s; \
15882 $(SET_LIB_PATH) \
15883 for flag in $(EXTRA_HOST_FLAGS); do \
15884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15885 done; \
15886 echo "Doing maintainer-clean in fastjar" ; \
15887 (cd fastjar && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15890 "RANLIB=$${RANLIB}" \
15891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15892 maintainer-clean) \
15893 || exit 1
15896 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
15897 maybe-maintainer-clean-fileutils:
15899 maintainer-clean-fileutils:
15900 @[ -f ./fileutils/Makefile ] || exit 0; \
15901 r=`${PWD}`; export r; \
15902 s=`cd $(srcdir); ${PWD}`; export s; \
15903 $(SET_LIB_PATH) \
15904 for flag in $(EXTRA_HOST_FLAGS); do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15906 done; \
15907 echo "Doing maintainer-clean in fileutils" ; \
15908 (cd fileutils && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15913 maintainer-clean) \
15914 || exit 1
15917 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
15918 maybe-maintainer-clean-findutils:
15920 maintainer-clean-findutils:
15921 @[ -f ./findutils/Makefile ] || exit 0; \
15922 r=`${PWD}`; export r; \
15923 s=`cd $(srcdir); ${PWD}`; export s; \
15924 $(SET_LIB_PATH) \
15925 for flag in $(EXTRA_HOST_FLAGS); do \
15926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15927 done; \
15928 echo "Doing maintainer-clean in findutils" ; \
15929 (cd findutils && \
15930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15932 "RANLIB=$${RANLIB}" \
15933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15934 maintainer-clean) \
15935 || exit 1
15938 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
15939 maybe-maintainer-clean-find:
15941 maintainer-clean-find:
15942 @[ -f ./find/Makefile ] || exit 0; \
15943 r=`${PWD}`; export r; \
15944 s=`cd $(srcdir); ${PWD}`; export s; \
15945 $(SET_LIB_PATH) \
15946 for flag in $(EXTRA_HOST_FLAGS); do \
15947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15948 done; \
15949 echo "Doing maintainer-clean in find" ; \
15950 (cd find && \
15951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15953 "RANLIB=$${RANLIB}" \
15954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15955 maintainer-clean) \
15956 || exit 1
15959 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
15960 maybe-maintainer-clean-flex:
15962 maintainer-clean-flex:
15963 @[ -f ./flex/Makefile ] || exit 0; \
15964 r=`${PWD}`; export r; \
15965 s=`cd $(srcdir); ${PWD}`; export s; \
15966 $(SET_LIB_PATH) \
15967 for flag in $(EXTRA_HOST_FLAGS); do \
15968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15969 done; \
15970 echo "Doing maintainer-clean in flex" ; \
15971 (cd flex && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15974 "RANLIB=$${RANLIB}" \
15975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15976 maintainer-clean) \
15977 || exit 1
15980 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15981 maybe-maintainer-clean-gas:
15983 maintainer-clean-gas:
15984 @[ -f ./gas/Makefile ] || exit 0; \
15985 r=`${PWD}`; export r; \
15986 s=`cd $(srcdir); ${PWD}`; export s; \
15987 $(SET_LIB_PATH) \
15988 for flag in $(EXTRA_HOST_FLAGS); do \
15989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15990 done; \
15991 echo "Doing maintainer-clean in gas" ; \
15992 (cd gas && \
15993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15995 "RANLIB=$${RANLIB}" \
15996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15997 maintainer-clean) \
15998 || exit 1
16001 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
16002 maybe-maintainer-clean-gawk:
16004 maintainer-clean-gawk:
16005 @[ -f ./gawk/Makefile ] || exit 0; \
16006 r=`${PWD}`; export r; \
16007 s=`cd $(srcdir); ${PWD}`; export s; \
16008 $(SET_LIB_PATH) \
16009 for flag in $(EXTRA_HOST_FLAGS); do \
16010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16011 done; \
16012 echo "Doing maintainer-clean in gawk" ; \
16013 (cd gawk && \
16014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16016 "RANLIB=$${RANLIB}" \
16017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16018 maintainer-clean) \
16019 || exit 1
16022 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16023 maybe-maintainer-clean-gettext:
16025 maintainer-clean-gettext:
16026 @[ -f ./gettext/Makefile ] || exit 0; \
16027 r=`${PWD}`; export r; \
16028 s=`cd $(srcdir); ${PWD}`; export s; \
16029 $(SET_LIB_PATH) \
16030 for flag in $(EXTRA_HOST_FLAGS); do \
16031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16032 done; \
16033 echo "Doing maintainer-clean in gettext" ; \
16034 (cd gettext && \
16035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16037 "RANLIB=$${RANLIB}" \
16038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16039 maintainer-clean) \
16040 || exit 1
16043 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16044 maybe-maintainer-clean-gnuserv:
16046 maintainer-clean-gnuserv:
16047 @[ -f ./gnuserv/Makefile ] || exit 0; \
16048 r=`${PWD}`; export r; \
16049 s=`cd $(srcdir); ${PWD}`; export s; \
16050 $(SET_LIB_PATH) \
16051 for flag in $(EXTRA_HOST_FLAGS); do \
16052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16053 done; \
16054 echo "Doing maintainer-clean in gnuserv" ; \
16055 (cd gnuserv && \
16056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16058 "RANLIB=$${RANLIB}" \
16059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16060 maintainer-clean) \
16061 || exit 1
16064 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16065 maybe-maintainer-clean-gprof:
16067 maintainer-clean-gprof:
16068 @[ -f ./gprof/Makefile ] || exit 0; \
16069 r=`${PWD}`; export r; \
16070 s=`cd $(srcdir); ${PWD}`; export s; \
16071 $(SET_LIB_PATH) \
16072 for flag in $(EXTRA_HOST_FLAGS); do \
16073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16074 done; \
16075 echo "Doing maintainer-clean in gprof" ; \
16076 (cd gprof && \
16077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16079 "RANLIB=$${RANLIB}" \
16080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16081 maintainer-clean) \
16082 || exit 1
16085 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16086 maybe-maintainer-clean-gzip:
16088 maintainer-clean-gzip:
16089 @[ -f ./gzip/Makefile ] || exit 0; \
16090 r=`${PWD}`; export r; \
16091 s=`cd $(srcdir); ${PWD}`; export s; \
16092 $(SET_LIB_PATH) \
16093 for flag in $(EXTRA_HOST_FLAGS); do \
16094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16095 done; \
16096 echo "Doing maintainer-clean in gzip" ; \
16097 (cd gzip && \
16098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16100 "RANLIB=$${RANLIB}" \
16101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16102 maintainer-clean) \
16103 || exit 1
16106 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
16107 maybe-maintainer-clean-hello:
16109 maintainer-clean-hello:
16110 @[ -f ./hello/Makefile ] || exit 0; \
16111 r=`${PWD}`; export r; \
16112 s=`cd $(srcdir); ${PWD}`; export s; \
16113 $(SET_LIB_PATH) \
16114 for flag in $(EXTRA_HOST_FLAGS); do \
16115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16116 done; \
16117 echo "Doing maintainer-clean in hello" ; \
16118 (cd hello && \
16119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16121 "RANLIB=$${RANLIB}" \
16122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16123 maintainer-clean) \
16124 || exit 1
16127 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16128 maybe-maintainer-clean-indent:
16130 maintainer-clean-indent:
16131 @[ -f ./indent/Makefile ] || exit 0; \
16132 r=`${PWD}`; export r; \
16133 s=`cd $(srcdir); ${PWD}`; export s; \
16134 $(SET_LIB_PATH) \
16135 for flag in $(EXTRA_HOST_FLAGS); do \
16136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16137 done; \
16138 echo "Doing maintainer-clean in indent" ; \
16139 (cd indent && \
16140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16142 "RANLIB=$${RANLIB}" \
16143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16144 maintainer-clean) \
16145 || exit 1
16148 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16149 maybe-maintainer-clean-intl:
16151 maintainer-clean-intl:
16152 @[ -f ./intl/Makefile ] || exit 0; \
16153 r=`${PWD}`; export r; \
16154 s=`cd $(srcdir); ${PWD}`; export s; \
16155 $(SET_LIB_PATH) \
16156 for flag in $(EXTRA_HOST_FLAGS); do \
16157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16158 done; \
16159 echo "Doing maintainer-clean in intl" ; \
16160 (cd intl && \
16161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16163 "RANLIB=$${RANLIB}" \
16164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16165 maintainer-clean) \
16166 || exit 1
16169 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16170 maybe-maintainer-clean-tcl:
16172 maintainer-clean-tcl:
16173 @[ -f ./tcl/Makefile ] || exit 0; \
16174 r=`${PWD}`; export r; \
16175 s=`cd $(srcdir); ${PWD}`; export s; \
16176 $(SET_LIB_PATH) \
16177 for flag in $(EXTRA_HOST_FLAGS); do \
16178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16179 done; \
16180 echo "Doing maintainer-clean in tcl" ; \
16181 (cd tcl && \
16182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16184 "RANLIB=$${RANLIB}" \
16185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16186 maintainer-clean) \
16187 || exit 1
16190 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16191 maybe-maintainer-clean-itcl:
16193 maintainer-clean-itcl:
16194 @[ -f ./itcl/Makefile ] || exit 0; \
16195 r=`${PWD}`; export r; \
16196 s=`cd $(srcdir); ${PWD}`; export s; \
16197 $(SET_LIB_PATH) \
16198 for flag in $(EXTRA_HOST_FLAGS); do \
16199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16200 done; \
16201 echo "Doing maintainer-clean in itcl" ; \
16202 (cd itcl && \
16203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16205 "RANLIB=$${RANLIB}" \
16206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16207 maintainer-clean) \
16208 || exit 1
16211 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16212 maybe-maintainer-clean-ld:
16214 maintainer-clean-ld:
16215 @[ -f ./ld/Makefile ] || exit 0; \
16216 r=`${PWD}`; export r; \
16217 s=`cd $(srcdir); ${PWD}`; export s; \
16218 $(SET_LIB_PATH) \
16219 for flag in $(EXTRA_HOST_FLAGS); do \
16220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16221 done; \
16222 echo "Doing maintainer-clean in ld" ; \
16223 (cd ld && \
16224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16226 "RANLIB=$${RANLIB}" \
16227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16228 maintainer-clean) \
16229 || exit 1
16232 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16233 maybe-maintainer-clean-libgui:
16235 maintainer-clean-libgui:
16236 @[ -f ./libgui/Makefile ] || exit 0; \
16237 r=`${PWD}`; export r; \
16238 s=`cd $(srcdir); ${PWD}`; export s; \
16239 $(SET_LIB_PATH) \
16240 for flag in $(EXTRA_HOST_FLAGS); do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16242 done; \
16243 echo "Doing maintainer-clean in libgui" ; \
16244 (cd libgui && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16249 maintainer-clean) \
16250 || exit 1
16253 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16254 maybe-maintainer-clean-libiberty:
16256 maintainer-clean-libiberty:
16257 @[ -f ./libiberty/Makefile ] || exit 0; \
16258 r=`${PWD}`; export r; \
16259 s=`cd $(srcdir); ${PWD}`; export s; \
16260 $(SET_LIB_PATH) \
16261 for flag in $(EXTRA_HOST_FLAGS); do \
16262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16263 done; \
16264 echo "Doing maintainer-clean in libiberty" ; \
16265 (cd libiberty && \
16266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16268 "RANLIB=$${RANLIB}" \
16269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16270 maintainer-clean) \
16271 || exit 1
16274 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
16275 maybe-maintainer-clean-libtool:
16277 maintainer-clean-libtool:
16278 @[ -f ./libtool/Makefile ] || exit 0; \
16279 r=`${PWD}`; export r; \
16280 s=`cd $(srcdir); ${PWD}`; export s; \
16281 $(SET_LIB_PATH) \
16282 for flag in $(EXTRA_HOST_FLAGS); do \
16283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16284 done; \
16285 echo "Doing maintainer-clean in libtool" ; \
16286 (cd libtool && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16289 "RANLIB=$${RANLIB}" \
16290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16291 maintainer-clean) \
16292 || exit 1
16295 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
16296 maybe-maintainer-clean-m4:
16298 maintainer-clean-m4:
16299 @[ -f ./m4/Makefile ] || exit 0; \
16300 r=`${PWD}`; export r; \
16301 s=`cd $(srcdir); ${PWD}`; export s; \
16302 $(SET_LIB_PATH) \
16303 for flag in $(EXTRA_HOST_FLAGS); do \
16304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16305 done; \
16306 echo "Doing maintainer-clean in m4" ; \
16307 (cd m4 && \
16308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16310 "RANLIB=$${RANLIB}" \
16311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16312 maintainer-clean) \
16313 || exit 1
16316 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
16317 maybe-maintainer-clean-make:
16319 maintainer-clean-make:
16320 @[ -f ./make/Makefile ] || exit 0; \
16321 r=`${PWD}`; export r; \
16322 s=`cd $(srcdir); ${PWD}`; export s; \
16323 $(SET_LIB_PATH) \
16324 for flag in $(EXTRA_HOST_FLAGS); do \
16325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16326 done; \
16327 echo "Doing maintainer-clean in make" ; \
16328 (cd make && \
16329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16331 "RANLIB=$${RANLIB}" \
16332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16333 maintainer-clean) \
16334 || exit 1
16337 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
16338 maybe-maintainer-clean-mmalloc:
16340 maintainer-clean-mmalloc:
16341 @[ -f ./mmalloc/Makefile ] || exit 0; \
16342 r=`${PWD}`; export r; \
16343 s=`cd $(srcdir); ${PWD}`; export s; \
16344 $(SET_LIB_PATH) \
16345 for flag in $(EXTRA_HOST_FLAGS); do \
16346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16347 done; \
16348 echo "Doing maintainer-clean in mmalloc" ; \
16349 (cd mmalloc && \
16350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16352 "RANLIB=$${RANLIB}" \
16353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16354 maintainer-clean) \
16355 || exit 1
16358 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16359 maybe-maintainer-clean-patch:
16361 maintainer-clean-patch:
16362 @[ -f ./patch/Makefile ] || exit 0; \
16363 r=`${PWD}`; export r; \
16364 s=`cd $(srcdir); ${PWD}`; export s; \
16365 $(SET_LIB_PATH) \
16366 for flag in $(EXTRA_HOST_FLAGS); do \
16367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16368 done; \
16369 echo "Doing maintainer-clean in patch" ; \
16370 (cd patch && \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16373 "RANLIB=$${RANLIB}" \
16374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16375 maintainer-clean) \
16376 || exit 1
16379 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16380 maybe-maintainer-clean-perl:
16382 maintainer-clean-perl:
16383 @[ -f ./perl/Makefile ] || exit 0; \
16384 r=`${PWD}`; export r; \
16385 s=`cd $(srcdir); ${PWD}`; export s; \
16386 $(SET_LIB_PATH) \
16387 for flag in $(EXTRA_HOST_FLAGS); do \
16388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16389 done; \
16390 echo "Doing maintainer-clean in perl" ; \
16391 (cd perl && \
16392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16394 "RANLIB=$${RANLIB}" \
16395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16396 maintainer-clean) \
16397 || exit 1
16400 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16401 maybe-maintainer-clean-prms:
16403 maintainer-clean-prms:
16404 @[ -f ./prms/Makefile ] || exit 0; \
16405 r=`${PWD}`; export r; \
16406 s=`cd $(srcdir); ${PWD}`; export s; \
16407 $(SET_LIB_PATH) \
16408 for flag in $(EXTRA_HOST_FLAGS); do \
16409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16410 done; \
16411 echo "Doing maintainer-clean in prms" ; \
16412 (cd prms && \
16413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16415 "RANLIB=$${RANLIB}" \
16416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16417 maintainer-clean) \
16418 || exit 1
16421 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16422 maybe-maintainer-clean-rcs:
16424 maintainer-clean-rcs:
16425 @[ -f ./rcs/Makefile ] || exit 0; \
16426 r=`${PWD}`; export r; \
16427 s=`cd $(srcdir); ${PWD}`; export s; \
16428 $(SET_LIB_PATH) \
16429 for flag in $(EXTRA_HOST_FLAGS); do \
16430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16431 done; \
16432 echo "Doing maintainer-clean in rcs" ; \
16433 (cd rcs && \
16434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436 "RANLIB=$${RANLIB}" \
16437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16438 maintainer-clean) \
16439 || exit 1
16442 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16443 maybe-maintainer-clean-readline:
16445 maintainer-clean-readline:
16446 @[ -f ./readline/Makefile ] || exit 0; \
16447 r=`${PWD}`; export r; \
16448 s=`cd $(srcdir); ${PWD}`; export s; \
16449 $(SET_LIB_PATH) \
16450 for flag in $(EXTRA_HOST_FLAGS); do \
16451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16452 done; \
16453 echo "Doing maintainer-clean in readline" ; \
16454 (cd readline && \
16455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16457 "RANLIB=$${RANLIB}" \
16458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16459 maintainer-clean) \
16460 || exit 1
16463 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16464 maybe-maintainer-clean-release:
16466 maintainer-clean-release:
16467 @[ -f ./release/Makefile ] || exit 0; \
16468 r=`${PWD}`; export r; \
16469 s=`cd $(srcdir); ${PWD}`; export s; \
16470 $(SET_LIB_PATH) \
16471 for flag in $(EXTRA_HOST_FLAGS); do \
16472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16473 done; \
16474 echo "Doing maintainer-clean in release" ; \
16475 (cd release && \
16476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16478 "RANLIB=$${RANLIB}" \
16479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16480 maintainer-clean) \
16481 || exit 1
16484 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16485 maybe-maintainer-clean-recode:
16487 maintainer-clean-recode:
16488 @[ -f ./recode/Makefile ] || exit 0; \
16489 r=`${PWD}`; export r; \
16490 s=`cd $(srcdir); ${PWD}`; export s; \
16491 $(SET_LIB_PATH) \
16492 for flag in $(EXTRA_HOST_FLAGS); do \
16493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16494 done; \
16495 echo "Doing maintainer-clean in recode" ; \
16496 (cd recode && \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16499 "RANLIB=$${RANLIB}" \
16500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16501 maintainer-clean) \
16502 || exit 1
16505 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16506 maybe-maintainer-clean-sed:
16508 maintainer-clean-sed:
16509 @[ -f ./sed/Makefile ] || exit 0; \
16510 r=`${PWD}`; export r; \
16511 s=`cd $(srcdir); ${PWD}`; export s; \
16512 $(SET_LIB_PATH) \
16513 for flag in $(EXTRA_HOST_FLAGS); do \
16514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16515 done; \
16516 echo "Doing maintainer-clean in sed" ; \
16517 (cd sed && \
16518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16520 "RANLIB=$${RANLIB}" \
16521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16522 maintainer-clean) \
16523 || exit 1
16526 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16527 maybe-maintainer-clean-send-pr:
16529 maintainer-clean-send-pr:
16530 @[ -f ./send-pr/Makefile ] || exit 0; \
16531 r=`${PWD}`; export r; \
16532 s=`cd $(srcdir); ${PWD}`; export s; \
16533 $(SET_LIB_PATH) \
16534 for flag in $(EXTRA_HOST_FLAGS); do \
16535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16536 done; \
16537 echo "Doing maintainer-clean in send-pr" ; \
16538 (cd send-pr && \
16539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16541 "RANLIB=$${RANLIB}" \
16542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16543 maintainer-clean) \
16544 || exit 1
16547 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16548 maybe-maintainer-clean-shellutils:
16550 maintainer-clean-shellutils:
16551 @[ -f ./shellutils/Makefile ] || exit 0; \
16552 r=`${PWD}`; export r; \
16553 s=`cd $(srcdir); ${PWD}`; export s; \
16554 $(SET_LIB_PATH) \
16555 for flag in $(EXTRA_HOST_FLAGS); do \
16556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16557 done; \
16558 echo "Doing maintainer-clean in shellutils" ; \
16559 (cd shellutils && \
16560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16562 "RANLIB=$${RANLIB}" \
16563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16564 maintainer-clean) \
16565 || exit 1
16568 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16569 maybe-maintainer-clean-sid:
16571 maintainer-clean-sid:
16572 @[ -f ./sid/Makefile ] || exit 0; \
16573 r=`${PWD}`; export r; \
16574 s=`cd $(srcdir); ${PWD}`; export s; \
16575 $(SET_LIB_PATH) \
16576 for flag in $(EXTRA_HOST_FLAGS); do \
16577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16578 done; \
16579 echo "Doing maintainer-clean in sid" ; \
16580 (cd sid && \
16581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16583 "RANLIB=$${RANLIB}" \
16584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16585 maintainer-clean) \
16586 || exit 1
16589 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
16590 maybe-maintainer-clean-sim:
16592 maintainer-clean-sim:
16593 @[ -f ./sim/Makefile ] || exit 0; \
16594 r=`${PWD}`; export r; \
16595 s=`cd $(srcdir); ${PWD}`; export s; \
16596 $(SET_LIB_PATH) \
16597 for flag in $(EXTRA_HOST_FLAGS); do \
16598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16599 done; \
16600 echo "Doing maintainer-clean in sim" ; \
16601 (cd sim && \
16602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16604 "RANLIB=$${RANLIB}" \
16605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16606 maintainer-clean) \
16607 || exit 1
16610 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
16611 maybe-maintainer-clean-tar:
16613 maintainer-clean-tar:
16614 @[ -f ./tar/Makefile ] || exit 0; \
16615 r=`${PWD}`; export r; \
16616 s=`cd $(srcdir); ${PWD}`; export s; \
16617 $(SET_LIB_PATH) \
16618 for flag in $(EXTRA_HOST_FLAGS); do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing maintainer-clean in tar" ; \
16622 (cd tar && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16627 maintainer-clean) \
16628 || exit 1
16631 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
16632 maybe-maintainer-clean-texinfo:
16634 maintainer-clean-texinfo:
16635 @[ -f ./texinfo/Makefile ] || exit 0; \
16636 r=`${PWD}`; export r; \
16637 s=`cd $(srcdir); ${PWD}`; export s; \
16638 $(SET_LIB_PATH) \
16639 for flag in $(EXTRA_HOST_FLAGS); do \
16640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16641 done; \
16642 echo "Doing maintainer-clean in texinfo" ; \
16643 (cd texinfo && \
16644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16646 "RANLIB=$${RANLIB}" \
16647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16648 maintainer-clean) \
16649 || exit 1
16652 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16653 maybe-maintainer-clean-textutils:
16655 maintainer-clean-textutils:
16656 @[ -f ./textutils/Makefile ] || exit 0; \
16657 r=`${PWD}`; export r; \
16658 s=`cd $(srcdir); ${PWD}`; export s; \
16659 $(SET_LIB_PATH) \
16660 for flag in $(EXTRA_HOST_FLAGS); do \
16661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16662 done; \
16663 echo "Doing maintainer-clean in textutils" ; \
16664 (cd textutils && \
16665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667 "RANLIB=$${RANLIB}" \
16668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16669 maintainer-clean) \
16670 || exit 1
16673 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16674 maybe-maintainer-clean-time:
16676 maintainer-clean-time:
16677 @[ -f ./time/Makefile ] || exit 0; \
16678 r=`${PWD}`; export r; \
16679 s=`cd $(srcdir); ${PWD}`; export s; \
16680 $(SET_LIB_PATH) \
16681 for flag in $(EXTRA_HOST_FLAGS); do \
16682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16683 done; \
16684 echo "Doing maintainer-clean in time" ; \
16685 (cd time && \
16686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16688 "RANLIB=$${RANLIB}" \
16689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16690 maintainer-clean) \
16691 || exit 1
16694 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16695 maybe-maintainer-clean-uudecode:
16697 maintainer-clean-uudecode:
16698 @[ -f ./uudecode/Makefile ] || exit 0; \
16699 r=`${PWD}`; export r; \
16700 s=`cd $(srcdir); ${PWD}`; export s; \
16701 $(SET_LIB_PATH) \
16702 for flag in $(EXTRA_HOST_FLAGS); do \
16703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16704 done; \
16705 echo "Doing maintainer-clean in uudecode" ; \
16706 (cd uudecode && \
16707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16709 "RANLIB=$${RANLIB}" \
16710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16711 maintainer-clean) \
16712 || exit 1
16715 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16716 maybe-maintainer-clean-wdiff:
16718 maintainer-clean-wdiff:
16719 @[ -f ./wdiff/Makefile ] || exit 0; \
16720 r=`${PWD}`; export r; \
16721 s=`cd $(srcdir); ${PWD}`; export s; \
16722 $(SET_LIB_PATH) \
16723 for flag in $(EXTRA_HOST_FLAGS); do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 done; \
16726 echo "Doing maintainer-clean in wdiff" ; \
16727 (cd wdiff && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16732 maintainer-clean) \
16733 || exit 1
16736 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16737 maybe-maintainer-clean-zip:
16739 maintainer-clean-zip:
16740 @[ -f ./zip/Makefile ] || exit 0; \
16741 r=`${PWD}`; export r; \
16742 s=`cd $(srcdir); ${PWD}`; export s; \
16743 $(SET_LIB_PATH) \
16744 for flag in $(EXTRA_HOST_FLAGS); do \
16745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16746 done; \
16747 echo "Doing maintainer-clean in zip" ; \
16748 (cd zip && \
16749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16751 "RANLIB=$${RANLIB}" \
16752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16753 maintainer-clean) \
16754 || exit 1
16757 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
16758 maybe-maintainer-clean-zlib:
16760 maintainer-clean-zlib:
16761 @[ -f ./zlib/Makefile ] || exit 0; \
16762 r=`${PWD}`; export r; \
16763 s=`cd $(srcdir); ${PWD}`; export s; \
16764 $(SET_LIB_PATH) \
16765 for flag in $(EXTRA_HOST_FLAGS); do \
16766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16767 done; \
16768 echo "Doing maintainer-clean in zlib" ; \
16769 (cd zlib && \
16770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16772 "RANLIB=$${RANLIB}" \
16773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16774 maintainer-clean) \
16775 || exit 1
16778 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
16779 maybe-maintainer-clean-gdb:
16781 maintainer-clean-gdb:
16782 @[ -f ./gdb/Makefile ] || exit 0; \
16783 r=`${PWD}`; export r; \
16784 s=`cd $(srcdir); ${PWD}`; export s; \
16785 $(SET_LIB_PATH) \
16786 for flag in $(EXTRA_HOST_FLAGS); do \
16787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16788 done; \
16789 echo "Doing maintainer-clean in gdb" ; \
16790 (cd gdb && \
16791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16793 "RANLIB=$${RANLIB}" \
16794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16795 maintainer-clean) \
16796 || exit 1
16799 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
16800 maybe-maintainer-clean-expect:
16802 maintainer-clean-expect:
16803 @[ -f ./expect/Makefile ] || exit 0; \
16804 r=`${PWD}`; export r; \
16805 s=`cd $(srcdir); ${PWD}`; export s; \
16806 $(SET_LIB_PATH) \
16807 for flag in $(EXTRA_HOST_FLAGS); do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16809 done; \
16810 echo "Doing maintainer-clean in expect" ; \
16811 (cd expect && \
16812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814 "RANLIB=$${RANLIB}" \
16815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16816 maintainer-clean) \
16817 || exit 1
16820 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
16821 maybe-maintainer-clean-guile:
16823 maintainer-clean-guile:
16824 @[ -f ./guile/Makefile ] || exit 0; \
16825 r=`${PWD}`; export r; \
16826 s=`cd $(srcdir); ${PWD}`; export s; \
16827 $(SET_LIB_PATH) \
16828 for flag in $(EXTRA_HOST_FLAGS); do \
16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16830 done; \
16831 echo "Doing maintainer-clean in guile" ; \
16832 (cd guile && \
16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16835 "RANLIB=$${RANLIB}" \
16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16837 maintainer-clean) \
16838 || exit 1
16841 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
16842 maybe-maintainer-clean-tk:
16844 maintainer-clean-tk:
16845 @[ -f ./tk/Makefile ] || exit 0; \
16846 r=`${PWD}`; export r; \
16847 s=`cd $(srcdir); ${PWD}`; export s; \
16848 $(SET_LIB_PATH) \
16849 for flag in $(EXTRA_HOST_FLAGS); do \
16850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16851 done; \
16852 echo "Doing maintainer-clean in tk" ; \
16853 (cd tk && \
16854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16856 "RANLIB=$${RANLIB}" \
16857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16858 maintainer-clean) \
16859 || exit 1
16862 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
16863 maybe-maintainer-clean-tix:
16865 maintainer-clean-tix:
16866 @[ -f ./tix/Makefile ] || exit 0; \
16867 r=`${PWD}`; export r; \
16868 s=`cd $(srcdir); ${PWD}`; export s; \
16869 $(SET_LIB_PATH) \
16870 for flag in $(EXTRA_HOST_FLAGS); do \
16871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16872 done; \
16873 echo "Doing maintainer-clean in tix" ; \
16874 (cd tix && \
16875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16877 "RANLIB=$${RANLIB}" \
16878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16879 maintainer-clean) \
16880 || exit 1
16883 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
16884 maybe-maintainer-clean-libtermcap:
16886 # libtermcap doesn't support maintainer-clean.
16887 maintainer-clean-libtermcap:
16890 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
16891 maybe-maintainer-clean-utils:
16893 maintainer-clean-utils:
16894 @[ -f ./utils/Makefile ] || exit 0; \
16895 r=`${PWD}`; export r; \
16896 s=`cd $(srcdir); ${PWD}`; export s; \
16897 $(SET_LIB_PATH) \
16898 for flag in $(EXTRA_HOST_FLAGS); do \
16899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16900 done; \
16901 echo "Doing maintainer-clean in utils" ; \
16902 (cd utils && \
16903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905 "RANLIB=$${RANLIB}" \
16906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16907 maintainer-clean) \
16908 || exit 1
16912 # Target modules.
16914 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
16915 maybe-maintainer-clean-target-libstdc++-v3:
16917 maintainer-clean-target-libstdc++-v3:
16918 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
16919 r=`${PWD}`; export r; \
16920 s=`cd $(srcdir); ${PWD}`; export s; \
16921 $(SET_LIB_PATH) \
16922 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
16923 for flag in $(EXTRA_TARGET_FLAGS); do \
16924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16925 done; \
16926 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
16927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16929 "RANLIB=$${RANLIB}" \
16930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16931 maintainer-clean) \
16932 || exit 1
16935 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
16936 maybe-maintainer-clean-target-newlib:
16938 maintainer-clean-target-newlib:
16939 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
16940 r=`${PWD}`; export r; \
16941 s=`cd $(srcdir); ${PWD}`; export s; \
16942 $(SET_LIB_PATH) \
16943 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
16944 for flag in $(EXTRA_TARGET_FLAGS); do \
16945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16946 done; \
16947 (cd $(TARGET_SUBDIR)/newlib && \
16948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16950 "RANLIB=$${RANLIB}" \
16951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16952 maintainer-clean) \
16953 || exit 1
16956 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
16957 maybe-maintainer-clean-target-libf2c:
16959 maintainer-clean-target-libf2c:
16960 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
16961 r=`${PWD}`; export r; \
16962 s=`cd $(srcdir); ${PWD}`; export s; \
16963 $(SET_LIB_PATH) \
16964 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
16965 for flag in $(EXTRA_TARGET_FLAGS); do \
16966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16967 done; \
16968 (cd $(TARGET_SUBDIR)/libf2c && \
16969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16971 "RANLIB=$${RANLIB}" \
16972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16973 maintainer-clean) \
16974 || exit 1
16977 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
16978 maybe-maintainer-clean-target-libobjc:
16980 maintainer-clean-target-libobjc:
16981 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
16982 r=`${PWD}`; export r; \
16983 s=`cd $(srcdir); ${PWD}`; export s; \
16984 $(SET_LIB_PATH) \
16985 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
16986 for flag in $(EXTRA_TARGET_FLAGS); do \
16987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16988 done; \
16989 (cd $(TARGET_SUBDIR)/libobjc && \
16990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16992 "RANLIB=$${RANLIB}" \
16993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16994 maintainer-clean) \
16995 || exit 1
16998 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
16999 maybe-maintainer-clean-target-libtermcap:
17001 # libtermcap doesn't support maintainer-clean.
17002 maintainer-clean-target-libtermcap:
17005 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
17006 maybe-maintainer-clean-target-winsup:
17008 maintainer-clean-target-winsup:
17009 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
17010 r=`${PWD}`; export r; \
17011 s=`cd $(srcdir); ${PWD}`; export s; \
17012 $(SET_LIB_PATH) \
17013 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
17014 for flag in $(EXTRA_TARGET_FLAGS); do \
17015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17016 done; \
17017 (cd $(TARGET_SUBDIR)/winsup && \
17018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17020 "RANLIB=$${RANLIB}" \
17021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17022 maintainer-clean) \
17023 || exit 1
17026 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
17027 maybe-maintainer-clean-target-libgloss:
17029 maintainer-clean-target-libgloss:
17030 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
17031 r=`${PWD}`; export r; \
17032 s=`cd $(srcdir); ${PWD}`; export s; \
17033 $(SET_LIB_PATH) \
17034 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
17035 for flag in $(EXTRA_TARGET_FLAGS); do \
17036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17037 done; \
17038 (cd $(TARGET_SUBDIR)/libgloss && \
17039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17041 "RANLIB=$${RANLIB}" \
17042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17043 maintainer-clean) \
17044 || exit 1
17047 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
17048 maybe-maintainer-clean-target-libiberty:
17050 maintainer-clean-target-libiberty:
17051 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
17052 r=`${PWD}`; export r; \
17053 s=`cd $(srcdir); ${PWD}`; export s; \
17054 $(SET_LIB_PATH) \
17055 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
17056 for flag in $(EXTRA_TARGET_FLAGS); do \
17057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17058 done; \
17059 (cd $(TARGET_SUBDIR)/libiberty && \
17060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17062 "RANLIB=$${RANLIB}" \
17063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17064 maintainer-clean) \
17065 || exit 1
17068 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17069 maybe-maintainer-clean-target-gperf:
17071 maintainer-clean-target-gperf:
17072 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
17073 r=`${PWD}`; export r; \
17074 s=`cd $(srcdir); ${PWD}`; export s; \
17075 $(SET_LIB_PATH) \
17076 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
17077 for flag in $(EXTRA_TARGET_FLAGS); do \
17078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17079 done; \
17080 (cd $(TARGET_SUBDIR)/gperf && \
17081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17083 "RANLIB=$${RANLIB}" \
17084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17085 maintainer-clean) \
17086 || exit 1
17089 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
17090 maybe-maintainer-clean-target-examples:
17092 maintainer-clean-target-examples:
17093 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
17094 r=`${PWD}`; export r; \
17095 s=`cd $(srcdir); ${PWD}`; export s; \
17096 $(SET_LIB_PATH) \
17097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
17098 for flag in $(EXTRA_TARGET_FLAGS); do \
17099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17100 done; \
17101 (cd $(TARGET_SUBDIR)/examples && \
17102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17104 "RANLIB=$${RANLIB}" \
17105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17106 maintainer-clean) \
17107 || exit 1
17110 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
17111 maybe-maintainer-clean-target-libffi:
17113 maintainer-clean-target-libffi:
17114 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
17115 r=`${PWD}`; export r; \
17116 s=`cd $(srcdir); ${PWD}`; export s; \
17117 $(SET_LIB_PATH) \
17118 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
17119 for flag in $(EXTRA_TARGET_FLAGS); do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 (cd $(TARGET_SUBDIR)/libffi && \
17123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17125 "RANLIB=$${RANLIB}" \
17126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17127 maintainer-clean) \
17128 || exit 1
17131 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
17132 maybe-maintainer-clean-target-libjava:
17134 maintainer-clean-target-libjava:
17135 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
17136 r=`${PWD}`; export r; \
17137 s=`cd $(srcdir); ${PWD}`; export s; \
17138 $(SET_LIB_PATH) \
17139 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
17140 for flag in $(EXTRA_TARGET_FLAGS); do \
17141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17142 done; \
17143 (cd $(TARGET_SUBDIR)/libjava && \
17144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17146 "RANLIB=$${RANLIB}" \
17147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17148 maintainer-clean) \
17149 || exit 1
17152 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
17153 maybe-maintainer-clean-target-zlib:
17155 maintainer-clean-target-zlib:
17156 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
17157 r=`${PWD}`; export r; \
17158 s=`cd $(srcdir); ${PWD}`; export s; \
17159 $(SET_LIB_PATH) \
17160 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
17161 for flag in $(EXTRA_TARGET_FLAGS); do \
17162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17163 done; \
17164 (cd $(TARGET_SUBDIR)/zlib && \
17165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17167 "RANLIB=$${RANLIB}" \
17168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17169 maintainer-clean) \
17170 || exit 1
17173 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
17174 maybe-maintainer-clean-target-boehm-gc:
17176 maintainer-clean-target-boehm-gc:
17177 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
17178 r=`${PWD}`; export r; \
17179 s=`cd $(srcdir); ${PWD}`; export s; \
17180 $(SET_LIB_PATH) \
17181 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
17182 for flag in $(EXTRA_TARGET_FLAGS); do \
17183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17184 done; \
17185 (cd $(TARGET_SUBDIR)/boehm-gc && \
17186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17188 "RANLIB=$${RANLIB}" \
17189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17190 maintainer-clean) \
17191 || exit 1
17194 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
17195 maybe-maintainer-clean-target-qthreads:
17197 maintainer-clean-target-qthreads:
17198 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
17199 r=`${PWD}`; export r; \
17200 s=`cd $(srcdir); ${PWD}`; export s; \
17201 $(SET_LIB_PATH) \
17202 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
17203 for flag in $(EXTRA_TARGET_FLAGS); do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17205 done; \
17206 (cd $(TARGET_SUBDIR)/qthreads && \
17207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17209 "RANLIB=$${RANLIB}" \
17210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17211 maintainer-clean) \
17212 || exit 1
17215 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
17216 maybe-maintainer-clean-target-rda:
17218 maintainer-clean-target-rda:
17219 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
17220 r=`${PWD}`; export r; \
17221 s=`cd $(srcdir); ${PWD}`; export s; \
17222 $(SET_LIB_PATH) \
17223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
17224 for flag in $(EXTRA_TARGET_FLAGS); do \
17225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17226 done; \
17227 (cd $(TARGET_SUBDIR)/rda && \
17228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17230 "RANLIB=$${RANLIB}" \
17231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17232 maintainer-clean) \
17233 || exit 1
17238 # Here are the targets which correspond to the do-X targets.
17240 .PHONY: info installcheck dvi install-info
17241 .PHONY: clean distclean mostlyclean maintainer-clean realclean
17242 .PHONY: local-clean local-distclean local-maintainer-clean
17243 info: do-info
17244 installcheck: do-installcheck
17245 dvi: do-dvi
17247 # Make sure makeinfo is built before we do a `make info', if we're
17248 # in fact building texinfo.
17249 do-info: maybe-all-texinfo
17251 install-info: do-install-info dir.info
17252 s=`cd $(srcdir); ${PWD}`; export s; \
17253 if [ -f dir.info ] ; then \
17254 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
17255 else true ; fi
17257 local-clean:
17258 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
17260 local-distclean:
17261 -rm -f Makefile config.status config.cache mh-frag mt-frag
17262 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
17263 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
17264 rm -rf $(TARGET_SUBDIR); \
17265 else true; fi
17266 -rm -rf $(BUILD_SUBDIR)
17267 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
17268 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
17269 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
17270 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
17271 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
17273 local-maintainer-clean:
17274 @echo "This command is intended for maintainers to use;"
17275 @echo "it deletes files that may require special tools to rebuild."
17277 clean: do-clean local-clean
17278 mostlyclean: do-mostlyclean local-clean
17279 distclean: do-distclean local-clean local-distclean
17280 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
17281 maintainer-clean: local-distclean
17282 realclean: maintainer-clean
17284 # Extra dependency for clean-target, owing to the mixed nature of gcc
17285 clean-target: clean-target-libgcc
17286 clean-target-libgcc:
17287 test ! -d gcc/libgcc || \
17288 (cd gcc/libgcc && find . -type d -print) | \
17289 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
17290 -rm -rf gcc/libgcc
17292 # Check target.
17294 .PHONY: check do-check
17295 check:
17296 $(MAKE) do-check
17298 # Only include modules actually being configured and built.
17299 do-check: maybe-check-gcc \
17300 maybe-check-ash \
17301 maybe-check-autoconf \
17302 maybe-check-automake \
17303 maybe-check-bash \
17304 maybe-check-bfd \
17305 maybe-check-opcodes \
17306 maybe-check-binutils \
17307 maybe-check-bison \
17308 maybe-check-byacc \
17309 maybe-check-bzip2 \
17310 maybe-check-dejagnu \
17311 maybe-check-diff \
17312 maybe-check-dosutils \
17313 maybe-check-etc \
17314 maybe-check-fastjar \
17315 maybe-check-fileutils \
17316 maybe-check-findutils \
17317 maybe-check-find \
17318 maybe-check-flex \
17319 maybe-check-gas \
17320 maybe-check-gawk \
17321 maybe-check-gettext \
17322 maybe-check-gnuserv \
17323 maybe-check-gprof \
17324 maybe-check-gzip \
17325 maybe-check-hello \
17326 maybe-check-indent \
17327 maybe-check-intl \
17328 maybe-check-tcl \
17329 maybe-check-itcl \
17330 maybe-check-ld \
17331 maybe-check-libgui \
17332 maybe-check-libiberty \
17333 maybe-check-libtool \
17334 maybe-check-m4 \
17335 maybe-check-make \
17336 maybe-check-mmalloc \
17337 maybe-check-patch \
17338 maybe-check-perl \
17339 maybe-check-prms \
17340 maybe-check-rcs \
17341 maybe-check-readline \
17342 maybe-check-release \
17343 maybe-check-recode \
17344 maybe-check-sed \
17345 maybe-check-send-pr \
17346 maybe-check-shellutils \
17347 maybe-check-sid \
17348 maybe-check-sim \
17349 maybe-check-tar \
17350 maybe-check-texinfo \
17351 maybe-check-textutils \
17352 maybe-check-time \
17353 maybe-check-uudecode \
17354 maybe-check-wdiff \
17355 maybe-check-zip \
17356 maybe-check-zlib \
17357 maybe-check-gdb \
17358 maybe-check-expect \
17359 maybe-check-guile \
17360 maybe-check-tk \
17361 maybe-check-tix \
17362 maybe-check-libtermcap \
17363 maybe-check-utils \
17364 maybe-check-target-libstdc++-v3 \
17365 maybe-check-target-newlib \
17366 maybe-check-target-libf2c \
17367 maybe-check-target-libobjc \
17368 maybe-check-target-libtermcap \
17369 maybe-check-target-winsup \
17370 maybe-check-target-libgloss \
17371 maybe-check-target-libiberty \
17372 maybe-check-target-gperf \
17373 maybe-check-target-examples \
17374 maybe-check-target-libffi \
17375 maybe-check-target-libjava \
17376 maybe-check-target-zlib \
17377 maybe-check-target-boehm-gc \
17378 maybe-check-target-qthreads \
17379 maybe-check-target-rda
17381 # Automated reporting of test results.
17383 warning.log: build.log
17384 $(srcdir)/contrib/warn_summary build.log > $@
17386 mail-report.log:
17387 if test x'$(BOOT_CFLAGS)' != x''; then \
17388 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17389 fi; \
17390 $(srcdir)/contrib/test_summary -t >$@
17391 chmod +x $@
17392 echo If you really want to send e-mail, run ./$@ now
17394 mail-report-with-warnings.log: warning.log
17395 if test x'$(BOOT_CFLAGS)' != x''; then \
17396 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17397 fi; \
17398 $(srcdir)/contrib/test_summary -t -i warning.log >$@
17399 chmod +x $@
17400 echo If you really want to send e-mail, run ./$@ now
17402 # Installation targets.
17404 .PHONY: install uninstall
17405 install: installdirs install-host install-target
17407 .PHONY: install-host-nogcc
17408 install-host-nogcc: \
17409 maybe-install-ash \
17410 maybe-install-autoconf \
17411 maybe-install-automake \
17412 maybe-install-bash \
17413 maybe-install-bfd \
17414 maybe-install-opcodes \
17415 maybe-install-binutils \
17416 maybe-install-bison \
17417 maybe-install-byacc \
17418 maybe-install-bzip2 \
17419 maybe-install-dejagnu \
17420 maybe-install-diff \
17421 maybe-install-dosutils \
17422 maybe-install-etc \
17423 maybe-install-fastjar \
17424 maybe-install-fileutils \
17425 maybe-install-findutils \
17426 maybe-install-find \
17427 maybe-install-flex \
17428 maybe-install-gas \
17429 maybe-install-gawk \
17430 maybe-install-gettext \
17431 maybe-install-gnuserv \
17432 maybe-install-gprof \
17433 maybe-install-gzip \
17434 maybe-install-hello \
17435 maybe-install-indent \
17436 maybe-install-intl \
17437 maybe-install-tcl \
17438 maybe-install-itcl \
17439 maybe-install-ld \
17440 maybe-install-libgui \
17441 maybe-install-libiberty \
17442 maybe-install-libtool \
17443 maybe-install-m4 \
17444 maybe-install-make \
17445 maybe-install-mmalloc \
17446 maybe-install-patch \
17447 maybe-install-perl \
17448 maybe-install-prms \
17449 maybe-install-rcs \
17450 maybe-install-readline \
17451 maybe-install-release \
17452 maybe-install-recode \
17453 maybe-install-sed \
17454 maybe-install-send-pr \
17455 maybe-install-shellutils \
17456 maybe-install-sid \
17457 maybe-install-sim \
17458 maybe-install-tar \
17459 maybe-install-texinfo \
17460 maybe-install-textutils \
17461 maybe-install-time \
17462 maybe-install-uudecode \
17463 maybe-install-wdiff \
17464 maybe-install-zip \
17465 maybe-install-zlib \
17466 maybe-install-gdb \
17467 maybe-install-expect \
17468 maybe-install-guile \
17469 maybe-install-tk \
17470 maybe-install-tix \
17471 maybe-install-libtermcap \
17472 maybe-install-utils
17474 .PHONY: install-host
17475 install-host: maybe-install-gcc \
17476 maybe-install-ash \
17477 maybe-install-autoconf \
17478 maybe-install-automake \
17479 maybe-install-bash \
17480 maybe-install-bfd \
17481 maybe-install-opcodes \
17482 maybe-install-binutils \
17483 maybe-install-bison \
17484 maybe-install-byacc \
17485 maybe-install-bzip2 \
17486 maybe-install-dejagnu \
17487 maybe-install-diff \
17488 maybe-install-dosutils \
17489 maybe-install-etc \
17490 maybe-install-fastjar \
17491 maybe-install-fileutils \
17492 maybe-install-findutils \
17493 maybe-install-find \
17494 maybe-install-flex \
17495 maybe-install-gas \
17496 maybe-install-gawk \
17497 maybe-install-gettext \
17498 maybe-install-gnuserv \
17499 maybe-install-gprof \
17500 maybe-install-gzip \
17501 maybe-install-hello \
17502 maybe-install-indent \
17503 maybe-install-intl \
17504 maybe-install-tcl \
17505 maybe-install-itcl \
17506 maybe-install-ld \
17507 maybe-install-libgui \
17508 maybe-install-libiberty \
17509 maybe-install-libtool \
17510 maybe-install-m4 \
17511 maybe-install-make \
17512 maybe-install-mmalloc \
17513 maybe-install-patch \
17514 maybe-install-perl \
17515 maybe-install-prms \
17516 maybe-install-rcs \
17517 maybe-install-readline \
17518 maybe-install-release \
17519 maybe-install-recode \
17520 maybe-install-sed \
17521 maybe-install-send-pr \
17522 maybe-install-shellutils \
17523 maybe-install-sid \
17524 maybe-install-sim \
17525 maybe-install-tar \
17526 maybe-install-texinfo \
17527 maybe-install-textutils \
17528 maybe-install-time \
17529 maybe-install-uudecode \
17530 maybe-install-wdiff \
17531 maybe-install-zip \
17532 maybe-install-zlib \
17533 maybe-install-gdb \
17534 maybe-install-expect \
17535 maybe-install-guile \
17536 maybe-install-tk \
17537 maybe-install-tix \
17538 maybe-install-libtermcap \
17539 maybe-install-utils
17541 .PHONY: install-target
17542 install-target: \
17543 maybe-install-target-libstdc++-v3 \
17544 maybe-install-target-newlib \
17545 maybe-install-target-libf2c \
17546 maybe-install-target-libobjc \
17547 maybe-install-target-libtermcap \
17548 maybe-install-target-winsup \
17549 maybe-install-target-libgloss \
17550 maybe-install-target-libiberty \
17551 maybe-install-target-gperf \
17552 maybe-install-target-examples \
17553 maybe-install-target-libffi \
17554 maybe-install-target-libjava \
17555 maybe-install-target-zlib \
17556 maybe-install-target-boehm-gc \
17557 maybe-install-target-qthreads \
17558 maybe-install-target-rda
17560 uninstall:
17561 @echo "the uninstall target is not supported in this tree"
17563 .PHONY: install.all
17564 install.all: install-no-fixedincludes
17565 @if [ -f ./gcc/Makefile ] ; then \
17566 r=`${PWD}` ; export r ; \
17567 $(SET_LIB_PATH) \
17568 (cd ./gcc && \
17569 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
17570 else \
17571 true ; \
17574 # install-no-fixedincludes is used because Cygnus can not distribute
17575 # the fixed header files.
17576 .PHONY: install-no-fixedincludes
17577 install-no-fixedincludes: installdirs install-host-nogcc \
17578 install-target gcc-no-fixedincludes
17580 ### other supporting targets
17582 MAKEDIRS= \
17583 $(DESTDIR)$(prefix) \
17584 $(DESTDIR)$(exec_prefix)
17585 .PHONY: installdirs
17586 installdirs: mkinstalldirs
17587 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
17589 dir.info: do-install-info
17590 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
17591 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
17592 mv -f dir.info.new dir.info ; \
17593 else true ; \
17596 dist:
17597 @echo "Building a full distribution of this tree isn't done"
17598 @echo "via 'make dist'. Check out the etc/ subdirectory"
17600 etags tags: TAGS
17602 # Right now this just builds TAGS in each subdirectory. emacs19 has the
17603 # ability to use several tags files at once, so there is probably no need
17604 # to combine them into one big TAGS file (like CVS 1.3 does). We could
17605 # (if we felt like it) have this Makefile write a piece of elisp which
17606 # the user could load to tell emacs19 where all the TAGS files we just
17607 # built are.
17608 TAGS: do-TAGS
17610 # --------------------------------------
17611 # Modules which run on the build machine
17612 # --------------------------------------
17614 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
17615 maybe-configure-build-libiberty:
17616 configure-build-libiberty:
17617 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
17618 [ -d $(BUILD_SUBDIR)/libiberty ] || \
17619 mkdir $(BUILD_SUBDIR)/libiberty;\
17620 r=`${PWD}`; export r; \
17621 s=`cd $(srcdir); ${PWD}`; export s; \
17622 AR="$(AR_FOR_BUILD)"; export AR; \
17623 AS="$(AS_FOR_BUILD)"; export AS; \
17624 CC="$(CC_FOR_BUILD)"; export CC; \
17625 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17626 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17627 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17628 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17629 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17630 LD="$(LD_FOR_BUILD)"; export LD; \
17631 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17632 NM="$(NM_FOR_BUILD)"; export NM; \
17633 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17634 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17635 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
17636 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
17637 case $(srcdir) in \
17638 /* | [A-Za-z]:[\\/]*) \
17639 topdir=$(srcdir) ;; \
17640 *) \
17641 case "$(BUILD_SUBDIR)" in \
17642 .) topdir="../$(srcdir)" ;; \
17643 *) topdir="../../$(srcdir)" ;; \
17644 esac ;; \
17645 esac; \
17646 if [ "$(srcdir)" = "." ] ; then \
17647 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17648 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
17649 if [ -f Makefile ]; then \
17650 if $(MAKE) distclean; then \
17651 true; \
17652 else \
17653 exit 1; \
17654 fi; \
17655 else \
17656 true; \
17657 fi; \
17658 else \
17659 exit 1; \
17660 fi; \
17661 else \
17662 true; \
17663 fi; \
17664 srcdiroption="--srcdir=."; \
17665 libsrcdir="."; \
17666 else \
17667 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17668 libsrcdir="$$s/libiberty"; \
17669 fi; \
17670 rm -f no-such-file || : ; \
17671 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17672 $(BUILD_CONFIGARGS) $${srcdiroption} \
17673 --with-build-subdir="$(BUILD_SUBDIR)" \
17674 || exit 1
17676 .PHONY: all-build-libiberty maybe-all-build-libiberty
17677 maybe-all-build-libiberty:
17678 all-build-libiberty: configure-build-libiberty
17679 @r=`${PWD}`; export r; \
17680 s=`cd $(srcdir); ${PWD}`; export s; \
17681 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
17684 # --------------------------------------
17685 # Modules which run on the host machine
17686 # --------------------------------------
17688 .PHONY: configure-ash maybe-configure-ash
17689 maybe-configure-ash:
17690 configure-ash:
17691 @test ! -f ash/Makefile || exit 0; \
17692 [ -d ash ] || mkdir ash; \
17693 r=`${PWD}`; export r; \
17694 s=`cd $(srcdir); ${PWD}`; export s; \
17695 CC="$(CC)"; export CC; \
17696 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17697 CXX="$(CXX)"; export CXX; \
17698 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17699 AR="$(AR)"; export AR; \
17700 AS="$(AS)"; export AS; \
17701 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17702 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17703 LD="$(LD)"; export LD; \
17704 NM="$(NM)"; export NM; \
17705 RANLIB="$(RANLIB)"; export RANLIB; \
17706 WINDRES="$(WINDRES)"; export WINDRES; \
17707 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17708 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17709 echo Configuring in ash; \
17710 cd ash || exit 1; \
17711 case $(srcdir) in \
17712 \.) \
17713 srcdiroption="--srcdir=."; \
17714 libsrcdir=".";; \
17715 /* | [A-Za-z]:[\\/]*) \
17716 srcdiroption="--srcdir=$(srcdir)/ash"; \
17717 libsrcdir="$$s/ash";; \
17718 *) \
17719 srcdiroption="--srcdir=../$(srcdir)/ash"; \
17720 libsrcdir="$$s/ash";; \
17721 esac; \
17722 $(SHELL) $${libsrcdir}/configure \
17723 $(HOST_CONFIGARGS) $${srcdiroption} \
17724 || exit 1
17726 .PHONY: all-ash maybe-all-ash
17727 maybe-all-ash:
17728 all-ash: configure-ash
17729 @r=`${PWD}`; export r; \
17730 s=`cd $(srcdir); ${PWD}`; export s; \
17731 $(SET_LIB_PATH) \
17732 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
17734 .PHONY: check-ash maybe-check-ash
17735 maybe-check-ash:
17737 check-ash:
17738 @r=`${PWD}`; export r; \
17739 s=`cd $(srcdir); ${PWD}`; export s; \
17740 $(SET_LIB_PATH) \
17741 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
17744 .PHONY: install-ash maybe-install-ash
17745 maybe-install-ash:
17747 install-ash: installdirs
17748 @r=`${PWD}`; export r; \
17749 s=`cd $(srcdir); ${PWD}`; export s; \
17750 $(SET_LIB_PATH) \
17751 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
17754 .PHONY: configure-autoconf maybe-configure-autoconf
17755 maybe-configure-autoconf:
17756 configure-autoconf:
17757 @test ! -f autoconf/Makefile || exit 0; \
17758 [ -d autoconf ] || mkdir autoconf; \
17759 r=`${PWD}`; export r; \
17760 s=`cd $(srcdir); ${PWD}`; export s; \
17761 CC="$(CC)"; export CC; \
17762 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17763 CXX="$(CXX)"; export CXX; \
17764 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17765 AR="$(AR)"; export AR; \
17766 AS="$(AS)"; export AS; \
17767 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17768 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17769 LD="$(LD)"; export LD; \
17770 NM="$(NM)"; export NM; \
17771 RANLIB="$(RANLIB)"; export RANLIB; \
17772 WINDRES="$(WINDRES)"; export WINDRES; \
17773 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17774 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17775 echo Configuring in autoconf; \
17776 cd autoconf || exit 1; \
17777 case $(srcdir) in \
17778 \.) \
17779 srcdiroption="--srcdir=."; \
17780 libsrcdir=".";; \
17781 /* | [A-Za-z]:[\\/]*) \
17782 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
17783 libsrcdir="$$s/autoconf";; \
17784 *) \
17785 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
17786 libsrcdir="$$s/autoconf";; \
17787 esac; \
17788 $(SHELL) $${libsrcdir}/configure \
17789 $(HOST_CONFIGARGS) $${srcdiroption} \
17790 || exit 1
17792 .PHONY: all-autoconf maybe-all-autoconf
17793 maybe-all-autoconf:
17794 all-autoconf: configure-autoconf
17795 @r=`${PWD}`; export r; \
17796 s=`cd $(srcdir); ${PWD}`; export s; \
17797 $(SET_LIB_PATH) \
17798 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
17800 .PHONY: check-autoconf maybe-check-autoconf
17801 maybe-check-autoconf:
17803 check-autoconf:
17804 @r=`${PWD}`; export r; \
17805 s=`cd $(srcdir); ${PWD}`; export s; \
17806 $(SET_LIB_PATH) \
17807 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
17810 .PHONY: install-autoconf maybe-install-autoconf
17811 maybe-install-autoconf:
17813 install-autoconf: installdirs
17814 @r=`${PWD}`; export r; \
17815 s=`cd $(srcdir); ${PWD}`; export s; \
17816 $(SET_LIB_PATH) \
17817 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
17820 .PHONY: configure-automake maybe-configure-automake
17821 maybe-configure-automake:
17822 configure-automake:
17823 @test ! -f automake/Makefile || exit 0; \
17824 [ -d automake ] || mkdir automake; \
17825 r=`${PWD}`; export r; \
17826 s=`cd $(srcdir); ${PWD}`; export s; \
17827 CC="$(CC)"; export CC; \
17828 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17829 CXX="$(CXX)"; export CXX; \
17830 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17831 AR="$(AR)"; export AR; \
17832 AS="$(AS)"; export AS; \
17833 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17834 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17835 LD="$(LD)"; export LD; \
17836 NM="$(NM)"; export NM; \
17837 RANLIB="$(RANLIB)"; export RANLIB; \
17838 WINDRES="$(WINDRES)"; export WINDRES; \
17839 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17840 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17841 echo Configuring in automake; \
17842 cd automake || exit 1; \
17843 case $(srcdir) in \
17844 \.) \
17845 srcdiroption="--srcdir=."; \
17846 libsrcdir=".";; \
17847 /* | [A-Za-z]:[\\/]*) \
17848 srcdiroption="--srcdir=$(srcdir)/automake"; \
17849 libsrcdir="$$s/automake";; \
17850 *) \
17851 srcdiroption="--srcdir=../$(srcdir)/automake"; \
17852 libsrcdir="$$s/automake";; \
17853 esac; \
17854 $(SHELL) $${libsrcdir}/configure \
17855 $(HOST_CONFIGARGS) $${srcdiroption} \
17856 || exit 1
17858 .PHONY: all-automake maybe-all-automake
17859 maybe-all-automake:
17860 all-automake: configure-automake
17861 @r=`${PWD}`; export r; \
17862 s=`cd $(srcdir); ${PWD}`; export s; \
17863 $(SET_LIB_PATH) \
17864 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
17866 .PHONY: check-automake maybe-check-automake
17867 maybe-check-automake:
17869 check-automake:
17870 @r=`${PWD}`; export r; \
17871 s=`cd $(srcdir); ${PWD}`; export s; \
17872 $(SET_LIB_PATH) \
17873 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
17876 .PHONY: install-automake maybe-install-automake
17877 maybe-install-automake:
17879 install-automake: installdirs
17880 @r=`${PWD}`; export r; \
17881 s=`cd $(srcdir); ${PWD}`; export s; \
17882 $(SET_LIB_PATH) \
17883 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
17886 .PHONY: configure-bash maybe-configure-bash
17887 maybe-configure-bash:
17888 configure-bash:
17889 @test ! -f bash/Makefile || exit 0; \
17890 [ -d bash ] || mkdir bash; \
17891 r=`${PWD}`; export r; \
17892 s=`cd $(srcdir); ${PWD}`; export s; \
17893 CC="$(CC)"; export CC; \
17894 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17895 CXX="$(CXX)"; export CXX; \
17896 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17897 AR="$(AR)"; export AR; \
17898 AS="$(AS)"; export AS; \
17899 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17900 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17901 LD="$(LD)"; export LD; \
17902 NM="$(NM)"; export NM; \
17903 RANLIB="$(RANLIB)"; export RANLIB; \
17904 WINDRES="$(WINDRES)"; export WINDRES; \
17905 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17906 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17907 echo Configuring in bash; \
17908 cd bash || exit 1; \
17909 case $(srcdir) in \
17910 \.) \
17911 srcdiroption="--srcdir=."; \
17912 libsrcdir=".";; \
17913 /* | [A-Za-z]:[\\/]*) \
17914 srcdiroption="--srcdir=$(srcdir)/bash"; \
17915 libsrcdir="$$s/bash";; \
17916 *) \
17917 srcdiroption="--srcdir=../$(srcdir)/bash"; \
17918 libsrcdir="$$s/bash";; \
17919 esac; \
17920 $(SHELL) $${libsrcdir}/configure \
17921 $(HOST_CONFIGARGS) $${srcdiroption} \
17922 || exit 1
17924 .PHONY: all-bash maybe-all-bash
17925 maybe-all-bash:
17926 all-bash: configure-bash
17927 @r=`${PWD}`; export r; \
17928 s=`cd $(srcdir); ${PWD}`; export s; \
17929 $(SET_LIB_PATH) \
17930 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
17932 .PHONY: check-bash maybe-check-bash
17933 maybe-check-bash:
17935 check-bash:
17936 @r=`${PWD}`; export r; \
17937 s=`cd $(srcdir); ${PWD}`; export s; \
17938 $(SET_LIB_PATH) \
17939 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
17942 .PHONY: install-bash maybe-install-bash
17943 maybe-install-bash:
17945 install-bash: installdirs
17946 @r=`${PWD}`; export r; \
17947 s=`cd $(srcdir); ${PWD}`; export s; \
17948 $(SET_LIB_PATH) \
17949 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
17952 .PHONY: configure-bfd maybe-configure-bfd
17953 maybe-configure-bfd:
17954 configure-bfd:
17955 @test ! -f bfd/Makefile || exit 0; \
17956 [ -d bfd ] || mkdir bfd; \
17957 r=`${PWD}`; export r; \
17958 s=`cd $(srcdir); ${PWD}`; export s; \
17959 CC="$(CC)"; export CC; \
17960 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17961 CXX="$(CXX)"; export CXX; \
17962 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17963 AR="$(AR)"; export AR; \
17964 AS="$(AS)"; export AS; \
17965 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17966 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17967 LD="$(LD)"; export LD; \
17968 NM="$(NM)"; export NM; \
17969 RANLIB="$(RANLIB)"; export RANLIB; \
17970 WINDRES="$(WINDRES)"; export WINDRES; \
17971 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17972 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17973 echo Configuring in bfd; \
17974 cd bfd || exit 1; \
17975 case $(srcdir) in \
17976 \.) \
17977 srcdiroption="--srcdir=."; \
17978 libsrcdir=".";; \
17979 /* | [A-Za-z]:[\\/]*) \
17980 srcdiroption="--srcdir=$(srcdir)/bfd"; \
17981 libsrcdir="$$s/bfd";; \
17982 *) \
17983 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
17984 libsrcdir="$$s/bfd";; \
17985 esac; \
17986 $(SHELL) $${libsrcdir}/configure \
17987 $(HOST_CONFIGARGS) $${srcdiroption} \
17988 || exit 1
17990 .PHONY: all-bfd maybe-all-bfd
17991 maybe-all-bfd:
17992 all-bfd: configure-bfd
17993 @r=`${PWD}`; export r; \
17994 s=`cd $(srcdir); ${PWD}`; export s; \
17995 $(SET_LIB_PATH) \
17996 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
17998 .PHONY: check-bfd maybe-check-bfd
17999 maybe-check-bfd:
18001 check-bfd:
18002 @r=`${PWD}`; export r; \
18003 s=`cd $(srcdir); ${PWD}`; export s; \
18004 $(SET_LIB_PATH) \
18005 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
18008 .PHONY: install-bfd maybe-install-bfd
18009 maybe-install-bfd:
18011 install-bfd: installdirs
18012 @r=`${PWD}`; export r; \
18013 s=`cd $(srcdir); ${PWD}`; export s; \
18014 $(SET_LIB_PATH) \
18015 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
18018 .PHONY: configure-opcodes maybe-configure-opcodes
18019 maybe-configure-opcodes:
18020 configure-opcodes:
18021 @test ! -f opcodes/Makefile || exit 0; \
18022 [ -d opcodes ] || mkdir opcodes; \
18023 r=`${PWD}`; export r; \
18024 s=`cd $(srcdir); ${PWD}`; export s; \
18025 CC="$(CC)"; export CC; \
18026 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18027 CXX="$(CXX)"; export CXX; \
18028 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18029 AR="$(AR)"; export AR; \
18030 AS="$(AS)"; export AS; \
18031 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18032 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18033 LD="$(LD)"; export LD; \
18034 NM="$(NM)"; export NM; \
18035 RANLIB="$(RANLIB)"; export RANLIB; \
18036 WINDRES="$(WINDRES)"; export WINDRES; \
18037 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18038 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18039 echo Configuring in opcodes; \
18040 cd opcodes || exit 1; \
18041 case $(srcdir) in \
18042 \.) \
18043 srcdiroption="--srcdir=."; \
18044 libsrcdir=".";; \
18045 /* | [A-Za-z]:[\\/]*) \
18046 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
18047 libsrcdir="$$s/opcodes";; \
18048 *) \
18049 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
18050 libsrcdir="$$s/opcodes";; \
18051 esac; \
18052 $(SHELL) $${libsrcdir}/configure \
18053 $(HOST_CONFIGARGS) $${srcdiroption} \
18054 || exit 1
18056 .PHONY: all-opcodes maybe-all-opcodes
18057 maybe-all-opcodes:
18058 all-opcodes: configure-opcodes
18059 @r=`${PWD}`; export r; \
18060 s=`cd $(srcdir); ${PWD}`; export s; \
18061 $(SET_LIB_PATH) \
18062 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
18064 .PHONY: check-opcodes maybe-check-opcodes
18065 maybe-check-opcodes:
18067 check-opcodes:
18068 @r=`${PWD}`; export r; \
18069 s=`cd $(srcdir); ${PWD}`; export s; \
18070 $(SET_LIB_PATH) \
18071 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
18074 .PHONY: install-opcodes maybe-install-opcodes
18075 maybe-install-opcodes:
18077 install-opcodes: installdirs
18078 @r=`${PWD}`; export r; \
18079 s=`cd $(srcdir); ${PWD}`; export s; \
18080 $(SET_LIB_PATH) \
18081 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
18084 .PHONY: configure-binutils maybe-configure-binutils
18085 maybe-configure-binutils:
18086 configure-binutils:
18087 @test ! -f binutils/Makefile || exit 0; \
18088 [ -d binutils ] || mkdir binutils; \
18089 r=`${PWD}`; export r; \
18090 s=`cd $(srcdir); ${PWD}`; export s; \
18091 CC="$(CC)"; export CC; \
18092 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18093 CXX="$(CXX)"; export CXX; \
18094 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18095 AR="$(AR)"; export AR; \
18096 AS="$(AS)"; export AS; \
18097 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18098 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18099 LD="$(LD)"; export LD; \
18100 NM="$(NM)"; export NM; \
18101 RANLIB="$(RANLIB)"; export RANLIB; \
18102 WINDRES="$(WINDRES)"; export WINDRES; \
18103 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18104 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18105 echo Configuring in binutils; \
18106 cd binutils || exit 1; \
18107 case $(srcdir) in \
18108 \.) \
18109 srcdiroption="--srcdir=."; \
18110 libsrcdir=".";; \
18111 /* | [A-Za-z]:[\\/]*) \
18112 srcdiroption="--srcdir=$(srcdir)/binutils"; \
18113 libsrcdir="$$s/binutils";; \
18114 *) \
18115 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
18116 libsrcdir="$$s/binutils";; \
18117 esac; \
18118 $(SHELL) $${libsrcdir}/configure \
18119 $(HOST_CONFIGARGS) $${srcdiroption} \
18120 || exit 1
18122 .PHONY: all-binutils maybe-all-binutils
18123 maybe-all-binutils:
18124 all-binutils: configure-binutils
18125 @r=`${PWD}`; export r; \
18126 s=`cd $(srcdir); ${PWD}`; export s; \
18127 $(SET_LIB_PATH) \
18128 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
18130 .PHONY: check-binutils maybe-check-binutils
18131 maybe-check-binutils:
18133 check-binutils:
18134 @r=`${PWD}`; export r; \
18135 s=`cd $(srcdir); ${PWD}`; export s; \
18136 $(SET_LIB_PATH) \
18137 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
18140 .PHONY: install-binutils maybe-install-binutils
18141 maybe-install-binutils:
18143 install-binutils: installdirs
18144 @r=`${PWD}`; export r; \
18145 s=`cd $(srcdir); ${PWD}`; export s; \
18146 $(SET_LIB_PATH) \
18147 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
18150 .PHONY: configure-bison maybe-configure-bison
18151 maybe-configure-bison:
18152 configure-bison:
18153 @test ! -f bison/Makefile || exit 0; \
18154 [ -d bison ] || mkdir bison; \
18155 r=`${PWD}`; export r; \
18156 s=`cd $(srcdir); ${PWD}`; export s; \
18157 CC="$(CC)"; export CC; \
18158 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18159 CXX="$(CXX)"; export CXX; \
18160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18161 AR="$(AR)"; export AR; \
18162 AS="$(AS)"; export AS; \
18163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18165 LD="$(LD)"; export LD; \
18166 NM="$(NM)"; export NM; \
18167 RANLIB="$(RANLIB)"; export RANLIB; \
18168 WINDRES="$(WINDRES)"; export WINDRES; \
18169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18171 echo Configuring in bison; \
18172 cd bison || exit 1; \
18173 case $(srcdir) in \
18174 \.) \
18175 srcdiroption="--srcdir=."; \
18176 libsrcdir=".";; \
18177 /* | [A-Za-z]:[\\/]*) \
18178 srcdiroption="--srcdir=$(srcdir)/bison"; \
18179 libsrcdir="$$s/bison";; \
18180 *) \
18181 srcdiroption="--srcdir=../$(srcdir)/bison"; \
18182 libsrcdir="$$s/bison";; \
18183 esac; \
18184 $(SHELL) $${libsrcdir}/configure \
18185 $(HOST_CONFIGARGS) $${srcdiroption} \
18186 || exit 1
18188 .PHONY: all-bison maybe-all-bison
18189 maybe-all-bison:
18190 all-bison: configure-bison
18191 @r=`${PWD}`; export r; \
18192 s=`cd $(srcdir); ${PWD}`; export s; \
18193 $(SET_LIB_PATH) \
18194 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
18196 .PHONY: check-bison maybe-check-bison
18197 maybe-check-bison:
18199 # This module is only tested in a native toolchain.
18200 check-bison:
18201 @if [ '$(host)' = '$(target)' ] ; then \
18202 r=`${PWD}`; export r; \
18203 s=`cd $(srcdir); ${PWD}`; export s; \
18204 $(SET_LIB_PATH) \
18205 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
18209 .PHONY: install-bison maybe-install-bison
18210 maybe-install-bison:
18212 install-bison: installdirs
18213 @r=`${PWD}`; export r; \
18214 s=`cd $(srcdir); ${PWD}`; export s; \
18215 $(SET_LIB_PATH) \
18216 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
18219 .PHONY: configure-byacc maybe-configure-byacc
18220 maybe-configure-byacc:
18221 configure-byacc:
18222 @test ! -f byacc/Makefile || exit 0; \
18223 [ -d byacc ] || mkdir byacc; \
18224 r=`${PWD}`; export r; \
18225 s=`cd $(srcdir); ${PWD}`; export s; \
18226 CC="$(CC)"; export CC; \
18227 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18228 CXX="$(CXX)"; export CXX; \
18229 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18230 AR="$(AR)"; export AR; \
18231 AS="$(AS)"; export AS; \
18232 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18233 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18234 LD="$(LD)"; export LD; \
18235 NM="$(NM)"; export NM; \
18236 RANLIB="$(RANLIB)"; export RANLIB; \
18237 WINDRES="$(WINDRES)"; export WINDRES; \
18238 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18239 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18240 echo Configuring in byacc; \
18241 cd byacc || exit 1; \
18242 case $(srcdir) in \
18243 \.) \
18244 srcdiroption="--srcdir=."; \
18245 libsrcdir=".";; \
18246 /* | [A-Za-z]:[\\/]*) \
18247 srcdiroption="--srcdir=$(srcdir)/byacc"; \
18248 libsrcdir="$$s/byacc";; \
18249 *) \
18250 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
18251 libsrcdir="$$s/byacc";; \
18252 esac; \
18253 $(SHELL) $${libsrcdir}/configure \
18254 $(HOST_CONFIGARGS) $${srcdiroption} \
18255 || exit 1
18257 .PHONY: all-byacc maybe-all-byacc
18258 maybe-all-byacc:
18259 all-byacc: configure-byacc
18260 @r=`${PWD}`; export r; \
18261 s=`cd $(srcdir); ${PWD}`; export s; \
18262 $(SET_LIB_PATH) \
18263 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
18265 .PHONY: check-byacc maybe-check-byacc
18266 maybe-check-byacc:
18268 # This module is only tested in a native toolchain.
18269 check-byacc:
18270 @if [ '$(host)' = '$(target)' ] ; then \
18271 r=`${PWD}`; export r; \
18272 s=`cd $(srcdir); ${PWD}`; export s; \
18273 $(SET_LIB_PATH) \
18274 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
18278 .PHONY: install-byacc maybe-install-byacc
18279 maybe-install-byacc:
18281 install-byacc: installdirs
18282 @r=`${PWD}`; export r; \
18283 s=`cd $(srcdir); ${PWD}`; export s; \
18284 $(SET_LIB_PATH) \
18285 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
18288 .PHONY: configure-bzip2 maybe-configure-bzip2
18289 maybe-configure-bzip2:
18290 configure-bzip2:
18291 @test ! -f bzip2/Makefile || exit 0; \
18292 [ -d bzip2 ] || mkdir bzip2; \
18293 r=`${PWD}`; export r; \
18294 s=`cd $(srcdir); ${PWD}`; export s; \
18295 CC="$(CC)"; export CC; \
18296 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18297 CXX="$(CXX)"; export CXX; \
18298 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18299 AR="$(AR)"; export AR; \
18300 AS="$(AS)"; export AS; \
18301 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18302 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18303 LD="$(LD)"; export LD; \
18304 NM="$(NM)"; export NM; \
18305 RANLIB="$(RANLIB)"; export RANLIB; \
18306 WINDRES="$(WINDRES)"; export WINDRES; \
18307 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18308 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18309 echo Configuring in bzip2; \
18310 cd bzip2 || exit 1; \
18311 case $(srcdir) in \
18312 \.) \
18313 srcdiroption="--srcdir=."; \
18314 libsrcdir=".";; \
18315 /* | [A-Za-z]:[\\/]*) \
18316 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
18317 libsrcdir="$$s/bzip2";; \
18318 *) \
18319 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
18320 libsrcdir="$$s/bzip2";; \
18321 esac; \
18322 $(SHELL) $${libsrcdir}/configure \
18323 $(HOST_CONFIGARGS) $${srcdiroption} \
18324 || exit 1
18326 .PHONY: all-bzip2 maybe-all-bzip2
18327 maybe-all-bzip2:
18328 all-bzip2: configure-bzip2
18329 @r=`${PWD}`; export r; \
18330 s=`cd $(srcdir); ${PWD}`; export s; \
18331 $(SET_LIB_PATH) \
18332 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
18334 .PHONY: check-bzip2 maybe-check-bzip2
18335 maybe-check-bzip2:
18337 check-bzip2:
18338 @r=`${PWD}`; export r; \
18339 s=`cd $(srcdir); ${PWD}`; export s; \
18340 $(SET_LIB_PATH) \
18341 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
18344 .PHONY: install-bzip2 maybe-install-bzip2
18345 maybe-install-bzip2:
18347 install-bzip2: installdirs
18348 @r=`${PWD}`; export r; \
18349 s=`cd $(srcdir); ${PWD}`; export s; \
18350 $(SET_LIB_PATH) \
18351 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
18354 .PHONY: configure-dejagnu maybe-configure-dejagnu
18355 maybe-configure-dejagnu:
18356 configure-dejagnu:
18357 @test ! -f dejagnu/Makefile || exit 0; \
18358 [ -d dejagnu ] || mkdir dejagnu; \
18359 r=`${PWD}`; export r; \
18360 s=`cd $(srcdir); ${PWD}`; export s; \
18361 CC="$(CC)"; export CC; \
18362 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18363 CXX="$(CXX)"; export CXX; \
18364 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18365 AR="$(AR)"; export AR; \
18366 AS="$(AS)"; export AS; \
18367 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18368 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18369 LD="$(LD)"; export LD; \
18370 NM="$(NM)"; export NM; \
18371 RANLIB="$(RANLIB)"; export RANLIB; \
18372 WINDRES="$(WINDRES)"; export WINDRES; \
18373 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18374 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18375 echo Configuring in dejagnu; \
18376 cd dejagnu || exit 1; \
18377 case $(srcdir) in \
18378 \.) \
18379 srcdiroption="--srcdir=."; \
18380 libsrcdir=".";; \
18381 /* | [A-Za-z]:[\\/]*) \
18382 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
18383 libsrcdir="$$s/dejagnu";; \
18384 *) \
18385 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
18386 libsrcdir="$$s/dejagnu";; \
18387 esac; \
18388 $(SHELL) $${libsrcdir}/configure \
18389 $(HOST_CONFIGARGS) $${srcdiroption} \
18390 || exit 1
18392 .PHONY: all-dejagnu maybe-all-dejagnu
18393 maybe-all-dejagnu:
18394 all-dejagnu: configure-dejagnu
18395 @r=`${PWD}`; export r; \
18396 s=`cd $(srcdir); ${PWD}`; export s; \
18397 $(SET_LIB_PATH) \
18398 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
18400 .PHONY: check-dejagnu maybe-check-dejagnu
18401 maybe-check-dejagnu:
18403 check-dejagnu:
18404 @r=`${PWD}`; export r; \
18405 s=`cd $(srcdir); ${PWD}`; export s; \
18406 $(SET_LIB_PATH) \
18407 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
18410 .PHONY: install-dejagnu maybe-install-dejagnu
18411 maybe-install-dejagnu:
18413 install-dejagnu: installdirs
18414 @r=`${PWD}`; export r; \
18415 s=`cd $(srcdir); ${PWD}`; export s; \
18416 $(SET_LIB_PATH) \
18417 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
18420 .PHONY: configure-diff maybe-configure-diff
18421 maybe-configure-diff:
18422 configure-diff:
18423 @test ! -f diff/Makefile || exit 0; \
18424 [ -d diff ] || mkdir diff; \
18425 r=`${PWD}`; export r; \
18426 s=`cd $(srcdir); ${PWD}`; export s; \
18427 CC="$(CC)"; export CC; \
18428 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18429 CXX="$(CXX)"; export CXX; \
18430 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18431 AR="$(AR)"; export AR; \
18432 AS="$(AS)"; export AS; \
18433 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18434 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18435 LD="$(LD)"; export LD; \
18436 NM="$(NM)"; export NM; \
18437 RANLIB="$(RANLIB)"; export RANLIB; \
18438 WINDRES="$(WINDRES)"; export WINDRES; \
18439 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18440 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18441 echo Configuring in diff; \
18442 cd diff || exit 1; \
18443 case $(srcdir) in \
18444 \.) \
18445 srcdiroption="--srcdir=."; \
18446 libsrcdir=".";; \
18447 /* | [A-Za-z]:[\\/]*) \
18448 srcdiroption="--srcdir=$(srcdir)/diff"; \
18449 libsrcdir="$$s/diff";; \
18450 *) \
18451 srcdiroption="--srcdir=../$(srcdir)/diff"; \
18452 libsrcdir="$$s/diff";; \
18453 esac; \
18454 $(SHELL) $${libsrcdir}/configure \
18455 $(HOST_CONFIGARGS) $${srcdiroption} \
18456 || exit 1
18458 .PHONY: all-diff maybe-all-diff
18459 maybe-all-diff:
18460 all-diff: configure-diff
18461 @r=`${PWD}`; export r; \
18462 s=`cd $(srcdir); ${PWD}`; export s; \
18463 $(SET_LIB_PATH) \
18464 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
18466 .PHONY: check-diff maybe-check-diff
18467 maybe-check-diff:
18469 check-diff:
18470 @r=`${PWD}`; export r; \
18471 s=`cd $(srcdir); ${PWD}`; export s; \
18472 $(SET_LIB_PATH) \
18473 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
18476 .PHONY: install-diff maybe-install-diff
18477 maybe-install-diff:
18479 install-diff: installdirs
18480 @r=`${PWD}`; export r; \
18481 s=`cd $(srcdir); ${PWD}`; export s; \
18482 $(SET_LIB_PATH) \
18483 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
18486 .PHONY: configure-dosutils maybe-configure-dosutils
18487 maybe-configure-dosutils:
18488 configure-dosutils:
18489 @test ! -f dosutils/Makefile || exit 0; \
18490 [ -d dosutils ] || mkdir dosutils; \
18491 r=`${PWD}`; export r; \
18492 s=`cd $(srcdir); ${PWD}`; export s; \
18493 CC="$(CC)"; export CC; \
18494 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18495 CXX="$(CXX)"; export CXX; \
18496 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18497 AR="$(AR)"; export AR; \
18498 AS="$(AS)"; export AS; \
18499 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18500 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18501 LD="$(LD)"; export LD; \
18502 NM="$(NM)"; export NM; \
18503 RANLIB="$(RANLIB)"; export RANLIB; \
18504 WINDRES="$(WINDRES)"; export WINDRES; \
18505 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18506 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18507 echo Configuring in dosutils; \
18508 cd dosutils || exit 1; \
18509 case $(srcdir) in \
18510 \.) \
18511 srcdiroption="--srcdir=."; \
18512 libsrcdir=".";; \
18513 /* | [A-Za-z]:[\\/]*) \
18514 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
18515 libsrcdir="$$s/dosutils";; \
18516 *) \
18517 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
18518 libsrcdir="$$s/dosutils";; \
18519 esac; \
18520 $(SHELL) $${libsrcdir}/configure \
18521 $(HOST_CONFIGARGS) $${srcdiroption} \
18522 || exit 1
18524 .PHONY: all-dosutils maybe-all-dosutils
18525 maybe-all-dosutils:
18526 all-dosutils: configure-dosutils
18527 @r=`${PWD}`; export r; \
18528 s=`cd $(srcdir); ${PWD}`; export s; \
18529 $(SET_LIB_PATH) \
18530 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
18532 .PHONY: check-dosutils maybe-check-dosutils
18533 maybe-check-dosutils:
18535 check-dosutils:
18538 .PHONY: install-dosutils maybe-install-dosutils
18539 maybe-install-dosutils:
18541 install-dosutils: installdirs
18542 @r=`${PWD}`; export r; \
18543 s=`cd $(srcdir); ${PWD}`; export s; \
18544 $(SET_LIB_PATH) \
18545 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
18548 .PHONY: configure-etc maybe-configure-etc
18549 maybe-configure-etc:
18550 configure-etc:
18551 @test ! -f etc/Makefile || exit 0; \
18552 [ -d etc ] || mkdir etc; \
18553 r=`${PWD}`; export r; \
18554 s=`cd $(srcdir); ${PWD}`; export s; \
18555 CC="$(CC)"; export CC; \
18556 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18557 CXX="$(CXX)"; export CXX; \
18558 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18559 AR="$(AR)"; export AR; \
18560 AS="$(AS)"; export AS; \
18561 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18562 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18563 LD="$(LD)"; export LD; \
18564 NM="$(NM)"; export NM; \
18565 RANLIB="$(RANLIB)"; export RANLIB; \
18566 WINDRES="$(WINDRES)"; export WINDRES; \
18567 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18568 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18569 echo Configuring in etc; \
18570 cd etc || exit 1; \
18571 case $(srcdir) in \
18572 \.) \
18573 srcdiroption="--srcdir=."; \
18574 libsrcdir=".";; \
18575 /* | [A-Za-z]:[\\/]*) \
18576 srcdiroption="--srcdir=$(srcdir)/etc"; \
18577 libsrcdir="$$s/etc";; \
18578 *) \
18579 srcdiroption="--srcdir=../$(srcdir)/etc"; \
18580 libsrcdir="$$s/etc";; \
18581 esac; \
18582 $(SHELL) $${libsrcdir}/configure \
18583 $(HOST_CONFIGARGS) $${srcdiroption} \
18584 || exit 1
18586 .PHONY: all-etc maybe-all-etc
18587 maybe-all-etc:
18588 all-etc: configure-etc
18589 @r=`${PWD}`; export r; \
18590 s=`cd $(srcdir); ${PWD}`; export s; \
18591 $(SET_LIB_PATH) \
18592 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
18594 .PHONY: check-etc maybe-check-etc
18595 maybe-check-etc:
18597 check-etc:
18598 @r=`${PWD}`; export r; \
18599 s=`cd $(srcdir); ${PWD}`; export s; \
18600 $(SET_LIB_PATH) \
18601 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
18604 .PHONY: install-etc maybe-install-etc
18605 maybe-install-etc:
18607 install-etc: installdirs
18608 @r=`${PWD}`; export r; \
18609 s=`cd $(srcdir); ${PWD}`; export s; \
18610 $(SET_LIB_PATH) \
18611 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
18614 .PHONY: configure-fastjar maybe-configure-fastjar
18615 maybe-configure-fastjar:
18616 configure-fastjar:
18617 @test ! -f fastjar/Makefile || exit 0; \
18618 [ -d fastjar ] || mkdir fastjar; \
18619 r=`${PWD}`; export r; \
18620 s=`cd $(srcdir); ${PWD}`; export s; \
18621 CC="$(CC)"; export CC; \
18622 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18623 CXX="$(CXX)"; export CXX; \
18624 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18625 AR="$(AR)"; export AR; \
18626 AS="$(AS)"; export AS; \
18627 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18628 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18629 LD="$(LD)"; export LD; \
18630 NM="$(NM)"; export NM; \
18631 RANLIB="$(RANLIB)"; export RANLIB; \
18632 WINDRES="$(WINDRES)"; export WINDRES; \
18633 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18634 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18635 echo Configuring in fastjar; \
18636 cd fastjar || exit 1; \
18637 case $(srcdir) in \
18638 \.) \
18639 srcdiroption="--srcdir=."; \
18640 libsrcdir=".";; \
18641 /* | [A-Za-z]:[\\/]*) \
18642 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
18643 libsrcdir="$$s/fastjar";; \
18644 *) \
18645 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
18646 libsrcdir="$$s/fastjar";; \
18647 esac; \
18648 $(SHELL) $${libsrcdir}/configure \
18649 $(HOST_CONFIGARGS) $${srcdiroption} \
18650 || exit 1
18652 .PHONY: all-fastjar maybe-all-fastjar
18653 maybe-all-fastjar:
18654 all-fastjar: configure-fastjar
18655 @r=`${PWD}`; export r; \
18656 s=`cd $(srcdir); ${PWD}`; export s; \
18657 $(SET_LIB_PATH) \
18658 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
18660 .PHONY: check-fastjar maybe-check-fastjar
18661 maybe-check-fastjar:
18663 # This module is only tested in a native toolchain.
18664 check-fastjar:
18665 @if [ '$(host)' = '$(target)' ] ; then \
18666 r=`${PWD}`; export r; \
18667 s=`cd $(srcdir); ${PWD}`; export s; \
18668 $(SET_LIB_PATH) \
18669 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
18673 .PHONY: install-fastjar maybe-install-fastjar
18674 maybe-install-fastjar:
18676 install-fastjar: installdirs
18677 @r=`${PWD}`; export r; \
18678 s=`cd $(srcdir); ${PWD}`; export s; \
18679 $(SET_LIB_PATH) \
18680 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
18683 .PHONY: configure-fileutils maybe-configure-fileutils
18684 maybe-configure-fileutils:
18685 configure-fileutils:
18686 @test ! -f fileutils/Makefile || exit 0; \
18687 [ -d fileutils ] || mkdir fileutils; \
18688 r=`${PWD}`; export r; \
18689 s=`cd $(srcdir); ${PWD}`; export s; \
18690 CC="$(CC)"; export CC; \
18691 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18692 CXX="$(CXX)"; export CXX; \
18693 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18694 AR="$(AR)"; export AR; \
18695 AS="$(AS)"; export AS; \
18696 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18697 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18698 LD="$(LD)"; export LD; \
18699 NM="$(NM)"; export NM; \
18700 RANLIB="$(RANLIB)"; export RANLIB; \
18701 WINDRES="$(WINDRES)"; export WINDRES; \
18702 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18703 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18704 echo Configuring in fileutils; \
18705 cd fileutils || exit 1; \
18706 case $(srcdir) in \
18707 \.) \
18708 srcdiroption="--srcdir=."; \
18709 libsrcdir=".";; \
18710 /* | [A-Za-z]:[\\/]*) \
18711 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
18712 libsrcdir="$$s/fileutils";; \
18713 *) \
18714 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
18715 libsrcdir="$$s/fileutils";; \
18716 esac; \
18717 $(SHELL) $${libsrcdir}/configure \
18718 $(HOST_CONFIGARGS) $${srcdiroption} \
18719 || exit 1
18721 .PHONY: all-fileutils maybe-all-fileutils
18722 maybe-all-fileutils:
18723 all-fileutils: configure-fileutils
18724 @r=`${PWD}`; export r; \
18725 s=`cd $(srcdir); ${PWD}`; export s; \
18726 $(SET_LIB_PATH) \
18727 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
18729 .PHONY: check-fileutils maybe-check-fileutils
18730 maybe-check-fileutils:
18732 check-fileutils:
18733 @r=`${PWD}`; export r; \
18734 s=`cd $(srcdir); ${PWD}`; export s; \
18735 $(SET_LIB_PATH) \
18736 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
18739 .PHONY: install-fileutils maybe-install-fileutils
18740 maybe-install-fileutils:
18742 install-fileutils: installdirs
18743 @r=`${PWD}`; export r; \
18744 s=`cd $(srcdir); ${PWD}`; export s; \
18745 $(SET_LIB_PATH) \
18746 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
18749 .PHONY: configure-findutils maybe-configure-findutils
18750 maybe-configure-findutils:
18751 configure-findutils:
18752 @test ! -f findutils/Makefile || exit 0; \
18753 [ -d findutils ] || mkdir findutils; \
18754 r=`${PWD}`; export r; \
18755 s=`cd $(srcdir); ${PWD}`; export s; \
18756 CC="$(CC)"; export CC; \
18757 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18758 CXX="$(CXX)"; export CXX; \
18759 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18760 AR="$(AR)"; export AR; \
18761 AS="$(AS)"; export AS; \
18762 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18763 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18764 LD="$(LD)"; export LD; \
18765 NM="$(NM)"; export NM; \
18766 RANLIB="$(RANLIB)"; export RANLIB; \
18767 WINDRES="$(WINDRES)"; export WINDRES; \
18768 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18769 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18770 echo Configuring in findutils; \
18771 cd findutils || exit 1; \
18772 case $(srcdir) in \
18773 \.) \
18774 srcdiroption="--srcdir=."; \
18775 libsrcdir=".";; \
18776 /* | [A-Za-z]:[\\/]*) \
18777 srcdiroption="--srcdir=$(srcdir)/findutils"; \
18778 libsrcdir="$$s/findutils";; \
18779 *) \
18780 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
18781 libsrcdir="$$s/findutils";; \
18782 esac; \
18783 $(SHELL) $${libsrcdir}/configure \
18784 $(HOST_CONFIGARGS) $${srcdiroption} \
18785 || exit 1
18787 .PHONY: all-findutils maybe-all-findutils
18788 maybe-all-findutils:
18789 all-findutils: configure-findutils
18790 @r=`${PWD}`; export r; \
18791 s=`cd $(srcdir); ${PWD}`; export s; \
18792 $(SET_LIB_PATH) \
18793 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
18795 .PHONY: check-findutils maybe-check-findutils
18796 maybe-check-findutils:
18798 check-findutils:
18799 @r=`${PWD}`; export r; \
18800 s=`cd $(srcdir); ${PWD}`; export s; \
18801 $(SET_LIB_PATH) \
18802 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
18805 .PHONY: install-findutils maybe-install-findutils
18806 maybe-install-findutils:
18808 install-findutils: installdirs
18809 @r=`${PWD}`; export r; \
18810 s=`cd $(srcdir); ${PWD}`; export s; \
18811 $(SET_LIB_PATH) \
18812 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
18815 .PHONY: configure-find maybe-configure-find
18816 maybe-configure-find:
18817 configure-find:
18818 @test ! -f find/Makefile || exit 0; \
18819 [ -d find ] || mkdir find; \
18820 r=`${PWD}`; export r; \
18821 s=`cd $(srcdir); ${PWD}`; export s; \
18822 CC="$(CC)"; export CC; \
18823 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18824 CXX="$(CXX)"; export CXX; \
18825 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18826 AR="$(AR)"; export AR; \
18827 AS="$(AS)"; export AS; \
18828 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18829 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18830 LD="$(LD)"; export LD; \
18831 NM="$(NM)"; export NM; \
18832 RANLIB="$(RANLIB)"; export RANLIB; \
18833 WINDRES="$(WINDRES)"; export WINDRES; \
18834 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18835 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18836 echo Configuring in find; \
18837 cd find || exit 1; \
18838 case $(srcdir) in \
18839 \.) \
18840 srcdiroption="--srcdir=."; \
18841 libsrcdir=".";; \
18842 /* | [A-Za-z]:[\\/]*) \
18843 srcdiroption="--srcdir=$(srcdir)/find"; \
18844 libsrcdir="$$s/find";; \
18845 *) \
18846 srcdiroption="--srcdir=../$(srcdir)/find"; \
18847 libsrcdir="$$s/find";; \
18848 esac; \
18849 $(SHELL) $${libsrcdir}/configure \
18850 $(HOST_CONFIGARGS) $${srcdiroption} \
18851 || exit 1
18853 .PHONY: all-find maybe-all-find
18854 maybe-all-find:
18855 all-find: configure-find
18856 @r=`${PWD}`; export r; \
18857 s=`cd $(srcdir); ${PWD}`; export s; \
18858 $(SET_LIB_PATH) \
18859 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
18861 .PHONY: check-find maybe-check-find
18862 maybe-check-find:
18864 check-find:
18865 @r=`${PWD}`; export r; \
18866 s=`cd $(srcdir); ${PWD}`; export s; \
18867 $(SET_LIB_PATH) \
18868 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
18871 .PHONY: install-find maybe-install-find
18872 maybe-install-find:
18874 install-find: installdirs
18875 @r=`${PWD}`; export r; \
18876 s=`cd $(srcdir); ${PWD}`; export s; \
18877 $(SET_LIB_PATH) \
18878 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
18881 .PHONY: configure-flex maybe-configure-flex
18882 maybe-configure-flex:
18883 configure-flex:
18884 @test ! -f flex/Makefile || exit 0; \
18885 [ -d flex ] || mkdir flex; \
18886 r=`${PWD}`; export r; \
18887 s=`cd $(srcdir); ${PWD}`; export s; \
18888 CC="$(CC)"; export CC; \
18889 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18890 CXX="$(CXX)"; export CXX; \
18891 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18892 AR="$(AR)"; export AR; \
18893 AS="$(AS)"; export AS; \
18894 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18895 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18896 LD="$(LD)"; export LD; \
18897 NM="$(NM)"; export NM; \
18898 RANLIB="$(RANLIB)"; export RANLIB; \
18899 WINDRES="$(WINDRES)"; export WINDRES; \
18900 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18901 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18902 echo Configuring in flex; \
18903 cd flex || exit 1; \
18904 case $(srcdir) in \
18905 \.) \
18906 srcdiroption="--srcdir=."; \
18907 libsrcdir=".";; \
18908 /* | [A-Za-z]:[\\/]*) \
18909 srcdiroption="--srcdir=$(srcdir)/flex"; \
18910 libsrcdir="$$s/flex";; \
18911 *) \
18912 srcdiroption="--srcdir=../$(srcdir)/flex"; \
18913 libsrcdir="$$s/flex";; \
18914 esac; \
18915 $(SHELL) $${libsrcdir}/configure \
18916 $(HOST_CONFIGARGS) $${srcdiroption} \
18917 || exit 1
18919 .PHONY: all-flex maybe-all-flex
18920 maybe-all-flex:
18921 all-flex: configure-flex
18922 @r=`${PWD}`; export r; \
18923 s=`cd $(srcdir); ${PWD}`; export s; \
18924 $(SET_LIB_PATH) \
18925 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
18927 .PHONY: check-flex maybe-check-flex
18928 maybe-check-flex:
18930 # This module is only tested in a native toolchain.
18931 check-flex:
18932 @if [ '$(host)' = '$(target)' ] ; then \
18933 r=`${PWD}`; export r; \
18934 s=`cd $(srcdir); ${PWD}`; export s; \
18935 $(SET_LIB_PATH) \
18936 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
18940 .PHONY: install-flex maybe-install-flex
18941 maybe-install-flex:
18943 install-flex: installdirs
18944 @r=`${PWD}`; export r; \
18945 s=`cd $(srcdir); ${PWD}`; export s; \
18946 $(SET_LIB_PATH) \
18947 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
18950 .PHONY: configure-gas maybe-configure-gas
18951 maybe-configure-gas:
18952 configure-gas:
18953 @test ! -f gas/Makefile || exit 0; \
18954 [ -d gas ] || mkdir gas; \
18955 r=`${PWD}`; export r; \
18956 s=`cd $(srcdir); ${PWD}`; export s; \
18957 CC="$(CC)"; export CC; \
18958 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18959 CXX="$(CXX)"; export CXX; \
18960 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18961 AR="$(AR)"; export AR; \
18962 AS="$(AS)"; export AS; \
18963 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18964 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18965 LD="$(LD)"; export LD; \
18966 NM="$(NM)"; export NM; \
18967 RANLIB="$(RANLIB)"; export RANLIB; \
18968 WINDRES="$(WINDRES)"; export WINDRES; \
18969 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18970 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18971 echo Configuring in gas; \
18972 cd gas || exit 1; \
18973 case $(srcdir) in \
18974 \.) \
18975 srcdiroption="--srcdir=."; \
18976 libsrcdir=".";; \
18977 /* | [A-Za-z]:[\\/]*) \
18978 srcdiroption="--srcdir=$(srcdir)/gas"; \
18979 libsrcdir="$$s/gas";; \
18980 *) \
18981 srcdiroption="--srcdir=../$(srcdir)/gas"; \
18982 libsrcdir="$$s/gas";; \
18983 esac; \
18984 $(SHELL) $${libsrcdir}/configure \
18985 $(HOST_CONFIGARGS) $${srcdiroption} \
18986 || exit 1
18988 .PHONY: all-gas maybe-all-gas
18989 maybe-all-gas:
18990 all-gas: configure-gas
18991 @r=`${PWD}`; export r; \
18992 s=`cd $(srcdir); ${PWD}`; export s; \
18993 $(SET_LIB_PATH) \
18994 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
18996 .PHONY: check-gas maybe-check-gas
18997 maybe-check-gas:
18999 check-gas:
19000 @r=`${PWD}`; export r; \
19001 s=`cd $(srcdir); ${PWD}`; export s; \
19002 $(SET_LIB_PATH) \
19003 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
19006 .PHONY: install-gas maybe-install-gas
19007 maybe-install-gas:
19009 install-gas: installdirs
19010 @r=`${PWD}`; export r; \
19011 s=`cd $(srcdir); ${PWD}`; export s; \
19012 $(SET_LIB_PATH) \
19013 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
19016 .PHONY: configure-gawk maybe-configure-gawk
19017 maybe-configure-gawk:
19018 configure-gawk:
19019 @test ! -f gawk/Makefile || exit 0; \
19020 [ -d gawk ] || mkdir gawk; \
19021 r=`${PWD}`; export r; \
19022 s=`cd $(srcdir); ${PWD}`; export s; \
19023 CC="$(CC)"; export CC; \
19024 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19025 CXX="$(CXX)"; export CXX; \
19026 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19027 AR="$(AR)"; export AR; \
19028 AS="$(AS)"; export AS; \
19029 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19030 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19031 LD="$(LD)"; export LD; \
19032 NM="$(NM)"; export NM; \
19033 RANLIB="$(RANLIB)"; export RANLIB; \
19034 WINDRES="$(WINDRES)"; export WINDRES; \
19035 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19036 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19037 echo Configuring in gawk; \
19038 cd gawk || exit 1; \
19039 case $(srcdir) in \
19040 \.) \
19041 srcdiroption="--srcdir=."; \
19042 libsrcdir=".";; \
19043 /* | [A-Za-z]:[\\/]*) \
19044 srcdiroption="--srcdir=$(srcdir)/gawk"; \
19045 libsrcdir="$$s/gawk";; \
19046 *) \
19047 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
19048 libsrcdir="$$s/gawk";; \
19049 esac; \
19050 $(SHELL) $${libsrcdir}/configure \
19051 $(HOST_CONFIGARGS) $${srcdiroption} \
19052 || exit 1
19054 .PHONY: all-gawk maybe-all-gawk
19055 maybe-all-gawk:
19056 all-gawk: configure-gawk
19057 @r=`${PWD}`; export r; \
19058 s=`cd $(srcdir); ${PWD}`; export s; \
19059 $(SET_LIB_PATH) \
19060 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
19062 .PHONY: check-gawk maybe-check-gawk
19063 maybe-check-gawk:
19065 check-gawk:
19066 @r=`${PWD}`; export r; \
19067 s=`cd $(srcdir); ${PWD}`; export s; \
19068 $(SET_LIB_PATH) \
19069 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
19072 .PHONY: install-gawk maybe-install-gawk
19073 maybe-install-gawk:
19075 install-gawk: installdirs
19076 @r=`${PWD}`; export r; \
19077 s=`cd $(srcdir); ${PWD}`; export s; \
19078 $(SET_LIB_PATH) \
19079 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
19082 .PHONY: configure-gettext maybe-configure-gettext
19083 maybe-configure-gettext:
19084 configure-gettext:
19085 @test ! -f gettext/Makefile || exit 0; \
19086 [ -d gettext ] || mkdir gettext; \
19087 r=`${PWD}`; export r; \
19088 s=`cd $(srcdir); ${PWD}`; export s; \
19089 CC="$(CC)"; export CC; \
19090 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19091 CXX="$(CXX)"; export CXX; \
19092 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19093 AR="$(AR)"; export AR; \
19094 AS="$(AS)"; export AS; \
19095 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19096 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19097 LD="$(LD)"; export LD; \
19098 NM="$(NM)"; export NM; \
19099 RANLIB="$(RANLIB)"; export RANLIB; \
19100 WINDRES="$(WINDRES)"; export WINDRES; \
19101 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19102 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19103 echo Configuring in gettext; \
19104 cd gettext || exit 1; \
19105 case $(srcdir) in \
19106 \.) \
19107 srcdiroption="--srcdir=."; \
19108 libsrcdir=".";; \
19109 /* | [A-Za-z]:[\\/]*) \
19110 srcdiroption="--srcdir=$(srcdir)/gettext"; \
19111 libsrcdir="$$s/gettext";; \
19112 *) \
19113 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
19114 libsrcdir="$$s/gettext";; \
19115 esac; \
19116 $(SHELL) $${libsrcdir}/configure \
19117 $(HOST_CONFIGARGS) $${srcdiroption} \
19118 || exit 1
19120 .PHONY: all-gettext maybe-all-gettext
19121 maybe-all-gettext:
19122 all-gettext: configure-gettext
19123 @r=`${PWD}`; export r; \
19124 s=`cd $(srcdir); ${PWD}`; export s; \
19125 $(SET_LIB_PATH) \
19126 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
19128 .PHONY: check-gettext maybe-check-gettext
19129 maybe-check-gettext:
19131 check-gettext:
19132 @r=`${PWD}`; export r; \
19133 s=`cd $(srcdir); ${PWD}`; export s; \
19134 $(SET_LIB_PATH) \
19135 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
19138 .PHONY: install-gettext maybe-install-gettext
19139 maybe-install-gettext:
19141 install-gettext: installdirs
19142 @r=`${PWD}`; export r; \
19143 s=`cd $(srcdir); ${PWD}`; export s; \
19144 $(SET_LIB_PATH) \
19145 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
19148 .PHONY: configure-gnuserv maybe-configure-gnuserv
19149 maybe-configure-gnuserv:
19150 configure-gnuserv:
19151 @test ! -f gnuserv/Makefile || exit 0; \
19152 [ -d gnuserv ] || mkdir gnuserv; \
19153 r=`${PWD}`; export r; \
19154 s=`cd $(srcdir); ${PWD}`; export s; \
19155 CC="$(CC)"; export CC; \
19156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19157 CXX="$(CXX)"; export CXX; \
19158 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19159 AR="$(AR)"; export AR; \
19160 AS="$(AS)"; export AS; \
19161 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19162 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19163 LD="$(LD)"; export LD; \
19164 NM="$(NM)"; export NM; \
19165 RANLIB="$(RANLIB)"; export RANLIB; \
19166 WINDRES="$(WINDRES)"; export WINDRES; \
19167 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19168 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19169 echo Configuring in gnuserv; \
19170 cd gnuserv || exit 1; \
19171 case $(srcdir) in \
19172 \.) \
19173 srcdiroption="--srcdir=."; \
19174 libsrcdir=".";; \
19175 /* | [A-Za-z]:[\\/]*) \
19176 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
19177 libsrcdir="$$s/gnuserv";; \
19178 *) \
19179 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
19180 libsrcdir="$$s/gnuserv";; \
19181 esac; \
19182 $(SHELL) $${libsrcdir}/configure \
19183 $(HOST_CONFIGARGS) $${srcdiroption} \
19184 || exit 1
19186 .PHONY: all-gnuserv maybe-all-gnuserv
19187 maybe-all-gnuserv:
19188 all-gnuserv: configure-gnuserv
19189 @r=`${PWD}`; export r; \
19190 s=`cd $(srcdir); ${PWD}`; export s; \
19191 $(SET_LIB_PATH) \
19192 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
19194 .PHONY: check-gnuserv maybe-check-gnuserv
19195 maybe-check-gnuserv:
19197 check-gnuserv:
19198 @r=`${PWD}`; export r; \
19199 s=`cd $(srcdir); ${PWD}`; export s; \
19200 $(SET_LIB_PATH) \
19201 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
19204 .PHONY: install-gnuserv maybe-install-gnuserv
19205 maybe-install-gnuserv:
19207 install-gnuserv: installdirs
19208 @r=`${PWD}`; export r; \
19209 s=`cd $(srcdir); ${PWD}`; export s; \
19210 $(SET_LIB_PATH) \
19211 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
19214 .PHONY: configure-gprof maybe-configure-gprof
19215 maybe-configure-gprof:
19216 configure-gprof:
19217 @test ! -f gprof/Makefile || exit 0; \
19218 [ -d gprof ] || mkdir gprof; \
19219 r=`${PWD}`; export r; \
19220 s=`cd $(srcdir); ${PWD}`; export s; \
19221 CC="$(CC)"; export CC; \
19222 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19223 CXX="$(CXX)"; export CXX; \
19224 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19225 AR="$(AR)"; export AR; \
19226 AS="$(AS)"; export AS; \
19227 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19228 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19229 LD="$(LD)"; export LD; \
19230 NM="$(NM)"; export NM; \
19231 RANLIB="$(RANLIB)"; export RANLIB; \
19232 WINDRES="$(WINDRES)"; export WINDRES; \
19233 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19234 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19235 echo Configuring in gprof; \
19236 cd gprof || exit 1; \
19237 case $(srcdir) in \
19238 \.) \
19239 srcdiroption="--srcdir=."; \
19240 libsrcdir=".";; \
19241 /* | [A-Za-z]:[\\/]*) \
19242 srcdiroption="--srcdir=$(srcdir)/gprof"; \
19243 libsrcdir="$$s/gprof";; \
19244 *) \
19245 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
19246 libsrcdir="$$s/gprof";; \
19247 esac; \
19248 $(SHELL) $${libsrcdir}/configure \
19249 $(HOST_CONFIGARGS) $${srcdiroption} \
19250 || exit 1
19252 .PHONY: all-gprof maybe-all-gprof
19253 maybe-all-gprof:
19254 all-gprof: configure-gprof
19255 @r=`${PWD}`; export r; \
19256 s=`cd $(srcdir); ${PWD}`; export s; \
19257 $(SET_LIB_PATH) \
19258 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
19260 .PHONY: check-gprof maybe-check-gprof
19261 maybe-check-gprof:
19263 check-gprof:
19264 @r=`${PWD}`; export r; \
19265 s=`cd $(srcdir); ${PWD}`; export s; \
19266 $(SET_LIB_PATH) \
19267 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
19270 .PHONY: install-gprof maybe-install-gprof
19271 maybe-install-gprof:
19273 install-gprof: installdirs
19274 @r=`${PWD}`; export r; \
19275 s=`cd $(srcdir); ${PWD}`; export s; \
19276 $(SET_LIB_PATH) \
19277 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
19280 .PHONY: configure-gzip maybe-configure-gzip
19281 maybe-configure-gzip:
19282 configure-gzip:
19283 @test ! -f gzip/Makefile || exit 0; \
19284 [ -d gzip ] || mkdir gzip; \
19285 r=`${PWD}`; export r; \
19286 s=`cd $(srcdir); ${PWD}`; export s; \
19287 CC="$(CC)"; export CC; \
19288 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19289 CXX="$(CXX)"; export CXX; \
19290 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19291 AR="$(AR)"; export AR; \
19292 AS="$(AS)"; export AS; \
19293 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19294 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19295 LD="$(LD)"; export LD; \
19296 NM="$(NM)"; export NM; \
19297 RANLIB="$(RANLIB)"; export RANLIB; \
19298 WINDRES="$(WINDRES)"; export WINDRES; \
19299 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19300 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19301 echo Configuring in gzip; \
19302 cd gzip || exit 1; \
19303 case $(srcdir) in \
19304 \.) \
19305 srcdiroption="--srcdir=."; \
19306 libsrcdir=".";; \
19307 /* | [A-Za-z]:[\\/]*) \
19308 srcdiroption="--srcdir=$(srcdir)/gzip"; \
19309 libsrcdir="$$s/gzip";; \
19310 *) \
19311 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
19312 libsrcdir="$$s/gzip";; \
19313 esac; \
19314 $(SHELL) $${libsrcdir}/configure \
19315 $(HOST_CONFIGARGS) $${srcdiroption} \
19316 || exit 1
19318 .PHONY: all-gzip maybe-all-gzip
19319 maybe-all-gzip:
19320 all-gzip: configure-gzip
19321 @r=`${PWD}`; export r; \
19322 s=`cd $(srcdir); ${PWD}`; export s; \
19323 $(SET_LIB_PATH) \
19324 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
19326 .PHONY: check-gzip maybe-check-gzip
19327 maybe-check-gzip:
19329 check-gzip:
19330 @r=`${PWD}`; export r; \
19331 s=`cd $(srcdir); ${PWD}`; export s; \
19332 $(SET_LIB_PATH) \
19333 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
19336 .PHONY: install-gzip maybe-install-gzip
19337 maybe-install-gzip:
19339 install-gzip: installdirs
19340 @r=`${PWD}`; export r; \
19341 s=`cd $(srcdir); ${PWD}`; export s; \
19342 $(SET_LIB_PATH) \
19343 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
19346 .PHONY: configure-hello maybe-configure-hello
19347 maybe-configure-hello:
19348 configure-hello:
19349 @test ! -f hello/Makefile || exit 0; \
19350 [ -d hello ] || mkdir hello; \
19351 r=`${PWD}`; export r; \
19352 s=`cd $(srcdir); ${PWD}`; export s; \
19353 CC="$(CC)"; export CC; \
19354 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19355 CXX="$(CXX)"; export CXX; \
19356 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19357 AR="$(AR)"; export AR; \
19358 AS="$(AS)"; export AS; \
19359 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19360 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19361 LD="$(LD)"; export LD; \
19362 NM="$(NM)"; export NM; \
19363 RANLIB="$(RANLIB)"; export RANLIB; \
19364 WINDRES="$(WINDRES)"; export WINDRES; \
19365 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19366 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19367 echo Configuring in hello; \
19368 cd hello || exit 1; \
19369 case $(srcdir) in \
19370 \.) \
19371 srcdiroption="--srcdir=."; \
19372 libsrcdir=".";; \
19373 /* | [A-Za-z]:[\\/]*) \
19374 srcdiroption="--srcdir=$(srcdir)/hello"; \
19375 libsrcdir="$$s/hello";; \
19376 *) \
19377 srcdiroption="--srcdir=../$(srcdir)/hello"; \
19378 libsrcdir="$$s/hello";; \
19379 esac; \
19380 $(SHELL) $${libsrcdir}/configure \
19381 $(HOST_CONFIGARGS) $${srcdiroption} \
19382 || exit 1
19384 .PHONY: all-hello maybe-all-hello
19385 maybe-all-hello:
19386 all-hello: configure-hello
19387 @r=`${PWD}`; export r; \
19388 s=`cd $(srcdir); ${PWD}`; export s; \
19389 $(SET_LIB_PATH) \
19390 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
19392 .PHONY: check-hello maybe-check-hello
19393 maybe-check-hello:
19395 check-hello:
19396 @r=`${PWD}`; export r; \
19397 s=`cd $(srcdir); ${PWD}`; export s; \
19398 $(SET_LIB_PATH) \
19399 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
19402 .PHONY: install-hello maybe-install-hello
19403 maybe-install-hello:
19405 install-hello: installdirs
19406 @r=`${PWD}`; export r; \
19407 s=`cd $(srcdir); ${PWD}`; export s; \
19408 $(SET_LIB_PATH) \
19409 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
19412 .PHONY: configure-indent maybe-configure-indent
19413 maybe-configure-indent:
19414 configure-indent:
19415 @test ! -f indent/Makefile || exit 0; \
19416 [ -d indent ] || mkdir indent; \
19417 r=`${PWD}`; export r; \
19418 s=`cd $(srcdir); ${PWD}`; export s; \
19419 CC="$(CC)"; export CC; \
19420 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19421 CXX="$(CXX)"; export CXX; \
19422 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19423 AR="$(AR)"; export AR; \
19424 AS="$(AS)"; export AS; \
19425 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19426 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19427 LD="$(LD)"; export LD; \
19428 NM="$(NM)"; export NM; \
19429 RANLIB="$(RANLIB)"; export RANLIB; \
19430 WINDRES="$(WINDRES)"; export WINDRES; \
19431 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19432 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19433 echo Configuring in indent; \
19434 cd indent || exit 1; \
19435 case $(srcdir) in \
19436 \.) \
19437 srcdiroption="--srcdir=."; \
19438 libsrcdir=".";; \
19439 /* | [A-Za-z]:[\\/]*) \
19440 srcdiroption="--srcdir=$(srcdir)/indent"; \
19441 libsrcdir="$$s/indent";; \
19442 *) \
19443 srcdiroption="--srcdir=../$(srcdir)/indent"; \
19444 libsrcdir="$$s/indent";; \
19445 esac; \
19446 $(SHELL) $${libsrcdir}/configure \
19447 $(HOST_CONFIGARGS) $${srcdiroption} \
19448 || exit 1
19450 .PHONY: all-indent maybe-all-indent
19451 maybe-all-indent:
19452 all-indent: configure-indent
19453 @r=`${PWD}`; export r; \
19454 s=`cd $(srcdir); ${PWD}`; export s; \
19455 $(SET_LIB_PATH) \
19456 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
19458 .PHONY: check-indent maybe-check-indent
19459 maybe-check-indent:
19461 check-indent:
19462 @r=`${PWD}`; export r; \
19463 s=`cd $(srcdir); ${PWD}`; export s; \
19464 $(SET_LIB_PATH) \
19465 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
19468 .PHONY: install-indent maybe-install-indent
19469 maybe-install-indent:
19471 install-indent: installdirs
19472 @r=`${PWD}`; export r; \
19473 s=`cd $(srcdir); ${PWD}`; export s; \
19474 $(SET_LIB_PATH) \
19475 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
19478 .PHONY: configure-intl maybe-configure-intl
19479 maybe-configure-intl:
19480 configure-intl:
19481 @test ! -f intl/Makefile || exit 0; \
19482 [ -d intl ] || mkdir intl; \
19483 r=`${PWD}`; export r; \
19484 s=`cd $(srcdir); ${PWD}`; export s; \
19485 CC="$(CC)"; export CC; \
19486 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19487 CXX="$(CXX)"; export CXX; \
19488 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19489 AR="$(AR)"; export AR; \
19490 AS="$(AS)"; export AS; \
19491 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19492 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19493 LD="$(LD)"; export LD; \
19494 NM="$(NM)"; export NM; \
19495 RANLIB="$(RANLIB)"; export RANLIB; \
19496 WINDRES="$(WINDRES)"; export WINDRES; \
19497 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19498 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19499 echo Configuring in intl; \
19500 cd intl || exit 1; \
19501 case $(srcdir) in \
19502 \.) \
19503 srcdiroption="--srcdir=."; \
19504 libsrcdir=".";; \
19505 /* | [A-Za-z]:[\\/]*) \
19506 srcdiroption="--srcdir=$(srcdir)/intl"; \
19507 libsrcdir="$$s/intl";; \
19508 *) \
19509 srcdiroption="--srcdir=../$(srcdir)/intl"; \
19510 libsrcdir="$$s/intl";; \
19511 esac; \
19512 $(SHELL) $${libsrcdir}/configure \
19513 $(HOST_CONFIGARGS) $${srcdiroption} \
19514 || exit 1
19516 .PHONY: all-intl maybe-all-intl
19517 maybe-all-intl:
19518 all-intl: configure-intl
19519 @r=`${PWD}`; export r; \
19520 s=`cd $(srcdir); ${PWD}`; export s; \
19521 $(SET_LIB_PATH) \
19522 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
19524 .PHONY: check-intl maybe-check-intl
19525 maybe-check-intl:
19527 check-intl:
19528 @r=`${PWD}`; export r; \
19529 s=`cd $(srcdir); ${PWD}`; export s; \
19530 $(SET_LIB_PATH) \
19531 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
19534 .PHONY: install-intl maybe-install-intl
19535 maybe-install-intl:
19537 install-intl: installdirs
19538 @r=`${PWD}`; export r; \
19539 s=`cd $(srcdir); ${PWD}`; export s; \
19540 $(SET_LIB_PATH) \
19541 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
19544 .PHONY: configure-tcl maybe-configure-tcl
19545 maybe-configure-tcl:
19546 configure-tcl:
19547 @test ! -f tcl/Makefile || exit 0; \
19548 [ -d tcl ] || mkdir tcl; \
19549 r=`${PWD}`; export r; \
19550 s=`cd $(srcdir); ${PWD}`; export s; \
19551 CC="$(CC)"; export CC; \
19552 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19553 CXX="$(CXX)"; export CXX; \
19554 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19555 AR="$(AR)"; export AR; \
19556 AS="$(AS)"; export AS; \
19557 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19558 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19559 LD="$(LD)"; export LD; \
19560 NM="$(NM)"; export NM; \
19561 RANLIB="$(RANLIB)"; export RANLIB; \
19562 WINDRES="$(WINDRES)"; export WINDRES; \
19563 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19564 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19565 echo Configuring in tcl; \
19566 cd tcl || exit 1; \
19567 case $(srcdir) in \
19568 \.) \
19569 srcdiroption="--srcdir=."; \
19570 libsrcdir=".";; \
19571 /* | [A-Za-z]:[\\/]*) \
19572 srcdiroption="--srcdir=$(srcdir)/tcl"; \
19573 libsrcdir="$$s/tcl";; \
19574 *) \
19575 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
19576 libsrcdir="$$s/tcl";; \
19577 esac; \
19578 $(SHELL) $${libsrcdir}/configure \
19579 $(HOST_CONFIGARGS) $${srcdiroption} \
19580 || exit 1
19582 .PHONY: all-tcl maybe-all-tcl
19583 maybe-all-tcl:
19584 all-tcl: configure-tcl
19585 @r=`${PWD}`; export r; \
19586 s=`cd $(srcdir); ${PWD}`; export s; \
19587 $(SET_LIB_PATH) \
19588 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
19590 .PHONY: check-tcl maybe-check-tcl
19591 maybe-check-tcl:
19593 check-tcl:
19594 @r=`${PWD}`; export r; \
19595 s=`cd $(srcdir); ${PWD}`; export s; \
19596 $(SET_LIB_PATH) \
19597 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
19600 .PHONY: install-tcl maybe-install-tcl
19601 maybe-install-tcl:
19603 install-tcl: installdirs
19604 @r=`${PWD}`; export r; \
19605 s=`cd $(srcdir); ${PWD}`; export s; \
19606 $(SET_LIB_PATH) \
19607 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
19610 .PHONY: configure-itcl maybe-configure-itcl
19611 maybe-configure-itcl:
19612 configure-itcl:
19613 @test ! -f itcl/Makefile || exit 0; \
19614 [ -d itcl ] || mkdir itcl; \
19615 r=`${PWD}`; export r; \
19616 s=`cd $(srcdir); ${PWD}`; export s; \
19617 CC="$(CC)"; export CC; \
19618 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19619 CXX="$(CXX)"; export CXX; \
19620 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19621 AR="$(AR)"; export AR; \
19622 AS="$(AS)"; export AS; \
19623 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19624 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19625 LD="$(LD)"; export LD; \
19626 NM="$(NM)"; export NM; \
19627 RANLIB="$(RANLIB)"; export RANLIB; \
19628 WINDRES="$(WINDRES)"; export WINDRES; \
19629 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19630 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19631 echo Configuring in itcl; \
19632 cd itcl || exit 1; \
19633 case $(srcdir) in \
19634 \.) \
19635 srcdiroption="--srcdir=."; \
19636 libsrcdir=".";; \
19637 /* | [A-Za-z]:[\\/]*) \
19638 srcdiroption="--srcdir=$(srcdir)/itcl"; \
19639 libsrcdir="$$s/itcl";; \
19640 *) \
19641 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
19642 libsrcdir="$$s/itcl";; \
19643 esac; \
19644 $(SHELL) $${libsrcdir}/configure \
19645 $(HOST_CONFIGARGS) $${srcdiroption} \
19646 || exit 1
19648 .PHONY: all-itcl maybe-all-itcl
19649 maybe-all-itcl:
19650 all-itcl: configure-itcl
19651 @r=`${PWD}`; export r; \
19652 s=`cd $(srcdir); ${PWD}`; export s; \
19653 $(SET_LIB_PATH) \
19654 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
19656 .PHONY: check-itcl maybe-check-itcl
19657 maybe-check-itcl:
19659 check-itcl:
19660 @r=`${PWD}`; export r; \
19661 s=`cd $(srcdir); ${PWD}`; export s; \
19662 $(SET_LIB_PATH) \
19663 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
19666 .PHONY: install-itcl maybe-install-itcl
19667 maybe-install-itcl:
19669 install-itcl: installdirs
19670 @r=`${PWD}`; export r; \
19671 s=`cd $(srcdir); ${PWD}`; export s; \
19672 $(SET_LIB_PATH) \
19673 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
19676 .PHONY: configure-ld maybe-configure-ld
19677 maybe-configure-ld:
19678 configure-ld:
19679 @test ! -f ld/Makefile || exit 0; \
19680 [ -d ld ] || mkdir ld; \
19681 r=`${PWD}`; export r; \
19682 s=`cd $(srcdir); ${PWD}`; export s; \
19683 CC="$(CC)"; export CC; \
19684 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19685 CXX="$(CXX)"; export CXX; \
19686 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19687 AR="$(AR)"; export AR; \
19688 AS="$(AS)"; export AS; \
19689 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19690 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19691 LD="$(LD)"; export LD; \
19692 NM="$(NM)"; export NM; \
19693 RANLIB="$(RANLIB)"; export RANLIB; \
19694 WINDRES="$(WINDRES)"; export WINDRES; \
19695 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19696 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19697 echo Configuring in ld; \
19698 cd ld || exit 1; \
19699 case $(srcdir) in \
19700 \.) \
19701 srcdiroption="--srcdir=."; \
19702 libsrcdir=".";; \
19703 /* | [A-Za-z]:[\\/]*) \
19704 srcdiroption="--srcdir=$(srcdir)/ld"; \
19705 libsrcdir="$$s/ld";; \
19706 *) \
19707 srcdiroption="--srcdir=../$(srcdir)/ld"; \
19708 libsrcdir="$$s/ld";; \
19709 esac; \
19710 $(SHELL) $${libsrcdir}/configure \
19711 $(HOST_CONFIGARGS) $${srcdiroption} \
19712 || exit 1
19714 .PHONY: all-ld maybe-all-ld
19715 maybe-all-ld:
19716 all-ld: configure-ld
19717 @r=`${PWD}`; export r; \
19718 s=`cd $(srcdir); ${PWD}`; export s; \
19719 $(SET_LIB_PATH) \
19720 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
19722 .PHONY: check-ld maybe-check-ld
19723 maybe-check-ld:
19725 check-ld:
19726 @r=`${PWD}`; export r; \
19727 s=`cd $(srcdir); ${PWD}`; export s; \
19728 $(SET_LIB_PATH) \
19729 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
19732 .PHONY: install-ld maybe-install-ld
19733 maybe-install-ld:
19735 install-ld: installdirs
19736 @r=`${PWD}`; export r; \
19737 s=`cd $(srcdir); ${PWD}`; export s; \
19738 $(SET_LIB_PATH) \
19739 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
19742 .PHONY: configure-libgui maybe-configure-libgui
19743 maybe-configure-libgui:
19744 configure-libgui:
19745 @test ! -f libgui/Makefile || exit 0; \
19746 [ -d libgui ] || mkdir libgui; \
19747 r=`${PWD}`; export r; \
19748 s=`cd $(srcdir); ${PWD}`; export s; \
19749 CC="$(CC)"; export CC; \
19750 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19751 CXX="$(CXX)"; export CXX; \
19752 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19753 AR="$(AR)"; export AR; \
19754 AS="$(AS)"; export AS; \
19755 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19756 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19757 LD="$(LD)"; export LD; \
19758 NM="$(NM)"; export NM; \
19759 RANLIB="$(RANLIB)"; export RANLIB; \
19760 WINDRES="$(WINDRES)"; export WINDRES; \
19761 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19762 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19763 echo Configuring in libgui; \
19764 cd libgui || exit 1; \
19765 case $(srcdir) in \
19766 \.) \
19767 srcdiroption="--srcdir=."; \
19768 libsrcdir=".";; \
19769 /* | [A-Za-z]:[\\/]*) \
19770 srcdiroption="--srcdir=$(srcdir)/libgui"; \
19771 libsrcdir="$$s/libgui";; \
19772 *) \
19773 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
19774 libsrcdir="$$s/libgui";; \
19775 esac; \
19776 $(SHELL) $${libsrcdir}/configure \
19777 $(HOST_CONFIGARGS) $${srcdiroption} \
19778 || exit 1
19780 .PHONY: all-libgui maybe-all-libgui
19781 maybe-all-libgui:
19782 all-libgui: configure-libgui
19783 @r=`${PWD}`; export r; \
19784 s=`cd $(srcdir); ${PWD}`; export s; \
19785 $(SET_LIB_PATH) \
19786 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
19788 .PHONY: check-libgui maybe-check-libgui
19789 maybe-check-libgui:
19791 check-libgui:
19792 @r=`${PWD}`; export r; \
19793 s=`cd $(srcdir); ${PWD}`; export s; \
19794 $(SET_LIB_PATH) \
19795 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
19798 .PHONY: install-libgui maybe-install-libgui
19799 maybe-install-libgui:
19801 install-libgui: installdirs
19802 @r=`${PWD}`; export r; \
19803 s=`cd $(srcdir); ${PWD}`; export s; \
19804 $(SET_LIB_PATH) \
19805 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
19808 .PHONY: configure-libiberty maybe-configure-libiberty
19809 maybe-configure-libiberty:
19810 configure-libiberty:
19811 @test ! -f libiberty/Makefile || exit 0; \
19812 [ -d libiberty ] || mkdir libiberty; \
19813 r=`${PWD}`; export r; \
19814 s=`cd $(srcdir); ${PWD}`; export s; \
19815 CC="$(CC)"; export CC; \
19816 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19817 CXX="$(CXX)"; export CXX; \
19818 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19819 AR="$(AR)"; export AR; \
19820 AS="$(AS)"; export AS; \
19821 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19822 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19823 LD="$(LD)"; export LD; \
19824 NM="$(NM)"; export NM; \
19825 RANLIB="$(RANLIB)"; export RANLIB; \
19826 WINDRES="$(WINDRES)"; export WINDRES; \
19827 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19828 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19829 echo Configuring in libiberty; \
19830 cd libiberty || exit 1; \
19831 case $(srcdir) in \
19832 \.) \
19833 srcdiroption="--srcdir=."; \
19834 libsrcdir=".";; \
19835 /* | [A-Za-z]:[\\/]*) \
19836 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
19837 libsrcdir="$$s/libiberty";; \
19838 *) \
19839 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
19840 libsrcdir="$$s/libiberty";; \
19841 esac; \
19842 $(SHELL) $${libsrcdir}/configure \
19843 $(HOST_CONFIGARGS) $${srcdiroption} \
19844 || exit 1
19846 .PHONY: all-libiberty maybe-all-libiberty
19847 maybe-all-libiberty:
19848 all-libiberty: configure-libiberty
19849 @r=`${PWD}`; export r; \
19850 s=`cd $(srcdir); ${PWD}`; export s; \
19851 $(SET_LIB_PATH) \
19852 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
19854 .PHONY: check-libiberty maybe-check-libiberty
19855 maybe-check-libiberty:
19857 check-libiberty:
19858 @r=`${PWD}`; export r; \
19859 s=`cd $(srcdir); ${PWD}`; export s; \
19860 $(SET_LIB_PATH) \
19861 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
19864 .PHONY: install-libiberty maybe-install-libiberty
19865 maybe-install-libiberty:
19867 install-libiberty: installdirs
19868 @r=`${PWD}`; export r; \
19869 s=`cd $(srcdir); ${PWD}`; export s; \
19870 $(SET_LIB_PATH) \
19871 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
19874 .PHONY: configure-libtool maybe-configure-libtool
19875 maybe-configure-libtool:
19876 configure-libtool:
19877 @test ! -f libtool/Makefile || exit 0; \
19878 [ -d libtool ] || mkdir libtool; \
19879 r=`${PWD}`; export r; \
19880 s=`cd $(srcdir); ${PWD}`; export s; \
19881 CC="$(CC)"; export CC; \
19882 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19883 CXX="$(CXX)"; export CXX; \
19884 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19885 AR="$(AR)"; export AR; \
19886 AS="$(AS)"; export AS; \
19887 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19888 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19889 LD="$(LD)"; export LD; \
19890 NM="$(NM)"; export NM; \
19891 RANLIB="$(RANLIB)"; export RANLIB; \
19892 WINDRES="$(WINDRES)"; export WINDRES; \
19893 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19894 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19895 echo Configuring in libtool; \
19896 cd libtool || exit 1; \
19897 case $(srcdir) in \
19898 \.) \
19899 srcdiroption="--srcdir=."; \
19900 libsrcdir=".";; \
19901 /* | [A-Za-z]:[\\/]*) \
19902 srcdiroption="--srcdir=$(srcdir)/libtool"; \
19903 libsrcdir="$$s/libtool";; \
19904 *) \
19905 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
19906 libsrcdir="$$s/libtool";; \
19907 esac; \
19908 $(SHELL) $${libsrcdir}/configure \
19909 $(HOST_CONFIGARGS) $${srcdiroption} \
19910 || exit 1
19912 .PHONY: all-libtool maybe-all-libtool
19913 maybe-all-libtool:
19914 all-libtool: configure-libtool
19915 @r=`${PWD}`; export r; \
19916 s=`cd $(srcdir); ${PWD}`; export s; \
19917 $(SET_LIB_PATH) \
19918 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
19920 .PHONY: check-libtool maybe-check-libtool
19921 maybe-check-libtool:
19923 check-libtool:
19924 @r=`${PWD}`; export r; \
19925 s=`cd $(srcdir); ${PWD}`; export s; \
19926 $(SET_LIB_PATH) \
19927 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
19930 .PHONY: install-libtool maybe-install-libtool
19931 maybe-install-libtool:
19933 install-libtool: installdirs
19934 @r=`${PWD}`; export r; \
19935 s=`cd $(srcdir); ${PWD}`; export s; \
19936 $(SET_LIB_PATH) \
19937 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
19940 .PHONY: configure-m4 maybe-configure-m4
19941 maybe-configure-m4:
19942 configure-m4:
19943 @test ! -f m4/Makefile || exit 0; \
19944 [ -d m4 ] || mkdir m4; \
19945 r=`${PWD}`; export r; \
19946 s=`cd $(srcdir); ${PWD}`; export s; \
19947 CC="$(CC)"; export CC; \
19948 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19949 CXX="$(CXX)"; export CXX; \
19950 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19951 AR="$(AR)"; export AR; \
19952 AS="$(AS)"; export AS; \
19953 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19954 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19955 LD="$(LD)"; export LD; \
19956 NM="$(NM)"; export NM; \
19957 RANLIB="$(RANLIB)"; export RANLIB; \
19958 WINDRES="$(WINDRES)"; export WINDRES; \
19959 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19960 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19961 echo Configuring in m4; \
19962 cd m4 || exit 1; \
19963 case $(srcdir) in \
19964 \.) \
19965 srcdiroption="--srcdir=."; \
19966 libsrcdir=".";; \
19967 /* | [A-Za-z]:[\\/]*) \
19968 srcdiroption="--srcdir=$(srcdir)/m4"; \
19969 libsrcdir="$$s/m4";; \
19970 *) \
19971 srcdiroption="--srcdir=../$(srcdir)/m4"; \
19972 libsrcdir="$$s/m4";; \
19973 esac; \
19974 $(SHELL) $${libsrcdir}/configure \
19975 $(HOST_CONFIGARGS) $${srcdiroption} \
19976 || exit 1
19978 .PHONY: all-m4 maybe-all-m4
19979 maybe-all-m4:
19980 all-m4: configure-m4
19981 @r=`${PWD}`; export r; \
19982 s=`cd $(srcdir); ${PWD}`; export s; \
19983 $(SET_LIB_PATH) \
19984 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
19986 .PHONY: check-m4 maybe-check-m4
19987 maybe-check-m4:
19989 check-m4:
19990 @r=`${PWD}`; export r; \
19991 s=`cd $(srcdir); ${PWD}`; export s; \
19992 $(SET_LIB_PATH) \
19993 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
19996 .PHONY: install-m4 maybe-install-m4
19997 maybe-install-m4:
19999 install-m4: installdirs
20000 @r=`${PWD}`; export r; \
20001 s=`cd $(srcdir); ${PWD}`; export s; \
20002 $(SET_LIB_PATH) \
20003 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
20006 .PHONY: configure-make maybe-configure-make
20007 maybe-configure-make:
20008 configure-make:
20009 @test ! -f make/Makefile || exit 0; \
20010 [ -d make ] || mkdir make; \
20011 r=`${PWD}`; export r; \
20012 s=`cd $(srcdir); ${PWD}`; export s; \
20013 CC="$(CC)"; export CC; \
20014 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20015 CXX="$(CXX)"; export CXX; \
20016 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20017 AR="$(AR)"; export AR; \
20018 AS="$(AS)"; export AS; \
20019 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20020 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20021 LD="$(LD)"; export LD; \
20022 NM="$(NM)"; export NM; \
20023 RANLIB="$(RANLIB)"; export RANLIB; \
20024 WINDRES="$(WINDRES)"; export WINDRES; \
20025 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20026 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20027 echo Configuring in make; \
20028 cd make || exit 1; \
20029 case $(srcdir) in \
20030 \.) \
20031 srcdiroption="--srcdir=."; \
20032 libsrcdir=".";; \
20033 /* | [A-Za-z]:[\\/]*) \
20034 srcdiroption="--srcdir=$(srcdir)/make"; \
20035 libsrcdir="$$s/make";; \
20036 *) \
20037 srcdiroption="--srcdir=../$(srcdir)/make"; \
20038 libsrcdir="$$s/make";; \
20039 esac; \
20040 $(SHELL) $${libsrcdir}/configure \
20041 $(HOST_CONFIGARGS) $${srcdiroption} \
20042 || exit 1
20044 .PHONY: all-make maybe-all-make
20045 maybe-all-make:
20046 all-make: configure-make
20047 @r=`${PWD}`; export r; \
20048 s=`cd $(srcdir); ${PWD}`; export s; \
20049 $(SET_LIB_PATH) \
20050 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
20052 .PHONY: check-make maybe-check-make
20053 maybe-check-make:
20055 check-make:
20056 @r=`${PWD}`; export r; \
20057 s=`cd $(srcdir); ${PWD}`; export s; \
20058 $(SET_LIB_PATH) \
20059 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
20062 .PHONY: install-make maybe-install-make
20063 maybe-install-make:
20065 install-make: installdirs
20066 @r=`${PWD}`; export r; \
20067 s=`cd $(srcdir); ${PWD}`; export s; \
20068 $(SET_LIB_PATH) \
20069 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
20072 .PHONY: configure-mmalloc maybe-configure-mmalloc
20073 maybe-configure-mmalloc:
20074 configure-mmalloc:
20075 @test ! -f mmalloc/Makefile || exit 0; \
20076 [ -d mmalloc ] || mkdir mmalloc; \
20077 r=`${PWD}`; export r; \
20078 s=`cd $(srcdir); ${PWD}`; export s; \
20079 CC="$(CC)"; export CC; \
20080 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20081 CXX="$(CXX)"; export CXX; \
20082 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20083 AR="$(AR)"; export AR; \
20084 AS="$(AS)"; export AS; \
20085 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20086 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20087 LD="$(LD)"; export LD; \
20088 NM="$(NM)"; export NM; \
20089 RANLIB="$(RANLIB)"; export RANLIB; \
20090 WINDRES="$(WINDRES)"; export WINDRES; \
20091 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20092 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20093 echo Configuring in mmalloc; \
20094 cd mmalloc || exit 1; \
20095 case $(srcdir) in \
20096 \.) \
20097 srcdiroption="--srcdir=."; \
20098 libsrcdir=".";; \
20099 /* | [A-Za-z]:[\\/]*) \
20100 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
20101 libsrcdir="$$s/mmalloc";; \
20102 *) \
20103 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
20104 libsrcdir="$$s/mmalloc";; \
20105 esac; \
20106 $(SHELL) $${libsrcdir}/configure \
20107 $(HOST_CONFIGARGS) $${srcdiroption} \
20108 || exit 1
20110 .PHONY: all-mmalloc maybe-all-mmalloc
20111 maybe-all-mmalloc:
20112 all-mmalloc: configure-mmalloc
20113 @r=`${PWD}`; export r; \
20114 s=`cd $(srcdir); ${PWD}`; export s; \
20115 $(SET_LIB_PATH) \
20116 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
20118 .PHONY: check-mmalloc maybe-check-mmalloc
20119 maybe-check-mmalloc:
20121 check-mmalloc:
20124 .PHONY: install-mmalloc maybe-install-mmalloc
20125 maybe-install-mmalloc:
20127 install-mmalloc: installdirs
20128 @r=`${PWD}`; export r; \
20129 s=`cd $(srcdir); ${PWD}`; export s; \
20130 $(SET_LIB_PATH) \
20131 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
20134 .PHONY: configure-patch maybe-configure-patch
20135 maybe-configure-patch:
20136 configure-patch:
20137 @test ! -f patch/Makefile || exit 0; \
20138 [ -d patch ] || mkdir patch; \
20139 r=`${PWD}`; export r; \
20140 s=`cd $(srcdir); ${PWD}`; export s; \
20141 CC="$(CC)"; export CC; \
20142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20143 CXX="$(CXX)"; export CXX; \
20144 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20145 AR="$(AR)"; export AR; \
20146 AS="$(AS)"; export AS; \
20147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20149 LD="$(LD)"; export LD; \
20150 NM="$(NM)"; export NM; \
20151 RANLIB="$(RANLIB)"; export RANLIB; \
20152 WINDRES="$(WINDRES)"; export WINDRES; \
20153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20155 echo Configuring in patch; \
20156 cd patch || exit 1; \
20157 case $(srcdir) in \
20158 \.) \
20159 srcdiroption="--srcdir=."; \
20160 libsrcdir=".";; \
20161 /* | [A-Za-z]:[\\/]*) \
20162 srcdiroption="--srcdir=$(srcdir)/patch"; \
20163 libsrcdir="$$s/patch";; \
20164 *) \
20165 srcdiroption="--srcdir=../$(srcdir)/patch"; \
20166 libsrcdir="$$s/patch";; \
20167 esac; \
20168 $(SHELL) $${libsrcdir}/configure \
20169 $(HOST_CONFIGARGS) $${srcdiroption} \
20170 || exit 1
20172 .PHONY: all-patch maybe-all-patch
20173 maybe-all-patch:
20174 all-patch: configure-patch
20175 @r=`${PWD}`; export r; \
20176 s=`cd $(srcdir); ${PWD}`; export s; \
20177 $(SET_LIB_PATH) \
20178 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
20180 .PHONY: check-patch maybe-check-patch
20181 maybe-check-patch:
20183 check-patch:
20184 @r=`${PWD}`; export r; \
20185 s=`cd $(srcdir); ${PWD}`; export s; \
20186 $(SET_LIB_PATH) \
20187 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
20190 .PHONY: install-patch maybe-install-patch
20191 maybe-install-patch:
20193 install-patch: installdirs
20194 @r=`${PWD}`; export r; \
20195 s=`cd $(srcdir); ${PWD}`; export s; \
20196 $(SET_LIB_PATH) \
20197 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
20200 .PHONY: configure-perl maybe-configure-perl
20201 maybe-configure-perl:
20202 configure-perl:
20203 @test ! -f perl/Makefile || exit 0; \
20204 [ -d perl ] || mkdir perl; \
20205 r=`${PWD}`; export r; \
20206 s=`cd $(srcdir); ${PWD}`; export s; \
20207 CC="$(CC)"; export CC; \
20208 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20209 CXX="$(CXX)"; export CXX; \
20210 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20211 AR="$(AR)"; export AR; \
20212 AS="$(AS)"; export AS; \
20213 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20214 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20215 LD="$(LD)"; export LD; \
20216 NM="$(NM)"; export NM; \
20217 RANLIB="$(RANLIB)"; export RANLIB; \
20218 WINDRES="$(WINDRES)"; export WINDRES; \
20219 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20220 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20221 echo Configuring in perl; \
20222 cd perl || exit 1; \
20223 case $(srcdir) in \
20224 \.) \
20225 srcdiroption="--srcdir=."; \
20226 libsrcdir=".";; \
20227 /* | [A-Za-z]:[\\/]*) \
20228 srcdiroption="--srcdir=$(srcdir)/perl"; \
20229 libsrcdir="$$s/perl";; \
20230 *) \
20231 srcdiroption="--srcdir=../$(srcdir)/perl"; \
20232 libsrcdir="$$s/perl";; \
20233 esac; \
20234 $(SHELL) $${libsrcdir}/configure \
20235 $(HOST_CONFIGARGS) $${srcdiroption} \
20236 || exit 1
20238 .PHONY: all-perl maybe-all-perl
20239 maybe-all-perl:
20240 all-perl: configure-perl
20241 @r=`${PWD}`; export r; \
20242 s=`cd $(srcdir); ${PWD}`; export s; \
20243 $(SET_LIB_PATH) \
20244 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
20246 .PHONY: check-perl maybe-check-perl
20247 maybe-check-perl:
20249 check-perl:
20250 @r=`${PWD}`; export r; \
20251 s=`cd $(srcdir); ${PWD}`; export s; \
20252 $(SET_LIB_PATH) \
20253 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
20256 .PHONY: install-perl maybe-install-perl
20257 maybe-install-perl:
20259 install-perl: installdirs
20260 @r=`${PWD}`; export r; \
20261 s=`cd $(srcdir); ${PWD}`; export s; \
20262 $(SET_LIB_PATH) \
20263 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
20266 .PHONY: configure-prms maybe-configure-prms
20267 maybe-configure-prms:
20268 configure-prms:
20269 @test ! -f prms/Makefile || exit 0; \
20270 [ -d prms ] || mkdir prms; \
20271 r=`${PWD}`; export r; \
20272 s=`cd $(srcdir); ${PWD}`; export s; \
20273 CC="$(CC)"; export CC; \
20274 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20275 CXX="$(CXX)"; export CXX; \
20276 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20277 AR="$(AR)"; export AR; \
20278 AS="$(AS)"; export AS; \
20279 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20280 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20281 LD="$(LD)"; export LD; \
20282 NM="$(NM)"; export NM; \
20283 RANLIB="$(RANLIB)"; export RANLIB; \
20284 WINDRES="$(WINDRES)"; export WINDRES; \
20285 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20286 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20287 echo Configuring in prms; \
20288 cd prms || exit 1; \
20289 case $(srcdir) in \
20290 \.) \
20291 srcdiroption="--srcdir=."; \
20292 libsrcdir=".";; \
20293 /* | [A-Za-z]:[\\/]*) \
20294 srcdiroption="--srcdir=$(srcdir)/prms"; \
20295 libsrcdir="$$s/prms";; \
20296 *) \
20297 srcdiroption="--srcdir=../$(srcdir)/prms"; \
20298 libsrcdir="$$s/prms";; \
20299 esac; \
20300 $(SHELL) $${libsrcdir}/configure \
20301 $(HOST_CONFIGARGS) $${srcdiroption} \
20302 || exit 1
20304 .PHONY: all-prms maybe-all-prms
20305 maybe-all-prms:
20306 all-prms: configure-prms
20307 @r=`${PWD}`; export r; \
20308 s=`cd $(srcdir); ${PWD}`; export s; \
20309 $(SET_LIB_PATH) \
20310 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
20312 .PHONY: check-prms maybe-check-prms
20313 maybe-check-prms:
20315 check-prms:
20316 @r=`${PWD}`; export r; \
20317 s=`cd $(srcdir); ${PWD}`; export s; \
20318 $(SET_LIB_PATH) \
20319 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
20322 .PHONY: install-prms maybe-install-prms
20323 maybe-install-prms:
20325 install-prms: installdirs
20326 @r=`${PWD}`; export r; \
20327 s=`cd $(srcdir); ${PWD}`; export s; \
20328 $(SET_LIB_PATH) \
20329 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
20332 .PHONY: configure-rcs maybe-configure-rcs
20333 maybe-configure-rcs:
20334 configure-rcs:
20335 @test ! -f rcs/Makefile || exit 0; \
20336 [ -d rcs ] || mkdir rcs; \
20337 r=`${PWD}`; export r; \
20338 s=`cd $(srcdir); ${PWD}`; export s; \
20339 CC="$(CC)"; export CC; \
20340 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20341 CXX="$(CXX)"; export CXX; \
20342 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20343 AR="$(AR)"; export AR; \
20344 AS="$(AS)"; export AS; \
20345 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20346 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20347 LD="$(LD)"; export LD; \
20348 NM="$(NM)"; export NM; \
20349 RANLIB="$(RANLIB)"; export RANLIB; \
20350 WINDRES="$(WINDRES)"; export WINDRES; \
20351 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20352 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20353 echo Configuring in rcs; \
20354 cd rcs || exit 1; \
20355 case $(srcdir) in \
20356 \.) \
20357 srcdiroption="--srcdir=."; \
20358 libsrcdir=".";; \
20359 /* | [A-Za-z]:[\\/]*) \
20360 srcdiroption="--srcdir=$(srcdir)/rcs"; \
20361 libsrcdir="$$s/rcs";; \
20362 *) \
20363 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
20364 libsrcdir="$$s/rcs";; \
20365 esac; \
20366 $(SHELL) $${libsrcdir}/configure \
20367 $(HOST_CONFIGARGS) $${srcdiroption} \
20368 || exit 1
20370 .PHONY: all-rcs maybe-all-rcs
20371 maybe-all-rcs:
20372 all-rcs: configure-rcs
20373 @r=`${PWD}`; export r; \
20374 s=`cd $(srcdir); ${PWD}`; export s; \
20375 $(SET_LIB_PATH) \
20376 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
20378 .PHONY: check-rcs maybe-check-rcs
20379 maybe-check-rcs:
20381 check-rcs:
20382 @r=`${PWD}`; export r; \
20383 s=`cd $(srcdir); ${PWD}`; export s; \
20384 $(SET_LIB_PATH) \
20385 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
20388 .PHONY: install-rcs maybe-install-rcs
20389 maybe-install-rcs:
20391 install-rcs: installdirs
20392 @r=`${PWD}`; export r; \
20393 s=`cd $(srcdir); ${PWD}`; export s; \
20394 $(SET_LIB_PATH) \
20395 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
20398 .PHONY: configure-readline maybe-configure-readline
20399 maybe-configure-readline:
20400 configure-readline:
20401 @test ! -f readline/Makefile || exit 0; \
20402 [ -d readline ] || mkdir readline; \
20403 r=`${PWD}`; export r; \
20404 s=`cd $(srcdir); ${PWD}`; export s; \
20405 CC="$(CC)"; export CC; \
20406 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20407 CXX="$(CXX)"; export CXX; \
20408 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20409 AR="$(AR)"; export AR; \
20410 AS="$(AS)"; export AS; \
20411 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20412 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20413 LD="$(LD)"; export LD; \
20414 NM="$(NM)"; export NM; \
20415 RANLIB="$(RANLIB)"; export RANLIB; \
20416 WINDRES="$(WINDRES)"; export WINDRES; \
20417 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20418 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20419 echo Configuring in readline; \
20420 cd readline || exit 1; \
20421 case $(srcdir) in \
20422 \.) \
20423 srcdiroption="--srcdir=."; \
20424 libsrcdir=".";; \
20425 /* | [A-Za-z]:[\\/]*) \
20426 srcdiroption="--srcdir=$(srcdir)/readline"; \
20427 libsrcdir="$$s/readline";; \
20428 *) \
20429 srcdiroption="--srcdir=../$(srcdir)/readline"; \
20430 libsrcdir="$$s/readline";; \
20431 esac; \
20432 $(SHELL) $${libsrcdir}/configure \
20433 $(HOST_CONFIGARGS) $${srcdiroption} \
20434 || exit 1
20436 .PHONY: all-readline maybe-all-readline
20437 maybe-all-readline:
20438 all-readline: configure-readline
20439 @r=`${PWD}`; export r; \
20440 s=`cd $(srcdir); ${PWD}`; export s; \
20441 $(SET_LIB_PATH) \
20442 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
20444 .PHONY: check-readline maybe-check-readline
20445 maybe-check-readline:
20447 check-readline:
20448 @r=`${PWD}`; export r; \
20449 s=`cd $(srcdir); ${PWD}`; export s; \
20450 $(SET_LIB_PATH) \
20451 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
20454 .PHONY: install-readline maybe-install-readline
20455 maybe-install-readline:
20457 install-readline: installdirs
20458 @r=`${PWD}`; export r; \
20459 s=`cd $(srcdir); ${PWD}`; export s; \
20460 $(SET_LIB_PATH) \
20461 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
20464 .PHONY: configure-release maybe-configure-release
20465 maybe-configure-release:
20466 configure-release:
20467 @test ! -f release/Makefile || exit 0; \
20468 [ -d release ] || mkdir release; \
20469 r=`${PWD}`; export r; \
20470 s=`cd $(srcdir); ${PWD}`; export s; \
20471 CC="$(CC)"; export CC; \
20472 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20473 CXX="$(CXX)"; export CXX; \
20474 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20475 AR="$(AR)"; export AR; \
20476 AS="$(AS)"; export AS; \
20477 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20478 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20479 LD="$(LD)"; export LD; \
20480 NM="$(NM)"; export NM; \
20481 RANLIB="$(RANLIB)"; export RANLIB; \
20482 WINDRES="$(WINDRES)"; export WINDRES; \
20483 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20484 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20485 echo Configuring in release; \
20486 cd release || exit 1; \
20487 case $(srcdir) in \
20488 \.) \
20489 srcdiroption="--srcdir=."; \
20490 libsrcdir=".";; \
20491 /* | [A-Za-z]:[\\/]*) \
20492 srcdiroption="--srcdir=$(srcdir)/release"; \
20493 libsrcdir="$$s/release";; \
20494 *) \
20495 srcdiroption="--srcdir=../$(srcdir)/release"; \
20496 libsrcdir="$$s/release";; \
20497 esac; \
20498 $(SHELL) $${libsrcdir}/configure \
20499 $(HOST_CONFIGARGS) $${srcdiroption} \
20500 || exit 1
20502 .PHONY: all-release maybe-all-release
20503 maybe-all-release:
20504 all-release: configure-release
20505 @r=`${PWD}`; export r; \
20506 s=`cd $(srcdir); ${PWD}`; export s; \
20507 $(SET_LIB_PATH) \
20508 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
20510 .PHONY: check-release maybe-check-release
20511 maybe-check-release:
20513 check-release:
20516 .PHONY: install-release maybe-install-release
20517 maybe-install-release:
20519 install-release:
20522 .PHONY: configure-recode maybe-configure-recode
20523 maybe-configure-recode:
20524 configure-recode:
20525 @test ! -f recode/Makefile || exit 0; \
20526 [ -d recode ] || mkdir recode; \
20527 r=`${PWD}`; export r; \
20528 s=`cd $(srcdir); ${PWD}`; export s; \
20529 CC="$(CC)"; export CC; \
20530 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20531 CXX="$(CXX)"; export CXX; \
20532 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20533 AR="$(AR)"; export AR; \
20534 AS="$(AS)"; export AS; \
20535 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20536 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20537 LD="$(LD)"; export LD; \
20538 NM="$(NM)"; export NM; \
20539 RANLIB="$(RANLIB)"; export RANLIB; \
20540 WINDRES="$(WINDRES)"; export WINDRES; \
20541 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20542 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20543 echo Configuring in recode; \
20544 cd recode || exit 1; \
20545 case $(srcdir) in \
20546 \.) \
20547 srcdiroption="--srcdir=."; \
20548 libsrcdir=".";; \
20549 /* | [A-Za-z]:[\\/]*) \
20550 srcdiroption="--srcdir=$(srcdir)/recode"; \
20551 libsrcdir="$$s/recode";; \
20552 *) \
20553 srcdiroption="--srcdir=../$(srcdir)/recode"; \
20554 libsrcdir="$$s/recode";; \
20555 esac; \
20556 $(SHELL) $${libsrcdir}/configure \
20557 $(HOST_CONFIGARGS) $${srcdiroption} \
20558 || exit 1
20560 .PHONY: all-recode maybe-all-recode
20561 maybe-all-recode:
20562 all-recode: configure-recode
20563 @r=`${PWD}`; export r; \
20564 s=`cd $(srcdir); ${PWD}`; export s; \
20565 $(SET_LIB_PATH) \
20566 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
20568 .PHONY: check-recode maybe-check-recode
20569 maybe-check-recode:
20571 check-recode:
20572 @r=`${PWD}`; export r; \
20573 s=`cd $(srcdir); ${PWD}`; export s; \
20574 $(SET_LIB_PATH) \
20575 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
20578 .PHONY: install-recode maybe-install-recode
20579 maybe-install-recode:
20581 install-recode: installdirs
20582 @r=`${PWD}`; export r; \
20583 s=`cd $(srcdir); ${PWD}`; export s; \
20584 $(SET_LIB_PATH) \
20585 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
20588 .PHONY: configure-sed maybe-configure-sed
20589 maybe-configure-sed:
20590 configure-sed:
20591 @test ! -f sed/Makefile || exit 0; \
20592 [ -d sed ] || mkdir sed; \
20593 r=`${PWD}`; export r; \
20594 s=`cd $(srcdir); ${PWD}`; export s; \
20595 CC="$(CC)"; export CC; \
20596 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20597 CXX="$(CXX)"; export CXX; \
20598 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20599 AR="$(AR)"; export AR; \
20600 AS="$(AS)"; export AS; \
20601 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20602 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20603 LD="$(LD)"; export LD; \
20604 NM="$(NM)"; export NM; \
20605 RANLIB="$(RANLIB)"; export RANLIB; \
20606 WINDRES="$(WINDRES)"; export WINDRES; \
20607 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20608 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20609 echo Configuring in sed; \
20610 cd sed || exit 1; \
20611 case $(srcdir) in \
20612 \.) \
20613 srcdiroption="--srcdir=."; \
20614 libsrcdir=".";; \
20615 /* | [A-Za-z]:[\\/]*) \
20616 srcdiroption="--srcdir=$(srcdir)/sed"; \
20617 libsrcdir="$$s/sed";; \
20618 *) \
20619 srcdiroption="--srcdir=../$(srcdir)/sed"; \
20620 libsrcdir="$$s/sed";; \
20621 esac; \
20622 $(SHELL) $${libsrcdir}/configure \
20623 $(HOST_CONFIGARGS) $${srcdiroption} \
20624 || exit 1
20626 .PHONY: all-sed maybe-all-sed
20627 maybe-all-sed:
20628 all-sed: configure-sed
20629 @r=`${PWD}`; export r; \
20630 s=`cd $(srcdir); ${PWD}`; export s; \
20631 $(SET_LIB_PATH) \
20632 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
20634 .PHONY: check-sed maybe-check-sed
20635 maybe-check-sed:
20637 check-sed:
20638 @r=`${PWD}`; export r; \
20639 s=`cd $(srcdir); ${PWD}`; export s; \
20640 $(SET_LIB_PATH) \
20641 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
20644 .PHONY: install-sed maybe-install-sed
20645 maybe-install-sed:
20647 install-sed: installdirs
20648 @r=`${PWD}`; export r; \
20649 s=`cd $(srcdir); ${PWD}`; export s; \
20650 $(SET_LIB_PATH) \
20651 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
20654 .PHONY: configure-send-pr maybe-configure-send-pr
20655 maybe-configure-send-pr:
20656 configure-send-pr:
20657 @test ! -f send-pr/Makefile || exit 0; \
20658 [ -d send-pr ] || mkdir send-pr; \
20659 r=`${PWD}`; export r; \
20660 s=`cd $(srcdir); ${PWD}`; export s; \
20661 CC="$(CC)"; export CC; \
20662 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20663 CXX="$(CXX)"; export CXX; \
20664 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20665 AR="$(AR)"; export AR; \
20666 AS="$(AS)"; export AS; \
20667 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20668 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20669 LD="$(LD)"; export LD; \
20670 NM="$(NM)"; export NM; \
20671 RANLIB="$(RANLIB)"; export RANLIB; \
20672 WINDRES="$(WINDRES)"; export WINDRES; \
20673 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20674 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20675 echo Configuring in send-pr; \
20676 cd send-pr || exit 1; \
20677 case $(srcdir) in \
20678 \.) \
20679 srcdiroption="--srcdir=."; \
20680 libsrcdir=".";; \
20681 /* | [A-Za-z]:[\\/]*) \
20682 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
20683 libsrcdir="$$s/send-pr";; \
20684 *) \
20685 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
20686 libsrcdir="$$s/send-pr";; \
20687 esac; \
20688 $(SHELL) $${libsrcdir}/configure \
20689 $(HOST_CONFIGARGS) $${srcdiroption} \
20690 || exit 1
20692 .PHONY: all-send-pr maybe-all-send-pr
20693 maybe-all-send-pr:
20694 all-send-pr: configure-send-pr
20695 @r=`${PWD}`; export r; \
20696 s=`cd $(srcdir); ${PWD}`; export s; \
20697 $(SET_LIB_PATH) \
20698 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
20700 .PHONY: check-send-pr maybe-check-send-pr
20701 maybe-check-send-pr:
20703 check-send-pr:
20704 @r=`${PWD}`; export r; \
20705 s=`cd $(srcdir); ${PWD}`; export s; \
20706 $(SET_LIB_PATH) \
20707 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
20710 .PHONY: install-send-pr maybe-install-send-pr
20711 maybe-install-send-pr:
20713 install-send-pr: installdirs
20714 @r=`${PWD}`; export r; \
20715 s=`cd $(srcdir); ${PWD}`; export s; \
20716 $(SET_LIB_PATH) \
20717 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
20720 .PHONY: configure-shellutils maybe-configure-shellutils
20721 maybe-configure-shellutils:
20722 configure-shellutils:
20723 @test ! -f shellutils/Makefile || exit 0; \
20724 [ -d shellutils ] || mkdir shellutils; \
20725 r=`${PWD}`; export r; \
20726 s=`cd $(srcdir); ${PWD}`; export s; \
20727 CC="$(CC)"; export CC; \
20728 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20729 CXX="$(CXX)"; export CXX; \
20730 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20731 AR="$(AR)"; export AR; \
20732 AS="$(AS)"; export AS; \
20733 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20734 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20735 LD="$(LD)"; export LD; \
20736 NM="$(NM)"; export NM; \
20737 RANLIB="$(RANLIB)"; export RANLIB; \
20738 WINDRES="$(WINDRES)"; export WINDRES; \
20739 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20740 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20741 echo Configuring in shellutils; \
20742 cd shellutils || exit 1; \
20743 case $(srcdir) in \
20744 \.) \
20745 srcdiroption="--srcdir=."; \
20746 libsrcdir=".";; \
20747 /* | [A-Za-z]:[\\/]*) \
20748 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
20749 libsrcdir="$$s/shellutils";; \
20750 *) \
20751 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
20752 libsrcdir="$$s/shellutils";; \
20753 esac; \
20754 $(SHELL) $${libsrcdir}/configure \
20755 $(HOST_CONFIGARGS) $${srcdiroption} \
20756 || exit 1
20758 .PHONY: all-shellutils maybe-all-shellutils
20759 maybe-all-shellutils:
20760 all-shellutils: configure-shellutils
20761 @r=`${PWD}`; export r; \
20762 s=`cd $(srcdir); ${PWD}`; export s; \
20763 $(SET_LIB_PATH) \
20764 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
20766 .PHONY: check-shellutils maybe-check-shellutils
20767 maybe-check-shellutils:
20769 check-shellutils:
20770 @r=`${PWD}`; export r; \
20771 s=`cd $(srcdir); ${PWD}`; export s; \
20772 $(SET_LIB_PATH) \
20773 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
20776 .PHONY: install-shellutils maybe-install-shellutils
20777 maybe-install-shellutils:
20779 install-shellutils: installdirs
20780 @r=`${PWD}`; export r; \
20781 s=`cd $(srcdir); ${PWD}`; export s; \
20782 $(SET_LIB_PATH) \
20783 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
20786 .PHONY: configure-sid maybe-configure-sid
20787 maybe-configure-sid:
20788 configure-sid:
20789 @test ! -f sid/Makefile || exit 0; \
20790 [ -d sid ] || mkdir sid; \
20791 r=`${PWD}`; export r; \
20792 s=`cd $(srcdir); ${PWD}`; export s; \
20793 CC="$(CC)"; export CC; \
20794 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20795 CXX="$(CXX)"; export CXX; \
20796 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20797 AR="$(AR)"; export AR; \
20798 AS="$(AS)"; export AS; \
20799 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20800 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20801 LD="$(LD)"; export LD; \
20802 NM="$(NM)"; export NM; \
20803 RANLIB="$(RANLIB)"; export RANLIB; \
20804 WINDRES="$(WINDRES)"; export WINDRES; \
20805 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20806 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20807 echo Configuring in sid; \
20808 cd sid || exit 1; \
20809 case $(srcdir) in \
20810 \.) \
20811 srcdiroption="--srcdir=."; \
20812 libsrcdir=".";; \
20813 /* | [A-Za-z]:[\\/]*) \
20814 srcdiroption="--srcdir=$(srcdir)/sid"; \
20815 libsrcdir="$$s/sid";; \
20816 *) \
20817 srcdiroption="--srcdir=../$(srcdir)/sid"; \
20818 libsrcdir="$$s/sid";; \
20819 esac; \
20820 $(SHELL) $${libsrcdir}/configure \
20821 $(HOST_CONFIGARGS) $${srcdiroption} \
20822 || exit 1
20824 .PHONY: all-sid maybe-all-sid
20825 maybe-all-sid:
20826 all-sid: configure-sid
20827 @r=`${PWD}`; export r; \
20828 s=`cd $(srcdir); ${PWD}`; export s; \
20829 $(SET_LIB_PATH) \
20830 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
20832 .PHONY: check-sid maybe-check-sid
20833 maybe-check-sid:
20835 check-sid:
20836 @r=`${PWD}`; export r; \
20837 s=`cd $(srcdir); ${PWD}`; export s; \
20838 $(SET_LIB_PATH) \
20839 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
20842 .PHONY: install-sid maybe-install-sid
20843 maybe-install-sid:
20845 install-sid: installdirs
20846 @r=`${PWD}`; export r; \
20847 s=`cd $(srcdir); ${PWD}`; export s; \
20848 $(SET_LIB_PATH) \
20849 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
20852 .PHONY: configure-sim maybe-configure-sim
20853 maybe-configure-sim:
20854 configure-sim:
20855 @test ! -f sim/Makefile || exit 0; \
20856 [ -d sim ] || mkdir sim; \
20857 r=`${PWD}`; export r; \
20858 s=`cd $(srcdir); ${PWD}`; export s; \
20859 CC="$(CC)"; export CC; \
20860 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20861 CXX="$(CXX)"; export CXX; \
20862 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20863 AR="$(AR)"; export AR; \
20864 AS="$(AS)"; export AS; \
20865 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20866 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20867 LD="$(LD)"; export LD; \
20868 NM="$(NM)"; export NM; \
20869 RANLIB="$(RANLIB)"; export RANLIB; \
20870 WINDRES="$(WINDRES)"; export WINDRES; \
20871 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20872 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20873 echo Configuring in sim; \
20874 cd sim || exit 1; \
20875 case $(srcdir) in \
20876 \.) \
20877 srcdiroption="--srcdir=."; \
20878 libsrcdir=".";; \
20879 /* | [A-Za-z]:[\\/]*) \
20880 srcdiroption="--srcdir=$(srcdir)/sim"; \
20881 libsrcdir="$$s/sim";; \
20882 *) \
20883 srcdiroption="--srcdir=../$(srcdir)/sim"; \
20884 libsrcdir="$$s/sim";; \
20885 esac; \
20886 $(SHELL) $${libsrcdir}/configure \
20887 $(HOST_CONFIGARGS) $${srcdiroption} \
20888 || exit 1
20890 .PHONY: all-sim maybe-all-sim
20891 maybe-all-sim:
20892 all-sim: configure-sim
20893 @r=`${PWD}`; export r; \
20894 s=`cd $(srcdir); ${PWD}`; export s; \
20895 $(SET_LIB_PATH) \
20896 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
20898 .PHONY: check-sim maybe-check-sim
20899 maybe-check-sim:
20901 check-sim:
20902 @r=`${PWD}`; export r; \
20903 s=`cd $(srcdir); ${PWD}`; export s; \
20904 $(SET_LIB_PATH) \
20905 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
20908 .PHONY: install-sim maybe-install-sim
20909 maybe-install-sim:
20911 install-sim: installdirs
20912 @r=`${PWD}`; export r; \
20913 s=`cd $(srcdir); ${PWD}`; export s; \
20914 $(SET_LIB_PATH) \
20915 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
20918 .PHONY: configure-tar maybe-configure-tar
20919 maybe-configure-tar:
20920 configure-tar:
20921 @test ! -f tar/Makefile || exit 0; \
20922 [ -d tar ] || mkdir tar; \
20923 r=`${PWD}`; export r; \
20924 s=`cd $(srcdir); ${PWD}`; export s; \
20925 CC="$(CC)"; export CC; \
20926 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20927 CXX="$(CXX)"; export CXX; \
20928 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20929 AR="$(AR)"; export AR; \
20930 AS="$(AS)"; export AS; \
20931 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20932 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20933 LD="$(LD)"; export LD; \
20934 NM="$(NM)"; export NM; \
20935 RANLIB="$(RANLIB)"; export RANLIB; \
20936 WINDRES="$(WINDRES)"; export WINDRES; \
20937 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20938 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20939 echo Configuring in tar; \
20940 cd tar || exit 1; \
20941 case $(srcdir) in \
20942 \.) \
20943 srcdiroption="--srcdir=."; \
20944 libsrcdir=".";; \
20945 /* | [A-Za-z]:[\\/]*) \
20946 srcdiroption="--srcdir=$(srcdir)/tar"; \
20947 libsrcdir="$$s/tar";; \
20948 *) \
20949 srcdiroption="--srcdir=../$(srcdir)/tar"; \
20950 libsrcdir="$$s/tar";; \
20951 esac; \
20952 $(SHELL) $${libsrcdir}/configure \
20953 $(HOST_CONFIGARGS) $${srcdiroption} \
20954 || exit 1
20956 .PHONY: all-tar maybe-all-tar
20957 maybe-all-tar:
20958 all-tar: configure-tar
20959 @r=`${PWD}`; export r; \
20960 s=`cd $(srcdir); ${PWD}`; export s; \
20961 $(SET_LIB_PATH) \
20962 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
20964 .PHONY: check-tar maybe-check-tar
20965 maybe-check-tar:
20967 check-tar:
20968 @r=`${PWD}`; export r; \
20969 s=`cd $(srcdir); ${PWD}`; export s; \
20970 $(SET_LIB_PATH) \
20971 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
20974 .PHONY: install-tar maybe-install-tar
20975 maybe-install-tar:
20977 install-tar: installdirs
20978 @r=`${PWD}`; export r; \
20979 s=`cd $(srcdir); ${PWD}`; export s; \
20980 $(SET_LIB_PATH) \
20981 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
20984 .PHONY: configure-texinfo maybe-configure-texinfo
20985 maybe-configure-texinfo:
20986 configure-texinfo:
20987 @test ! -f texinfo/Makefile || exit 0; \
20988 [ -d texinfo ] || mkdir texinfo; \
20989 r=`${PWD}`; export r; \
20990 s=`cd $(srcdir); ${PWD}`; export s; \
20991 CC="$(CC)"; export CC; \
20992 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20993 CXX="$(CXX)"; export CXX; \
20994 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20995 AR="$(AR)"; export AR; \
20996 AS="$(AS)"; export AS; \
20997 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20998 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20999 LD="$(LD)"; export LD; \
21000 NM="$(NM)"; export NM; \
21001 RANLIB="$(RANLIB)"; export RANLIB; \
21002 WINDRES="$(WINDRES)"; export WINDRES; \
21003 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21004 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21005 echo Configuring in texinfo; \
21006 cd texinfo || exit 1; \
21007 case $(srcdir) in \
21008 \.) \
21009 srcdiroption="--srcdir=."; \
21010 libsrcdir=".";; \
21011 /* | [A-Za-z]:[\\/]*) \
21012 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
21013 libsrcdir="$$s/texinfo";; \
21014 *) \
21015 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
21016 libsrcdir="$$s/texinfo";; \
21017 esac; \
21018 $(SHELL) $${libsrcdir}/configure \
21019 $(HOST_CONFIGARGS) $${srcdiroption} \
21020 || exit 1
21022 .PHONY: all-texinfo maybe-all-texinfo
21023 maybe-all-texinfo:
21024 all-texinfo: configure-texinfo
21025 @r=`${PWD}`; export r; \
21026 s=`cd $(srcdir); ${PWD}`; export s; \
21027 $(SET_LIB_PATH) \
21028 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
21030 .PHONY: check-texinfo maybe-check-texinfo
21031 maybe-check-texinfo:
21033 check-texinfo:
21034 @r=`${PWD}`; export r; \
21035 s=`cd $(srcdir); ${PWD}`; export s; \
21036 $(SET_LIB_PATH) \
21037 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
21040 .PHONY: install-texinfo maybe-install-texinfo
21041 maybe-install-texinfo:
21043 install-texinfo:
21046 .PHONY: configure-textutils maybe-configure-textutils
21047 maybe-configure-textutils:
21048 configure-textutils:
21049 @test ! -f textutils/Makefile || exit 0; \
21050 [ -d textutils ] || mkdir textutils; \
21051 r=`${PWD}`; export r; \
21052 s=`cd $(srcdir); ${PWD}`; export s; \
21053 CC="$(CC)"; export CC; \
21054 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21055 CXX="$(CXX)"; export CXX; \
21056 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21057 AR="$(AR)"; export AR; \
21058 AS="$(AS)"; export AS; \
21059 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21060 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21061 LD="$(LD)"; export LD; \
21062 NM="$(NM)"; export NM; \
21063 RANLIB="$(RANLIB)"; export RANLIB; \
21064 WINDRES="$(WINDRES)"; export WINDRES; \
21065 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21066 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21067 echo Configuring in textutils; \
21068 cd textutils || exit 1; \
21069 case $(srcdir) in \
21070 \.) \
21071 srcdiroption="--srcdir=."; \
21072 libsrcdir=".";; \
21073 /* | [A-Za-z]:[\\/]*) \
21074 srcdiroption="--srcdir=$(srcdir)/textutils"; \
21075 libsrcdir="$$s/textutils";; \
21076 *) \
21077 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
21078 libsrcdir="$$s/textutils";; \
21079 esac; \
21080 $(SHELL) $${libsrcdir}/configure \
21081 $(HOST_CONFIGARGS) $${srcdiroption} \
21082 || exit 1
21084 .PHONY: all-textutils maybe-all-textutils
21085 maybe-all-textutils:
21086 all-textutils: configure-textutils
21087 @r=`${PWD}`; export r; \
21088 s=`cd $(srcdir); ${PWD}`; export s; \
21089 $(SET_LIB_PATH) \
21090 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
21092 .PHONY: check-textutils maybe-check-textutils
21093 maybe-check-textutils:
21095 check-textutils:
21096 @r=`${PWD}`; export r; \
21097 s=`cd $(srcdir); ${PWD}`; export s; \
21098 $(SET_LIB_PATH) \
21099 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
21102 .PHONY: install-textutils maybe-install-textutils
21103 maybe-install-textutils:
21105 install-textutils: installdirs
21106 @r=`${PWD}`; export r; \
21107 s=`cd $(srcdir); ${PWD}`; export s; \
21108 $(SET_LIB_PATH) \
21109 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
21112 .PHONY: configure-time maybe-configure-time
21113 maybe-configure-time:
21114 configure-time:
21115 @test ! -f time/Makefile || exit 0; \
21116 [ -d time ] || mkdir time; \
21117 r=`${PWD}`; export r; \
21118 s=`cd $(srcdir); ${PWD}`; export s; \
21119 CC="$(CC)"; export CC; \
21120 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21121 CXX="$(CXX)"; export CXX; \
21122 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21123 AR="$(AR)"; export AR; \
21124 AS="$(AS)"; export AS; \
21125 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21126 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21127 LD="$(LD)"; export LD; \
21128 NM="$(NM)"; export NM; \
21129 RANLIB="$(RANLIB)"; export RANLIB; \
21130 WINDRES="$(WINDRES)"; export WINDRES; \
21131 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21132 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21133 echo Configuring in time; \
21134 cd time || exit 1; \
21135 case $(srcdir) in \
21136 \.) \
21137 srcdiroption="--srcdir=."; \
21138 libsrcdir=".";; \
21139 /* | [A-Za-z]:[\\/]*) \
21140 srcdiroption="--srcdir=$(srcdir)/time"; \
21141 libsrcdir="$$s/time";; \
21142 *) \
21143 srcdiroption="--srcdir=../$(srcdir)/time"; \
21144 libsrcdir="$$s/time";; \
21145 esac; \
21146 $(SHELL) $${libsrcdir}/configure \
21147 $(HOST_CONFIGARGS) $${srcdiroption} \
21148 || exit 1
21150 .PHONY: all-time maybe-all-time
21151 maybe-all-time:
21152 all-time: configure-time
21153 @r=`${PWD}`; export r; \
21154 s=`cd $(srcdir); ${PWD}`; export s; \
21155 $(SET_LIB_PATH) \
21156 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
21158 .PHONY: check-time maybe-check-time
21159 maybe-check-time:
21161 check-time:
21162 @r=`${PWD}`; export r; \
21163 s=`cd $(srcdir); ${PWD}`; export s; \
21164 $(SET_LIB_PATH) \
21165 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
21168 .PHONY: install-time maybe-install-time
21169 maybe-install-time:
21171 install-time: installdirs
21172 @r=`${PWD}`; export r; \
21173 s=`cd $(srcdir); ${PWD}`; export s; \
21174 $(SET_LIB_PATH) \
21175 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
21178 .PHONY: configure-uudecode maybe-configure-uudecode
21179 maybe-configure-uudecode:
21180 configure-uudecode:
21181 @test ! -f uudecode/Makefile || exit 0; \
21182 [ -d uudecode ] || mkdir uudecode; \
21183 r=`${PWD}`; export r; \
21184 s=`cd $(srcdir); ${PWD}`; export s; \
21185 CC="$(CC)"; export CC; \
21186 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21187 CXX="$(CXX)"; export CXX; \
21188 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21189 AR="$(AR)"; export AR; \
21190 AS="$(AS)"; export AS; \
21191 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21192 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21193 LD="$(LD)"; export LD; \
21194 NM="$(NM)"; export NM; \
21195 RANLIB="$(RANLIB)"; export RANLIB; \
21196 WINDRES="$(WINDRES)"; export WINDRES; \
21197 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21198 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21199 echo Configuring in uudecode; \
21200 cd uudecode || exit 1; \
21201 case $(srcdir) in \
21202 \.) \
21203 srcdiroption="--srcdir=."; \
21204 libsrcdir=".";; \
21205 /* | [A-Za-z]:[\\/]*) \
21206 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21207 libsrcdir="$$s/uudecode";; \
21208 *) \
21209 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21210 libsrcdir="$$s/uudecode";; \
21211 esac; \
21212 $(SHELL) $${libsrcdir}/configure \
21213 $(HOST_CONFIGARGS) $${srcdiroption} \
21214 || exit 1
21216 .PHONY: all-uudecode maybe-all-uudecode
21217 maybe-all-uudecode:
21218 all-uudecode: configure-uudecode
21219 @r=`${PWD}`; export r; \
21220 s=`cd $(srcdir); ${PWD}`; export s; \
21221 $(SET_LIB_PATH) \
21222 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
21224 .PHONY: check-uudecode maybe-check-uudecode
21225 maybe-check-uudecode:
21227 check-uudecode:
21228 @r=`${PWD}`; export r; \
21229 s=`cd $(srcdir); ${PWD}`; export s; \
21230 $(SET_LIB_PATH) \
21231 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21234 .PHONY: install-uudecode maybe-install-uudecode
21235 maybe-install-uudecode:
21237 install-uudecode: installdirs
21238 @r=`${PWD}`; export r; \
21239 s=`cd $(srcdir); ${PWD}`; export s; \
21240 $(SET_LIB_PATH) \
21241 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21244 .PHONY: configure-wdiff maybe-configure-wdiff
21245 maybe-configure-wdiff:
21246 configure-wdiff:
21247 @test ! -f wdiff/Makefile || exit 0; \
21248 [ -d wdiff ] || mkdir wdiff; \
21249 r=`${PWD}`; export r; \
21250 s=`cd $(srcdir); ${PWD}`; export s; \
21251 CC="$(CC)"; export CC; \
21252 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21253 CXX="$(CXX)"; export CXX; \
21254 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21255 AR="$(AR)"; export AR; \
21256 AS="$(AS)"; export AS; \
21257 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21258 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21259 LD="$(LD)"; export LD; \
21260 NM="$(NM)"; export NM; \
21261 RANLIB="$(RANLIB)"; export RANLIB; \
21262 WINDRES="$(WINDRES)"; export WINDRES; \
21263 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21264 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21265 echo Configuring in wdiff; \
21266 cd wdiff || exit 1; \
21267 case $(srcdir) in \
21268 \.) \
21269 srcdiroption="--srcdir=."; \
21270 libsrcdir=".";; \
21271 /* | [A-Za-z]:[\\/]*) \
21272 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21273 libsrcdir="$$s/wdiff";; \
21274 *) \
21275 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21276 libsrcdir="$$s/wdiff";; \
21277 esac; \
21278 $(SHELL) $${libsrcdir}/configure \
21279 $(HOST_CONFIGARGS) $${srcdiroption} \
21280 || exit 1
21282 .PHONY: all-wdiff maybe-all-wdiff
21283 maybe-all-wdiff:
21284 all-wdiff: configure-wdiff
21285 @r=`${PWD}`; export r; \
21286 s=`cd $(srcdir); ${PWD}`; export s; \
21287 $(SET_LIB_PATH) \
21288 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
21290 .PHONY: check-wdiff maybe-check-wdiff
21291 maybe-check-wdiff:
21293 check-wdiff:
21294 @r=`${PWD}`; export r; \
21295 s=`cd $(srcdir); ${PWD}`; export s; \
21296 $(SET_LIB_PATH) \
21297 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21300 .PHONY: install-wdiff maybe-install-wdiff
21301 maybe-install-wdiff:
21303 install-wdiff: installdirs
21304 @r=`${PWD}`; export r; \
21305 s=`cd $(srcdir); ${PWD}`; export s; \
21306 $(SET_LIB_PATH) \
21307 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21310 .PHONY: configure-zip maybe-configure-zip
21311 maybe-configure-zip:
21312 configure-zip:
21313 @test ! -f zip/Makefile || exit 0; \
21314 [ -d zip ] || mkdir zip; \
21315 r=`${PWD}`; export r; \
21316 s=`cd $(srcdir); ${PWD}`; export s; \
21317 CC="$(CC)"; export CC; \
21318 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21319 CXX="$(CXX)"; export CXX; \
21320 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21321 AR="$(AR)"; export AR; \
21322 AS="$(AS)"; export AS; \
21323 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21324 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21325 LD="$(LD)"; export LD; \
21326 NM="$(NM)"; export NM; \
21327 RANLIB="$(RANLIB)"; export RANLIB; \
21328 WINDRES="$(WINDRES)"; export WINDRES; \
21329 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21330 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21331 echo Configuring in zip; \
21332 cd zip || exit 1; \
21333 case $(srcdir) in \
21334 \.) \
21335 srcdiroption="--srcdir=."; \
21336 libsrcdir=".";; \
21337 /* | [A-Za-z]:[\\/]*) \
21338 srcdiroption="--srcdir=$(srcdir)/zip"; \
21339 libsrcdir="$$s/zip";; \
21340 *) \
21341 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21342 libsrcdir="$$s/zip";; \
21343 esac; \
21344 $(SHELL) $${libsrcdir}/configure \
21345 $(HOST_CONFIGARGS) $${srcdiroption} \
21346 || exit 1
21348 .PHONY: all-zip maybe-all-zip
21349 maybe-all-zip:
21350 all-zip: configure-zip
21351 @r=`${PWD}`; export r; \
21352 s=`cd $(srcdir); ${PWD}`; export s; \
21353 $(SET_LIB_PATH) \
21354 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
21356 .PHONY: check-zip maybe-check-zip
21357 maybe-check-zip:
21359 # This module is only tested in a native toolchain.
21360 check-zip:
21361 @if [ '$(host)' = '$(target)' ] ; then \
21362 r=`${PWD}`; export r; \
21363 s=`cd $(srcdir); ${PWD}`; export s; \
21364 $(SET_LIB_PATH) \
21365 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21369 .PHONY: install-zip maybe-install-zip
21370 maybe-install-zip:
21372 install-zip: installdirs
21373 @r=`${PWD}`; export r; \
21374 s=`cd $(srcdir); ${PWD}`; export s; \
21375 $(SET_LIB_PATH) \
21376 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21379 .PHONY: configure-zlib maybe-configure-zlib
21380 maybe-configure-zlib:
21381 configure-zlib:
21382 @test ! -f zlib/Makefile || exit 0; \
21383 [ -d zlib ] || mkdir zlib; \
21384 r=`${PWD}`; export r; \
21385 s=`cd $(srcdir); ${PWD}`; export s; \
21386 CC="$(CC)"; export CC; \
21387 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21388 CXX="$(CXX)"; export CXX; \
21389 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21390 AR="$(AR)"; export AR; \
21391 AS="$(AS)"; export AS; \
21392 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21393 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21394 LD="$(LD)"; export LD; \
21395 NM="$(NM)"; export NM; \
21396 RANLIB="$(RANLIB)"; export RANLIB; \
21397 WINDRES="$(WINDRES)"; export WINDRES; \
21398 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21399 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21400 echo Configuring in zlib; \
21401 cd zlib || exit 1; \
21402 case $(srcdir) in \
21403 \.) \
21404 srcdiroption="--srcdir=."; \
21405 libsrcdir=".";; \
21406 /* | [A-Za-z]:[\\/]*) \
21407 srcdiroption="--srcdir=$(srcdir)/zlib"; \
21408 libsrcdir="$$s/zlib";; \
21409 *) \
21410 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
21411 libsrcdir="$$s/zlib";; \
21412 esac; \
21413 $(SHELL) $${libsrcdir}/configure \
21414 $(HOST_CONFIGARGS) $${srcdiroption} \
21415 || exit 1
21417 .PHONY: all-zlib maybe-all-zlib
21418 maybe-all-zlib:
21419 all-zlib: configure-zlib
21420 @r=`${PWD}`; export r; \
21421 s=`cd $(srcdir); ${PWD}`; export s; \
21422 $(SET_LIB_PATH) \
21423 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
21425 .PHONY: check-zlib maybe-check-zlib
21426 maybe-check-zlib:
21428 check-zlib:
21431 .PHONY: install-zlib maybe-install-zlib
21432 maybe-install-zlib:
21434 install-zlib:
21437 .PHONY: configure-gdb maybe-configure-gdb
21438 maybe-configure-gdb:
21439 configure-gdb:
21440 @test ! -f gdb/Makefile || exit 0; \
21441 [ -d gdb ] || mkdir gdb; \
21442 r=`${PWD}`; export r; \
21443 s=`cd $(srcdir); ${PWD}`; export s; \
21444 CC="$(CC)"; export CC; \
21445 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21446 CXX="$(CXX)"; export CXX; \
21447 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21448 AR="$(AR)"; export AR; \
21449 AS="$(AS)"; export AS; \
21450 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21451 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21452 LD="$(LD)"; export LD; \
21453 NM="$(NM)"; export NM; \
21454 RANLIB="$(RANLIB)"; export RANLIB; \
21455 WINDRES="$(WINDRES)"; export WINDRES; \
21456 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21457 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21458 echo Configuring in gdb; \
21459 cd gdb || exit 1; \
21460 case $(srcdir) in \
21461 \.) \
21462 srcdiroption="--srcdir=."; \
21463 libsrcdir=".";; \
21464 /* | [A-Za-z]:[\\/]*) \
21465 srcdiroption="--srcdir=$(srcdir)/gdb"; \
21466 libsrcdir="$$s/gdb";; \
21467 *) \
21468 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
21469 libsrcdir="$$s/gdb";; \
21470 esac; \
21471 $(SHELL) $${libsrcdir}/configure \
21472 $(HOST_CONFIGARGS) $${srcdiroption} \
21473 || exit 1
21475 .PHONY: all-gdb maybe-all-gdb
21476 maybe-all-gdb:
21477 all-gdb: configure-gdb
21478 @r=`${PWD}`; export r; \
21479 s=`cd $(srcdir); ${PWD}`; export s; \
21480 $(SET_LIB_PATH) \
21481 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21483 .PHONY: check-gdb maybe-check-gdb
21484 maybe-check-gdb:
21486 check-gdb:
21487 @r=`${PWD}`; export r; \
21488 s=`cd $(srcdir); ${PWD}`; export s; \
21489 $(SET_LIB_PATH) \
21490 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21493 .PHONY: install-gdb maybe-install-gdb
21494 maybe-install-gdb:
21496 install-gdb: installdirs
21497 @r=`${PWD}`; export r; \
21498 s=`cd $(srcdir); ${PWD}`; export s; \
21499 $(SET_LIB_PATH) \
21500 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21503 .PHONY: configure-expect maybe-configure-expect
21504 maybe-configure-expect:
21505 configure-expect:
21506 @test ! -f expect/Makefile || exit 0; \
21507 [ -d expect ] || mkdir expect; \
21508 r=`${PWD}`; export r; \
21509 s=`cd $(srcdir); ${PWD}`; export s; \
21510 CC="$(CC)"; export CC; \
21511 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21512 CXX="$(CXX)"; export CXX; \
21513 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21514 AR="$(AR)"; export AR; \
21515 AS="$(AS)"; export AS; \
21516 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21517 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21518 LD="$(LD)"; export LD; \
21519 NM="$(NM)"; export NM; \
21520 RANLIB="$(RANLIB)"; export RANLIB; \
21521 WINDRES="$(WINDRES)"; export WINDRES; \
21522 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21523 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21524 echo Configuring in expect; \
21525 cd expect || exit 1; \
21526 case $(srcdir) in \
21527 \.) \
21528 srcdiroption="--srcdir=."; \
21529 libsrcdir=".";; \
21530 /* | [A-Za-z]:[\\/]*) \
21531 srcdiroption="--srcdir=$(srcdir)/expect"; \
21532 libsrcdir="$$s/expect";; \
21533 *) \
21534 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21535 libsrcdir="$$s/expect";; \
21536 esac; \
21537 $(SHELL) $${libsrcdir}/configure \
21538 $(HOST_CONFIGARGS) $${srcdiroption} \
21539 || exit 1
21541 .PHONY: all-expect maybe-all-expect
21542 maybe-all-expect:
21543 all-expect: configure-expect
21544 @r=`${PWD}`; export r; \
21545 s=`cd $(srcdir); ${PWD}`; export s; \
21546 $(SET_LIB_PATH) \
21547 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21549 .PHONY: check-expect maybe-check-expect
21550 maybe-check-expect:
21552 check-expect:
21553 @r=`${PWD}`; export r; \
21554 s=`cd $(srcdir); ${PWD}`; export s; \
21555 $(SET_LIB_PATH) \
21556 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21559 .PHONY: install-expect maybe-install-expect
21560 maybe-install-expect:
21562 install-expect: installdirs
21563 @r=`${PWD}`; export r; \
21564 s=`cd $(srcdir); ${PWD}`; export s; \
21565 $(SET_LIB_PATH) \
21566 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21569 .PHONY: configure-guile maybe-configure-guile
21570 maybe-configure-guile:
21571 configure-guile:
21572 @test ! -f guile/Makefile || exit 0; \
21573 [ -d guile ] || mkdir guile; \
21574 r=`${PWD}`; export r; \
21575 s=`cd $(srcdir); ${PWD}`; export s; \
21576 CC="$(CC)"; export CC; \
21577 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21578 CXX="$(CXX)"; export CXX; \
21579 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21580 AR="$(AR)"; export AR; \
21581 AS="$(AS)"; export AS; \
21582 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21583 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21584 LD="$(LD)"; export LD; \
21585 NM="$(NM)"; export NM; \
21586 RANLIB="$(RANLIB)"; export RANLIB; \
21587 WINDRES="$(WINDRES)"; export WINDRES; \
21588 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21589 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21590 echo Configuring in guile; \
21591 cd guile || exit 1; \
21592 case $(srcdir) in \
21593 \.) \
21594 srcdiroption="--srcdir=."; \
21595 libsrcdir=".";; \
21596 /* | [A-Za-z]:[\\/]*) \
21597 srcdiroption="--srcdir=$(srcdir)/guile"; \
21598 libsrcdir="$$s/guile";; \
21599 *) \
21600 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21601 libsrcdir="$$s/guile";; \
21602 esac; \
21603 $(SHELL) $${libsrcdir}/configure \
21604 $(HOST_CONFIGARGS) $${srcdiroption} \
21605 || exit 1
21607 .PHONY: all-guile maybe-all-guile
21608 maybe-all-guile:
21609 all-guile: configure-guile
21610 @r=`${PWD}`; export r; \
21611 s=`cd $(srcdir); ${PWD}`; export s; \
21612 $(SET_LIB_PATH) \
21613 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21615 .PHONY: check-guile maybe-check-guile
21616 maybe-check-guile:
21618 check-guile:
21619 @r=`${PWD}`; export r; \
21620 s=`cd $(srcdir); ${PWD}`; export s; \
21621 $(SET_LIB_PATH) \
21622 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21625 .PHONY: install-guile maybe-install-guile
21626 maybe-install-guile:
21628 install-guile: installdirs
21629 @r=`${PWD}`; export r; \
21630 s=`cd $(srcdir); ${PWD}`; export s; \
21631 $(SET_LIB_PATH) \
21632 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21635 .PHONY: configure-tk maybe-configure-tk
21636 maybe-configure-tk:
21637 configure-tk:
21638 @test ! -f tk/Makefile || exit 0; \
21639 [ -d tk ] || mkdir tk; \
21640 r=`${PWD}`; export r; \
21641 s=`cd $(srcdir); ${PWD}`; export s; \
21642 CC="$(CC)"; export CC; \
21643 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21644 CXX="$(CXX)"; export CXX; \
21645 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21646 AR="$(AR)"; export AR; \
21647 AS="$(AS)"; export AS; \
21648 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21649 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21650 LD="$(LD)"; export LD; \
21651 NM="$(NM)"; export NM; \
21652 RANLIB="$(RANLIB)"; export RANLIB; \
21653 WINDRES="$(WINDRES)"; export WINDRES; \
21654 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21655 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21656 echo Configuring in tk; \
21657 cd tk || exit 1; \
21658 case $(srcdir) in \
21659 \.) \
21660 srcdiroption="--srcdir=."; \
21661 libsrcdir=".";; \
21662 /* | [A-Za-z]:[\\/]*) \
21663 srcdiroption="--srcdir=$(srcdir)/tk"; \
21664 libsrcdir="$$s/tk";; \
21665 *) \
21666 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21667 libsrcdir="$$s/tk";; \
21668 esac; \
21669 $(SHELL) $${libsrcdir}/configure \
21670 $(HOST_CONFIGARGS) $${srcdiroption} \
21671 || exit 1
21673 .PHONY: all-tk maybe-all-tk
21674 maybe-all-tk:
21675 all-tk: configure-tk
21676 @r=`${PWD}`; export r; \
21677 s=`cd $(srcdir); ${PWD}`; export s; \
21678 $(SET_LIB_PATH) \
21679 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21681 .PHONY: check-tk maybe-check-tk
21682 maybe-check-tk:
21684 check-tk:
21685 @r=`${PWD}`; export r; \
21686 s=`cd $(srcdir); ${PWD}`; export s; \
21687 $(SET_LIB_PATH) \
21688 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21691 .PHONY: install-tk maybe-install-tk
21692 maybe-install-tk:
21694 install-tk: installdirs
21695 @r=`${PWD}`; export r; \
21696 s=`cd $(srcdir); ${PWD}`; export s; \
21697 $(SET_LIB_PATH) \
21698 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21701 .PHONY: configure-tix maybe-configure-tix
21702 maybe-configure-tix:
21703 configure-tix:
21704 @test ! -f tix/Makefile || exit 0; \
21705 [ -d tix ] || mkdir tix; \
21706 r=`${PWD}`; export r; \
21707 s=`cd $(srcdir); ${PWD}`; export s; \
21708 CC="$(CC)"; export CC; \
21709 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21710 CXX="$(CXX)"; export CXX; \
21711 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21712 AR="$(AR)"; export AR; \
21713 AS="$(AS)"; export AS; \
21714 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21715 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21716 LD="$(LD)"; export LD; \
21717 NM="$(NM)"; export NM; \
21718 RANLIB="$(RANLIB)"; export RANLIB; \
21719 WINDRES="$(WINDRES)"; export WINDRES; \
21720 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21721 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21722 echo Configuring in tix; \
21723 cd tix || exit 1; \
21724 case $(srcdir) in \
21725 \.) \
21726 srcdiroption="--srcdir=."; \
21727 libsrcdir=".";; \
21728 /* | [A-Za-z]:[\\/]*) \
21729 srcdiroption="--srcdir=$(srcdir)/tix"; \
21730 libsrcdir="$$s/tix";; \
21731 *) \
21732 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21733 libsrcdir="$$s/tix";; \
21734 esac; \
21735 $(SHELL) $${libsrcdir}/configure \
21736 $(HOST_CONFIGARGS) $${srcdiroption} \
21737 || exit 1
21739 .PHONY: all-tix maybe-all-tix
21740 maybe-all-tix:
21741 all-tix: configure-tix
21742 @r=`${PWD}`; export r; \
21743 s=`cd $(srcdir); ${PWD}`; export s; \
21744 $(SET_LIB_PATH) \
21745 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21747 .PHONY: check-tix maybe-check-tix
21748 maybe-check-tix:
21750 check-tix:
21751 @r=`${PWD}`; export r; \
21752 s=`cd $(srcdir); ${PWD}`; export s; \
21753 $(SET_LIB_PATH) \
21754 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21757 .PHONY: install-tix maybe-install-tix
21758 maybe-install-tix:
21760 install-tix: installdirs
21761 @r=`${PWD}`; export r; \
21762 s=`cd $(srcdir); ${PWD}`; export s; \
21763 $(SET_LIB_PATH) \
21764 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21767 .PHONY: configure-libtermcap maybe-configure-libtermcap
21768 maybe-configure-libtermcap:
21769 configure-libtermcap:
21770 @test ! -f libtermcap/Makefile || exit 0; \
21771 [ -d libtermcap ] || mkdir libtermcap; \
21772 r=`${PWD}`; export r; \
21773 s=`cd $(srcdir); ${PWD}`; export s; \
21774 CC="$(CC)"; export CC; \
21775 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21776 CXX="$(CXX)"; export CXX; \
21777 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21778 AR="$(AR)"; export AR; \
21779 AS="$(AS)"; export AS; \
21780 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21781 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21782 LD="$(LD)"; export LD; \
21783 NM="$(NM)"; export NM; \
21784 RANLIB="$(RANLIB)"; export RANLIB; \
21785 WINDRES="$(WINDRES)"; export WINDRES; \
21786 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21787 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21788 echo Configuring in libtermcap; \
21789 cd libtermcap || exit 1; \
21790 case $(srcdir) in \
21791 \.) \
21792 srcdiroption="--srcdir=."; \
21793 libsrcdir=".";; \
21794 /* | [A-Za-z]:[\\/]*) \
21795 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21796 libsrcdir="$$s/libtermcap";; \
21797 *) \
21798 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21799 libsrcdir="$$s/libtermcap";; \
21800 esac; \
21801 $(SHELL) $${libsrcdir}/configure \
21802 $(HOST_CONFIGARGS) $${srcdiroption} \
21803 || exit 1
21805 .PHONY: all-libtermcap maybe-all-libtermcap
21806 maybe-all-libtermcap:
21807 all-libtermcap: configure-libtermcap
21808 @r=`${PWD}`; export r; \
21809 s=`cd $(srcdir); ${PWD}`; export s; \
21810 $(SET_LIB_PATH) \
21811 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21813 .PHONY: check-libtermcap maybe-check-libtermcap
21814 maybe-check-libtermcap:
21816 check-libtermcap:
21819 .PHONY: install-libtermcap maybe-install-libtermcap
21820 maybe-install-libtermcap:
21822 install-libtermcap: installdirs
21823 @r=`${PWD}`; export r; \
21824 s=`cd $(srcdir); ${PWD}`; export s; \
21825 $(SET_LIB_PATH) \
21826 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21829 .PHONY: configure-utils maybe-configure-utils
21830 maybe-configure-utils:
21831 configure-utils:
21832 @test ! -f utils/Makefile || exit 0; \
21833 [ -d utils ] || mkdir utils; \
21834 r=`${PWD}`; export r; \
21835 s=`cd $(srcdir); ${PWD}`; export s; \
21836 CC="$(CC)"; export CC; \
21837 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21838 CXX="$(CXX)"; export CXX; \
21839 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21840 AR="$(AR)"; export AR; \
21841 AS="$(AS)"; export AS; \
21842 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21843 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21844 LD="$(LD)"; export LD; \
21845 NM="$(NM)"; export NM; \
21846 RANLIB="$(RANLIB)"; export RANLIB; \
21847 WINDRES="$(WINDRES)"; export WINDRES; \
21848 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21849 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21850 echo Configuring in utils; \
21851 cd utils || exit 1; \
21852 case $(srcdir) in \
21853 \.) \
21854 srcdiroption="--srcdir=."; \
21855 libsrcdir=".";; \
21856 /* | [A-Za-z]:[\\/]*) \
21857 srcdiroption="--srcdir=$(srcdir)/utils"; \
21858 libsrcdir="$$s/utils";; \
21859 *) \
21860 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21861 libsrcdir="$$s/utils";; \
21862 esac; \
21863 $(SHELL) $${libsrcdir}/configure \
21864 $(HOST_CONFIGARGS) $${srcdiroption} \
21865 || exit 1
21867 .PHONY: all-utils maybe-all-utils
21868 maybe-all-utils:
21869 all-utils: configure-utils
21870 @r=`${PWD}`; export r; \
21871 s=`cd $(srcdir); ${PWD}`; export s; \
21872 $(SET_LIB_PATH) \
21873 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21875 .PHONY: check-utils maybe-check-utils
21876 maybe-check-utils:
21878 check-utils:
21881 .PHONY: install-utils maybe-install-utils
21882 maybe-install-utils:
21884 install-utils: installdirs
21885 @r=`${PWD}`; export r; \
21886 s=`cd $(srcdir); ${PWD}`; export s; \
21887 $(SET_LIB_PATH) \
21888 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21892 # ---------------------------------------
21893 # Modules which run on the target machine
21894 # ---------------------------------------
21896 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21897 maybe-configure-target-libstdc++-v3:
21899 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21900 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
21901 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21902 mkdir $(TARGET_SUBDIR)/libstdc++-v3; \
21903 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
21904 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21906 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21907 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
21908 [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21909 mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
21910 r=`${PWD}`; export r; \
21911 s=`cd $(srcdir); ${PWD}`; export s; \
21912 $(SET_LIB_PATH) \
21913 AR="$(AR_FOR_TARGET)"; export AR; \
21914 AS="$(AS_FOR_TARGET)"; export AS; \
21915 CC="$(CC_FOR_TARGET)"; export CC; \
21916 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21917 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21918 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21919 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21920 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21921 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21922 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21923 LD="$(LD_FOR_TARGET)"; export LD; \
21924 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21925 NM="$(NM_FOR_TARGET)"; export NM; \
21926 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21927 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21928 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21929 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21930 case $(srcdir) in \
21931 /* | [A-Za-z]:[\\/]*) \
21932 topdir=$(srcdir) ;; \
21933 *) \
21934 case "$(TARGET_SUBDIR)" in \
21935 .) topdir="../$(srcdir)" ;; \
21936 *) topdir="../../$(srcdir)" ;; \
21937 esac ;; \
21938 esac; \
21939 if [ "$(srcdir)" = "." ] ; then \
21940 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
21941 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
21942 if [ -f Makefile ]; then \
21943 if $(MAKE) distclean; then \
21944 true; \
21945 else \
21946 exit 1; \
21947 fi; \
21948 else \
21949 true; \
21950 fi; \
21951 else \
21952 exit 1; \
21953 fi; \
21954 else \
21955 true; \
21956 fi; \
21957 srcdiroption="--srcdir=."; \
21958 libsrcdir="."; \
21959 else \
21960 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
21961 libsrcdir="$$s/libstdc++-v3"; \
21962 fi; \
21963 rm -f no-such-file || : ; \
21964 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21965 $(TARGET_CONFIGARGS) $${srcdiroption} \
21966 --with-target-subdir="$(TARGET_SUBDIR)" \
21967 || exit 1
21969 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
21970 maybe-all-target-libstdc++-v3:
21971 all-target-libstdc++-v3: configure-target-libstdc++-v3
21972 @r=`${PWD}`; export r; \
21973 s=`cd $(srcdir); ${PWD}`; export s; \
21974 $(SET_LIB_PATH) \
21975 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21976 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21978 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
21979 maybe-check-target-libstdc++-v3:
21981 check-target-libstdc++-v3:
21982 @r=`${PWD}`; export r; \
21983 s=`cd $(srcdir); ${PWD}`; export s; \
21984 $(SET_LIB_PATH) \
21985 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21986 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21989 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
21990 maybe-install-target-libstdc++-v3:
21992 install-target-libstdc++-v3: installdirs
21993 @r=`${PWD}`; export r; \
21994 s=`cd $(srcdir); ${PWD}`; export s; \
21995 $(SET_LIB_PATH) \
21996 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22000 .PHONY: configure-target-newlib maybe-configure-target-newlib
22001 maybe-configure-target-newlib:
22003 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22004 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22005 @[ -d $(TARGET_SUBDIR)/newlib ] || \
22006 mkdir $(TARGET_SUBDIR)/newlib; \
22007 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22008 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22010 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22011 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22012 [ -d $(TARGET_SUBDIR)/newlib ] || \
22013 mkdir $(TARGET_SUBDIR)/newlib;\
22014 r=`${PWD}`; export r; \
22015 s=`cd $(srcdir); ${PWD}`; export s; \
22016 $(SET_LIB_PATH) \
22017 AR="$(AR_FOR_TARGET)"; export AR; \
22018 AS="$(AS_FOR_TARGET)"; export AS; \
22019 CC="$(CC_FOR_TARGET)"; export CC; \
22020 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22021 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22022 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22023 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22024 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22025 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22026 LD="$(LD_FOR_TARGET)"; export LD; \
22027 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22028 NM="$(NM_FOR_TARGET)"; export NM; \
22029 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22030 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22031 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22032 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22033 case $(srcdir) in \
22034 /* | [A-Za-z]:[\\/]*) \
22035 topdir=$(srcdir) ;; \
22036 *) \
22037 case "$(TARGET_SUBDIR)" in \
22038 .) topdir="../$(srcdir)" ;; \
22039 *) topdir="../../$(srcdir)" ;; \
22040 esac ;; \
22041 esac; \
22042 if [ "$(srcdir)" = "." ] ; then \
22043 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22044 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22045 if [ -f Makefile ]; then \
22046 if $(MAKE) distclean; then \
22047 true; \
22048 else \
22049 exit 1; \
22050 fi; \
22051 else \
22052 true; \
22053 fi; \
22054 else \
22055 exit 1; \
22056 fi; \
22057 else \
22058 true; \
22059 fi; \
22060 srcdiroption="--srcdir=."; \
22061 libsrcdir="."; \
22062 else \
22063 srcdiroption="--srcdir=$${topdir}/newlib"; \
22064 libsrcdir="$$s/newlib"; \
22065 fi; \
22066 rm -f no-such-file || : ; \
22067 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22068 $(TARGET_CONFIGARGS) $${srcdiroption} \
22069 --with-target-subdir="$(TARGET_SUBDIR)" \
22070 || exit 1
22072 .PHONY: all-target-newlib maybe-all-target-newlib
22073 maybe-all-target-newlib:
22074 all-target-newlib: configure-target-newlib
22075 @r=`${PWD}`; export r; \
22076 s=`cd $(srcdir); ${PWD}`; export s; \
22077 $(SET_LIB_PATH) \
22078 (cd $(TARGET_SUBDIR)/newlib && \
22079 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22081 .PHONY: check-target-newlib maybe-check-target-newlib
22082 maybe-check-target-newlib:
22084 check-target-newlib:
22085 @r=`${PWD}`; export r; \
22086 s=`cd $(srcdir); ${PWD}`; export s; \
22087 $(SET_LIB_PATH) \
22088 (cd $(TARGET_SUBDIR)/newlib && \
22089 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22092 .PHONY: install-target-newlib maybe-install-target-newlib
22093 maybe-install-target-newlib:
22095 install-target-newlib: installdirs
22096 @r=`${PWD}`; export r; \
22097 s=`cd $(srcdir); ${PWD}`; export s; \
22098 $(SET_LIB_PATH) \
22099 (cd $(TARGET_SUBDIR)/newlib && \
22100 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22103 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
22104 maybe-configure-target-libf2c:
22106 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22107 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
22108 @[ -d $(TARGET_SUBDIR)/libf2c ] || \
22109 mkdir $(TARGET_SUBDIR)/libf2c; \
22110 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
22111 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
22113 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
22114 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
22115 [ -d $(TARGET_SUBDIR)/libf2c ] || \
22116 mkdir $(TARGET_SUBDIR)/libf2c;\
22117 r=`${PWD}`; export r; \
22118 s=`cd $(srcdir); ${PWD}`; export s; \
22119 $(SET_LIB_PATH) \
22120 AR="$(AR_FOR_TARGET)"; export AR; \
22121 AS="$(AS_FOR_TARGET)"; export AS; \
22122 CC="$(CC_FOR_TARGET)"; export CC; \
22123 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22124 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22125 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22126 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22127 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22128 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22129 LD="$(LD_FOR_TARGET)"; export LD; \
22130 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22131 NM="$(NM_FOR_TARGET)"; export NM; \
22132 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22133 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22134 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
22135 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
22136 case $(srcdir) in \
22137 /* | [A-Za-z]:[\\/]*) \
22138 topdir=$(srcdir) ;; \
22139 *) \
22140 case "$(TARGET_SUBDIR)" in \
22141 .) topdir="../$(srcdir)" ;; \
22142 *) topdir="../../$(srcdir)" ;; \
22143 esac ;; \
22144 esac; \
22145 if [ "$(srcdir)" = "." ] ; then \
22146 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22147 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22148 if [ -f Makefile ]; then \
22149 if $(MAKE) distclean; then \
22150 true; \
22151 else \
22152 exit 1; \
22153 fi; \
22154 else \
22155 true; \
22156 fi; \
22157 else \
22158 exit 1; \
22159 fi; \
22160 else \
22161 true; \
22162 fi; \
22163 srcdiroption="--srcdir=."; \
22164 libsrcdir="."; \
22165 else \
22166 srcdiroption="--srcdir=$${topdir}/libf2c"; \
22167 libsrcdir="$$s/libf2c"; \
22168 fi; \
22169 rm -f no-such-file || : ; \
22170 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22171 $(TARGET_CONFIGARGS) $${srcdiroption} \
22172 --with-target-subdir="$(TARGET_SUBDIR)" \
22173 || exit 1
22175 .PHONY: all-target-libf2c maybe-all-target-libf2c
22176 maybe-all-target-libf2c:
22177 all-target-libf2c: configure-target-libf2c
22178 @r=`${PWD}`; export r; \
22179 s=`cd $(srcdir); ${PWD}`; export s; \
22180 $(SET_LIB_PATH) \
22181 (cd $(TARGET_SUBDIR)/libf2c && \
22182 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22184 .PHONY: check-target-libf2c maybe-check-target-libf2c
22185 maybe-check-target-libf2c:
22187 check-target-libf2c:
22188 @r=`${PWD}`; export r; \
22189 s=`cd $(srcdir); ${PWD}`; export s; \
22190 $(SET_LIB_PATH) \
22191 (cd $(TARGET_SUBDIR)/libf2c && \
22192 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22195 .PHONY: install-target-libf2c maybe-install-target-libf2c
22196 maybe-install-target-libf2c:
22198 install-target-libf2c: installdirs
22199 @r=`${PWD}`; export r; \
22200 s=`cd $(srcdir); ${PWD}`; export s; \
22201 $(SET_LIB_PATH) \
22202 (cd $(TARGET_SUBDIR)/libf2c && \
22203 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22206 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
22207 maybe-configure-target-libobjc:
22209 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22210 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
22211 @[ -d $(TARGET_SUBDIR)/libobjc ] || \
22212 mkdir $(TARGET_SUBDIR)/libobjc; \
22213 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
22214 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
22216 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
22217 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
22218 [ -d $(TARGET_SUBDIR)/libobjc ] || \
22219 mkdir $(TARGET_SUBDIR)/libobjc;\
22220 r=`${PWD}`; export r; \
22221 s=`cd $(srcdir); ${PWD}`; export s; \
22222 $(SET_LIB_PATH) \
22223 AR="$(AR_FOR_TARGET)"; export AR; \
22224 AS="$(AS_FOR_TARGET)"; export AS; \
22225 CC="$(CC_FOR_TARGET)"; export CC; \
22226 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22227 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22228 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22230 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22231 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22232 LD="$(LD_FOR_TARGET)"; export LD; \
22233 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22234 NM="$(NM_FOR_TARGET)"; export NM; \
22235 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22236 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22237 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
22238 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
22239 case $(srcdir) in \
22240 /* | [A-Za-z]:[\\/]*) \
22241 topdir=$(srcdir) ;; \
22242 *) \
22243 case "$(TARGET_SUBDIR)" in \
22244 .) topdir="../$(srcdir)" ;; \
22245 *) topdir="../../$(srcdir)" ;; \
22246 esac ;; \
22247 esac; \
22248 if [ "$(srcdir)" = "." ] ; then \
22249 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22250 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22251 if [ -f Makefile ]; then \
22252 if $(MAKE) distclean; then \
22253 true; \
22254 else \
22255 exit 1; \
22256 fi; \
22257 else \
22258 true; \
22259 fi; \
22260 else \
22261 exit 1; \
22262 fi; \
22263 else \
22264 true; \
22265 fi; \
22266 srcdiroption="--srcdir=."; \
22267 libsrcdir="."; \
22268 else \
22269 srcdiroption="--srcdir=$${topdir}/libobjc"; \
22270 libsrcdir="$$s/libobjc"; \
22271 fi; \
22272 rm -f no-such-file || : ; \
22273 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22274 $(TARGET_CONFIGARGS) $${srcdiroption} \
22275 --with-target-subdir="$(TARGET_SUBDIR)" \
22276 || exit 1
22278 .PHONY: all-target-libobjc maybe-all-target-libobjc
22279 maybe-all-target-libobjc:
22280 all-target-libobjc: configure-target-libobjc
22281 @r=`${PWD}`; export r; \
22282 s=`cd $(srcdir); ${PWD}`; export s; \
22283 $(SET_LIB_PATH) \
22284 (cd $(TARGET_SUBDIR)/libobjc && \
22285 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22287 .PHONY: check-target-libobjc maybe-check-target-libobjc
22288 maybe-check-target-libobjc:
22290 check-target-libobjc:
22291 @r=`${PWD}`; export r; \
22292 s=`cd $(srcdir); ${PWD}`; export s; \
22293 $(SET_LIB_PATH) \
22294 (cd $(TARGET_SUBDIR)/libobjc && \
22295 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22298 .PHONY: install-target-libobjc maybe-install-target-libobjc
22299 maybe-install-target-libobjc:
22301 install-target-libobjc: installdirs
22302 @r=`${PWD}`; export r; \
22303 s=`cd $(srcdir); ${PWD}`; export s; \
22304 $(SET_LIB_PATH) \
22305 (cd $(TARGET_SUBDIR)/libobjc && \
22306 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22309 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
22310 maybe-configure-target-libtermcap:
22312 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22313 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
22314 @[ -d $(TARGET_SUBDIR)/libtermcap ] || \
22315 mkdir $(TARGET_SUBDIR)/libtermcap; \
22316 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
22317 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
22319 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
22320 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
22321 [ -d $(TARGET_SUBDIR)/libtermcap ] || \
22322 mkdir $(TARGET_SUBDIR)/libtermcap;\
22323 r=`${PWD}`; export r; \
22324 s=`cd $(srcdir); ${PWD}`; export s; \
22325 $(SET_LIB_PATH) \
22326 AR="$(AR_FOR_TARGET)"; export AR; \
22327 AS="$(AS_FOR_TARGET)"; export AS; \
22328 CC="$(CC_FOR_TARGET)"; export CC; \
22329 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22330 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22331 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22332 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22333 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22334 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22335 LD="$(LD_FOR_TARGET)"; export LD; \
22336 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22337 NM="$(NM_FOR_TARGET)"; export NM; \
22338 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22339 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22340 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
22341 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
22342 case $(srcdir) in \
22343 /* | [A-Za-z]:[\\/]*) \
22344 topdir=$(srcdir) ;; \
22345 *) \
22346 case "$(TARGET_SUBDIR)" in \
22347 .) topdir="../$(srcdir)" ;; \
22348 *) topdir="../../$(srcdir)" ;; \
22349 esac ;; \
22350 esac; \
22351 if [ "$(srcdir)" = "." ] ; then \
22352 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22353 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
22354 if [ -f Makefile ]; then \
22355 if $(MAKE) distclean; then \
22356 true; \
22357 else \
22358 exit 1; \
22359 fi; \
22360 else \
22361 true; \
22362 fi; \
22363 else \
22364 exit 1; \
22365 fi; \
22366 else \
22367 true; \
22368 fi; \
22369 srcdiroption="--srcdir=."; \
22370 libsrcdir="."; \
22371 else \
22372 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22373 libsrcdir="$$s/libtermcap"; \
22374 fi; \
22375 rm -f no-such-file || : ; \
22376 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22377 $(TARGET_CONFIGARGS) $${srcdiroption} \
22378 --with-target-subdir="$(TARGET_SUBDIR)" \
22379 || exit 1
22381 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
22382 maybe-all-target-libtermcap:
22383 all-target-libtermcap: configure-target-libtermcap
22384 @r=`${PWD}`; export r; \
22385 s=`cd $(srcdir); ${PWD}`; export s; \
22386 $(SET_LIB_PATH) \
22387 (cd $(TARGET_SUBDIR)/libtermcap && \
22388 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22390 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
22391 maybe-check-target-libtermcap:
22393 # Dummy target for uncheckable module.
22394 check-target-libtermcap:
22397 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
22398 maybe-install-target-libtermcap:
22400 install-target-libtermcap: installdirs
22401 @r=`${PWD}`; export r; \
22402 s=`cd $(srcdir); ${PWD}`; export s; \
22403 $(SET_LIB_PATH) \
22404 (cd $(TARGET_SUBDIR)/libtermcap && \
22405 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22408 .PHONY: configure-target-winsup maybe-configure-target-winsup
22409 maybe-configure-target-winsup:
22411 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22412 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
22413 @[ -d $(TARGET_SUBDIR)/winsup ] || \
22414 mkdir $(TARGET_SUBDIR)/winsup; \
22415 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
22416 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
22418 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
22419 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
22420 [ -d $(TARGET_SUBDIR)/winsup ] || \
22421 mkdir $(TARGET_SUBDIR)/winsup;\
22422 r=`${PWD}`; export r; \
22423 s=`cd $(srcdir); ${PWD}`; export s; \
22424 $(SET_LIB_PATH) \
22425 AR="$(AR_FOR_TARGET)"; export AR; \
22426 AS="$(AS_FOR_TARGET)"; export AS; \
22427 CC="$(CC_FOR_TARGET)"; export CC; \
22428 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22429 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22430 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22431 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22432 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22433 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22434 LD="$(LD_FOR_TARGET)"; export LD; \
22435 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22436 NM="$(NM_FOR_TARGET)"; export NM; \
22437 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22438 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22439 echo Configuring in $(TARGET_SUBDIR)/winsup; \
22440 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
22441 case $(srcdir) in \
22442 /* | [A-Za-z]:[\\/]*) \
22443 topdir=$(srcdir) ;; \
22444 *) \
22445 case "$(TARGET_SUBDIR)" in \
22446 .) topdir="../$(srcdir)" ;; \
22447 *) topdir="../../$(srcdir)" ;; \
22448 esac ;; \
22449 esac; \
22450 if [ "$(srcdir)" = "." ] ; then \
22451 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22452 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22453 if [ -f Makefile ]; then \
22454 if $(MAKE) distclean; then \
22455 true; \
22456 else \
22457 exit 1; \
22458 fi; \
22459 else \
22460 true; \
22461 fi; \
22462 else \
22463 exit 1; \
22464 fi; \
22465 else \
22466 true; \
22467 fi; \
22468 srcdiroption="--srcdir=."; \
22469 libsrcdir="."; \
22470 else \
22471 srcdiroption="--srcdir=$${topdir}/winsup"; \
22472 libsrcdir="$$s/winsup"; \
22473 fi; \
22474 rm -f no-such-file || : ; \
22475 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22476 $(TARGET_CONFIGARGS) $${srcdiroption} \
22477 --with-target-subdir="$(TARGET_SUBDIR)" \
22478 || exit 1
22480 .PHONY: all-target-winsup maybe-all-target-winsup
22481 maybe-all-target-winsup:
22482 all-target-winsup: configure-target-winsup
22483 @r=`${PWD}`; export r; \
22484 s=`cd $(srcdir); ${PWD}`; export s; \
22485 $(SET_LIB_PATH) \
22486 (cd $(TARGET_SUBDIR)/winsup && \
22487 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22489 .PHONY: check-target-winsup maybe-check-target-winsup
22490 maybe-check-target-winsup:
22492 check-target-winsup:
22493 @r=`${PWD}`; export r; \
22494 s=`cd $(srcdir); ${PWD}`; export s; \
22495 $(SET_LIB_PATH) \
22496 (cd $(TARGET_SUBDIR)/winsup && \
22497 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22500 .PHONY: install-target-winsup maybe-install-target-winsup
22501 maybe-install-target-winsup:
22503 install-target-winsup: installdirs
22504 @r=`${PWD}`; export r; \
22505 s=`cd $(srcdir); ${PWD}`; export s; \
22506 $(SET_LIB_PATH) \
22507 (cd $(TARGET_SUBDIR)/winsup && \
22508 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22511 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
22512 maybe-configure-target-libgloss:
22514 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22515 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
22516 @[ -d $(TARGET_SUBDIR)/libgloss ] || \
22517 mkdir $(TARGET_SUBDIR)/libgloss; \
22518 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
22519 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
22521 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
22522 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
22523 [ -d $(TARGET_SUBDIR)/libgloss ] || \
22524 mkdir $(TARGET_SUBDIR)/libgloss;\
22525 r=`${PWD}`; export r; \
22526 s=`cd $(srcdir); ${PWD}`; export s; \
22527 $(SET_LIB_PATH) \
22528 AR="$(AR_FOR_TARGET)"; export AR; \
22529 AS="$(AS_FOR_TARGET)"; export AS; \
22530 CC="$(CC_FOR_TARGET)"; export CC; \
22531 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22532 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22533 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22535 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22536 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22537 LD="$(LD_FOR_TARGET)"; export LD; \
22538 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22539 NM="$(NM_FOR_TARGET)"; export NM; \
22540 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22541 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22542 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
22543 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
22544 case $(srcdir) in \
22545 /* | [A-Za-z]:[\\/]*) \
22546 topdir=$(srcdir) ;; \
22547 *) \
22548 case "$(TARGET_SUBDIR)" in \
22549 .) topdir="../$(srcdir)" ;; \
22550 *) topdir="../../$(srcdir)" ;; \
22551 esac ;; \
22552 esac; \
22553 if [ "$(srcdir)" = "." ] ; then \
22554 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22555 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
22556 if [ -f Makefile ]; then \
22557 if $(MAKE) distclean; then \
22558 true; \
22559 else \
22560 exit 1; \
22561 fi; \
22562 else \
22563 true; \
22564 fi; \
22565 else \
22566 exit 1; \
22567 fi; \
22568 else \
22569 true; \
22570 fi; \
22571 srcdiroption="--srcdir=."; \
22572 libsrcdir="."; \
22573 else \
22574 srcdiroption="--srcdir=$${topdir}/libgloss"; \
22575 libsrcdir="$$s/libgloss"; \
22576 fi; \
22577 rm -f no-such-file || : ; \
22578 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22579 $(TARGET_CONFIGARGS) $${srcdiroption} \
22580 --with-target-subdir="$(TARGET_SUBDIR)" \
22581 || exit 1
22583 .PHONY: all-target-libgloss maybe-all-target-libgloss
22584 maybe-all-target-libgloss:
22585 all-target-libgloss: configure-target-libgloss
22586 @r=`${PWD}`; export r; \
22587 s=`cd $(srcdir); ${PWD}`; export s; \
22588 $(SET_LIB_PATH) \
22589 (cd $(TARGET_SUBDIR)/libgloss && \
22590 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22592 .PHONY: check-target-libgloss maybe-check-target-libgloss
22593 maybe-check-target-libgloss:
22595 # Dummy target for uncheckable module.
22596 check-target-libgloss:
22599 .PHONY: install-target-libgloss maybe-install-target-libgloss
22600 maybe-install-target-libgloss:
22602 install-target-libgloss: installdirs
22603 @r=`${PWD}`; export r; \
22604 s=`cd $(srcdir); ${PWD}`; export s; \
22605 $(SET_LIB_PATH) \
22606 (cd $(TARGET_SUBDIR)/libgloss && \
22607 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22610 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
22611 maybe-configure-target-libiberty:
22613 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22614 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
22615 @[ -d $(TARGET_SUBDIR)/libiberty ] || \
22616 mkdir $(TARGET_SUBDIR)/libiberty; \
22617 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
22618 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
22620 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
22621 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
22622 [ -d $(TARGET_SUBDIR)/libiberty ] || \
22623 mkdir $(TARGET_SUBDIR)/libiberty;\
22624 r=`${PWD}`; export r; \
22625 s=`cd $(srcdir); ${PWD}`; export s; \
22626 $(SET_LIB_PATH) \
22627 AR="$(AR_FOR_TARGET)"; export AR; \
22628 AS="$(AS_FOR_TARGET)"; export AS; \
22629 CC="$(CC_FOR_TARGET)"; export CC; \
22630 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22631 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22632 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22633 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22634 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22635 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22636 LD="$(LD_FOR_TARGET)"; export LD; \
22637 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22638 NM="$(NM_FOR_TARGET)"; export NM; \
22639 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22640 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22641 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
22642 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
22643 case $(srcdir) in \
22644 /* | [A-Za-z]:[\\/]*) \
22645 topdir=$(srcdir) ;; \
22646 *) \
22647 case "$(TARGET_SUBDIR)" in \
22648 .) topdir="../$(srcdir)" ;; \
22649 *) topdir="../../$(srcdir)" ;; \
22650 esac ;; \
22651 esac; \
22652 if [ "$(srcdir)" = "." ] ; then \
22653 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22654 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
22655 if [ -f Makefile ]; then \
22656 if $(MAKE) distclean; then \
22657 true; \
22658 else \
22659 exit 1; \
22660 fi; \
22661 else \
22662 true; \
22663 fi; \
22664 else \
22665 exit 1; \
22666 fi; \
22667 else \
22668 true; \
22669 fi; \
22670 srcdiroption="--srcdir=."; \
22671 libsrcdir="."; \
22672 else \
22673 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22674 libsrcdir="$$s/libiberty"; \
22675 fi; \
22676 rm -f no-such-file || : ; \
22677 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22678 $(TARGET_CONFIGARGS) $${srcdiroption} \
22679 --with-target-subdir="$(TARGET_SUBDIR)" \
22680 || exit 1
22682 .PHONY: all-target-libiberty maybe-all-target-libiberty
22683 maybe-all-target-libiberty:
22684 all-target-libiberty: configure-target-libiberty
22685 @r=`${PWD}`; export r; \
22686 s=`cd $(srcdir); ${PWD}`; export s; \
22687 $(SET_LIB_PATH) \
22688 (cd $(TARGET_SUBDIR)/libiberty && \
22689 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22691 .PHONY: check-target-libiberty maybe-check-target-libiberty
22692 maybe-check-target-libiberty:
22694 check-target-libiberty:
22695 @r=`${PWD}`; export r; \
22696 s=`cd $(srcdir); ${PWD}`; export s; \
22697 $(SET_LIB_PATH) \
22698 (cd $(TARGET_SUBDIR)/libiberty && \
22699 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22702 .PHONY: install-target-libiberty maybe-install-target-libiberty
22703 maybe-install-target-libiberty:
22705 install-target-libiberty: installdirs
22706 @r=`${PWD}`; export r; \
22707 s=`cd $(srcdir); ${PWD}`; export s; \
22708 $(SET_LIB_PATH) \
22709 (cd $(TARGET_SUBDIR)/libiberty && \
22710 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22713 .PHONY: configure-target-gperf maybe-configure-target-gperf
22714 maybe-configure-target-gperf:
22716 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22717 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
22718 @[ -d $(TARGET_SUBDIR)/gperf ] || \
22719 mkdir $(TARGET_SUBDIR)/gperf; \
22720 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
22721 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
22723 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
22724 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
22725 [ -d $(TARGET_SUBDIR)/gperf ] || \
22726 mkdir $(TARGET_SUBDIR)/gperf;\
22727 r=`${PWD}`; export r; \
22728 s=`cd $(srcdir); ${PWD}`; export s; \
22729 $(SET_LIB_PATH) \
22730 AR="$(AR_FOR_TARGET)"; export AR; \
22731 AS="$(AS_FOR_TARGET)"; export AS; \
22732 CC="$(CC_FOR_TARGET)"; export CC; \
22733 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22734 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22735 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22736 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22737 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22738 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22739 LD="$(LD_FOR_TARGET)"; export LD; \
22740 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22741 NM="$(NM_FOR_TARGET)"; export NM; \
22742 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22743 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22744 echo Configuring in $(TARGET_SUBDIR)/gperf; \
22745 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
22746 case $(srcdir) in \
22747 /* | [A-Za-z]:[\\/]*) \
22748 topdir=$(srcdir) ;; \
22749 *) \
22750 case "$(TARGET_SUBDIR)" in \
22751 .) topdir="../$(srcdir)" ;; \
22752 *) topdir="../../$(srcdir)" ;; \
22753 esac ;; \
22754 esac; \
22755 if [ "$(srcdir)" = "." ] ; then \
22756 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22757 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
22758 if [ -f Makefile ]; then \
22759 if $(MAKE) distclean; then \
22760 true; \
22761 else \
22762 exit 1; \
22763 fi; \
22764 else \
22765 true; \
22766 fi; \
22767 else \
22768 exit 1; \
22769 fi; \
22770 else \
22771 true; \
22772 fi; \
22773 srcdiroption="--srcdir=."; \
22774 libsrcdir="."; \
22775 else \
22776 srcdiroption="--srcdir=$${topdir}/gperf"; \
22777 libsrcdir="$$s/gperf"; \
22778 fi; \
22779 rm -f no-such-file || : ; \
22780 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22781 $(TARGET_CONFIGARGS) $${srcdiroption} \
22782 --with-target-subdir="$(TARGET_SUBDIR)" \
22783 || exit 1
22785 .PHONY: all-target-gperf maybe-all-target-gperf
22786 maybe-all-target-gperf:
22787 all-target-gperf: configure-target-gperf
22788 @r=`${PWD}`; export r; \
22789 s=`cd $(srcdir); ${PWD}`; export s; \
22790 $(SET_LIB_PATH) \
22791 (cd $(TARGET_SUBDIR)/gperf && \
22792 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22794 .PHONY: check-target-gperf maybe-check-target-gperf
22795 maybe-check-target-gperf:
22797 check-target-gperf:
22798 @r=`${PWD}`; export r; \
22799 s=`cd $(srcdir); ${PWD}`; export s; \
22800 $(SET_LIB_PATH) \
22801 (cd $(TARGET_SUBDIR)/gperf && \
22802 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22805 .PHONY: install-target-gperf maybe-install-target-gperf
22806 maybe-install-target-gperf:
22808 install-target-gperf: installdirs
22809 @r=`${PWD}`; export r; \
22810 s=`cd $(srcdir); ${PWD}`; export s; \
22811 $(SET_LIB_PATH) \
22812 (cd $(TARGET_SUBDIR)/gperf && \
22813 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22816 .PHONY: configure-target-examples maybe-configure-target-examples
22817 maybe-configure-target-examples:
22819 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22820 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22821 @[ -d $(TARGET_SUBDIR)/examples ] || \
22822 mkdir $(TARGET_SUBDIR)/examples; \
22823 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22824 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22826 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22827 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22828 [ -d $(TARGET_SUBDIR)/examples ] || \
22829 mkdir $(TARGET_SUBDIR)/examples;\
22830 r=`${PWD}`; export r; \
22831 s=`cd $(srcdir); ${PWD}`; export s; \
22832 $(SET_LIB_PATH) \
22833 AR="$(AR_FOR_TARGET)"; export AR; \
22834 AS="$(AS_FOR_TARGET)"; export AS; \
22835 CC="$(CC_FOR_TARGET)"; export CC; \
22836 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22837 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22838 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22839 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22840 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22841 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22842 LD="$(LD_FOR_TARGET)"; export LD; \
22843 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22844 NM="$(NM_FOR_TARGET)"; export NM; \
22845 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22846 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22847 echo Configuring in $(TARGET_SUBDIR)/examples; \
22848 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22849 case $(srcdir) in \
22850 /* | [A-Za-z]:[\\/]*) \
22851 topdir=$(srcdir) ;; \
22852 *) \
22853 case "$(TARGET_SUBDIR)" in \
22854 .) topdir="../$(srcdir)" ;; \
22855 *) topdir="../../$(srcdir)" ;; \
22856 esac ;; \
22857 esac; \
22858 if [ "$(srcdir)" = "." ] ; then \
22859 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22860 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
22861 if [ -f Makefile ]; then \
22862 if $(MAKE) distclean; then \
22863 true; \
22864 else \
22865 exit 1; \
22866 fi; \
22867 else \
22868 true; \
22869 fi; \
22870 else \
22871 exit 1; \
22872 fi; \
22873 else \
22874 true; \
22875 fi; \
22876 srcdiroption="--srcdir=."; \
22877 libsrcdir="."; \
22878 else \
22879 srcdiroption="--srcdir=$${topdir}/examples"; \
22880 libsrcdir="$$s/examples"; \
22881 fi; \
22882 rm -f no-such-file || : ; \
22883 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22884 $(TARGET_CONFIGARGS) $${srcdiroption} \
22885 --with-target-subdir="$(TARGET_SUBDIR)" \
22886 || exit 1
22888 .PHONY: all-target-examples maybe-all-target-examples
22889 maybe-all-target-examples:
22890 all-target-examples: configure-target-examples
22891 @r=`${PWD}`; export r; \
22892 s=`cd $(srcdir); ${PWD}`; export s; \
22893 $(SET_LIB_PATH) \
22894 (cd $(TARGET_SUBDIR)/examples && \
22895 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22897 .PHONY: check-target-examples maybe-check-target-examples
22898 maybe-check-target-examples:
22900 # Dummy target for uncheckable module.
22901 check-target-examples:
22904 .PHONY: install-target-examples maybe-install-target-examples
22905 maybe-install-target-examples:
22907 # Dummy target for uninstallable.
22908 install-target-examples:
22911 .PHONY: configure-target-libffi maybe-configure-target-libffi
22912 maybe-configure-target-libffi:
22914 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22915 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
22916 @[ -d $(TARGET_SUBDIR)/libffi ] || \
22917 mkdir $(TARGET_SUBDIR)/libffi; \
22918 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
22919 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
22921 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22922 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
22923 [ -d $(TARGET_SUBDIR)/libffi ] || \
22924 mkdir $(TARGET_SUBDIR)/libffi;\
22925 r=`${PWD}`; export r; \
22926 s=`cd $(srcdir); ${PWD}`; export s; \
22927 $(SET_LIB_PATH) \
22928 AR="$(AR_FOR_TARGET)"; export AR; \
22929 AS="$(AS_FOR_TARGET)"; export AS; \
22930 CC="$(CC_FOR_TARGET)"; export CC; \
22931 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22932 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22933 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22935 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22936 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22937 LD="$(LD_FOR_TARGET)"; export LD; \
22938 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22939 NM="$(NM_FOR_TARGET)"; export NM; \
22940 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22941 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22942 echo Configuring in $(TARGET_SUBDIR)/libffi; \
22943 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
22944 case $(srcdir) in \
22945 /* | [A-Za-z]:[\\/]*) \
22946 topdir=$(srcdir) ;; \
22947 *) \
22948 case "$(TARGET_SUBDIR)" in \
22949 .) topdir="../$(srcdir)" ;; \
22950 *) topdir="../../$(srcdir)" ;; \
22951 esac ;; \
22952 esac; \
22953 if [ "$(srcdir)" = "." ] ; then \
22954 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22955 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
22956 if [ -f Makefile ]; then \
22957 if $(MAKE) distclean; then \
22958 true; \
22959 else \
22960 exit 1; \
22961 fi; \
22962 else \
22963 true; \
22964 fi; \
22965 else \
22966 exit 1; \
22967 fi; \
22968 else \
22969 true; \
22970 fi; \
22971 srcdiroption="--srcdir=."; \
22972 libsrcdir="."; \
22973 else \
22974 srcdiroption="--srcdir=$${topdir}/libffi"; \
22975 libsrcdir="$$s/libffi"; \
22976 fi; \
22977 rm -f no-such-file || : ; \
22978 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22979 $(TARGET_CONFIGARGS) $${srcdiroption} \
22980 --with-target-subdir="$(TARGET_SUBDIR)" \
22981 || exit 1
22983 .PHONY: all-target-libffi maybe-all-target-libffi
22984 maybe-all-target-libffi:
22985 all-target-libffi: configure-target-libffi
22986 @r=`${PWD}`; export r; \
22987 s=`cd $(srcdir); ${PWD}`; export s; \
22988 $(SET_LIB_PATH) \
22989 (cd $(TARGET_SUBDIR)/libffi && \
22990 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22992 .PHONY: check-target-libffi maybe-check-target-libffi
22993 maybe-check-target-libffi:
22995 check-target-libffi:
22996 @r=`${PWD}`; export r; \
22997 s=`cd $(srcdir); ${PWD}`; export s; \
22998 $(SET_LIB_PATH) \
22999 (cd $(TARGET_SUBDIR)/libffi && \
23000 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23003 .PHONY: install-target-libffi maybe-install-target-libffi
23004 maybe-install-target-libffi:
23006 install-target-libffi: installdirs
23007 @r=`${PWD}`; export r; \
23008 s=`cd $(srcdir); ${PWD}`; export s; \
23009 $(SET_LIB_PATH) \
23010 (cd $(TARGET_SUBDIR)/libffi && \
23011 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23014 .PHONY: configure-target-libjava maybe-configure-target-libjava
23015 maybe-configure-target-libjava:
23017 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23018 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
23019 @[ -d $(TARGET_SUBDIR)/libjava ] || \
23020 mkdir $(TARGET_SUBDIR)/libjava; \
23021 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
23022 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
23024 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
23025 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
23026 [ -d $(TARGET_SUBDIR)/libjava ] || \
23027 mkdir $(TARGET_SUBDIR)/libjava;\
23028 r=`${PWD}`; export r; \
23029 s=`cd $(srcdir); ${PWD}`; export s; \
23030 $(SET_LIB_PATH) \
23031 AR="$(AR_FOR_TARGET)"; export AR; \
23032 AS="$(AS_FOR_TARGET)"; export AS; \
23033 CC="$(CC_FOR_TARGET)"; export CC; \
23034 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23035 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23036 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
23037 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
23038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23039 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23040 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23041 LD="$(LD_FOR_TARGET)"; export LD; \
23042 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23043 NM="$(NM_FOR_TARGET)"; export NM; \
23044 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23045 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23046 echo Configuring in $(TARGET_SUBDIR)/libjava; \
23047 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
23048 case $(srcdir) in \
23049 /* | [A-Za-z]:[\\/]*) \
23050 topdir=$(srcdir) ;; \
23051 *) \
23052 case "$(TARGET_SUBDIR)" in \
23053 .) topdir="../$(srcdir)" ;; \
23054 *) topdir="../../$(srcdir)" ;; \
23055 esac ;; \
23056 esac; \
23057 if [ "$(srcdir)" = "." ] ; then \
23058 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23059 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23060 if [ -f Makefile ]; then \
23061 if $(MAKE) distclean; then \
23062 true; \
23063 else \
23064 exit 1; \
23065 fi; \
23066 else \
23067 true; \
23068 fi; \
23069 else \
23070 exit 1; \
23071 fi; \
23072 else \
23073 true; \
23074 fi; \
23075 srcdiroption="--srcdir=."; \
23076 libsrcdir="."; \
23077 else \
23078 srcdiroption="--srcdir=$${topdir}/libjava"; \
23079 libsrcdir="$$s/libjava"; \
23080 fi; \
23081 rm -f no-such-file || : ; \
23082 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23083 $(TARGET_CONFIGARGS) $${srcdiroption} \
23084 --with-target-subdir="$(TARGET_SUBDIR)" \
23085 || exit 1
23087 .PHONY: all-target-libjava maybe-all-target-libjava
23088 maybe-all-target-libjava:
23089 all-target-libjava: configure-target-libjava
23090 @r=`${PWD}`; export r; \
23091 s=`cd $(srcdir); ${PWD}`; export s; \
23092 $(SET_LIB_PATH) \
23093 (cd $(TARGET_SUBDIR)/libjava && \
23094 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
23096 .PHONY: check-target-libjava maybe-check-target-libjava
23097 maybe-check-target-libjava:
23099 check-target-libjava:
23100 @r=`${PWD}`; export r; \
23101 s=`cd $(srcdir); ${PWD}`; export s; \
23102 $(SET_LIB_PATH) \
23103 (cd $(TARGET_SUBDIR)/libjava && \
23104 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23107 .PHONY: install-target-libjava maybe-install-target-libjava
23108 maybe-install-target-libjava:
23110 install-target-libjava: installdirs
23111 @r=`${PWD}`; export r; \
23112 s=`cd $(srcdir); ${PWD}`; export s; \
23113 $(SET_LIB_PATH) \
23114 (cd $(TARGET_SUBDIR)/libjava && \
23115 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23118 .PHONY: configure-target-zlib maybe-configure-target-zlib
23119 maybe-configure-target-zlib:
23121 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23122 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
23123 @[ -d $(TARGET_SUBDIR)/zlib ] || \
23124 mkdir $(TARGET_SUBDIR)/zlib; \
23125 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
23126 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
23128 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
23129 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
23130 [ -d $(TARGET_SUBDIR)/zlib ] || \
23131 mkdir $(TARGET_SUBDIR)/zlib;\
23132 r=`${PWD}`; export r; \
23133 s=`cd $(srcdir); ${PWD}`; export s; \
23134 $(SET_LIB_PATH) \
23135 AR="$(AR_FOR_TARGET)"; export AR; \
23136 AS="$(AS_FOR_TARGET)"; export AS; \
23137 CC="$(CC_FOR_TARGET)"; export CC; \
23138 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23139 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23140 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23141 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23142 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23143 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23144 LD="$(LD_FOR_TARGET)"; export LD; \
23145 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23146 NM="$(NM_FOR_TARGET)"; export NM; \
23147 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23148 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23149 echo Configuring in $(TARGET_SUBDIR)/zlib; \
23150 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
23151 case $(srcdir) in \
23152 /* | [A-Za-z]:[\\/]*) \
23153 topdir=$(srcdir) ;; \
23154 *) \
23155 case "$(TARGET_SUBDIR)" in \
23156 .) topdir="../$(srcdir)" ;; \
23157 *) topdir="../../$(srcdir)" ;; \
23158 esac ;; \
23159 esac; \
23160 if [ "$(srcdir)" = "." ] ; then \
23161 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23162 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
23163 if [ -f Makefile ]; then \
23164 if $(MAKE) distclean; then \
23165 true; \
23166 else \
23167 exit 1; \
23168 fi; \
23169 else \
23170 true; \
23171 fi; \
23172 else \
23173 exit 1; \
23174 fi; \
23175 else \
23176 true; \
23177 fi; \
23178 srcdiroption="--srcdir=."; \
23179 libsrcdir="."; \
23180 else \
23181 srcdiroption="--srcdir=$${topdir}/zlib"; \
23182 libsrcdir="$$s/zlib"; \
23183 fi; \
23184 rm -f no-such-file || : ; \
23185 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23186 $(TARGET_CONFIGARGS) $${srcdiroption} \
23187 --with-target-subdir="$(TARGET_SUBDIR)" \
23188 || exit 1
23190 .PHONY: all-target-zlib maybe-all-target-zlib
23191 maybe-all-target-zlib:
23192 all-target-zlib: configure-target-zlib
23193 @r=`${PWD}`; export r; \
23194 s=`cd $(srcdir); ${PWD}`; export s; \
23195 $(SET_LIB_PATH) \
23196 (cd $(TARGET_SUBDIR)/zlib && \
23197 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23199 .PHONY: check-target-zlib maybe-check-target-zlib
23200 maybe-check-target-zlib:
23202 check-target-zlib:
23203 @r=`${PWD}`; export r; \
23204 s=`cd $(srcdir); ${PWD}`; export s; \
23205 $(SET_LIB_PATH) \
23206 (cd $(TARGET_SUBDIR)/zlib && \
23207 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23210 .PHONY: install-target-zlib maybe-install-target-zlib
23211 maybe-install-target-zlib:
23213 install-target-zlib: installdirs
23214 @r=`${PWD}`; export r; \
23215 s=`cd $(srcdir); ${PWD}`; export s; \
23216 $(SET_LIB_PATH) \
23217 (cd $(TARGET_SUBDIR)/zlib && \
23218 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23221 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23222 maybe-configure-target-boehm-gc:
23224 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23225 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23226 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23227 mkdir $(TARGET_SUBDIR)/boehm-gc; \
23228 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23229 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23231 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23232 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23233 [ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23234 mkdir $(TARGET_SUBDIR)/boehm-gc;\
23235 r=`${PWD}`; export r; \
23236 s=`cd $(srcdir); ${PWD}`; export s; \
23237 $(SET_LIB_PATH) \
23238 AR="$(AR_FOR_TARGET)"; export AR; \
23239 AS="$(AS_FOR_TARGET)"; export AS; \
23240 CC="$(CC_FOR_TARGET)"; export CC; \
23241 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23242 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23243 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23245 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23246 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23247 LD="$(LD_FOR_TARGET)"; export LD; \
23248 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23249 NM="$(NM_FOR_TARGET)"; export NM; \
23250 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23251 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23252 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23253 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23254 case $(srcdir) in \
23255 /* | [A-Za-z]:[\\/]*) \
23256 topdir=$(srcdir) ;; \
23257 *) \
23258 case "$(TARGET_SUBDIR)" in \
23259 .) topdir="../$(srcdir)" ;; \
23260 *) topdir="../../$(srcdir)" ;; \
23261 esac ;; \
23262 esac; \
23263 if [ "$(srcdir)" = "." ] ; then \
23264 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23265 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23266 if [ -f Makefile ]; then \
23267 if $(MAKE) distclean; then \
23268 true; \
23269 else \
23270 exit 1; \
23271 fi; \
23272 else \
23273 true; \
23274 fi; \
23275 else \
23276 exit 1; \
23277 fi; \
23278 else \
23279 true; \
23280 fi; \
23281 srcdiroption="--srcdir=."; \
23282 libsrcdir="."; \
23283 else \
23284 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23285 libsrcdir="$$s/boehm-gc"; \
23286 fi; \
23287 rm -f no-such-file || : ; \
23288 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23289 $(TARGET_CONFIGARGS) $${srcdiroption} \
23290 --with-target-subdir="$(TARGET_SUBDIR)" \
23291 || exit 1
23293 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23294 maybe-all-target-boehm-gc:
23295 all-target-boehm-gc: configure-target-boehm-gc
23296 @r=`${PWD}`; export r; \
23297 s=`cd $(srcdir); ${PWD}`; export s; \
23298 $(SET_LIB_PATH) \
23299 (cd $(TARGET_SUBDIR)/boehm-gc && \
23300 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23302 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23303 maybe-check-target-boehm-gc:
23305 check-target-boehm-gc:
23306 @r=`${PWD}`; export r; \
23307 s=`cd $(srcdir); ${PWD}`; export s; \
23308 $(SET_LIB_PATH) \
23309 (cd $(TARGET_SUBDIR)/boehm-gc && \
23310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23313 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23314 maybe-install-target-boehm-gc:
23316 install-target-boehm-gc: installdirs
23317 @r=`${PWD}`; export r; \
23318 s=`cd $(srcdir); ${PWD}`; export s; \
23319 $(SET_LIB_PATH) \
23320 (cd $(TARGET_SUBDIR)/boehm-gc && \
23321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23324 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23325 maybe-configure-target-qthreads:
23327 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23328 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23329 @[ -d $(TARGET_SUBDIR)/qthreads ] || \
23330 mkdir $(TARGET_SUBDIR)/qthreads; \
23331 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23332 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23334 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23335 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23336 [ -d $(TARGET_SUBDIR)/qthreads ] || \
23337 mkdir $(TARGET_SUBDIR)/qthreads;\
23338 r=`${PWD}`; export r; \
23339 s=`cd $(srcdir); ${PWD}`; export s; \
23340 $(SET_LIB_PATH) \
23341 AR="$(AR_FOR_TARGET)"; export AR; \
23342 AS="$(AS_FOR_TARGET)"; export AS; \
23343 CC="$(CC_FOR_TARGET)"; export CC; \
23344 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23345 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23346 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23348 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23349 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23350 LD="$(LD_FOR_TARGET)"; export LD; \
23351 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23352 NM="$(NM_FOR_TARGET)"; export NM; \
23353 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23354 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23355 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23356 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23357 case $(srcdir) in \
23358 /* | [A-Za-z]:[\\/]*) \
23359 topdir=$(srcdir) ;; \
23360 *) \
23361 case "$(TARGET_SUBDIR)" in \
23362 .) topdir="../$(srcdir)" ;; \
23363 *) topdir="../../$(srcdir)" ;; \
23364 esac ;; \
23365 esac; \
23366 if [ "$(srcdir)" = "." ] ; then \
23367 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23368 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23369 if [ -f Makefile ]; then \
23370 if $(MAKE) distclean; then \
23371 true; \
23372 else \
23373 exit 1; \
23374 fi; \
23375 else \
23376 true; \
23377 fi; \
23378 else \
23379 exit 1; \
23380 fi; \
23381 else \
23382 true; \
23383 fi; \
23384 srcdiroption="--srcdir=."; \
23385 libsrcdir="."; \
23386 else \
23387 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23388 libsrcdir="$$s/qthreads"; \
23389 fi; \
23390 rm -f no-such-file || : ; \
23391 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23392 $(TARGET_CONFIGARGS) $${srcdiroption} \
23393 --with-target-subdir="$(TARGET_SUBDIR)" \
23394 || exit 1
23396 .PHONY: all-target-qthreads maybe-all-target-qthreads
23397 maybe-all-target-qthreads:
23398 all-target-qthreads: configure-target-qthreads
23399 @r=`${PWD}`; export r; \
23400 s=`cd $(srcdir); ${PWD}`; export s; \
23401 $(SET_LIB_PATH) \
23402 (cd $(TARGET_SUBDIR)/qthreads && \
23403 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23405 .PHONY: check-target-qthreads maybe-check-target-qthreads
23406 maybe-check-target-qthreads:
23408 check-target-qthreads:
23409 @r=`${PWD}`; export r; \
23410 s=`cd $(srcdir); ${PWD}`; export s; \
23411 $(SET_LIB_PATH) \
23412 (cd $(TARGET_SUBDIR)/qthreads && \
23413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23416 .PHONY: install-target-qthreads maybe-install-target-qthreads
23417 maybe-install-target-qthreads:
23419 install-target-qthreads: installdirs
23420 @r=`${PWD}`; export r; \
23421 s=`cd $(srcdir); ${PWD}`; export s; \
23422 $(SET_LIB_PATH) \
23423 (cd $(TARGET_SUBDIR)/qthreads && \
23424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23427 .PHONY: configure-target-rda maybe-configure-target-rda
23428 maybe-configure-target-rda:
23430 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23431 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23432 @[ -d $(TARGET_SUBDIR)/rda ] || \
23433 mkdir $(TARGET_SUBDIR)/rda; \
23434 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23435 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23437 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23438 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23439 [ -d $(TARGET_SUBDIR)/rda ] || \
23440 mkdir $(TARGET_SUBDIR)/rda;\
23441 r=`${PWD}`; export r; \
23442 s=`cd $(srcdir); ${PWD}`; export s; \
23443 $(SET_LIB_PATH) \
23444 AR="$(AR_FOR_TARGET)"; export AR; \
23445 AS="$(AS_FOR_TARGET)"; export AS; \
23446 CC="$(CC_FOR_TARGET)"; export CC; \
23447 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23448 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23449 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23450 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23451 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23452 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23453 LD="$(LD_FOR_TARGET)"; export LD; \
23454 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23455 NM="$(NM_FOR_TARGET)"; export NM; \
23456 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23457 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23458 echo Configuring in $(TARGET_SUBDIR)/rda; \
23459 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23460 case $(srcdir) in \
23461 /* | [A-Za-z]:[\\/]*) \
23462 topdir=$(srcdir) ;; \
23463 *) \
23464 case "$(TARGET_SUBDIR)" in \
23465 .) topdir="../$(srcdir)" ;; \
23466 *) topdir="../../$(srcdir)" ;; \
23467 esac ;; \
23468 esac; \
23469 if [ "$(srcdir)" = "." ] ; then \
23470 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23471 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
23472 if [ -f Makefile ]; then \
23473 if $(MAKE) distclean; then \
23474 true; \
23475 else \
23476 exit 1; \
23477 fi; \
23478 else \
23479 true; \
23480 fi; \
23481 else \
23482 exit 1; \
23483 fi; \
23484 else \
23485 true; \
23486 fi; \
23487 srcdiroption="--srcdir=."; \
23488 libsrcdir="."; \
23489 else \
23490 srcdiroption="--srcdir=$${topdir}/rda"; \
23491 libsrcdir="$$s/rda"; \
23492 fi; \
23493 rm -f no-such-file || : ; \
23494 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23495 $(TARGET_CONFIGARGS) $${srcdiroption} \
23496 --with-target-subdir="$(TARGET_SUBDIR)" \
23497 || exit 1
23499 .PHONY: all-target-rda maybe-all-target-rda
23500 maybe-all-target-rda:
23501 all-target-rda: configure-target-rda
23502 @r=`${PWD}`; export r; \
23503 s=`cd $(srcdir); ${PWD}`; export s; \
23504 $(SET_LIB_PATH) \
23505 (cd $(TARGET_SUBDIR)/rda && \
23506 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23508 .PHONY: check-target-rda maybe-check-target-rda
23509 maybe-check-target-rda:
23511 check-target-rda:
23512 @r=`${PWD}`; export r; \
23513 s=`cd $(srcdir); ${PWD}`; export s; \
23514 $(SET_LIB_PATH) \
23515 (cd $(TARGET_SUBDIR)/rda && \
23516 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23519 .PHONY: install-target-rda maybe-install-target-rda
23520 maybe-install-target-rda:
23522 install-target-rda: installdirs
23523 @r=`${PWD}`; export r; \
23524 s=`cd $(srcdir); ${PWD}`; export s; \
23525 $(SET_LIB_PATH) \
23526 (cd $(TARGET_SUBDIR)/rda && \
23527 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23531 # ----------
23532 # GCC module
23533 # ----------
23535 # Unfortunately, while gcc _should_ be a host module,
23536 # libgcc is a target module, and gen* programs are
23537 # build modules. So GCC is a sort of hybrid.
23539 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23540 .PHONY: configure-gcc maybe-configure-gcc
23541 maybe-configure-gcc:
23542 configure-gcc:
23543 @test ! -f gcc/Makefile || exit 0; \
23544 [ -d gcc ] || mkdir gcc; \
23545 r=`${PWD}`; export r; \
23546 s=`cd $(srcdir); ${PWD}`; export s; \
23547 CC="$(CC)"; export CC; \
23548 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23549 CXX="$(CXX)"; export CXX; \
23550 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23551 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23552 AR="$(AR)"; export AR; \
23553 AS="$(AS)"; export AS; \
23554 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23555 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23556 LD="$(LD)"; export LD; \
23557 NM="$(NM)"; export NM; \
23558 RANLIB="$(RANLIB)"; export RANLIB; \
23559 WINDRES="$(WINDRES)"; export WINDRES; \
23560 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23561 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23562 echo Configuring in gcc; \
23563 cd gcc || exit 1; \
23564 case $(srcdir) in \
23565 \.) \
23566 srcdiroption="--srcdir=."; \
23567 libsrcdir=".";; \
23568 /* | [A-Za-z]:[\\/]*) \
23569 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23570 libsrcdir="$$s/gcc";; \
23571 *) \
23572 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23573 libsrcdir="$$s/gcc";; \
23574 esac; \
23575 $(SHELL) $${libsrcdir}/configure \
23576 $(HOST_CONFIGARGS) $${srcdiroption} \
23577 || exit 1
23579 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23580 # causes trouble. This wart will be fixed eventually by moving
23581 # the bootstrap behavior to this file.
23582 .PHONY: all-gcc maybe-all-gcc
23583 maybe-all-gcc:
23584 all-gcc: configure-gcc
23585 @if [ -f gcc/stage_last ] ; then \
23586 r=`${PWD}`; export r; \
23587 s=`cd $(srcdir); ${PWD}`; export s; \
23588 $(SET_LIB_PATH) \
23589 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23590 else \
23591 r=`${PWD}`; export r; \
23592 s=`cd $(srcdir); ${PWD}`; export s; \
23593 $(SET_LIB_PATH) \
23594 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23597 # Building GCC uses some tools for rebuilding "source" files
23598 # like texinfo, bison/byacc, etc. So we must depend on those.
23600 # While building GCC, it may be necessary to run various target
23601 # programs like the assembler, linker, etc. So we depend on
23602 # those too.
23604 # In theory, on an SMP all those dependencies can be resolved
23605 # in parallel.
23607 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23608 .PHONY: $(GCC_STRAP_TARGETS)
23609 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23610 @r=`${PWD}`; export r; \
23611 s=`cd $(srcdir); ${PWD}`; export s; \
23612 $(SET_LIB_PATH) \
23613 echo "Bootstrapping the compiler"; \
23614 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23615 @r=`${PWD}`; export r; \
23616 s=`cd $(srcdir); ${PWD}`; export s; \
23617 case "$@" in \
23618 *bootstrap4-lean ) \
23619 msg="Comparing stage3 and stage4 of the compiler"; \
23620 compare=compare3-lean ;; \
23621 *bootstrap4 ) \
23622 msg="Comparing stage3 and stage4 of the compiler"; \
23623 compare=compare3 ;; \
23624 *-lean ) \
23625 msg="Comparing stage2 and stage3 of the compiler"; \
23626 compare=compare-lean ;; \
23627 * ) \
23628 msg="Comparing stage2 and stage3 of the compiler"; \
23629 compare=compare ;; \
23630 esac; \
23631 $(SET_LIB_PATH) \
23632 echo "$$msg"; \
23633 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23634 @r=`${PWD}`; export r; \
23635 s=`cd $(srcdir); ${PWD}` ; export s; \
23636 $(SET_LIB_PATH) \
23637 echo "Building runtime libraries"; \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23640 profiledbootstrap: all-bootstrap configure-gcc
23641 @r=`${PWD}`; export r; \
23642 s=`cd $(srcdir); ${PWD}`; export s; \
23643 $(SET_LIB_PATH) \
23644 echo "Bootstrapping the compiler"; \
23645 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23646 @r=`${PWD}`; export r; \
23647 s=`cd $(srcdir); ${PWD}` ; export s; \
23648 $(SET_LIB_PATH) \
23649 echo "Building runtime libraries and training compiler"; \
23650 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23651 @r=`${PWD}`; export r; \
23652 s=`cd $(srcdir); ${PWD}`; export s; \
23653 $(SET_LIB_PATH) \
23654 echo "Building feedback based compiler"; \
23655 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23657 .PHONY: cross
23658 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23659 @r=`${PWD}`; export r; \
23660 s=`cd $(srcdir); ${PWD}`; export s; \
23661 $(SET_LIB_PATH) \
23662 echo "Building the C and C++ compiler"; \
23663 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23664 @r=`${PWD}`; export r; \
23665 s=`cd $(srcdir); ${PWD}` ; export s; \
23666 $(SET_LIB_PATH) \
23667 echo "Building runtime libraries"; \
23668 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23669 LANGUAGES="c c++" all
23671 .PHONY: check-gcc maybe-check-gcc
23672 maybe-check-gcc:
23673 check-gcc:
23674 @if [ -f ./gcc/Makefile ] ; then \
23675 r=`${PWD}`; export r; \
23676 s=`cd $(srcdir); ${PWD}`; export s; \
23677 $(SET_LIB_PATH) \
23678 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23679 else \
23680 true; \
23683 .PHONY: check-gcc-c++
23684 check-gcc-c++:
23685 @if [ -f ./gcc/Makefile ] ; then \
23686 r=`${PWD}`; export r; \
23687 s=`cd $(srcdir); ${PWD}`; export s; \
23688 $(SET_LIB_PATH) \
23689 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23690 else \
23691 true; \
23694 .PHONY: check-c++
23695 check-c++:
23696 $(MAKE) check-target-libstdc++-v3 check-gcc-c++
23698 .PHONY: install-gcc maybe-install-gcc
23699 maybe-install-gcc:
23700 install-gcc:
23701 @if [ -f ./gcc/Makefile ] ; then \
23702 r=`${PWD}`; export r; \
23703 s=`cd $(srcdir); ${PWD}`; export s; \
23704 $(SET_LIB_PATH) \
23705 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23706 else \
23707 true; \
23710 # Install the gcc headers files, but not the fixed include files,
23711 # which Cygnus is not allowed to distribute. This rule is very
23712 # dependent on the workings of the gcc Makefile.in.
23713 .PHONY: gcc-no-fixedincludes
23714 gcc-no-fixedincludes:
23715 @if [ -f ./gcc/Makefile ]; then \
23716 rm -rf gcc/tmp-include; \
23717 mv gcc/include gcc/tmp-include 2>/dev/null; \
23718 mkdir gcc/include; \
23719 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23720 touch gcc/stmp-fixinc gcc/include/fixed; \
23721 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23722 r=`${PWD}`; export r; \
23723 s=`cd $(srcdir); ${PWD}` ; export s; \
23724 $(SET_LIB_PATH) \
23725 (cd ./gcc && \
23726 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23727 rm -rf gcc/include; \
23728 mv gcc/tmp-include gcc/include 2>/dev/null; \
23729 else true; fi
23731 # --------------------------------------
23732 # Dependencies between different modules
23733 # --------------------------------------
23735 # There are two types of dependencies here: 'hard' dependencies, where one
23736 # module simply won't build without the other; and 'soft' dependencies, where
23737 # if the depended-on module is missing, the depending module will do without
23738 # or find a substitute somewhere (perhaps installed). Soft dependencies
23739 # are specified by depending on a 'maybe-' target. If you're not sure,
23740 # it's safer to use a soft dependency.
23742 # Host modules specific to gcc.
23743 # GCC needs to identify certain tools.
23744 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
23745 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23746 # This is a slightly kludgy method of getting dependencies on
23747 # all-build-libiberty correct; it would be better to build it every time.
23748 all-gcc: maybe-all-build-libiberty
23749 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
23751 # Host modules specific to gdb.
23752 # GDB needs to know that the simulator is being built.
23753 configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
23754 GDB_TK = @GDB_TK@
23755 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)
23756 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
23757 configure-libgui: maybe-configure-tcl maybe-configure-tk
23758 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
23760 # Host modules specific to binutils.
23761 configure-bfd: configure-libiberty
23762 all-bfd: maybe-all-libiberty maybe-all-intl
23763 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
23764 # We put install-opcodes before install-binutils because the installed
23765 # binutils might be on PATH, and they might need the shared opcodes
23766 # library.
23767 install-binutils: maybe-install-opcodes
23768 # libopcodes depends on libbfd
23769 install-opcodes: maybe-install-bfd
23770 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23771 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23772 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23773 all-opcodes: maybe-all-bfd maybe-all-libiberty
23775 # Other host modules in the 'src' repository.
23776 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
23777 configure-expect: maybe-configure-tcl maybe-configure-tk
23778 all-expect: maybe-all-tcl maybe-all-tk
23779 configure-itcl: maybe-configure-tcl maybe-configure-tk
23780 all-itcl: maybe-all-tcl maybe-all-tk
23781 # We put install-tcl before install-itcl because itcl wants to run a
23782 # program on installation which uses the Tcl libraries.
23783 install-itcl: maybe-install-tcl
23784 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
23785 install-sid: maybe-install-tcl maybe-install-tk
23786 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23787 configure-tk: maybe-configure-tcl
23788 all-tk: maybe-all-tcl
23789 configure-tix: maybe-configure-tcl maybe-configure-tk
23790 all-tix: maybe-all-tcl maybe-all-tk
23791 all-texinfo: maybe-all-libiberty
23793 # Other host modules. Warning, these are not well tested.
23794 all-autoconf: maybe-all-m4 maybe-all-texinfo
23795 all-automake: maybe-all-m4 maybe-all-texinfo
23796 all-bison: maybe-all-texinfo
23797 all-diff: maybe-all-libiberty
23798 all-fastjar: maybe-all-zlib maybe-all-libiberty
23799 all-fileutils: maybe-all-libiberty
23800 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
23801 all-gzip: maybe-all-libiberty
23802 all-hello: maybe-all-libiberty
23803 all-m4: maybe-all-libiberty maybe-all-texinfo
23804 all-make: maybe-all-libiberty
23805 all-patch: maybe-all-libiberty
23806 all-prms: maybe-all-libiberty
23807 all-recode: maybe-all-libiberty
23808 all-sed: maybe-all-libiberty
23809 all-send-pr: maybe-all-prms
23810 all-tar: maybe-all-libiberty
23811 all-uudecode: maybe-all-libiberty
23813 ALL_GCC = maybe-all-gcc
23814 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
23815 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
23817 # Target modules specific to gcc.
23818 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
23819 configure-target-fastjar: maybe-configure-target-zlib
23820 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
23821 configure-target-libf2c: $(ALL_GCC_C)
23822 all-target-libf2c: maybe-all-target-libiberty
23823 configure-target-libffi: $(ALL_GCC_C)
23824 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
23825 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
23826 configure-target-libobjc: $(ALL_GCC_C)
23827 all-target-libobjc: maybe-all-target-libiberty
23828 configure-target-libstdc++-v3: $(ALL_GCC_C)
23829 all-target-libstdc++-v3: maybe-all-target-libiberty
23830 configure-target-zlib: $(ALL_GCC_C)
23832 # Target modules in the 'src' repository.
23833 configure-target-examples: $(ALL_GCC_C)
23834 configure-target-libgloss: $(ALL_GCC)
23835 all-target-libgloss: maybe-configure-target-newlib
23836 configure-target-libiberty: $(ALL_GCC)
23837 configure-target-libtermcap: $(ALL_GCC_C)
23838 configure-target-newlib: $(ALL_GCC)
23839 configure-target-rda: $(ALL_GCC_C)
23840 configure-target-winsup: $(ALL_GCC_C)
23841 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
23843 # Other target modules. Warning, these are not well tested.
23844 configure-target-gperf: $(ALL_GCC_CXX)
23845 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
23846 configure-target-qthreads: $(ALL_GCC_C)
23848 # Dependencies of maybe-foo on foo. These are used because, for example,
23849 # all-gcc only depends on all-gas if gas is present and being configured.
23850 @maybe_dependencies@
23852 # Serialization dependencies. Host configures don't work well in parallel to
23853 # each other, due to contention over config.cache. Target configures and
23854 # build configures are similar.
23855 @serialization_dependencies@
23857 # --------------------------------
23858 # Regenerating top level configury
23859 # --------------------------------
23861 # Multilib.out tells target dirs what multilibs they should build.
23862 # There is really only one copy. We use the 'timestamp' method to
23863 # work around various timestamp bugs on some systems.
23864 # We use move-if-change so that it's only considered updated when it
23865 # actually changes, because it has to depend on a phony target.
23866 multilib.out: maybe-all-gcc
23867 @r=`${PWD}`; export r; \
23868 echo "Checking multilib configuration..."; \
23869 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
23870 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
23872 # Rebuilding Makefile.in, using autogen.
23873 AUTOGEN = autogen
23874 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
23875 cd $(srcdir) && $(AUTOGEN) Makefile.def
23877 # Rebuilding Makefile.
23878 Makefile: $(srcdir)/Makefile.in config.status
23879 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
23881 config.status: configure $(gcc_version_trigger)
23882 $(SHELL) ./config.status --recheck
23884 # Rebuilding configure.
23885 AUTOCONF = autoconf
23886 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
23887 cd $(srcdir) && $(AUTOCONF)
23889 # ------------------------------
23890 # Special directives to GNU Make
23891 # ------------------------------
23893 # Don't pass command-line variables to submakes.
23894 .NOEXPORT:
23895 MAKEOVERRIDES=
23897 # end of Makefile.in