* config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
[official-gcc.git] / Makefile.in
blobe22a1bbd4d81337ee7502045371f37b10f351fe5
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_cpu=@build_cpu@
30 build_vendor=@build_vendor@
31 build_os=@build_os@
32 build_canonical=@build_cpu@-@build_vendor@-@build_os@
33 host_alias=@host_alias@
34 host_cpu=@host_cpu@
35 host_vendor=@host_vendor@
36 host_os=@host_os@
37 host_canonical=@host_cpu@-@host_vendor@-@host_os@
38 target_alias=@target_alias@
39 target_cpu=@target_cpu@
40 target_vendor=@target_vendor@
41 target_os=@target_os@
42 target_canonical=@target_cpu@-@target_vendor@-@target_os@
44 program_transform_name = @program_transform_name@
46 prefix = @prefix@
47 exec_prefix = @exec_prefix@
49 srcdir = @srcdir@
51 bindir = @bindir@
52 sbindir = @sbindir@
53 libexecdir = @libexecdir@
54 datadir = @datadir@
55 sysconfdir = @sysconfdir@
56 sharedstatedir = @sharedstatedir@
57 localstatedir = @localstatedir@
58 libdir = @libdir@
59 includedir = @includedir@
60 oldincludedir = @oldincludedir@
61 infodir = @infodir@
62 mandir = @mandir@
63 man1dir = $(mandir)/man1
64 man2dir = $(mandir)/man2
65 man3dir = $(mandir)/man3
66 man4dir = $(mandir)/man4
67 man5dir = $(mandir)/man5
68 man6dir = $(mandir)/man6
69 man7dir = $(mandir)/man7
70 man8dir = $(mandir)/man8
71 man9dir = $(mandir)/man9
73 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
74 # cygwin host.
75 INSTALL_PROGRAM_ARGS =
77 INSTALL = $(SHELL) $$s/install-sh -c
78 INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
79 INSTALL_SCRIPT = $(INSTALL)
80 INSTALL_DATA = $(INSTALL) -m 644
82 # -------------------------------------------------
83 # Miscellaneous non-standard autoconf-set variables
84 # -------------------------------------------------
86 links=@configlinks@
87 # The file containing GCC's version number.
88 gcc_version_trigger = @gcc_version_trigger@
89 gcc_version = @gcc_version@
91 # The gcc driver likes to know the arguments it was configured with.
92 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
94 gxx_include_dir = @gxx_include_dir@
95 libstdcxx_incdir = @libstdcxx_incdir@
97 tooldir = @tooldir@
98 build_tooldir = @build_tooldir@
100 # Directory in which the compiler finds executables, libraries, etc.
101 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
102 GDB_NLM_DEPS =
104 # This is the name of the environment variable used for the path to
105 # the libraries.
106 RPATH_ENVVAR = @RPATH_ENVVAR@
108 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
109 # was used.
110 SET_LIB_PATH = @SET_LIB_PATH@
112 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
113 # Some platforms don't like blank entries, so we remove duplicate,
114 # leading and trailing colons.
115 REALLY_SET_LIB_PATH = \
116 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
118 # This is the list of directories to be built for the build system.
119 BUILD_CONFIGDIRS = libiberty
120 # Build programs are put under this directory.
121 BUILD_SUBDIR = @build_subdir@
122 # This is set by the configure script to the arguments to use when configuring
123 # directories built for the build system.
124 BUILD_CONFIGARGS = @build_configargs@
126 # This is the list of directories to built for the host system.
127 SUBDIRS = @configdirs@
128 # This is set by the configure script to the arguments to use when configuring
129 # directories built for the host system.
130 HOST_CONFIGARGS = @host_configargs@
132 # This is set by the configure script to the list of directories which
133 # should be built using the target tools.
134 TARGET_CONFIGDIRS = @target_configdirs@
135 # Target libraries are put under this directory:
136 TARGET_SUBDIR = @target_subdir@
137 # This is set by the configure script to the arguments to use when configuring
138 # directories built for the target.
139 TARGET_CONFIGARGS = @target_configargs@
141 # ----------------------------------------------
142 # Programs producing files for the BUILD machine
143 # ----------------------------------------------
145 SHELL = @config_shell@
147 # pwd command to use. Allow user to override default by setting PWDCMD in
148 # the environment to account for automounters. The make variable must not
149 # be called PWDCMD, otherwise the value set here is passed to make
150 # subprocesses and overrides the setting from the user's environment.
151 PWD = $${PWDCMD-pwd}
153 # compilers to use to create programs which must be run in the build
154 # environment.
155 CC_FOR_BUILD = @CC_FOR_BUILD@
156 CFLAGS_FOR_BUILD = $(CFLAGS)
158 CXX_FOR_BUILD = $(CXX)
160 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
161 # here so that they can be overridden by Makefile fragments.
162 BUILD_CC = $(CC_FOR_BUILD)
163 BUILD_PREFIX = @BUILD_PREFIX@
164 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
166 BISON=@BISON@
167 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
168 echo $$r/bison/bison -L $$s/bison/ ; \
169 else \
170 echo bison ; \
173 DEFAULT_YACC = @DEFAULT_YACC@
174 YACC=@YACC@
175 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
176 echo $$r/bison/bison -y -L $$s/bison/ ; \
177 elif [ -f $$r/byacc/byacc ] ; then \
178 echo $$r/byacc/byacc ; \
179 else \
180 echo ${DEFAULT_YACC} ; \
183 DEFAULT_LEX = @DEFAULT_LEX@
184 LEX=@LEX@
185 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
186 then echo $$r/flex/flex ; \
187 else echo ${DEFAULT_LEX} ; fi`
189 DEFAULT_M4 = @DEFAULT_M4@
190 M4 = `if [ -f $$r/m4/m4 ] ; \
191 then echo $$r/m4/m4 ; \
192 else echo ${DEFAULT_M4} ; fi`
194 # For an installed makeinfo, we require it to be from texinfo 4.2 or
195 # higher, else we use the "missing" dummy.
196 MAKEINFO=@MAKEINFO@
197 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
198 then echo $$r/texinfo/makeinfo/makeinfo ; \
199 else if (makeinfo --version \
200 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
201 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
203 # This just becomes part of the MAKEINFO definition passed down to
204 # sub-makes. It lets flags be given on the command line while still
205 # using the makeinfo from the object tree.
206 # (Default to avoid splitting info files by setting the threshold high.)
207 MAKEINFOFLAGS = --split-size=5000000
209 EXPECT = `if [ -f $$r/expect/expect ] ; \
210 then echo $$r/expect/expect ; \
211 else echo expect ; fi`
213 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
214 then echo $$s/dejagnu/runtest ; \
215 else echo runtest ; fi`
217 # ---------------------------------------------
218 # Programs producing files for the HOST machine
219 # ---------------------------------------------
221 # This is the list of directories that may be needed in RPATH_ENVVAR
222 # so that programs built for the host machine work.
223 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
225 AS = @AS@
227 AR = @AR@
228 AR_FLAGS = rc
230 CC = @CC@
231 CFLAGS = @CFLAGS@
232 LIBCFLAGS = $(CFLAGS)
234 CXX = @CXX@
235 CXXFLAGS = @CXXFLAGS@
236 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
238 DLLTOOL = @DLLTOOL@
240 NM = @NM@
242 LD = @LD@
243 LDFLAGS =
245 RANLIB = @RANLIB@
247 WINDRES = @WINDRES@
249 PICFLAG =
251 # -----------------------------------------------
252 # Programs producing files for the TARGET machine
253 # -----------------------------------------------
255 # This is the list of directories that may be needed in RPATH_ENVVAR
256 # so that prorgams built for the target machine work.
257 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
259 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
261 AR_FOR_TARGET=@AR_FOR_TARGET@
262 USUAL_AR_FOR_TARGET = ` \
263 if [ -f $$r/binutils/ar ] ; then \
264 echo $$r/binutils/ar ; \
265 else \
266 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
267 echo $(AR); \
268 else \
269 echo ar | sed '$(program_transform_name)' ; \
270 fi; \
273 AS_FOR_TARGET=@AS_FOR_TARGET@
274 USUAL_AS_FOR_TARGET = ` \
275 if [ -f $$r/gas/as-new ] ; then \
276 echo $$r/gas/as-new ; \
277 elif [ -f $$r/gcc/xgcc ]; then \
278 $(CC_FOR_TARGET) -print-prog-name=as ; \
279 else \
280 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
281 echo $(AS); \
282 else \
283 echo as | sed '$(program_transform_name)' ; \
284 fi; \
287 CC_FOR_TARGET = @CC_FOR_TARGET@
288 # During gcc bootstrap, if we use some random cc for stage1 then
289 # CFLAGS will be just -g. We want to ensure that TARGET libraries
290 # (which we know are built with gcc) are built with optimizations so
291 # prepend -O2 when setting CFLAGS_FOR_TARGET.
292 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
293 # If GCC_FOR_TARGET is not overriden on the command line, then this
294 # variable is passed down to the gcc Makefile, where it is used to
295 # build libgcc2.a. We define it here so that it can itself be
296 # overridden on the command line.
297 GCC_FOR_TARGET=@GCC_FOR_TARGET@
298 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
299 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
301 CXX_FOR_TARGET = @CXX_FOR_TARGET@
302 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
303 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
304 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
305 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
306 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
308 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
309 USUAL_DLLTOOL_FOR_TARGET = ` \
310 if [ -f $$r/binutils/dlltool ] ; then \
311 echo $$r/binutils/dlltool ; \
312 else \
313 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
314 echo $(DLLTOOL); \
315 else \
316 echo dlltool | sed '$(program_transform_name)' ; \
317 fi; \
320 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
322 LD_FOR_TARGET=@LD_FOR_TARGET@
323 USUAL_LD_FOR_TARGET = ` \
324 if [ -f $$r/ld/ld-new ] ; then \
325 echo $$r/ld/ld-new ; \
326 elif [ -f $$r/gcc/xgcc ]; then \
327 $(CC_FOR_TARGET) -print-prog-name=ld ; \
328 else \
329 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
330 echo $(LD); \
331 else \
332 echo ld | sed '$(program_transform_name)' ; \
333 fi; \
336 LDFLAGS_FOR_TARGET =
338 NM_FOR_TARGET=@NM_FOR_TARGET@
339 USUAL_NM_FOR_TARGET = ` \
340 if [ -f $$r/binutils/nm-new ] ; then \
341 echo $$r/binutils/nm-new ; \
342 elif [ -f $$r/gcc/xgcc ]; then \
343 $(CC_FOR_TARGET) -print-prog-name=nm ; \
344 else \
345 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
346 echo $(NM); \
347 else \
348 echo nm | sed '$(program_transform_name)' ; \
349 fi; \
352 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
353 USUAL_RANLIB_FOR_TARGET = ` \
354 if [ -f $$r/binutils/ranlib ] ; then \
355 echo $$r/binutils/ranlib ; \
356 else \
357 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
358 if [ x'$(RANLIB)' != x ]; then \
359 echo $(RANLIB); \
360 else \
361 echo ranlib; \
362 fi; \
363 else \
364 echo ranlib | sed '$(program_transform_name)' ; \
365 fi; \
368 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
369 USUAL_WINDRES_FOR_TARGET = ` \
370 if [ -f $$r/binutils/windres ] ; then \
371 echo $$r/binutils/windres ; \
372 else \
373 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
374 echo $(WINDRES); \
375 else \
376 echo windres | sed '$(program_transform_name)' ; \
377 fi; \
380 PICFLAG_FOR_TARGET =
382 # ------------------------------------
383 # Miscellaneous targets and flag lists
384 # ------------------------------------
386 # The first rule in the file had better be this one. Don't put any above it.
387 # This lives here to allow makefile fragments to contain dependencies.
388 all: all.normal
389 .PHONY: all
391 #### host and target specific makefile fragments come in here.
392 @target_makefile_frag@
393 @alphaieee_frag@
394 @ospace_frag@
395 @host_makefile_frag@
398 # Flags to pass down to all sub-makes.
399 # Please keep these in alphabetical order.
400 BASE_FLAGS_TO_PASS = \
401 "AR_FLAGS=$(AR_FLAGS)" \
402 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
403 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
404 "BISON=$(BISON)" \
405 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
406 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
407 "CFLAGS=$(CFLAGS)" \
408 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
409 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
410 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
411 "CXXFLAGS=$(CXXFLAGS)" \
412 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
413 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
414 "DESTDIR=$(DESTDIR)" \
415 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
416 "INSTALL=$(INSTALL)" \
417 "INSTALL_DATA=$(INSTALL_DATA)" \
418 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
419 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
420 "LDFLAGS=$(LDFLAGS)" \
421 "LEX=$(LEX)" \
422 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
423 "LIBCFLAGS=$(LIBCFLAGS)" \
424 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
425 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
426 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
427 "M4=$(M4)" \
428 "MAKE=$(MAKE)" \
429 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
430 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
431 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
432 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
433 "SHELL=$(SHELL)" \
434 "EXPECT=$(EXPECT)" \
435 "RUNTEST=$(RUNTEST)" \
436 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
437 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
438 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
439 "YACC=$(YACC)" \
440 "bindir=$(bindir)" \
441 "datadir=$(datadir)" \
442 "exec_prefix=$(exec_prefix)" \
443 "includedir=$(includedir)" \
444 "infodir=$(infodir)" \
445 "libdir=$(libdir)" \
446 "libexecdir=$(libexecdir)" \
447 "lispdir=$(lispdir)" \
448 "libstdcxx_incdir=$(libstdcxx_incdir)" \
449 "libsubdir=$(libsubdir)" \
450 "localstatedir=$(localstatedir)" \
451 "mandir=$(mandir)" \
452 "oldincludedir=$(oldincludedir)" \
453 "prefix=$(prefix)" \
454 "sbindir=$(sbindir)" \
455 "sharedstatedir=$(sharedstatedir)" \
456 "sysconfdir=$(sysconfdir)" \
457 "tooldir=$(tooldir)" \
458 "build_tooldir=$(build_tooldir)" \
459 "gxx_include_dir=$(gxx_include_dir)" \
460 "gcc_version=$(gcc_version)" \
461 "gcc_version_trigger=$(gcc_version_trigger)" \
462 "target_alias=$(target_alias)"
464 # For any flags above that may contain shell code that varies from one
465 # target library to another. When doing recursive invocations of the
466 # top-level Makefile, we don't want the outer make to evaluate them,
467 # so we pass these variables down unchanged. They must not contain
468 # single nor double quotes.
469 RECURSE_FLAGS = \
470 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
471 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
473 # Flags to pass down to most sub-makes, in which we're building with
474 # the host environment.
475 EXTRA_HOST_FLAGS = \
476 'AR=$(AR)' \
477 'AS=$(AS)' \
478 'CC=$(CC)' \
479 'CXX=$(CXX)' \
480 'DLLTOOL=$(DLLTOOL)' \
481 'LD=$(LD)' \
482 'NM=$(NM)' \
483 'RANLIB=$(RANLIB)' \
484 'WINDRES=$(WINDRES)'
486 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
488 # Flags that are concerned with the location of the X11 include files
489 # and library files
491 # NOTE: until the top-level is getting the values via autoconf, it only
492 # causes problems to have this top-level Makefile overriding the autoconf-set
493 # values in child directories. Only variables that don't conflict with
494 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
496 X11_FLAGS_TO_PASS = \
497 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
498 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
500 # Flags to pass down to makes which are built with the target environment.
501 # The double $ decreases the length of the command line; the variables
502 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
503 EXTRA_TARGET_FLAGS = \
504 'AR=$$(AR_FOR_TARGET)' \
505 'AS=$$(AS_FOR_TARGET)' \
506 'CC=$$(CC_FOR_TARGET)' \
507 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
508 'CXX=$$(CXX_FOR_TARGET)' \
509 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
510 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
511 'LD=$$(LD_FOR_TARGET)' \
512 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
513 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
514 'NM=$$(NM_FOR_TARGET)' \
515 'RANLIB=$$(RANLIB_FOR_TARGET)' \
516 'WINDRES=$$(WINDRES_FOR_TARGET)'
518 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
520 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
521 # unfortunately needs the native compiler and the target ar and
522 # ranlib.
523 # If any variables are added here, they must be added to do-*, below.
524 # The BUILD_* variables are a special case, which are used for the gcc
525 # cross-building scheme.
526 EXTRA_GCC_FLAGS = \
527 'AR=$(AR)' \
528 'AS=$(AS)' \
529 'CC=$(CC)' \
530 'CXX=$(CXX)' \
531 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
532 'BUILD_CC=$(CC_FOR_BUILD)' \
533 'BUILD_PREFIX=$(BUILD_PREFIX)' \
534 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
535 'NM=$(NM)' \
536 'RANLIB=$(RANLIB)' \
537 'WINDRES=$$(WINDRES_FOR_TARGET)' \
538 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
539 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
540 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
541 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
542 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
543 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
544 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
545 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
546 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
547 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
548 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
550 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
552 .PHONY: configure-host
553 configure-host: maybe-configure-gcc \
554 maybe-configure-ash \
555 maybe-configure-autoconf \
556 maybe-configure-automake \
557 maybe-configure-bash \
558 maybe-configure-bfd \
559 maybe-configure-opcodes \
560 maybe-configure-binutils \
561 maybe-configure-bison \
562 maybe-configure-byacc \
563 maybe-configure-bzip2 \
564 maybe-configure-dejagnu \
565 maybe-configure-diff \
566 maybe-configure-dosutils \
567 maybe-configure-etc \
568 maybe-configure-fastjar \
569 maybe-configure-fileutils \
570 maybe-configure-findutils \
571 maybe-configure-find \
572 maybe-configure-flex \
573 maybe-configure-gas \
574 maybe-configure-gawk \
575 maybe-configure-gettext \
576 maybe-configure-gnuserv \
577 maybe-configure-gprof \
578 maybe-configure-gzip \
579 maybe-configure-hello \
580 maybe-configure-indent \
581 maybe-configure-intl \
582 maybe-configure-tcl \
583 maybe-configure-itcl \
584 maybe-configure-ld \
585 maybe-configure-libgui \
586 maybe-configure-libiberty \
587 maybe-configure-libtool \
588 maybe-configure-m4 \
589 maybe-configure-make \
590 maybe-configure-mmalloc \
591 maybe-configure-patch \
592 maybe-configure-perl \
593 maybe-configure-prms \
594 maybe-configure-rcs \
595 maybe-configure-readline \
596 maybe-configure-release \
597 maybe-configure-recode \
598 maybe-configure-sed \
599 maybe-configure-send-pr \
600 maybe-configure-shellutils \
601 maybe-configure-sid \
602 maybe-configure-sim \
603 maybe-configure-tar \
604 maybe-configure-texinfo \
605 maybe-configure-textutils \
606 maybe-configure-time \
607 maybe-configure-uudecode \
608 maybe-configure-wdiff \
609 maybe-configure-zip \
610 maybe-configure-zlib \
611 maybe-configure-gdb \
612 maybe-configure-expect \
613 maybe-configure-guile \
614 maybe-configure-tk \
615 maybe-configure-tix \
616 maybe-configure-libtermcap \
617 maybe-configure-utils
618 .PHONY: configure-target
619 configure-target: \
620 maybe-configure-target-libstdc++-v3 \
621 maybe-configure-target-newlib \
622 maybe-configure-target-libf2c \
623 maybe-configure-target-libobjc \
624 maybe-configure-target-libtermcap \
625 maybe-configure-target-winsup \
626 maybe-configure-target-libgloss \
627 maybe-configure-target-libiberty \
628 maybe-configure-target-gperf \
629 maybe-configure-target-examples \
630 maybe-configure-target-libffi \
631 maybe-configure-target-libjava \
632 maybe-configure-target-zlib \
633 maybe-configure-target-boehm-gc \
634 maybe-configure-target-qthreads \
635 maybe-configure-target-rda
637 # The target built for a native build.
638 .PHONY: all.normal
639 all.normal: @all_build_modules@ all-host all-target
641 .PHONY: all-host
642 all-host: maybe-all-gcc \
643 maybe-all-ash \
644 maybe-all-autoconf \
645 maybe-all-automake \
646 maybe-all-bash \
647 maybe-all-bfd \
648 maybe-all-opcodes \
649 maybe-all-binutils \
650 maybe-all-bison \
651 maybe-all-byacc \
652 maybe-all-bzip2 \
653 maybe-all-dejagnu \
654 maybe-all-diff \
655 maybe-all-dosutils \
656 maybe-all-etc \
657 maybe-all-fastjar \
658 maybe-all-fileutils \
659 maybe-all-findutils \
660 maybe-all-find \
661 maybe-all-flex \
662 maybe-all-gas \
663 maybe-all-gawk \
664 maybe-all-gettext \
665 maybe-all-gnuserv \
666 maybe-all-gprof \
667 maybe-all-gzip \
668 maybe-all-hello \
669 maybe-all-indent \
670 maybe-all-intl \
671 maybe-all-tcl \
672 maybe-all-itcl \
673 maybe-all-ld \
674 maybe-all-libgui \
675 maybe-all-libiberty \
676 maybe-all-libtool \
677 maybe-all-m4 \
678 maybe-all-make \
679 maybe-all-mmalloc \
680 maybe-all-patch \
681 maybe-all-perl \
682 maybe-all-prms \
683 maybe-all-rcs \
684 maybe-all-readline \
685 maybe-all-release \
686 maybe-all-recode \
687 maybe-all-sed \
688 maybe-all-send-pr \
689 maybe-all-shellutils \
690 maybe-all-sid \
691 maybe-all-sim \
692 maybe-all-tar \
693 maybe-all-texinfo \
694 maybe-all-textutils \
695 maybe-all-time \
696 maybe-all-uudecode \
697 maybe-all-wdiff \
698 maybe-all-zip \
699 maybe-all-zlib \
700 maybe-all-gdb \
701 maybe-all-expect \
702 maybe-all-guile \
703 maybe-all-tk \
704 maybe-all-tix \
705 maybe-all-libtermcap \
706 maybe-all-utils
707 .PHONY: all-target
708 all-target: \
709 maybe-all-target-libstdc++-v3 \
710 maybe-all-target-newlib \
711 maybe-all-target-libf2c \
712 maybe-all-target-libobjc \
713 maybe-all-target-libtermcap \
714 maybe-all-target-winsup \
715 maybe-all-target-libgloss \
716 maybe-all-target-libiberty \
717 maybe-all-target-gperf \
718 maybe-all-target-examples \
719 maybe-all-target-libffi \
720 maybe-all-target-libjava \
721 maybe-all-target-zlib \
722 maybe-all-target-boehm-gc \
723 maybe-all-target-qthreads \
724 maybe-all-target-rda
726 # Do a target for all the subdirectories. A ``make do-X'' will do a
727 # ``make X'' in all subdirectories (because, in general, there is a
728 # dependency (below) of X upon do-X, a ``make X'' will also do this,
729 # but it may do additional work as well).
731 .PHONY: do-info
732 do-info: info-host info-target
734 .PHONY: info-host
735 info-host: maybe-info-gcc \
736 maybe-info-ash \
737 maybe-info-autoconf \
738 maybe-info-automake \
739 maybe-info-bash \
740 maybe-info-bfd \
741 maybe-info-opcodes \
742 maybe-info-binutils \
743 maybe-info-bison \
744 maybe-info-byacc \
745 maybe-info-bzip2 \
746 maybe-info-dejagnu \
747 maybe-info-diff \
748 maybe-info-dosutils \
749 maybe-info-etc \
750 maybe-info-fastjar \
751 maybe-info-fileutils \
752 maybe-info-findutils \
753 maybe-info-find \
754 maybe-info-flex \
755 maybe-info-gas \
756 maybe-info-gawk \
757 maybe-info-gettext \
758 maybe-info-gnuserv \
759 maybe-info-gprof \
760 maybe-info-gzip \
761 maybe-info-hello \
762 maybe-info-indent \
763 maybe-info-intl \
764 maybe-info-tcl \
765 maybe-info-itcl \
766 maybe-info-ld \
767 maybe-info-libgui \
768 maybe-info-libiberty \
769 maybe-info-libtool \
770 maybe-info-m4 \
771 maybe-info-make \
772 maybe-info-mmalloc \
773 maybe-info-patch \
774 maybe-info-perl \
775 maybe-info-prms \
776 maybe-info-rcs \
777 maybe-info-readline \
778 maybe-info-release \
779 maybe-info-recode \
780 maybe-info-sed \
781 maybe-info-send-pr \
782 maybe-info-shellutils \
783 maybe-info-sid \
784 maybe-info-sim \
785 maybe-info-tar \
786 maybe-info-texinfo \
787 maybe-info-textutils \
788 maybe-info-time \
789 maybe-info-uudecode \
790 maybe-info-wdiff \
791 maybe-info-zip \
792 maybe-info-zlib \
793 maybe-info-gdb \
794 maybe-info-expect \
795 maybe-info-guile \
796 maybe-info-tk \
797 maybe-info-tix \
798 maybe-info-libtermcap \
799 maybe-info-utils
801 .PHONY: info-target
802 info-target: \
803 maybe-info-target-libstdc++-v3 \
804 maybe-info-target-newlib \
805 maybe-info-target-libf2c \
806 maybe-info-target-libobjc \
807 maybe-info-target-libtermcap \
808 maybe-info-target-winsup \
809 maybe-info-target-libgloss \
810 maybe-info-target-libiberty \
811 maybe-info-target-gperf \
812 maybe-info-target-examples \
813 maybe-info-target-libffi \
814 maybe-info-target-libjava \
815 maybe-info-target-zlib \
816 maybe-info-target-boehm-gc \
817 maybe-info-target-qthreads \
818 maybe-info-target-rda
820 # GCC, the eternal special case
821 .PHONY: maybe-info-gcc info-gcc
822 maybe-info-gcc:
823 info-gcc: \
824 configure-gcc
825 @[ -f ./gcc/Makefile ] || exit 0; \
826 r=`${PWD}`; export r; \
827 s=`cd $(srcdir); ${PWD}`; export s; \
828 $(SET_LIB_PATH) \
829 for flag in $(EXTRA_GCC_FLAGS); do \
830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
831 done; \
832 echo "Doing info in gcc" ; \
833 (cd gcc && \
834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
836 "RANLIB=$${RANLIB}" \
837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
838 info) \
839 || exit 1
841 # Host modules.
843 .PHONY: maybe-info-ash info-ash
844 maybe-info-ash:
846 info-ash: \
847 configure-ash
848 @[ -f ./ash/Makefile ] || exit 0; \
849 r=`${PWD}`; export r; \
850 s=`cd $(srcdir); ${PWD}`; export s; \
851 $(SET_LIB_PATH) \
852 for flag in $(EXTRA_HOST_FLAGS); do \
853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
854 done; \
855 echo "Doing info in ash" ; \
856 (cd ash && \
857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
859 "RANLIB=$${RANLIB}" \
860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
861 info) \
862 || exit 1
865 .PHONY: maybe-info-autoconf info-autoconf
866 maybe-info-autoconf:
868 info-autoconf: \
869 configure-autoconf
870 @[ -f ./autoconf/Makefile ] || exit 0; \
871 r=`${PWD}`; export r; \
872 s=`cd $(srcdir); ${PWD}`; export s; \
873 $(SET_LIB_PATH) \
874 for flag in $(EXTRA_HOST_FLAGS); do \
875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
876 done; \
877 echo "Doing info in autoconf" ; \
878 (cd autoconf && \
879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
881 "RANLIB=$${RANLIB}" \
882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
883 info) \
884 || exit 1
887 .PHONY: maybe-info-automake info-automake
888 maybe-info-automake:
890 info-automake: \
891 configure-automake
892 @[ -f ./automake/Makefile ] || exit 0; \
893 r=`${PWD}`; export r; \
894 s=`cd $(srcdir); ${PWD}`; export s; \
895 $(SET_LIB_PATH) \
896 for flag in $(EXTRA_HOST_FLAGS); do \
897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
898 done; \
899 echo "Doing info in automake" ; \
900 (cd automake && \
901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
903 "RANLIB=$${RANLIB}" \
904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
905 info) \
906 || exit 1
909 .PHONY: maybe-info-bash info-bash
910 maybe-info-bash:
912 info-bash: \
913 configure-bash
914 @[ -f ./bash/Makefile ] || exit 0; \
915 r=`${PWD}`; export r; \
916 s=`cd $(srcdir); ${PWD}`; export s; \
917 $(SET_LIB_PATH) \
918 for flag in $(EXTRA_HOST_FLAGS); do \
919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
920 done; \
921 echo "Doing info in bash" ; \
922 (cd bash && \
923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
925 "RANLIB=$${RANLIB}" \
926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
927 info) \
928 || exit 1
931 .PHONY: maybe-info-bfd info-bfd
932 maybe-info-bfd:
934 info-bfd: \
935 configure-bfd
936 @[ -f ./bfd/Makefile ] || exit 0; \
937 r=`${PWD}`; export r; \
938 s=`cd $(srcdir); ${PWD}`; export s; \
939 $(SET_LIB_PATH) \
940 for flag in $(EXTRA_HOST_FLAGS); do \
941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
942 done; \
943 echo "Doing info in bfd" ; \
944 (cd bfd && \
945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
947 "RANLIB=$${RANLIB}" \
948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
949 info) \
950 || exit 1
953 .PHONY: maybe-info-opcodes info-opcodes
954 maybe-info-opcodes:
956 info-opcodes: \
957 configure-opcodes
958 @[ -f ./opcodes/Makefile ] || exit 0; \
959 r=`${PWD}`; export r; \
960 s=`cd $(srcdir); ${PWD}`; export s; \
961 $(SET_LIB_PATH) \
962 for flag in $(EXTRA_HOST_FLAGS); do \
963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
964 done; \
965 echo "Doing info in opcodes" ; \
966 (cd opcodes && \
967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
969 "RANLIB=$${RANLIB}" \
970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
971 info) \
972 || exit 1
975 .PHONY: maybe-info-binutils info-binutils
976 maybe-info-binutils:
978 info-binutils: \
979 configure-binutils
980 @[ -f ./binutils/Makefile ] || exit 0; \
981 r=`${PWD}`; export r; \
982 s=`cd $(srcdir); ${PWD}`; export s; \
983 $(SET_LIB_PATH) \
984 for flag in $(EXTRA_HOST_FLAGS); do \
985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
986 done; \
987 echo "Doing info in binutils" ; \
988 (cd binutils && \
989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
991 "RANLIB=$${RANLIB}" \
992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
993 info) \
994 || exit 1
997 .PHONY: maybe-info-bison info-bison
998 maybe-info-bison:
1000 info-bison: \
1001 configure-bison
1002 @[ -f ./bison/Makefile ] || exit 0; \
1003 r=`${PWD}`; export r; \
1004 s=`cd $(srcdir); ${PWD}`; export s; \
1005 $(SET_LIB_PATH) \
1006 for flag in $(EXTRA_HOST_FLAGS); do \
1007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1008 done; \
1009 echo "Doing info in bison" ; \
1010 (cd bison && \
1011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1013 "RANLIB=$${RANLIB}" \
1014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1015 info) \
1016 || exit 1
1019 .PHONY: maybe-info-byacc info-byacc
1020 maybe-info-byacc:
1022 info-byacc: \
1023 configure-byacc
1024 @[ -f ./byacc/Makefile ] || exit 0; \
1025 r=`${PWD}`; export r; \
1026 s=`cd $(srcdir); ${PWD}`; export s; \
1027 $(SET_LIB_PATH) \
1028 for flag in $(EXTRA_HOST_FLAGS); do \
1029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1030 done; \
1031 echo "Doing info in byacc" ; \
1032 (cd byacc && \
1033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1035 "RANLIB=$${RANLIB}" \
1036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1037 info) \
1038 || exit 1
1041 .PHONY: maybe-info-bzip2 info-bzip2
1042 maybe-info-bzip2:
1044 info-bzip2: \
1045 configure-bzip2
1046 @[ -f ./bzip2/Makefile ] || exit 0; \
1047 r=`${PWD}`; export r; \
1048 s=`cd $(srcdir); ${PWD}`; export s; \
1049 $(SET_LIB_PATH) \
1050 for flag in $(EXTRA_HOST_FLAGS); do \
1051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1052 done; \
1053 echo "Doing info in bzip2" ; \
1054 (cd bzip2 && \
1055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1057 "RANLIB=$${RANLIB}" \
1058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1059 info) \
1060 || exit 1
1063 .PHONY: maybe-info-dejagnu info-dejagnu
1064 maybe-info-dejagnu:
1066 info-dejagnu: \
1067 configure-dejagnu
1068 @[ -f ./dejagnu/Makefile ] || exit 0; \
1069 r=`${PWD}`; export r; \
1070 s=`cd $(srcdir); ${PWD}`; export s; \
1071 $(SET_LIB_PATH) \
1072 for flag in $(EXTRA_HOST_FLAGS); do \
1073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1074 done; \
1075 echo "Doing info in dejagnu" ; \
1076 (cd dejagnu && \
1077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1079 "RANLIB=$${RANLIB}" \
1080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1081 info) \
1082 || exit 1
1085 .PHONY: maybe-info-diff info-diff
1086 maybe-info-diff:
1088 info-diff: \
1089 configure-diff
1090 @[ -f ./diff/Makefile ] || exit 0; \
1091 r=`${PWD}`; export r; \
1092 s=`cd $(srcdir); ${PWD}`; export s; \
1093 $(SET_LIB_PATH) \
1094 for flag in $(EXTRA_HOST_FLAGS); do \
1095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1096 done; \
1097 echo "Doing info in diff" ; \
1098 (cd diff && \
1099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1101 "RANLIB=$${RANLIB}" \
1102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1103 info) \
1104 || exit 1
1107 .PHONY: maybe-info-dosutils info-dosutils
1108 maybe-info-dosutils:
1110 info-dosutils: \
1111 configure-dosutils
1112 @[ -f ./dosutils/Makefile ] || exit 0; \
1113 r=`${PWD}`; export r; \
1114 s=`cd $(srcdir); ${PWD}`; export s; \
1115 $(SET_LIB_PATH) \
1116 for flag in $(EXTRA_HOST_FLAGS); do \
1117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1118 done; \
1119 echo "Doing info in dosutils" ; \
1120 (cd dosutils && \
1121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1123 "RANLIB=$${RANLIB}" \
1124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1125 info) \
1126 || exit 1
1129 .PHONY: maybe-info-etc info-etc
1130 maybe-info-etc:
1132 info-etc: \
1133 configure-etc
1134 @[ -f ./etc/Makefile ] || exit 0; \
1135 r=`${PWD}`; export r; \
1136 s=`cd $(srcdir); ${PWD}`; export s; \
1137 $(SET_LIB_PATH) \
1138 for flag in $(EXTRA_HOST_FLAGS); do \
1139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1140 done; \
1141 echo "Doing info in etc" ; \
1142 (cd etc && \
1143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1145 "RANLIB=$${RANLIB}" \
1146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1147 info) \
1148 || exit 1
1151 .PHONY: maybe-info-fastjar info-fastjar
1152 maybe-info-fastjar:
1154 info-fastjar: \
1155 configure-fastjar
1156 @[ -f ./fastjar/Makefile ] || exit 0; \
1157 r=`${PWD}`; export r; \
1158 s=`cd $(srcdir); ${PWD}`; export s; \
1159 $(SET_LIB_PATH) \
1160 for flag in $(EXTRA_HOST_FLAGS); do \
1161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1162 done; \
1163 echo "Doing info in fastjar" ; \
1164 (cd fastjar && \
1165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1167 "RANLIB=$${RANLIB}" \
1168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1169 info) \
1170 || exit 1
1173 .PHONY: maybe-info-fileutils info-fileutils
1174 maybe-info-fileutils:
1176 info-fileutils: \
1177 configure-fileutils
1178 @[ -f ./fileutils/Makefile ] || exit 0; \
1179 r=`${PWD}`; export r; \
1180 s=`cd $(srcdir); ${PWD}`; export s; \
1181 $(SET_LIB_PATH) \
1182 for flag in $(EXTRA_HOST_FLAGS); do \
1183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1184 done; \
1185 echo "Doing info in fileutils" ; \
1186 (cd fileutils && \
1187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1189 "RANLIB=$${RANLIB}" \
1190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1191 info) \
1192 || exit 1
1195 .PHONY: maybe-info-findutils info-findutils
1196 maybe-info-findutils:
1198 info-findutils: \
1199 configure-findutils
1200 @[ -f ./findutils/Makefile ] || exit 0; \
1201 r=`${PWD}`; export r; \
1202 s=`cd $(srcdir); ${PWD}`; export s; \
1203 $(SET_LIB_PATH) \
1204 for flag in $(EXTRA_HOST_FLAGS); do \
1205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1206 done; \
1207 echo "Doing info in findutils" ; \
1208 (cd findutils && \
1209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1211 "RANLIB=$${RANLIB}" \
1212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1213 info) \
1214 || exit 1
1217 .PHONY: maybe-info-find info-find
1218 maybe-info-find:
1220 info-find: \
1221 configure-find
1222 @[ -f ./find/Makefile ] || exit 0; \
1223 r=`${PWD}`; export r; \
1224 s=`cd $(srcdir); ${PWD}`; export s; \
1225 $(SET_LIB_PATH) \
1226 for flag in $(EXTRA_HOST_FLAGS); do \
1227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1228 done; \
1229 echo "Doing info in find" ; \
1230 (cd find && \
1231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1233 "RANLIB=$${RANLIB}" \
1234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1235 info) \
1236 || exit 1
1239 .PHONY: maybe-info-flex info-flex
1240 maybe-info-flex:
1242 info-flex: \
1243 configure-flex
1244 @[ -f ./flex/Makefile ] || exit 0; \
1245 r=`${PWD}`; export r; \
1246 s=`cd $(srcdir); ${PWD}`; export s; \
1247 $(SET_LIB_PATH) \
1248 for flag in $(EXTRA_HOST_FLAGS); do \
1249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1250 done; \
1251 echo "Doing info in flex" ; \
1252 (cd flex && \
1253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1255 "RANLIB=$${RANLIB}" \
1256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1257 info) \
1258 || exit 1
1261 .PHONY: maybe-info-gas info-gas
1262 maybe-info-gas:
1264 info-gas: \
1265 configure-gas
1266 @[ -f ./gas/Makefile ] || exit 0; \
1267 r=`${PWD}`; export r; \
1268 s=`cd $(srcdir); ${PWD}`; export s; \
1269 $(SET_LIB_PATH) \
1270 for flag in $(EXTRA_HOST_FLAGS); do \
1271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1272 done; \
1273 echo "Doing info in gas" ; \
1274 (cd gas && \
1275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1277 "RANLIB=$${RANLIB}" \
1278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1279 info) \
1280 || exit 1
1283 .PHONY: maybe-info-gawk info-gawk
1284 maybe-info-gawk:
1286 info-gawk: \
1287 configure-gawk
1288 @[ -f ./gawk/Makefile ] || exit 0; \
1289 r=`${PWD}`; export r; \
1290 s=`cd $(srcdir); ${PWD}`; export s; \
1291 $(SET_LIB_PATH) \
1292 for flag in $(EXTRA_HOST_FLAGS); do \
1293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1294 done; \
1295 echo "Doing info in gawk" ; \
1296 (cd gawk && \
1297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1299 "RANLIB=$${RANLIB}" \
1300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1301 info) \
1302 || exit 1
1305 .PHONY: maybe-info-gettext info-gettext
1306 maybe-info-gettext:
1308 info-gettext: \
1309 configure-gettext
1310 @[ -f ./gettext/Makefile ] || exit 0; \
1311 r=`${PWD}`; export r; \
1312 s=`cd $(srcdir); ${PWD}`; export s; \
1313 $(SET_LIB_PATH) \
1314 for flag in $(EXTRA_HOST_FLAGS); do \
1315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1316 done; \
1317 echo "Doing info in gettext" ; \
1318 (cd gettext && \
1319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1321 "RANLIB=$${RANLIB}" \
1322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1323 info) \
1324 || exit 1
1327 .PHONY: maybe-info-gnuserv info-gnuserv
1328 maybe-info-gnuserv:
1330 info-gnuserv: \
1331 configure-gnuserv
1332 @[ -f ./gnuserv/Makefile ] || exit 0; \
1333 r=`${PWD}`; export r; \
1334 s=`cd $(srcdir); ${PWD}`; export s; \
1335 $(SET_LIB_PATH) \
1336 for flag in $(EXTRA_HOST_FLAGS); do \
1337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1338 done; \
1339 echo "Doing info in gnuserv" ; \
1340 (cd gnuserv && \
1341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1343 "RANLIB=$${RANLIB}" \
1344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1345 info) \
1346 || exit 1
1349 .PHONY: maybe-info-gprof info-gprof
1350 maybe-info-gprof:
1352 info-gprof: \
1353 configure-gprof
1354 @[ -f ./gprof/Makefile ] || exit 0; \
1355 r=`${PWD}`; export r; \
1356 s=`cd $(srcdir); ${PWD}`; export s; \
1357 $(SET_LIB_PATH) \
1358 for flag in $(EXTRA_HOST_FLAGS); do \
1359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1360 done; \
1361 echo "Doing info in gprof" ; \
1362 (cd gprof && \
1363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1365 "RANLIB=$${RANLIB}" \
1366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1367 info) \
1368 || exit 1
1371 .PHONY: maybe-info-gzip info-gzip
1372 maybe-info-gzip:
1374 info-gzip: \
1375 configure-gzip
1376 @[ -f ./gzip/Makefile ] || exit 0; \
1377 r=`${PWD}`; export r; \
1378 s=`cd $(srcdir); ${PWD}`; export s; \
1379 $(SET_LIB_PATH) \
1380 for flag in $(EXTRA_HOST_FLAGS); do \
1381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1382 done; \
1383 echo "Doing info in gzip" ; \
1384 (cd gzip && \
1385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1387 "RANLIB=$${RANLIB}" \
1388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1389 info) \
1390 || exit 1
1393 .PHONY: maybe-info-hello info-hello
1394 maybe-info-hello:
1396 info-hello: \
1397 configure-hello
1398 @[ -f ./hello/Makefile ] || exit 0; \
1399 r=`${PWD}`; export r; \
1400 s=`cd $(srcdir); ${PWD}`; export s; \
1401 $(SET_LIB_PATH) \
1402 for flag in $(EXTRA_HOST_FLAGS); do \
1403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1404 done; \
1405 echo "Doing info in hello" ; \
1406 (cd hello && \
1407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1409 "RANLIB=$${RANLIB}" \
1410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1411 info) \
1412 || exit 1
1415 .PHONY: maybe-info-indent info-indent
1416 maybe-info-indent:
1418 info-indent: \
1419 configure-indent
1420 @[ -f ./indent/Makefile ] || exit 0; \
1421 r=`${PWD}`; export r; \
1422 s=`cd $(srcdir); ${PWD}`; export s; \
1423 $(SET_LIB_PATH) \
1424 for flag in $(EXTRA_HOST_FLAGS); do \
1425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1426 done; \
1427 echo "Doing info in indent" ; \
1428 (cd indent && \
1429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1431 "RANLIB=$${RANLIB}" \
1432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1433 info) \
1434 || exit 1
1437 .PHONY: maybe-info-intl info-intl
1438 maybe-info-intl:
1440 info-intl: \
1441 configure-intl
1442 @[ -f ./intl/Makefile ] || exit 0; \
1443 r=`${PWD}`; export r; \
1444 s=`cd $(srcdir); ${PWD}`; export s; \
1445 $(SET_LIB_PATH) \
1446 for flag in $(EXTRA_HOST_FLAGS); do \
1447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1448 done; \
1449 echo "Doing info in intl" ; \
1450 (cd intl && \
1451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1453 "RANLIB=$${RANLIB}" \
1454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1455 info) \
1456 || exit 1
1459 .PHONY: maybe-info-tcl info-tcl
1460 maybe-info-tcl:
1462 info-tcl: \
1463 configure-tcl
1464 @[ -f ./tcl/Makefile ] || exit 0; \
1465 r=`${PWD}`; export r; \
1466 s=`cd $(srcdir); ${PWD}`; export s; \
1467 $(SET_LIB_PATH) \
1468 for flag in $(EXTRA_HOST_FLAGS); do \
1469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1470 done; \
1471 echo "Doing info in tcl" ; \
1472 (cd tcl && \
1473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1475 "RANLIB=$${RANLIB}" \
1476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1477 info) \
1478 || exit 1
1481 .PHONY: maybe-info-itcl info-itcl
1482 maybe-info-itcl:
1484 info-itcl: \
1485 configure-itcl
1486 @[ -f ./itcl/Makefile ] || exit 0; \
1487 r=`${PWD}`; export r; \
1488 s=`cd $(srcdir); ${PWD}`; export s; \
1489 $(SET_LIB_PATH) \
1490 for flag in $(EXTRA_HOST_FLAGS); do \
1491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1492 done; \
1493 echo "Doing info in itcl" ; \
1494 (cd itcl && \
1495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1497 "RANLIB=$${RANLIB}" \
1498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1499 info) \
1500 || exit 1
1503 .PHONY: maybe-info-ld info-ld
1504 maybe-info-ld:
1506 info-ld: \
1507 configure-ld
1508 @[ -f ./ld/Makefile ] || exit 0; \
1509 r=`${PWD}`; export r; \
1510 s=`cd $(srcdir); ${PWD}`; export s; \
1511 $(SET_LIB_PATH) \
1512 for flag in $(EXTRA_HOST_FLAGS); do \
1513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1514 done; \
1515 echo "Doing info in ld" ; \
1516 (cd ld && \
1517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1519 "RANLIB=$${RANLIB}" \
1520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1521 info) \
1522 || exit 1
1525 .PHONY: maybe-info-libgui info-libgui
1526 maybe-info-libgui:
1528 info-libgui: \
1529 configure-libgui
1530 @[ -f ./libgui/Makefile ] || exit 0; \
1531 r=`${PWD}`; export r; \
1532 s=`cd $(srcdir); ${PWD}`; export s; \
1533 $(SET_LIB_PATH) \
1534 for flag in $(EXTRA_HOST_FLAGS); do \
1535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1536 done; \
1537 echo "Doing info in libgui" ; \
1538 (cd libgui && \
1539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1541 "RANLIB=$${RANLIB}" \
1542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1543 info) \
1544 || exit 1
1547 .PHONY: maybe-info-libiberty info-libiberty
1548 maybe-info-libiberty:
1550 info-libiberty: \
1551 configure-libiberty
1552 @[ -f ./libiberty/Makefile ] || exit 0; \
1553 r=`${PWD}`; export r; \
1554 s=`cd $(srcdir); ${PWD}`; export s; \
1555 $(SET_LIB_PATH) \
1556 for flag in $(EXTRA_HOST_FLAGS); do \
1557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1558 done; \
1559 echo "Doing info in libiberty" ; \
1560 (cd libiberty && \
1561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1563 "RANLIB=$${RANLIB}" \
1564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1565 info) \
1566 || exit 1
1569 .PHONY: maybe-info-libtool info-libtool
1570 maybe-info-libtool:
1572 info-libtool: \
1573 configure-libtool
1574 @[ -f ./libtool/Makefile ] || exit 0; \
1575 r=`${PWD}`; export r; \
1576 s=`cd $(srcdir); ${PWD}`; export s; \
1577 $(SET_LIB_PATH) \
1578 for flag in $(EXTRA_HOST_FLAGS); do \
1579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1580 done; \
1581 echo "Doing info in libtool" ; \
1582 (cd libtool && \
1583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1585 "RANLIB=$${RANLIB}" \
1586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1587 info) \
1588 || exit 1
1591 .PHONY: maybe-info-m4 info-m4
1592 maybe-info-m4:
1594 info-m4: \
1595 configure-m4
1596 @[ -f ./m4/Makefile ] || exit 0; \
1597 r=`${PWD}`; export r; \
1598 s=`cd $(srcdir); ${PWD}`; export s; \
1599 $(SET_LIB_PATH) \
1600 for flag in $(EXTRA_HOST_FLAGS); do \
1601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1602 done; \
1603 echo "Doing info in m4" ; \
1604 (cd m4 && \
1605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1607 "RANLIB=$${RANLIB}" \
1608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1609 info) \
1610 || exit 1
1613 .PHONY: maybe-info-make info-make
1614 maybe-info-make:
1616 info-make: \
1617 configure-make
1618 @[ -f ./make/Makefile ] || exit 0; \
1619 r=`${PWD}`; export r; \
1620 s=`cd $(srcdir); ${PWD}`; export s; \
1621 $(SET_LIB_PATH) \
1622 for flag in $(EXTRA_HOST_FLAGS); do \
1623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1624 done; \
1625 echo "Doing info in make" ; \
1626 (cd make && \
1627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1629 "RANLIB=$${RANLIB}" \
1630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1631 info) \
1632 || exit 1
1635 .PHONY: maybe-info-mmalloc info-mmalloc
1636 maybe-info-mmalloc:
1638 info-mmalloc: \
1639 configure-mmalloc
1640 @[ -f ./mmalloc/Makefile ] || exit 0; \
1641 r=`${PWD}`; export r; \
1642 s=`cd $(srcdir); ${PWD}`; export s; \
1643 $(SET_LIB_PATH) \
1644 for flag in $(EXTRA_HOST_FLAGS); do \
1645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1646 done; \
1647 echo "Doing info in mmalloc" ; \
1648 (cd mmalloc && \
1649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1651 "RANLIB=$${RANLIB}" \
1652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1653 info) \
1654 || exit 1
1657 .PHONY: maybe-info-patch info-patch
1658 maybe-info-patch:
1660 info-patch: \
1661 configure-patch
1662 @[ -f ./patch/Makefile ] || exit 0; \
1663 r=`${PWD}`; export r; \
1664 s=`cd $(srcdir); ${PWD}`; export s; \
1665 $(SET_LIB_PATH) \
1666 for flag in $(EXTRA_HOST_FLAGS); do \
1667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1668 done; \
1669 echo "Doing info in patch" ; \
1670 (cd patch && \
1671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1673 "RANLIB=$${RANLIB}" \
1674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1675 info) \
1676 || exit 1
1679 .PHONY: maybe-info-perl info-perl
1680 maybe-info-perl:
1682 info-perl: \
1683 configure-perl
1684 @[ -f ./perl/Makefile ] || exit 0; \
1685 r=`${PWD}`; export r; \
1686 s=`cd $(srcdir); ${PWD}`; export s; \
1687 $(SET_LIB_PATH) \
1688 for flag in $(EXTRA_HOST_FLAGS); do \
1689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1690 done; \
1691 echo "Doing info in perl" ; \
1692 (cd perl && \
1693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1695 "RANLIB=$${RANLIB}" \
1696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1697 info) \
1698 || exit 1
1701 .PHONY: maybe-info-prms info-prms
1702 maybe-info-prms:
1704 info-prms: \
1705 configure-prms
1706 @[ -f ./prms/Makefile ] || exit 0; \
1707 r=`${PWD}`; export r; \
1708 s=`cd $(srcdir); ${PWD}`; export s; \
1709 $(SET_LIB_PATH) \
1710 for flag in $(EXTRA_HOST_FLAGS); do \
1711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1712 done; \
1713 echo "Doing info in prms" ; \
1714 (cd prms && \
1715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1717 "RANLIB=$${RANLIB}" \
1718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1719 info) \
1720 || exit 1
1723 .PHONY: maybe-info-rcs info-rcs
1724 maybe-info-rcs:
1726 info-rcs: \
1727 configure-rcs
1728 @[ -f ./rcs/Makefile ] || exit 0; \
1729 r=`${PWD}`; export r; \
1730 s=`cd $(srcdir); ${PWD}`; export s; \
1731 $(SET_LIB_PATH) \
1732 for flag in $(EXTRA_HOST_FLAGS); do \
1733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1734 done; \
1735 echo "Doing info in rcs" ; \
1736 (cd rcs && \
1737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1739 "RANLIB=$${RANLIB}" \
1740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1741 info) \
1742 || exit 1
1745 .PHONY: maybe-info-readline info-readline
1746 maybe-info-readline:
1748 info-readline: \
1749 configure-readline
1750 @[ -f ./readline/Makefile ] || exit 0; \
1751 r=`${PWD}`; export r; \
1752 s=`cd $(srcdir); ${PWD}`; export s; \
1753 $(SET_LIB_PATH) \
1754 for flag in $(EXTRA_HOST_FLAGS); do \
1755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1756 done; \
1757 echo "Doing info in readline" ; \
1758 (cd readline && \
1759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1761 "RANLIB=$${RANLIB}" \
1762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1763 info) \
1764 || exit 1
1767 .PHONY: maybe-info-release info-release
1768 maybe-info-release:
1770 info-release: \
1771 configure-release
1772 @[ -f ./release/Makefile ] || exit 0; \
1773 r=`${PWD}`; export r; \
1774 s=`cd $(srcdir); ${PWD}`; export s; \
1775 $(SET_LIB_PATH) \
1776 for flag in $(EXTRA_HOST_FLAGS); do \
1777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1778 done; \
1779 echo "Doing info in release" ; \
1780 (cd release && \
1781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1783 "RANLIB=$${RANLIB}" \
1784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1785 info) \
1786 || exit 1
1789 .PHONY: maybe-info-recode info-recode
1790 maybe-info-recode:
1792 info-recode: \
1793 configure-recode
1794 @[ -f ./recode/Makefile ] || exit 0; \
1795 r=`${PWD}`; export r; \
1796 s=`cd $(srcdir); ${PWD}`; export s; \
1797 $(SET_LIB_PATH) \
1798 for flag in $(EXTRA_HOST_FLAGS); do \
1799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1800 done; \
1801 echo "Doing info in recode" ; \
1802 (cd recode && \
1803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1805 "RANLIB=$${RANLIB}" \
1806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1807 info) \
1808 || exit 1
1811 .PHONY: maybe-info-sed info-sed
1812 maybe-info-sed:
1814 info-sed: \
1815 configure-sed
1816 @[ -f ./sed/Makefile ] || exit 0; \
1817 r=`${PWD}`; export r; \
1818 s=`cd $(srcdir); ${PWD}`; export s; \
1819 $(SET_LIB_PATH) \
1820 for flag in $(EXTRA_HOST_FLAGS); do \
1821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1822 done; \
1823 echo "Doing info in sed" ; \
1824 (cd sed && \
1825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1827 "RANLIB=$${RANLIB}" \
1828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1829 info) \
1830 || exit 1
1833 .PHONY: maybe-info-send-pr info-send-pr
1834 maybe-info-send-pr:
1836 info-send-pr: \
1837 configure-send-pr
1838 @[ -f ./send-pr/Makefile ] || exit 0; \
1839 r=`${PWD}`; export r; \
1840 s=`cd $(srcdir); ${PWD}`; export s; \
1841 $(SET_LIB_PATH) \
1842 for flag in $(EXTRA_HOST_FLAGS); do \
1843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1844 done; \
1845 echo "Doing info in send-pr" ; \
1846 (cd send-pr && \
1847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1849 "RANLIB=$${RANLIB}" \
1850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1851 info) \
1852 || exit 1
1855 .PHONY: maybe-info-shellutils info-shellutils
1856 maybe-info-shellutils:
1858 info-shellutils: \
1859 configure-shellutils
1860 @[ -f ./shellutils/Makefile ] || exit 0; \
1861 r=`${PWD}`; export r; \
1862 s=`cd $(srcdir); ${PWD}`; export s; \
1863 $(SET_LIB_PATH) \
1864 for flag in $(EXTRA_HOST_FLAGS); do \
1865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1866 done; \
1867 echo "Doing info in shellutils" ; \
1868 (cd shellutils && \
1869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1871 "RANLIB=$${RANLIB}" \
1872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1873 info) \
1874 || exit 1
1877 .PHONY: maybe-info-sid info-sid
1878 maybe-info-sid:
1880 info-sid: \
1881 configure-sid
1882 @[ -f ./sid/Makefile ] || exit 0; \
1883 r=`${PWD}`; export r; \
1884 s=`cd $(srcdir); ${PWD}`; export s; \
1885 $(SET_LIB_PATH) \
1886 for flag in $(EXTRA_HOST_FLAGS); do \
1887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1888 done; \
1889 echo "Doing info in sid" ; \
1890 (cd sid && \
1891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1893 "RANLIB=$${RANLIB}" \
1894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1895 info) \
1896 || exit 1
1899 .PHONY: maybe-info-sim info-sim
1900 maybe-info-sim:
1902 info-sim: \
1903 configure-sim
1904 @[ -f ./sim/Makefile ] || exit 0; \
1905 r=`${PWD}`; export r; \
1906 s=`cd $(srcdir); ${PWD}`; export s; \
1907 $(SET_LIB_PATH) \
1908 for flag in $(EXTRA_HOST_FLAGS); do \
1909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1910 done; \
1911 echo "Doing info in sim" ; \
1912 (cd sim && \
1913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1915 "RANLIB=$${RANLIB}" \
1916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1917 info) \
1918 || exit 1
1921 .PHONY: maybe-info-tar info-tar
1922 maybe-info-tar:
1924 info-tar: \
1925 configure-tar
1926 @[ -f ./tar/Makefile ] || exit 0; \
1927 r=`${PWD}`; export r; \
1928 s=`cd $(srcdir); ${PWD}`; export s; \
1929 $(SET_LIB_PATH) \
1930 for flag in $(EXTRA_HOST_FLAGS); do \
1931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1932 done; \
1933 echo "Doing info in tar" ; \
1934 (cd tar && \
1935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1937 "RANLIB=$${RANLIB}" \
1938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1939 info) \
1940 || exit 1
1943 .PHONY: maybe-info-texinfo info-texinfo
1944 maybe-info-texinfo:
1946 info-texinfo: \
1947 configure-texinfo
1948 @[ -f ./texinfo/Makefile ] || exit 0; \
1949 r=`${PWD}`; export r; \
1950 s=`cd $(srcdir); ${PWD}`; export s; \
1951 $(SET_LIB_PATH) \
1952 for flag in $(EXTRA_HOST_FLAGS); do \
1953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1954 done; \
1955 echo "Doing info in texinfo" ; \
1956 (cd texinfo && \
1957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1959 "RANLIB=$${RANLIB}" \
1960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1961 info) \
1962 || exit 1
1965 .PHONY: maybe-info-textutils info-textutils
1966 maybe-info-textutils:
1968 info-textutils: \
1969 configure-textutils
1970 @[ -f ./textutils/Makefile ] || exit 0; \
1971 r=`${PWD}`; export r; \
1972 s=`cd $(srcdir); ${PWD}`; export s; \
1973 $(SET_LIB_PATH) \
1974 for flag in $(EXTRA_HOST_FLAGS); do \
1975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1976 done; \
1977 echo "Doing info in textutils" ; \
1978 (cd textutils && \
1979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1981 "RANLIB=$${RANLIB}" \
1982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1983 info) \
1984 || exit 1
1987 .PHONY: maybe-info-time info-time
1988 maybe-info-time:
1990 info-time: \
1991 configure-time
1992 @[ -f ./time/Makefile ] || exit 0; \
1993 r=`${PWD}`; export r; \
1994 s=`cd $(srcdir); ${PWD}`; export s; \
1995 $(SET_LIB_PATH) \
1996 for flag in $(EXTRA_HOST_FLAGS); do \
1997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1998 done; \
1999 echo "Doing info in time" ; \
2000 (cd time && \
2001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2003 "RANLIB=$${RANLIB}" \
2004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2005 info) \
2006 || exit 1
2009 .PHONY: maybe-info-uudecode info-uudecode
2010 maybe-info-uudecode:
2012 info-uudecode: \
2013 configure-uudecode
2014 @[ -f ./uudecode/Makefile ] || exit 0; \
2015 r=`${PWD}`; export r; \
2016 s=`cd $(srcdir); ${PWD}`; export s; \
2017 $(SET_LIB_PATH) \
2018 for flag in $(EXTRA_HOST_FLAGS); do \
2019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2020 done; \
2021 echo "Doing info in uudecode" ; \
2022 (cd uudecode && \
2023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2025 "RANLIB=$${RANLIB}" \
2026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2027 info) \
2028 || exit 1
2031 .PHONY: maybe-info-wdiff info-wdiff
2032 maybe-info-wdiff:
2034 info-wdiff: \
2035 configure-wdiff
2036 @[ -f ./wdiff/Makefile ] || exit 0; \
2037 r=`${PWD}`; export r; \
2038 s=`cd $(srcdir); ${PWD}`; export s; \
2039 $(SET_LIB_PATH) \
2040 for flag in $(EXTRA_HOST_FLAGS); do \
2041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2042 done; \
2043 echo "Doing info in wdiff" ; \
2044 (cd wdiff && \
2045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2047 "RANLIB=$${RANLIB}" \
2048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2049 info) \
2050 || exit 1
2053 .PHONY: maybe-info-zip info-zip
2054 maybe-info-zip:
2056 info-zip: \
2057 configure-zip
2058 @[ -f ./zip/Makefile ] || exit 0; \
2059 r=`${PWD}`; export r; \
2060 s=`cd $(srcdir); ${PWD}`; export s; \
2061 $(SET_LIB_PATH) \
2062 for flag in $(EXTRA_HOST_FLAGS); do \
2063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2064 done; \
2065 echo "Doing info in zip" ; \
2066 (cd zip && \
2067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2069 "RANLIB=$${RANLIB}" \
2070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2071 info) \
2072 || exit 1
2075 .PHONY: maybe-info-zlib info-zlib
2076 maybe-info-zlib:
2078 info-zlib: \
2079 configure-zlib
2080 @[ -f ./zlib/Makefile ] || exit 0; \
2081 r=`${PWD}`; export r; \
2082 s=`cd $(srcdir); ${PWD}`; export s; \
2083 $(SET_LIB_PATH) \
2084 for flag in $(EXTRA_HOST_FLAGS); do \
2085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2086 done; \
2087 echo "Doing info in zlib" ; \
2088 (cd zlib && \
2089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2091 "RANLIB=$${RANLIB}" \
2092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2093 info) \
2094 || exit 1
2097 .PHONY: maybe-info-gdb info-gdb
2098 maybe-info-gdb:
2100 info-gdb: \
2101 configure-gdb
2102 @[ -f ./gdb/Makefile ] || exit 0; \
2103 r=`${PWD}`; export r; \
2104 s=`cd $(srcdir); ${PWD}`; export s; \
2105 $(SET_LIB_PATH) \
2106 for flag in $(EXTRA_HOST_FLAGS); do \
2107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2108 done; \
2109 echo "Doing info in gdb" ; \
2110 (cd gdb && \
2111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2113 "RANLIB=$${RANLIB}" \
2114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2115 info) \
2116 || exit 1
2119 .PHONY: maybe-info-expect info-expect
2120 maybe-info-expect:
2122 info-expect: \
2123 configure-expect
2124 @[ -f ./expect/Makefile ] || exit 0; \
2125 r=`${PWD}`; export r; \
2126 s=`cd $(srcdir); ${PWD}`; export s; \
2127 $(SET_LIB_PATH) \
2128 for flag in $(EXTRA_HOST_FLAGS); do \
2129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2130 done; \
2131 echo "Doing info in expect" ; \
2132 (cd expect && \
2133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2135 "RANLIB=$${RANLIB}" \
2136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2137 info) \
2138 || exit 1
2141 .PHONY: maybe-info-guile info-guile
2142 maybe-info-guile:
2144 info-guile: \
2145 configure-guile
2146 @[ -f ./guile/Makefile ] || exit 0; \
2147 r=`${PWD}`; export r; \
2148 s=`cd $(srcdir); ${PWD}`; export s; \
2149 $(SET_LIB_PATH) \
2150 for flag in $(EXTRA_HOST_FLAGS); do \
2151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2152 done; \
2153 echo "Doing info in guile" ; \
2154 (cd guile && \
2155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2157 "RANLIB=$${RANLIB}" \
2158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2159 info) \
2160 || exit 1
2163 .PHONY: maybe-info-tk info-tk
2164 maybe-info-tk:
2166 info-tk: \
2167 configure-tk
2168 @[ -f ./tk/Makefile ] || exit 0; \
2169 r=`${PWD}`; export r; \
2170 s=`cd $(srcdir); ${PWD}`; export s; \
2171 $(SET_LIB_PATH) \
2172 for flag in $(EXTRA_HOST_FLAGS); do \
2173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2174 done; \
2175 echo "Doing info in tk" ; \
2176 (cd tk && \
2177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2179 "RANLIB=$${RANLIB}" \
2180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2181 info) \
2182 || exit 1
2185 .PHONY: maybe-info-tix info-tix
2186 maybe-info-tix:
2188 info-tix: \
2189 configure-tix
2190 @[ -f ./tix/Makefile ] || exit 0; \
2191 r=`${PWD}`; export r; \
2192 s=`cd $(srcdir); ${PWD}`; export s; \
2193 $(SET_LIB_PATH) \
2194 for flag in $(EXTRA_HOST_FLAGS); do \
2195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2196 done; \
2197 echo "Doing info in tix" ; \
2198 (cd tix && \
2199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2201 "RANLIB=$${RANLIB}" \
2202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2203 info) \
2204 || exit 1
2207 .PHONY: maybe-info-libtermcap info-libtermcap
2208 maybe-info-libtermcap:
2210 info-libtermcap: \
2211 configure-libtermcap
2212 @[ -f ./libtermcap/Makefile ] || exit 0; \
2213 r=`${PWD}`; export r; \
2214 s=`cd $(srcdir); ${PWD}`; export s; \
2215 $(SET_LIB_PATH) \
2216 for flag in $(EXTRA_HOST_FLAGS); do \
2217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2218 done; \
2219 echo "Doing info in libtermcap" ; \
2220 (cd libtermcap && \
2221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2223 "RANLIB=$${RANLIB}" \
2224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2225 info) \
2226 || exit 1
2229 .PHONY: maybe-info-utils info-utils
2230 maybe-info-utils:
2232 info-utils: \
2233 configure-utils
2234 @[ -f ./utils/Makefile ] || exit 0; \
2235 r=`${PWD}`; export r; \
2236 s=`cd $(srcdir); ${PWD}`; export s; \
2237 $(SET_LIB_PATH) \
2238 for flag in $(EXTRA_HOST_FLAGS); do \
2239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2240 done; \
2241 echo "Doing info in utils" ; \
2242 (cd utils && \
2243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2245 "RANLIB=$${RANLIB}" \
2246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2247 info) \
2248 || exit 1
2252 # Target modules.
2254 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
2255 maybe-info-target-libstdc++-v3:
2257 info-target-libstdc++-v3: \
2258 configure-target-libstdc++-v3
2259 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
2260 r=`${PWD}`; export r; \
2261 s=`cd $(srcdir); ${PWD}`; export s; \
2262 $(SET_LIB_PATH) \
2263 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
2264 for flag in $(EXTRA_TARGET_FLAGS); do \
2265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2266 done; \
2267 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
2268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2270 "RANLIB=$${RANLIB}" \
2271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2272 info) \
2273 || exit 1
2276 .PHONY: maybe-info-target-newlib info-target-newlib
2277 maybe-info-target-newlib:
2279 info-target-newlib: \
2280 configure-target-newlib
2281 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
2282 r=`${PWD}`; export r; \
2283 s=`cd $(srcdir); ${PWD}`; export s; \
2284 $(SET_LIB_PATH) \
2285 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
2286 for flag in $(EXTRA_TARGET_FLAGS); do \
2287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2288 done; \
2289 (cd $(TARGET_SUBDIR)/newlib && \
2290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2292 "RANLIB=$${RANLIB}" \
2293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2294 info) \
2295 || exit 1
2298 .PHONY: maybe-info-target-libf2c info-target-libf2c
2299 maybe-info-target-libf2c:
2301 info-target-libf2c: \
2302 configure-target-libf2c
2303 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
2304 r=`${PWD}`; export r; \
2305 s=`cd $(srcdir); ${PWD}`; export s; \
2306 $(SET_LIB_PATH) \
2307 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
2308 for flag in $(EXTRA_TARGET_FLAGS); do \
2309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2310 done; \
2311 (cd $(TARGET_SUBDIR)/libf2c && \
2312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2314 "RANLIB=$${RANLIB}" \
2315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2316 info) \
2317 || exit 1
2320 .PHONY: maybe-info-target-libobjc info-target-libobjc
2321 maybe-info-target-libobjc:
2323 info-target-libobjc: \
2324 configure-target-libobjc
2325 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
2326 r=`${PWD}`; export r; \
2327 s=`cd $(srcdir); ${PWD}`; export s; \
2328 $(SET_LIB_PATH) \
2329 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
2330 for flag in $(EXTRA_TARGET_FLAGS); do \
2331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2332 done; \
2333 (cd $(TARGET_SUBDIR)/libobjc && \
2334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2336 "RANLIB=$${RANLIB}" \
2337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2338 info) \
2339 || exit 1
2342 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
2343 maybe-info-target-libtermcap:
2345 info-target-libtermcap: \
2346 configure-target-libtermcap
2347 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
2348 r=`${PWD}`; export r; \
2349 s=`cd $(srcdir); ${PWD}`; export s; \
2350 $(SET_LIB_PATH) \
2351 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
2352 for flag in $(EXTRA_TARGET_FLAGS); do \
2353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2354 done; \
2355 (cd $(TARGET_SUBDIR)/libtermcap && \
2356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2358 "RANLIB=$${RANLIB}" \
2359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2360 info) \
2361 || exit 1
2364 .PHONY: maybe-info-target-winsup info-target-winsup
2365 maybe-info-target-winsup:
2367 info-target-winsup: \
2368 configure-target-winsup
2369 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
2370 r=`${PWD}`; export r; \
2371 s=`cd $(srcdir); ${PWD}`; export s; \
2372 $(SET_LIB_PATH) \
2373 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
2374 for flag in $(EXTRA_TARGET_FLAGS); do \
2375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2376 done; \
2377 (cd $(TARGET_SUBDIR)/winsup && \
2378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2380 "RANLIB=$${RANLIB}" \
2381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2382 info) \
2383 || exit 1
2386 .PHONY: maybe-info-target-libgloss info-target-libgloss
2387 maybe-info-target-libgloss:
2389 info-target-libgloss: \
2390 configure-target-libgloss
2391 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
2392 r=`${PWD}`; export r; \
2393 s=`cd $(srcdir); ${PWD}`; export s; \
2394 $(SET_LIB_PATH) \
2395 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
2396 for flag in $(EXTRA_TARGET_FLAGS); do \
2397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2398 done; \
2399 (cd $(TARGET_SUBDIR)/libgloss && \
2400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2402 "RANLIB=$${RANLIB}" \
2403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2404 info) \
2405 || exit 1
2408 .PHONY: maybe-info-target-libiberty info-target-libiberty
2409 maybe-info-target-libiberty:
2411 info-target-libiberty: \
2412 configure-target-libiberty
2413 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
2414 r=`${PWD}`; export r; \
2415 s=`cd $(srcdir); ${PWD}`; export s; \
2416 $(SET_LIB_PATH) \
2417 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
2418 for flag in $(EXTRA_TARGET_FLAGS); do \
2419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2420 done; \
2421 (cd $(TARGET_SUBDIR)/libiberty && \
2422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2424 "RANLIB=$${RANLIB}" \
2425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2426 info) \
2427 || exit 1
2430 .PHONY: maybe-info-target-gperf info-target-gperf
2431 maybe-info-target-gperf:
2433 info-target-gperf: \
2434 configure-target-gperf
2435 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
2436 r=`${PWD}`; export r; \
2437 s=`cd $(srcdir); ${PWD}`; export s; \
2438 $(SET_LIB_PATH) \
2439 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
2440 for flag in $(EXTRA_TARGET_FLAGS); do \
2441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2442 done; \
2443 (cd $(TARGET_SUBDIR)/gperf && \
2444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2446 "RANLIB=$${RANLIB}" \
2447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2448 info) \
2449 || exit 1
2452 .PHONY: maybe-info-target-examples info-target-examples
2453 maybe-info-target-examples:
2455 info-target-examples: \
2456 configure-target-examples
2457 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
2458 r=`${PWD}`; export r; \
2459 s=`cd $(srcdir); ${PWD}`; export s; \
2460 $(SET_LIB_PATH) \
2461 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
2462 for flag in $(EXTRA_TARGET_FLAGS); do \
2463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2464 done; \
2465 (cd $(TARGET_SUBDIR)/examples && \
2466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2468 "RANLIB=$${RANLIB}" \
2469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2470 info) \
2471 || exit 1
2474 .PHONY: maybe-info-target-libffi info-target-libffi
2475 maybe-info-target-libffi:
2477 info-target-libffi: \
2478 configure-target-libffi
2479 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
2480 r=`${PWD}`; export r; \
2481 s=`cd $(srcdir); ${PWD}`; export s; \
2482 $(SET_LIB_PATH) \
2483 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
2484 for flag in $(EXTRA_TARGET_FLAGS); do \
2485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2486 done; \
2487 (cd $(TARGET_SUBDIR)/libffi && \
2488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2490 "RANLIB=$${RANLIB}" \
2491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2492 info) \
2493 || exit 1
2496 .PHONY: maybe-info-target-libjava info-target-libjava
2497 maybe-info-target-libjava:
2499 info-target-libjava: \
2500 configure-target-libjava
2501 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
2502 r=`${PWD}`; export r; \
2503 s=`cd $(srcdir); ${PWD}`; export s; \
2504 $(SET_LIB_PATH) \
2505 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
2506 for flag in $(EXTRA_TARGET_FLAGS); do \
2507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2508 done; \
2509 (cd $(TARGET_SUBDIR)/libjava && \
2510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2512 "RANLIB=$${RANLIB}" \
2513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2514 info) \
2515 || exit 1
2518 .PHONY: maybe-info-target-zlib info-target-zlib
2519 maybe-info-target-zlib:
2521 info-target-zlib: \
2522 configure-target-zlib
2523 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
2524 r=`${PWD}`; export r; \
2525 s=`cd $(srcdir); ${PWD}`; export s; \
2526 $(SET_LIB_PATH) \
2527 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
2528 for flag in $(EXTRA_TARGET_FLAGS); do \
2529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2530 done; \
2531 (cd $(TARGET_SUBDIR)/zlib && \
2532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2534 "RANLIB=$${RANLIB}" \
2535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2536 info) \
2537 || exit 1
2540 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
2541 maybe-info-target-boehm-gc:
2543 info-target-boehm-gc: \
2544 configure-target-boehm-gc
2545 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
2546 r=`${PWD}`; export r; \
2547 s=`cd $(srcdir); ${PWD}`; export s; \
2548 $(SET_LIB_PATH) \
2549 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
2550 for flag in $(EXTRA_TARGET_FLAGS); do \
2551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2552 done; \
2553 (cd $(TARGET_SUBDIR)/boehm-gc && \
2554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2556 "RANLIB=$${RANLIB}" \
2557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2558 info) \
2559 || exit 1
2562 .PHONY: maybe-info-target-qthreads info-target-qthreads
2563 maybe-info-target-qthreads:
2565 info-target-qthreads: \
2566 configure-target-qthreads
2567 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
2568 r=`${PWD}`; export r; \
2569 s=`cd $(srcdir); ${PWD}`; export s; \
2570 $(SET_LIB_PATH) \
2571 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
2572 for flag in $(EXTRA_TARGET_FLAGS); do \
2573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2574 done; \
2575 (cd $(TARGET_SUBDIR)/qthreads && \
2576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2578 "RANLIB=$${RANLIB}" \
2579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2580 info) \
2581 || exit 1
2584 .PHONY: maybe-info-target-rda info-target-rda
2585 maybe-info-target-rda:
2587 info-target-rda: \
2588 configure-target-rda
2589 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
2590 r=`${PWD}`; export r; \
2591 s=`cd $(srcdir); ${PWD}`; export s; \
2592 $(SET_LIB_PATH) \
2593 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
2594 for flag in $(EXTRA_TARGET_FLAGS); do \
2595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2596 done; \
2597 (cd $(TARGET_SUBDIR)/rda && \
2598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2600 "RANLIB=$${RANLIB}" \
2601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2602 info) \
2603 || exit 1
2607 .PHONY: do-dvi
2608 do-dvi: dvi-host dvi-target
2610 .PHONY: dvi-host
2611 dvi-host: maybe-dvi-gcc \
2612 maybe-dvi-ash \
2613 maybe-dvi-autoconf \
2614 maybe-dvi-automake \
2615 maybe-dvi-bash \
2616 maybe-dvi-bfd \
2617 maybe-dvi-opcodes \
2618 maybe-dvi-binutils \
2619 maybe-dvi-bison \
2620 maybe-dvi-byacc \
2621 maybe-dvi-bzip2 \
2622 maybe-dvi-dejagnu \
2623 maybe-dvi-diff \
2624 maybe-dvi-dosutils \
2625 maybe-dvi-etc \
2626 maybe-dvi-fastjar \
2627 maybe-dvi-fileutils \
2628 maybe-dvi-findutils \
2629 maybe-dvi-find \
2630 maybe-dvi-flex \
2631 maybe-dvi-gas \
2632 maybe-dvi-gawk \
2633 maybe-dvi-gettext \
2634 maybe-dvi-gnuserv \
2635 maybe-dvi-gprof \
2636 maybe-dvi-gzip \
2637 maybe-dvi-hello \
2638 maybe-dvi-indent \
2639 maybe-dvi-intl \
2640 maybe-dvi-tcl \
2641 maybe-dvi-itcl \
2642 maybe-dvi-ld \
2643 maybe-dvi-libgui \
2644 maybe-dvi-libiberty \
2645 maybe-dvi-libtool \
2646 maybe-dvi-m4 \
2647 maybe-dvi-make \
2648 maybe-dvi-mmalloc \
2649 maybe-dvi-patch \
2650 maybe-dvi-perl \
2651 maybe-dvi-prms \
2652 maybe-dvi-rcs \
2653 maybe-dvi-readline \
2654 maybe-dvi-release \
2655 maybe-dvi-recode \
2656 maybe-dvi-sed \
2657 maybe-dvi-send-pr \
2658 maybe-dvi-shellutils \
2659 maybe-dvi-sid \
2660 maybe-dvi-sim \
2661 maybe-dvi-tar \
2662 maybe-dvi-texinfo \
2663 maybe-dvi-textutils \
2664 maybe-dvi-time \
2665 maybe-dvi-uudecode \
2666 maybe-dvi-wdiff \
2667 maybe-dvi-zip \
2668 maybe-dvi-zlib \
2669 maybe-dvi-gdb \
2670 maybe-dvi-expect \
2671 maybe-dvi-guile \
2672 maybe-dvi-tk \
2673 maybe-dvi-tix \
2674 maybe-dvi-libtermcap \
2675 maybe-dvi-utils
2677 .PHONY: dvi-target
2678 dvi-target: \
2679 maybe-dvi-target-libstdc++-v3 \
2680 maybe-dvi-target-newlib \
2681 maybe-dvi-target-libf2c \
2682 maybe-dvi-target-libobjc \
2683 maybe-dvi-target-libtermcap \
2684 maybe-dvi-target-winsup \
2685 maybe-dvi-target-libgloss \
2686 maybe-dvi-target-libiberty \
2687 maybe-dvi-target-gperf \
2688 maybe-dvi-target-examples \
2689 maybe-dvi-target-libffi \
2690 maybe-dvi-target-libjava \
2691 maybe-dvi-target-zlib \
2692 maybe-dvi-target-boehm-gc \
2693 maybe-dvi-target-qthreads \
2694 maybe-dvi-target-rda
2696 # GCC, the eternal special case
2697 .PHONY: maybe-dvi-gcc dvi-gcc
2698 maybe-dvi-gcc:
2699 dvi-gcc: \
2700 configure-gcc
2701 @[ -f ./gcc/Makefile ] || exit 0; \
2702 r=`${PWD}`; export r; \
2703 s=`cd $(srcdir); ${PWD}`; export s; \
2704 $(SET_LIB_PATH) \
2705 for flag in $(EXTRA_GCC_FLAGS); do \
2706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2707 done; \
2708 echo "Doing dvi in gcc" ; \
2709 (cd gcc && \
2710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2712 "RANLIB=$${RANLIB}" \
2713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2714 dvi) \
2715 || exit 1
2717 # Host modules.
2719 .PHONY: maybe-dvi-ash dvi-ash
2720 maybe-dvi-ash:
2722 dvi-ash: \
2723 configure-ash
2724 @[ -f ./ash/Makefile ] || exit 0; \
2725 r=`${PWD}`; export r; \
2726 s=`cd $(srcdir); ${PWD}`; export s; \
2727 $(SET_LIB_PATH) \
2728 for flag in $(EXTRA_HOST_FLAGS); do \
2729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2730 done; \
2731 echo "Doing dvi in ash" ; \
2732 (cd ash && \
2733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2735 "RANLIB=$${RANLIB}" \
2736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2737 dvi) \
2738 || exit 1
2741 .PHONY: maybe-dvi-autoconf dvi-autoconf
2742 maybe-dvi-autoconf:
2744 dvi-autoconf: \
2745 configure-autoconf
2746 @[ -f ./autoconf/Makefile ] || exit 0; \
2747 r=`${PWD}`; export r; \
2748 s=`cd $(srcdir); ${PWD}`; export s; \
2749 $(SET_LIB_PATH) \
2750 for flag in $(EXTRA_HOST_FLAGS); do \
2751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2752 done; \
2753 echo "Doing dvi in autoconf" ; \
2754 (cd autoconf && \
2755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2757 "RANLIB=$${RANLIB}" \
2758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2759 dvi) \
2760 || exit 1
2763 .PHONY: maybe-dvi-automake dvi-automake
2764 maybe-dvi-automake:
2766 dvi-automake: \
2767 configure-automake
2768 @[ -f ./automake/Makefile ] || exit 0; \
2769 r=`${PWD}`; export r; \
2770 s=`cd $(srcdir); ${PWD}`; export s; \
2771 $(SET_LIB_PATH) \
2772 for flag in $(EXTRA_HOST_FLAGS); do \
2773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2774 done; \
2775 echo "Doing dvi in automake" ; \
2776 (cd automake && \
2777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779 "RANLIB=$${RANLIB}" \
2780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2781 dvi) \
2782 || exit 1
2785 .PHONY: maybe-dvi-bash dvi-bash
2786 maybe-dvi-bash:
2788 dvi-bash: \
2789 configure-bash
2790 @[ -f ./bash/Makefile ] || exit 0; \
2791 r=`${PWD}`; export r; \
2792 s=`cd $(srcdir); ${PWD}`; export s; \
2793 $(SET_LIB_PATH) \
2794 for flag in $(EXTRA_HOST_FLAGS); do \
2795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2796 done; \
2797 echo "Doing dvi in bash" ; \
2798 (cd bash && \
2799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2801 "RANLIB=$${RANLIB}" \
2802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2803 dvi) \
2804 || exit 1
2807 .PHONY: maybe-dvi-bfd dvi-bfd
2808 maybe-dvi-bfd:
2810 dvi-bfd: \
2811 configure-bfd
2812 @[ -f ./bfd/Makefile ] || exit 0; \
2813 r=`${PWD}`; export r; \
2814 s=`cd $(srcdir); ${PWD}`; export s; \
2815 $(SET_LIB_PATH) \
2816 for flag in $(EXTRA_HOST_FLAGS); do \
2817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2818 done; \
2819 echo "Doing dvi in bfd" ; \
2820 (cd bfd && \
2821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2823 "RANLIB=$${RANLIB}" \
2824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2825 dvi) \
2826 || exit 1
2829 .PHONY: maybe-dvi-opcodes dvi-opcodes
2830 maybe-dvi-opcodes:
2832 dvi-opcodes: \
2833 configure-opcodes
2834 @[ -f ./opcodes/Makefile ] || exit 0; \
2835 r=`${PWD}`; export r; \
2836 s=`cd $(srcdir); ${PWD}`; export s; \
2837 $(SET_LIB_PATH) \
2838 for flag in $(EXTRA_HOST_FLAGS); do \
2839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2840 done; \
2841 echo "Doing dvi in opcodes" ; \
2842 (cd opcodes && \
2843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2845 "RANLIB=$${RANLIB}" \
2846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2847 dvi) \
2848 || exit 1
2851 .PHONY: maybe-dvi-binutils dvi-binutils
2852 maybe-dvi-binutils:
2854 dvi-binutils: \
2855 configure-binutils
2856 @[ -f ./binutils/Makefile ] || exit 0; \
2857 r=`${PWD}`; export r; \
2858 s=`cd $(srcdir); ${PWD}`; export s; \
2859 $(SET_LIB_PATH) \
2860 for flag in $(EXTRA_HOST_FLAGS); do \
2861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2862 done; \
2863 echo "Doing dvi in binutils" ; \
2864 (cd binutils && \
2865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2867 "RANLIB=$${RANLIB}" \
2868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2869 dvi) \
2870 || exit 1
2873 .PHONY: maybe-dvi-bison dvi-bison
2874 maybe-dvi-bison:
2876 dvi-bison: \
2877 configure-bison
2878 @[ -f ./bison/Makefile ] || exit 0; \
2879 r=`${PWD}`; export r; \
2880 s=`cd $(srcdir); ${PWD}`; export s; \
2881 $(SET_LIB_PATH) \
2882 for flag in $(EXTRA_HOST_FLAGS); do \
2883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2884 done; \
2885 echo "Doing dvi in bison" ; \
2886 (cd bison && \
2887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2889 "RANLIB=$${RANLIB}" \
2890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2891 dvi) \
2892 || exit 1
2895 .PHONY: maybe-dvi-byacc dvi-byacc
2896 maybe-dvi-byacc:
2898 dvi-byacc: \
2899 configure-byacc
2900 @[ -f ./byacc/Makefile ] || exit 0; \
2901 r=`${PWD}`; export r; \
2902 s=`cd $(srcdir); ${PWD}`; export s; \
2903 $(SET_LIB_PATH) \
2904 for flag in $(EXTRA_HOST_FLAGS); do \
2905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2906 done; \
2907 echo "Doing dvi in byacc" ; \
2908 (cd byacc && \
2909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2911 "RANLIB=$${RANLIB}" \
2912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2913 dvi) \
2914 || exit 1
2917 .PHONY: maybe-dvi-bzip2 dvi-bzip2
2918 maybe-dvi-bzip2:
2920 dvi-bzip2: \
2921 configure-bzip2
2922 @[ -f ./bzip2/Makefile ] || exit 0; \
2923 r=`${PWD}`; export r; \
2924 s=`cd $(srcdir); ${PWD}`; export s; \
2925 $(SET_LIB_PATH) \
2926 for flag in $(EXTRA_HOST_FLAGS); do \
2927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2928 done; \
2929 echo "Doing dvi in bzip2" ; \
2930 (cd bzip2 && \
2931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2933 "RANLIB=$${RANLIB}" \
2934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2935 dvi) \
2936 || exit 1
2939 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
2940 maybe-dvi-dejagnu:
2942 dvi-dejagnu: \
2943 configure-dejagnu
2944 @[ -f ./dejagnu/Makefile ] || exit 0; \
2945 r=`${PWD}`; export r; \
2946 s=`cd $(srcdir); ${PWD}`; export s; \
2947 $(SET_LIB_PATH) \
2948 for flag in $(EXTRA_HOST_FLAGS); do \
2949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2950 done; \
2951 echo "Doing dvi in dejagnu" ; \
2952 (cd dejagnu && \
2953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2955 "RANLIB=$${RANLIB}" \
2956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2957 dvi) \
2958 || exit 1
2961 .PHONY: maybe-dvi-diff dvi-diff
2962 maybe-dvi-diff:
2964 dvi-diff: \
2965 configure-diff
2966 @[ -f ./diff/Makefile ] || exit 0; \
2967 r=`${PWD}`; export r; \
2968 s=`cd $(srcdir); ${PWD}`; export s; \
2969 $(SET_LIB_PATH) \
2970 for flag in $(EXTRA_HOST_FLAGS); do \
2971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2972 done; \
2973 echo "Doing dvi in diff" ; \
2974 (cd diff && \
2975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2977 "RANLIB=$${RANLIB}" \
2978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2979 dvi) \
2980 || exit 1
2983 .PHONY: maybe-dvi-dosutils dvi-dosutils
2984 maybe-dvi-dosutils:
2986 dvi-dosutils: \
2987 configure-dosutils
2988 @[ -f ./dosutils/Makefile ] || exit 0; \
2989 r=`${PWD}`; export r; \
2990 s=`cd $(srcdir); ${PWD}`; export s; \
2991 $(SET_LIB_PATH) \
2992 for flag in $(EXTRA_HOST_FLAGS); do \
2993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2994 done; \
2995 echo "Doing dvi in dosutils" ; \
2996 (cd dosutils && \
2997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2999 "RANLIB=$${RANLIB}" \
3000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3001 dvi) \
3002 || exit 1
3005 .PHONY: maybe-dvi-etc dvi-etc
3006 maybe-dvi-etc:
3008 dvi-etc: \
3009 configure-etc
3010 @[ -f ./etc/Makefile ] || exit 0; \
3011 r=`${PWD}`; export r; \
3012 s=`cd $(srcdir); ${PWD}`; export s; \
3013 $(SET_LIB_PATH) \
3014 for flag in $(EXTRA_HOST_FLAGS); do \
3015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3016 done; \
3017 echo "Doing dvi in etc" ; \
3018 (cd etc && \
3019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3021 "RANLIB=$${RANLIB}" \
3022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3023 dvi) \
3024 || exit 1
3027 .PHONY: maybe-dvi-fastjar dvi-fastjar
3028 maybe-dvi-fastjar:
3030 dvi-fastjar: \
3031 configure-fastjar
3032 @[ -f ./fastjar/Makefile ] || exit 0; \
3033 r=`${PWD}`; export r; \
3034 s=`cd $(srcdir); ${PWD}`; export s; \
3035 $(SET_LIB_PATH) \
3036 for flag in $(EXTRA_HOST_FLAGS); do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing dvi in fastjar" ; \
3040 (cd fastjar && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 dvi) \
3046 || exit 1
3049 .PHONY: maybe-dvi-fileutils dvi-fileutils
3050 maybe-dvi-fileutils:
3052 dvi-fileutils: \
3053 configure-fileutils
3054 @[ -f ./fileutils/Makefile ] || exit 0; \
3055 r=`${PWD}`; export r; \
3056 s=`cd $(srcdir); ${PWD}`; export s; \
3057 $(SET_LIB_PATH) \
3058 for flag in $(EXTRA_HOST_FLAGS); do \
3059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3060 done; \
3061 echo "Doing dvi in fileutils" ; \
3062 (cd fileutils && \
3063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065 "RANLIB=$${RANLIB}" \
3066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067 dvi) \
3068 || exit 1
3071 .PHONY: maybe-dvi-findutils dvi-findutils
3072 maybe-dvi-findutils:
3074 dvi-findutils: \
3075 configure-findutils
3076 @[ -f ./findutils/Makefile ] || exit 0; \
3077 r=`${PWD}`; export r; \
3078 s=`cd $(srcdir); ${PWD}`; export s; \
3079 $(SET_LIB_PATH) \
3080 for flag in $(EXTRA_HOST_FLAGS); do \
3081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3082 done; \
3083 echo "Doing dvi in findutils" ; \
3084 (cd findutils && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3087 "RANLIB=$${RANLIB}" \
3088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3089 dvi) \
3090 || exit 1
3093 .PHONY: maybe-dvi-find dvi-find
3094 maybe-dvi-find:
3096 dvi-find: \
3097 configure-find
3098 @[ -f ./find/Makefile ] || exit 0; \
3099 r=`${PWD}`; export r; \
3100 s=`cd $(srcdir); ${PWD}`; export s; \
3101 $(SET_LIB_PATH) \
3102 for flag in $(EXTRA_HOST_FLAGS); do \
3103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3104 done; \
3105 echo "Doing dvi in find" ; \
3106 (cd find && \
3107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3109 "RANLIB=$${RANLIB}" \
3110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3111 dvi) \
3112 || exit 1
3115 .PHONY: maybe-dvi-flex dvi-flex
3116 maybe-dvi-flex:
3118 dvi-flex: \
3119 configure-flex
3120 @[ -f ./flex/Makefile ] || exit 0; \
3121 r=`${PWD}`; export r; \
3122 s=`cd $(srcdir); ${PWD}`; export s; \
3123 $(SET_LIB_PATH) \
3124 for flag in $(EXTRA_HOST_FLAGS); do \
3125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3126 done; \
3127 echo "Doing dvi in flex" ; \
3128 (cd flex && \
3129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3131 "RANLIB=$${RANLIB}" \
3132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3133 dvi) \
3134 || exit 1
3137 .PHONY: maybe-dvi-gas dvi-gas
3138 maybe-dvi-gas:
3140 dvi-gas: \
3141 configure-gas
3142 @[ -f ./gas/Makefile ] || exit 0; \
3143 r=`${PWD}`; export r; \
3144 s=`cd $(srcdir); ${PWD}`; export s; \
3145 $(SET_LIB_PATH) \
3146 for flag in $(EXTRA_HOST_FLAGS); do \
3147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3148 done; \
3149 echo "Doing dvi in gas" ; \
3150 (cd gas && \
3151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3153 "RANLIB=$${RANLIB}" \
3154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3155 dvi) \
3156 || exit 1
3159 .PHONY: maybe-dvi-gawk dvi-gawk
3160 maybe-dvi-gawk:
3162 dvi-gawk: \
3163 configure-gawk
3164 @[ -f ./gawk/Makefile ] || exit 0; \
3165 r=`${PWD}`; export r; \
3166 s=`cd $(srcdir); ${PWD}`; export s; \
3167 $(SET_LIB_PATH) \
3168 for flag in $(EXTRA_HOST_FLAGS); do \
3169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3170 done; \
3171 echo "Doing dvi in gawk" ; \
3172 (cd gawk && \
3173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3175 "RANLIB=$${RANLIB}" \
3176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3177 dvi) \
3178 || exit 1
3181 .PHONY: maybe-dvi-gettext dvi-gettext
3182 maybe-dvi-gettext:
3184 dvi-gettext: \
3185 configure-gettext
3186 @[ -f ./gettext/Makefile ] || exit 0; \
3187 r=`${PWD}`; export r; \
3188 s=`cd $(srcdir); ${PWD}`; export s; \
3189 $(SET_LIB_PATH) \
3190 for flag in $(EXTRA_HOST_FLAGS); do \
3191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3192 done; \
3193 echo "Doing dvi in gettext" ; \
3194 (cd gettext && \
3195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3197 "RANLIB=$${RANLIB}" \
3198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3199 dvi) \
3200 || exit 1
3203 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
3204 maybe-dvi-gnuserv:
3206 dvi-gnuserv: \
3207 configure-gnuserv
3208 @[ -f ./gnuserv/Makefile ] || exit 0; \
3209 r=`${PWD}`; export r; \
3210 s=`cd $(srcdir); ${PWD}`; export s; \
3211 $(SET_LIB_PATH) \
3212 for flag in $(EXTRA_HOST_FLAGS); do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214 done; \
3215 echo "Doing dvi in gnuserv" ; \
3216 (cd gnuserv && \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221 dvi) \
3222 || exit 1
3225 .PHONY: maybe-dvi-gprof dvi-gprof
3226 maybe-dvi-gprof:
3228 dvi-gprof: \
3229 configure-gprof
3230 @[ -f ./gprof/Makefile ] || exit 0; \
3231 r=`${PWD}`; export r; \
3232 s=`cd $(srcdir); ${PWD}`; export s; \
3233 $(SET_LIB_PATH) \
3234 for flag in $(EXTRA_HOST_FLAGS); do \
3235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3236 done; \
3237 echo "Doing dvi in gprof" ; \
3238 (cd gprof && \
3239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3241 "RANLIB=$${RANLIB}" \
3242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3243 dvi) \
3244 || exit 1
3247 .PHONY: maybe-dvi-gzip dvi-gzip
3248 maybe-dvi-gzip:
3250 dvi-gzip: \
3251 configure-gzip
3252 @[ -f ./gzip/Makefile ] || exit 0; \
3253 r=`${PWD}`; export r; \
3254 s=`cd $(srcdir); ${PWD}`; export s; \
3255 $(SET_LIB_PATH) \
3256 for flag in $(EXTRA_HOST_FLAGS); do \
3257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3258 done; \
3259 echo "Doing dvi in gzip" ; \
3260 (cd gzip && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3263 "RANLIB=$${RANLIB}" \
3264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3265 dvi) \
3266 || exit 1
3269 .PHONY: maybe-dvi-hello dvi-hello
3270 maybe-dvi-hello:
3272 dvi-hello: \
3273 configure-hello
3274 @[ -f ./hello/Makefile ] || exit 0; \
3275 r=`${PWD}`; export r; \
3276 s=`cd $(srcdir); ${PWD}`; export s; \
3277 $(SET_LIB_PATH) \
3278 for flag in $(EXTRA_HOST_FLAGS); do \
3279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3280 done; \
3281 echo "Doing dvi in hello" ; \
3282 (cd hello && \
3283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3285 "RANLIB=$${RANLIB}" \
3286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3287 dvi) \
3288 || exit 1
3291 .PHONY: maybe-dvi-indent dvi-indent
3292 maybe-dvi-indent:
3294 dvi-indent: \
3295 configure-indent
3296 @[ -f ./indent/Makefile ] || exit 0; \
3297 r=`${PWD}`; export r; \
3298 s=`cd $(srcdir); ${PWD}`; export s; \
3299 $(SET_LIB_PATH) \
3300 for flag in $(EXTRA_HOST_FLAGS); do \
3301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3302 done; \
3303 echo "Doing dvi in indent" ; \
3304 (cd indent && \
3305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3307 "RANLIB=$${RANLIB}" \
3308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3309 dvi) \
3310 || exit 1
3313 .PHONY: maybe-dvi-intl dvi-intl
3314 maybe-dvi-intl:
3316 dvi-intl: \
3317 configure-intl
3318 @[ -f ./intl/Makefile ] || exit 0; \
3319 r=`${PWD}`; export r; \
3320 s=`cd $(srcdir); ${PWD}`; export s; \
3321 $(SET_LIB_PATH) \
3322 for flag in $(EXTRA_HOST_FLAGS); do \
3323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3324 done; \
3325 echo "Doing dvi in intl" ; \
3326 (cd intl && \
3327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3329 "RANLIB=$${RANLIB}" \
3330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3331 dvi) \
3332 || exit 1
3335 .PHONY: maybe-dvi-tcl dvi-tcl
3336 maybe-dvi-tcl:
3338 dvi-tcl: \
3339 configure-tcl
3340 @[ -f ./tcl/Makefile ] || exit 0; \
3341 r=`${PWD}`; export r; \
3342 s=`cd $(srcdir); ${PWD}`; export s; \
3343 $(SET_LIB_PATH) \
3344 for flag in $(EXTRA_HOST_FLAGS); do \
3345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3346 done; \
3347 echo "Doing dvi in tcl" ; \
3348 (cd tcl && \
3349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3351 "RANLIB=$${RANLIB}" \
3352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3353 dvi) \
3354 || exit 1
3357 .PHONY: maybe-dvi-itcl dvi-itcl
3358 maybe-dvi-itcl:
3360 dvi-itcl: \
3361 configure-itcl
3362 @[ -f ./itcl/Makefile ] || exit 0; \
3363 r=`${PWD}`; export r; \
3364 s=`cd $(srcdir); ${PWD}`; export s; \
3365 $(SET_LIB_PATH) \
3366 for flag in $(EXTRA_HOST_FLAGS); do \
3367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3368 done; \
3369 echo "Doing dvi in itcl" ; \
3370 (cd itcl && \
3371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3373 "RANLIB=$${RANLIB}" \
3374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3375 dvi) \
3376 || exit 1
3379 .PHONY: maybe-dvi-ld dvi-ld
3380 maybe-dvi-ld:
3382 dvi-ld: \
3383 configure-ld
3384 @[ -f ./ld/Makefile ] || exit 0; \
3385 r=`${PWD}`; export r; \
3386 s=`cd $(srcdir); ${PWD}`; export s; \
3387 $(SET_LIB_PATH) \
3388 for flag in $(EXTRA_HOST_FLAGS); do \
3389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3390 done; \
3391 echo "Doing dvi in ld" ; \
3392 (cd ld && \
3393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3395 "RANLIB=$${RANLIB}" \
3396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3397 dvi) \
3398 || exit 1
3401 .PHONY: maybe-dvi-libgui dvi-libgui
3402 maybe-dvi-libgui:
3404 dvi-libgui: \
3405 configure-libgui
3406 @[ -f ./libgui/Makefile ] || exit 0; \
3407 r=`${PWD}`; export r; \
3408 s=`cd $(srcdir); ${PWD}`; export s; \
3409 $(SET_LIB_PATH) \
3410 for flag in $(EXTRA_HOST_FLAGS); do \
3411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3412 done; \
3413 echo "Doing dvi in libgui" ; \
3414 (cd libgui && \
3415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3417 "RANLIB=$${RANLIB}" \
3418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3419 dvi) \
3420 || exit 1
3423 .PHONY: maybe-dvi-libiberty dvi-libiberty
3424 maybe-dvi-libiberty:
3426 dvi-libiberty: \
3427 configure-libiberty
3428 @[ -f ./libiberty/Makefile ] || exit 0; \
3429 r=`${PWD}`; export r; \
3430 s=`cd $(srcdir); ${PWD}`; export s; \
3431 $(SET_LIB_PATH) \
3432 for flag in $(EXTRA_HOST_FLAGS); do \
3433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3434 done; \
3435 echo "Doing dvi in libiberty" ; \
3436 (cd libiberty && \
3437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3439 "RANLIB=$${RANLIB}" \
3440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3441 dvi) \
3442 || exit 1
3445 .PHONY: maybe-dvi-libtool dvi-libtool
3446 maybe-dvi-libtool:
3448 dvi-libtool: \
3449 configure-libtool
3450 @[ -f ./libtool/Makefile ] || exit 0; \
3451 r=`${PWD}`; export r; \
3452 s=`cd $(srcdir); ${PWD}`; export s; \
3453 $(SET_LIB_PATH) \
3454 for flag in $(EXTRA_HOST_FLAGS); do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing dvi in libtool" ; \
3458 (cd libtool && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 dvi) \
3464 || exit 1
3467 .PHONY: maybe-dvi-m4 dvi-m4
3468 maybe-dvi-m4:
3470 dvi-m4: \
3471 configure-m4
3472 @[ -f ./m4/Makefile ] || exit 0; \
3473 r=`${PWD}`; export r; \
3474 s=`cd $(srcdir); ${PWD}`; export s; \
3475 $(SET_LIB_PATH) \
3476 for flag in $(EXTRA_HOST_FLAGS); do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3478 done; \
3479 echo "Doing dvi in m4" ; \
3480 (cd m4 && \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3485 dvi) \
3486 || exit 1
3489 .PHONY: maybe-dvi-make dvi-make
3490 maybe-dvi-make:
3492 dvi-make: \
3493 configure-make
3494 @[ -f ./make/Makefile ] || exit 0; \
3495 r=`${PWD}`; export r; \
3496 s=`cd $(srcdir); ${PWD}`; export s; \
3497 $(SET_LIB_PATH) \
3498 for flag in $(EXTRA_HOST_FLAGS); do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3500 done; \
3501 echo "Doing dvi in make" ; \
3502 (cd make && \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3507 dvi) \
3508 || exit 1
3511 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
3512 maybe-dvi-mmalloc:
3514 dvi-mmalloc: \
3515 configure-mmalloc
3516 @[ -f ./mmalloc/Makefile ] || exit 0; \
3517 r=`${PWD}`; export r; \
3518 s=`cd $(srcdir); ${PWD}`; export s; \
3519 $(SET_LIB_PATH) \
3520 for flag in $(EXTRA_HOST_FLAGS); do \
3521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3522 done; \
3523 echo "Doing dvi in mmalloc" ; \
3524 (cd mmalloc && \
3525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3527 "RANLIB=$${RANLIB}" \
3528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3529 dvi) \
3530 || exit 1
3533 .PHONY: maybe-dvi-patch dvi-patch
3534 maybe-dvi-patch:
3536 dvi-patch: \
3537 configure-patch
3538 @[ -f ./patch/Makefile ] || exit 0; \
3539 r=`${PWD}`; export r; \
3540 s=`cd $(srcdir); ${PWD}`; export s; \
3541 $(SET_LIB_PATH) \
3542 for flag in $(EXTRA_HOST_FLAGS); do \
3543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3544 done; \
3545 echo "Doing dvi in patch" ; \
3546 (cd patch && \
3547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3549 "RANLIB=$${RANLIB}" \
3550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3551 dvi) \
3552 || exit 1
3555 .PHONY: maybe-dvi-perl dvi-perl
3556 maybe-dvi-perl:
3558 dvi-perl: \
3559 configure-perl
3560 @[ -f ./perl/Makefile ] || exit 0; \
3561 r=`${PWD}`; export r; \
3562 s=`cd $(srcdir); ${PWD}`; export s; \
3563 $(SET_LIB_PATH) \
3564 for flag in $(EXTRA_HOST_FLAGS); do \
3565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3566 done; \
3567 echo "Doing dvi in perl" ; \
3568 (cd perl && \
3569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3571 "RANLIB=$${RANLIB}" \
3572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3573 dvi) \
3574 || exit 1
3577 .PHONY: maybe-dvi-prms dvi-prms
3578 maybe-dvi-prms:
3580 dvi-prms: \
3581 configure-prms
3582 @[ -f ./prms/Makefile ] || exit 0; \
3583 r=`${PWD}`; export r; \
3584 s=`cd $(srcdir); ${PWD}`; export s; \
3585 $(SET_LIB_PATH) \
3586 for flag in $(EXTRA_HOST_FLAGS); do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3588 done; \
3589 echo "Doing dvi in prms" ; \
3590 (cd prms && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3595 dvi) \
3596 || exit 1
3599 .PHONY: maybe-dvi-rcs dvi-rcs
3600 maybe-dvi-rcs:
3602 dvi-rcs: \
3603 configure-rcs
3604 @[ -f ./rcs/Makefile ] || exit 0; \
3605 r=`${PWD}`; export r; \
3606 s=`cd $(srcdir); ${PWD}`; export s; \
3607 $(SET_LIB_PATH) \
3608 for flag in $(EXTRA_HOST_FLAGS); do \
3609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3610 done; \
3611 echo "Doing dvi in rcs" ; \
3612 (cd rcs && \
3613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3615 "RANLIB=$${RANLIB}" \
3616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3617 dvi) \
3618 || exit 1
3621 .PHONY: maybe-dvi-readline dvi-readline
3622 maybe-dvi-readline:
3624 dvi-readline: \
3625 configure-readline
3626 @[ -f ./readline/Makefile ] || exit 0; \
3627 r=`${PWD}`; export r; \
3628 s=`cd $(srcdir); ${PWD}`; export s; \
3629 $(SET_LIB_PATH) \
3630 for flag in $(EXTRA_HOST_FLAGS); do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3632 done; \
3633 echo "Doing dvi in readline" ; \
3634 (cd readline && \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3639 dvi) \
3640 || exit 1
3643 .PHONY: maybe-dvi-release dvi-release
3644 maybe-dvi-release:
3646 dvi-release: \
3647 configure-release
3648 @[ -f ./release/Makefile ] || exit 0; \
3649 r=`${PWD}`; export r; \
3650 s=`cd $(srcdir); ${PWD}`; export s; \
3651 $(SET_LIB_PATH) \
3652 for flag in $(EXTRA_HOST_FLAGS); do \
3653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3654 done; \
3655 echo "Doing dvi in release" ; \
3656 (cd release && \
3657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3659 "RANLIB=$${RANLIB}" \
3660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3661 dvi) \
3662 || exit 1
3665 .PHONY: maybe-dvi-recode dvi-recode
3666 maybe-dvi-recode:
3668 dvi-recode: \
3669 configure-recode
3670 @[ -f ./recode/Makefile ] || exit 0; \
3671 r=`${PWD}`; export r; \
3672 s=`cd $(srcdir); ${PWD}`; export s; \
3673 $(SET_LIB_PATH) \
3674 for flag in $(EXTRA_HOST_FLAGS); do \
3675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3676 done; \
3677 echo "Doing dvi in recode" ; \
3678 (cd recode && \
3679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3681 "RANLIB=$${RANLIB}" \
3682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3683 dvi) \
3684 || exit 1
3687 .PHONY: maybe-dvi-sed dvi-sed
3688 maybe-dvi-sed:
3690 dvi-sed: \
3691 configure-sed
3692 @[ -f ./sed/Makefile ] || exit 0; \
3693 r=`${PWD}`; export r; \
3694 s=`cd $(srcdir); ${PWD}`; export s; \
3695 $(SET_LIB_PATH) \
3696 for flag in $(EXTRA_HOST_FLAGS); do \
3697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3698 done; \
3699 echo "Doing dvi in sed" ; \
3700 (cd sed && \
3701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3703 "RANLIB=$${RANLIB}" \
3704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3705 dvi) \
3706 || exit 1
3709 .PHONY: maybe-dvi-send-pr dvi-send-pr
3710 maybe-dvi-send-pr:
3712 dvi-send-pr: \
3713 configure-send-pr
3714 @[ -f ./send-pr/Makefile ] || exit 0; \
3715 r=`${PWD}`; export r; \
3716 s=`cd $(srcdir); ${PWD}`; export s; \
3717 $(SET_LIB_PATH) \
3718 for flag in $(EXTRA_HOST_FLAGS); do \
3719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3720 done; \
3721 echo "Doing dvi in send-pr" ; \
3722 (cd send-pr && \
3723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3725 "RANLIB=$${RANLIB}" \
3726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3727 dvi) \
3728 || exit 1
3731 .PHONY: maybe-dvi-shellutils dvi-shellutils
3732 maybe-dvi-shellutils:
3734 dvi-shellutils: \
3735 configure-shellutils
3736 @[ -f ./shellutils/Makefile ] || exit 0; \
3737 r=`${PWD}`; export r; \
3738 s=`cd $(srcdir); ${PWD}`; export s; \
3739 $(SET_LIB_PATH) \
3740 for flag in $(EXTRA_HOST_FLAGS); do \
3741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3742 done; \
3743 echo "Doing dvi in shellutils" ; \
3744 (cd shellutils && \
3745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3747 "RANLIB=$${RANLIB}" \
3748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3749 dvi) \
3750 || exit 1
3753 .PHONY: maybe-dvi-sid dvi-sid
3754 maybe-dvi-sid:
3756 dvi-sid: \
3757 configure-sid
3758 @[ -f ./sid/Makefile ] || exit 0; \
3759 r=`${PWD}`; export r; \
3760 s=`cd $(srcdir); ${PWD}`; export s; \
3761 $(SET_LIB_PATH) \
3762 for flag in $(EXTRA_HOST_FLAGS); do \
3763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3764 done; \
3765 echo "Doing dvi in sid" ; \
3766 (cd sid && \
3767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3769 "RANLIB=$${RANLIB}" \
3770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3771 dvi) \
3772 || exit 1
3775 .PHONY: maybe-dvi-sim dvi-sim
3776 maybe-dvi-sim:
3778 dvi-sim: \
3779 configure-sim
3780 @[ -f ./sim/Makefile ] || exit 0; \
3781 r=`${PWD}`; export r; \
3782 s=`cd $(srcdir); ${PWD}`; export s; \
3783 $(SET_LIB_PATH) \
3784 for flag in $(EXTRA_HOST_FLAGS); do \
3785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3786 done; \
3787 echo "Doing dvi in sim" ; \
3788 (cd sim && \
3789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3791 "RANLIB=$${RANLIB}" \
3792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3793 dvi) \
3794 || exit 1
3797 .PHONY: maybe-dvi-tar dvi-tar
3798 maybe-dvi-tar:
3800 dvi-tar: \
3801 configure-tar
3802 @[ -f ./tar/Makefile ] || exit 0; \
3803 r=`${PWD}`; export r; \
3804 s=`cd $(srcdir); ${PWD}`; export s; \
3805 $(SET_LIB_PATH) \
3806 for flag in $(EXTRA_HOST_FLAGS); do \
3807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3808 done; \
3809 echo "Doing dvi in tar" ; \
3810 (cd tar && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3813 "RANLIB=$${RANLIB}" \
3814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3815 dvi) \
3816 || exit 1
3819 .PHONY: maybe-dvi-texinfo dvi-texinfo
3820 maybe-dvi-texinfo:
3822 dvi-texinfo: \
3823 configure-texinfo
3824 @[ -f ./texinfo/Makefile ] || exit 0; \
3825 r=`${PWD}`; export r; \
3826 s=`cd $(srcdir); ${PWD}`; export s; \
3827 $(SET_LIB_PATH) \
3828 for flag in $(EXTRA_HOST_FLAGS); do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing dvi in texinfo" ; \
3832 (cd texinfo && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837 dvi) \
3838 || exit 1
3841 .PHONY: maybe-dvi-textutils dvi-textutils
3842 maybe-dvi-textutils:
3844 dvi-textutils: \
3845 configure-textutils
3846 @[ -f ./textutils/Makefile ] || exit 0; \
3847 r=`${PWD}`; export r; \
3848 s=`cd $(srcdir); ${PWD}`; export s; \
3849 $(SET_LIB_PATH) \
3850 for flag in $(EXTRA_HOST_FLAGS); do \
3851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3852 done; \
3853 echo "Doing dvi in textutils" ; \
3854 (cd textutils && \
3855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3857 "RANLIB=$${RANLIB}" \
3858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3859 dvi) \
3860 || exit 1
3863 .PHONY: maybe-dvi-time dvi-time
3864 maybe-dvi-time:
3866 dvi-time: \
3867 configure-time
3868 @[ -f ./time/Makefile ] || exit 0; \
3869 r=`${PWD}`; export r; \
3870 s=`cd $(srcdir); ${PWD}`; export s; \
3871 $(SET_LIB_PATH) \
3872 for flag in $(EXTRA_HOST_FLAGS); do \
3873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3874 done; \
3875 echo "Doing dvi in time" ; \
3876 (cd time && \
3877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3879 "RANLIB=$${RANLIB}" \
3880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3881 dvi) \
3882 || exit 1
3885 .PHONY: maybe-dvi-uudecode dvi-uudecode
3886 maybe-dvi-uudecode:
3888 dvi-uudecode: \
3889 configure-uudecode
3890 @[ -f ./uudecode/Makefile ] || exit 0; \
3891 r=`${PWD}`; export r; \
3892 s=`cd $(srcdir); ${PWD}`; export s; \
3893 $(SET_LIB_PATH) \
3894 for flag in $(EXTRA_HOST_FLAGS); do \
3895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3896 done; \
3897 echo "Doing dvi in uudecode" ; \
3898 (cd uudecode && \
3899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3901 "RANLIB=$${RANLIB}" \
3902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3903 dvi) \
3904 || exit 1
3907 .PHONY: maybe-dvi-wdiff dvi-wdiff
3908 maybe-dvi-wdiff:
3910 dvi-wdiff: \
3911 configure-wdiff
3912 @[ -f ./wdiff/Makefile ] || exit 0; \
3913 r=`${PWD}`; export r; \
3914 s=`cd $(srcdir); ${PWD}`; export s; \
3915 $(SET_LIB_PATH) \
3916 for flag in $(EXTRA_HOST_FLAGS); do \
3917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3918 done; \
3919 echo "Doing dvi in wdiff" ; \
3920 (cd wdiff && \
3921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3923 "RANLIB=$${RANLIB}" \
3924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3925 dvi) \
3926 || exit 1
3929 .PHONY: maybe-dvi-zip dvi-zip
3930 maybe-dvi-zip:
3932 dvi-zip: \
3933 configure-zip
3934 @[ -f ./zip/Makefile ] || exit 0; \
3935 r=`${PWD}`; export r; \
3936 s=`cd $(srcdir); ${PWD}`; export s; \
3937 $(SET_LIB_PATH) \
3938 for flag in $(EXTRA_HOST_FLAGS); do \
3939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3940 done; \
3941 echo "Doing dvi in zip" ; \
3942 (cd zip && \
3943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3945 "RANLIB=$${RANLIB}" \
3946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3947 dvi) \
3948 || exit 1
3951 .PHONY: maybe-dvi-zlib dvi-zlib
3952 maybe-dvi-zlib:
3954 dvi-zlib: \
3955 configure-zlib
3956 @[ -f ./zlib/Makefile ] || exit 0; \
3957 r=`${PWD}`; export r; \
3958 s=`cd $(srcdir); ${PWD}`; export s; \
3959 $(SET_LIB_PATH) \
3960 for flag in $(EXTRA_HOST_FLAGS); do \
3961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3962 done; \
3963 echo "Doing dvi in zlib" ; \
3964 (cd zlib && \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3967 "RANLIB=$${RANLIB}" \
3968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3969 dvi) \
3970 || exit 1
3973 .PHONY: maybe-dvi-gdb dvi-gdb
3974 maybe-dvi-gdb:
3976 dvi-gdb: \
3977 configure-gdb
3978 @[ -f ./gdb/Makefile ] || exit 0; \
3979 r=`${PWD}`; export r; \
3980 s=`cd $(srcdir); ${PWD}`; export s; \
3981 $(SET_LIB_PATH) \
3982 for flag in $(EXTRA_HOST_FLAGS); do \
3983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3984 done; \
3985 echo "Doing dvi in gdb" ; \
3986 (cd gdb && \
3987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3989 "RANLIB=$${RANLIB}" \
3990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3991 dvi) \
3992 || exit 1
3995 .PHONY: maybe-dvi-expect dvi-expect
3996 maybe-dvi-expect:
3998 dvi-expect: \
3999 configure-expect
4000 @[ -f ./expect/Makefile ] || exit 0; \
4001 r=`${PWD}`; export r; \
4002 s=`cd $(srcdir); ${PWD}`; export s; \
4003 $(SET_LIB_PATH) \
4004 for flag in $(EXTRA_HOST_FLAGS); do \
4005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4006 done; \
4007 echo "Doing dvi in expect" ; \
4008 (cd expect && \
4009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4011 "RANLIB=$${RANLIB}" \
4012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4013 dvi) \
4014 || exit 1
4017 .PHONY: maybe-dvi-guile dvi-guile
4018 maybe-dvi-guile:
4020 dvi-guile: \
4021 configure-guile
4022 @[ -f ./guile/Makefile ] || exit 0; \
4023 r=`${PWD}`; export r; \
4024 s=`cd $(srcdir); ${PWD}`; export s; \
4025 $(SET_LIB_PATH) \
4026 for flag in $(EXTRA_HOST_FLAGS); do \
4027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4028 done; \
4029 echo "Doing dvi in guile" ; \
4030 (cd guile && \
4031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4033 "RANLIB=$${RANLIB}" \
4034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4035 dvi) \
4036 || exit 1
4039 .PHONY: maybe-dvi-tk dvi-tk
4040 maybe-dvi-tk:
4042 dvi-tk: \
4043 configure-tk
4044 @[ -f ./tk/Makefile ] || exit 0; \
4045 r=`${PWD}`; export r; \
4046 s=`cd $(srcdir); ${PWD}`; export s; \
4047 $(SET_LIB_PATH) \
4048 for flag in $(EXTRA_HOST_FLAGS); do \
4049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4050 done; \
4051 echo "Doing dvi in tk" ; \
4052 (cd tk && \
4053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4055 "RANLIB=$${RANLIB}" \
4056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4057 dvi) \
4058 || exit 1
4061 .PHONY: maybe-dvi-tix dvi-tix
4062 maybe-dvi-tix:
4064 dvi-tix: \
4065 configure-tix
4066 @[ -f ./tix/Makefile ] || exit 0; \
4067 r=`${PWD}`; export r; \
4068 s=`cd $(srcdir); ${PWD}`; export s; \
4069 $(SET_LIB_PATH) \
4070 for flag in $(EXTRA_HOST_FLAGS); do \
4071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4072 done; \
4073 echo "Doing dvi in tix" ; \
4074 (cd tix && \
4075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4077 "RANLIB=$${RANLIB}" \
4078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4079 dvi) \
4080 || exit 1
4083 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
4084 maybe-dvi-libtermcap:
4086 dvi-libtermcap: \
4087 configure-libtermcap
4088 @[ -f ./libtermcap/Makefile ] || exit 0; \
4089 r=`${PWD}`; export r; \
4090 s=`cd $(srcdir); ${PWD}`; export s; \
4091 $(SET_LIB_PATH) \
4092 for flag in $(EXTRA_HOST_FLAGS); do \
4093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4094 done; \
4095 echo "Doing dvi in libtermcap" ; \
4096 (cd libtermcap && \
4097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4099 "RANLIB=$${RANLIB}" \
4100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4101 dvi) \
4102 || exit 1
4105 .PHONY: maybe-dvi-utils dvi-utils
4106 maybe-dvi-utils:
4108 dvi-utils: \
4109 configure-utils
4110 @[ -f ./utils/Makefile ] || exit 0; \
4111 r=`${PWD}`; export r; \
4112 s=`cd $(srcdir); ${PWD}`; export s; \
4113 $(SET_LIB_PATH) \
4114 for flag in $(EXTRA_HOST_FLAGS); do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing dvi in utils" ; \
4118 (cd utils && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 dvi) \
4124 || exit 1
4128 # Target modules.
4130 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
4131 maybe-dvi-target-libstdc++-v3:
4133 dvi-target-libstdc++-v3: \
4134 configure-target-libstdc++-v3
4135 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
4136 r=`${PWD}`; export r; \
4137 s=`cd $(srcdir); ${PWD}`; export s; \
4138 $(SET_LIB_PATH) \
4139 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
4140 for flag in $(EXTRA_TARGET_FLAGS); do \
4141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4142 done; \
4143 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
4144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4146 "RANLIB=$${RANLIB}" \
4147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4148 dvi) \
4149 || exit 1
4152 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
4153 maybe-dvi-target-newlib:
4155 dvi-target-newlib: \
4156 configure-target-newlib
4157 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
4158 r=`${PWD}`; export r; \
4159 s=`cd $(srcdir); ${PWD}`; export s; \
4160 $(SET_LIB_PATH) \
4161 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
4162 for flag in $(EXTRA_TARGET_FLAGS); do \
4163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4164 done; \
4165 (cd $(TARGET_SUBDIR)/newlib && \
4166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4168 "RANLIB=$${RANLIB}" \
4169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4170 dvi) \
4171 || exit 1
4174 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
4175 maybe-dvi-target-libf2c:
4177 dvi-target-libf2c: \
4178 configure-target-libf2c
4179 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
4180 r=`${PWD}`; export r; \
4181 s=`cd $(srcdir); ${PWD}`; export s; \
4182 $(SET_LIB_PATH) \
4183 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
4184 for flag in $(EXTRA_TARGET_FLAGS); do \
4185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4186 done; \
4187 (cd $(TARGET_SUBDIR)/libf2c && \
4188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4190 "RANLIB=$${RANLIB}" \
4191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4192 dvi) \
4193 || exit 1
4196 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
4197 maybe-dvi-target-libobjc:
4199 dvi-target-libobjc: \
4200 configure-target-libobjc
4201 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
4202 r=`${PWD}`; export r; \
4203 s=`cd $(srcdir); ${PWD}`; export s; \
4204 $(SET_LIB_PATH) \
4205 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
4206 for flag in $(EXTRA_TARGET_FLAGS); do \
4207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4208 done; \
4209 (cd $(TARGET_SUBDIR)/libobjc && \
4210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4212 "RANLIB=$${RANLIB}" \
4213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4214 dvi) \
4215 || exit 1
4218 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
4219 maybe-dvi-target-libtermcap:
4221 dvi-target-libtermcap: \
4222 configure-target-libtermcap
4223 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
4224 r=`${PWD}`; export r; \
4225 s=`cd $(srcdir); ${PWD}`; export s; \
4226 $(SET_LIB_PATH) \
4227 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
4228 for flag in $(EXTRA_TARGET_FLAGS); do \
4229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4230 done; \
4231 (cd $(TARGET_SUBDIR)/libtermcap && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4234 "RANLIB=$${RANLIB}" \
4235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4236 dvi) \
4237 || exit 1
4240 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
4241 maybe-dvi-target-winsup:
4243 dvi-target-winsup: \
4244 configure-target-winsup
4245 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
4246 r=`${PWD}`; export r; \
4247 s=`cd $(srcdir); ${PWD}`; export s; \
4248 $(SET_LIB_PATH) \
4249 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
4250 for flag in $(EXTRA_TARGET_FLAGS); do \
4251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4252 done; \
4253 (cd $(TARGET_SUBDIR)/winsup && \
4254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4256 "RANLIB=$${RANLIB}" \
4257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4258 dvi) \
4259 || exit 1
4262 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
4263 maybe-dvi-target-libgloss:
4265 dvi-target-libgloss: \
4266 configure-target-libgloss
4267 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
4268 r=`${PWD}`; export r; \
4269 s=`cd $(srcdir); ${PWD}`; export s; \
4270 $(SET_LIB_PATH) \
4271 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
4272 for flag in $(EXTRA_TARGET_FLAGS); do \
4273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4274 done; \
4275 (cd $(TARGET_SUBDIR)/libgloss && \
4276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4278 "RANLIB=$${RANLIB}" \
4279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4280 dvi) \
4281 || exit 1
4284 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
4285 maybe-dvi-target-libiberty:
4287 dvi-target-libiberty: \
4288 configure-target-libiberty
4289 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
4290 r=`${PWD}`; export r; \
4291 s=`cd $(srcdir); ${PWD}`; export s; \
4292 $(SET_LIB_PATH) \
4293 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
4294 for flag in $(EXTRA_TARGET_FLAGS); do \
4295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4296 done; \
4297 (cd $(TARGET_SUBDIR)/libiberty && \
4298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4300 "RANLIB=$${RANLIB}" \
4301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4302 dvi) \
4303 || exit 1
4306 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
4307 maybe-dvi-target-gperf:
4309 dvi-target-gperf: \
4310 configure-target-gperf
4311 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
4312 r=`${PWD}`; export r; \
4313 s=`cd $(srcdir); ${PWD}`; export s; \
4314 $(SET_LIB_PATH) \
4315 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
4316 for flag in $(EXTRA_TARGET_FLAGS); do \
4317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4318 done; \
4319 (cd $(TARGET_SUBDIR)/gperf && \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4322 "RANLIB=$${RANLIB}" \
4323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4324 dvi) \
4325 || exit 1
4328 .PHONY: maybe-dvi-target-examples dvi-target-examples
4329 maybe-dvi-target-examples:
4331 dvi-target-examples: \
4332 configure-target-examples
4333 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
4334 r=`${PWD}`; export r; \
4335 s=`cd $(srcdir); ${PWD}`; export s; \
4336 $(SET_LIB_PATH) \
4337 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
4338 for flag in $(EXTRA_TARGET_FLAGS); do \
4339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4340 done; \
4341 (cd $(TARGET_SUBDIR)/examples && \
4342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4344 "RANLIB=$${RANLIB}" \
4345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4346 dvi) \
4347 || exit 1
4350 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
4351 maybe-dvi-target-libffi:
4353 dvi-target-libffi: \
4354 configure-target-libffi
4355 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
4356 r=`${PWD}`; export r; \
4357 s=`cd $(srcdir); ${PWD}`; export s; \
4358 $(SET_LIB_PATH) \
4359 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
4360 for flag in $(EXTRA_TARGET_FLAGS); do \
4361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4362 done; \
4363 (cd $(TARGET_SUBDIR)/libffi && \
4364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4366 "RANLIB=$${RANLIB}" \
4367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4368 dvi) \
4369 || exit 1
4372 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
4373 maybe-dvi-target-libjava:
4375 dvi-target-libjava: \
4376 configure-target-libjava
4377 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
4378 r=`${PWD}`; export r; \
4379 s=`cd $(srcdir); ${PWD}`; export s; \
4380 $(SET_LIB_PATH) \
4381 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
4382 for flag in $(EXTRA_TARGET_FLAGS); do \
4383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4384 done; \
4385 (cd $(TARGET_SUBDIR)/libjava && \
4386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4388 "RANLIB=$${RANLIB}" \
4389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4390 dvi) \
4391 || exit 1
4394 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
4395 maybe-dvi-target-zlib:
4397 dvi-target-zlib: \
4398 configure-target-zlib
4399 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
4400 r=`${PWD}`; export r; \
4401 s=`cd $(srcdir); ${PWD}`; export s; \
4402 $(SET_LIB_PATH) \
4403 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
4404 for flag in $(EXTRA_TARGET_FLAGS); do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 done; \
4407 (cd $(TARGET_SUBDIR)/zlib && \
4408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410 "RANLIB=$${RANLIB}" \
4411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4412 dvi) \
4413 || exit 1
4416 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
4417 maybe-dvi-target-boehm-gc:
4419 dvi-target-boehm-gc: \
4420 configure-target-boehm-gc
4421 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
4422 r=`${PWD}`; export r; \
4423 s=`cd $(srcdir); ${PWD}`; export s; \
4424 $(SET_LIB_PATH) \
4425 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
4426 for flag in $(EXTRA_TARGET_FLAGS); do \
4427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4428 done; \
4429 (cd $(TARGET_SUBDIR)/boehm-gc && \
4430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4432 "RANLIB=$${RANLIB}" \
4433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4434 dvi) \
4435 || exit 1
4438 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
4439 maybe-dvi-target-qthreads:
4441 dvi-target-qthreads: \
4442 configure-target-qthreads
4443 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
4444 r=`${PWD}`; export r; \
4445 s=`cd $(srcdir); ${PWD}`; export s; \
4446 $(SET_LIB_PATH) \
4447 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
4448 for flag in $(EXTRA_TARGET_FLAGS); do \
4449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4450 done; \
4451 (cd $(TARGET_SUBDIR)/qthreads && \
4452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4454 "RANLIB=$${RANLIB}" \
4455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4456 dvi) \
4457 || exit 1
4460 .PHONY: maybe-dvi-target-rda dvi-target-rda
4461 maybe-dvi-target-rda:
4463 dvi-target-rda: \
4464 configure-target-rda
4465 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
4466 r=`${PWD}`; export r; \
4467 s=`cd $(srcdir); ${PWD}`; export s; \
4468 $(SET_LIB_PATH) \
4469 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
4470 for flag in $(EXTRA_TARGET_FLAGS); do \
4471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472 done; \
4473 (cd $(TARGET_SUBDIR)/rda && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4478 dvi) \
4479 || exit 1
4483 .PHONY: do-TAGS
4484 do-TAGS: TAGS-host TAGS-target
4486 .PHONY: TAGS-host
4487 TAGS-host: maybe-TAGS-gcc \
4488 maybe-TAGS-ash \
4489 maybe-TAGS-autoconf \
4490 maybe-TAGS-automake \
4491 maybe-TAGS-bash \
4492 maybe-TAGS-bfd \
4493 maybe-TAGS-opcodes \
4494 maybe-TAGS-binutils \
4495 maybe-TAGS-bison \
4496 maybe-TAGS-byacc \
4497 maybe-TAGS-bzip2 \
4498 maybe-TAGS-dejagnu \
4499 maybe-TAGS-diff \
4500 maybe-TAGS-dosutils \
4501 maybe-TAGS-etc \
4502 maybe-TAGS-fastjar \
4503 maybe-TAGS-fileutils \
4504 maybe-TAGS-findutils \
4505 maybe-TAGS-find \
4506 maybe-TAGS-flex \
4507 maybe-TAGS-gas \
4508 maybe-TAGS-gawk \
4509 maybe-TAGS-gettext \
4510 maybe-TAGS-gnuserv \
4511 maybe-TAGS-gprof \
4512 maybe-TAGS-gzip \
4513 maybe-TAGS-hello \
4514 maybe-TAGS-indent \
4515 maybe-TAGS-intl \
4516 maybe-TAGS-tcl \
4517 maybe-TAGS-itcl \
4518 maybe-TAGS-ld \
4519 maybe-TAGS-libgui \
4520 maybe-TAGS-libiberty \
4521 maybe-TAGS-libtool \
4522 maybe-TAGS-m4 \
4523 maybe-TAGS-make \
4524 maybe-TAGS-mmalloc \
4525 maybe-TAGS-patch \
4526 maybe-TAGS-perl \
4527 maybe-TAGS-prms \
4528 maybe-TAGS-rcs \
4529 maybe-TAGS-readline \
4530 maybe-TAGS-release \
4531 maybe-TAGS-recode \
4532 maybe-TAGS-sed \
4533 maybe-TAGS-send-pr \
4534 maybe-TAGS-shellutils \
4535 maybe-TAGS-sid \
4536 maybe-TAGS-sim \
4537 maybe-TAGS-tar \
4538 maybe-TAGS-texinfo \
4539 maybe-TAGS-textutils \
4540 maybe-TAGS-time \
4541 maybe-TAGS-uudecode \
4542 maybe-TAGS-wdiff \
4543 maybe-TAGS-zip \
4544 maybe-TAGS-zlib \
4545 maybe-TAGS-gdb \
4546 maybe-TAGS-expect \
4547 maybe-TAGS-guile \
4548 maybe-TAGS-tk \
4549 maybe-TAGS-tix \
4550 maybe-TAGS-libtermcap \
4551 maybe-TAGS-utils
4553 .PHONY: TAGS-target
4554 TAGS-target: \
4555 maybe-TAGS-target-libstdc++-v3 \
4556 maybe-TAGS-target-newlib \
4557 maybe-TAGS-target-libf2c \
4558 maybe-TAGS-target-libobjc \
4559 maybe-TAGS-target-libtermcap \
4560 maybe-TAGS-target-winsup \
4561 maybe-TAGS-target-libgloss \
4562 maybe-TAGS-target-libiberty \
4563 maybe-TAGS-target-gperf \
4564 maybe-TAGS-target-examples \
4565 maybe-TAGS-target-libffi \
4566 maybe-TAGS-target-libjava \
4567 maybe-TAGS-target-zlib \
4568 maybe-TAGS-target-boehm-gc \
4569 maybe-TAGS-target-qthreads \
4570 maybe-TAGS-target-rda
4572 # GCC, the eternal special case
4573 .PHONY: maybe-TAGS-gcc TAGS-gcc
4574 maybe-TAGS-gcc:
4575 TAGS-gcc: \
4576 configure-gcc
4577 @[ -f ./gcc/Makefile ] || exit 0; \
4578 r=`${PWD}`; export r; \
4579 s=`cd $(srcdir); ${PWD}`; export s; \
4580 $(SET_LIB_PATH) \
4581 for flag in $(EXTRA_GCC_FLAGS); do \
4582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4583 done; \
4584 echo "Doing TAGS in gcc" ; \
4585 (cd gcc && \
4586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4588 "RANLIB=$${RANLIB}" \
4589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4590 TAGS) \
4591 || exit 1
4593 # Host modules.
4595 .PHONY: maybe-TAGS-ash TAGS-ash
4596 maybe-TAGS-ash:
4598 TAGS-ash: \
4599 configure-ash
4600 @[ -f ./ash/Makefile ] || exit 0; \
4601 r=`${PWD}`; export r; \
4602 s=`cd $(srcdir); ${PWD}`; export s; \
4603 $(SET_LIB_PATH) \
4604 for flag in $(EXTRA_HOST_FLAGS); do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing TAGS in ash" ; \
4608 (cd ash && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4613 TAGS) \
4614 || exit 1
4617 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4618 maybe-TAGS-autoconf:
4620 TAGS-autoconf: \
4621 configure-autoconf
4622 @[ -f ./autoconf/Makefile ] || exit 0; \
4623 r=`${PWD}`; export r; \
4624 s=`cd $(srcdir); ${PWD}`; export s; \
4625 $(SET_LIB_PATH) \
4626 for flag in $(EXTRA_HOST_FLAGS); do \
4627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4628 done; \
4629 echo "Doing TAGS in autoconf" ; \
4630 (cd autoconf && \
4631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4633 "RANLIB=$${RANLIB}" \
4634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4635 TAGS) \
4636 || exit 1
4639 .PHONY: maybe-TAGS-automake TAGS-automake
4640 maybe-TAGS-automake:
4642 TAGS-automake: \
4643 configure-automake
4644 @[ -f ./automake/Makefile ] || exit 0; \
4645 r=`${PWD}`; export r; \
4646 s=`cd $(srcdir); ${PWD}`; export s; \
4647 $(SET_LIB_PATH) \
4648 for flag in $(EXTRA_HOST_FLAGS); do \
4649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4650 done; \
4651 echo "Doing TAGS in automake" ; \
4652 (cd automake && \
4653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4655 "RANLIB=$${RANLIB}" \
4656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4657 TAGS) \
4658 || exit 1
4661 .PHONY: maybe-TAGS-bash TAGS-bash
4662 maybe-TAGS-bash:
4664 TAGS-bash: \
4665 configure-bash
4666 @[ -f ./bash/Makefile ] || exit 0; \
4667 r=`${PWD}`; export r; \
4668 s=`cd $(srcdir); ${PWD}`; export s; \
4669 $(SET_LIB_PATH) \
4670 for flag in $(EXTRA_HOST_FLAGS); do \
4671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4672 done; \
4673 echo "Doing TAGS in bash" ; \
4674 (cd bash && \
4675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4677 "RANLIB=$${RANLIB}" \
4678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4679 TAGS) \
4680 || exit 1
4683 .PHONY: maybe-TAGS-bfd TAGS-bfd
4684 maybe-TAGS-bfd:
4686 TAGS-bfd: \
4687 configure-bfd
4688 @[ -f ./bfd/Makefile ] || exit 0; \
4689 r=`${PWD}`; export r; \
4690 s=`cd $(srcdir); ${PWD}`; export s; \
4691 $(SET_LIB_PATH) \
4692 for flag in $(EXTRA_HOST_FLAGS); do \
4693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4694 done; \
4695 echo "Doing TAGS in bfd" ; \
4696 (cd bfd && \
4697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4699 "RANLIB=$${RANLIB}" \
4700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4701 TAGS) \
4702 || exit 1
4705 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4706 maybe-TAGS-opcodes:
4708 TAGS-opcodes: \
4709 configure-opcodes
4710 @[ -f ./opcodes/Makefile ] || exit 0; \
4711 r=`${PWD}`; export r; \
4712 s=`cd $(srcdir); ${PWD}`; export s; \
4713 $(SET_LIB_PATH) \
4714 for flag in $(EXTRA_HOST_FLAGS); do \
4715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4716 done; \
4717 echo "Doing TAGS in opcodes" ; \
4718 (cd opcodes && \
4719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4721 "RANLIB=$${RANLIB}" \
4722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4723 TAGS) \
4724 || exit 1
4727 .PHONY: maybe-TAGS-binutils TAGS-binutils
4728 maybe-TAGS-binutils:
4730 TAGS-binutils: \
4731 configure-binutils
4732 @[ -f ./binutils/Makefile ] || exit 0; \
4733 r=`${PWD}`; export r; \
4734 s=`cd $(srcdir); ${PWD}`; export s; \
4735 $(SET_LIB_PATH) \
4736 for flag in $(EXTRA_HOST_FLAGS); do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738 done; \
4739 echo "Doing TAGS in binutils" ; \
4740 (cd binutils && \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4745 TAGS) \
4746 || exit 1
4749 .PHONY: maybe-TAGS-bison TAGS-bison
4750 maybe-TAGS-bison:
4752 TAGS-bison: \
4753 configure-bison
4754 @[ -f ./bison/Makefile ] || exit 0; \
4755 r=`${PWD}`; export r; \
4756 s=`cd $(srcdir); ${PWD}`; export s; \
4757 $(SET_LIB_PATH) \
4758 for flag in $(EXTRA_HOST_FLAGS); do \
4759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4760 done; \
4761 echo "Doing TAGS in bison" ; \
4762 (cd bison && \
4763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4765 "RANLIB=$${RANLIB}" \
4766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4767 TAGS) \
4768 || exit 1
4771 .PHONY: maybe-TAGS-byacc TAGS-byacc
4772 maybe-TAGS-byacc:
4774 TAGS-byacc: \
4775 configure-byacc
4776 @[ -f ./byacc/Makefile ] || exit 0; \
4777 r=`${PWD}`; export r; \
4778 s=`cd $(srcdir); ${PWD}`; export s; \
4779 $(SET_LIB_PATH) \
4780 for flag in $(EXTRA_HOST_FLAGS); do \
4781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4782 done; \
4783 echo "Doing TAGS in byacc" ; \
4784 (cd byacc && \
4785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4787 "RANLIB=$${RANLIB}" \
4788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4789 TAGS) \
4790 || exit 1
4793 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4794 maybe-TAGS-bzip2:
4796 TAGS-bzip2: \
4797 configure-bzip2
4798 @[ -f ./bzip2/Makefile ] || exit 0; \
4799 r=`${PWD}`; export r; \
4800 s=`cd $(srcdir); ${PWD}`; export s; \
4801 $(SET_LIB_PATH) \
4802 for flag in $(EXTRA_HOST_FLAGS); do \
4803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4804 done; \
4805 echo "Doing TAGS in bzip2" ; \
4806 (cd bzip2 && \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4809 "RANLIB=$${RANLIB}" \
4810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4811 TAGS) \
4812 || exit 1
4815 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4816 maybe-TAGS-dejagnu:
4818 TAGS-dejagnu: \
4819 configure-dejagnu
4820 @[ -f ./dejagnu/Makefile ] || exit 0; \
4821 r=`${PWD}`; export r; \
4822 s=`cd $(srcdir); ${PWD}`; export s; \
4823 $(SET_LIB_PATH) \
4824 for flag in $(EXTRA_HOST_FLAGS); do \
4825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4826 done; \
4827 echo "Doing TAGS in dejagnu" ; \
4828 (cd dejagnu && \
4829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4831 "RANLIB=$${RANLIB}" \
4832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4833 TAGS) \
4834 || exit 1
4837 .PHONY: maybe-TAGS-diff TAGS-diff
4838 maybe-TAGS-diff:
4840 TAGS-diff: \
4841 configure-diff
4842 @[ -f ./diff/Makefile ] || exit 0; \
4843 r=`${PWD}`; export r; \
4844 s=`cd $(srcdir); ${PWD}`; export s; \
4845 $(SET_LIB_PATH) \
4846 for flag in $(EXTRA_HOST_FLAGS); do \
4847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4848 done; \
4849 echo "Doing TAGS in diff" ; \
4850 (cd diff && \
4851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4853 "RANLIB=$${RANLIB}" \
4854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4855 TAGS) \
4856 || exit 1
4859 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
4860 maybe-TAGS-dosutils:
4862 TAGS-dosutils: \
4863 configure-dosutils
4864 @[ -f ./dosutils/Makefile ] || exit 0; \
4865 r=`${PWD}`; export r; \
4866 s=`cd $(srcdir); ${PWD}`; export s; \
4867 $(SET_LIB_PATH) \
4868 for flag in $(EXTRA_HOST_FLAGS); do \
4869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4870 done; \
4871 echo "Doing TAGS in dosutils" ; \
4872 (cd dosutils && \
4873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4875 "RANLIB=$${RANLIB}" \
4876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4877 TAGS) \
4878 || exit 1
4881 .PHONY: maybe-TAGS-etc TAGS-etc
4882 maybe-TAGS-etc:
4884 TAGS-etc: \
4885 configure-etc
4886 @[ -f ./etc/Makefile ] || exit 0; \
4887 r=`${PWD}`; export r; \
4888 s=`cd $(srcdir); ${PWD}`; export s; \
4889 $(SET_LIB_PATH) \
4890 for flag in $(EXTRA_HOST_FLAGS); do \
4891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4892 done; \
4893 echo "Doing TAGS in etc" ; \
4894 (cd etc && \
4895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4897 "RANLIB=$${RANLIB}" \
4898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4899 TAGS) \
4900 || exit 1
4903 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
4904 maybe-TAGS-fastjar:
4906 TAGS-fastjar: \
4907 configure-fastjar
4908 @[ -f ./fastjar/Makefile ] || exit 0; \
4909 r=`${PWD}`; export r; \
4910 s=`cd $(srcdir); ${PWD}`; export s; \
4911 $(SET_LIB_PATH) \
4912 for flag in $(EXTRA_HOST_FLAGS); do \
4913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4914 done; \
4915 echo "Doing TAGS in fastjar" ; \
4916 (cd fastjar && \
4917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4919 "RANLIB=$${RANLIB}" \
4920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4921 TAGS) \
4922 || exit 1
4925 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
4926 maybe-TAGS-fileutils:
4928 TAGS-fileutils: \
4929 configure-fileutils
4930 @[ -f ./fileutils/Makefile ] || exit 0; \
4931 r=`${PWD}`; export r; \
4932 s=`cd $(srcdir); ${PWD}`; export s; \
4933 $(SET_LIB_PATH) \
4934 for flag in $(EXTRA_HOST_FLAGS); do \
4935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4936 done; \
4937 echo "Doing TAGS in fileutils" ; \
4938 (cd fileutils && \
4939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4941 "RANLIB=$${RANLIB}" \
4942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4943 TAGS) \
4944 || exit 1
4947 .PHONY: maybe-TAGS-findutils TAGS-findutils
4948 maybe-TAGS-findutils:
4950 TAGS-findutils: \
4951 configure-findutils
4952 @[ -f ./findutils/Makefile ] || exit 0; \
4953 r=`${PWD}`; export r; \
4954 s=`cd $(srcdir); ${PWD}`; export s; \
4955 $(SET_LIB_PATH) \
4956 for flag in $(EXTRA_HOST_FLAGS); do \
4957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4958 done; \
4959 echo "Doing TAGS in findutils" ; \
4960 (cd findutils && \
4961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4963 "RANLIB=$${RANLIB}" \
4964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4965 TAGS) \
4966 || exit 1
4969 .PHONY: maybe-TAGS-find TAGS-find
4970 maybe-TAGS-find:
4972 TAGS-find: \
4973 configure-find
4974 @[ -f ./find/Makefile ] || exit 0; \
4975 r=`${PWD}`; export r; \
4976 s=`cd $(srcdir); ${PWD}`; export s; \
4977 $(SET_LIB_PATH) \
4978 for flag in $(EXTRA_HOST_FLAGS); do \
4979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4980 done; \
4981 echo "Doing TAGS in find" ; \
4982 (cd find && \
4983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4985 "RANLIB=$${RANLIB}" \
4986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4987 TAGS) \
4988 || exit 1
4991 .PHONY: maybe-TAGS-flex TAGS-flex
4992 maybe-TAGS-flex:
4994 TAGS-flex: \
4995 configure-flex
4996 @[ -f ./flex/Makefile ] || exit 0; \
4997 r=`${PWD}`; export r; \
4998 s=`cd $(srcdir); ${PWD}`; export s; \
4999 $(SET_LIB_PATH) \
5000 for flag in $(EXTRA_HOST_FLAGS); do \
5001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5002 done; \
5003 echo "Doing TAGS in flex" ; \
5004 (cd flex && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5007 "RANLIB=$${RANLIB}" \
5008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5009 TAGS) \
5010 || exit 1
5013 .PHONY: maybe-TAGS-gas TAGS-gas
5014 maybe-TAGS-gas:
5016 TAGS-gas: \
5017 configure-gas
5018 @[ -f ./gas/Makefile ] || exit 0; \
5019 r=`${PWD}`; export r; \
5020 s=`cd $(srcdir); ${PWD}`; export s; \
5021 $(SET_LIB_PATH) \
5022 for flag in $(EXTRA_HOST_FLAGS); do \
5023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5024 done; \
5025 echo "Doing TAGS in gas" ; \
5026 (cd gas && \
5027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5029 "RANLIB=$${RANLIB}" \
5030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5031 TAGS) \
5032 || exit 1
5035 .PHONY: maybe-TAGS-gawk TAGS-gawk
5036 maybe-TAGS-gawk:
5038 TAGS-gawk: \
5039 configure-gawk
5040 @[ -f ./gawk/Makefile ] || exit 0; \
5041 r=`${PWD}`; export r; \
5042 s=`cd $(srcdir); ${PWD}`; export s; \
5043 $(SET_LIB_PATH) \
5044 for flag in $(EXTRA_HOST_FLAGS); do \
5045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5046 done; \
5047 echo "Doing TAGS in gawk" ; \
5048 (cd gawk && \
5049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5051 "RANLIB=$${RANLIB}" \
5052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5053 TAGS) \
5054 || exit 1
5057 .PHONY: maybe-TAGS-gettext TAGS-gettext
5058 maybe-TAGS-gettext:
5060 TAGS-gettext: \
5061 configure-gettext
5062 @[ -f ./gettext/Makefile ] || exit 0; \
5063 r=`${PWD}`; export r; \
5064 s=`cd $(srcdir); ${PWD}`; export s; \
5065 $(SET_LIB_PATH) \
5066 for flag in $(EXTRA_HOST_FLAGS); do \
5067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5068 done; \
5069 echo "Doing TAGS in gettext" ; \
5070 (cd gettext && \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5073 "RANLIB=$${RANLIB}" \
5074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5075 TAGS) \
5076 || exit 1
5079 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
5080 maybe-TAGS-gnuserv:
5082 TAGS-gnuserv: \
5083 configure-gnuserv
5084 @[ -f ./gnuserv/Makefile ] || exit 0; \
5085 r=`${PWD}`; export r; \
5086 s=`cd $(srcdir); ${PWD}`; export s; \
5087 $(SET_LIB_PATH) \
5088 for flag in $(EXTRA_HOST_FLAGS); do \
5089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5090 done; \
5091 echo "Doing TAGS in gnuserv" ; \
5092 (cd gnuserv && \
5093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5095 "RANLIB=$${RANLIB}" \
5096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5097 TAGS) \
5098 || exit 1
5101 .PHONY: maybe-TAGS-gprof TAGS-gprof
5102 maybe-TAGS-gprof:
5104 TAGS-gprof: \
5105 configure-gprof
5106 @[ -f ./gprof/Makefile ] || exit 0; \
5107 r=`${PWD}`; export r; \
5108 s=`cd $(srcdir); ${PWD}`; export s; \
5109 $(SET_LIB_PATH) \
5110 for flag in $(EXTRA_HOST_FLAGS); do \
5111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5112 done; \
5113 echo "Doing TAGS in gprof" ; \
5114 (cd gprof && \
5115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5117 "RANLIB=$${RANLIB}" \
5118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5119 TAGS) \
5120 || exit 1
5123 .PHONY: maybe-TAGS-gzip TAGS-gzip
5124 maybe-TAGS-gzip:
5126 TAGS-gzip: \
5127 configure-gzip
5128 @[ -f ./gzip/Makefile ] || exit 0; \
5129 r=`${PWD}`; export r; \
5130 s=`cd $(srcdir); ${PWD}`; export s; \
5131 $(SET_LIB_PATH) \
5132 for flag in $(EXTRA_HOST_FLAGS); do \
5133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5134 done; \
5135 echo "Doing TAGS in gzip" ; \
5136 (cd gzip && \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5139 "RANLIB=$${RANLIB}" \
5140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5141 TAGS) \
5142 || exit 1
5145 .PHONY: maybe-TAGS-hello TAGS-hello
5146 maybe-TAGS-hello:
5148 TAGS-hello: \
5149 configure-hello
5150 @[ -f ./hello/Makefile ] || exit 0; \
5151 r=`${PWD}`; export r; \
5152 s=`cd $(srcdir); ${PWD}`; export s; \
5153 $(SET_LIB_PATH) \
5154 for flag in $(EXTRA_HOST_FLAGS); do \
5155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5156 done; \
5157 echo "Doing TAGS in hello" ; \
5158 (cd hello && \
5159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5161 "RANLIB=$${RANLIB}" \
5162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5163 TAGS) \
5164 || exit 1
5167 .PHONY: maybe-TAGS-indent TAGS-indent
5168 maybe-TAGS-indent:
5170 TAGS-indent: \
5171 configure-indent
5172 @[ -f ./indent/Makefile ] || exit 0; \
5173 r=`${PWD}`; export r; \
5174 s=`cd $(srcdir); ${PWD}`; export s; \
5175 $(SET_LIB_PATH) \
5176 for flag in $(EXTRA_HOST_FLAGS); do \
5177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 done; \
5179 echo "Doing TAGS in indent" ; \
5180 (cd indent && \
5181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5183 "RANLIB=$${RANLIB}" \
5184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5185 TAGS) \
5186 || exit 1
5189 .PHONY: maybe-TAGS-intl TAGS-intl
5190 maybe-TAGS-intl:
5192 TAGS-intl: \
5193 configure-intl
5194 @[ -f ./intl/Makefile ] || exit 0; \
5195 r=`${PWD}`; export r; \
5196 s=`cd $(srcdir); ${PWD}`; export s; \
5197 $(SET_LIB_PATH) \
5198 for flag in $(EXTRA_HOST_FLAGS); do \
5199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5200 done; \
5201 echo "Doing TAGS in intl" ; \
5202 (cd intl && \
5203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5205 "RANLIB=$${RANLIB}" \
5206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5207 TAGS) \
5208 || exit 1
5211 .PHONY: maybe-TAGS-tcl TAGS-tcl
5212 maybe-TAGS-tcl:
5214 TAGS-tcl: \
5215 configure-tcl
5216 @[ -f ./tcl/Makefile ] || exit 0; \
5217 r=`${PWD}`; export r; \
5218 s=`cd $(srcdir); ${PWD}`; export s; \
5219 $(SET_LIB_PATH) \
5220 for flag in $(EXTRA_HOST_FLAGS); do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing TAGS in tcl" ; \
5224 (cd tcl && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5229 TAGS) \
5230 || exit 1
5233 .PHONY: maybe-TAGS-itcl TAGS-itcl
5234 maybe-TAGS-itcl:
5236 TAGS-itcl: \
5237 configure-itcl
5238 @[ -f ./itcl/Makefile ] || exit 0; \
5239 r=`${PWD}`; export r; \
5240 s=`cd $(srcdir); ${PWD}`; export s; \
5241 $(SET_LIB_PATH) \
5242 for flag in $(EXTRA_HOST_FLAGS); do \
5243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5244 done; \
5245 echo "Doing TAGS in itcl" ; \
5246 (cd itcl && \
5247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5249 "RANLIB=$${RANLIB}" \
5250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5251 TAGS) \
5252 || exit 1
5255 .PHONY: maybe-TAGS-ld TAGS-ld
5256 maybe-TAGS-ld:
5258 TAGS-ld: \
5259 configure-ld
5260 @[ -f ./ld/Makefile ] || exit 0; \
5261 r=`${PWD}`; export r; \
5262 s=`cd $(srcdir); ${PWD}`; export s; \
5263 $(SET_LIB_PATH) \
5264 for flag in $(EXTRA_HOST_FLAGS); do \
5265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5266 done; \
5267 echo "Doing TAGS in ld" ; \
5268 (cd ld && \
5269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5271 "RANLIB=$${RANLIB}" \
5272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5273 TAGS) \
5274 || exit 1
5277 .PHONY: maybe-TAGS-libgui TAGS-libgui
5278 maybe-TAGS-libgui:
5280 TAGS-libgui: \
5281 configure-libgui
5282 @[ -f ./libgui/Makefile ] || exit 0; \
5283 r=`${PWD}`; export r; \
5284 s=`cd $(srcdir); ${PWD}`; export s; \
5285 $(SET_LIB_PATH) \
5286 for flag in $(EXTRA_HOST_FLAGS); do \
5287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5288 done; \
5289 echo "Doing TAGS in libgui" ; \
5290 (cd libgui && \
5291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5293 "RANLIB=$${RANLIB}" \
5294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5295 TAGS) \
5296 || exit 1
5299 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
5300 maybe-TAGS-libiberty:
5302 TAGS-libiberty: \
5303 configure-libiberty
5304 @[ -f ./libiberty/Makefile ] || exit 0; \
5305 r=`${PWD}`; export r; \
5306 s=`cd $(srcdir); ${PWD}`; export s; \
5307 $(SET_LIB_PATH) \
5308 for flag in $(EXTRA_HOST_FLAGS); do \
5309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5310 done; \
5311 echo "Doing TAGS in libiberty" ; \
5312 (cd libiberty && \
5313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5315 "RANLIB=$${RANLIB}" \
5316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5317 TAGS) \
5318 || exit 1
5321 .PHONY: maybe-TAGS-libtool TAGS-libtool
5322 maybe-TAGS-libtool:
5324 TAGS-libtool: \
5325 configure-libtool
5326 @[ -f ./libtool/Makefile ] || exit 0; \
5327 r=`${PWD}`; export r; \
5328 s=`cd $(srcdir); ${PWD}`; export s; \
5329 $(SET_LIB_PATH) \
5330 for flag in $(EXTRA_HOST_FLAGS); do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5332 done; \
5333 echo "Doing TAGS in libtool" ; \
5334 (cd libtool && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5339 TAGS) \
5340 || exit 1
5343 .PHONY: maybe-TAGS-m4 TAGS-m4
5344 maybe-TAGS-m4:
5346 TAGS-m4: \
5347 configure-m4
5348 @[ -f ./m4/Makefile ] || exit 0; \
5349 r=`${PWD}`; export r; \
5350 s=`cd $(srcdir); ${PWD}`; export s; \
5351 $(SET_LIB_PATH) \
5352 for flag in $(EXTRA_HOST_FLAGS); do \
5353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5354 done; \
5355 echo "Doing TAGS in m4" ; \
5356 (cd m4 && \
5357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5359 "RANLIB=$${RANLIB}" \
5360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5361 TAGS) \
5362 || exit 1
5365 .PHONY: maybe-TAGS-make TAGS-make
5366 maybe-TAGS-make:
5368 TAGS-make: \
5369 configure-make
5370 @[ -f ./make/Makefile ] || exit 0; \
5371 r=`${PWD}`; export r; \
5372 s=`cd $(srcdir); ${PWD}`; export s; \
5373 $(SET_LIB_PATH) \
5374 for flag in $(EXTRA_HOST_FLAGS); do \
5375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5376 done; \
5377 echo "Doing TAGS in make" ; \
5378 (cd make && \
5379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5381 "RANLIB=$${RANLIB}" \
5382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5383 TAGS) \
5384 || exit 1
5387 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
5388 maybe-TAGS-mmalloc:
5390 TAGS-mmalloc: \
5391 configure-mmalloc
5392 @[ -f ./mmalloc/Makefile ] || exit 0; \
5393 r=`${PWD}`; export r; \
5394 s=`cd $(srcdir); ${PWD}`; export s; \
5395 $(SET_LIB_PATH) \
5396 for flag in $(EXTRA_HOST_FLAGS); do \
5397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5398 done; \
5399 echo "Doing TAGS in mmalloc" ; \
5400 (cd mmalloc && \
5401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5403 "RANLIB=$${RANLIB}" \
5404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5405 TAGS) \
5406 || exit 1
5409 .PHONY: maybe-TAGS-patch TAGS-patch
5410 maybe-TAGS-patch:
5412 TAGS-patch: \
5413 configure-patch
5414 @[ -f ./patch/Makefile ] || exit 0; \
5415 r=`${PWD}`; export r; \
5416 s=`cd $(srcdir); ${PWD}`; export s; \
5417 $(SET_LIB_PATH) \
5418 for flag in $(EXTRA_HOST_FLAGS); do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420 done; \
5421 echo "Doing TAGS in patch" ; \
5422 (cd patch && \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 TAGS) \
5428 || exit 1
5431 .PHONY: maybe-TAGS-perl TAGS-perl
5432 maybe-TAGS-perl:
5434 TAGS-perl: \
5435 configure-perl
5436 @[ -f ./perl/Makefile ] || exit 0; \
5437 r=`${PWD}`; export r; \
5438 s=`cd $(srcdir); ${PWD}`; export s; \
5439 $(SET_LIB_PATH) \
5440 for flag in $(EXTRA_HOST_FLAGS); do \
5441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5442 done; \
5443 echo "Doing TAGS in perl" ; \
5444 (cd perl && \
5445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5447 "RANLIB=$${RANLIB}" \
5448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5449 TAGS) \
5450 || exit 1
5453 .PHONY: maybe-TAGS-prms TAGS-prms
5454 maybe-TAGS-prms:
5456 TAGS-prms: \
5457 configure-prms
5458 @[ -f ./prms/Makefile ] || exit 0; \
5459 r=`${PWD}`; export r; \
5460 s=`cd $(srcdir); ${PWD}`; export s; \
5461 $(SET_LIB_PATH) \
5462 for flag in $(EXTRA_HOST_FLAGS); do \
5463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5464 done; \
5465 echo "Doing TAGS in prms" ; \
5466 (cd prms && \
5467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5469 "RANLIB=$${RANLIB}" \
5470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5471 TAGS) \
5472 || exit 1
5475 .PHONY: maybe-TAGS-rcs TAGS-rcs
5476 maybe-TAGS-rcs:
5478 TAGS-rcs: \
5479 configure-rcs
5480 @[ -f ./rcs/Makefile ] || exit 0; \
5481 r=`${PWD}`; export r; \
5482 s=`cd $(srcdir); ${PWD}`; export s; \
5483 $(SET_LIB_PATH) \
5484 for flag in $(EXTRA_HOST_FLAGS); do \
5485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5486 done; \
5487 echo "Doing TAGS in rcs" ; \
5488 (cd rcs && \
5489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5491 "RANLIB=$${RANLIB}" \
5492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5493 TAGS) \
5494 || exit 1
5497 .PHONY: maybe-TAGS-readline TAGS-readline
5498 maybe-TAGS-readline:
5500 TAGS-readline: \
5501 configure-readline
5502 @[ -f ./readline/Makefile ] || exit 0; \
5503 r=`${PWD}`; export r; \
5504 s=`cd $(srcdir); ${PWD}`; export s; \
5505 $(SET_LIB_PATH) \
5506 for flag in $(EXTRA_HOST_FLAGS); do \
5507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5508 done; \
5509 echo "Doing TAGS in readline" ; \
5510 (cd readline && \
5511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5513 "RANLIB=$${RANLIB}" \
5514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5515 TAGS) \
5516 || exit 1
5519 .PHONY: maybe-TAGS-release TAGS-release
5520 maybe-TAGS-release:
5522 TAGS-release: \
5523 configure-release
5524 @[ -f ./release/Makefile ] || exit 0; \
5525 r=`${PWD}`; export r; \
5526 s=`cd $(srcdir); ${PWD}`; export s; \
5527 $(SET_LIB_PATH) \
5528 for flag in $(EXTRA_HOST_FLAGS); do \
5529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 done; \
5531 echo "Doing TAGS in release" ; \
5532 (cd release && \
5533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5535 "RANLIB=$${RANLIB}" \
5536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5537 TAGS) \
5538 || exit 1
5541 .PHONY: maybe-TAGS-recode TAGS-recode
5542 maybe-TAGS-recode:
5544 TAGS-recode: \
5545 configure-recode
5546 @[ -f ./recode/Makefile ] || exit 0; \
5547 r=`${PWD}`; export r; \
5548 s=`cd $(srcdir); ${PWD}`; export s; \
5549 $(SET_LIB_PATH) \
5550 for flag in $(EXTRA_HOST_FLAGS); do \
5551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552 done; \
5553 echo "Doing TAGS in recode" ; \
5554 (cd recode && \
5555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557 "RANLIB=$${RANLIB}" \
5558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5559 TAGS) \
5560 || exit 1
5563 .PHONY: maybe-TAGS-sed TAGS-sed
5564 maybe-TAGS-sed:
5566 TAGS-sed: \
5567 configure-sed
5568 @[ -f ./sed/Makefile ] || exit 0; \
5569 r=`${PWD}`; export r; \
5570 s=`cd $(srcdir); ${PWD}`; export s; \
5571 $(SET_LIB_PATH) \
5572 for flag in $(EXTRA_HOST_FLAGS); do \
5573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5574 done; \
5575 echo "Doing TAGS in sed" ; \
5576 (cd sed && \
5577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5579 "RANLIB=$${RANLIB}" \
5580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5581 TAGS) \
5582 || exit 1
5585 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
5586 maybe-TAGS-send-pr:
5588 TAGS-send-pr: \
5589 configure-send-pr
5590 @[ -f ./send-pr/Makefile ] || exit 0; \
5591 r=`${PWD}`; export r; \
5592 s=`cd $(srcdir); ${PWD}`; export s; \
5593 $(SET_LIB_PATH) \
5594 for flag in $(EXTRA_HOST_FLAGS); do \
5595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5596 done; \
5597 echo "Doing TAGS in send-pr" ; \
5598 (cd send-pr && \
5599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5601 "RANLIB=$${RANLIB}" \
5602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5603 TAGS) \
5604 || exit 1
5607 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
5608 maybe-TAGS-shellutils:
5610 TAGS-shellutils: \
5611 configure-shellutils
5612 @[ -f ./shellutils/Makefile ] || exit 0; \
5613 r=`${PWD}`; export r; \
5614 s=`cd $(srcdir); ${PWD}`; export s; \
5615 $(SET_LIB_PATH) \
5616 for flag in $(EXTRA_HOST_FLAGS); do \
5617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5618 done; \
5619 echo "Doing TAGS in shellutils" ; \
5620 (cd shellutils && \
5621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5623 "RANLIB=$${RANLIB}" \
5624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5625 TAGS) \
5626 || exit 1
5629 .PHONY: maybe-TAGS-sid TAGS-sid
5630 maybe-TAGS-sid:
5632 TAGS-sid: \
5633 configure-sid
5634 @[ -f ./sid/Makefile ] || exit 0; \
5635 r=`${PWD}`; export r; \
5636 s=`cd $(srcdir); ${PWD}`; export s; \
5637 $(SET_LIB_PATH) \
5638 for flag in $(EXTRA_HOST_FLAGS); do \
5639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5640 done; \
5641 echo "Doing TAGS in sid" ; \
5642 (cd sid && \
5643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5645 "RANLIB=$${RANLIB}" \
5646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5647 TAGS) \
5648 || exit 1
5651 .PHONY: maybe-TAGS-sim TAGS-sim
5652 maybe-TAGS-sim:
5654 TAGS-sim: \
5655 configure-sim
5656 @[ -f ./sim/Makefile ] || exit 0; \
5657 r=`${PWD}`; export r; \
5658 s=`cd $(srcdir); ${PWD}`; export s; \
5659 $(SET_LIB_PATH) \
5660 for flag in $(EXTRA_HOST_FLAGS); do \
5661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5662 done; \
5663 echo "Doing TAGS in sim" ; \
5664 (cd sim && \
5665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5667 "RANLIB=$${RANLIB}" \
5668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5669 TAGS) \
5670 || exit 1
5673 .PHONY: maybe-TAGS-tar TAGS-tar
5674 maybe-TAGS-tar:
5676 TAGS-tar: \
5677 configure-tar
5678 @[ -f ./tar/Makefile ] || exit 0; \
5679 r=`${PWD}`; export r; \
5680 s=`cd $(srcdir); ${PWD}`; export s; \
5681 $(SET_LIB_PATH) \
5682 for flag in $(EXTRA_HOST_FLAGS); do \
5683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5684 done; \
5685 echo "Doing TAGS in tar" ; \
5686 (cd tar && \
5687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5689 "RANLIB=$${RANLIB}" \
5690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5691 TAGS) \
5692 || exit 1
5695 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
5696 maybe-TAGS-texinfo:
5698 TAGS-texinfo: \
5699 configure-texinfo
5700 @[ -f ./texinfo/Makefile ] || exit 0; \
5701 r=`${PWD}`; export r; \
5702 s=`cd $(srcdir); ${PWD}`; export s; \
5703 $(SET_LIB_PATH) \
5704 for flag in $(EXTRA_HOST_FLAGS); do \
5705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 done; \
5707 echo "Doing TAGS in texinfo" ; \
5708 (cd texinfo && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5711 "RANLIB=$${RANLIB}" \
5712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5713 TAGS) \
5714 || exit 1
5717 .PHONY: maybe-TAGS-textutils TAGS-textutils
5718 maybe-TAGS-textutils:
5720 TAGS-textutils: \
5721 configure-textutils
5722 @[ -f ./textutils/Makefile ] || exit 0; \
5723 r=`${PWD}`; export r; \
5724 s=`cd $(srcdir); ${PWD}`; export s; \
5725 $(SET_LIB_PATH) \
5726 for flag in $(EXTRA_HOST_FLAGS); do \
5727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5728 done; \
5729 echo "Doing TAGS in textutils" ; \
5730 (cd textutils && \
5731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5733 "RANLIB=$${RANLIB}" \
5734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5735 TAGS) \
5736 || exit 1
5739 .PHONY: maybe-TAGS-time TAGS-time
5740 maybe-TAGS-time:
5742 TAGS-time: \
5743 configure-time
5744 @[ -f ./time/Makefile ] || exit 0; \
5745 r=`${PWD}`; export r; \
5746 s=`cd $(srcdir); ${PWD}`; export s; \
5747 $(SET_LIB_PATH) \
5748 for flag in $(EXTRA_HOST_FLAGS); do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 done; \
5751 echo "Doing TAGS in time" ; \
5752 (cd time && \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5757 TAGS) \
5758 || exit 1
5761 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
5762 maybe-TAGS-uudecode:
5764 TAGS-uudecode: \
5765 configure-uudecode
5766 @[ -f ./uudecode/Makefile ] || exit 0; \
5767 r=`${PWD}`; export r; \
5768 s=`cd $(srcdir); ${PWD}`; export s; \
5769 $(SET_LIB_PATH) \
5770 for flag in $(EXTRA_HOST_FLAGS); do \
5771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5772 done; \
5773 echo "Doing TAGS in uudecode" ; \
5774 (cd uudecode && \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5777 "RANLIB=$${RANLIB}" \
5778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5779 TAGS) \
5780 || exit 1
5783 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
5784 maybe-TAGS-wdiff:
5786 TAGS-wdiff: \
5787 configure-wdiff
5788 @[ -f ./wdiff/Makefile ] || exit 0; \
5789 r=`${PWD}`; export r; \
5790 s=`cd $(srcdir); ${PWD}`; export s; \
5791 $(SET_LIB_PATH) \
5792 for flag in $(EXTRA_HOST_FLAGS); do \
5793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5794 done; \
5795 echo "Doing TAGS in wdiff" ; \
5796 (cd wdiff && \
5797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5799 "RANLIB=$${RANLIB}" \
5800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5801 TAGS) \
5802 || exit 1
5805 .PHONY: maybe-TAGS-zip TAGS-zip
5806 maybe-TAGS-zip:
5808 TAGS-zip: \
5809 configure-zip
5810 @[ -f ./zip/Makefile ] || exit 0; \
5811 r=`${PWD}`; export r; \
5812 s=`cd $(srcdir); ${PWD}`; export s; \
5813 $(SET_LIB_PATH) \
5814 for flag in $(EXTRA_HOST_FLAGS); do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing TAGS in zip" ; \
5818 (cd zip && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 TAGS) \
5824 || exit 1
5827 .PHONY: maybe-TAGS-zlib TAGS-zlib
5828 maybe-TAGS-zlib:
5830 TAGS-zlib: \
5831 configure-zlib
5832 @[ -f ./zlib/Makefile ] || exit 0; \
5833 r=`${PWD}`; export r; \
5834 s=`cd $(srcdir); ${PWD}`; export s; \
5835 $(SET_LIB_PATH) \
5836 for flag in $(EXTRA_HOST_FLAGS); do \
5837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5838 done; \
5839 echo "Doing TAGS in zlib" ; \
5840 (cd zlib && \
5841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5843 "RANLIB=$${RANLIB}" \
5844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5845 TAGS) \
5846 || exit 1
5849 .PHONY: maybe-TAGS-gdb TAGS-gdb
5850 maybe-TAGS-gdb:
5852 TAGS-gdb: \
5853 configure-gdb
5854 @[ -f ./gdb/Makefile ] || exit 0; \
5855 r=`${PWD}`; export r; \
5856 s=`cd $(srcdir); ${PWD}`; export s; \
5857 $(SET_LIB_PATH) \
5858 for flag in $(EXTRA_HOST_FLAGS); do \
5859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5860 done; \
5861 echo "Doing TAGS in gdb" ; \
5862 (cd gdb && \
5863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5865 "RANLIB=$${RANLIB}" \
5866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5867 TAGS) \
5868 || exit 1
5871 .PHONY: maybe-TAGS-expect TAGS-expect
5872 maybe-TAGS-expect:
5874 TAGS-expect: \
5875 configure-expect
5876 @[ -f ./expect/Makefile ] || exit 0; \
5877 r=`${PWD}`; export r; \
5878 s=`cd $(srcdir); ${PWD}`; export s; \
5879 $(SET_LIB_PATH) \
5880 for flag in $(EXTRA_HOST_FLAGS); do \
5881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5882 done; \
5883 echo "Doing TAGS in expect" ; \
5884 (cd expect && \
5885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5887 "RANLIB=$${RANLIB}" \
5888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5889 TAGS) \
5890 || exit 1
5893 .PHONY: maybe-TAGS-guile TAGS-guile
5894 maybe-TAGS-guile:
5896 TAGS-guile: \
5897 configure-guile
5898 @[ -f ./guile/Makefile ] || exit 0; \
5899 r=`${PWD}`; export r; \
5900 s=`cd $(srcdir); ${PWD}`; export s; \
5901 $(SET_LIB_PATH) \
5902 for flag in $(EXTRA_HOST_FLAGS); do \
5903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5904 done; \
5905 echo "Doing TAGS in guile" ; \
5906 (cd guile && \
5907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5909 "RANLIB=$${RANLIB}" \
5910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5911 TAGS) \
5912 || exit 1
5915 .PHONY: maybe-TAGS-tk TAGS-tk
5916 maybe-TAGS-tk:
5918 TAGS-tk: \
5919 configure-tk
5920 @[ -f ./tk/Makefile ] || exit 0; \
5921 r=`${PWD}`; export r; \
5922 s=`cd $(srcdir); ${PWD}`; export s; \
5923 $(SET_LIB_PATH) \
5924 for flag in $(EXTRA_HOST_FLAGS); do \
5925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5926 done; \
5927 echo "Doing TAGS in tk" ; \
5928 (cd tk && \
5929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5931 "RANLIB=$${RANLIB}" \
5932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5933 TAGS) \
5934 || exit 1
5937 .PHONY: maybe-TAGS-tix TAGS-tix
5938 maybe-TAGS-tix:
5940 TAGS-tix: \
5941 configure-tix
5942 @[ -f ./tix/Makefile ] || exit 0; \
5943 r=`${PWD}`; export r; \
5944 s=`cd $(srcdir); ${PWD}`; export s; \
5945 $(SET_LIB_PATH) \
5946 for flag in $(EXTRA_HOST_FLAGS); do \
5947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5948 done; \
5949 echo "Doing TAGS in tix" ; \
5950 (cd tix && \
5951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5953 "RANLIB=$${RANLIB}" \
5954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5955 TAGS) \
5956 || exit 1
5959 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
5960 maybe-TAGS-libtermcap:
5962 TAGS-libtermcap: \
5963 configure-libtermcap
5964 @[ -f ./libtermcap/Makefile ] || exit 0; \
5965 r=`${PWD}`; export r; \
5966 s=`cd $(srcdir); ${PWD}`; export s; \
5967 $(SET_LIB_PATH) \
5968 for flag in $(EXTRA_HOST_FLAGS); do \
5969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5970 done; \
5971 echo "Doing TAGS in libtermcap" ; \
5972 (cd libtermcap && \
5973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5975 "RANLIB=$${RANLIB}" \
5976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5977 TAGS) \
5978 || exit 1
5981 .PHONY: maybe-TAGS-utils TAGS-utils
5982 maybe-TAGS-utils:
5984 TAGS-utils: \
5985 configure-utils
5986 @[ -f ./utils/Makefile ] || exit 0; \
5987 r=`${PWD}`; export r; \
5988 s=`cd $(srcdir); ${PWD}`; export s; \
5989 $(SET_LIB_PATH) \
5990 for flag in $(EXTRA_HOST_FLAGS); do \
5991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5992 done; \
5993 echo "Doing TAGS in utils" ; \
5994 (cd utils && \
5995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5997 "RANLIB=$${RANLIB}" \
5998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5999 TAGS) \
6000 || exit 1
6004 # Target modules.
6006 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
6007 maybe-TAGS-target-libstdc++-v3:
6009 TAGS-target-libstdc++-v3: \
6010 configure-target-libstdc++-v3
6011 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
6012 r=`${PWD}`; export r; \
6013 s=`cd $(srcdir); ${PWD}`; export s; \
6014 $(SET_LIB_PATH) \
6015 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
6016 for flag in $(EXTRA_TARGET_FLAGS); do \
6017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6018 done; \
6019 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
6020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6022 "RANLIB=$${RANLIB}" \
6023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6024 TAGS) \
6025 || exit 1
6028 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
6029 maybe-TAGS-target-newlib:
6031 TAGS-target-newlib: \
6032 configure-target-newlib
6033 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
6034 r=`${PWD}`; export r; \
6035 s=`cd $(srcdir); ${PWD}`; export s; \
6036 $(SET_LIB_PATH) \
6037 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
6038 for flag in $(EXTRA_TARGET_FLAGS); do \
6039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6040 done; \
6041 (cd $(TARGET_SUBDIR)/newlib && \
6042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6044 "RANLIB=$${RANLIB}" \
6045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6046 TAGS) \
6047 || exit 1
6050 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
6051 maybe-TAGS-target-libf2c:
6053 TAGS-target-libf2c: \
6054 configure-target-libf2c
6055 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
6056 r=`${PWD}`; export r; \
6057 s=`cd $(srcdir); ${PWD}`; export s; \
6058 $(SET_LIB_PATH) \
6059 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
6060 for flag in $(EXTRA_TARGET_FLAGS); do \
6061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6062 done; \
6063 (cd $(TARGET_SUBDIR)/libf2c && \
6064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6066 "RANLIB=$${RANLIB}" \
6067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6068 TAGS) \
6069 || exit 1
6072 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
6073 maybe-TAGS-target-libobjc:
6075 TAGS-target-libobjc: \
6076 configure-target-libobjc
6077 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
6078 r=`${PWD}`; export r; \
6079 s=`cd $(srcdir); ${PWD}`; export s; \
6080 $(SET_LIB_PATH) \
6081 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
6082 for flag in $(EXTRA_TARGET_FLAGS); do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 (cd $(TARGET_SUBDIR)/libobjc && \
6086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6088 "RANLIB=$${RANLIB}" \
6089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6090 TAGS) \
6091 || exit 1
6094 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
6095 maybe-TAGS-target-libtermcap:
6097 TAGS-target-libtermcap: \
6098 configure-target-libtermcap
6099 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
6100 r=`${PWD}`; export r; \
6101 s=`cd $(srcdir); ${PWD}`; export s; \
6102 $(SET_LIB_PATH) \
6103 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
6104 for flag in $(EXTRA_TARGET_FLAGS); do \
6105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6106 done; \
6107 (cd $(TARGET_SUBDIR)/libtermcap && \
6108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6110 "RANLIB=$${RANLIB}" \
6111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6112 TAGS) \
6113 || exit 1
6116 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
6117 maybe-TAGS-target-winsup:
6119 TAGS-target-winsup: \
6120 configure-target-winsup
6121 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
6122 r=`${PWD}`; export r; \
6123 s=`cd $(srcdir); ${PWD}`; export s; \
6124 $(SET_LIB_PATH) \
6125 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
6126 for flag in $(EXTRA_TARGET_FLAGS); do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128 done; \
6129 (cd $(TARGET_SUBDIR)/winsup && \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6134 TAGS) \
6135 || exit 1
6138 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
6139 maybe-TAGS-target-libgloss:
6141 TAGS-target-libgloss: \
6142 configure-target-libgloss
6143 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
6144 r=`${PWD}`; export r; \
6145 s=`cd $(srcdir); ${PWD}`; export s; \
6146 $(SET_LIB_PATH) \
6147 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
6148 for flag in $(EXTRA_TARGET_FLAGS); do \
6149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6150 done; \
6151 (cd $(TARGET_SUBDIR)/libgloss && \
6152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6154 "RANLIB=$${RANLIB}" \
6155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6156 TAGS) \
6157 || exit 1
6160 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
6161 maybe-TAGS-target-libiberty:
6163 TAGS-target-libiberty: \
6164 configure-target-libiberty
6165 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
6166 r=`${PWD}`; export r; \
6167 s=`cd $(srcdir); ${PWD}`; export s; \
6168 $(SET_LIB_PATH) \
6169 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
6170 for flag in $(EXTRA_TARGET_FLAGS); do \
6171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6172 done; \
6173 (cd $(TARGET_SUBDIR)/libiberty && \
6174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6176 "RANLIB=$${RANLIB}" \
6177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6178 TAGS) \
6179 || exit 1
6182 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6183 maybe-TAGS-target-gperf:
6185 TAGS-target-gperf: \
6186 configure-target-gperf
6187 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
6188 r=`${PWD}`; export r; \
6189 s=`cd $(srcdir); ${PWD}`; export s; \
6190 $(SET_LIB_PATH) \
6191 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
6192 for flag in $(EXTRA_TARGET_FLAGS); do \
6193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6194 done; \
6195 (cd $(TARGET_SUBDIR)/gperf && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6200 TAGS) \
6201 || exit 1
6204 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
6205 maybe-TAGS-target-examples:
6207 TAGS-target-examples: \
6208 configure-target-examples
6209 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
6210 r=`${PWD}`; export r; \
6211 s=`cd $(srcdir); ${PWD}`; export s; \
6212 $(SET_LIB_PATH) \
6213 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
6214 for flag in $(EXTRA_TARGET_FLAGS); do \
6215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6216 done; \
6217 (cd $(TARGET_SUBDIR)/examples && \
6218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6220 "RANLIB=$${RANLIB}" \
6221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6222 TAGS) \
6223 || exit 1
6226 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
6227 maybe-TAGS-target-libffi:
6229 TAGS-target-libffi: \
6230 configure-target-libffi
6231 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
6232 r=`${PWD}`; export r; \
6233 s=`cd $(srcdir); ${PWD}`; export s; \
6234 $(SET_LIB_PATH) \
6235 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
6236 for flag in $(EXTRA_TARGET_FLAGS); do \
6237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6238 done; \
6239 (cd $(TARGET_SUBDIR)/libffi && \
6240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6242 "RANLIB=$${RANLIB}" \
6243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6244 TAGS) \
6245 || exit 1
6248 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
6249 maybe-TAGS-target-libjava:
6251 TAGS-target-libjava: \
6252 configure-target-libjava
6253 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
6254 r=`${PWD}`; export r; \
6255 s=`cd $(srcdir); ${PWD}`; export s; \
6256 $(SET_LIB_PATH) \
6257 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
6258 for flag in $(EXTRA_TARGET_FLAGS); do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 (cd $(TARGET_SUBDIR)/libjava && \
6262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6264 "RANLIB=$${RANLIB}" \
6265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6266 TAGS) \
6267 || exit 1
6270 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
6271 maybe-TAGS-target-zlib:
6273 TAGS-target-zlib: \
6274 configure-target-zlib
6275 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
6276 r=`${PWD}`; export r; \
6277 s=`cd $(srcdir); ${PWD}`; export s; \
6278 $(SET_LIB_PATH) \
6279 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
6280 for flag in $(EXTRA_TARGET_FLAGS); do \
6281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6282 done; \
6283 (cd $(TARGET_SUBDIR)/zlib && \
6284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6286 "RANLIB=$${RANLIB}" \
6287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6288 TAGS) \
6289 || exit 1
6292 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
6293 maybe-TAGS-target-boehm-gc:
6295 TAGS-target-boehm-gc: \
6296 configure-target-boehm-gc
6297 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
6298 r=`${PWD}`; export r; \
6299 s=`cd $(srcdir); ${PWD}`; export s; \
6300 $(SET_LIB_PATH) \
6301 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
6302 for flag in $(EXTRA_TARGET_FLAGS); do \
6303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6304 done; \
6305 (cd $(TARGET_SUBDIR)/boehm-gc && \
6306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6308 "RANLIB=$${RANLIB}" \
6309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6310 TAGS) \
6311 || exit 1
6314 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
6315 maybe-TAGS-target-qthreads:
6317 TAGS-target-qthreads: \
6318 configure-target-qthreads
6319 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
6320 r=`${PWD}`; export r; \
6321 s=`cd $(srcdir); ${PWD}`; export s; \
6322 $(SET_LIB_PATH) \
6323 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
6324 for flag in $(EXTRA_TARGET_FLAGS); do \
6325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6326 done; \
6327 (cd $(TARGET_SUBDIR)/qthreads && \
6328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6330 "RANLIB=$${RANLIB}" \
6331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6332 TAGS) \
6333 || exit 1
6336 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
6337 maybe-TAGS-target-rda:
6339 TAGS-target-rda: \
6340 configure-target-rda
6341 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
6342 r=`${PWD}`; export r; \
6343 s=`cd $(srcdir); ${PWD}`; export s; \
6344 $(SET_LIB_PATH) \
6345 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
6346 for flag in $(EXTRA_TARGET_FLAGS); do \
6347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6348 done; \
6349 (cd $(TARGET_SUBDIR)/rda && \
6350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6352 "RANLIB=$${RANLIB}" \
6353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6354 TAGS) \
6355 || exit 1
6359 .PHONY: do-install-info
6360 do-install-info: install-info-host install-info-target
6362 .PHONY: install-info-host
6363 install-info-host: maybe-install-info-gcc \
6364 maybe-install-info-ash \
6365 maybe-install-info-autoconf \
6366 maybe-install-info-automake \
6367 maybe-install-info-bash \
6368 maybe-install-info-bfd \
6369 maybe-install-info-opcodes \
6370 maybe-install-info-binutils \
6371 maybe-install-info-bison \
6372 maybe-install-info-byacc \
6373 maybe-install-info-bzip2 \
6374 maybe-install-info-dejagnu \
6375 maybe-install-info-diff \
6376 maybe-install-info-dosutils \
6377 maybe-install-info-etc \
6378 maybe-install-info-fastjar \
6379 maybe-install-info-fileutils \
6380 maybe-install-info-findutils \
6381 maybe-install-info-find \
6382 maybe-install-info-flex \
6383 maybe-install-info-gas \
6384 maybe-install-info-gawk \
6385 maybe-install-info-gettext \
6386 maybe-install-info-gnuserv \
6387 maybe-install-info-gprof \
6388 maybe-install-info-gzip \
6389 maybe-install-info-hello \
6390 maybe-install-info-indent \
6391 maybe-install-info-intl \
6392 maybe-install-info-tcl \
6393 maybe-install-info-itcl \
6394 maybe-install-info-ld \
6395 maybe-install-info-libgui \
6396 maybe-install-info-libiberty \
6397 maybe-install-info-libtool \
6398 maybe-install-info-m4 \
6399 maybe-install-info-make \
6400 maybe-install-info-mmalloc \
6401 maybe-install-info-patch \
6402 maybe-install-info-perl \
6403 maybe-install-info-prms \
6404 maybe-install-info-rcs \
6405 maybe-install-info-readline \
6406 maybe-install-info-release \
6407 maybe-install-info-recode \
6408 maybe-install-info-sed \
6409 maybe-install-info-send-pr \
6410 maybe-install-info-shellutils \
6411 maybe-install-info-sid \
6412 maybe-install-info-sim \
6413 maybe-install-info-tar \
6414 maybe-install-info-texinfo \
6415 maybe-install-info-textutils \
6416 maybe-install-info-time \
6417 maybe-install-info-uudecode \
6418 maybe-install-info-wdiff \
6419 maybe-install-info-zip \
6420 maybe-install-info-zlib \
6421 maybe-install-info-gdb \
6422 maybe-install-info-expect \
6423 maybe-install-info-guile \
6424 maybe-install-info-tk \
6425 maybe-install-info-tix \
6426 maybe-install-info-libtermcap \
6427 maybe-install-info-utils
6429 .PHONY: install-info-target
6430 install-info-target: \
6431 maybe-install-info-target-libstdc++-v3 \
6432 maybe-install-info-target-newlib \
6433 maybe-install-info-target-libf2c \
6434 maybe-install-info-target-libobjc \
6435 maybe-install-info-target-libtermcap \
6436 maybe-install-info-target-winsup \
6437 maybe-install-info-target-libgloss \
6438 maybe-install-info-target-libiberty \
6439 maybe-install-info-target-gperf \
6440 maybe-install-info-target-examples \
6441 maybe-install-info-target-libffi \
6442 maybe-install-info-target-libjava \
6443 maybe-install-info-target-zlib \
6444 maybe-install-info-target-boehm-gc \
6445 maybe-install-info-target-qthreads \
6446 maybe-install-info-target-rda
6448 # GCC, the eternal special case
6449 .PHONY: maybe-install-info-gcc install-info-gcc
6450 maybe-install-info-gcc:
6451 install-info-gcc: \
6452 configure-gcc \
6453 info-gcc
6454 @[ -f ./gcc/Makefile ] || exit 0; \
6455 r=`${PWD}`; export r; \
6456 s=`cd $(srcdir); ${PWD}`; export s; \
6457 $(SET_LIB_PATH) \
6458 for flag in $(EXTRA_GCC_FLAGS); do \
6459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6460 done; \
6461 echo "Doing install-info in gcc" ; \
6462 (cd gcc && \
6463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6465 "RANLIB=$${RANLIB}" \
6466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6467 install-info) \
6468 || exit 1
6470 # Host modules.
6472 .PHONY: maybe-install-info-ash install-info-ash
6473 maybe-install-info-ash:
6475 install-info-ash: \
6476 configure-ash \
6477 info-ash
6478 @[ -f ./ash/Makefile ] || exit 0; \
6479 r=`${PWD}`; export r; \
6480 s=`cd $(srcdir); ${PWD}`; export s; \
6481 $(SET_LIB_PATH) \
6482 for flag in $(EXTRA_HOST_FLAGS); do \
6483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6484 done; \
6485 echo "Doing install-info in ash" ; \
6486 (cd ash && \
6487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6489 "RANLIB=$${RANLIB}" \
6490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6491 install-info) \
6492 || exit 1
6495 .PHONY: maybe-install-info-autoconf install-info-autoconf
6496 maybe-install-info-autoconf:
6498 install-info-autoconf: \
6499 configure-autoconf \
6500 info-autoconf
6501 @[ -f ./autoconf/Makefile ] || exit 0; \
6502 r=`${PWD}`; export r; \
6503 s=`cd $(srcdir); ${PWD}`; export s; \
6504 $(SET_LIB_PATH) \
6505 for flag in $(EXTRA_HOST_FLAGS); do \
6506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6507 done; \
6508 echo "Doing install-info in autoconf" ; \
6509 (cd autoconf && \
6510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6512 "RANLIB=$${RANLIB}" \
6513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6514 install-info) \
6515 || exit 1
6518 .PHONY: maybe-install-info-automake install-info-automake
6519 maybe-install-info-automake:
6521 install-info-automake: \
6522 configure-automake \
6523 info-automake
6524 @[ -f ./automake/Makefile ] || exit 0; \
6525 r=`${PWD}`; export r; \
6526 s=`cd $(srcdir); ${PWD}`; export s; \
6527 $(SET_LIB_PATH) \
6528 for flag in $(EXTRA_HOST_FLAGS); do \
6529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6530 done; \
6531 echo "Doing install-info in automake" ; \
6532 (cd automake && \
6533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6535 "RANLIB=$${RANLIB}" \
6536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6537 install-info) \
6538 || exit 1
6541 .PHONY: maybe-install-info-bash install-info-bash
6542 maybe-install-info-bash:
6544 install-info-bash: \
6545 configure-bash \
6546 info-bash
6547 @[ -f ./bash/Makefile ] || exit 0; \
6548 r=`${PWD}`; export r; \
6549 s=`cd $(srcdir); ${PWD}`; export s; \
6550 $(SET_LIB_PATH) \
6551 for flag in $(EXTRA_HOST_FLAGS); do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553 done; \
6554 echo "Doing install-info in bash" ; \
6555 (cd bash && \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6560 install-info) \
6561 || exit 1
6564 .PHONY: maybe-install-info-bfd install-info-bfd
6565 maybe-install-info-bfd:
6567 install-info-bfd: \
6568 configure-bfd \
6569 info-bfd
6570 @[ -f ./bfd/Makefile ] || exit 0; \
6571 r=`${PWD}`; export r; \
6572 s=`cd $(srcdir); ${PWD}`; export s; \
6573 $(SET_LIB_PATH) \
6574 for flag in $(EXTRA_HOST_FLAGS); do \
6575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6576 done; \
6577 echo "Doing install-info in bfd" ; \
6578 (cd bfd && \
6579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6581 "RANLIB=$${RANLIB}" \
6582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6583 install-info) \
6584 || exit 1
6587 .PHONY: maybe-install-info-opcodes install-info-opcodes
6588 maybe-install-info-opcodes:
6590 install-info-opcodes: \
6591 configure-opcodes \
6592 info-opcodes
6593 @[ -f ./opcodes/Makefile ] || exit 0; \
6594 r=`${PWD}`; export r; \
6595 s=`cd $(srcdir); ${PWD}`; export s; \
6596 $(SET_LIB_PATH) \
6597 for flag in $(EXTRA_HOST_FLAGS); do \
6598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6599 done; \
6600 echo "Doing install-info in opcodes" ; \
6601 (cd opcodes && \
6602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604 "RANLIB=$${RANLIB}" \
6605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6606 install-info) \
6607 || exit 1
6610 .PHONY: maybe-install-info-binutils install-info-binutils
6611 maybe-install-info-binutils:
6613 install-info-binutils: \
6614 configure-binutils \
6615 info-binutils
6616 @[ -f ./binutils/Makefile ] || exit 0; \
6617 r=`${PWD}`; export r; \
6618 s=`cd $(srcdir); ${PWD}`; export s; \
6619 $(SET_LIB_PATH) \
6620 for flag in $(EXTRA_HOST_FLAGS); do \
6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6622 done; \
6623 echo "Doing install-info in binutils" ; \
6624 (cd binutils && \
6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6627 "RANLIB=$${RANLIB}" \
6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6629 install-info) \
6630 || exit 1
6633 .PHONY: maybe-install-info-bison install-info-bison
6634 maybe-install-info-bison:
6636 install-info-bison: \
6637 configure-bison \
6638 info-bison
6639 @[ -f ./bison/Makefile ] || exit 0; \
6640 r=`${PWD}`; export r; \
6641 s=`cd $(srcdir); ${PWD}`; export s; \
6642 $(SET_LIB_PATH) \
6643 for flag in $(EXTRA_HOST_FLAGS); do \
6644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6645 done; \
6646 echo "Doing install-info in bison" ; \
6647 (cd bison && \
6648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6650 "RANLIB=$${RANLIB}" \
6651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6652 install-info) \
6653 || exit 1
6656 .PHONY: maybe-install-info-byacc install-info-byacc
6657 maybe-install-info-byacc:
6659 install-info-byacc: \
6660 configure-byacc \
6661 info-byacc
6662 @[ -f ./byacc/Makefile ] || exit 0; \
6663 r=`${PWD}`; export r; \
6664 s=`cd $(srcdir); ${PWD}`; export s; \
6665 $(SET_LIB_PATH) \
6666 for flag in $(EXTRA_HOST_FLAGS); do \
6667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6668 done; \
6669 echo "Doing install-info in byacc" ; \
6670 (cd byacc && \
6671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6673 "RANLIB=$${RANLIB}" \
6674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6675 install-info) \
6676 || exit 1
6679 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6680 maybe-install-info-bzip2:
6682 install-info-bzip2: \
6683 configure-bzip2 \
6684 info-bzip2
6685 @[ -f ./bzip2/Makefile ] || exit 0; \
6686 r=`${PWD}`; export r; \
6687 s=`cd $(srcdir); ${PWD}`; export s; \
6688 $(SET_LIB_PATH) \
6689 for flag in $(EXTRA_HOST_FLAGS); do \
6690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6691 done; \
6692 echo "Doing install-info in bzip2" ; \
6693 (cd bzip2 && \
6694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6696 "RANLIB=$${RANLIB}" \
6697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6698 install-info) \
6699 || exit 1
6702 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6703 maybe-install-info-dejagnu:
6705 install-info-dejagnu: \
6706 configure-dejagnu \
6707 info-dejagnu
6708 @[ -f ./dejagnu/Makefile ] || exit 0; \
6709 r=`${PWD}`; export r; \
6710 s=`cd $(srcdir); ${PWD}`; export s; \
6711 $(SET_LIB_PATH) \
6712 for flag in $(EXTRA_HOST_FLAGS); do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing install-info in dejagnu" ; \
6716 (cd dejagnu && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6721 install-info) \
6722 || exit 1
6725 .PHONY: maybe-install-info-diff install-info-diff
6726 maybe-install-info-diff:
6728 install-info-diff: \
6729 configure-diff \
6730 info-diff
6731 @[ -f ./diff/Makefile ] || exit 0; \
6732 r=`${PWD}`; export r; \
6733 s=`cd $(srcdir); ${PWD}`; export s; \
6734 $(SET_LIB_PATH) \
6735 for flag in $(EXTRA_HOST_FLAGS); do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing install-info in diff" ; \
6739 (cd diff && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6744 install-info) \
6745 || exit 1
6748 .PHONY: maybe-install-info-dosutils install-info-dosutils
6749 maybe-install-info-dosutils:
6751 install-info-dosutils: \
6752 configure-dosutils \
6753 info-dosutils
6754 @[ -f ./dosutils/Makefile ] || exit 0; \
6755 r=`${PWD}`; export r; \
6756 s=`cd $(srcdir); ${PWD}`; export s; \
6757 $(SET_LIB_PATH) \
6758 for flag in $(EXTRA_HOST_FLAGS); do \
6759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6760 done; \
6761 echo "Doing install-info in dosutils" ; \
6762 (cd dosutils && \
6763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6765 "RANLIB=$${RANLIB}" \
6766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6767 install-info) \
6768 || exit 1
6771 .PHONY: maybe-install-info-etc install-info-etc
6772 maybe-install-info-etc:
6774 install-info-etc: \
6775 configure-etc \
6776 info-etc
6777 @[ -f ./etc/Makefile ] || exit 0; \
6778 r=`${PWD}`; export r; \
6779 s=`cd $(srcdir); ${PWD}`; export s; \
6780 $(SET_LIB_PATH) \
6781 for flag in $(EXTRA_HOST_FLAGS); do \
6782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6783 done; \
6784 echo "Doing install-info in etc" ; \
6785 (cd etc && \
6786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6788 "RANLIB=$${RANLIB}" \
6789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6790 install-info) \
6791 || exit 1
6794 .PHONY: maybe-install-info-fastjar install-info-fastjar
6795 maybe-install-info-fastjar:
6797 install-info-fastjar: \
6798 configure-fastjar \
6799 info-fastjar
6800 @[ -f ./fastjar/Makefile ] || exit 0; \
6801 r=`${PWD}`; export r; \
6802 s=`cd $(srcdir); ${PWD}`; export s; \
6803 $(SET_LIB_PATH) \
6804 for flag in $(EXTRA_HOST_FLAGS); do \
6805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6806 done; \
6807 echo "Doing install-info in fastjar" ; \
6808 (cd fastjar && \
6809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6811 "RANLIB=$${RANLIB}" \
6812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6813 install-info) \
6814 || exit 1
6817 .PHONY: maybe-install-info-fileutils install-info-fileutils
6818 maybe-install-info-fileutils:
6820 install-info-fileutils: \
6821 configure-fileutils \
6822 info-fileutils
6823 @[ -f ./fileutils/Makefile ] || exit 0; \
6824 r=`${PWD}`; export r; \
6825 s=`cd $(srcdir); ${PWD}`; export s; \
6826 $(SET_LIB_PATH) \
6827 for flag in $(EXTRA_HOST_FLAGS); do \
6828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6829 done; \
6830 echo "Doing install-info in fileutils" ; \
6831 (cd fileutils && \
6832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6834 "RANLIB=$${RANLIB}" \
6835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6836 install-info) \
6837 || exit 1
6840 .PHONY: maybe-install-info-findutils install-info-findutils
6841 maybe-install-info-findutils:
6843 install-info-findutils: \
6844 configure-findutils \
6845 info-findutils
6846 @[ -f ./findutils/Makefile ] || exit 0; \
6847 r=`${PWD}`; export r; \
6848 s=`cd $(srcdir); ${PWD}`; export s; \
6849 $(SET_LIB_PATH) \
6850 for flag in $(EXTRA_HOST_FLAGS); do \
6851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6852 done; \
6853 echo "Doing install-info in findutils" ; \
6854 (cd findutils && \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6857 "RANLIB=$${RANLIB}" \
6858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6859 install-info) \
6860 || exit 1
6863 .PHONY: maybe-install-info-find install-info-find
6864 maybe-install-info-find:
6866 install-info-find: \
6867 configure-find \
6868 info-find
6869 @[ -f ./find/Makefile ] || exit 0; \
6870 r=`${PWD}`; export r; \
6871 s=`cd $(srcdir); ${PWD}`; export s; \
6872 $(SET_LIB_PATH) \
6873 for flag in $(EXTRA_HOST_FLAGS); do \
6874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6875 done; \
6876 echo "Doing install-info in find" ; \
6877 (cd find && \
6878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6880 "RANLIB=$${RANLIB}" \
6881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6882 install-info) \
6883 || exit 1
6886 .PHONY: maybe-install-info-flex install-info-flex
6887 maybe-install-info-flex:
6889 install-info-flex: \
6890 configure-flex \
6891 info-flex
6892 @[ -f ./flex/Makefile ] || exit 0; \
6893 r=`${PWD}`; export r; \
6894 s=`cd $(srcdir); ${PWD}`; export s; \
6895 $(SET_LIB_PATH) \
6896 for flag in $(EXTRA_HOST_FLAGS); do \
6897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6898 done; \
6899 echo "Doing install-info in flex" ; \
6900 (cd flex && \
6901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6903 "RANLIB=$${RANLIB}" \
6904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6905 install-info) \
6906 || exit 1
6909 .PHONY: maybe-install-info-gas install-info-gas
6910 maybe-install-info-gas:
6912 install-info-gas: \
6913 configure-gas \
6914 info-gas
6915 @[ -f ./gas/Makefile ] || exit 0; \
6916 r=`${PWD}`; export r; \
6917 s=`cd $(srcdir); ${PWD}`; export s; \
6918 $(SET_LIB_PATH) \
6919 for flag in $(EXTRA_HOST_FLAGS); do \
6920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6921 done; \
6922 echo "Doing install-info in gas" ; \
6923 (cd gas && \
6924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6926 "RANLIB=$${RANLIB}" \
6927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6928 install-info) \
6929 || exit 1
6932 .PHONY: maybe-install-info-gawk install-info-gawk
6933 maybe-install-info-gawk:
6935 install-info-gawk: \
6936 configure-gawk \
6937 info-gawk
6938 @[ -f ./gawk/Makefile ] || exit 0; \
6939 r=`${PWD}`; export r; \
6940 s=`cd $(srcdir); ${PWD}`; export s; \
6941 $(SET_LIB_PATH) \
6942 for flag in $(EXTRA_HOST_FLAGS); do \
6943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6944 done; \
6945 echo "Doing install-info in gawk" ; \
6946 (cd gawk && \
6947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949 "RANLIB=$${RANLIB}" \
6950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6951 install-info) \
6952 || exit 1
6955 .PHONY: maybe-install-info-gettext install-info-gettext
6956 maybe-install-info-gettext:
6958 install-info-gettext: \
6959 configure-gettext \
6960 info-gettext
6961 @[ -f ./gettext/Makefile ] || exit 0; \
6962 r=`${PWD}`; export r; \
6963 s=`cd $(srcdir); ${PWD}`; export s; \
6964 $(SET_LIB_PATH) \
6965 for flag in $(EXTRA_HOST_FLAGS); do \
6966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967 done; \
6968 echo "Doing install-info in gettext" ; \
6969 (cd gettext && \
6970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972 "RANLIB=$${RANLIB}" \
6973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6974 install-info) \
6975 || exit 1
6978 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
6979 maybe-install-info-gnuserv:
6981 install-info-gnuserv: \
6982 configure-gnuserv \
6983 info-gnuserv
6984 @[ -f ./gnuserv/Makefile ] || exit 0; \
6985 r=`${PWD}`; export r; \
6986 s=`cd $(srcdir); ${PWD}`; export s; \
6987 $(SET_LIB_PATH) \
6988 for flag in $(EXTRA_HOST_FLAGS); do \
6989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6990 done; \
6991 echo "Doing install-info in gnuserv" ; \
6992 (cd gnuserv && \
6993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6995 "RANLIB=$${RANLIB}" \
6996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6997 install-info) \
6998 || exit 1
7001 .PHONY: maybe-install-info-gprof install-info-gprof
7002 maybe-install-info-gprof:
7004 install-info-gprof: \
7005 configure-gprof \
7006 info-gprof
7007 @[ -f ./gprof/Makefile ] || exit 0; \
7008 r=`${PWD}`; export r; \
7009 s=`cd $(srcdir); ${PWD}`; export s; \
7010 $(SET_LIB_PATH) \
7011 for flag in $(EXTRA_HOST_FLAGS); do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing install-info in gprof" ; \
7015 (cd gprof && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 install-info) \
7021 || exit 1
7024 .PHONY: maybe-install-info-gzip install-info-gzip
7025 maybe-install-info-gzip:
7027 install-info-gzip: \
7028 configure-gzip \
7029 info-gzip
7030 @[ -f ./gzip/Makefile ] || exit 0; \
7031 r=`${PWD}`; export r; \
7032 s=`cd $(srcdir); ${PWD}`; export s; \
7033 $(SET_LIB_PATH) \
7034 for flag in $(EXTRA_HOST_FLAGS); do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7036 done; \
7037 echo "Doing install-info in gzip" ; \
7038 (cd gzip && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7043 install-info) \
7044 || exit 1
7047 .PHONY: maybe-install-info-hello install-info-hello
7048 maybe-install-info-hello:
7050 install-info-hello: \
7051 configure-hello \
7052 info-hello
7053 @[ -f ./hello/Makefile ] || exit 0; \
7054 r=`${PWD}`; export r; \
7055 s=`cd $(srcdir); ${PWD}`; export s; \
7056 $(SET_LIB_PATH) \
7057 for flag in $(EXTRA_HOST_FLAGS); do \
7058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7059 done; \
7060 echo "Doing install-info in hello" ; \
7061 (cd hello && \
7062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7064 "RANLIB=$${RANLIB}" \
7065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7066 install-info) \
7067 || exit 1
7070 .PHONY: maybe-install-info-indent install-info-indent
7071 maybe-install-info-indent:
7073 install-info-indent: \
7074 configure-indent \
7075 info-indent
7076 @[ -f ./indent/Makefile ] || exit 0; \
7077 r=`${PWD}`; export r; \
7078 s=`cd $(srcdir); ${PWD}`; export s; \
7079 $(SET_LIB_PATH) \
7080 for flag in $(EXTRA_HOST_FLAGS); do \
7081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7082 done; \
7083 echo "Doing install-info in indent" ; \
7084 (cd indent && \
7085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7087 "RANLIB=$${RANLIB}" \
7088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7089 install-info) \
7090 || exit 1
7093 .PHONY: maybe-install-info-intl install-info-intl
7094 maybe-install-info-intl:
7096 install-info-intl: \
7097 configure-intl \
7098 info-intl
7099 @[ -f ./intl/Makefile ] || exit 0; \
7100 r=`${PWD}`; export r; \
7101 s=`cd $(srcdir); ${PWD}`; export s; \
7102 $(SET_LIB_PATH) \
7103 for flag in $(EXTRA_HOST_FLAGS); do \
7104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7105 done; \
7106 echo "Doing install-info in intl" ; \
7107 (cd intl && \
7108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7110 "RANLIB=$${RANLIB}" \
7111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7112 install-info) \
7113 || exit 1
7116 .PHONY: maybe-install-info-tcl install-info-tcl
7117 maybe-install-info-tcl:
7119 install-info-tcl: \
7120 configure-tcl \
7121 info-tcl
7122 @[ -f ./tcl/Makefile ] || exit 0; \
7123 r=`${PWD}`; export r; \
7124 s=`cd $(srcdir); ${PWD}`; export s; \
7125 $(SET_LIB_PATH) \
7126 for flag in $(EXTRA_HOST_FLAGS); do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing install-info in tcl" ; \
7130 (cd tcl && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7135 install-info) \
7136 || exit 1
7139 .PHONY: maybe-install-info-itcl install-info-itcl
7140 maybe-install-info-itcl:
7142 install-info-itcl: \
7143 configure-itcl \
7144 info-itcl
7145 @[ -f ./itcl/Makefile ] || exit 0; \
7146 r=`${PWD}`; export r; \
7147 s=`cd $(srcdir); ${PWD}`; export s; \
7148 $(SET_LIB_PATH) \
7149 for flag in $(EXTRA_HOST_FLAGS); do \
7150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7151 done; \
7152 echo "Doing install-info in itcl" ; \
7153 (cd itcl && \
7154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7156 "RANLIB=$${RANLIB}" \
7157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7158 install-info) \
7159 || exit 1
7162 .PHONY: maybe-install-info-ld install-info-ld
7163 maybe-install-info-ld:
7165 install-info-ld: \
7166 configure-ld \
7167 info-ld
7168 @[ -f ./ld/Makefile ] || exit 0; \
7169 r=`${PWD}`; export r; \
7170 s=`cd $(srcdir); ${PWD}`; export s; \
7171 $(SET_LIB_PATH) \
7172 for flag in $(EXTRA_HOST_FLAGS); do \
7173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7174 done; \
7175 echo "Doing install-info in ld" ; \
7176 (cd ld && \
7177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7179 "RANLIB=$${RANLIB}" \
7180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7181 install-info) \
7182 || exit 1
7185 .PHONY: maybe-install-info-libgui install-info-libgui
7186 maybe-install-info-libgui:
7188 install-info-libgui: \
7189 configure-libgui \
7190 info-libgui
7191 @[ -f ./libgui/Makefile ] || exit 0; \
7192 r=`${PWD}`; export r; \
7193 s=`cd $(srcdir); ${PWD}`; export s; \
7194 $(SET_LIB_PATH) \
7195 for flag in $(EXTRA_HOST_FLAGS); do \
7196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7197 done; \
7198 echo "Doing install-info in libgui" ; \
7199 (cd libgui && \
7200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7202 "RANLIB=$${RANLIB}" \
7203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7204 install-info) \
7205 || exit 1
7208 .PHONY: maybe-install-info-libiberty install-info-libiberty
7209 maybe-install-info-libiberty:
7211 install-info-libiberty: \
7212 configure-libiberty \
7213 info-libiberty
7214 @[ -f ./libiberty/Makefile ] || exit 0; \
7215 r=`${PWD}`; export r; \
7216 s=`cd $(srcdir); ${PWD}`; export s; \
7217 $(SET_LIB_PATH) \
7218 for flag in $(EXTRA_HOST_FLAGS); do \
7219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7220 done; \
7221 echo "Doing install-info in libiberty" ; \
7222 (cd libiberty && \
7223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7225 "RANLIB=$${RANLIB}" \
7226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7227 install-info) \
7228 || exit 1
7231 .PHONY: maybe-install-info-libtool install-info-libtool
7232 maybe-install-info-libtool:
7234 install-info-libtool: \
7235 configure-libtool \
7236 info-libtool
7237 @[ -f ./libtool/Makefile ] || exit 0; \
7238 r=`${PWD}`; export r; \
7239 s=`cd $(srcdir); ${PWD}`; export s; \
7240 $(SET_LIB_PATH) \
7241 for flag in $(EXTRA_HOST_FLAGS); do \
7242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7243 done; \
7244 echo "Doing install-info in libtool" ; \
7245 (cd libtool && \
7246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7248 "RANLIB=$${RANLIB}" \
7249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7250 install-info) \
7251 || exit 1
7254 .PHONY: maybe-install-info-m4 install-info-m4
7255 maybe-install-info-m4:
7257 install-info-m4: \
7258 configure-m4 \
7259 info-m4
7260 @[ -f ./m4/Makefile ] || exit 0; \
7261 r=`${PWD}`; export r; \
7262 s=`cd $(srcdir); ${PWD}`; export s; \
7263 $(SET_LIB_PATH) \
7264 for flag in $(EXTRA_HOST_FLAGS); do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing install-info in m4" ; \
7268 (cd m4 && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7273 install-info) \
7274 || exit 1
7277 .PHONY: maybe-install-info-make install-info-make
7278 maybe-install-info-make:
7280 install-info-make: \
7281 configure-make \
7282 info-make
7283 @[ -f ./make/Makefile ] || exit 0; \
7284 r=`${PWD}`; export r; \
7285 s=`cd $(srcdir); ${PWD}`; export s; \
7286 $(SET_LIB_PATH) \
7287 for flag in $(EXTRA_HOST_FLAGS); do \
7288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7289 done; \
7290 echo "Doing install-info in make" ; \
7291 (cd make && \
7292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7294 "RANLIB=$${RANLIB}" \
7295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7296 install-info) \
7297 || exit 1
7300 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
7301 maybe-install-info-mmalloc:
7303 install-info-mmalloc: \
7304 configure-mmalloc \
7305 info-mmalloc
7306 @[ -f ./mmalloc/Makefile ] || exit 0; \
7307 r=`${PWD}`; export r; \
7308 s=`cd $(srcdir); ${PWD}`; export s; \
7309 $(SET_LIB_PATH) \
7310 for flag in $(EXTRA_HOST_FLAGS); do \
7311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7312 done; \
7313 echo "Doing install-info in mmalloc" ; \
7314 (cd mmalloc && \
7315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7317 "RANLIB=$${RANLIB}" \
7318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7319 install-info) \
7320 || exit 1
7323 .PHONY: maybe-install-info-patch install-info-patch
7324 maybe-install-info-patch:
7326 install-info-patch: \
7327 configure-patch \
7328 info-patch
7329 @[ -f ./patch/Makefile ] || exit 0; \
7330 r=`${PWD}`; export r; \
7331 s=`cd $(srcdir); ${PWD}`; export s; \
7332 $(SET_LIB_PATH) \
7333 for flag in $(EXTRA_HOST_FLAGS); do \
7334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7335 done; \
7336 echo "Doing install-info in patch" ; \
7337 (cd patch && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7340 "RANLIB=$${RANLIB}" \
7341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7342 install-info) \
7343 || exit 1
7346 .PHONY: maybe-install-info-perl install-info-perl
7347 maybe-install-info-perl:
7349 install-info-perl: \
7350 configure-perl \
7351 info-perl
7352 @[ -f ./perl/Makefile ] || exit 0; \
7353 r=`${PWD}`; export r; \
7354 s=`cd $(srcdir); ${PWD}`; export s; \
7355 $(SET_LIB_PATH) \
7356 for flag in $(EXTRA_HOST_FLAGS); do \
7357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7358 done; \
7359 echo "Doing install-info in perl" ; \
7360 (cd perl && \
7361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7363 "RANLIB=$${RANLIB}" \
7364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7365 install-info) \
7366 || exit 1
7369 .PHONY: maybe-install-info-prms install-info-prms
7370 maybe-install-info-prms:
7372 install-info-prms: \
7373 configure-prms \
7374 info-prms
7375 @[ -f ./prms/Makefile ] || exit 0; \
7376 r=`${PWD}`; export r; \
7377 s=`cd $(srcdir); ${PWD}`; export s; \
7378 $(SET_LIB_PATH) \
7379 for flag in $(EXTRA_HOST_FLAGS); do \
7380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7381 done; \
7382 echo "Doing install-info in prms" ; \
7383 (cd prms && \
7384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7386 "RANLIB=$${RANLIB}" \
7387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7388 install-info) \
7389 || exit 1
7392 .PHONY: maybe-install-info-rcs install-info-rcs
7393 maybe-install-info-rcs:
7395 install-info-rcs: \
7396 configure-rcs \
7397 info-rcs
7398 @[ -f ./rcs/Makefile ] || exit 0; \
7399 r=`${PWD}`; export r; \
7400 s=`cd $(srcdir); ${PWD}`; export s; \
7401 $(SET_LIB_PATH) \
7402 for flag in $(EXTRA_HOST_FLAGS); do \
7403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7404 done; \
7405 echo "Doing install-info in rcs" ; \
7406 (cd rcs && \
7407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7409 "RANLIB=$${RANLIB}" \
7410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7411 install-info) \
7412 || exit 1
7415 .PHONY: maybe-install-info-readline install-info-readline
7416 maybe-install-info-readline:
7418 install-info-readline: \
7419 configure-readline \
7420 info-readline
7421 @[ -f ./readline/Makefile ] || exit 0; \
7422 r=`${PWD}`; export r; \
7423 s=`cd $(srcdir); ${PWD}`; export s; \
7424 $(SET_LIB_PATH) \
7425 for flag in $(EXTRA_HOST_FLAGS); do \
7426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7427 done; \
7428 echo "Doing install-info in readline" ; \
7429 (cd readline && \
7430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7432 "RANLIB=$${RANLIB}" \
7433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7434 install-info) \
7435 || exit 1
7438 .PHONY: maybe-install-info-release install-info-release
7439 maybe-install-info-release:
7441 install-info-release: \
7442 configure-release \
7443 info-release
7444 @[ -f ./release/Makefile ] || exit 0; \
7445 r=`${PWD}`; export r; \
7446 s=`cd $(srcdir); ${PWD}`; export s; \
7447 $(SET_LIB_PATH) \
7448 for flag in $(EXTRA_HOST_FLAGS); do \
7449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7450 done; \
7451 echo "Doing install-info in release" ; \
7452 (cd release && \
7453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7455 "RANLIB=$${RANLIB}" \
7456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7457 install-info) \
7458 || exit 1
7461 .PHONY: maybe-install-info-recode install-info-recode
7462 maybe-install-info-recode:
7464 install-info-recode: \
7465 configure-recode \
7466 info-recode
7467 @[ -f ./recode/Makefile ] || exit 0; \
7468 r=`${PWD}`; export r; \
7469 s=`cd $(srcdir); ${PWD}`; export s; \
7470 $(SET_LIB_PATH) \
7471 for flag in $(EXTRA_HOST_FLAGS); do \
7472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 done; \
7474 echo "Doing install-info in recode" ; \
7475 (cd recode && \
7476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7478 "RANLIB=$${RANLIB}" \
7479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7480 install-info) \
7481 || exit 1
7484 .PHONY: maybe-install-info-sed install-info-sed
7485 maybe-install-info-sed:
7487 install-info-sed: \
7488 configure-sed \
7489 info-sed
7490 @[ -f ./sed/Makefile ] || exit 0; \
7491 r=`${PWD}`; export r; \
7492 s=`cd $(srcdir); ${PWD}`; export s; \
7493 $(SET_LIB_PATH) \
7494 for flag in $(EXTRA_HOST_FLAGS); do \
7495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7496 done; \
7497 echo "Doing install-info in sed" ; \
7498 (cd sed && \
7499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7501 "RANLIB=$${RANLIB}" \
7502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7503 install-info) \
7504 || exit 1
7507 .PHONY: maybe-install-info-send-pr install-info-send-pr
7508 maybe-install-info-send-pr:
7510 install-info-send-pr: \
7511 configure-send-pr \
7512 info-send-pr
7513 @[ -f ./send-pr/Makefile ] || exit 0; \
7514 r=`${PWD}`; export r; \
7515 s=`cd $(srcdir); ${PWD}`; export s; \
7516 $(SET_LIB_PATH) \
7517 for flag in $(EXTRA_HOST_FLAGS); do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing install-info in send-pr" ; \
7521 (cd send-pr && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 install-info) \
7527 || exit 1
7530 .PHONY: maybe-install-info-shellutils install-info-shellutils
7531 maybe-install-info-shellutils:
7533 install-info-shellutils: \
7534 configure-shellutils \
7535 info-shellutils
7536 @[ -f ./shellutils/Makefile ] || exit 0; \
7537 r=`${PWD}`; export r; \
7538 s=`cd $(srcdir); ${PWD}`; export s; \
7539 $(SET_LIB_PATH) \
7540 for flag in $(EXTRA_HOST_FLAGS); do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing install-info in shellutils" ; \
7544 (cd shellutils && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7549 install-info) \
7550 || exit 1
7553 .PHONY: maybe-install-info-sid install-info-sid
7554 maybe-install-info-sid:
7556 install-info-sid: \
7557 configure-sid \
7558 info-sid
7559 @[ -f ./sid/Makefile ] || exit 0; \
7560 r=`${PWD}`; export r; \
7561 s=`cd $(srcdir); ${PWD}`; export s; \
7562 $(SET_LIB_PATH) \
7563 for flag in $(EXTRA_HOST_FLAGS); do \
7564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7565 done; \
7566 echo "Doing install-info in sid" ; \
7567 (cd sid && \
7568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7570 "RANLIB=$${RANLIB}" \
7571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7572 install-info) \
7573 || exit 1
7576 .PHONY: maybe-install-info-sim install-info-sim
7577 maybe-install-info-sim:
7579 install-info-sim: \
7580 configure-sim \
7581 info-sim
7582 @[ -f ./sim/Makefile ] || exit 0; \
7583 r=`${PWD}`; export r; \
7584 s=`cd $(srcdir); ${PWD}`; export s; \
7585 $(SET_LIB_PATH) \
7586 for flag in $(EXTRA_HOST_FLAGS); do \
7587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7588 done; \
7589 echo "Doing install-info in sim" ; \
7590 (cd sim && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7593 "RANLIB=$${RANLIB}" \
7594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7595 install-info) \
7596 || exit 1
7599 .PHONY: maybe-install-info-tar install-info-tar
7600 maybe-install-info-tar:
7602 install-info-tar: \
7603 configure-tar \
7604 info-tar
7605 @[ -f ./tar/Makefile ] || exit 0; \
7606 r=`${PWD}`; export r; \
7607 s=`cd $(srcdir); ${PWD}`; export s; \
7608 $(SET_LIB_PATH) \
7609 for flag in $(EXTRA_HOST_FLAGS); do \
7610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7611 done; \
7612 echo "Doing install-info in tar" ; \
7613 (cd tar && \
7614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7616 "RANLIB=$${RANLIB}" \
7617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7618 install-info) \
7619 || exit 1
7622 .PHONY: maybe-install-info-texinfo install-info-texinfo
7623 maybe-install-info-texinfo:
7625 install-info-texinfo: \
7626 configure-texinfo \
7627 info-texinfo
7628 @[ -f ./texinfo/Makefile ] || exit 0; \
7629 r=`${PWD}`; export r; \
7630 s=`cd $(srcdir); ${PWD}`; export s; \
7631 $(SET_LIB_PATH) \
7632 for flag in $(EXTRA_HOST_FLAGS); do \
7633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7634 done; \
7635 echo "Doing install-info in texinfo" ; \
7636 (cd texinfo && \
7637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7639 "RANLIB=$${RANLIB}" \
7640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7641 install-info) \
7642 || exit 1
7645 .PHONY: maybe-install-info-textutils install-info-textutils
7646 maybe-install-info-textutils:
7648 install-info-textutils: \
7649 configure-textutils \
7650 info-textutils
7651 @[ -f ./textutils/Makefile ] || exit 0; \
7652 r=`${PWD}`; export r; \
7653 s=`cd $(srcdir); ${PWD}`; export s; \
7654 $(SET_LIB_PATH) \
7655 for flag in $(EXTRA_HOST_FLAGS); do \
7656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7657 done; \
7658 echo "Doing install-info in textutils" ; \
7659 (cd textutils && \
7660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7662 "RANLIB=$${RANLIB}" \
7663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7664 install-info) \
7665 || exit 1
7668 .PHONY: maybe-install-info-time install-info-time
7669 maybe-install-info-time:
7671 install-info-time: \
7672 configure-time \
7673 info-time
7674 @[ -f ./time/Makefile ] || exit 0; \
7675 r=`${PWD}`; export r; \
7676 s=`cd $(srcdir); ${PWD}`; export s; \
7677 $(SET_LIB_PATH) \
7678 for flag in $(EXTRA_HOST_FLAGS); do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680 done; \
7681 echo "Doing install-info in time" ; \
7682 (cd time && \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7687 install-info) \
7688 || exit 1
7691 .PHONY: maybe-install-info-uudecode install-info-uudecode
7692 maybe-install-info-uudecode:
7694 install-info-uudecode: \
7695 configure-uudecode \
7696 info-uudecode
7697 @[ -f ./uudecode/Makefile ] || exit 0; \
7698 r=`${PWD}`; export r; \
7699 s=`cd $(srcdir); ${PWD}`; export s; \
7700 $(SET_LIB_PATH) \
7701 for flag in $(EXTRA_HOST_FLAGS); do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing install-info in uudecode" ; \
7705 (cd uudecode && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7710 install-info) \
7711 || exit 1
7714 .PHONY: maybe-install-info-wdiff install-info-wdiff
7715 maybe-install-info-wdiff:
7717 install-info-wdiff: \
7718 configure-wdiff \
7719 info-wdiff
7720 @[ -f ./wdiff/Makefile ] || exit 0; \
7721 r=`${PWD}`; export r; \
7722 s=`cd $(srcdir); ${PWD}`; export s; \
7723 $(SET_LIB_PATH) \
7724 for flag in $(EXTRA_HOST_FLAGS); do \
7725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7726 done; \
7727 echo "Doing install-info in wdiff" ; \
7728 (cd wdiff && \
7729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7731 "RANLIB=$${RANLIB}" \
7732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7733 install-info) \
7734 || exit 1
7737 .PHONY: maybe-install-info-zip install-info-zip
7738 maybe-install-info-zip:
7740 install-info-zip: \
7741 configure-zip \
7742 info-zip
7743 @[ -f ./zip/Makefile ] || exit 0; \
7744 r=`${PWD}`; export r; \
7745 s=`cd $(srcdir); ${PWD}`; export s; \
7746 $(SET_LIB_PATH) \
7747 for flag in $(EXTRA_HOST_FLAGS); do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 done; \
7750 echo "Doing install-info in zip" ; \
7751 (cd zip && \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7756 install-info) \
7757 || exit 1
7760 .PHONY: maybe-install-info-zlib install-info-zlib
7761 maybe-install-info-zlib:
7763 install-info-zlib: \
7764 configure-zlib \
7765 info-zlib
7766 @[ -f ./zlib/Makefile ] || exit 0; \
7767 r=`${PWD}`; export r; \
7768 s=`cd $(srcdir); ${PWD}`; export s; \
7769 $(SET_LIB_PATH) \
7770 for flag in $(EXTRA_HOST_FLAGS); do \
7771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7772 done; \
7773 echo "Doing install-info in zlib" ; \
7774 (cd zlib && \
7775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7777 "RANLIB=$${RANLIB}" \
7778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7779 install-info) \
7780 || exit 1
7783 .PHONY: maybe-install-info-gdb install-info-gdb
7784 maybe-install-info-gdb:
7786 install-info-gdb: \
7787 configure-gdb \
7788 info-gdb
7789 @[ -f ./gdb/Makefile ] || exit 0; \
7790 r=`${PWD}`; export r; \
7791 s=`cd $(srcdir); ${PWD}`; export s; \
7792 $(SET_LIB_PATH) \
7793 for flag in $(EXTRA_HOST_FLAGS); do \
7794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7795 done; \
7796 echo "Doing install-info in gdb" ; \
7797 (cd gdb && \
7798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7800 "RANLIB=$${RANLIB}" \
7801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 install-info) \
7803 || exit 1
7806 .PHONY: maybe-install-info-expect install-info-expect
7807 maybe-install-info-expect:
7809 install-info-expect: \
7810 configure-expect \
7811 info-expect
7812 @[ -f ./expect/Makefile ] || exit 0; \
7813 r=`${PWD}`; export r; \
7814 s=`cd $(srcdir); ${PWD}`; export s; \
7815 $(SET_LIB_PATH) \
7816 for flag in $(EXTRA_HOST_FLAGS); do \
7817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 done; \
7819 echo "Doing install-info in expect" ; \
7820 (cd expect && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7823 "RANLIB=$${RANLIB}" \
7824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7825 install-info) \
7826 || exit 1
7829 .PHONY: maybe-install-info-guile install-info-guile
7830 maybe-install-info-guile:
7832 install-info-guile: \
7833 configure-guile \
7834 info-guile
7835 @[ -f ./guile/Makefile ] || exit 0; \
7836 r=`${PWD}`; export r; \
7837 s=`cd $(srcdir); ${PWD}`; export s; \
7838 $(SET_LIB_PATH) \
7839 for flag in $(EXTRA_HOST_FLAGS); do \
7840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7841 done; \
7842 echo "Doing install-info in guile" ; \
7843 (cd guile && \
7844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7846 "RANLIB=$${RANLIB}" \
7847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7848 install-info) \
7849 || exit 1
7852 .PHONY: maybe-install-info-tk install-info-tk
7853 maybe-install-info-tk:
7855 install-info-tk: \
7856 configure-tk \
7857 info-tk
7858 @[ -f ./tk/Makefile ] || exit 0; \
7859 r=`${PWD}`; export r; \
7860 s=`cd $(srcdir); ${PWD}`; export s; \
7861 $(SET_LIB_PATH) \
7862 for flag in $(EXTRA_HOST_FLAGS); do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing install-info in tk" ; \
7866 (cd tk && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7871 install-info) \
7872 || exit 1
7875 .PHONY: maybe-install-info-tix install-info-tix
7876 maybe-install-info-tix:
7878 install-info-tix: \
7879 configure-tix \
7880 info-tix
7881 @[ -f ./tix/Makefile ] || exit 0; \
7882 r=`${PWD}`; export r; \
7883 s=`cd $(srcdir); ${PWD}`; export s; \
7884 $(SET_LIB_PATH) \
7885 for flag in $(EXTRA_HOST_FLAGS); do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 done; \
7888 echo "Doing install-info in tix" ; \
7889 (cd tix && \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7894 install-info) \
7895 || exit 1
7898 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
7899 maybe-install-info-libtermcap:
7901 install-info-libtermcap: \
7902 configure-libtermcap \
7903 info-libtermcap
7904 @[ -f ./libtermcap/Makefile ] || exit 0; \
7905 r=`${PWD}`; export r; \
7906 s=`cd $(srcdir); ${PWD}`; export s; \
7907 $(SET_LIB_PATH) \
7908 for flag in $(EXTRA_HOST_FLAGS); do \
7909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7910 done; \
7911 echo "Doing install-info in libtermcap" ; \
7912 (cd libtermcap && \
7913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7915 "RANLIB=$${RANLIB}" \
7916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7917 install-info) \
7918 || exit 1
7921 .PHONY: maybe-install-info-utils install-info-utils
7922 maybe-install-info-utils:
7924 install-info-utils: \
7925 configure-utils \
7926 info-utils
7927 @[ -f ./utils/Makefile ] || exit 0; \
7928 r=`${PWD}`; export r; \
7929 s=`cd $(srcdir); ${PWD}`; export s; \
7930 $(SET_LIB_PATH) \
7931 for flag in $(EXTRA_HOST_FLAGS); do \
7932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 done; \
7934 echo "Doing install-info in utils" ; \
7935 (cd utils && \
7936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938 "RANLIB=$${RANLIB}" \
7939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7940 install-info) \
7941 || exit 1
7945 # Target modules.
7947 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
7948 maybe-install-info-target-libstdc++-v3:
7950 install-info-target-libstdc++-v3: \
7951 configure-target-libstdc++-v3 \
7952 info-target-libstdc++-v3
7953 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
7954 r=`${PWD}`; export r; \
7955 s=`cd $(srcdir); ${PWD}`; export s; \
7956 $(SET_LIB_PATH) \
7957 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
7958 for flag in $(EXTRA_TARGET_FLAGS); do \
7959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7960 done; \
7961 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7966 install-info) \
7967 || exit 1
7970 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
7971 maybe-install-info-target-newlib:
7973 install-info-target-newlib: \
7974 configure-target-newlib \
7975 info-target-newlib
7976 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
7977 r=`${PWD}`; export r; \
7978 s=`cd $(srcdir); ${PWD}`; export s; \
7979 $(SET_LIB_PATH) \
7980 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
7981 for flag in $(EXTRA_TARGET_FLAGS); do \
7982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7983 done; \
7984 (cd $(TARGET_SUBDIR)/newlib && \
7985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7987 "RANLIB=$${RANLIB}" \
7988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7989 install-info) \
7990 || exit 1
7993 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
7994 maybe-install-info-target-libf2c:
7996 install-info-target-libf2c: \
7997 configure-target-libf2c \
7998 info-target-libf2c
7999 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8000 r=`${PWD}`; export r; \
8001 s=`cd $(srcdir); ${PWD}`; export s; \
8002 $(SET_LIB_PATH) \
8003 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
8004 for flag in $(EXTRA_TARGET_FLAGS); do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8006 done; \
8007 (cd $(TARGET_SUBDIR)/libf2c && \
8008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8010 "RANLIB=$${RANLIB}" \
8011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8012 install-info) \
8013 || exit 1
8016 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
8017 maybe-install-info-target-libobjc:
8019 install-info-target-libobjc: \
8020 configure-target-libobjc \
8021 info-target-libobjc
8022 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8023 r=`${PWD}`; export r; \
8024 s=`cd $(srcdir); ${PWD}`; export s; \
8025 $(SET_LIB_PATH) \
8026 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
8027 for flag in $(EXTRA_TARGET_FLAGS); do \
8028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8029 done; \
8030 (cd $(TARGET_SUBDIR)/libobjc && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8035 install-info) \
8036 || exit 1
8039 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
8040 maybe-install-info-target-libtermcap:
8042 install-info-target-libtermcap: \
8043 configure-target-libtermcap \
8044 info-target-libtermcap
8045 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8046 r=`${PWD}`; export r; \
8047 s=`cd $(srcdir); ${PWD}`; export s; \
8048 $(SET_LIB_PATH) \
8049 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
8050 for flag in $(EXTRA_TARGET_FLAGS); do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 (cd $(TARGET_SUBDIR)/libtermcap && \
8054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8056 "RANLIB=$${RANLIB}" \
8057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8058 install-info) \
8059 || exit 1
8062 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
8063 maybe-install-info-target-winsup:
8065 install-info-target-winsup: \
8066 configure-target-winsup \
8067 info-target-winsup
8068 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8069 r=`${PWD}`; export r; \
8070 s=`cd $(srcdir); ${PWD}`; export s; \
8071 $(SET_LIB_PATH) \
8072 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
8073 for flag in $(EXTRA_TARGET_FLAGS); do \
8074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8075 done; \
8076 (cd $(TARGET_SUBDIR)/winsup && \
8077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8079 "RANLIB=$${RANLIB}" \
8080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8081 install-info) \
8082 || exit 1
8085 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
8086 maybe-install-info-target-libgloss:
8088 install-info-target-libgloss: \
8089 configure-target-libgloss \
8090 info-target-libgloss
8091 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8092 r=`${PWD}`; export r; \
8093 s=`cd $(srcdir); ${PWD}`; export s; \
8094 $(SET_LIB_PATH) \
8095 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
8096 for flag in $(EXTRA_TARGET_FLAGS); do \
8097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8098 done; \
8099 (cd $(TARGET_SUBDIR)/libgloss && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8102 "RANLIB=$${RANLIB}" \
8103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8104 install-info) \
8105 || exit 1
8108 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
8109 maybe-install-info-target-libiberty:
8111 install-info-target-libiberty: \
8112 configure-target-libiberty \
8113 info-target-libiberty
8114 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8115 r=`${PWD}`; export r; \
8116 s=`cd $(srcdir); ${PWD}`; export s; \
8117 $(SET_LIB_PATH) \
8118 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
8119 for flag in $(EXTRA_TARGET_FLAGS); do \
8120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8121 done; \
8122 (cd $(TARGET_SUBDIR)/libiberty && \
8123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8125 "RANLIB=$${RANLIB}" \
8126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8127 install-info) \
8128 || exit 1
8131 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
8132 maybe-install-info-target-gperf:
8134 install-info-target-gperf: \
8135 configure-target-gperf \
8136 info-target-gperf
8137 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8138 r=`${PWD}`; export r; \
8139 s=`cd $(srcdir); ${PWD}`; export s; \
8140 $(SET_LIB_PATH) \
8141 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
8142 for flag in $(EXTRA_TARGET_FLAGS); do \
8143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 done; \
8145 (cd $(TARGET_SUBDIR)/gperf && \
8146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8148 "RANLIB=$${RANLIB}" \
8149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8150 install-info) \
8151 || exit 1
8154 .PHONY: maybe-install-info-target-examples install-info-target-examples
8155 maybe-install-info-target-examples:
8157 install-info-target-examples: \
8158 configure-target-examples \
8159 info-target-examples
8160 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8161 r=`${PWD}`; export r; \
8162 s=`cd $(srcdir); ${PWD}`; export s; \
8163 $(SET_LIB_PATH) \
8164 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
8165 for flag in $(EXTRA_TARGET_FLAGS); do \
8166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8167 done; \
8168 (cd $(TARGET_SUBDIR)/examples && \
8169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8171 "RANLIB=$${RANLIB}" \
8172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8173 install-info) \
8174 || exit 1
8177 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
8178 maybe-install-info-target-libffi:
8180 install-info-target-libffi: \
8181 configure-target-libffi \
8182 info-target-libffi
8183 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8184 r=`${PWD}`; export r; \
8185 s=`cd $(srcdir); ${PWD}`; export s; \
8186 $(SET_LIB_PATH) \
8187 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
8188 for flag in $(EXTRA_TARGET_FLAGS); do \
8189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8190 done; \
8191 (cd $(TARGET_SUBDIR)/libffi && \
8192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8194 "RANLIB=$${RANLIB}" \
8195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8196 install-info) \
8197 || exit 1
8200 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
8201 maybe-install-info-target-libjava:
8203 install-info-target-libjava: \
8204 configure-target-libjava \
8205 info-target-libjava
8206 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8207 r=`${PWD}`; export r; \
8208 s=`cd $(srcdir); ${PWD}`; export s; \
8209 $(SET_LIB_PATH) \
8210 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
8211 for flag in $(EXTRA_TARGET_FLAGS); do \
8212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8213 done; \
8214 (cd $(TARGET_SUBDIR)/libjava && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 install-info) \
8220 || exit 1
8223 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
8224 maybe-install-info-target-zlib:
8226 install-info-target-zlib: \
8227 configure-target-zlib \
8228 info-target-zlib
8229 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8230 r=`${PWD}`; export r; \
8231 s=`cd $(srcdir); ${PWD}`; export s; \
8232 $(SET_LIB_PATH) \
8233 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
8234 for flag in $(EXTRA_TARGET_FLAGS); do \
8235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8236 done; \
8237 (cd $(TARGET_SUBDIR)/zlib && \
8238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8240 "RANLIB=$${RANLIB}" \
8241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8242 install-info) \
8243 || exit 1
8246 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
8247 maybe-install-info-target-boehm-gc:
8249 install-info-target-boehm-gc: \
8250 configure-target-boehm-gc \
8251 info-target-boehm-gc
8252 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8253 r=`${PWD}`; export r; \
8254 s=`cd $(srcdir); ${PWD}`; export s; \
8255 $(SET_LIB_PATH) \
8256 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
8257 for flag in $(EXTRA_TARGET_FLAGS); do \
8258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8259 done; \
8260 (cd $(TARGET_SUBDIR)/boehm-gc && \
8261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8263 "RANLIB=$${RANLIB}" \
8264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8265 install-info) \
8266 || exit 1
8269 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
8270 maybe-install-info-target-qthreads:
8272 install-info-target-qthreads: \
8273 configure-target-qthreads \
8274 info-target-qthreads
8275 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8276 r=`${PWD}`; export r; \
8277 s=`cd $(srcdir); ${PWD}`; export s; \
8278 $(SET_LIB_PATH) \
8279 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
8280 for flag in $(EXTRA_TARGET_FLAGS); do \
8281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8282 done; \
8283 (cd $(TARGET_SUBDIR)/qthreads && \
8284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8286 "RANLIB=$${RANLIB}" \
8287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8288 install-info) \
8289 || exit 1
8292 .PHONY: maybe-install-info-target-rda install-info-target-rda
8293 maybe-install-info-target-rda:
8295 install-info-target-rda: \
8296 configure-target-rda \
8297 info-target-rda
8298 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8299 r=`${PWD}`; export r; \
8300 s=`cd $(srcdir); ${PWD}`; export s; \
8301 $(SET_LIB_PATH) \
8302 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
8303 for flag in $(EXTRA_TARGET_FLAGS); do \
8304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8305 done; \
8306 (cd $(TARGET_SUBDIR)/rda && \
8307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8309 "RANLIB=$${RANLIB}" \
8310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8311 install-info) \
8312 || exit 1
8316 .PHONY: do-installcheck
8317 do-installcheck: installcheck-host installcheck-target
8319 .PHONY: installcheck-host
8320 installcheck-host: maybe-installcheck-gcc \
8321 maybe-installcheck-ash \
8322 maybe-installcheck-autoconf \
8323 maybe-installcheck-automake \
8324 maybe-installcheck-bash \
8325 maybe-installcheck-bfd \
8326 maybe-installcheck-opcodes \
8327 maybe-installcheck-binutils \
8328 maybe-installcheck-bison \
8329 maybe-installcheck-byacc \
8330 maybe-installcheck-bzip2 \
8331 maybe-installcheck-dejagnu \
8332 maybe-installcheck-diff \
8333 maybe-installcheck-dosutils \
8334 maybe-installcheck-etc \
8335 maybe-installcheck-fastjar \
8336 maybe-installcheck-fileutils \
8337 maybe-installcheck-findutils \
8338 maybe-installcheck-find \
8339 maybe-installcheck-flex \
8340 maybe-installcheck-gas \
8341 maybe-installcheck-gawk \
8342 maybe-installcheck-gettext \
8343 maybe-installcheck-gnuserv \
8344 maybe-installcheck-gprof \
8345 maybe-installcheck-gzip \
8346 maybe-installcheck-hello \
8347 maybe-installcheck-indent \
8348 maybe-installcheck-intl \
8349 maybe-installcheck-tcl \
8350 maybe-installcheck-itcl \
8351 maybe-installcheck-ld \
8352 maybe-installcheck-libgui \
8353 maybe-installcheck-libiberty \
8354 maybe-installcheck-libtool \
8355 maybe-installcheck-m4 \
8356 maybe-installcheck-make \
8357 maybe-installcheck-mmalloc \
8358 maybe-installcheck-patch \
8359 maybe-installcheck-perl \
8360 maybe-installcheck-prms \
8361 maybe-installcheck-rcs \
8362 maybe-installcheck-readline \
8363 maybe-installcheck-release \
8364 maybe-installcheck-recode \
8365 maybe-installcheck-sed \
8366 maybe-installcheck-send-pr \
8367 maybe-installcheck-shellutils \
8368 maybe-installcheck-sid \
8369 maybe-installcheck-sim \
8370 maybe-installcheck-tar \
8371 maybe-installcheck-texinfo \
8372 maybe-installcheck-textutils \
8373 maybe-installcheck-time \
8374 maybe-installcheck-uudecode \
8375 maybe-installcheck-wdiff \
8376 maybe-installcheck-zip \
8377 maybe-installcheck-zlib \
8378 maybe-installcheck-gdb \
8379 maybe-installcheck-expect \
8380 maybe-installcheck-guile \
8381 maybe-installcheck-tk \
8382 maybe-installcheck-tix \
8383 maybe-installcheck-libtermcap \
8384 maybe-installcheck-utils
8386 .PHONY: installcheck-target
8387 installcheck-target: \
8388 maybe-installcheck-target-libstdc++-v3 \
8389 maybe-installcheck-target-newlib \
8390 maybe-installcheck-target-libf2c \
8391 maybe-installcheck-target-libobjc \
8392 maybe-installcheck-target-libtermcap \
8393 maybe-installcheck-target-winsup \
8394 maybe-installcheck-target-libgloss \
8395 maybe-installcheck-target-libiberty \
8396 maybe-installcheck-target-gperf \
8397 maybe-installcheck-target-examples \
8398 maybe-installcheck-target-libffi \
8399 maybe-installcheck-target-libjava \
8400 maybe-installcheck-target-zlib \
8401 maybe-installcheck-target-boehm-gc \
8402 maybe-installcheck-target-qthreads \
8403 maybe-installcheck-target-rda
8405 # GCC, the eternal special case
8406 .PHONY: maybe-installcheck-gcc installcheck-gcc
8407 maybe-installcheck-gcc:
8408 installcheck-gcc: \
8409 configure-gcc
8410 @[ -f ./gcc/Makefile ] || exit 0; \
8411 r=`${PWD}`; export r; \
8412 s=`cd $(srcdir); ${PWD}`; export s; \
8413 $(SET_LIB_PATH) \
8414 for flag in $(EXTRA_GCC_FLAGS); do \
8415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8416 done; \
8417 echo "Doing installcheck in gcc" ; \
8418 (cd gcc && \
8419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8421 "RANLIB=$${RANLIB}" \
8422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8423 installcheck) \
8424 || exit 1
8426 # Host modules.
8428 .PHONY: maybe-installcheck-ash installcheck-ash
8429 maybe-installcheck-ash:
8431 installcheck-ash: \
8432 configure-ash
8433 @[ -f ./ash/Makefile ] || exit 0; \
8434 r=`${PWD}`; export r; \
8435 s=`cd $(srcdir); ${PWD}`; export s; \
8436 $(SET_LIB_PATH) \
8437 for flag in $(EXTRA_HOST_FLAGS); do \
8438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8439 done; \
8440 echo "Doing installcheck in ash" ; \
8441 (cd ash && \
8442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8444 "RANLIB=$${RANLIB}" \
8445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8446 installcheck) \
8447 || exit 1
8450 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
8451 maybe-installcheck-autoconf:
8453 installcheck-autoconf: \
8454 configure-autoconf
8455 @[ -f ./autoconf/Makefile ] || exit 0; \
8456 r=`${PWD}`; export r; \
8457 s=`cd $(srcdir); ${PWD}`; export s; \
8458 $(SET_LIB_PATH) \
8459 for flag in $(EXTRA_HOST_FLAGS); do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing installcheck in autoconf" ; \
8463 (cd autoconf && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8468 installcheck) \
8469 || exit 1
8472 .PHONY: maybe-installcheck-automake installcheck-automake
8473 maybe-installcheck-automake:
8475 installcheck-automake: \
8476 configure-automake
8477 @[ -f ./automake/Makefile ] || exit 0; \
8478 r=`${PWD}`; export r; \
8479 s=`cd $(srcdir); ${PWD}`; export s; \
8480 $(SET_LIB_PATH) \
8481 for flag in $(EXTRA_HOST_FLAGS); do \
8482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8483 done; \
8484 echo "Doing installcheck in automake" ; \
8485 (cd automake && \
8486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8488 "RANLIB=$${RANLIB}" \
8489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8490 installcheck) \
8491 || exit 1
8494 .PHONY: maybe-installcheck-bash installcheck-bash
8495 maybe-installcheck-bash:
8497 installcheck-bash: \
8498 configure-bash
8499 @[ -f ./bash/Makefile ] || exit 0; \
8500 r=`${PWD}`; export r; \
8501 s=`cd $(srcdir); ${PWD}`; export s; \
8502 $(SET_LIB_PATH) \
8503 for flag in $(EXTRA_HOST_FLAGS); do \
8504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8505 done; \
8506 echo "Doing installcheck in bash" ; \
8507 (cd bash && \
8508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8510 "RANLIB=$${RANLIB}" \
8511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8512 installcheck) \
8513 || exit 1
8516 .PHONY: maybe-installcheck-bfd installcheck-bfd
8517 maybe-installcheck-bfd:
8519 installcheck-bfd: \
8520 configure-bfd
8521 @[ -f ./bfd/Makefile ] || exit 0; \
8522 r=`${PWD}`; export r; \
8523 s=`cd $(srcdir); ${PWD}`; export s; \
8524 $(SET_LIB_PATH) \
8525 for flag in $(EXTRA_HOST_FLAGS); do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing installcheck in bfd" ; \
8529 (cd bfd && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 installcheck) \
8535 || exit 1
8538 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
8539 maybe-installcheck-opcodes:
8541 installcheck-opcodes: \
8542 configure-opcodes
8543 @[ -f ./opcodes/Makefile ] || exit 0; \
8544 r=`${PWD}`; export r; \
8545 s=`cd $(srcdir); ${PWD}`; export s; \
8546 $(SET_LIB_PATH) \
8547 for flag in $(EXTRA_HOST_FLAGS); do \
8548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8549 done; \
8550 echo "Doing installcheck in opcodes" ; \
8551 (cd opcodes && \
8552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8554 "RANLIB=$${RANLIB}" \
8555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8556 installcheck) \
8557 || exit 1
8560 .PHONY: maybe-installcheck-binutils installcheck-binutils
8561 maybe-installcheck-binutils:
8563 installcheck-binutils: \
8564 configure-binutils
8565 @[ -f ./binutils/Makefile ] || exit 0; \
8566 r=`${PWD}`; export r; \
8567 s=`cd $(srcdir); ${PWD}`; export s; \
8568 $(SET_LIB_PATH) \
8569 for flag in $(EXTRA_HOST_FLAGS); do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing installcheck in binutils" ; \
8573 (cd binutils && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8578 installcheck) \
8579 || exit 1
8582 .PHONY: maybe-installcheck-bison installcheck-bison
8583 maybe-installcheck-bison:
8585 installcheck-bison: \
8586 configure-bison
8587 @[ -f ./bison/Makefile ] || exit 0; \
8588 r=`${PWD}`; export r; \
8589 s=`cd $(srcdir); ${PWD}`; export s; \
8590 $(SET_LIB_PATH) \
8591 for flag in $(EXTRA_HOST_FLAGS); do \
8592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8593 done; \
8594 echo "Doing installcheck in bison" ; \
8595 (cd bison && \
8596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8598 "RANLIB=$${RANLIB}" \
8599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8600 installcheck) \
8601 || exit 1
8604 .PHONY: maybe-installcheck-byacc installcheck-byacc
8605 maybe-installcheck-byacc:
8607 installcheck-byacc: \
8608 configure-byacc
8609 @[ -f ./byacc/Makefile ] || exit 0; \
8610 r=`${PWD}`; export r; \
8611 s=`cd $(srcdir); ${PWD}`; export s; \
8612 $(SET_LIB_PATH) \
8613 for flag in $(EXTRA_HOST_FLAGS); do \
8614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8615 done; \
8616 echo "Doing installcheck in byacc" ; \
8617 (cd byacc && \
8618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8620 "RANLIB=$${RANLIB}" \
8621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8622 installcheck) \
8623 || exit 1
8626 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8627 maybe-installcheck-bzip2:
8629 installcheck-bzip2: \
8630 configure-bzip2
8631 @[ -f ./bzip2/Makefile ] || exit 0; \
8632 r=`${PWD}`; export r; \
8633 s=`cd $(srcdir); ${PWD}`; export s; \
8634 $(SET_LIB_PATH) \
8635 for flag in $(EXTRA_HOST_FLAGS); do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing installcheck in bzip2" ; \
8639 (cd bzip2 && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8644 installcheck) \
8645 || exit 1
8648 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8649 maybe-installcheck-dejagnu:
8651 installcheck-dejagnu: \
8652 configure-dejagnu
8653 @[ -f ./dejagnu/Makefile ] || exit 0; \
8654 r=`${PWD}`; export r; \
8655 s=`cd $(srcdir); ${PWD}`; export s; \
8656 $(SET_LIB_PATH) \
8657 for flag in $(EXTRA_HOST_FLAGS); do \
8658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8659 done; \
8660 echo "Doing installcheck in dejagnu" ; \
8661 (cd dejagnu && \
8662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8664 "RANLIB=$${RANLIB}" \
8665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8666 installcheck) \
8667 || exit 1
8670 .PHONY: maybe-installcheck-diff installcheck-diff
8671 maybe-installcheck-diff:
8673 installcheck-diff: \
8674 configure-diff
8675 @[ -f ./diff/Makefile ] || exit 0; \
8676 r=`${PWD}`; export r; \
8677 s=`cd $(srcdir); ${PWD}`; export s; \
8678 $(SET_LIB_PATH) \
8679 for flag in $(EXTRA_HOST_FLAGS); do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 done; \
8682 echo "Doing installcheck in diff" ; \
8683 (cd diff && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8688 installcheck) \
8689 || exit 1
8692 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8693 maybe-installcheck-dosutils:
8695 installcheck-dosutils: \
8696 configure-dosutils
8697 @[ -f ./dosutils/Makefile ] || exit 0; \
8698 r=`${PWD}`; export r; \
8699 s=`cd $(srcdir); ${PWD}`; export s; \
8700 $(SET_LIB_PATH) \
8701 for flag in $(EXTRA_HOST_FLAGS); do \
8702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8703 done; \
8704 echo "Doing installcheck in dosutils" ; \
8705 (cd dosutils && \
8706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8708 "RANLIB=$${RANLIB}" \
8709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8710 installcheck) \
8711 || exit 1
8714 .PHONY: maybe-installcheck-etc installcheck-etc
8715 maybe-installcheck-etc:
8717 installcheck-etc: \
8718 configure-etc
8719 @[ -f ./etc/Makefile ] || exit 0; \
8720 r=`${PWD}`; export r; \
8721 s=`cd $(srcdir); ${PWD}`; export s; \
8722 $(SET_LIB_PATH) \
8723 for flag in $(EXTRA_HOST_FLAGS); do \
8724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8725 done; \
8726 echo "Doing installcheck in etc" ; \
8727 (cd etc && \
8728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8730 "RANLIB=$${RANLIB}" \
8731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8732 installcheck) \
8733 || exit 1
8736 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8737 maybe-installcheck-fastjar:
8739 installcheck-fastjar: \
8740 configure-fastjar
8741 @[ -f ./fastjar/Makefile ] || exit 0; \
8742 r=`${PWD}`; export r; \
8743 s=`cd $(srcdir); ${PWD}`; export s; \
8744 $(SET_LIB_PATH) \
8745 for flag in $(EXTRA_HOST_FLAGS); do \
8746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8747 done; \
8748 echo "Doing installcheck in fastjar" ; \
8749 (cd fastjar && \
8750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8752 "RANLIB=$${RANLIB}" \
8753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8754 installcheck) \
8755 || exit 1
8758 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8759 maybe-installcheck-fileutils:
8761 installcheck-fileutils: \
8762 configure-fileutils
8763 @[ -f ./fileutils/Makefile ] || exit 0; \
8764 r=`${PWD}`; export r; \
8765 s=`cd $(srcdir); ${PWD}`; export s; \
8766 $(SET_LIB_PATH) \
8767 for flag in $(EXTRA_HOST_FLAGS); do \
8768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8769 done; \
8770 echo "Doing installcheck in fileutils" ; \
8771 (cd fileutils && \
8772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8774 "RANLIB=$${RANLIB}" \
8775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8776 installcheck) \
8777 || exit 1
8780 .PHONY: maybe-installcheck-findutils installcheck-findutils
8781 maybe-installcheck-findutils:
8783 installcheck-findutils: \
8784 configure-findutils
8785 @[ -f ./findutils/Makefile ] || exit 0; \
8786 r=`${PWD}`; export r; \
8787 s=`cd $(srcdir); ${PWD}`; export s; \
8788 $(SET_LIB_PATH) \
8789 for flag in $(EXTRA_HOST_FLAGS); do \
8790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8791 done; \
8792 echo "Doing installcheck in findutils" ; \
8793 (cd findutils && \
8794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8796 "RANLIB=$${RANLIB}" \
8797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8798 installcheck) \
8799 || exit 1
8802 .PHONY: maybe-installcheck-find installcheck-find
8803 maybe-installcheck-find:
8805 installcheck-find: \
8806 configure-find
8807 @[ -f ./find/Makefile ] || exit 0; \
8808 r=`${PWD}`; export r; \
8809 s=`cd $(srcdir); ${PWD}`; export s; \
8810 $(SET_LIB_PATH) \
8811 for flag in $(EXTRA_HOST_FLAGS); do \
8812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8813 done; \
8814 echo "Doing installcheck in find" ; \
8815 (cd find && \
8816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8818 "RANLIB=$${RANLIB}" \
8819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 installcheck) \
8821 || exit 1
8824 .PHONY: maybe-installcheck-flex installcheck-flex
8825 maybe-installcheck-flex:
8827 installcheck-flex: \
8828 configure-flex
8829 @[ -f ./flex/Makefile ] || exit 0; \
8830 r=`${PWD}`; export r; \
8831 s=`cd $(srcdir); ${PWD}`; export s; \
8832 $(SET_LIB_PATH) \
8833 for flag in $(EXTRA_HOST_FLAGS); do \
8834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8835 done; \
8836 echo "Doing installcheck in flex" ; \
8837 (cd flex && \
8838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8840 "RANLIB=$${RANLIB}" \
8841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8842 installcheck) \
8843 || exit 1
8846 .PHONY: maybe-installcheck-gas installcheck-gas
8847 maybe-installcheck-gas:
8849 installcheck-gas: \
8850 configure-gas
8851 @[ -f ./gas/Makefile ] || exit 0; \
8852 r=`${PWD}`; export r; \
8853 s=`cd $(srcdir); ${PWD}`; export s; \
8854 $(SET_LIB_PATH) \
8855 for flag in $(EXTRA_HOST_FLAGS); do \
8856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8857 done; \
8858 echo "Doing installcheck in gas" ; \
8859 (cd gas && \
8860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8862 "RANLIB=$${RANLIB}" \
8863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8864 installcheck) \
8865 || exit 1
8868 .PHONY: maybe-installcheck-gawk installcheck-gawk
8869 maybe-installcheck-gawk:
8871 installcheck-gawk: \
8872 configure-gawk
8873 @[ -f ./gawk/Makefile ] || exit 0; \
8874 r=`${PWD}`; export r; \
8875 s=`cd $(srcdir); ${PWD}`; export s; \
8876 $(SET_LIB_PATH) \
8877 for flag in $(EXTRA_HOST_FLAGS); do \
8878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8879 done; \
8880 echo "Doing installcheck in gawk" ; \
8881 (cd gawk && \
8882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8884 "RANLIB=$${RANLIB}" \
8885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8886 installcheck) \
8887 || exit 1
8890 .PHONY: maybe-installcheck-gettext installcheck-gettext
8891 maybe-installcheck-gettext:
8893 installcheck-gettext: \
8894 configure-gettext
8895 @[ -f ./gettext/Makefile ] || exit 0; \
8896 r=`${PWD}`; export r; \
8897 s=`cd $(srcdir); ${PWD}`; export s; \
8898 $(SET_LIB_PATH) \
8899 for flag in $(EXTRA_HOST_FLAGS); do \
8900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8901 done; \
8902 echo "Doing installcheck in gettext" ; \
8903 (cd gettext && \
8904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8906 "RANLIB=$${RANLIB}" \
8907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8908 installcheck) \
8909 || exit 1
8912 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8913 maybe-installcheck-gnuserv:
8915 installcheck-gnuserv: \
8916 configure-gnuserv
8917 @[ -f ./gnuserv/Makefile ] || exit 0; \
8918 r=`${PWD}`; export r; \
8919 s=`cd $(srcdir); ${PWD}`; export s; \
8920 $(SET_LIB_PATH) \
8921 for flag in $(EXTRA_HOST_FLAGS); do \
8922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8923 done; \
8924 echo "Doing installcheck in gnuserv" ; \
8925 (cd gnuserv && \
8926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8928 "RANLIB=$${RANLIB}" \
8929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8930 installcheck) \
8931 || exit 1
8934 .PHONY: maybe-installcheck-gprof installcheck-gprof
8935 maybe-installcheck-gprof:
8937 installcheck-gprof: \
8938 configure-gprof
8939 @[ -f ./gprof/Makefile ] || exit 0; \
8940 r=`${PWD}`; export r; \
8941 s=`cd $(srcdir); ${PWD}`; export s; \
8942 $(SET_LIB_PATH) \
8943 for flag in $(EXTRA_HOST_FLAGS); do \
8944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8945 done; \
8946 echo "Doing installcheck in gprof" ; \
8947 (cd gprof && \
8948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8950 "RANLIB=$${RANLIB}" \
8951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8952 installcheck) \
8953 || exit 1
8956 .PHONY: maybe-installcheck-gzip installcheck-gzip
8957 maybe-installcheck-gzip:
8959 installcheck-gzip: \
8960 configure-gzip
8961 @[ -f ./gzip/Makefile ] || exit 0; \
8962 r=`${PWD}`; export r; \
8963 s=`cd $(srcdir); ${PWD}`; export s; \
8964 $(SET_LIB_PATH) \
8965 for flag in $(EXTRA_HOST_FLAGS); do \
8966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8967 done; \
8968 echo "Doing installcheck in gzip" ; \
8969 (cd gzip && \
8970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8972 "RANLIB=$${RANLIB}" \
8973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8974 installcheck) \
8975 || exit 1
8978 .PHONY: maybe-installcheck-hello installcheck-hello
8979 maybe-installcheck-hello:
8981 installcheck-hello: \
8982 configure-hello
8983 @[ -f ./hello/Makefile ] || exit 0; \
8984 r=`${PWD}`; export r; \
8985 s=`cd $(srcdir); ${PWD}`; export s; \
8986 $(SET_LIB_PATH) \
8987 for flag in $(EXTRA_HOST_FLAGS); do \
8988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8989 done; \
8990 echo "Doing installcheck in hello" ; \
8991 (cd hello && \
8992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8994 "RANLIB=$${RANLIB}" \
8995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8996 installcheck) \
8997 || exit 1
9000 .PHONY: maybe-installcheck-indent installcheck-indent
9001 maybe-installcheck-indent:
9003 installcheck-indent: \
9004 configure-indent
9005 @[ -f ./indent/Makefile ] || exit 0; \
9006 r=`${PWD}`; export r; \
9007 s=`cd $(srcdir); ${PWD}`; export s; \
9008 $(SET_LIB_PATH) \
9009 for flag in $(EXTRA_HOST_FLAGS); do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 done; \
9012 echo "Doing installcheck in indent" ; \
9013 (cd indent && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 installcheck) \
9019 || exit 1
9022 .PHONY: maybe-installcheck-intl installcheck-intl
9023 maybe-installcheck-intl:
9025 installcheck-intl: \
9026 configure-intl
9027 @[ -f ./intl/Makefile ] || exit 0; \
9028 r=`${PWD}`; export r; \
9029 s=`cd $(srcdir); ${PWD}`; export s; \
9030 $(SET_LIB_PATH) \
9031 for flag in $(EXTRA_HOST_FLAGS); do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033 done; \
9034 echo "Doing installcheck in intl" ; \
9035 (cd intl && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 installcheck) \
9041 || exit 1
9044 .PHONY: maybe-installcheck-tcl installcheck-tcl
9045 maybe-installcheck-tcl:
9047 installcheck-tcl: \
9048 configure-tcl
9049 @[ -f ./tcl/Makefile ] || exit 0; \
9050 r=`${PWD}`; export r; \
9051 s=`cd $(srcdir); ${PWD}`; export s; \
9052 $(SET_LIB_PATH) \
9053 for flag in $(EXTRA_HOST_FLAGS); do \
9054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9055 done; \
9056 echo "Doing installcheck in tcl" ; \
9057 (cd tcl && \
9058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9060 "RANLIB=$${RANLIB}" \
9061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9062 installcheck) \
9063 || exit 1
9066 .PHONY: maybe-installcheck-itcl installcheck-itcl
9067 maybe-installcheck-itcl:
9069 installcheck-itcl: \
9070 configure-itcl
9071 @[ -f ./itcl/Makefile ] || exit 0; \
9072 r=`${PWD}`; export r; \
9073 s=`cd $(srcdir); ${PWD}`; export s; \
9074 $(SET_LIB_PATH) \
9075 for flag in $(EXTRA_HOST_FLAGS); do \
9076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9077 done; \
9078 echo "Doing installcheck in itcl" ; \
9079 (cd itcl && \
9080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9082 "RANLIB=$${RANLIB}" \
9083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9084 installcheck) \
9085 || exit 1
9088 .PHONY: maybe-installcheck-ld installcheck-ld
9089 maybe-installcheck-ld:
9091 installcheck-ld: \
9092 configure-ld
9093 @[ -f ./ld/Makefile ] || exit 0; \
9094 r=`${PWD}`; export r; \
9095 s=`cd $(srcdir); ${PWD}`; export s; \
9096 $(SET_LIB_PATH) \
9097 for flag in $(EXTRA_HOST_FLAGS); do \
9098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9099 done; \
9100 echo "Doing installcheck in ld" ; \
9101 (cd ld && \
9102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9104 "RANLIB=$${RANLIB}" \
9105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9106 installcheck) \
9107 || exit 1
9110 .PHONY: maybe-installcheck-libgui installcheck-libgui
9111 maybe-installcheck-libgui:
9113 installcheck-libgui: \
9114 configure-libgui
9115 @[ -f ./libgui/Makefile ] || exit 0; \
9116 r=`${PWD}`; export r; \
9117 s=`cd $(srcdir); ${PWD}`; export s; \
9118 $(SET_LIB_PATH) \
9119 for flag in $(EXTRA_HOST_FLAGS); do \
9120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9121 done; \
9122 echo "Doing installcheck in libgui" ; \
9123 (cd libgui && \
9124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9126 "RANLIB=$${RANLIB}" \
9127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9128 installcheck) \
9129 || exit 1
9132 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
9133 maybe-installcheck-libiberty:
9135 installcheck-libiberty: \
9136 configure-libiberty
9137 @[ -f ./libiberty/Makefile ] || exit 0; \
9138 r=`${PWD}`; export r; \
9139 s=`cd $(srcdir); ${PWD}`; export s; \
9140 $(SET_LIB_PATH) \
9141 for flag in $(EXTRA_HOST_FLAGS); do \
9142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9143 done; \
9144 echo "Doing installcheck in libiberty" ; \
9145 (cd libiberty && \
9146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9148 "RANLIB=$${RANLIB}" \
9149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9150 installcheck) \
9151 || exit 1
9154 .PHONY: maybe-installcheck-libtool installcheck-libtool
9155 maybe-installcheck-libtool:
9157 installcheck-libtool: \
9158 configure-libtool
9159 @[ -f ./libtool/Makefile ] || exit 0; \
9160 r=`${PWD}`; export r; \
9161 s=`cd $(srcdir); ${PWD}`; export s; \
9162 $(SET_LIB_PATH) \
9163 for flag in $(EXTRA_HOST_FLAGS); do \
9164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9165 done; \
9166 echo "Doing installcheck in libtool" ; \
9167 (cd libtool && \
9168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9170 "RANLIB=$${RANLIB}" \
9171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9172 installcheck) \
9173 || exit 1
9176 .PHONY: maybe-installcheck-m4 installcheck-m4
9177 maybe-installcheck-m4:
9179 installcheck-m4: \
9180 configure-m4
9181 @[ -f ./m4/Makefile ] || exit 0; \
9182 r=`${PWD}`; export r; \
9183 s=`cd $(srcdir); ${PWD}`; export s; \
9184 $(SET_LIB_PATH) \
9185 for flag in $(EXTRA_HOST_FLAGS); do \
9186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9187 done; \
9188 echo "Doing installcheck in m4" ; \
9189 (cd m4 && \
9190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9192 "RANLIB=$${RANLIB}" \
9193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9194 installcheck) \
9195 || exit 1
9198 .PHONY: maybe-installcheck-make installcheck-make
9199 maybe-installcheck-make:
9201 installcheck-make: \
9202 configure-make
9203 @[ -f ./make/Makefile ] || exit 0; \
9204 r=`${PWD}`; export r; \
9205 s=`cd $(srcdir); ${PWD}`; export s; \
9206 $(SET_LIB_PATH) \
9207 for flag in $(EXTRA_HOST_FLAGS); do \
9208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9209 done; \
9210 echo "Doing installcheck in make" ; \
9211 (cd make && \
9212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9214 "RANLIB=$${RANLIB}" \
9215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9216 installcheck) \
9217 || exit 1
9220 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
9221 maybe-installcheck-mmalloc:
9223 installcheck-mmalloc: \
9224 configure-mmalloc
9225 @[ -f ./mmalloc/Makefile ] || exit 0; \
9226 r=`${PWD}`; export r; \
9227 s=`cd $(srcdir); ${PWD}`; export s; \
9228 $(SET_LIB_PATH) \
9229 for flag in $(EXTRA_HOST_FLAGS); do \
9230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9231 done; \
9232 echo "Doing installcheck in mmalloc" ; \
9233 (cd mmalloc && \
9234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9236 "RANLIB=$${RANLIB}" \
9237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9238 installcheck) \
9239 || exit 1
9242 .PHONY: maybe-installcheck-patch installcheck-patch
9243 maybe-installcheck-patch:
9245 installcheck-patch: \
9246 configure-patch
9247 @[ -f ./patch/Makefile ] || exit 0; \
9248 r=`${PWD}`; export r; \
9249 s=`cd $(srcdir); ${PWD}`; export s; \
9250 $(SET_LIB_PATH) \
9251 for flag in $(EXTRA_HOST_FLAGS); do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing installcheck in patch" ; \
9255 (cd patch && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9260 installcheck) \
9261 || exit 1
9264 .PHONY: maybe-installcheck-perl installcheck-perl
9265 maybe-installcheck-perl:
9267 installcheck-perl: \
9268 configure-perl
9269 @[ -f ./perl/Makefile ] || exit 0; \
9270 r=`${PWD}`; export r; \
9271 s=`cd $(srcdir); ${PWD}`; export s; \
9272 $(SET_LIB_PATH) \
9273 for flag in $(EXTRA_HOST_FLAGS); do \
9274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9275 done; \
9276 echo "Doing installcheck in perl" ; \
9277 (cd perl && \
9278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9280 "RANLIB=$${RANLIB}" \
9281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9282 installcheck) \
9283 || exit 1
9286 .PHONY: maybe-installcheck-prms installcheck-prms
9287 maybe-installcheck-prms:
9289 installcheck-prms: \
9290 configure-prms
9291 @[ -f ./prms/Makefile ] || exit 0; \
9292 r=`${PWD}`; export r; \
9293 s=`cd $(srcdir); ${PWD}`; export s; \
9294 $(SET_LIB_PATH) \
9295 for flag in $(EXTRA_HOST_FLAGS); do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9297 done; \
9298 echo "Doing installcheck in prms" ; \
9299 (cd prms && \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9304 installcheck) \
9305 || exit 1
9308 .PHONY: maybe-installcheck-rcs installcheck-rcs
9309 maybe-installcheck-rcs:
9311 installcheck-rcs: \
9312 configure-rcs
9313 @[ -f ./rcs/Makefile ] || exit 0; \
9314 r=`${PWD}`; export r; \
9315 s=`cd $(srcdir); ${PWD}`; export s; \
9316 $(SET_LIB_PATH) \
9317 for flag in $(EXTRA_HOST_FLAGS); do \
9318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9319 done; \
9320 echo "Doing installcheck in rcs" ; \
9321 (cd rcs && \
9322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9324 "RANLIB=$${RANLIB}" \
9325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9326 installcheck) \
9327 || exit 1
9330 .PHONY: maybe-installcheck-readline installcheck-readline
9331 maybe-installcheck-readline:
9333 installcheck-readline: \
9334 configure-readline
9335 @[ -f ./readline/Makefile ] || exit 0; \
9336 r=`${PWD}`; export r; \
9337 s=`cd $(srcdir); ${PWD}`; export s; \
9338 $(SET_LIB_PATH) \
9339 for flag in $(EXTRA_HOST_FLAGS); do \
9340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9341 done; \
9342 echo "Doing installcheck in readline" ; \
9343 (cd readline && \
9344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9346 "RANLIB=$${RANLIB}" \
9347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9348 installcheck) \
9349 || exit 1
9352 .PHONY: maybe-installcheck-release installcheck-release
9353 maybe-installcheck-release:
9355 installcheck-release: \
9356 configure-release
9357 @[ -f ./release/Makefile ] || exit 0; \
9358 r=`${PWD}`; export r; \
9359 s=`cd $(srcdir); ${PWD}`; export s; \
9360 $(SET_LIB_PATH) \
9361 for flag in $(EXTRA_HOST_FLAGS); do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363 done; \
9364 echo "Doing installcheck in release" ; \
9365 (cd release && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 installcheck) \
9371 || exit 1
9374 .PHONY: maybe-installcheck-recode installcheck-recode
9375 maybe-installcheck-recode:
9377 installcheck-recode: \
9378 configure-recode
9379 @[ -f ./recode/Makefile ] || exit 0; \
9380 r=`${PWD}`; export r; \
9381 s=`cd $(srcdir); ${PWD}`; export s; \
9382 $(SET_LIB_PATH) \
9383 for flag in $(EXTRA_HOST_FLAGS); do \
9384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9385 done; \
9386 echo "Doing installcheck in recode" ; \
9387 (cd recode && \
9388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9390 "RANLIB=$${RANLIB}" \
9391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9392 installcheck) \
9393 || exit 1
9396 .PHONY: maybe-installcheck-sed installcheck-sed
9397 maybe-installcheck-sed:
9399 installcheck-sed: \
9400 configure-sed
9401 @[ -f ./sed/Makefile ] || exit 0; \
9402 r=`${PWD}`; export r; \
9403 s=`cd $(srcdir); ${PWD}`; export s; \
9404 $(SET_LIB_PATH) \
9405 for flag in $(EXTRA_HOST_FLAGS); do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing installcheck in sed" ; \
9409 (cd sed && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9414 installcheck) \
9415 || exit 1
9418 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
9419 maybe-installcheck-send-pr:
9421 installcheck-send-pr: \
9422 configure-send-pr
9423 @[ -f ./send-pr/Makefile ] || exit 0; \
9424 r=`${PWD}`; export r; \
9425 s=`cd $(srcdir); ${PWD}`; export s; \
9426 $(SET_LIB_PATH) \
9427 for flag in $(EXTRA_HOST_FLAGS); do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9429 done; \
9430 echo "Doing installcheck in send-pr" ; \
9431 (cd send-pr && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9436 installcheck) \
9437 || exit 1
9440 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
9441 maybe-installcheck-shellutils:
9443 installcheck-shellutils: \
9444 configure-shellutils
9445 @[ -f ./shellutils/Makefile ] || exit 0; \
9446 r=`${PWD}`; export r; \
9447 s=`cd $(srcdir); ${PWD}`; export s; \
9448 $(SET_LIB_PATH) \
9449 for flag in $(EXTRA_HOST_FLAGS); do \
9450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 done; \
9452 echo "Doing installcheck in shellutils" ; \
9453 (cd shellutils && \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9456 "RANLIB=$${RANLIB}" \
9457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9458 installcheck) \
9459 || exit 1
9462 .PHONY: maybe-installcheck-sid installcheck-sid
9463 maybe-installcheck-sid:
9465 installcheck-sid: \
9466 configure-sid
9467 @[ -f ./sid/Makefile ] || exit 0; \
9468 r=`${PWD}`; export r; \
9469 s=`cd $(srcdir); ${PWD}`; export s; \
9470 $(SET_LIB_PATH) \
9471 for flag in $(EXTRA_HOST_FLAGS); do \
9472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9473 done; \
9474 echo "Doing installcheck in sid" ; \
9475 (cd sid && \
9476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9478 "RANLIB=$${RANLIB}" \
9479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9480 installcheck) \
9481 || exit 1
9484 .PHONY: maybe-installcheck-sim installcheck-sim
9485 maybe-installcheck-sim:
9487 installcheck-sim: \
9488 configure-sim
9489 @[ -f ./sim/Makefile ] || exit 0; \
9490 r=`${PWD}`; export r; \
9491 s=`cd $(srcdir); ${PWD}`; export s; \
9492 $(SET_LIB_PATH) \
9493 for flag in $(EXTRA_HOST_FLAGS); do \
9494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9495 done; \
9496 echo "Doing installcheck in sim" ; \
9497 (cd sim && \
9498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9500 "RANLIB=$${RANLIB}" \
9501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9502 installcheck) \
9503 || exit 1
9506 .PHONY: maybe-installcheck-tar installcheck-tar
9507 maybe-installcheck-tar:
9509 installcheck-tar: \
9510 configure-tar
9511 @[ -f ./tar/Makefile ] || exit 0; \
9512 r=`${PWD}`; export r; \
9513 s=`cd $(srcdir); ${PWD}`; export s; \
9514 $(SET_LIB_PATH) \
9515 for flag in $(EXTRA_HOST_FLAGS); do \
9516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9517 done; \
9518 echo "Doing installcheck in tar" ; \
9519 (cd tar && \
9520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9522 "RANLIB=$${RANLIB}" \
9523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9524 installcheck) \
9525 || exit 1
9528 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
9529 maybe-installcheck-texinfo:
9531 installcheck-texinfo: \
9532 configure-texinfo
9533 @[ -f ./texinfo/Makefile ] || exit 0; \
9534 r=`${PWD}`; export r; \
9535 s=`cd $(srcdir); ${PWD}`; export s; \
9536 $(SET_LIB_PATH) \
9537 for flag in $(EXTRA_HOST_FLAGS); do \
9538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9539 done; \
9540 echo "Doing installcheck in texinfo" ; \
9541 (cd texinfo && \
9542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9544 "RANLIB=$${RANLIB}" \
9545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9546 installcheck) \
9547 || exit 1
9550 .PHONY: maybe-installcheck-textutils installcheck-textutils
9551 maybe-installcheck-textutils:
9553 installcheck-textutils: \
9554 configure-textutils
9555 @[ -f ./textutils/Makefile ] || exit 0; \
9556 r=`${PWD}`; export r; \
9557 s=`cd $(srcdir); ${PWD}`; export s; \
9558 $(SET_LIB_PATH) \
9559 for flag in $(EXTRA_HOST_FLAGS); do \
9560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9561 done; \
9562 echo "Doing installcheck in textutils" ; \
9563 (cd textutils && \
9564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9566 "RANLIB=$${RANLIB}" \
9567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9568 installcheck) \
9569 || exit 1
9572 .PHONY: maybe-installcheck-time installcheck-time
9573 maybe-installcheck-time:
9575 installcheck-time: \
9576 configure-time
9577 @[ -f ./time/Makefile ] || exit 0; \
9578 r=`${PWD}`; export r; \
9579 s=`cd $(srcdir); ${PWD}`; export s; \
9580 $(SET_LIB_PATH) \
9581 for flag in $(EXTRA_HOST_FLAGS); do \
9582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9583 done; \
9584 echo "Doing installcheck in time" ; \
9585 (cd time && \
9586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9588 "RANLIB=$${RANLIB}" \
9589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9590 installcheck) \
9591 || exit 1
9594 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
9595 maybe-installcheck-uudecode:
9597 installcheck-uudecode: \
9598 configure-uudecode
9599 @[ -f ./uudecode/Makefile ] || exit 0; \
9600 r=`${PWD}`; export r; \
9601 s=`cd $(srcdir); ${PWD}`; export s; \
9602 $(SET_LIB_PATH) \
9603 for flag in $(EXTRA_HOST_FLAGS); do \
9604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9605 done; \
9606 echo "Doing installcheck in uudecode" ; \
9607 (cd uudecode && \
9608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9610 "RANLIB=$${RANLIB}" \
9611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9612 installcheck) \
9613 || exit 1
9616 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
9617 maybe-installcheck-wdiff:
9619 installcheck-wdiff: \
9620 configure-wdiff
9621 @[ -f ./wdiff/Makefile ] || exit 0; \
9622 r=`${PWD}`; export r; \
9623 s=`cd $(srcdir); ${PWD}`; export s; \
9624 $(SET_LIB_PATH) \
9625 for flag in $(EXTRA_HOST_FLAGS); do \
9626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9627 done; \
9628 echo "Doing installcheck in wdiff" ; \
9629 (cd wdiff && \
9630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9632 "RANLIB=$${RANLIB}" \
9633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9634 installcheck) \
9635 || exit 1
9638 .PHONY: maybe-installcheck-zip installcheck-zip
9639 maybe-installcheck-zip:
9641 installcheck-zip: \
9642 configure-zip
9643 @[ -f ./zip/Makefile ] || exit 0; \
9644 r=`${PWD}`; export r; \
9645 s=`cd $(srcdir); ${PWD}`; export s; \
9646 $(SET_LIB_PATH) \
9647 for flag in $(EXTRA_HOST_FLAGS); do \
9648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9649 done; \
9650 echo "Doing installcheck in zip" ; \
9651 (cd zip && \
9652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9654 "RANLIB=$${RANLIB}" \
9655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9656 installcheck) \
9657 || exit 1
9660 .PHONY: maybe-installcheck-zlib installcheck-zlib
9661 maybe-installcheck-zlib:
9663 installcheck-zlib: \
9664 configure-zlib
9665 @[ -f ./zlib/Makefile ] || exit 0; \
9666 r=`${PWD}`; export r; \
9667 s=`cd $(srcdir); ${PWD}`; export s; \
9668 $(SET_LIB_PATH) \
9669 for flag in $(EXTRA_HOST_FLAGS); do \
9670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9671 done; \
9672 echo "Doing installcheck in zlib" ; \
9673 (cd zlib && \
9674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9676 "RANLIB=$${RANLIB}" \
9677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9678 installcheck) \
9679 || exit 1
9682 .PHONY: maybe-installcheck-gdb installcheck-gdb
9683 maybe-installcheck-gdb:
9685 installcheck-gdb: \
9686 configure-gdb
9687 @[ -f ./gdb/Makefile ] || exit 0; \
9688 r=`${PWD}`; export r; \
9689 s=`cd $(srcdir); ${PWD}`; export s; \
9690 $(SET_LIB_PATH) \
9691 for flag in $(EXTRA_HOST_FLAGS); do \
9692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9693 done; \
9694 echo "Doing installcheck in gdb" ; \
9695 (cd gdb && \
9696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9698 "RANLIB=$${RANLIB}" \
9699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9700 installcheck) \
9701 || exit 1
9704 .PHONY: maybe-installcheck-expect installcheck-expect
9705 maybe-installcheck-expect:
9707 installcheck-expect: \
9708 configure-expect
9709 @[ -f ./expect/Makefile ] || exit 0; \
9710 r=`${PWD}`; export r; \
9711 s=`cd $(srcdir); ${PWD}`; export s; \
9712 $(SET_LIB_PATH) \
9713 for flag in $(EXTRA_HOST_FLAGS); do \
9714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9715 done; \
9716 echo "Doing installcheck in expect" ; \
9717 (cd expect && \
9718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720 "RANLIB=$${RANLIB}" \
9721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9722 installcheck) \
9723 || exit 1
9726 .PHONY: maybe-installcheck-guile installcheck-guile
9727 maybe-installcheck-guile:
9729 installcheck-guile: \
9730 configure-guile
9731 @[ -f ./guile/Makefile ] || exit 0; \
9732 r=`${PWD}`; export r; \
9733 s=`cd $(srcdir); ${PWD}`; export s; \
9734 $(SET_LIB_PATH) \
9735 for flag in $(EXTRA_HOST_FLAGS); do \
9736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9737 done; \
9738 echo "Doing installcheck in guile" ; \
9739 (cd guile && \
9740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9742 "RANLIB=$${RANLIB}" \
9743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9744 installcheck) \
9745 || exit 1
9748 .PHONY: maybe-installcheck-tk installcheck-tk
9749 maybe-installcheck-tk:
9751 installcheck-tk: \
9752 configure-tk
9753 @[ -f ./tk/Makefile ] || exit 0; \
9754 r=`${PWD}`; export r; \
9755 s=`cd $(srcdir); ${PWD}`; export s; \
9756 $(SET_LIB_PATH) \
9757 for flag in $(EXTRA_HOST_FLAGS); do \
9758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9759 done; \
9760 echo "Doing installcheck in tk" ; \
9761 (cd tk && \
9762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9764 "RANLIB=$${RANLIB}" \
9765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9766 installcheck) \
9767 || exit 1
9770 .PHONY: maybe-installcheck-tix installcheck-tix
9771 maybe-installcheck-tix:
9773 installcheck-tix: \
9774 configure-tix
9775 @[ -f ./tix/Makefile ] || exit 0; \
9776 r=`${PWD}`; export r; \
9777 s=`cd $(srcdir); ${PWD}`; export s; \
9778 $(SET_LIB_PATH) \
9779 for flag in $(EXTRA_HOST_FLAGS); do \
9780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9781 done; \
9782 echo "Doing installcheck in tix" ; \
9783 (cd tix && \
9784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9786 "RANLIB=$${RANLIB}" \
9787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9788 installcheck) \
9789 || exit 1
9792 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
9793 maybe-installcheck-libtermcap:
9795 installcheck-libtermcap: \
9796 configure-libtermcap
9797 @[ -f ./libtermcap/Makefile ] || exit 0; \
9798 r=`${PWD}`; export r; \
9799 s=`cd $(srcdir); ${PWD}`; export s; \
9800 $(SET_LIB_PATH) \
9801 for flag in $(EXTRA_HOST_FLAGS); do \
9802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9803 done; \
9804 echo "Doing installcheck in libtermcap" ; \
9805 (cd libtermcap && \
9806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9808 "RANLIB=$${RANLIB}" \
9809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9810 installcheck) \
9811 || exit 1
9814 .PHONY: maybe-installcheck-utils installcheck-utils
9815 maybe-installcheck-utils:
9817 installcheck-utils: \
9818 configure-utils
9819 @[ -f ./utils/Makefile ] || exit 0; \
9820 r=`${PWD}`; export r; \
9821 s=`cd $(srcdir); ${PWD}`; export s; \
9822 $(SET_LIB_PATH) \
9823 for flag in $(EXTRA_HOST_FLAGS); do \
9824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9825 done; \
9826 echo "Doing installcheck in utils" ; \
9827 (cd utils && \
9828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9830 "RANLIB=$${RANLIB}" \
9831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9832 installcheck) \
9833 || exit 1
9837 # Target modules.
9839 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
9840 maybe-installcheck-target-libstdc++-v3:
9842 installcheck-target-libstdc++-v3: \
9843 configure-target-libstdc++-v3
9844 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
9845 r=`${PWD}`; export r; \
9846 s=`cd $(srcdir); ${PWD}`; export s; \
9847 $(SET_LIB_PATH) \
9848 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
9849 for flag in $(EXTRA_TARGET_FLAGS); do \
9850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9851 done; \
9852 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
9853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9855 "RANLIB=$${RANLIB}" \
9856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9857 installcheck) \
9858 || exit 1
9861 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
9862 maybe-installcheck-target-newlib:
9864 installcheck-target-newlib: \
9865 configure-target-newlib
9866 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
9867 r=`${PWD}`; export r; \
9868 s=`cd $(srcdir); ${PWD}`; export s; \
9869 $(SET_LIB_PATH) \
9870 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
9871 for flag in $(EXTRA_TARGET_FLAGS); do \
9872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873 done; \
9874 (cd $(TARGET_SUBDIR)/newlib && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9879 installcheck) \
9880 || exit 1
9883 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
9884 maybe-installcheck-target-libf2c:
9886 installcheck-target-libf2c: \
9887 configure-target-libf2c
9888 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
9889 r=`${PWD}`; export r; \
9890 s=`cd $(srcdir); ${PWD}`; export s; \
9891 $(SET_LIB_PATH) \
9892 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
9893 for flag in $(EXTRA_TARGET_FLAGS); do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9895 done; \
9896 (cd $(TARGET_SUBDIR)/libf2c && \
9897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9899 "RANLIB=$${RANLIB}" \
9900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9901 installcheck) \
9902 || exit 1
9905 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
9906 maybe-installcheck-target-libobjc:
9908 installcheck-target-libobjc: \
9909 configure-target-libobjc
9910 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
9911 r=`${PWD}`; export r; \
9912 s=`cd $(srcdir); ${PWD}`; export s; \
9913 $(SET_LIB_PATH) \
9914 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
9915 for flag in $(EXTRA_TARGET_FLAGS); do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 (cd $(TARGET_SUBDIR)/libobjc && \
9919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9921 "RANLIB=$${RANLIB}" \
9922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9923 installcheck) \
9924 || exit 1
9927 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
9928 maybe-installcheck-target-libtermcap:
9930 installcheck-target-libtermcap: \
9931 configure-target-libtermcap
9932 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
9933 r=`${PWD}`; export r; \
9934 s=`cd $(srcdir); ${PWD}`; export s; \
9935 $(SET_LIB_PATH) \
9936 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
9937 for flag in $(EXTRA_TARGET_FLAGS); do \
9938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9939 done; \
9940 (cd $(TARGET_SUBDIR)/libtermcap && \
9941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9943 "RANLIB=$${RANLIB}" \
9944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9945 installcheck) \
9946 || exit 1
9949 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
9950 maybe-installcheck-target-winsup:
9952 installcheck-target-winsup: \
9953 configure-target-winsup
9954 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
9955 r=`${PWD}`; export r; \
9956 s=`cd $(srcdir); ${PWD}`; export s; \
9957 $(SET_LIB_PATH) \
9958 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
9959 for flag in $(EXTRA_TARGET_FLAGS); do \
9960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9961 done; \
9962 (cd $(TARGET_SUBDIR)/winsup && \
9963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9965 "RANLIB=$${RANLIB}" \
9966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9967 installcheck) \
9968 || exit 1
9971 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
9972 maybe-installcheck-target-libgloss:
9974 installcheck-target-libgloss: \
9975 configure-target-libgloss
9976 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
9977 r=`${PWD}`; export r; \
9978 s=`cd $(srcdir); ${PWD}`; export s; \
9979 $(SET_LIB_PATH) \
9980 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
9981 for flag in $(EXTRA_TARGET_FLAGS); do \
9982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9983 done; \
9984 (cd $(TARGET_SUBDIR)/libgloss && \
9985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9987 "RANLIB=$${RANLIB}" \
9988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9989 installcheck) \
9990 || exit 1
9993 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
9994 maybe-installcheck-target-libiberty:
9996 installcheck-target-libiberty: \
9997 configure-target-libiberty
9998 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
9999 r=`${PWD}`; export r; \
10000 s=`cd $(srcdir); ${PWD}`; export s; \
10001 $(SET_LIB_PATH) \
10002 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
10003 for flag in $(EXTRA_TARGET_FLAGS); do \
10004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10005 done; \
10006 (cd $(TARGET_SUBDIR)/libiberty && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 installcheck) \
10012 || exit 1
10015 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10016 maybe-installcheck-target-gperf:
10018 installcheck-target-gperf: \
10019 configure-target-gperf
10020 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
10021 r=`${PWD}`; export r; \
10022 s=`cd $(srcdir); ${PWD}`; export s; \
10023 $(SET_LIB_PATH) \
10024 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
10025 for flag in $(EXTRA_TARGET_FLAGS); do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 (cd $(TARGET_SUBDIR)/gperf && \
10029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10031 "RANLIB=$${RANLIB}" \
10032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10033 installcheck) \
10034 || exit 1
10037 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
10038 maybe-installcheck-target-examples:
10040 installcheck-target-examples: \
10041 configure-target-examples
10042 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
10043 r=`${PWD}`; export r; \
10044 s=`cd $(srcdir); ${PWD}`; export s; \
10045 $(SET_LIB_PATH) \
10046 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
10047 for flag in $(EXTRA_TARGET_FLAGS); do \
10048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10049 done; \
10050 (cd $(TARGET_SUBDIR)/examples && \
10051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10053 "RANLIB=$${RANLIB}" \
10054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10055 installcheck) \
10056 || exit 1
10059 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
10060 maybe-installcheck-target-libffi:
10062 installcheck-target-libffi: \
10063 configure-target-libffi
10064 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
10065 r=`${PWD}`; export r; \
10066 s=`cd $(srcdir); ${PWD}`; export s; \
10067 $(SET_LIB_PATH) \
10068 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
10069 for flag in $(EXTRA_TARGET_FLAGS); do \
10070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10071 done; \
10072 (cd $(TARGET_SUBDIR)/libffi && \
10073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10075 "RANLIB=$${RANLIB}" \
10076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10077 installcheck) \
10078 || exit 1
10081 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
10082 maybe-installcheck-target-libjava:
10084 installcheck-target-libjava: \
10085 configure-target-libjava
10086 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
10087 r=`${PWD}`; export r; \
10088 s=`cd $(srcdir); ${PWD}`; export s; \
10089 $(SET_LIB_PATH) \
10090 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
10091 for flag in $(EXTRA_TARGET_FLAGS); do \
10092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10093 done; \
10094 (cd $(TARGET_SUBDIR)/libjava && \
10095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10097 "RANLIB=$${RANLIB}" \
10098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10099 installcheck) \
10100 || exit 1
10103 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
10104 maybe-installcheck-target-zlib:
10106 installcheck-target-zlib: \
10107 configure-target-zlib
10108 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
10109 r=`${PWD}`; export r; \
10110 s=`cd $(srcdir); ${PWD}`; export s; \
10111 $(SET_LIB_PATH) \
10112 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
10113 for flag in $(EXTRA_TARGET_FLAGS); do \
10114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10115 done; \
10116 (cd $(TARGET_SUBDIR)/zlib && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10121 installcheck) \
10122 || exit 1
10125 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
10126 maybe-installcheck-target-boehm-gc:
10128 installcheck-target-boehm-gc: \
10129 configure-target-boehm-gc
10130 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
10131 r=`${PWD}`; export r; \
10132 s=`cd $(srcdir); ${PWD}`; export s; \
10133 $(SET_LIB_PATH) \
10134 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
10135 for flag in $(EXTRA_TARGET_FLAGS); do \
10136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10137 done; \
10138 (cd $(TARGET_SUBDIR)/boehm-gc && \
10139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10141 "RANLIB=$${RANLIB}" \
10142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10143 installcheck) \
10144 || exit 1
10147 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
10148 maybe-installcheck-target-qthreads:
10150 installcheck-target-qthreads: \
10151 configure-target-qthreads
10152 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
10153 r=`${PWD}`; export r; \
10154 s=`cd $(srcdir); ${PWD}`; export s; \
10155 $(SET_LIB_PATH) \
10156 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
10157 for flag in $(EXTRA_TARGET_FLAGS); do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 (cd $(TARGET_SUBDIR)/qthreads && \
10161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10163 "RANLIB=$${RANLIB}" \
10164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10165 installcheck) \
10166 || exit 1
10169 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
10170 maybe-installcheck-target-rda:
10172 installcheck-target-rda: \
10173 configure-target-rda
10174 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
10175 r=`${PWD}`; export r; \
10176 s=`cd $(srcdir); ${PWD}`; export s; \
10177 $(SET_LIB_PATH) \
10178 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
10179 for flag in $(EXTRA_TARGET_FLAGS); do \
10180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10181 done; \
10182 (cd $(TARGET_SUBDIR)/rda && \
10183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10185 "RANLIB=$${RANLIB}" \
10186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10187 installcheck) \
10188 || exit 1
10192 .PHONY: do-mostlyclean
10193 do-mostlyclean: mostlyclean-host mostlyclean-target
10195 .PHONY: mostlyclean-host
10196 mostlyclean-host: maybe-mostlyclean-gcc \
10197 maybe-mostlyclean-ash \
10198 maybe-mostlyclean-autoconf \
10199 maybe-mostlyclean-automake \
10200 maybe-mostlyclean-bash \
10201 maybe-mostlyclean-bfd \
10202 maybe-mostlyclean-opcodes \
10203 maybe-mostlyclean-binutils \
10204 maybe-mostlyclean-bison \
10205 maybe-mostlyclean-byacc \
10206 maybe-mostlyclean-bzip2 \
10207 maybe-mostlyclean-dejagnu \
10208 maybe-mostlyclean-diff \
10209 maybe-mostlyclean-dosutils \
10210 maybe-mostlyclean-etc \
10211 maybe-mostlyclean-fastjar \
10212 maybe-mostlyclean-fileutils \
10213 maybe-mostlyclean-findutils \
10214 maybe-mostlyclean-find \
10215 maybe-mostlyclean-flex \
10216 maybe-mostlyclean-gas \
10217 maybe-mostlyclean-gawk \
10218 maybe-mostlyclean-gettext \
10219 maybe-mostlyclean-gnuserv \
10220 maybe-mostlyclean-gprof \
10221 maybe-mostlyclean-gzip \
10222 maybe-mostlyclean-hello \
10223 maybe-mostlyclean-indent \
10224 maybe-mostlyclean-intl \
10225 maybe-mostlyclean-tcl \
10226 maybe-mostlyclean-itcl \
10227 maybe-mostlyclean-ld \
10228 maybe-mostlyclean-libgui \
10229 maybe-mostlyclean-libiberty \
10230 maybe-mostlyclean-libtool \
10231 maybe-mostlyclean-m4 \
10232 maybe-mostlyclean-make \
10233 maybe-mostlyclean-mmalloc \
10234 maybe-mostlyclean-patch \
10235 maybe-mostlyclean-perl \
10236 maybe-mostlyclean-prms \
10237 maybe-mostlyclean-rcs \
10238 maybe-mostlyclean-readline \
10239 maybe-mostlyclean-release \
10240 maybe-mostlyclean-recode \
10241 maybe-mostlyclean-sed \
10242 maybe-mostlyclean-send-pr \
10243 maybe-mostlyclean-shellutils \
10244 maybe-mostlyclean-sid \
10245 maybe-mostlyclean-sim \
10246 maybe-mostlyclean-tar \
10247 maybe-mostlyclean-texinfo \
10248 maybe-mostlyclean-textutils \
10249 maybe-mostlyclean-time \
10250 maybe-mostlyclean-uudecode \
10251 maybe-mostlyclean-wdiff \
10252 maybe-mostlyclean-zip \
10253 maybe-mostlyclean-zlib \
10254 maybe-mostlyclean-gdb \
10255 maybe-mostlyclean-expect \
10256 maybe-mostlyclean-guile \
10257 maybe-mostlyclean-tk \
10258 maybe-mostlyclean-tix \
10259 maybe-mostlyclean-libtermcap \
10260 maybe-mostlyclean-utils
10262 .PHONY: mostlyclean-target
10263 mostlyclean-target: \
10264 maybe-mostlyclean-target-libstdc++-v3 \
10265 maybe-mostlyclean-target-newlib \
10266 maybe-mostlyclean-target-libf2c \
10267 maybe-mostlyclean-target-libobjc \
10268 maybe-mostlyclean-target-libtermcap \
10269 maybe-mostlyclean-target-winsup \
10270 maybe-mostlyclean-target-libgloss \
10271 maybe-mostlyclean-target-libiberty \
10272 maybe-mostlyclean-target-gperf \
10273 maybe-mostlyclean-target-examples \
10274 maybe-mostlyclean-target-libffi \
10275 maybe-mostlyclean-target-libjava \
10276 maybe-mostlyclean-target-zlib \
10277 maybe-mostlyclean-target-boehm-gc \
10278 maybe-mostlyclean-target-qthreads \
10279 maybe-mostlyclean-target-rda
10281 # GCC, the eternal special case
10282 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10283 maybe-mostlyclean-gcc:
10284 mostlyclean-gcc:
10285 @[ -f ./gcc/Makefile ] || exit 0; \
10286 r=`${PWD}`; export r; \
10287 s=`cd $(srcdir); ${PWD}`; export s; \
10288 $(SET_LIB_PATH) \
10289 for flag in $(EXTRA_GCC_FLAGS); do \
10290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10291 done; \
10292 echo "Doing mostlyclean in gcc" ; \
10293 (cd gcc && \
10294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296 "RANLIB=$${RANLIB}" \
10297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10298 mostlyclean) \
10299 || exit 1
10301 # Host modules.
10303 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
10304 maybe-mostlyclean-ash:
10306 mostlyclean-ash:
10307 @[ -f ./ash/Makefile ] || exit 0; \
10308 r=`${PWD}`; export r; \
10309 s=`cd $(srcdir); ${PWD}`; export s; \
10310 $(SET_LIB_PATH) \
10311 for flag in $(EXTRA_HOST_FLAGS); do \
10312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10313 done; \
10314 echo "Doing mostlyclean in ash" ; \
10315 (cd ash && \
10316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10318 "RANLIB=$${RANLIB}" \
10319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10320 mostlyclean) \
10321 || exit 1
10324 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
10325 maybe-mostlyclean-autoconf:
10327 mostlyclean-autoconf:
10328 @[ -f ./autoconf/Makefile ] || exit 0; \
10329 r=`${PWD}`; export r; \
10330 s=`cd $(srcdir); ${PWD}`; export s; \
10331 $(SET_LIB_PATH) \
10332 for flag in $(EXTRA_HOST_FLAGS); do \
10333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10334 done; \
10335 echo "Doing mostlyclean in autoconf" ; \
10336 (cd autoconf && \
10337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10339 "RANLIB=$${RANLIB}" \
10340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10341 mostlyclean) \
10342 || exit 1
10345 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
10346 maybe-mostlyclean-automake:
10348 mostlyclean-automake:
10349 @[ -f ./automake/Makefile ] || exit 0; \
10350 r=`${PWD}`; export r; \
10351 s=`cd $(srcdir); ${PWD}`; export s; \
10352 $(SET_LIB_PATH) \
10353 for flag in $(EXTRA_HOST_FLAGS); do \
10354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10355 done; \
10356 echo "Doing mostlyclean in automake" ; \
10357 (cd automake && \
10358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10360 "RANLIB=$${RANLIB}" \
10361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10362 mostlyclean) \
10363 || exit 1
10366 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
10367 maybe-mostlyclean-bash:
10369 mostlyclean-bash:
10370 @[ -f ./bash/Makefile ] || exit 0; \
10371 r=`${PWD}`; export r; \
10372 s=`cd $(srcdir); ${PWD}`; export s; \
10373 $(SET_LIB_PATH) \
10374 for flag in $(EXTRA_HOST_FLAGS); do \
10375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10376 done; \
10377 echo "Doing mostlyclean in bash" ; \
10378 (cd bash && \
10379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10381 "RANLIB=$${RANLIB}" \
10382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10383 mostlyclean) \
10384 || exit 1
10387 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
10388 maybe-mostlyclean-bfd:
10390 mostlyclean-bfd:
10391 @[ -f ./bfd/Makefile ] || exit 0; \
10392 r=`${PWD}`; export r; \
10393 s=`cd $(srcdir); ${PWD}`; export s; \
10394 $(SET_LIB_PATH) \
10395 for flag in $(EXTRA_HOST_FLAGS); do \
10396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10397 done; \
10398 echo "Doing mostlyclean in bfd" ; \
10399 (cd bfd && \
10400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10402 "RANLIB=$${RANLIB}" \
10403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10404 mostlyclean) \
10405 || exit 1
10408 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
10409 maybe-mostlyclean-opcodes:
10411 mostlyclean-opcodes:
10412 @[ -f ./opcodes/Makefile ] || exit 0; \
10413 r=`${PWD}`; export r; \
10414 s=`cd $(srcdir); ${PWD}`; export s; \
10415 $(SET_LIB_PATH) \
10416 for flag in $(EXTRA_HOST_FLAGS); do \
10417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10418 done; \
10419 echo "Doing mostlyclean in opcodes" ; \
10420 (cd opcodes && \
10421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10423 "RANLIB=$${RANLIB}" \
10424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10425 mostlyclean) \
10426 || exit 1
10429 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
10430 maybe-mostlyclean-binutils:
10432 mostlyclean-binutils:
10433 @[ -f ./binutils/Makefile ] || exit 0; \
10434 r=`${PWD}`; export r; \
10435 s=`cd $(srcdir); ${PWD}`; export s; \
10436 $(SET_LIB_PATH) \
10437 for flag in $(EXTRA_HOST_FLAGS); do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing mostlyclean in binutils" ; \
10441 (cd binutils && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 mostlyclean) \
10447 || exit 1
10450 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
10451 maybe-mostlyclean-bison:
10453 mostlyclean-bison:
10454 @[ -f ./bison/Makefile ] || exit 0; \
10455 r=`${PWD}`; export r; \
10456 s=`cd $(srcdir); ${PWD}`; export s; \
10457 $(SET_LIB_PATH) \
10458 for flag in $(EXTRA_HOST_FLAGS); do \
10459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10460 done; \
10461 echo "Doing mostlyclean in bison" ; \
10462 (cd bison && \
10463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10465 "RANLIB=$${RANLIB}" \
10466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10467 mostlyclean) \
10468 || exit 1
10471 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
10472 maybe-mostlyclean-byacc:
10474 mostlyclean-byacc:
10475 @[ -f ./byacc/Makefile ] || exit 0; \
10476 r=`${PWD}`; export r; \
10477 s=`cd $(srcdir); ${PWD}`; export s; \
10478 $(SET_LIB_PATH) \
10479 for flag in $(EXTRA_HOST_FLAGS); do \
10480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10481 done; \
10482 echo "Doing mostlyclean in byacc" ; \
10483 (cd byacc && \
10484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10486 "RANLIB=$${RANLIB}" \
10487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10488 mostlyclean) \
10489 || exit 1
10492 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
10493 maybe-mostlyclean-bzip2:
10495 mostlyclean-bzip2:
10496 @[ -f ./bzip2/Makefile ] || exit 0; \
10497 r=`${PWD}`; export r; \
10498 s=`cd $(srcdir); ${PWD}`; export s; \
10499 $(SET_LIB_PATH) \
10500 for flag in $(EXTRA_HOST_FLAGS); do \
10501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10502 done; \
10503 echo "Doing mostlyclean in bzip2" ; \
10504 (cd bzip2 && \
10505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10507 "RANLIB=$${RANLIB}" \
10508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10509 mostlyclean) \
10510 || exit 1
10513 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10514 maybe-mostlyclean-dejagnu:
10516 mostlyclean-dejagnu:
10517 @[ -f ./dejagnu/Makefile ] || exit 0; \
10518 r=`${PWD}`; export r; \
10519 s=`cd $(srcdir); ${PWD}`; export s; \
10520 $(SET_LIB_PATH) \
10521 for flag in $(EXTRA_HOST_FLAGS); do \
10522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10523 done; \
10524 echo "Doing mostlyclean in dejagnu" ; \
10525 (cd dejagnu && \
10526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10528 "RANLIB=$${RANLIB}" \
10529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10530 mostlyclean) \
10531 || exit 1
10534 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10535 maybe-mostlyclean-diff:
10537 mostlyclean-diff:
10538 @[ -f ./diff/Makefile ] || exit 0; \
10539 r=`${PWD}`; export r; \
10540 s=`cd $(srcdir); ${PWD}`; export s; \
10541 $(SET_LIB_PATH) \
10542 for flag in $(EXTRA_HOST_FLAGS); do \
10543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10544 done; \
10545 echo "Doing mostlyclean in diff" ; \
10546 (cd diff && \
10547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10549 "RANLIB=$${RANLIB}" \
10550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10551 mostlyclean) \
10552 || exit 1
10555 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10556 maybe-mostlyclean-dosutils:
10558 mostlyclean-dosutils:
10559 @[ -f ./dosutils/Makefile ] || exit 0; \
10560 r=`${PWD}`; export r; \
10561 s=`cd $(srcdir); ${PWD}`; export s; \
10562 $(SET_LIB_PATH) \
10563 for flag in $(EXTRA_HOST_FLAGS); do \
10564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10565 done; \
10566 echo "Doing mostlyclean in dosutils" ; \
10567 (cd dosutils && \
10568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10570 "RANLIB=$${RANLIB}" \
10571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10572 mostlyclean) \
10573 || exit 1
10576 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10577 maybe-mostlyclean-etc:
10579 mostlyclean-etc:
10580 @[ -f ./etc/Makefile ] || exit 0; \
10581 r=`${PWD}`; export r; \
10582 s=`cd $(srcdir); ${PWD}`; export s; \
10583 $(SET_LIB_PATH) \
10584 for flag in $(EXTRA_HOST_FLAGS); do \
10585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10586 done; \
10587 echo "Doing mostlyclean in etc" ; \
10588 (cd etc && \
10589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10591 "RANLIB=$${RANLIB}" \
10592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10593 mostlyclean) \
10594 || exit 1
10597 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10598 maybe-mostlyclean-fastjar:
10600 mostlyclean-fastjar:
10601 @[ -f ./fastjar/Makefile ] || exit 0; \
10602 r=`${PWD}`; export r; \
10603 s=`cd $(srcdir); ${PWD}`; export s; \
10604 $(SET_LIB_PATH) \
10605 for flag in $(EXTRA_HOST_FLAGS); do \
10606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10607 done; \
10608 echo "Doing mostlyclean in fastjar" ; \
10609 (cd fastjar && \
10610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10612 "RANLIB=$${RANLIB}" \
10613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10614 mostlyclean) \
10615 || exit 1
10618 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10619 maybe-mostlyclean-fileutils:
10621 mostlyclean-fileutils:
10622 @[ -f ./fileutils/Makefile ] || exit 0; \
10623 r=`${PWD}`; export r; \
10624 s=`cd $(srcdir); ${PWD}`; export s; \
10625 $(SET_LIB_PATH) \
10626 for flag in $(EXTRA_HOST_FLAGS); do \
10627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10628 done; \
10629 echo "Doing mostlyclean in fileutils" ; \
10630 (cd fileutils && \
10631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10633 "RANLIB=$${RANLIB}" \
10634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10635 mostlyclean) \
10636 || exit 1
10639 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10640 maybe-mostlyclean-findutils:
10642 mostlyclean-findutils:
10643 @[ -f ./findutils/Makefile ] || exit 0; \
10644 r=`${PWD}`; export r; \
10645 s=`cd $(srcdir); ${PWD}`; export s; \
10646 $(SET_LIB_PATH) \
10647 for flag in $(EXTRA_HOST_FLAGS); do \
10648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10649 done; \
10650 echo "Doing mostlyclean in findutils" ; \
10651 (cd findutils && \
10652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10654 "RANLIB=$${RANLIB}" \
10655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10656 mostlyclean) \
10657 || exit 1
10660 .PHONY: maybe-mostlyclean-find mostlyclean-find
10661 maybe-mostlyclean-find:
10663 mostlyclean-find:
10664 @[ -f ./find/Makefile ] || exit 0; \
10665 r=`${PWD}`; export r; \
10666 s=`cd $(srcdir); ${PWD}`; export s; \
10667 $(SET_LIB_PATH) \
10668 for flag in $(EXTRA_HOST_FLAGS); do \
10669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10670 done; \
10671 echo "Doing mostlyclean in find" ; \
10672 (cd find && \
10673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10675 "RANLIB=$${RANLIB}" \
10676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10677 mostlyclean) \
10678 || exit 1
10681 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10682 maybe-mostlyclean-flex:
10684 mostlyclean-flex:
10685 @[ -f ./flex/Makefile ] || exit 0; \
10686 r=`${PWD}`; export r; \
10687 s=`cd $(srcdir); ${PWD}`; export s; \
10688 $(SET_LIB_PATH) \
10689 for flag in $(EXTRA_HOST_FLAGS); do \
10690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10691 done; \
10692 echo "Doing mostlyclean in flex" ; \
10693 (cd flex && \
10694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10696 "RANLIB=$${RANLIB}" \
10697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10698 mostlyclean) \
10699 || exit 1
10702 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10703 maybe-mostlyclean-gas:
10705 mostlyclean-gas:
10706 @[ -f ./gas/Makefile ] || exit 0; \
10707 r=`${PWD}`; export r; \
10708 s=`cd $(srcdir); ${PWD}`; export s; \
10709 $(SET_LIB_PATH) \
10710 for flag in $(EXTRA_HOST_FLAGS); do \
10711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10712 done; \
10713 echo "Doing mostlyclean in gas" ; \
10714 (cd gas && \
10715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10717 "RANLIB=$${RANLIB}" \
10718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10719 mostlyclean) \
10720 || exit 1
10723 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10724 maybe-mostlyclean-gawk:
10726 mostlyclean-gawk:
10727 @[ -f ./gawk/Makefile ] || exit 0; \
10728 r=`${PWD}`; export r; \
10729 s=`cd $(srcdir); ${PWD}`; export s; \
10730 $(SET_LIB_PATH) \
10731 for flag in $(EXTRA_HOST_FLAGS); do \
10732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10733 done; \
10734 echo "Doing mostlyclean in gawk" ; \
10735 (cd gawk && \
10736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10738 "RANLIB=$${RANLIB}" \
10739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10740 mostlyclean) \
10741 || exit 1
10744 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10745 maybe-mostlyclean-gettext:
10747 mostlyclean-gettext:
10748 @[ -f ./gettext/Makefile ] || exit 0; \
10749 r=`${PWD}`; export r; \
10750 s=`cd $(srcdir); ${PWD}`; export s; \
10751 $(SET_LIB_PATH) \
10752 for flag in $(EXTRA_HOST_FLAGS); do \
10753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10754 done; \
10755 echo "Doing mostlyclean in gettext" ; \
10756 (cd gettext && \
10757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10759 "RANLIB=$${RANLIB}" \
10760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10761 mostlyclean) \
10762 || exit 1
10765 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10766 maybe-mostlyclean-gnuserv:
10768 mostlyclean-gnuserv:
10769 @[ -f ./gnuserv/Makefile ] || exit 0; \
10770 r=`${PWD}`; export r; \
10771 s=`cd $(srcdir); ${PWD}`; export s; \
10772 $(SET_LIB_PATH) \
10773 for flag in $(EXTRA_HOST_FLAGS); do \
10774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10775 done; \
10776 echo "Doing mostlyclean in gnuserv" ; \
10777 (cd gnuserv && \
10778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10780 "RANLIB=$${RANLIB}" \
10781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10782 mostlyclean) \
10783 || exit 1
10786 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10787 maybe-mostlyclean-gprof:
10789 mostlyclean-gprof:
10790 @[ -f ./gprof/Makefile ] || exit 0; \
10791 r=`${PWD}`; export r; \
10792 s=`cd $(srcdir); ${PWD}`; export s; \
10793 $(SET_LIB_PATH) \
10794 for flag in $(EXTRA_HOST_FLAGS); do \
10795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10796 done; \
10797 echo "Doing mostlyclean in gprof" ; \
10798 (cd gprof && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10801 "RANLIB=$${RANLIB}" \
10802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10803 mostlyclean) \
10804 || exit 1
10807 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10808 maybe-mostlyclean-gzip:
10810 mostlyclean-gzip:
10811 @[ -f ./gzip/Makefile ] || exit 0; \
10812 r=`${PWD}`; export r; \
10813 s=`cd $(srcdir); ${PWD}`; export s; \
10814 $(SET_LIB_PATH) \
10815 for flag in $(EXTRA_HOST_FLAGS); do \
10816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10817 done; \
10818 echo "Doing mostlyclean in gzip" ; \
10819 (cd gzip && \
10820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10822 "RANLIB=$${RANLIB}" \
10823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10824 mostlyclean) \
10825 || exit 1
10828 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10829 maybe-mostlyclean-hello:
10831 mostlyclean-hello:
10832 @[ -f ./hello/Makefile ] || exit 0; \
10833 r=`${PWD}`; export r; \
10834 s=`cd $(srcdir); ${PWD}`; export s; \
10835 $(SET_LIB_PATH) \
10836 for flag in $(EXTRA_HOST_FLAGS); do \
10837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10838 done; \
10839 echo "Doing mostlyclean in hello" ; \
10840 (cd hello && \
10841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10843 "RANLIB=$${RANLIB}" \
10844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10845 mostlyclean) \
10846 || exit 1
10849 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10850 maybe-mostlyclean-indent:
10852 mostlyclean-indent:
10853 @[ -f ./indent/Makefile ] || exit 0; \
10854 r=`${PWD}`; export r; \
10855 s=`cd $(srcdir); ${PWD}`; export s; \
10856 $(SET_LIB_PATH) \
10857 for flag in $(EXTRA_HOST_FLAGS); do \
10858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10859 done; \
10860 echo "Doing mostlyclean in indent" ; \
10861 (cd indent && \
10862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10864 "RANLIB=$${RANLIB}" \
10865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10866 mostlyclean) \
10867 || exit 1
10870 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10871 maybe-mostlyclean-intl:
10873 mostlyclean-intl:
10874 @[ -f ./intl/Makefile ] || exit 0; \
10875 r=`${PWD}`; export r; \
10876 s=`cd $(srcdir); ${PWD}`; export s; \
10877 $(SET_LIB_PATH) \
10878 for flag in $(EXTRA_HOST_FLAGS); do \
10879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 done; \
10881 echo "Doing mostlyclean in intl" ; \
10882 (cd intl && \
10883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10885 "RANLIB=$${RANLIB}" \
10886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10887 mostlyclean) \
10888 || exit 1
10891 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10892 maybe-mostlyclean-tcl:
10894 # tcl doesn't support mostlyclean.
10895 mostlyclean-tcl:
10898 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
10899 maybe-mostlyclean-itcl:
10901 mostlyclean-itcl:
10902 @[ -f ./itcl/Makefile ] || exit 0; \
10903 r=`${PWD}`; export r; \
10904 s=`cd $(srcdir); ${PWD}`; export s; \
10905 $(SET_LIB_PATH) \
10906 for flag in $(EXTRA_HOST_FLAGS); do \
10907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10908 done; \
10909 echo "Doing mostlyclean in itcl" ; \
10910 (cd itcl && \
10911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10913 "RANLIB=$${RANLIB}" \
10914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10915 mostlyclean) \
10916 || exit 1
10919 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10920 maybe-mostlyclean-ld:
10922 mostlyclean-ld:
10923 @[ -f ./ld/Makefile ] || exit 0; \
10924 r=`${PWD}`; export r; \
10925 s=`cd $(srcdir); ${PWD}`; export s; \
10926 $(SET_LIB_PATH) \
10927 for flag in $(EXTRA_HOST_FLAGS); do \
10928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10929 done; \
10930 echo "Doing mostlyclean in ld" ; \
10931 (cd ld && \
10932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10934 "RANLIB=$${RANLIB}" \
10935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10936 mostlyclean) \
10937 || exit 1
10940 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10941 maybe-mostlyclean-libgui:
10943 mostlyclean-libgui:
10944 @[ -f ./libgui/Makefile ] || exit 0; \
10945 r=`${PWD}`; export r; \
10946 s=`cd $(srcdir); ${PWD}`; export s; \
10947 $(SET_LIB_PATH) \
10948 for flag in $(EXTRA_HOST_FLAGS); do \
10949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10950 done; \
10951 echo "Doing mostlyclean in libgui" ; \
10952 (cd libgui && \
10953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10955 "RANLIB=$${RANLIB}" \
10956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10957 mostlyclean) \
10958 || exit 1
10961 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10962 maybe-mostlyclean-libiberty:
10964 mostlyclean-libiberty:
10965 @[ -f ./libiberty/Makefile ] || exit 0; \
10966 r=`${PWD}`; export r; \
10967 s=`cd $(srcdir); ${PWD}`; export s; \
10968 $(SET_LIB_PATH) \
10969 for flag in $(EXTRA_HOST_FLAGS); do \
10970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971 done; \
10972 echo "Doing mostlyclean in libiberty" ; \
10973 (cd libiberty && \
10974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976 "RANLIB=$${RANLIB}" \
10977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10978 mostlyclean) \
10979 || exit 1
10982 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10983 maybe-mostlyclean-libtool:
10985 mostlyclean-libtool:
10986 @[ -f ./libtool/Makefile ] || exit 0; \
10987 r=`${PWD}`; export r; \
10988 s=`cd $(srcdir); ${PWD}`; export s; \
10989 $(SET_LIB_PATH) \
10990 for flag in $(EXTRA_HOST_FLAGS); do \
10991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10992 done; \
10993 echo "Doing mostlyclean in libtool" ; \
10994 (cd libtool && \
10995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10997 "RANLIB=$${RANLIB}" \
10998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10999 mostlyclean) \
11000 || exit 1
11003 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11004 maybe-mostlyclean-m4:
11006 mostlyclean-m4:
11007 @[ -f ./m4/Makefile ] || exit 0; \
11008 r=`${PWD}`; export r; \
11009 s=`cd $(srcdir); ${PWD}`; export s; \
11010 $(SET_LIB_PATH) \
11011 for flag in $(EXTRA_HOST_FLAGS); do \
11012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11013 done; \
11014 echo "Doing mostlyclean in m4" ; \
11015 (cd m4 && \
11016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11018 "RANLIB=$${RANLIB}" \
11019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11020 mostlyclean) \
11021 || exit 1
11024 .PHONY: maybe-mostlyclean-make mostlyclean-make
11025 maybe-mostlyclean-make:
11027 mostlyclean-make:
11028 @[ -f ./make/Makefile ] || exit 0; \
11029 r=`${PWD}`; export r; \
11030 s=`cd $(srcdir); ${PWD}`; export s; \
11031 $(SET_LIB_PATH) \
11032 for flag in $(EXTRA_HOST_FLAGS); do \
11033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11034 done; \
11035 echo "Doing mostlyclean in make" ; \
11036 (cd make && \
11037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11039 "RANLIB=$${RANLIB}" \
11040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11041 mostlyclean) \
11042 || exit 1
11045 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11046 maybe-mostlyclean-mmalloc:
11048 mostlyclean-mmalloc:
11049 @[ -f ./mmalloc/Makefile ] || exit 0; \
11050 r=`${PWD}`; export r; \
11051 s=`cd $(srcdir); ${PWD}`; export s; \
11052 $(SET_LIB_PATH) \
11053 for flag in $(EXTRA_HOST_FLAGS); do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11055 done; \
11056 echo "Doing mostlyclean in mmalloc" ; \
11057 (cd mmalloc && \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11062 mostlyclean) \
11063 || exit 1
11066 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11067 maybe-mostlyclean-patch:
11069 mostlyclean-patch:
11070 @[ -f ./patch/Makefile ] || exit 0; \
11071 r=`${PWD}`; export r; \
11072 s=`cd $(srcdir); ${PWD}`; export s; \
11073 $(SET_LIB_PATH) \
11074 for flag in $(EXTRA_HOST_FLAGS); do \
11075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11076 done; \
11077 echo "Doing mostlyclean in patch" ; \
11078 (cd patch && \
11079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11081 "RANLIB=$${RANLIB}" \
11082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11083 mostlyclean) \
11084 || exit 1
11087 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
11088 maybe-mostlyclean-perl:
11090 mostlyclean-perl:
11091 @[ -f ./perl/Makefile ] || exit 0; \
11092 r=`${PWD}`; export r; \
11093 s=`cd $(srcdir); ${PWD}`; export s; \
11094 $(SET_LIB_PATH) \
11095 for flag in $(EXTRA_HOST_FLAGS); do \
11096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11097 done; \
11098 echo "Doing mostlyclean in perl" ; \
11099 (cd perl && \
11100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11102 "RANLIB=$${RANLIB}" \
11103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11104 mostlyclean) \
11105 || exit 1
11108 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
11109 maybe-mostlyclean-prms:
11111 mostlyclean-prms:
11112 @[ -f ./prms/Makefile ] || exit 0; \
11113 r=`${PWD}`; export r; \
11114 s=`cd $(srcdir); ${PWD}`; export s; \
11115 $(SET_LIB_PATH) \
11116 for flag in $(EXTRA_HOST_FLAGS); do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing mostlyclean in prms" ; \
11120 (cd prms && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11125 mostlyclean) \
11126 || exit 1
11129 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
11130 maybe-mostlyclean-rcs:
11132 mostlyclean-rcs:
11133 @[ -f ./rcs/Makefile ] || exit 0; \
11134 r=`${PWD}`; export r; \
11135 s=`cd $(srcdir); ${PWD}`; export s; \
11136 $(SET_LIB_PATH) \
11137 for flag in $(EXTRA_HOST_FLAGS); do \
11138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11139 done; \
11140 echo "Doing mostlyclean in rcs" ; \
11141 (cd rcs && \
11142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11144 "RANLIB=$${RANLIB}" \
11145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11146 mostlyclean) \
11147 || exit 1
11150 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
11151 maybe-mostlyclean-readline:
11153 mostlyclean-readline:
11154 @[ -f ./readline/Makefile ] || exit 0; \
11155 r=`${PWD}`; export r; \
11156 s=`cd $(srcdir); ${PWD}`; export s; \
11157 $(SET_LIB_PATH) \
11158 for flag in $(EXTRA_HOST_FLAGS); do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing mostlyclean in readline" ; \
11162 (cd readline && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11167 mostlyclean) \
11168 || exit 1
11171 .PHONY: maybe-mostlyclean-release mostlyclean-release
11172 maybe-mostlyclean-release:
11174 mostlyclean-release:
11175 @[ -f ./release/Makefile ] || exit 0; \
11176 r=`${PWD}`; export r; \
11177 s=`cd $(srcdir); ${PWD}`; export s; \
11178 $(SET_LIB_PATH) \
11179 for flag in $(EXTRA_HOST_FLAGS); do \
11180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11181 done; \
11182 echo "Doing mostlyclean in release" ; \
11183 (cd release && \
11184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11186 "RANLIB=$${RANLIB}" \
11187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11188 mostlyclean) \
11189 || exit 1
11192 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
11193 maybe-mostlyclean-recode:
11195 mostlyclean-recode:
11196 @[ -f ./recode/Makefile ] || exit 0; \
11197 r=`${PWD}`; export r; \
11198 s=`cd $(srcdir); ${PWD}`; export s; \
11199 $(SET_LIB_PATH) \
11200 for flag in $(EXTRA_HOST_FLAGS); do \
11201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11202 done; \
11203 echo "Doing mostlyclean in recode" ; \
11204 (cd recode && \
11205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11207 "RANLIB=$${RANLIB}" \
11208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11209 mostlyclean) \
11210 || exit 1
11213 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
11214 maybe-mostlyclean-sed:
11216 mostlyclean-sed:
11217 @[ -f ./sed/Makefile ] || exit 0; \
11218 r=`${PWD}`; export r; \
11219 s=`cd $(srcdir); ${PWD}`; export s; \
11220 $(SET_LIB_PATH) \
11221 for flag in $(EXTRA_HOST_FLAGS); do \
11222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11223 done; \
11224 echo "Doing mostlyclean in sed" ; \
11225 (cd sed && \
11226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11228 "RANLIB=$${RANLIB}" \
11229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11230 mostlyclean) \
11231 || exit 1
11234 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
11235 maybe-mostlyclean-send-pr:
11237 mostlyclean-send-pr:
11238 @[ -f ./send-pr/Makefile ] || exit 0; \
11239 r=`${PWD}`; export r; \
11240 s=`cd $(srcdir); ${PWD}`; export s; \
11241 $(SET_LIB_PATH) \
11242 for flag in $(EXTRA_HOST_FLAGS); do \
11243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11244 done; \
11245 echo "Doing mostlyclean in send-pr" ; \
11246 (cd send-pr && \
11247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11249 "RANLIB=$${RANLIB}" \
11250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11251 mostlyclean) \
11252 || exit 1
11255 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
11256 maybe-mostlyclean-shellutils:
11258 mostlyclean-shellutils:
11259 @[ -f ./shellutils/Makefile ] || exit 0; \
11260 r=`${PWD}`; export r; \
11261 s=`cd $(srcdir); ${PWD}`; export s; \
11262 $(SET_LIB_PATH) \
11263 for flag in $(EXTRA_HOST_FLAGS); do \
11264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11265 done; \
11266 echo "Doing mostlyclean in shellutils" ; \
11267 (cd shellutils && \
11268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11270 "RANLIB=$${RANLIB}" \
11271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11272 mostlyclean) \
11273 || exit 1
11276 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
11277 maybe-mostlyclean-sid:
11279 mostlyclean-sid:
11280 @[ -f ./sid/Makefile ] || exit 0; \
11281 r=`${PWD}`; export r; \
11282 s=`cd $(srcdir); ${PWD}`; export s; \
11283 $(SET_LIB_PATH) \
11284 for flag in $(EXTRA_HOST_FLAGS); do \
11285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11286 done; \
11287 echo "Doing mostlyclean in sid" ; \
11288 (cd sid && \
11289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11291 "RANLIB=$${RANLIB}" \
11292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11293 mostlyclean) \
11294 || exit 1
11297 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
11298 maybe-mostlyclean-sim:
11300 mostlyclean-sim:
11301 @[ -f ./sim/Makefile ] || exit 0; \
11302 r=`${PWD}`; export r; \
11303 s=`cd $(srcdir); ${PWD}`; export s; \
11304 $(SET_LIB_PATH) \
11305 for flag in $(EXTRA_HOST_FLAGS); do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing mostlyclean in sim" ; \
11309 (cd sim && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11314 mostlyclean) \
11315 || exit 1
11318 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
11319 maybe-mostlyclean-tar:
11321 mostlyclean-tar:
11322 @[ -f ./tar/Makefile ] || exit 0; \
11323 r=`${PWD}`; export r; \
11324 s=`cd $(srcdir); ${PWD}`; export s; \
11325 $(SET_LIB_PATH) \
11326 for flag in $(EXTRA_HOST_FLAGS); do \
11327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11328 done; \
11329 echo "Doing mostlyclean in tar" ; \
11330 (cd tar && \
11331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11333 "RANLIB=$${RANLIB}" \
11334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11335 mostlyclean) \
11336 || exit 1
11339 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
11340 maybe-mostlyclean-texinfo:
11342 mostlyclean-texinfo:
11343 @[ -f ./texinfo/Makefile ] || exit 0; \
11344 r=`${PWD}`; export r; \
11345 s=`cd $(srcdir); ${PWD}`; export s; \
11346 $(SET_LIB_PATH) \
11347 for flag in $(EXTRA_HOST_FLAGS); do \
11348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11349 done; \
11350 echo "Doing mostlyclean in texinfo" ; \
11351 (cd texinfo && \
11352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11354 "RANLIB=$${RANLIB}" \
11355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11356 mostlyclean) \
11357 || exit 1
11360 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
11361 maybe-mostlyclean-textutils:
11363 mostlyclean-textutils:
11364 @[ -f ./textutils/Makefile ] || exit 0; \
11365 r=`${PWD}`; export r; \
11366 s=`cd $(srcdir); ${PWD}`; export s; \
11367 $(SET_LIB_PATH) \
11368 for flag in $(EXTRA_HOST_FLAGS); do \
11369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11370 done; \
11371 echo "Doing mostlyclean in textutils" ; \
11372 (cd textutils && \
11373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11375 "RANLIB=$${RANLIB}" \
11376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11377 mostlyclean) \
11378 || exit 1
11381 .PHONY: maybe-mostlyclean-time mostlyclean-time
11382 maybe-mostlyclean-time:
11384 mostlyclean-time:
11385 @[ -f ./time/Makefile ] || exit 0; \
11386 r=`${PWD}`; export r; \
11387 s=`cd $(srcdir); ${PWD}`; export s; \
11388 $(SET_LIB_PATH) \
11389 for flag in $(EXTRA_HOST_FLAGS); do \
11390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11391 done; \
11392 echo "Doing mostlyclean in time" ; \
11393 (cd time && \
11394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11396 "RANLIB=$${RANLIB}" \
11397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11398 mostlyclean) \
11399 || exit 1
11402 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
11403 maybe-mostlyclean-uudecode:
11405 mostlyclean-uudecode:
11406 @[ -f ./uudecode/Makefile ] || exit 0; \
11407 r=`${PWD}`; export r; \
11408 s=`cd $(srcdir); ${PWD}`; export s; \
11409 $(SET_LIB_PATH) \
11410 for flag in $(EXTRA_HOST_FLAGS); do \
11411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412 done; \
11413 echo "Doing mostlyclean in uudecode" ; \
11414 (cd uudecode && \
11415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417 "RANLIB=$${RANLIB}" \
11418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419 mostlyclean) \
11420 || exit 1
11423 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
11424 maybe-mostlyclean-wdiff:
11426 mostlyclean-wdiff:
11427 @[ -f ./wdiff/Makefile ] || exit 0; \
11428 r=`${PWD}`; export r; \
11429 s=`cd $(srcdir); ${PWD}`; export s; \
11430 $(SET_LIB_PATH) \
11431 for flag in $(EXTRA_HOST_FLAGS); do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 done; \
11434 echo "Doing mostlyclean in wdiff" ; \
11435 (cd wdiff && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11440 mostlyclean) \
11441 || exit 1
11444 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
11445 maybe-mostlyclean-zip:
11447 mostlyclean-zip:
11448 @[ -f ./zip/Makefile ] || exit 0; \
11449 r=`${PWD}`; export r; \
11450 s=`cd $(srcdir); ${PWD}`; export s; \
11451 $(SET_LIB_PATH) \
11452 for flag in $(EXTRA_HOST_FLAGS); do \
11453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11454 done; \
11455 echo "Doing mostlyclean in zip" ; \
11456 (cd zip && \
11457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11459 "RANLIB=$${RANLIB}" \
11460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11461 mostlyclean) \
11462 || exit 1
11465 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
11466 maybe-mostlyclean-zlib:
11468 mostlyclean-zlib:
11469 @[ -f ./zlib/Makefile ] || exit 0; \
11470 r=`${PWD}`; export r; \
11471 s=`cd $(srcdir); ${PWD}`; export s; \
11472 $(SET_LIB_PATH) \
11473 for flag in $(EXTRA_HOST_FLAGS); do \
11474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11475 done; \
11476 echo "Doing mostlyclean in zlib" ; \
11477 (cd zlib && \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11480 "RANLIB=$${RANLIB}" \
11481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11482 mostlyclean) \
11483 || exit 1
11486 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
11487 maybe-mostlyclean-gdb:
11489 mostlyclean-gdb:
11490 @[ -f ./gdb/Makefile ] || exit 0; \
11491 r=`${PWD}`; export r; \
11492 s=`cd $(srcdir); ${PWD}`; export s; \
11493 $(SET_LIB_PATH) \
11494 for flag in $(EXTRA_HOST_FLAGS); do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496 done; \
11497 echo "Doing mostlyclean in gdb" ; \
11498 (cd gdb && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503 mostlyclean) \
11504 || exit 1
11507 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
11508 maybe-mostlyclean-expect:
11510 mostlyclean-expect:
11511 @[ -f ./expect/Makefile ] || exit 0; \
11512 r=`${PWD}`; export r; \
11513 s=`cd $(srcdir); ${PWD}`; export s; \
11514 $(SET_LIB_PATH) \
11515 for flag in $(EXTRA_HOST_FLAGS); do \
11516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11517 done; \
11518 echo "Doing mostlyclean in expect" ; \
11519 (cd expect && \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522 "RANLIB=$${RANLIB}" \
11523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524 mostlyclean) \
11525 || exit 1
11528 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
11529 maybe-mostlyclean-guile:
11531 mostlyclean-guile:
11532 @[ -f ./guile/Makefile ] || exit 0; \
11533 r=`${PWD}`; export r; \
11534 s=`cd $(srcdir); ${PWD}`; export s; \
11535 $(SET_LIB_PATH) \
11536 for flag in $(EXTRA_HOST_FLAGS); do \
11537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11538 done; \
11539 echo "Doing mostlyclean in guile" ; \
11540 (cd guile && \
11541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11543 "RANLIB=$${RANLIB}" \
11544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11545 mostlyclean) \
11546 || exit 1
11549 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
11550 maybe-mostlyclean-tk:
11552 mostlyclean-tk:
11553 @[ -f ./tk/Makefile ] || exit 0; \
11554 r=`${PWD}`; export r; \
11555 s=`cd $(srcdir); ${PWD}`; export s; \
11556 $(SET_LIB_PATH) \
11557 for flag in $(EXTRA_HOST_FLAGS); do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing mostlyclean in tk" ; \
11561 (cd tk && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11566 mostlyclean) \
11567 || exit 1
11570 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
11571 maybe-mostlyclean-tix:
11573 mostlyclean-tix:
11574 @[ -f ./tix/Makefile ] || exit 0; \
11575 r=`${PWD}`; export r; \
11576 s=`cd $(srcdir); ${PWD}`; export s; \
11577 $(SET_LIB_PATH) \
11578 for flag in $(EXTRA_HOST_FLAGS); do \
11579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11580 done; \
11581 echo "Doing mostlyclean in tix" ; \
11582 (cd tix && \
11583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11585 "RANLIB=$${RANLIB}" \
11586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11587 mostlyclean) \
11588 || exit 1
11591 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
11592 maybe-mostlyclean-libtermcap:
11594 # libtermcap doesn't support mostlyclean.
11595 mostlyclean-libtermcap:
11598 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
11599 maybe-mostlyclean-utils:
11601 mostlyclean-utils:
11602 @[ -f ./utils/Makefile ] || exit 0; \
11603 r=`${PWD}`; export r; \
11604 s=`cd $(srcdir); ${PWD}`; export s; \
11605 $(SET_LIB_PATH) \
11606 for flag in $(EXTRA_HOST_FLAGS); do \
11607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11608 done; \
11609 echo "Doing mostlyclean in utils" ; \
11610 (cd utils && \
11611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11613 "RANLIB=$${RANLIB}" \
11614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11615 mostlyclean) \
11616 || exit 1
11620 # Target modules.
11622 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
11623 maybe-mostlyclean-target-libstdc++-v3:
11625 mostlyclean-target-libstdc++-v3:
11626 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
11627 r=`${PWD}`; export r; \
11628 s=`cd $(srcdir); ${PWD}`; export s; \
11629 $(SET_LIB_PATH) \
11630 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
11631 for flag in $(EXTRA_TARGET_FLAGS); do \
11632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11633 done; \
11634 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
11635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11637 "RANLIB=$${RANLIB}" \
11638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11639 mostlyclean) \
11640 || exit 1
11643 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
11644 maybe-mostlyclean-target-newlib:
11646 mostlyclean-target-newlib:
11647 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
11648 r=`${PWD}`; export r; \
11649 s=`cd $(srcdir); ${PWD}`; export s; \
11650 $(SET_LIB_PATH) \
11651 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
11652 for flag in $(EXTRA_TARGET_FLAGS); do \
11653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11654 done; \
11655 (cd $(TARGET_SUBDIR)/newlib && \
11656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658 "RANLIB=$${RANLIB}" \
11659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11660 mostlyclean) \
11661 || exit 1
11664 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
11665 maybe-mostlyclean-target-libf2c:
11667 mostlyclean-target-libf2c:
11668 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
11669 r=`${PWD}`; export r; \
11670 s=`cd $(srcdir); ${PWD}`; export s; \
11671 $(SET_LIB_PATH) \
11672 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
11673 for flag in $(EXTRA_TARGET_FLAGS); do \
11674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11675 done; \
11676 (cd $(TARGET_SUBDIR)/libf2c && \
11677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11679 "RANLIB=$${RANLIB}" \
11680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11681 mostlyclean) \
11682 || exit 1
11685 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
11686 maybe-mostlyclean-target-libobjc:
11688 mostlyclean-target-libobjc:
11689 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
11690 r=`${PWD}`; export r; \
11691 s=`cd $(srcdir); ${PWD}`; export s; \
11692 $(SET_LIB_PATH) \
11693 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
11694 for flag in $(EXTRA_TARGET_FLAGS); do \
11695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11696 done; \
11697 (cd $(TARGET_SUBDIR)/libobjc && \
11698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11700 "RANLIB=$${RANLIB}" \
11701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11702 mostlyclean) \
11703 || exit 1
11706 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
11707 maybe-mostlyclean-target-libtermcap:
11709 # libtermcap doesn't support mostlyclean.
11710 mostlyclean-libtermcap:
11713 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
11714 maybe-mostlyclean-target-winsup:
11716 mostlyclean-target-winsup:
11717 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
11718 r=`${PWD}`; export r; \
11719 s=`cd $(srcdir); ${PWD}`; export s; \
11720 $(SET_LIB_PATH) \
11721 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
11722 for flag in $(EXTRA_TARGET_FLAGS); do \
11723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11724 done; \
11725 (cd $(TARGET_SUBDIR)/winsup && \
11726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11728 "RANLIB=$${RANLIB}" \
11729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11730 mostlyclean) \
11731 || exit 1
11734 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
11735 maybe-mostlyclean-target-libgloss:
11737 mostlyclean-target-libgloss:
11738 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
11739 r=`${PWD}`; export r; \
11740 s=`cd $(srcdir); ${PWD}`; export s; \
11741 $(SET_LIB_PATH) \
11742 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
11743 for flag in $(EXTRA_TARGET_FLAGS); do \
11744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11745 done; \
11746 (cd $(TARGET_SUBDIR)/libgloss && \
11747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11749 "RANLIB=$${RANLIB}" \
11750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11751 mostlyclean) \
11752 || exit 1
11755 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
11756 maybe-mostlyclean-target-libiberty:
11758 mostlyclean-target-libiberty:
11759 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
11760 r=`${PWD}`; export r; \
11761 s=`cd $(srcdir); ${PWD}`; export s; \
11762 $(SET_LIB_PATH) \
11763 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
11764 for flag in $(EXTRA_TARGET_FLAGS); do \
11765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11766 done; \
11767 (cd $(TARGET_SUBDIR)/libiberty && \
11768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11770 "RANLIB=$${RANLIB}" \
11771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11772 mostlyclean) \
11773 || exit 1
11776 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
11777 maybe-mostlyclean-target-gperf:
11779 mostlyclean-target-gperf:
11780 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
11781 r=`${PWD}`; export r; \
11782 s=`cd $(srcdir); ${PWD}`; export s; \
11783 $(SET_LIB_PATH) \
11784 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
11785 for flag in $(EXTRA_TARGET_FLAGS); do \
11786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11787 done; \
11788 (cd $(TARGET_SUBDIR)/gperf && \
11789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11791 "RANLIB=$${RANLIB}" \
11792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11793 mostlyclean) \
11794 || exit 1
11797 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
11798 maybe-mostlyclean-target-examples:
11800 mostlyclean-target-examples:
11801 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
11802 r=`${PWD}`; export r; \
11803 s=`cd $(srcdir); ${PWD}`; export s; \
11804 $(SET_LIB_PATH) \
11805 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
11806 for flag in $(EXTRA_TARGET_FLAGS); do \
11807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11808 done; \
11809 (cd $(TARGET_SUBDIR)/examples && \
11810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11812 "RANLIB=$${RANLIB}" \
11813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11814 mostlyclean) \
11815 || exit 1
11818 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
11819 maybe-mostlyclean-target-libffi:
11821 mostlyclean-target-libffi:
11822 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
11823 r=`${PWD}`; export r; \
11824 s=`cd $(srcdir); ${PWD}`; export s; \
11825 $(SET_LIB_PATH) \
11826 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
11827 for flag in $(EXTRA_TARGET_FLAGS); do \
11828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11829 done; \
11830 (cd $(TARGET_SUBDIR)/libffi && \
11831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11833 "RANLIB=$${RANLIB}" \
11834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11835 mostlyclean) \
11836 || exit 1
11839 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
11840 maybe-mostlyclean-target-libjava:
11842 mostlyclean-target-libjava:
11843 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
11844 r=`${PWD}`; export r; \
11845 s=`cd $(srcdir); ${PWD}`; export s; \
11846 $(SET_LIB_PATH) \
11847 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
11848 for flag in $(EXTRA_TARGET_FLAGS); do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850 done; \
11851 (cd $(TARGET_SUBDIR)/libjava && \
11852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11854 "RANLIB=$${RANLIB}" \
11855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11856 mostlyclean) \
11857 || exit 1
11860 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
11861 maybe-mostlyclean-target-zlib:
11863 mostlyclean-target-zlib:
11864 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
11865 r=`${PWD}`; export r; \
11866 s=`cd $(srcdir); ${PWD}`; export s; \
11867 $(SET_LIB_PATH) \
11868 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
11869 for flag in $(EXTRA_TARGET_FLAGS); do \
11870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11871 done; \
11872 (cd $(TARGET_SUBDIR)/zlib && \
11873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11875 "RANLIB=$${RANLIB}" \
11876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11877 mostlyclean) \
11878 || exit 1
11881 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
11882 maybe-mostlyclean-target-boehm-gc:
11884 mostlyclean-target-boehm-gc:
11885 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
11886 r=`${PWD}`; export r; \
11887 s=`cd $(srcdir); ${PWD}`; export s; \
11888 $(SET_LIB_PATH) \
11889 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
11890 for flag in $(EXTRA_TARGET_FLAGS); do \
11891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11892 done; \
11893 (cd $(TARGET_SUBDIR)/boehm-gc && \
11894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11896 "RANLIB=$${RANLIB}" \
11897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11898 mostlyclean) \
11899 || exit 1
11902 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
11903 maybe-mostlyclean-target-qthreads:
11905 mostlyclean-target-qthreads:
11906 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
11907 r=`${PWD}`; export r; \
11908 s=`cd $(srcdir); ${PWD}`; export s; \
11909 $(SET_LIB_PATH) \
11910 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
11911 for flag in $(EXTRA_TARGET_FLAGS); do \
11912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11913 done; \
11914 (cd $(TARGET_SUBDIR)/qthreads && \
11915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11917 "RANLIB=$${RANLIB}" \
11918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11919 mostlyclean) \
11920 || exit 1
11923 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
11924 maybe-mostlyclean-target-rda:
11926 mostlyclean-target-rda:
11927 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
11928 r=`${PWD}`; export r; \
11929 s=`cd $(srcdir); ${PWD}`; export s; \
11930 $(SET_LIB_PATH) \
11931 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
11932 for flag in $(EXTRA_TARGET_FLAGS); do \
11933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11934 done; \
11935 (cd $(TARGET_SUBDIR)/rda && \
11936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11938 "RANLIB=$${RANLIB}" \
11939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11940 mostlyclean) \
11941 || exit 1
11945 .PHONY: do-clean
11946 do-clean: clean-host clean-target
11948 .PHONY: clean-host
11949 clean-host: maybe-clean-gcc \
11950 maybe-clean-ash \
11951 maybe-clean-autoconf \
11952 maybe-clean-automake \
11953 maybe-clean-bash \
11954 maybe-clean-bfd \
11955 maybe-clean-opcodes \
11956 maybe-clean-binutils \
11957 maybe-clean-bison \
11958 maybe-clean-byacc \
11959 maybe-clean-bzip2 \
11960 maybe-clean-dejagnu \
11961 maybe-clean-diff \
11962 maybe-clean-dosutils \
11963 maybe-clean-etc \
11964 maybe-clean-fastjar \
11965 maybe-clean-fileutils \
11966 maybe-clean-findutils \
11967 maybe-clean-find \
11968 maybe-clean-flex \
11969 maybe-clean-gas \
11970 maybe-clean-gawk \
11971 maybe-clean-gettext \
11972 maybe-clean-gnuserv \
11973 maybe-clean-gprof \
11974 maybe-clean-gzip \
11975 maybe-clean-hello \
11976 maybe-clean-indent \
11977 maybe-clean-intl \
11978 maybe-clean-tcl \
11979 maybe-clean-itcl \
11980 maybe-clean-ld \
11981 maybe-clean-libgui \
11982 maybe-clean-libiberty \
11983 maybe-clean-libtool \
11984 maybe-clean-m4 \
11985 maybe-clean-make \
11986 maybe-clean-mmalloc \
11987 maybe-clean-patch \
11988 maybe-clean-perl \
11989 maybe-clean-prms \
11990 maybe-clean-rcs \
11991 maybe-clean-readline \
11992 maybe-clean-release \
11993 maybe-clean-recode \
11994 maybe-clean-sed \
11995 maybe-clean-send-pr \
11996 maybe-clean-shellutils \
11997 maybe-clean-sid \
11998 maybe-clean-sim \
11999 maybe-clean-tar \
12000 maybe-clean-texinfo \
12001 maybe-clean-textutils \
12002 maybe-clean-time \
12003 maybe-clean-uudecode \
12004 maybe-clean-wdiff \
12005 maybe-clean-zip \
12006 maybe-clean-zlib \
12007 maybe-clean-gdb \
12008 maybe-clean-expect \
12009 maybe-clean-guile \
12010 maybe-clean-tk \
12011 maybe-clean-tix \
12012 maybe-clean-libtermcap \
12013 maybe-clean-utils
12015 .PHONY: clean-target
12016 clean-target: \
12017 maybe-clean-target-libstdc++-v3 \
12018 maybe-clean-target-newlib \
12019 maybe-clean-target-libf2c \
12020 maybe-clean-target-libobjc \
12021 maybe-clean-target-libtermcap \
12022 maybe-clean-target-winsup \
12023 maybe-clean-target-libgloss \
12024 maybe-clean-target-libiberty \
12025 maybe-clean-target-gperf \
12026 maybe-clean-target-examples \
12027 maybe-clean-target-libffi \
12028 maybe-clean-target-libjava \
12029 maybe-clean-target-zlib \
12030 maybe-clean-target-boehm-gc \
12031 maybe-clean-target-qthreads \
12032 maybe-clean-target-rda
12034 # GCC, the eternal special case
12035 .PHONY: maybe-clean-gcc clean-gcc
12036 maybe-clean-gcc:
12037 clean-gcc:
12038 @[ -f ./gcc/Makefile ] || exit 0; \
12039 r=`${PWD}`; export r; \
12040 s=`cd $(srcdir); ${PWD}`; export s; \
12041 $(SET_LIB_PATH) \
12042 for flag in $(EXTRA_GCC_FLAGS); do \
12043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12044 done; \
12045 echo "Doing clean in gcc" ; \
12046 (cd gcc && \
12047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12049 "RANLIB=$${RANLIB}" \
12050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12051 clean) \
12052 || exit 1
12054 # Host modules.
12056 .PHONY: maybe-clean-ash clean-ash
12057 maybe-clean-ash:
12059 clean-ash:
12060 @[ -f ./ash/Makefile ] || exit 0; \
12061 r=`${PWD}`; export r; \
12062 s=`cd $(srcdir); ${PWD}`; export s; \
12063 $(SET_LIB_PATH) \
12064 for flag in $(EXTRA_HOST_FLAGS); do \
12065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066 done; \
12067 echo "Doing clean in ash" ; \
12068 (cd ash && \
12069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071 "RANLIB=$${RANLIB}" \
12072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073 clean) \
12074 || exit 1
12077 .PHONY: maybe-clean-autoconf clean-autoconf
12078 maybe-clean-autoconf:
12080 clean-autoconf:
12081 @[ -f ./autoconf/Makefile ] || exit 0; \
12082 r=`${PWD}`; export r; \
12083 s=`cd $(srcdir); ${PWD}`; export s; \
12084 $(SET_LIB_PATH) \
12085 for flag in $(EXTRA_HOST_FLAGS); do \
12086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12087 done; \
12088 echo "Doing clean in autoconf" ; \
12089 (cd autoconf && \
12090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12092 "RANLIB=$${RANLIB}" \
12093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12094 clean) \
12095 || exit 1
12098 .PHONY: maybe-clean-automake clean-automake
12099 maybe-clean-automake:
12101 clean-automake:
12102 @[ -f ./automake/Makefile ] || exit 0; \
12103 r=`${PWD}`; export r; \
12104 s=`cd $(srcdir); ${PWD}`; export s; \
12105 $(SET_LIB_PATH) \
12106 for flag in $(EXTRA_HOST_FLAGS); do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing clean in automake" ; \
12110 (cd automake && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 clean) \
12116 || exit 1
12119 .PHONY: maybe-clean-bash clean-bash
12120 maybe-clean-bash:
12122 clean-bash:
12123 @[ -f ./bash/Makefile ] || exit 0; \
12124 r=`${PWD}`; export r; \
12125 s=`cd $(srcdir); ${PWD}`; export s; \
12126 $(SET_LIB_PATH) \
12127 for flag in $(EXTRA_HOST_FLAGS); do \
12128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12129 done; \
12130 echo "Doing clean in bash" ; \
12131 (cd bash && \
12132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12134 "RANLIB=$${RANLIB}" \
12135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12136 clean) \
12137 || exit 1
12140 .PHONY: maybe-clean-bfd clean-bfd
12141 maybe-clean-bfd:
12143 clean-bfd:
12144 @[ -f ./bfd/Makefile ] || exit 0; \
12145 r=`${PWD}`; export r; \
12146 s=`cd $(srcdir); ${PWD}`; export s; \
12147 $(SET_LIB_PATH) \
12148 for flag in $(EXTRA_HOST_FLAGS); do \
12149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12150 done; \
12151 echo "Doing clean in bfd" ; \
12152 (cd bfd && \
12153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12155 "RANLIB=$${RANLIB}" \
12156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12157 clean) \
12158 || exit 1
12161 .PHONY: maybe-clean-opcodes clean-opcodes
12162 maybe-clean-opcodes:
12164 clean-opcodes:
12165 @[ -f ./opcodes/Makefile ] || exit 0; \
12166 r=`${PWD}`; export r; \
12167 s=`cd $(srcdir); ${PWD}`; export s; \
12168 $(SET_LIB_PATH) \
12169 for flag in $(EXTRA_HOST_FLAGS); do \
12170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12171 done; \
12172 echo "Doing clean in opcodes" ; \
12173 (cd opcodes && \
12174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12176 "RANLIB=$${RANLIB}" \
12177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12178 clean) \
12179 || exit 1
12182 .PHONY: maybe-clean-binutils clean-binutils
12183 maybe-clean-binutils:
12185 clean-binutils:
12186 @[ -f ./binutils/Makefile ] || exit 0; \
12187 r=`${PWD}`; export r; \
12188 s=`cd $(srcdir); ${PWD}`; export s; \
12189 $(SET_LIB_PATH) \
12190 for flag in $(EXTRA_HOST_FLAGS); do \
12191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12192 done; \
12193 echo "Doing clean in binutils" ; \
12194 (cd binutils && \
12195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12197 "RANLIB=$${RANLIB}" \
12198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12199 clean) \
12200 || exit 1
12203 .PHONY: maybe-clean-bison clean-bison
12204 maybe-clean-bison:
12206 clean-bison:
12207 @[ -f ./bison/Makefile ] || exit 0; \
12208 r=`${PWD}`; export r; \
12209 s=`cd $(srcdir); ${PWD}`; export s; \
12210 $(SET_LIB_PATH) \
12211 for flag in $(EXTRA_HOST_FLAGS); do \
12212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12213 done; \
12214 echo "Doing clean in bison" ; \
12215 (cd bison && \
12216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12218 "RANLIB=$${RANLIB}" \
12219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12220 clean) \
12221 || exit 1
12224 .PHONY: maybe-clean-byacc clean-byacc
12225 maybe-clean-byacc:
12227 clean-byacc:
12228 @[ -f ./byacc/Makefile ] || exit 0; \
12229 r=`${PWD}`; export r; \
12230 s=`cd $(srcdir); ${PWD}`; export s; \
12231 $(SET_LIB_PATH) \
12232 for flag in $(EXTRA_HOST_FLAGS); do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing clean in byacc" ; \
12236 (cd byacc && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 clean) \
12242 || exit 1
12245 .PHONY: maybe-clean-bzip2 clean-bzip2
12246 maybe-clean-bzip2:
12248 clean-bzip2:
12249 @[ -f ./bzip2/Makefile ] || exit 0; \
12250 r=`${PWD}`; export r; \
12251 s=`cd $(srcdir); ${PWD}`; export s; \
12252 $(SET_LIB_PATH) \
12253 for flag in $(EXTRA_HOST_FLAGS); do \
12254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12255 done; \
12256 echo "Doing clean in bzip2" ; \
12257 (cd bzip2 && \
12258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12260 "RANLIB=$${RANLIB}" \
12261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12262 clean) \
12263 || exit 1
12266 .PHONY: maybe-clean-dejagnu clean-dejagnu
12267 maybe-clean-dejagnu:
12269 clean-dejagnu:
12270 @[ -f ./dejagnu/Makefile ] || exit 0; \
12271 r=`${PWD}`; export r; \
12272 s=`cd $(srcdir); ${PWD}`; export s; \
12273 $(SET_LIB_PATH) \
12274 for flag in $(EXTRA_HOST_FLAGS); do \
12275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12276 done; \
12277 echo "Doing clean in dejagnu" ; \
12278 (cd dejagnu && \
12279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12281 "RANLIB=$${RANLIB}" \
12282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12283 clean) \
12284 || exit 1
12287 .PHONY: maybe-clean-diff clean-diff
12288 maybe-clean-diff:
12290 clean-diff:
12291 @[ -f ./diff/Makefile ] || exit 0; \
12292 r=`${PWD}`; export r; \
12293 s=`cd $(srcdir); ${PWD}`; export s; \
12294 $(SET_LIB_PATH) \
12295 for flag in $(EXTRA_HOST_FLAGS); do \
12296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12297 done; \
12298 echo "Doing clean in diff" ; \
12299 (cd diff && \
12300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12302 "RANLIB=$${RANLIB}" \
12303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12304 clean) \
12305 || exit 1
12308 .PHONY: maybe-clean-dosutils clean-dosutils
12309 maybe-clean-dosutils:
12311 clean-dosutils:
12312 @[ -f ./dosutils/Makefile ] || exit 0; \
12313 r=`${PWD}`; export r; \
12314 s=`cd $(srcdir); ${PWD}`; export s; \
12315 $(SET_LIB_PATH) \
12316 for flag in $(EXTRA_HOST_FLAGS); do \
12317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12318 done; \
12319 echo "Doing clean in dosutils" ; \
12320 (cd dosutils && \
12321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12323 "RANLIB=$${RANLIB}" \
12324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12325 clean) \
12326 || exit 1
12329 .PHONY: maybe-clean-etc clean-etc
12330 maybe-clean-etc:
12332 clean-etc:
12333 @[ -f ./etc/Makefile ] || exit 0; \
12334 r=`${PWD}`; export r; \
12335 s=`cd $(srcdir); ${PWD}`; export s; \
12336 $(SET_LIB_PATH) \
12337 for flag in $(EXTRA_HOST_FLAGS); do \
12338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12339 done; \
12340 echo "Doing clean in etc" ; \
12341 (cd etc && \
12342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12344 "RANLIB=$${RANLIB}" \
12345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12346 clean) \
12347 || exit 1
12350 .PHONY: maybe-clean-fastjar clean-fastjar
12351 maybe-clean-fastjar:
12353 clean-fastjar:
12354 @[ -f ./fastjar/Makefile ] || exit 0; \
12355 r=`${PWD}`; export r; \
12356 s=`cd $(srcdir); ${PWD}`; export s; \
12357 $(SET_LIB_PATH) \
12358 for flag in $(EXTRA_HOST_FLAGS); do \
12359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12360 done; \
12361 echo "Doing clean in fastjar" ; \
12362 (cd fastjar && \
12363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12365 "RANLIB=$${RANLIB}" \
12366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12367 clean) \
12368 || exit 1
12371 .PHONY: maybe-clean-fileutils clean-fileutils
12372 maybe-clean-fileutils:
12374 clean-fileutils:
12375 @[ -f ./fileutils/Makefile ] || exit 0; \
12376 r=`${PWD}`; export r; \
12377 s=`cd $(srcdir); ${PWD}`; export s; \
12378 $(SET_LIB_PATH) \
12379 for flag in $(EXTRA_HOST_FLAGS); do \
12380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12381 done; \
12382 echo "Doing clean in fileutils" ; \
12383 (cd fileutils && \
12384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12386 "RANLIB=$${RANLIB}" \
12387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12388 clean) \
12389 || exit 1
12392 .PHONY: maybe-clean-findutils clean-findutils
12393 maybe-clean-findutils:
12395 clean-findutils:
12396 @[ -f ./findutils/Makefile ] || exit 0; \
12397 r=`${PWD}`; export r; \
12398 s=`cd $(srcdir); ${PWD}`; export s; \
12399 $(SET_LIB_PATH) \
12400 for flag in $(EXTRA_HOST_FLAGS); do \
12401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12402 done; \
12403 echo "Doing clean in findutils" ; \
12404 (cd findutils && \
12405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12407 "RANLIB=$${RANLIB}" \
12408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12409 clean) \
12410 || exit 1
12413 .PHONY: maybe-clean-find clean-find
12414 maybe-clean-find:
12416 clean-find:
12417 @[ -f ./find/Makefile ] || exit 0; \
12418 r=`${PWD}`; export r; \
12419 s=`cd $(srcdir); ${PWD}`; export s; \
12420 $(SET_LIB_PATH) \
12421 for flag in $(EXTRA_HOST_FLAGS); do \
12422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 done; \
12424 echo "Doing clean in find" ; \
12425 (cd find && \
12426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12428 "RANLIB=$${RANLIB}" \
12429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12430 clean) \
12431 || exit 1
12434 .PHONY: maybe-clean-flex clean-flex
12435 maybe-clean-flex:
12437 clean-flex:
12438 @[ -f ./flex/Makefile ] || exit 0; \
12439 r=`${PWD}`; export r; \
12440 s=`cd $(srcdir); ${PWD}`; export s; \
12441 $(SET_LIB_PATH) \
12442 for flag in $(EXTRA_HOST_FLAGS); do \
12443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12444 done; \
12445 echo "Doing clean in flex" ; \
12446 (cd flex && \
12447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12449 "RANLIB=$${RANLIB}" \
12450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12451 clean) \
12452 || exit 1
12455 .PHONY: maybe-clean-gas clean-gas
12456 maybe-clean-gas:
12458 clean-gas:
12459 @[ -f ./gas/Makefile ] || exit 0; \
12460 r=`${PWD}`; export r; \
12461 s=`cd $(srcdir); ${PWD}`; export s; \
12462 $(SET_LIB_PATH) \
12463 for flag in $(EXTRA_HOST_FLAGS); do \
12464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12465 done; \
12466 echo "Doing clean in gas" ; \
12467 (cd gas && \
12468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12470 "RANLIB=$${RANLIB}" \
12471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12472 clean) \
12473 || exit 1
12476 .PHONY: maybe-clean-gawk clean-gawk
12477 maybe-clean-gawk:
12479 clean-gawk:
12480 @[ -f ./gawk/Makefile ] || exit 0; \
12481 r=`${PWD}`; export r; \
12482 s=`cd $(srcdir); ${PWD}`; export s; \
12483 $(SET_LIB_PATH) \
12484 for flag in $(EXTRA_HOST_FLAGS); do \
12485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12486 done; \
12487 echo "Doing clean in gawk" ; \
12488 (cd gawk && \
12489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12491 "RANLIB=$${RANLIB}" \
12492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12493 clean) \
12494 || exit 1
12497 .PHONY: maybe-clean-gettext clean-gettext
12498 maybe-clean-gettext:
12500 clean-gettext:
12501 @[ -f ./gettext/Makefile ] || exit 0; \
12502 r=`${PWD}`; export r; \
12503 s=`cd $(srcdir); ${PWD}`; export s; \
12504 $(SET_LIB_PATH) \
12505 for flag in $(EXTRA_HOST_FLAGS); do \
12506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12507 done; \
12508 echo "Doing clean in gettext" ; \
12509 (cd gettext && \
12510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12512 "RANLIB=$${RANLIB}" \
12513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12514 clean) \
12515 || exit 1
12518 .PHONY: maybe-clean-gnuserv clean-gnuserv
12519 maybe-clean-gnuserv:
12521 clean-gnuserv:
12522 @[ -f ./gnuserv/Makefile ] || exit 0; \
12523 r=`${PWD}`; export r; \
12524 s=`cd $(srcdir); ${PWD}`; export s; \
12525 $(SET_LIB_PATH) \
12526 for flag in $(EXTRA_HOST_FLAGS); do \
12527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12528 done; \
12529 echo "Doing clean in gnuserv" ; \
12530 (cd gnuserv && \
12531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12533 "RANLIB=$${RANLIB}" \
12534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12535 clean) \
12536 || exit 1
12539 .PHONY: maybe-clean-gprof clean-gprof
12540 maybe-clean-gprof:
12542 clean-gprof:
12543 @[ -f ./gprof/Makefile ] || exit 0; \
12544 r=`${PWD}`; export r; \
12545 s=`cd $(srcdir); ${PWD}`; export s; \
12546 $(SET_LIB_PATH) \
12547 for flag in $(EXTRA_HOST_FLAGS); do \
12548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12549 done; \
12550 echo "Doing clean in gprof" ; \
12551 (cd gprof && \
12552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12554 "RANLIB=$${RANLIB}" \
12555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12556 clean) \
12557 || exit 1
12560 .PHONY: maybe-clean-gzip clean-gzip
12561 maybe-clean-gzip:
12563 clean-gzip:
12564 @[ -f ./gzip/Makefile ] || exit 0; \
12565 r=`${PWD}`; export r; \
12566 s=`cd $(srcdir); ${PWD}`; export s; \
12567 $(SET_LIB_PATH) \
12568 for flag in $(EXTRA_HOST_FLAGS); do \
12569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12570 done; \
12571 echo "Doing clean in gzip" ; \
12572 (cd gzip && \
12573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12575 "RANLIB=$${RANLIB}" \
12576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12577 clean) \
12578 || exit 1
12581 .PHONY: maybe-clean-hello clean-hello
12582 maybe-clean-hello:
12584 clean-hello:
12585 @[ -f ./hello/Makefile ] || exit 0; \
12586 r=`${PWD}`; export r; \
12587 s=`cd $(srcdir); ${PWD}`; export s; \
12588 $(SET_LIB_PATH) \
12589 for flag in $(EXTRA_HOST_FLAGS); do \
12590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12591 done; \
12592 echo "Doing clean in hello" ; \
12593 (cd hello && \
12594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12596 "RANLIB=$${RANLIB}" \
12597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12598 clean) \
12599 || exit 1
12602 .PHONY: maybe-clean-indent clean-indent
12603 maybe-clean-indent:
12605 clean-indent:
12606 @[ -f ./indent/Makefile ] || exit 0; \
12607 r=`${PWD}`; export r; \
12608 s=`cd $(srcdir); ${PWD}`; export s; \
12609 $(SET_LIB_PATH) \
12610 for flag in $(EXTRA_HOST_FLAGS); do \
12611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12612 done; \
12613 echo "Doing clean in indent" ; \
12614 (cd indent && \
12615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12617 "RANLIB=$${RANLIB}" \
12618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12619 clean) \
12620 || exit 1
12623 .PHONY: maybe-clean-intl clean-intl
12624 maybe-clean-intl:
12626 clean-intl:
12627 @[ -f ./intl/Makefile ] || exit 0; \
12628 r=`${PWD}`; export r; \
12629 s=`cd $(srcdir); ${PWD}`; export s; \
12630 $(SET_LIB_PATH) \
12631 for flag in $(EXTRA_HOST_FLAGS); do \
12632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12633 done; \
12634 echo "Doing clean in intl" ; \
12635 (cd intl && \
12636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12638 "RANLIB=$${RANLIB}" \
12639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12640 clean) \
12641 || exit 1
12644 .PHONY: maybe-clean-tcl clean-tcl
12645 maybe-clean-tcl:
12647 clean-tcl:
12648 @[ -f ./tcl/Makefile ] || exit 0; \
12649 r=`${PWD}`; export r; \
12650 s=`cd $(srcdir); ${PWD}`; export s; \
12651 $(SET_LIB_PATH) \
12652 for flag in $(EXTRA_HOST_FLAGS); do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing clean in tcl" ; \
12656 (cd tcl && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 clean) \
12662 || exit 1
12665 .PHONY: maybe-clean-itcl clean-itcl
12666 maybe-clean-itcl:
12668 clean-itcl:
12669 @[ -f ./itcl/Makefile ] || exit 0; \
12670 r=`${PWD}`; export r; \
12671 s=`cd $(srcdir); ${PWD}`; export s; \
12672 $(SET_LIB_PATH) \
12673 for flag in $(EXTRA_HOST_FLAGS); do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing clean in itcl" ; \
12677 (cd itcl && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12682 clean) \
12683 || exit 1
12686 .PHONY: maybe-clean-ld clean-ld
12687 maybe-clean-ld:
12689 clean-ld:
12690 @[ -f ./ld/Makefile ] || exit 0; \
12691 r=`${PWD}`; export r; \
12692 s=`cd $(srcdir); ${PWD}`; export s; \
12693 $(SET_LIB_PATH) \
12694 for flag in $(EXTRA_HOST_FLAGS); do \
12695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12696 done; \
12697 echo "Doing clean in ld" ; \
12698 (cd ld && \
12699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12701 "RANLIB=$${RANLIB}" \
12702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12703 clean) \
12704 || exit 1
12707 .PHONY: maybe-clean-libgui clean-libgui
12708 maybe-clean-libgui:
12710 clean-libgui:
12711 @[ -f ./libgui/Makefile ] || exit 0; \
12712 r=`${PWD}`; export r; \
12713 s=`cd $(srcdir); ${PWD}`; export s; \
12714 $(SET_LIB_PATH) \
12715 for flag in $(EXTRA_HOST_FLAGS); do \
12716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12717 done; \
12718 echo "Doing clean in libgui" ; \
12719 (cd libgui && \
12720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12722 "RANLIB=$${RANLIB}" \
12723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12724 clean) \
12725 || exit 1
12728 .PHONY: maybe-clean-libiberty clean-libiberty
12729 maybe-clean-libiberty:
12731 clean-libiberty:
12732 @[ -f ./libiberty/Makefile ] || exit 0; \
12733 r=`${PWD}`; export r; \
12734 s=`cd $(srcdir); ${PWD}`; export s; \
12735 $(SET_LIB_PATH) \
12736 for flag in $(EXTRA_HOST_FLAGS); do \
12737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12738 done; \
12739 echo "Doing clean in libiberty" ; \
12740 (cd libiberty && \
12741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12743 "RANLIB=$${RANLIB}" \
12744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12745 clean) \
12746 || exit 1
12749 .PHONY: maybe-clean-libtool clean-libtool
12750 maybe-clean-libtool:
12752 clean-libtool:
12753 @[ -f ./libtool/Makefile ] || exit 0; \
12754 r=`${PWD}`; export r; \
12755 s=`cd $(srcdir); ${PWD}`; export s; \
12756 $(SET_LIB_PATH) \
12757 for flag in $(EXTRA_HOST_FLAGS); do \
12758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759 done; \
12760 echo "Doing clean in libtool" ; \
12761 (cd libtool && \
12762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764 "RANLIB=$${RANLIB}" \
12765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12766 clean) \
12767 || exit 1
12770 .PHONY: maybe-clean-m4 clean-m4
12771 maybe-clean-m4:
12773 clean-m4:
12774 @[ -f ./m4/Makefile ] || exit 0; \
12775 r=`${PWD}`; export r; \
12776 s=`cd $(srcdir); ${PWD}`; export s; \
12777 $(SET_LIB_PATH) \
12778 for flag in $(EXTRA_HOST_FLAGS); do \
12779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12780 done; \
12781 echo "Doing clean in m4" ; \
12782 (cd m4 && \
12783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12785 "RANLIB=$${RANLIB}" \
12786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12787 clean) \
12788 || exit 1
12791 .PHONY: maybe-clean-make clean-make
12792 maybe-clean-make:
12794 clean-make:
12795 @[ -f ./make/Makefile ] || exit 0; \
12796 r=`${PWD}`; export r; \
12797 s=`cd $(srcdir); ${PWD}`; export s; \
12798 $(SET_LIB_PATH) \
12799 for flag in $(EXTRA_HOST_FLAGS); do \
12800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12801 done; \
12802 echo "Doing clean in make" ; \
12803 (cd make && \
12804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12806 "RANLIB=$${RANLIB}" \
12807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12808 clean) \
12809 || exit 1
12812 .PHONY: maybe-clean-mmalloc clean-mmalloc
12813 maybe-clean-mmalloc:
12815 clean-mmalloc:
12816 @[ -f ./mmalloc/Makefile ] || exit 0; \
12817 r=`${PWD}`; export r; \
12818 s=`cd $(srcdir); ${PWD}`; export s; \
12819 $(SET_LIB_PATH) \
12820 for flag in $(EXTRA_HOST_FLAGS); do \
12821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822 done; \
12823 echo "Doing clean in mmalloc" ; \
12824 (cd mmalloc && \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827 "RANLIB=$${RANLIB}" \
12828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12829 clean) \
12830 || exit 1
12833 .PHONY: maybe-clean-patch clean-patch
12834 maybe-clean-patch:
12836 clean-patch:
12837 @[ -f ./patch/Makefile ] || exit 0; \
12838 r=`${PWD}`; export r; \
12839 s=`cd $(srcdir); ${PWD}`; export s; \
12840 $(SET_LIB_PATH) \
12841 for flag in $(EXTRA_HOST_FLAGS); do \
12842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12843 done; \
12844 echo "Doing clean in patch" ; \
12845 (cd patch && \
12846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12848 "RANLIB=$${RANLIB}" \
12849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12850 clean) \
12851 || exit 1
12854 .PHONY: maybe-clean-perl clean-perl
12855 maybe-clean-perl:
12857 clean-perl:
12858 @[ -f ./perl/Makefile ] || exit 0; \
12859 r=`${PWD}`; export r; \
12860 s=`cd $(srcdir); ${PWD}`; export s; \
12861 $(SET_LIB_PATH) \
12862 for flag in $(EXTRA_HOST_FLAGS); do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864 done; \
12865 echo "Doing clean in perl" ; \
12866 (cd perl && \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12871 clean) \
12872 || exit 1
12875 .PHONY: maybe-clean-prms clean-prms
12876 maybe-clean-prms:
12878 clean-prms:
12879 @[ -f ./prms/Makefile ] || exit 0; \
12880 r=`${PWD}`; export r; \
12881 s=`cd $(srcdir); ${PWD}`; export s; \
12882 $(SET_LIB_PATH) \
12883 for flag in $(EXTRA_HOST_FLAGS); do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing clean in prms" ; \
12887 (cd prms && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12892 clean) \
12893 || exit 1
12896 .PHONY: maybe-clean-rcs clean-rcs
12897 maybe-clean-rcs:
12899 clean-rcs:
12900 @[ -f ./rcs/Makefile ] || exit 0; \
12901 r=`${PWD}`; export r; \
12902 s=`cd $(srcdir); ${PWD}`; export s; \
12903 $(SET_LIB_PATH) \
12904 for flag in $(EXTRA_HOST_FLAGS); do \
12905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12906 done; \
12907 echo "Doing clean in rcs" ; \
12908 (cd rcs && \
12909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12911 "RANLIB=$${RANLIB}" \
12912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12913 clean) \
12914 || exit 1
12917 .PHONY: maybe-clean-readline clean-readline
12918 maybe-clean-readline:
12920 clean-readline:
12921 @[ -f ./readline/Makefile ] || exit 0; \
12922 r=`${PWD}`; export r; \
12923 s=`cd $(srcdir); ${PWD}`; export s; \
12924 $(SET_LIB_PATH) \
12925 for flag in $(EXTRA_HOST_FLAGS); do \
12926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12927 done; \
12928 echo "Doing clean in readline" ; \
12929 (cd readline && \
12930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12932 "RANLIB=$${RANLIB}" \
12933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12934 clean) \
12935 || exit 1
12938 .PHONY: maybe-clean-release clean-release
12939 maybe-clean-release:
12941 clean-release:
12942 @[ -f ./release/Makefile ] || exit 0; \
12943 r=`${PWD}`; export r; \
12944 s=`cd $(srcdir); ${PWD}`; export s; \
12945 $(SET_LIB_PATH) \
12946 for flag in $(EXTRA_HOST_FLAGS); do \
12947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 done; \
12949 echo "Doing clean in release" ; \
12950 (cd release && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12953 "RANLIB=$${RANLIB}" \
12954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12955 clean) \
12956 || exit 1
12959 .PHONY: maybe-clean-recode clean-recode
12960 maybe-clean-recode:
12962 clean-recode:
12963 @[ -f ./recode/Makefile ] || exit 0; \
12964 r=`${PWD}`; export r; \
12965 s=`cd $(srcdir); ${PWD}`; export s; \
12966 $(SET_LIB_PATH) \
12967 for flag in $(EXTRA_HOST_FLAGS); do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing clean in recode" ; \
12971 (cd recode && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12976 clean) \
12977 || exit 1
12980 .PHONY: maybe-clean-sed clean-sed
12981 maybe-clean-sed:
12983 clean-sed:
12984 @[ -f ./sed/Makefile ] || exit 0; \
12985 r=`${PWD}`; export r; \
12986 s=`cd $(srcdir); ${PWD}`; export s; \
12987 $(SET_LIB_PATH) \
12988 for flag in $(EXTRA_HOST_FLAGS); do \
12989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12990 done; \
12991 echo "Doing clean in sed" ; \
12992 (cd sed && \
12993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12995 "RANLIB=$${RANLIB}" \
12996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12997 clean) \
12998 || exit 1
13001 .PHONY: maybe-clean-send-pr clean-send-pr
13002 maybe-clean-send-pr:
13004 clean-send-pr:
13005 @[ -f ./send-pr/Makefile ] || exit 0; \
13006 r=`${PWD}`; export r; \
13007 s=`cd $(srcdir); ${PWD}`; export s; \
13008 $(SET_LIB_PATH) \
13009 for flag in $(EXTRA_HOST_FLAGS); do \
13010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13011 done; \
13012 echo "Doing clean in send-pr" ; \
13013 (cd send-pr && \
13014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13016 "RANLIB=$${RANLIB}" \
13017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13018 clean) \
13019 || exit 1
13022 .PHONY: maybe-clean-shellutils clean-shellutils
13023 maybe-clean-shellutils:
13025 clean-shellutils:
13026 @[ -f ./shellutils/Makefile ] || exit 0; \
13027 r=`${PWD}`; export r; \
13028 s=`cd $(srcdir); ${PWD}`; export s; \
13029 $(SET_LIB_PATH) \
13030 for flag in $(EXTRA_HOST_FLAGS); do \
13031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13032 done; \
13033 echo "Doing clean in shellutils" ; \
13034 (cd shellutils && \
13035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13037 "RANLIB=$${RANLIB}" \
13038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13039 clean) \
13040 || exit 1
13043 .PHONY: maybe-clean-sid clean-sid
13044 maybe-clean-sid:
13046 clean-sid:
13047 @[ -f ./sid/Makefile ] || exit 0; \
13048 r=`${PWD}`; export r; \
13049 s=`cd $(srcdir); ${PWD}`; export s; \
13050 $(SET_LIB_PATH) \
13051 for flag in $(EXTRA_HOST_FLAGS); do \
13052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13053 done; \
13054 echo "Doing clean in sid" ; \
13055 (cd sid && \
13056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058 "RANLIB=$${RANLIB}" \
13059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13060 clean) \
13061 || exit 1
13064 .PHONY: maybe-clean-sim clean-sim
13065 maybe-clean-sim:
13067 clean-sim:
13068 @[ -f ./sim/Makefile ] || exit 0; \
13069 r=`${PWD}`; export r; \
13070 s=`cd $(srcdir); ${PWD}`; export s; \
13071 $(SET_LIB_PATH) \
13072 for flag in $(EXTRA_HOST_FLAGS); do \
13073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13074 done; \
13075 echo "Doing clean in sim" ; \
13076 (cd sim && \
13077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13079 "RANLIB=$${RANLIB}" \
13080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13081 clean) \
13082 || exit 1
13085 .PHONY: maybe-clean-tar clean-tar
13086 maybe-clean-tar:
13088 clean-tar:
13089 @[ -f ./tar/Makefile ] || exit 0; \
13090 r=`${PWD}`; export r; \
13091 s=`cd $(srcdir); ${PWD}`; export s; \
13092 $(SET_LIB_PATH) \
13093 for flag in $(EXTRA_HOST_FLAGS); do \
13094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13095 done; \
13096 echo "Doing clean in tar" ; \
13097 (cd tar && \
13098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13100 "RANLIB=$${RANLIB}" \
13101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13102 clean) \
13103 || exit 1
13106 .PHONY: maybe-clean-texinfo clean-texinfo
13107 maybe-clean-texinfo:
13109 clean-texinfo:
13110 @[ -f ./texinfo/Makefile ] || exit 0; \
13111 r=`${PWD}`; export r; \
13112 s=`cd $(srcdir); ${PWD}`; export s; \
13113 $(SET_LIB_PATH) \
13114 for flag in $(EXTRA_HOST_FLAGS); do \
13115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13116 done; \
13117 echo "Doing clean in texinfo" ; \
13118 (cd texinfo && \
13119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13121 "RANLIB=$${RANLIB}" \
13122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13123 clean) \
13124 || exit 1
13127 .PHONY: maybe-clean-textutils clean-textutils
13128 maybe-clean-textutils:
13130 clean-textutils:
13131 @[ -f ./textutils/Makefile ] || exit 0; \
13132 r=`${PWD}`; export r; \
13133 s=`cd $(srcdir); ${PWD}`; export s; \
13134 $(SET_LIB_PATH) \
13135 for flag in $(EXTRA_HOST_FLAGS); do \
13136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13137 done; \
13138 echo "Doing clean in textutils" ; \
13139 (cd textutils && \
13140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13142 "RANLIB=$${RANLIB}" \
13143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13144 clean) \
13145 || exit 1
13148 .PHONY: maybe-clean-time clean-time
13149 maybe-clean-time:
13151 clean-time:
13152 @[ -f ./time/Makefile ] || exit 0; \
13153 r=`${PWD}`; export r; \
13154 s=`cd $(srcdir); ${PWD}`; export s; \
13155 $(SET_LIB_PATH) \
13156 for flag in $(EXTRA_HOST_FLAGS); do \
13157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13158 done; \
13159 echo "Doing clean in time" ; \
13160 (cd time && \
13161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13163 "RANLIB=$${RANLIB}" \
13164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13165 clean) \
13166 || exit 1
13169 .PHONY: maybe-clean-uudecode clean-uudecode
13170 maybe-clean-uudecode:
13172 clean-uudecode:
13173 @[ -f ./uudecode/Makefile ] || exit 0; \
13174 r=`${PWD}`; export r; \
13175 s=`cd $(srcdir); ${PWD}`; export s; \
13176 $(SET_LIB_PATH) \
13177 for flag in $(EXTRA_HOST_FLAGS); do \
13178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13179 done; \
13180 echo "Doing clean in uudecode" ; \
13181 (cd uudecode && \
13182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13184 "RANLIB=$${RANLIB}" \
13185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13186 clean) \
13187 || exit 1
13190 .PHONY: maybe-clean-wdiff clean-wdiff
13191 maybe-clean-wdiff:
13193 clean-wdiff:
13194 @[ -f ./wdiff/Makefile ] || exit 0; \
13195 r=`${PWD}`; export r; \
13196 s=`cd $(srcdir); ${PWD}`; export s; \
13197 $(SET_LIB_PATH) \
13198 for flag in $(EXTRA_HOST_FLAGS); do \
13199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13200 done; \
13201 echo "Doing clean in wdiff" ; \
13202 (cd wdiff && \
13203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13205 "RANLIB=$${RANLIB}" \
13206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13207 clean) \
13208 || exit 1
13211 .PHONY: maybe-clean-zip clean-zip
13212 maybe-clean-zip:
13214 clean-zip:
13215 @[ -f ./zip/Makefile ] || exit 0; \
13216 r=`${PWD}`; export r; \
13217 s=`cd $(srcdir); ${PWD}`; export s; \
13218 $(SET_LIB_PATH) \
13219 for flag in $(EXTRA_HOST_FLAGS); do \
13220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13221 done; \
13222 echo "Doing clean in zip" ; \
13223 (cd zip && \
13224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13226 "RANLIB=$${RANLIB}" \
13227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13228 clean) \
13229 || exit 1
13232 .PHONY: maybe-clean-zlib clean-zlib
13233 maybe-clean-zlib:
13235 clean-zlib:
13236 @[ -f ./zlib/Makefile ] || exit 0; \
13237 r=`${PWD}`; export r; \
13238 s=`cd $(srcdir); ${PWD}`; export s; \
13239 $(SET_LIB_PATH) \
13240 for flag in $(EXTRA_HOST_FLAGS); do \
13241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13242 done; \
13243 echo "Doing clean in zlib" ; \
13244 (cd zlib && \
13245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13247 "RANLIB=$${RANLIB}" \
13248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13249 clean) \
13250 || exit 1
13253 .PHONY: maybe-clean-gdb clean-gdb
13254 maybe-clean-gdb:
13256 clean-gdb:
13257 @[ -f ./gdb/Makefile ] || exit 0; \
13258 r=`${PWD}`; export r; \
13259 s=`cd $(srcdir); ${PWD}`; export s; \
13260 $(SET_LIB_PATH) \
13261 for flag in $(EXTRA_HOST_FLAGS); do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing clean in gdb" ; \
13265 (cd gdb && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13270 clean) \
13271 || exit 1
13274 .PHONY: maybe-clean-expect clean-expect
13275 maybe-clean-expect:
13277 clean-expect:
13278 @[ -f ./expect/Makefile ] || exit 0; \
13279 r=`${PWD}`; export r; \
13280 s=`cd $(srcdir); ${PWD}`; export s; \
13281 $(SET_LIB_PATH) \
13282 for flag in $(EXTRA_HOST_FLAGS); do \
13283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13284 done; \
13285 echo "Doing clean in expect" ; \
13286 (cd expect && \
13287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13289 "RANLIB=$${RANLIB}" \
13290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13291 clean) \
13292 || exit 1
13295 .PHONY: maybe-clean-guile clean-guile
13296 maybe-clean-guile:
13298 clean-guile:
13299 @[ -f ./guile/Makefile ] || exit 0; \
13300 r=`${PWD}`; export r; \
13301 s=`cd $(srcdir); ${PWD}`; export s; \
13302 $(SET_LIB_PATH) \
13303 for flag in $(EXTRA_HOST_FLAGS); do \
13304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13305 done; \
13306 echo "Doing clean in guile" ; \
13307 (cd guile && \
13308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13310 "RANLIB=$${RANLIB}" \
13311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13312 clean) \
13313 || exit 1
13316 .PHONY: maybe-clean-tk clean-tk
13317 maybe-clean-tk:
13319 clean-tk:
13320 @[ -f ./tk/Makefile ] || exit 0; \
13321 r=`${PWD}`; export r; \
13322 s=`cd $(srcdir); ${PWD}`; export s; \
13323 $(SET_LIB_PATH) \
13324 for flag in $(EXTRA_HOST_FLAGS); do \
13325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13326 done; \
13327 echo "Doing clean in tk" ; \
13328 (cd tk && \
13329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13331 "RANLIB=$${RANLIB}" \
13332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13333 clean) \
13334 || exit 1
13337 .PHONY: maybe-clean-tix clean-tix
13338 maybe-clean-tix:
13340 clean-tix:
13341 @[ -f ./tix/Makefile ] || exit 0; \
13342 r=`${PWD}`; export r; \
13343 s=`cd $(srcdir); ${PWD}`; export s; \
13344 $(SET_LIB_PATH) \
13345 for flag in $(EXTRA_HOST_FLAGS); do \
13346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13347 done; \
13348 echo "Doing clean in tix" ; \
13349 (cd tix && \
13350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13352 "RANLIB=$${RANLIB}" \
13353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13354 clean) \
13355 || exit 1
13358 .PHONY: maybe-clean-libtermcap clean-libtermcap
13359 maybe-clean-libtermcap:
13361 # libtermcap doesn't support clean.
13362 clean-libtermcap:
13365 .PHONY: maybe-clean-utils clean-utils
13366 maybe-clean-utils:
13368 clean-utils:
13369 @[ -f ./utils/Makefile ] || exit 0; \
13370 r=`${PWD}`; export r; \
13371 s=`cd $(srcdir); ${PWD}`; export s; \
13372 $(SET_LIB_PATH) \
13373 for flag in $(EXTRA_HOST_FLAGS); do \
13374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13375 done; \
13376 echo "Doing clean in utils" ; \
13377 (cd utils && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13380 "RANLIB=$${RANLIB}" \
13381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13382 clean) \
13383 || exit 1
13387 # Target modules.
13389 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
13390 maybe-clean-target-libstdc++-v3:
13392 clean-target-libstdc++-v3:
13393 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
13394 r=`${PWD}`; export r; \
13395 s=`cd $(srcdir); ${PWD}`; export s; \
13396 $(SET_LIB_PATH) \
13397 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
13398 for flag in $(EXTRA_TARGET_FLAGS); do \
13399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13400 done; \
13401 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
13402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13404 "RANLIB=$${RANLIB}" \
13405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13406 clean) \
13407 || exit 1
13410 .PHONY: maybe-clean-target-newlib clean-target-newlib
13411 maybe-clean-target-newlib:
13413 clean-target-newlib:
13414 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
13415 r=`${PWD}`; export r; \
13416 s=`cd $(srcdir); ${PWD}`; export s; \
13417 $(SET_LIB_PATH) \
13418 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
13419 for flag in $(EXTRA_TARGET_FLAGS); do \
13420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13421 done; \
13422 (cd $(TARGET_SUBDIR)/newlib && \
13423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13425 "RANLIB=$${RANLIB}" \
13426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13427 clean) \
13428 || exit 1
13431 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
13432 maybe-clean-target-libf2c:
13434 clean-target-libf2c:
13435 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
13436 r=`${PWD}`; export r; \
13437 s=`cd $(srcdir); ${PWD}`; export s; \
13438 $(SET_LIB_PATH) \
13439 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
13440 for flag in $(EXTRA_TARGET_FLAGS); do \
13441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13442 done; \
13443 (cd $(TARGET_SUBDIR)/libf2c && \
13444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13446 "RANLIB=$${RANLIB}" \
13447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13448 clean) \
13449 || exit 1
13452 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
13453 maybe-clean-target-libobjc:
13455 clean-target-libobjc:
13456 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
13457 r=`${PWD}`; export r; \
13458 s=`cd $(srcdir); ${PWD}`; export s; \
13459 $(SET_LIB_PATH) \
13460 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
13461 for flag in $(EXTRA_TARGET_FLAGS); do \
13462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13463 done; \
13464 (cd $(TARGET_SUBDIR)/libobjc && \
13465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13467 "RANLIB=$${RANLIB}" \
13468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13469 clean) \
13470 || exit 1
13473 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
13474 maybe-clean-target-libtermcap:
13476 # libtermcap doesn't support clean.
13477 clean-libtermcap:
13480 .PHONY: maybe-clean-target-winsup clean-target-winsup
13481 maybe-clean-target-winsup:
13483 clean-target-winsup:
13484 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
13485 r=`${PWD}`; export r; \
13486 s=`cd $(srcdir); ${PWD}`; export s; \
13487 $(SET_LIB_PATH) \
13488 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
13489 for flag in $(EXTRA_TARGET_FLAGS); do \
13490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13491 done; \
13492 (cd $(TARGET_SUBDIR)/winsup && \
13493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13495 "RANLIB=$${RANLIB}" \
13496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13497 clean) \
13498 || exit 1
13501 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
13502 maybe-clean-target-libgloss:
13504 clean-target-libgloss:
13505 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
13506 r=`${PWD}`; export r; \
13507 s=`cd $(srcdir); ${PWD}`; export s; \
13508 $(SET_LIB_PATH) \
13509 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
13510 for flag in $(EXTRA_TARGET_FLAGS); do \
13511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13512 done; \
13513 (cd $(TARGET_SUBDIR)/libgloss && \
13514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13516 "RANLIB=$${RANLIB}" \
13517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13518 clean) \
13519 || exit 1
13522 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
13523 maybe-clean-target-libiberty:
13525 clean-target-libiberty:
13526 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
13527 r=`${PWD}`; export r; \
13528 s=`cd $(srcdir); ${PWD}`; export s; \
13529 $(SET_LIB_PATH) \
13530 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
13531 for flag in $(EXTRA_TARGET_FLAGS); do \
13532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13533 done; \
13534 (cd $(TARGET_SUBDIR)/libiberty && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13539 clean) \
13540 || exit 1
13543 .PHONY: maybe-clean-target-gperf clean-target-gperf
13544 maybe-clean-target-gperf:
13546 clean-target-gperf:
13547 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
13548 r=`${PWD}`; export r; \
13549 s=`cd $(srcdir); ${PWD}`; export s; \
13550 $(SET_LIB_PATH) \
13551 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
13552 for flag in $(EXTRA_TARGET_FLAGS); do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 done; \
13555 (cd $(TARGET_SUBDIR)/gperf && \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13560 clean) \
13561 || exit 1
13564 .PHONY: maybe-clean-target-examples clean-target-examples
13565 maybe-clean-target-examples:
13567 clean-target-examples:
13568 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
13569 r=`${PWD}`; export r; \
13570 s=`cd $(srcdir); ${PWD}`; export s; \
13571 $(SET_LIB_PATH) \
13572 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
13573 for flag in $(EXTRA_TARGET_FLAGS); do \
13574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13575 done; \
13576 (cd $(TARGET_SUBDIR)/examples && \
13577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13579 "RANLIB=$${RANLIB}" \
13580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13581 clean) \
13582 || exit 1
13585 .PHONY: maybe-clean-target-libffi clean-target-libffi
13586 maybe-clean-target-libffi:
13588 clean-target-libffi:
13589 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
13590 r=`${PWD}`; export r; \
13591 s=`cd $(srcdir); ${PWD}`; export s; \
13592 $(SET_LIB_PATH) \
13593 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
13594 for flag in $(EXTRA_TARGET_FLAGS); do \
13595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 done; \
13597 (cd $(TARGET_SUBDIR)/libffi && \
13598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13600 "RANLIB=$${RANLIB}" \
13601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13602 clean) \
13603 || exit 1
13606 .PHONY: maybe-clean-target-libjava clean-target-libjava
13607 maybe-clean-target-libjava:
13609 clean-target-libjava:
13610 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
13611 r=`${PWD}`; export r; \
13612 s=`cd $(srcdir); ${PWD}`; export s; \
13613 $(SET_LIB_PATH) \
13614 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
13615 for flag in $(EXTRA_TARGET_FLAGS); do \
13616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13617 done; \
13618 (cd $(TARGET_SUBDIR)/libjava && \
13619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13621 "RANLIB=$${RANLIB}" \
13622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13623 clean) \
13624 || exit 1
13627 .PHONY: maybe-clean-target-zlib clean-target-zlib
13628 maybe-clean-target-zlib:
13630 clean-target-zlib:
13631 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
13632 r=`${PWD}`; export r; \
13633 s=`cd $(srcdir); ${PWD}`; export s; \
13634 $(SET_LIB_PATH) \
13635 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
13636 for flag in $(EXTRA_TARGET_FLAGS); do \
13637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13638 done; \
13639 (cd $(TARGET_SUBDIR)/zlib && \
13640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13642 "RANLIB=$${RANLIB}" \
13643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 clean) \
13645 || exit 1
13648 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
13649 maybe-clean-target-boehm-gc:
13651 clean-target-boehm-gc:
13652 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
13653 r=`${PWD}`; export r; \
13654 s=`cd $(srcdir); ${PWD}`; export s; \
13655 $(SET_LIB_PATH) \
13656 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
13657 for flag in $(EXTRA_TARGET_FLAGS); do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 (cd $(TARGET_SUBDIR)/boehm-gc && \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 clean) \
13666 || exit 1
13669 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
13670 maybe-clean-target-qthreads:
13672 clean-target-qthreads:
13673 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
13674 r=`${PWD}`; export r; \
13675 s=`cd $(srcdir); ${PWD}`; export s; \
13676 $(SET_LIB_PATH) \
13677 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
13678 for flag in $(EXTRA_TARGET_FLAGS); do \
13679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13680 done; \
13681 (cd $(TARGET_SUBDIR)/qthreads && \
13682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13684 "RANLIB=$${RANLIB}" \
13685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13686 clean) \
13687 || exit 1
13690 .PHONY: maybe-clean-target-rda clean-target-rda
13691 maybe-clean-target-rda:
13693 clean-target-rda:
13694 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
13695 r=`${PWD}`; export r; \
13696 s=`cd $(srcdir); ${PWD}`; export s; \
13697 $(SET_LIB_PATH) \
13698 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
13699 for flag in $(EXTRA_TARGET_FLAGS); do \
13700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13701 done; \
13702 (cd $(TARGET_SUBDIR)/rda && \
13703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13705 "RANLIB=$${RANLIB}" \
13706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13707 clean) \
13708 || exit 1
13712 .PHONY: do-distclean
13713 do-distclean: distclean-host distclean-target
13715 .PHONY: distclean-host
13716 distclean-host: maybe-distclean-gcc \
13717 maybe-distclean-ash \
13718 maybe-distclean-autoconf \
13719 maybe-distclean-automake \
13720 maybe-distclean-bash \
13721 maybe-distclean-bfd \
13722 maybe-distclean-opcodes \
13723 maybe-distclean-binutils \
13724 maybe-distclean-bison \
13725 maybe-distclean-byacc \
13726 maybe-distclean-bzip2 \
13727 maybe-distclean-dejagnu \
13728 maybe-distclean-diff \
13729 maybe-distclean-dosutils \
13730 maybe-distclean-etc \
13731 maybe-distclean-fastjar \
13732 maybe-distclean-fileutils \
13733 maybe-distclean-findutils \
13734 maybe-distclean-find \
13735 maybe-distclean-flex \
13736 maybe-distclean-gas \
13737 maybe-distclean-gawk \
13738 maybe-distclean-gettext \
13739 maybe-distclean-gnuserv \
13740 maybe-distclean-gprof \
13741 maybe-distclean-gzip \
13742 maybe-distclean-hello \
13743 maybe-distclean-indent \
13744 maybe-distclean-intl \
13745 maybe-distclean-tcl \
13746 maybe-distclean-itcl \
13747 maybe-distclean-ld \
13748 maybe-distclean-libgui \
13749 maybe-distclean-libiberty \
13750 maybe-distclean-libtool \
13751 maybe-distclean-m4 \
13752 maybe-distclean-make \
13753 maybe-distclean-mmalloc \
13754 maybe-distclean-patch \
13755 maybe-distclean-perl \
13756 maybe-distclean-prms \
13757 maybe-distclean-rcs \
13758 maybe-distclean-readline \
13759 maybe-distclean-release \
13760 maybe-distclean-recode \
13761 maybe-distclean-sed \
13762 maybe-distclean-send-pr \
13763 maybe-distclean-shellutils \
13764 maybe-distclean-sid \
13765 maybe-distclean-sim \
13766 maybe-distclean-tar \
13767 maybe-distclean-texinfo \
13768 maybe-distclean-textutils \
13769 maybe-distclean-time \
13770 maybe-distclean-uudecode \
13771 maybe-distclean-wdiff \
13772 maybe-distclean-zip \
13773 maybe-distclean-zlib \
13774 maybe-distclean-gdb \
13775 maybe-distclean-expect \
13776 maybe-distclean-guile \
13777 maybe-distclean-tk \
13778 maybe-distclean-tix \
13779 maybe-distclean-libtermcap \
13780 maybe-distclean-utils
13782 .PHONY: distclean-target
13783 distclean-target: \
13784 maybe-distclean-target-libstdc++-v3 \
13785 maybe-distclean-target-newlib \
13786 maybe-distclean-target-libf2c \
13787 maybe-distclean-target-libobjc \
13788 maybe-distclean-target-libtermcap \
13789 maybe-distclean-target-winsup \
13790 maybe-distclean-target-libgloss \
13791 maybe-distclean-target-libiberty \
13792 maybe-distclean-target-gperf \
13793 maybe-distclean-target-examples \
13794 maybe-distclean-target-libffi \
13795 maybe-distclean-target-libjava \
13796 maybe-distclean-target-zlib \
13797 maybe-distclean-target-boehm-gc \
13798 maybe-distclean-target-qthreads \
13799 maybe-distclean-target-rda
13801 # GCC, the eternal special case
13802 .PHONY: maybe-distclean-gcc distclean-gcc
13803 maybe-distclean-gcc:
13804 distclean-gcc:
13805 @[ -f ./gcc/Makefile ] || exit 0; \
13806 r=`${PWD}`; export r; \
13807 s=`cd $(srcdir); ${PWD}`; export s; \
13808 $(SET_LIB_PATH) \
13809 for flag in $(EXTRA_GCC_FLAGS); do \
13810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13811 done; \
13812 echo "Doing distclean in gcc" ; \
13813 (cd gcc && \
13814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13816 "RANLIB=$${RANLIB}" \
13817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13818 distclean) \
13819 || exit 1
13821 # Host modules.
13823 .PHONY: maybe-distclean-ash distclean-ash
13824 maybe-distclean-ash:
13826 distclean-ash:
13827 @[ -f ./ash/Makefile ] || exit 0; \
13828 r=`${PWD}`; export r; \
13829 s=`cd $(srcdir); ${PWD}`; export s; \
13830 $(SET_LIB_PATH) \
13831 for flag in $(EXTRA_HOST_FLAGS); do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13833 done; \
13834 echo "Doing distclean in ash" ; \
13835 (cd ash && \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13840 distclean) \
13841 || exit 1
13844 .PHONY: maybe-distclean-autoconf distclean-autoconf
13845 maybe-distclean-autoconf:
13847 distclean-autoconf:
13848 @[ -f ./autoconf/Makefile ] || exit 0; \
13849 r=`${PWD}`; export r; \
13850 s=`cd $(srcdir); ${PWD}`; export s; \
13851 $(SET_LIB_PATH) \
13852 for flag in $(EXTRA_HOST_FLAGS); do \
13853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13854 done; \
13855 echo "Doing distclean in autoconf" ; \
13856 (cd autoconf && \
13857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13859 "RANLIB=$${RANLIB}" \
13860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13861 distclean) \
13862 || exit 1
13865 .PHONY: maybe-distclean-automake distclean-automake
13866 maybe-distclean-automake:
13868 distclean-automake:
13869 @[ -f ./automake/Makefile ] || exit 0; \
13870 r=`${PWD}`; export r; \
13871 s=`cd $(srcdir); ${PWD}`; export s; \
13872 $(SET_LIB_PATH) \
13873 for flag in $(EXTRA_HOST_FLAGS); do \
13874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13875 done; \
13876 echo "Doing distclean in automake" ; \
13877 (cd automake && \
13878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13880 "RANLIB=$${RANLIB}" \
13881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13882 distclean) \
13883 || exit 1
13886 .PHONY: maybe-distclean-bash distclean-bash
13887 maybe-distclean-bash:
13889 distclean-bash:
13890 @[ -f ./bash/Makefile ] || exit 0; \
13891 r=`${PWD}`; export r; \
13892 s=`cd $(srcdir); ${PWD}`; export s; \
13893 $(SET_LIB_PATH) \
13894 for flag in $(EXTRA_HOST_FLAGS); do \
13895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13896 done; \
13897 echo "Doing distclean in bash" ; \
13898 (cd bash && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13901 "RANLIB=$${RANLIB}" \
13902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13903 distclean) \
13904 || exit 1
13907 .PHONY: maybe-distclean-bfd distclean-bfd
13908 maybe-distclean-bfd:
13910 distclean-bfd:
13911 @[ -f ./bfd/Makefile ] || exit 0; \
13912 r=`${PWD}`; export r; \
13913 s=`cd $(srcdir); ${PWD}`; export s; \
13914 $(SET_LIB_PATH) \
13915 for flag in $(EXTRA_HOST_FLAGS); do \
13916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13917 done; \
13918 echo "Doing distclean in bfd" ; \
13919 (cd bfd && \
13920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13922 "RANLIB=$${RANLIB}" \
13923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13924 distclean) \
13925 || exit 1
13928 .PHONY: maybe-distclean-opcodes distclean-opcodes
13929 maybe-distclean-opcodes:
13931 distclean-opcodes:
13932 @[ -f ./opcodes/Makefile ] || exit 0; \
13933 r=`${PWD}`; export r; \
13934 s=`cd $(srcdir); ${PWD}`; export s; \
13935 $(SET_LIB_PATH) \
13936 for flag in $(EXTRA_HOST_FLAGS); do \
13937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13938 done; \
13939 echo "Doing distclean in opcodes" ; \
13940 (cd opcodes && \
13941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13943 "RANLIB=$${RANLIB}" \
13944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13945 distclean) \
13946 || exit 1
13949 .PHONY: maybe-distclean-binutils distclean-binutils
13950 maybe-distclean-binutils:
13952 distclean-binutils:
13953 @[ -f ./binutils/Makefile ] || exit 0; \
13954 r=`${PWD}`; export r; \
13955 s=`cd $(srcdir); ${PWD}`; export s; \
13956 $(SET_LIB_PATH) \
13957 for flag in $(EXTRA_HOST_FLAGS); do \
13958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13959 done; \
13960 echo "Doing distclean in binutils" ; \
13961 (cd binutils && \
13962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13964 "RANLIB=$${RANLIB}" \
13965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13966 distclean) \
13967 || exit 1
13970 .PHONY: maybe-distclean-bison distclean-bison
13971 maybe-distclean-bison:
13973 distclean-bison:
13974 @[ -f ./bison/Makefile ] || exit 0; \
13975 r=`${PWD}`; export r; \
13976 s=`cd $(srcdir); ${PWD}`; export s; \
13977 $(SET_LIB_PATH) \
13978 for flag in $(EXTRA_HOST_FLAGS); do \
13979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13980 done; \
13981 echo "Doing distclean in bison" ; \
13982 (cd bison && \
13983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13985 "RANLIB=$${RANLIB}" \
13986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13987 distclean) \
13988 || exit 1
13991 .PHONY: maybe-distclean-byacc distclean-byacc
13992 maybe-distclean-byacc:
13994 distclean-byacc:
13995 @[ -f ./byacc/Makefile ] || exit 0; \
13996 r=`${PWD}`; export r; \
13997 s=`cd $(srcdir); ${PWD}`; export s; \
13998 $(SET_LIB_PATH) \
13999 for flag in $(EXTRA_HOST_FLAGS); do \
14000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14001 done; \
14002 echo "Doing distclean in byacc" ; \
14003 (cd byacc && \
14004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14006 "RANLIB=$${RANLIB}" \
14007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14008 distclean) \
14009 || exit 1
14012 .PHONY: maybe-distclean-bzip2 distclean-bzip2
14013 maybe-distclean-bzip2:
14015 distclean-bzip2:
14016 @[ -f ./bzip2/Makefile ] || exit 0; \
14017 r=`${PWD}`; export r; \
14018 s=`cd $(srcdir); ${PWD}`; export s; \
14019 $(SET_LIB_PATH) \
14020 for flag in $(EXTRA_HOST_FLAGS); do \
14021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14022 done; \
14023 echo "Doing distclean in bzip2" ; \
14024 (cd bzip2 && \
14025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14027 "RANLIB=$${RANLIB}" \
14028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14029 distclean) \
14030 || exit 1
14033 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
14034 maybe-distclean-dejagnu:
14036 distclean-dejagnu:
14037 @[ -f ./dejagnu/Makefile ] || exit 0; \
14038 r=`${PWD}`; export r; \
14039 s=`cd $(srcdir); ${PWD}`; export s; \
14040 $(SET_LIB_PATH) \
14041 for flag in $(EXTRA_HOST_FLAGS); do \
14042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14043 done; \
14044 echo "Doing distclean in dejagnu" ; \
14045 (cd dejagnu && \
14046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14048 "RANLIB=$${RANLIB}" \
14049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14050 distclean) \
14051 || exit 1
14054 .PHONY: maybe-distclean-diff distclean-diff
14055 maybe-distclean-diff:
14057 distclean-diff:
14058 @[ -f ./diff/Makefile ] || exit 0; \
14059 r=`${PWD}`; export r; \
14060 s=`cd $(srcdir); ${PWD}`; export s; \
14061 $(SET_LIB_PATH) \
14062 for flag in $(EXTRA_HOST_FLAGS); do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064 done; \
14065 echo "Doing distclean in diff" ; \
14066 (cd diff && \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14071 distclean) \
14072 || exit 1
14075 .PHONY: maybe-distclean-dosutils distclean-dosutils
14076 maybe-distclean-dosutils:
14078 distclean-dosutils:
14079 @[ -f ./dosutils/Makefile ] || exit 0; \
14080 r=`${PWD}`; export r; \
14081 s=`cd $(srcdir); ${PWD}`; export s; \
14082 $(SET_LIB_PATH) \
14083 for flag in $(EXTRA_HOST_FLAGS); do \
14084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14085 done; \
14086 echo "Doing distclean in dosutils" ; \
14087 (cd dosutils && \
14088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14090 "RANLIB=$${RANLIB}" \
14091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14092 distclean) \
14093 || exit 1
14096 .PHONY: maybe-distclean-etc distclean-etc
14097 maybe-distclean-etc:
14099 distclean-etc:
14100 @[ -f ./etc/Makefile ] || exit 0; \
14101 r=`${PWD}`; export r; \
14102 s=`cd $(srcdir); ${PWD}`; export s; \
14103 $(SET_LIB_PATH) \
14104 for flag in $(EXTRA_HOST_FLAGS); do \
14105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14106 done; \
14107 echo "Doing distclean in etc" ; \
14108 (cd etc && \
14109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14111 "RANLIB=$${RANLIB}" \
14112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14113 distclean) \
14114 || exit 1
14117 .PHONY: maybe-distclean-fastjar distclean-fastjar
14118 maybe-distclean-fastjar:
14120 distclean-fastjar:
14121 @[ -f ./fastjar/Makefile ] || exit 0; \
14122 r=`${PWD}`; export r; \
14123 s=`cd $(srcdir); ${PWD}`; export s; \
14124 $(SET_LIB_PATH) \
14125 for flag in $(EXTRA_HOST_FLAGS); do \
14126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14127 done; \
14128 echo "Doing distclean in fastjar" ; \
14129 (cd fastjar && \
14130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14132 "RANLIB=$${RANLIB}" \
14133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14134 distclean) \
14135 || exit 1
14138 .PHONY: maybe-distclean-fileutils distclean-fileutils
14139 maybe-distclean-fileutils:
14141 distclean-fileutils:
14142 @[ -f ./fileutils/Makefile ] || exit 0; \
14143 r=`${PWD}`; export r; \
14144 s=`cd $(srcdir); ${PWD}`; export s; \
14145 $(SET_LIB_PATH) \
14146 for flag in $(EXTRA_HOST_FLAGS); do \
14147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14148 done; \
14149 echo "Doing distclean in fileutils" ; \
14150 (cd fileutils && \
14151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14153 "RANLIB=$${RANLIB}" \
14154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14155 distclean) \
14156 || exit 1
14159 .PHONY: maybe-distclean-findutils distclean-findutils
14160 maybe-distclean-findutils:
14162 distclean-findutils:
14163 @[ -f ./findutils/Makefile ] || exit 0; \
14164 r=`${PWD}`; export r; \
14165 s=`cd $(srcdir); ${PWD}`; export s; \
14166 $(SET_LIB_PATH) \
14167 for flag in $(EXTRA_HOST_FLAGS); do \
14168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14169 done; \
14170 echo "Doing distclean in findutils" ; \
14171 (cd findutils && \
14172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14174 "RANLIB=$${RANLIB}" \
14175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14176 distclean) \
14177 || exit 1
14180 .PHONY: maybe-distclean-find distclean-find
14181 maybe-distclean-find:
14183 distclean-find:
14184 @[ -f ./find/Makefile ] || exit 0; \
14185 r=`${PWD}`; export r; \
14186 s=`cd $(srcdir); ${PWD}`; export s; \
14187 $(SET_LIB_PATH) \
14188 for flag in $(EXTRA_HOST_FLAGS); do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190 done; \
14191 echo "Doing distclean in find" ; \
14192 (cd find && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14197 distclean) \
14198 || exit 1
14201 .PHONY: maybe-distclean-flex distclean-flex
14202 maybe-distclean-flex:
14204 distclean-flex:
14205 @[ -f ./flex/Makefile ] || exit 0; \
14206 r=`${PWD}`; export r; \
14207 s=`cd $(srcdir); ${PWD}`; export s; \
14208 $(SET_LIB_PATH) \
14209 for flag in $(EXTRA_HOST_FLAGS); do \
14210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14211 done; \
14212 echo "Doing distclean in flex" ; \
14213 (cd flex && \
14214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14216 "RANLIB=$${RANLIB}" \
14217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14218 distclean) \
14219 || exit 1
14222 .PHONY: maybe-distclean-gas distclean-gas
14223 maybe-distclean-gas:
14225 distclean-gas:
14226 @[ -f ./gas/Makefile ] || exit 0; \
14227 r=`${PWD}`; export r; \
14228 s=`cd $(srcdir); ${PWD}`; export s; \
14229 $(SET_LIB_PATH) \
14230 for flag in $(EXTRA_HOST_FLAGS); do \
14231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14232 done; \
14233 echo "Doing distclean in gas" ; \
14234 (cd gas && \
14235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14237 "RANLIB=$${RANLIB}" \
14238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14239 distclean) \
14240 || exit 1
14243 .PHONY: maybe-distclean-gawk distclean-gawk
14244 maybe-distclean-gawk:
14246 distclean-gawk:
14247 @[ -f ./gawk/Makefile ] || exit 0; \
14248 r=`${PWD}`; export r; \
14249 s=`cd $(srcdir); ${PWD}`; export s; \
14250 $(SET_LIB_PATH) \
14251 for flag in $(EXTRA_HOST_FLAGS); do \
14252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14253 done; \
14254 echo "Doing distclean in gawk" ; \
14255 (cd gawk && \
14256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14258 "RANLIB=$${RANLIB}" \
14259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14260 distclean) \
14261 || exit 1
14264 .PHONY: maybe-distclean-gettext distclean-gettext
14265 maybe-distclean-gettext:
14267 distclean-gettext:
14268 @[ -f ./gettext/Makefile ] || exit 0; \
14269 r=`${PWD}`; export r; \
14270 s=`cd $(srcdir); ${PWD}`; export s; \
14271 $(SET_LIB_PATH) \
14272 for flag in $(EXTRA_HOST_FLAGS); do \
14273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14274 done; \
14275 echo "Doing distclean in gettext" ; \
14276 (cd gettext && \
14277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14279 "RANLIB=$${RANLIB}" \
14280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14281 distclean) \
14282 || exit 1
14285 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14286 maybe-distclean-gnuserv:
14288 distclean-gnuserv:
14289 @[ -f ./gnuserv/Makefile ] || exit 0; \
14290 r=`${PWD}`; export r; \
14291 s=`cd $(srcdir); ${PWD}`; export s; \
14292 $(SET_LIB_PATH) \
14293 for flag in $(EXTRA_HOST_FLAGS); do \
14294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14295 done; \
14296 echo "Doing distclean in gnuserv" ; \
14297 (cd gnuserv && \
14298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14300 "RANLIB=$${RANLIB}" \
14301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14302 distclean) \
14303 || exit 1
14306 .PHONY: maybe-distclean-gprof distclean-gprof
14307 maybe-distclean-gprof:
14309 distclean-gprof:
14310 @[ -f ./gprof/Makefile ] || exit 0; \
14311 r=`${PWD}`; export r; \
14312 s=`cd $(srcdir); ${PWD}`; export s; \
14313 $(SET_LIB_PATH) \
14314 for flag in $(EXTRA_HOST_FLAGS); do \
14315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14316 done; \
14317 echo "Doing distclean in gprof" ; \
14318 (cd gprof && \
14319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14321 "RANLIB=$${RANLIB}" \
14322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14323 distclean) \
14324 || exit 1
14327 .PHONY: maybe-distclean-gzip distclean-gzip
14328 maybe-distclean-gzip:
14330 distclean-gzip:
14331 @[ -f ./gzip/Makefile ] || exit 0; \
14332 r=`${PWD}`; export r; \
14333 s=`cd $(srcdir); ${PWD}`; export s; \
14334 $(SET_LIB_PATH) \
14335 for flag in $(EXTRA_HOST_FLAGS); do \
14336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14337 done; \
14338 echo "Doing distclean in gzip" ; \
14339 (cd gzip && \
14340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14342 "RANLIB=$${RANLIB}" \
14343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14344 distclean) \
14345 || exit 1
14348 .PHONY: maybe-distclean-hello distclean-hello
14349 maybe-distclean-hello:
14351 distclean-hello:
14352 @[ -f ./hello/Makefile ] || exit 0; \
14353 r=`${PWD}`; export r; \
14354 s=`cd $(srcdir); ${PWD}`; export s; \
14355 $(SET_LIB_PATH) \
14356 for flag in $(EXTRA_HOST_FLAGS); do \
14357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14358 done; \
14359 echo "Doing distclean in hello" ; \
14360 (cd hello && \
14361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14363 "RANLIB=$${RANLIB}" \
14364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14365 distclean) \
14366 || exit 1
14369 .PHONY: maybe-distclean-indent distclean-indent
14370 maybe-distclean-indent:
14372 distclean-indent:
14373 @[ -f ./indent/Makefile ] || exit 0; \
14374 r=`${PWD}`; export r; \
14375 s=`cd $(srcdir); ${PWD}`; export s; \
14376 $(SET_LIB_PATH) \
14377 for flag in $(EXTRA_HOST_FLAGS); do \
14378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14379 done; \
14380 echo "Doing distclean in indent" ; \
14381 (cd indent && \
14382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14384 "RANLIB=$${RANLIB}" \
14385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14386 distclean) \
14387 || exit 1
14390 .PHONY: maybe-distclean-intl distclean-intl
14391 maybe-distclean-intl:
14393 distclean-intl:
14394 @[ -f ./intl/Makefile ] || exit 0; \
14395 r=`${PWD}`; export r; \
14396 s=`cd $(srcdir); ${PWD}`; export s; \
14397 $(SET_LIB_PATH) \
14398 for flag in $(EXTRA_HOST_FLAGS); do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing distclean in intl" ; \
14402 (cd intl && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 distclean) \
14408 || exit 1
14411 .PHONY: maybe-distclean-tcl distclean-tcl
14412 maybe-distclean-tcl:
14414 distclean-tcl:
14415 @[ -f ./tcl/Makefile ] || exit 0; \
14416 r=`${PWD}`; export r; \
14417 s=`cd $(srcdir); ${PWD}`; export s; \
14418 $(SET_LIB_PATH) \
14419 for flag in $(EXTRA_HOST_FLAGS); do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing distclean in tcl" ; \
14423 (cd tcl && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 distclean) \
14429 || exit 1
14432 .PHONY: maybe-distclean-itcl distclean-itcl
14433 maybe-distclean-itcl:
14435 distclean-itcl:
14436 @[ -f ./itcl/Makefile ] || exit 0; \
14437 r=`${PWD}`; export r; \
14438 s=`cd $(srcdir); ${PWD}`; export s; \
14439 $(SET_LIB_PATH) \
14440 for flag in $(EXTRA_HOST_FLAGS); do \
14441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14442 done; \
14443 echo "Doing distclean in itcl" ; \
14444 (cd itcl && \
14445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14447 "RANLIB=$${RANLIB}" \
14448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14449 distclean) \
14450 || exit 1
14453 .PHONY: maybe-distclean-ld distclean-ld
14454 maybe-distclean-ld:
14456 distclean-ld:
14457 @[ -f ./ld/Makefile ] || exit 0; \
14458 r=`${PWD}`; export r; \
14459 s=`cd $(srcdir); ${PWD}`; export s; \
14460 $(SET_LIB_PATH) \
14461 for flag in $(EXTRA_HOST_FLAGS); do \
14462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14463 done; \
14464 echo "Doing distclean in ld" ; \
14465 (cd ld && \
14466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14468 "RANLIB=$${RANLIB}" \
14469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14470 distclean) \
14471 || exit 1
14474 .PHONY: maybe-distclean-libgui distclean-libgui
14475 maybe-distclean-libgui:
14477 distclean-libgui:
14478 @[ -f ./libgui/Makefile ] || exit 0; \
14479 r=`${PWD}`; export r; \
14480 s=`cd $(srcdir); ${PWD}`; export s; \
14481 $(SET_LIB_PATH) \
14482 for flag in $(EXTRA_HOST_FLAGS); do \
14483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14484 done; \
14485 echo "Doing distclean in libgui" ; \
14486 (cd libgui && \
14487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14489 "RANLIB=$${RANLIB}" \
14490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14491 distclean) \
14492 || exit 1
14495 .PHONY: maybe-distclean-libiberty distclean-libiberty
14496 maybe-distclean-libiberty:
14498 distclean-libiberty:
14499 @[ -f ./libiberty/Makefile ] || exit 0; \
14500 r=`${PWD}`; export r; \
14501 s=`cd $(srcdir); ${PWD}`; export s; \
14502 $(SET_LIB_PATH) \
14503 for flag in $(EXTRA_HOST_FLAGS); do \
14504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14505 done; \
14506 echo "Doing distclean in libiberty" ; \
14507 (cd libiberty && \
14508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14510 "RANLIB=$${RANLIB}" \
14511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14512 distclean) \
14513 || exit 1
14516 .PHONY: maybe-distclean-libtool distclean-libtool
14517 maybe-distclean-libtool:
14519 distclean-libtool:
14520 @[ -f ./libtool/Makefile ] || exit 0; \
14521 r=`${PWD}`; export r; \
14522 s=`cd $(srcdir); ${PWD}`; export s; \
14523 $(SET_LIB_PATH) \
14524 for flag in $(EXTRA_HOST_FLAGS); do \
14525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14526 done; \
14527 echo "Doing distclean in libtool" ; \
14528 (cd libtool && \
14529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531 "RANLIB=$${RANLIB}" \
14532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14533 distclean) \
14534 || exit 1
14537 .PHONY: maybe-distclean-m4 distclean-m4
14538 maybe-distclean-m4:
14540 distclean-m4:
14541 @[ -f ./m4/Makefile ] || exit 0; \
14542 r=`${PWD}`; export r; \
14543 s=`cd $(srcdir); ${PWD}`; export s; \
14544 $(SET_LIB_PATH) \
14545 for flag in $(EXTRA_HOST_FLAGS); do \
14546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14547 done; \
14548 echo "Doing distclean in m4" ; \
14549 (cd m4 && \
14550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14552 "RANLIB=$${RANLIB}" \
14553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14554 distclean) \
14555 || exit 1
14558 .PHONY: maybe-distclean-make distclean-make
14559 maybe-distclean-make:
14561 distclean-make:
14562 @[ -f ./make/Makefile ] || exit 0; \
14563 r=`${PWD}`; export r; \
14564 s=`cd $(srcdir); ${PWD}`; export s; \
14565 $(SET_LIB_PATH) \
14566 for flag in $(EXTRA_HOST_FLAGS); do \
14567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14568 done; \
14569 echo "Doing distclean in make" ; \
14570 (cd make && \
14571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14573 "RANLIB=$${RANLIB}" \
14574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14575 distclean) \
14576 || exit 1
14579 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14580 maybe-distclean-mmalloc:
14582 distclean-mmalloc:
14583 @[ -f ./mmalloc/Makefile ] || exit 0; \
14584 r=`${PWD}`; export r; \
14585 s=`cd $(srcdir); ${PWD}`; export s; \
14586 $(SET_LIB_PATH) \
14587 for flag in $(EXTRA_HOST_FLAGS); do \
14588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14589 done; \
14590 echo "Doing distclean in mmalloc" ; \
14591 (cd mmalloc && \
14592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14594 "RANLIB=$${RANLIB}" \
14595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14596 distclean) \
14597 || exit 1
14600 .PHONY: maybe-distclean-patch distclean-patch
14601 maybe-distclean-patch:
14603 distclean-patch:
14604 @[ -f ./patch/Makefile ] || exit 0; \
14605 r=`${PWD}`; export r; \
14606 s=`cd $(srcdir); ${PWD}`; export s; \
14607 $(SET_LIB_PATH) \
14608 for flag in $(EXTRA_HOST_FLAGS); do \
14609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14610 done; \
14611 echo "Doing distclean in patch" ; \
14612 (cd patch && \
14613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14615 "RANLIB=$${RANLIB}" \
14616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14617 distclean) \
14618 || exit 1
14621 .PHONY: maybe-distclean-perl distclean-perl
14622 maybe-distclean-perl:
14624 distclean-perl:
14625 @[ -f ./perl/Makefile ] || exit 0; \
14626 r=`${PWD}`; export r; \
14627 s=`cd $(srcdir); ${PWD}`; export s; \
14628 $(SET_LIB_PATH) \
14629 for flag in $(EXTRA_HOST_FLAGS); do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 done; \
14632 echo "Doing distclean in perl" ; \
14633 (cd perl && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14638 distclean) \
14639 || exit 1
14642 .PHONY: maybe-distclean-prms distclean-prms
14643 maybe-distclean-prms:
14645 distclean-prms:
14646 @[ -f ./prms/Makefile ] || exit 0; \
14647 r=`${PWD}`; export r; \
14648 s=`cd $(srcdir); ${PWD}`; export s; \
14649 $(SET_LIB_PATH) \
14650 for flag in $(EXTRA_HOST_FLAGS); do \
14651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14652 done; \
14653 echo "Doing distclean in prms" ; \
14654 (cd prms && \
14655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14657 "RANLIB=$${RANLIB}" \
14658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14659 distclean) \
14660 || exit 1
14663 .PHONY: maybe-distclean-rcs distclean-rcs
14664 maybe-distclean-rcs:
14666 distclean-rcs:
14667 @[ -f ./rcs/Makefile ] || exit 0; \
14668 r=`${PWD}`; export r; \
14669 s=`cd $(srcdir); ${PWD}`; export s; \
14670 $(SET_LIB_PATH) \
14671 for flag in $(EXTRA_HOST_FLAGS); do \
14672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14673 done; \
14674 echo "Doing distclean in rcs" ; \
14675 (cd rcs && \
14676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14678 "RANLIB=$${RANLIB}" \
14679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14680 distclean) \
14681 || exit 1
14684 .PHONY: maybe-distclean-readline distclean-readline
14685 maybe-distclean-readline:
14687 distclean-readline:
14688 @[ -f ./readline/Makefile ] || exit 0; \
14689 r=`${PWD}`; export r; \
14690 s=`cd $(srcdir); ${PWD}`; export s; \
14691 $(SET_LIB_PATH) \
14692 for flag in $(EXTRA_HOST_FLAGS); do \
14693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14694 done; \
14695 echo "Doing distclean in readline" ; \
14696 (cd readline && \
14697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14699 "RANLIB=$${RANLIB}" \
14700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14701 distclean) \
14702 || exit 1
14705 .PHONY: maybe-distclean-release distclean-release
14706 maybe-distclean-release:
14708 distclean-release:
14709 @[ -f ./release/Makefile ] || exit 0; \
14710 r=`${PWD}`; export r; \
14711 s=`cd $(srcdir); ${PWD}`; export s; \
14712 $(SET_LIB_PATH) \
14713 for flag in $(EXTRA_HOST_FLAGS); do \
14714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14715 done; \
14716 echo "Doing distclean in release" ; \
14717 (cd release && \
14718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14720 "RANLIB=$${RANLIB}" \
14721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14722 distclean) \
14723 || exit 1
14726 .PHONY: maybe-distclean-recode distclean-recode
14727 maybe-distclean-recode:
14729 distclean-recode:
14730 @[ -f ./recode/Makefile ] || exit 0; \
14731 r=`${PWD}`; export r; \
14732 s=`cd $(srcdir); ${PWD}`; export s; \
14733 $(SET_LIB_PATH) \
14734 for flag in $(EXTRA_HOST_FLAGS); do \
14735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14736 done; \
14737 echo "Doing distclean in recode" ; \
14738 (cd recode && \
14739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14741 "RANLIB=$${RANLIB}" \
14742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14743 distclean) \
14744 || exit 1
14747 .PHONY: maybe-distclean-sed distclean-sed
14748 maybe-distclean-sed:
14750 distclean-sed:
14751 @[ -f ./sed/Makefile ] || exit 0; \
14752 r=`${PWD}`; export r; \
14753 s=`cd $(srcdir); ${PWD}`; export s; \
14754 $(SET_LIB_PATH) \
14755 for flag in $(EXTRA_HOST_FLAGS); do \
14756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14757 done; \
14758 echo "Doing distclean in sed" ; \
14759 (cd sed && \
14760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14762 "RANLIB=$${RANLIB}" \
14763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14764 distclean) \
14765 || exit 1
14768 .PHONY: maybe-distclean-send-pr distclean-send-pr
14769 maybe-distclean-send-pr:
14771 distclean-send-pr:
14772 @[ -f ./send-pr/Makefile ] || exit 0; \
14773 r=`${PWD}`; export r; \
14774 s=`cd $(srcdir); ${PWD}`; export s; \
14775 $(SET_LIB_PATH) \
14776 for flag in $(EXTRA_HOST_FLAGS); do \
14777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14778 done; \
14779 echo "Doing distclean in send-pr" ; \
14780 (cd send-pr && \
14781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14783 "RANLIB=$${RANLIB}" \
14784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14785 distclean) \
14786 || exit 1
14789 .PHONY: maybe-distclean-shellutils distclean-shellutils
14790 maybe-distclean-shellutils:
14792 distclean-shellutils:
14793 @[ -f ./shellutils/Makefile ] || exit 0; \
14794 r=`${PWD}`; export r; \
14795 s=`cd $(srcdir); ${PWD}`; export s; \
14796 $(SET_LIB_PATH) \
14797 for flag in $(EXTRA_HOST_FLAGS); do \
14798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14799 done; \
14800 echo "Doing distclean in shellutils" ; \
14801 (cd shellutils && \
14802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14804 "RANLIB=$${RANLIB}" \
14805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14806 distclean) \
14807 || exit 1
14810 .PHONY: maybe-distclean-sid distclean-sid
14811 maybe-distclean-sid:
14813 distclean-sid:
14814 @[ -f ./sid/Makefile ] || exit 0; \
14815 r=`${PWD}`; export r; \
14816 s=`cd $(srcdir); ${PWD}`; export s; \
14817 $(SET_LIB_PATH) \
14818 for flag in $(EXTRA_HOST_FLAGS); do \
14819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14820 done; \
14821 echo "Doing distclean in sid" ; \
14822 (cd sid && \
14823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14825 "RANLIB=$${RANLIB}" \
14826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14827 distclean) \
14828 || exit 1
14831 .PHONY: maybe-distclean-sim distclean-sim
14832 maybe-distclean-sim:
14834 distclean-sim:
14835 @[ -f ./sim/Makefile ] || exit 0; \
14836 r=`${PWD}`; export r; \
14837 s=`cd $(srcdir); ${PWD}`; export s; \
14838 $(SET_LIB_PATH) \
14839 for flag in $(EXTRA_HOST_FLAGS); do \
14840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14841 done; \
14842 echo "Doing distclean in sim" ; \
14843 (cd sim && \
14844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14846 "RANLIB=$${RANLIB}" \
14847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14848 distclean) \
14849 || exit 1
14852 .PHONY: maybe-distclean-tar distclean-tar
14853 maybe-distclean-tar:
14855 distclean-tar:
14856 @[ -f ./tar/Makefile ] || exit 0; \
14857 r=`${PWD}`; export r; \
14858 s=`cd $(srcdir); ${PWD}`; export s; \
14859 $(SET_LIB_PATH) \
14860 for flag in $(EXTRA_HOST_FLAGS); do \
14861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14862 done; \
14863 echo "Doing distclean in tar" ; \
14864 (cd tar && \
14865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14867 "RANLIB=$${RANLIB}" \
14868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14869 distclean) \
14870 || exit 1
14873 .PHONY: maybe-distclean-texinfo distclean-texinfo
14874 maybe-distclean-texinfo:
14876 distclean-texinfo:
14877 @[ -f ./texinfo/Makefile ] || exit 0; \
14878 r=`${PWD}`; export r; \
14879 s=`cd $(srcdir); ${PWD}`; export s; \
14880 $(SET_LIB_PATH) \
14881 for flag in $(EXTRA_HOST_FLAGS); do \
14882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14883 done; \
14884 echo "Doing distclean in texinfo" ; \
14885 (cd texinfo && \
14886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14888 "RANLIB=$${RANLIB}" \
14889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14890 distclean) \
14891 || exit 1
14894 .PHONY: maybe-distclean-textutils distclean-textutils
14895 maybe-distclean-textutils:
14897 distclean-textutils:
14898 @[ -f ./textutils/Makefile ] || exit 0; \
14899 r=`${PWD}`; export r; \
14900 s=`cd $(srcdir); ${PWD}`; export s; \
14901 $(SET_LIB_PATH) \
14902 for flag in $(EXTRA_HOST_FLAGS); do \
14903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14904 done; \
14905 echo "Doing distclean in textutils" ; \
14906 (cd textutils && \
14907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14909 "RANLIB=$${RANLIB}" \
14910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14911 distclean) \
14912 || exit 1
14915 .PHONY: maybe-distclean-time distclean-time
14916 maybe-distclean-time:
14918 distclean-time:
14919 @[ -f ./time/Makefile ] || exit 0; \
14920 r=`${PWD}`; export r; \
14921 s=`cd $(srcdir); ${PWD}`; export s; \
14922 $(SET_LIB_PATH) \
14923 for flag in $(EXTRA_HOST_FLAGS); do \
14924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14925 done; \
14926 echo "Doing distclean in time" ; \
14927 (cd time && \
14928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14930 "RANLIB=$${RANLIB}" \
14931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14932 distclean) \
14933 || exit 1
14936 .PHONY: maybe-distclean-uudecode distclean-uudecode
14937 maybe-distclean-uudecode:
14939 distclean-uudecode:
14940 @[ -f ./uudecode/Makefile ] || exit 0; \
14941 r=`${PWD}`; export r; \
14942 s=`cd $(srcdir); ${PWD}`; export s; \
14943 $(SET_LIB_PATH) \
14944 for flag in $(EXTRA_HOST_FLAGS); do \
14945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14946 done; \
14947 echo "Doing distclean in uudecode" ; \
14948 (cd uudecode && \
14949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14951 "RANLIB=$${RANLIB}" \
14952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14953 distclean) \
14954 || exit 1
14957 .PHONY: maybe-distclean-wdiff distclean-wdiff
14958 maybe-distclean-wdiff:
14960 distclean-wdiff:
14961 @[ -f ./wdiff/Makefile ] || exit 0; \
14962 r=`${PWD}`; export r; \
14963 s=`cd $(srcdir); ${PWD}`; export s; \
14964 $(SET_LIB_PATH) \
14965 for flag in $(EXTRA_HOST_FLAGS); do \
14966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14967 done; \
14968 echo "Doing distclean in wdiff" ; \
14969 (cd wdiff && \
14970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14972 "RANLIB=$${RANLIB}" \
14973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14974 distclean) \
14975 || exit 1
14978 .PHONY: maybe-distclean-zip distclean-zip
14979 maybe-distclean-zip:
14981 distclean-zip:
14982 @[ -f ./zip/Makefile ] || exit 0; \
14983 r=`${PWD}`; export r; \
14984 s=`cd $(srcdir); ${PWD}`; export s; \
14985 $(SET_LIB_PATH) \
14986 for flag in $(EXTRA_HOST_FLAGS); do \
14987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14988 done; \
14989 echo "Doing distclean in zip" ; \
14990 (cd zip && \
14991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14993 "RANLIB=$${RANLIB}" \
14994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14995 distclean) \
14996 || exit 1
14999 .PHONY: maybe-distclean-zlib distclean-zlib
15000 maybe-distclean-zlib:
15002 distclean-zlib:
15003 @[ -f ./zlib/Makefile ] || exit 0; \
15004 r=`${PWD}`; export r; \
15005 s=`cd $(srcdir); ${PWD}`; export s; \
15006 $(SET_LIB_PATH) \
15007 for flag in $(EXTRA_HOST_FLAGS); do \
15008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15009 done; \
15010 echo "Doing distclean in zlib" ; \
15011 (cd zlib && \
15012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15014 "RANLIB=$${RANLIB}" \
15015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15016 distclean) \
15017 || exit 1
15020 .PHONY: maybe-distclean-gdb distclean-gdb
15021 maybe-distclean-gdb:
15023 distclean-gdb:
15024 @[ -f ./gdb/Makefile ] || exit 0; \
15025 r=`${PWD}`; export r; \
15026 s=`cd $(srcdir); ${PWD}`; export s; \
15027 $(SET_LIB_PATH) \
15028 for flag in $(EXTRA_HOST_FLAGS); do \
15029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15030 done; \
15031 echo "Doing distclean in gdb" ; \
15032 (cd gdb && \
15033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15035 "RANLIB=$${RANLIB}" \
15036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15037 distclean) \
15038 || exit 1
15041 .PHONY: maybe-distclean-expect distclean-expect
15042 maybe-distclean-expect:
15044 distclean-expect:
15045 @[ -f ./expect/Makefile ] || exit 0; \
15046 r=`${PWD}`; export r; \
15047 s=`cd $(srcdir); ${PWD}`; export s; \
15048 $(SET_LIB_PATH) \
15049 for flag in $(EXTRA_HOST_FLAGS); do \
15050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15051 done; \
15052 echo "Doing distclean in expect" ; \
15053 (cd expect && \
15054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15056 "RANLIB=$${RANLIB}" \
15057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15058 distclean) \
15059 || exit 1
15062 .PHONY: maybe-distclean-guile distclean-guile
15063 maybe-distclean-guile:
15065 distclean-guile:
15066 @[ -f ./guile/Makefile ] || exit 0; \
15067 r=`${PWD}`; export r; \
15068 s=`cd $(srcdir); ${PWD}`; export s; \
15069 $(SET_LIB_PATH) \
15070 for flag in $(EXTRA_HOST_FLAGS); do \
15071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 done; \
15073 echo "Doing distclean in guile" ; \
15074 (cd guile && \
15075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15077 "RANLIB=$${RANLIB}" \
15078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15079 distclean) \
15080 || exit 1
15083 .PHONY: maybe-distclean-tk distclean-tk
15084 maybe-distclean-tk:
15086 distclean-tk:
15087 @[ -f ./tk/Makefile ] || exit 0; \
15088 r=`${PWD}`; export r; \
15089 s=`cd $(srcdir); ${PWD}`; export s; \
15090 $(SET_LIB_PATH) \
15091 for flag in $(EXTRA_HOST_FLAGS); do \
15092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15093 done; \
15094 echo "Doing distclean in tk" ; \
15095 (cd tk && \
15096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15098 "RANLIB=$${RANLIB}" \
15099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15100 distclean) \
15101 || exit 1
15104 .PHONY: maybe-distclean-tix distclean-tix
15105 maybe-distclean-tix:
15107 distclean-tix:
15108 @[ -f ./tix/Makefile ] || exit 0; \
15109 r=`${PWD}`; export r; \
15110 s=`cd $(srcdir); ${PWD}`; export s; \
15111 $(SET_LIB_PATH) \
15112 for flag in $(EXTRA_HOST_FLAGS); do \
15113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15114 done; \
15115 echo "Doing distclean in tix" ; \
15116 (cd tix && \
15117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15119 "RANLIB=$${RANLIB}" \
15120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15121 distclean) \
15122 || exit 1
15125 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
15126 maybe-distclean-libtermcap:
15128 # libtermcap doesn't support distclean.
15129 distclean-libtermcap:
15132 .PHONY: maybe-distclean-utils distclean-utils
15133 maybe-distclean-utils:
15135 distclean-utils:
15136 @[ -f ./utils/Makefile ] || exit 0; \
15137 r=`${PWD}`; export r; \
15138 s=`cd $(srcdir); ${PWD}`; export s; \
15139 $(SET_LIB_PATH) \
15140 for flag in $(EXTRA_HOST_FLAGS); do \
15141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15142 done; \
15143 echo "Doing distclean in utils" ; \
15144 (cd utils && \
15145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15147 "RANLIB=$${RANLIB}" \
15148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15149 distclean) \
15150 || exit 1
15154 # Target modules.
15156 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
15157 maybe-distclean-target-libstdc++-v3:
15159 distclean-target-libstdc++-v3:
15160 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
15161 r=`${PWD}`; export r; \
15162 s=`cd $(srcdir); ${PWD}`; export s; \
15163 $(SET_LIB_PATH) \
15164 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
15165 for flag in $(EXTRA_TARGET_FLAGS); do \
15166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15167 done; \
15168 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
15169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15171 "RANLIB=$${RANLIB}" \
15172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15173 distclean) \
15174 || exit 1
15177 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
15178 maybe-distclean-target-newlib:
15180 distclean-target-newlib:
15181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
15182 r=`${PWD}`; export r; \
15183 s=`cd $(srcdir); ${PWD}`; export s; \
15184 $(SET_LIB_PATH) \
15185 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
15186 for flag in $(EXTRA_TARGET_FLAGS); do \
15187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15188 done; \
15189 (cd $(TARGET_SUBDIR)/newlib && \
15190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192 "RANLIB=$${RANLIB}" \
15193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15194 distclean) \
15195 || exit 1
15198 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
15199 maybe-distclean-target-libf2c:
15201 distclean-target-libf2c:
15202 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
15203 r=`${PWD}`; export r; \
15204 s=`cd $(srcdir); ${PWD}`; export s; \
15205 $(SET_LIB_PATH) \
15206 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
15207 for flag in $(EXTRA_TARGET_FLAGS); do \
15208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15209 done; \
15210 (cd $(TARGET_SUBDIR)/libf2c && \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15213 "RANLIB=$${RANLIB}" \
15214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15215 distclean) \
15216 || exit 1
15219 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
15220 maybe-distclean-target-libobjc:
15222 distclean-target-libobjc:
15223 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
15224 r=`${PWD}`; export r; \
15225 s=`cd $(srcdir); ${PWD}`; export s; \
15226 $(SET_LIB_PATH) \
15227 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
15228 for flag in $(EXTRA_TARGET_FLAGS); do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 done; \
15231 (cd $(TARGET_SUBDIR)/libobjc && \
15232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15234 "RANLIB=$${RANLIB}" \
15235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15236 distclean) \
15237 || exit 1
15240 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
15241 maybe-distclean-target-libtermcap:
15243 # libtermcap doesn't support distclean.
15244 distclean-libtermcap:
15247 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
15248 maybe-distclean-target-winsup:
15250 distclean-target-winsup:
15251 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
15252 r=`${PWD}`; export r; \
15253 s=`cd $(srcdir); ${PWD}`; export s; \
15254 $(SET_LIB_PATH) \
15255 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
15256 for flag in $(EXTRA_TARGET_FLAGS); do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 done; \
15259 (cd $(TARGET_SUBDIR)/winsup && \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15264 distclean) \
15265 || exit 1
15268 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
15269 maybe-distclean-target-libgloss:
15271 distclean-target-libgloss:
15272 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
15273 r=`${PWD}`; export r; \
15274 s=`cd $(srcdir); ${PWD}`; export s; \
15275 $(SET_LIB_PATH) \
15276 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
15277 for flag in $(EXTRA_TARGET_FLAGS); do \
15278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15279 done; \
15280 (cd $(TARGET_SUBDIR)/libgloss && \
15281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15283 "RANLIB=$${RANLIB}" \
15284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15285 distclean) \
15286 || exit 1
15289 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
15290 maybe-distclean-target-libiberty:
15292 distclean-target-libiberty:
15293 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
15294 r=`${PWD}`; export r; \
15295 s=`cd $(srcdir); ${PWD}`; export s; \
15296 $(SET_LIB_PATH) \
15297 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
15298 for flag in $(EXTRA_TARGET_FLAGS); do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 (cd $(TARGET_SUBDIR)/libiberty && \
15302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15304 "RANLIB=$${RANLIB}" \
15305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15306 distclean) \
15307 || exit 1
15310 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
15311 maybe-distclean-target-gperf:
15313 distclean-target-gperf:
15314 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
15315 r=`${PWD}`; export r; \
15316 s=`cd $(srcdir); ${PWD}`; export s; \
15317 $(SET_LIB_PATH) \
15318 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
15319 for flag in $(EXTRA_TARGET_FLAGS); do \
15320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15321 done; \
15322 (cd $(TARGET_SUBDIR)/gperf && \
15323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15325 "RANLIB=$${RANLIB}" \
15326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15327 distclean) \
15328 || exit 1
15331 .PHONY: maybe-distclean-target-examples distclean-target-examples
15332 maybe-distclean-target-examples:
15334 distclean-target-examples:
15335 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
15336 r=`${PWD}`; export r; \
15337 s=`cd $(srcdir); ${PWD}`; export s; \
15338 $(SET_LIB_PATH) \
15339 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
15340 for flag in $(EXTRA_TARGET_FLAGS); do \
15341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15342 done; \
15343 (cd $(TARGET_SUBDIR)/examples && \
15344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15346 "RANLIB=$${RANLIB}" \
15347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15348 distclean) \
15349 || exit 1
15352 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
15353 maybe-distclean-target-libffi:
15355 distclean-target-libffi:
15356 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
15357 r=`${PWD}`; export r; \
15358 s=`cd $(srcdir); ${PWD}`; export s; \
15359 $(SET_LIB_PATH) \
15360 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
15361 for flag in $(EXTRA_TARGET_FLAGS); do \
15362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15363 done; \
15364 (cd $(TARGET_SUBDIR)/libffi && \
15365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15367 "RANLIB=$${RANLIB}" \
15368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15369 distclean) \
15370 || exit 1
15373 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
15374 maybe-distclean-target-libjava:
15376 distclean-target-libjava:
15377 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
15378 r=`${PWD}`; export r; \
15379 s=`cd $(srcdir); ${PWD}`; export s; \
15380 $(SET_LIB_PATH) \
15381 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
15382 for flag in $(EXTRA_TARGET_FLAGS); do \
15383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15384 done; \
15385 (cd $(TARGET_SUBDIR)/libjava && \
15386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15388 "RANLIB=$${RANLIB}" \
15389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15390 distclean) \
15391 || exit 1
15394 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
15395 maybe-distclean-target-zlib:
15397 distclean-target-zlib:
15398 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
15399 r=`${PWD}`; export r; \
15400 s=`cd $(srcdir); ${PWD}`; export s; \
15401 $(SET_LIB_PATH) \
15402 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
15403 for flag in $(EXTRA_TARGET_FLAGS); do \
15404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15405 done; \
15406 (cd $(TARGET_SUBDIR)/zlib && \
15407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15409 "RANLIB=$${RANLIB}" \
15410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15411 distclean) \
15412 || exit 1
15415 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
15416 maybe-distclean-target-boehm-gc:
15418 distclean-target-boehm-gc:
15419 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
15420 r=`${PWD}`; export r; \
15421 s=`cd $(srcdir); ${PWD}`; export s; \
15422 $(SET_LIB_PATH) \
15423 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
15424 for flag in $(EXTRA_TARGET_FLAGS); do \
15425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15426 done; \
15427 (cd $(TARGET_SUBDIR)/boehm-gc && \
15428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15430 "RANLIB=$${RANLIB}" \
15431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15432 distclean) \
15433 || exit 1
15436 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
15437 maybe-distclean-target-qthreads:
15439 distclean-target-qthreads:
15440 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
15441 r=`${PWD}`; export r; \
15442 s=`cd $(srcdir); ${PWD}`; export s; \
15443 $(SET_LIB_PATH) \
15444 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
15445 for flag in $(EXTRA_TARGET_FLAGS); do \
15446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15447 done; \
15448 (cd $(TARGET_SUBDIR)/qthreads && \
15449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15451 "RANLIB=$${RANLIB}" \
15452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15453 distclean) \
15454 || exit 1
15457 .PHONY: maybe-distclean-target-rda distclean-target-rda
15458 maybe-distclean-target-rda:
15460 distclean-target-rda:
15461 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
15462 r=`${PWD}`; export r; \
15463 s=`cd $(srcdir); ${PWD}`; export s; \
15464 $(SET_LIB_PATH) \
15465 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
15466 for flag in $(EXTRA_TARGET_FLAGS); do \
15467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15468 done; \
15469 (cd $(TARGET_SUBDIR)/rda && \
15470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15472 "RANLIB=$${RANLIB}" \
15473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15474 distclean) \
15475 || exit 1
15479 .PHONY: do-maintainer-clean
15480 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
15482 .PHONY: maintainer-clean-host
15483 maintainer-clean-host: maybe-maintainer-clean-gcc \
15484 maybe-maintainer-clean-ash \
15485 maybe-maintainer-clean-autoconf \
15486 maybe-maintainer-clean-automake \
15487 maybe-maintainer-clean-bash \
15488 maybe-maintainer-clean-bfd \
15489 maybe-maintainer-clean-opcodes \
15490 maybe-maintainer-clean-binutils \
15491 maybe-maintainer-clean-bison \
15492 maybe-maintainer-clean-byacc \
15493 maybe-maintainer-clean-bzip2 \
15494 maybe-maintainer-clean-dejagnu \
15495 maybe-maintainer-clean-diff \
15496 maybe-maintainer-clean-dosutils \
15497 maybe-maintainer-clean-etc \
15498 maybe-maintainer-clean-fastjar \
15499 maybe-maintainer-clean-fileutils \
15500 maybe-maintainer-clean-findutils \
15501 maybe-maintainer-clean-find \
15502 maybe-maintainer-clean-flex \
15503 maybe-maintainer-clean-gas \
15504 maybe-maintainer-clean-gawk \
15505 maybe-maintainer-clean-gettext \
15506 maybe-maintainer-clean-gnuserv \
15507 maybe-maintainer-clean-gprof \
15508 maybe-maintainer-clean-gzip \
15509 maybe-maintainer-clean-hello \
15510 maybe-maintainer-clean-indent \
15511 maybe-maintainer-clean-intl \
15512 maybe-maintainer-clean-tcl \
15513 maybe-maintainer-clean-itcl \
15514 maybe-maintainer-clean-ld \
15515 maybe-maintainer-clean-libgui \
15516 maybe-maintainer-clean-libiberty \
15517 maybe-maintainer-clean-libtool \
15518 maybe-maintainer-clean-m4 \
15519 maybe-maintainer-clean-make \
15520 maybe-maintainer-clean-mmalloc \
15521 maybe-maintainer-clean-patch \
15522 maybe-maintainer-clean-perl \
15523 maybe-maintainer-clean-prms \
15524 maybe-maintainer-clean-rcs \
15525 maybe-maintainer-clean-readline \
15526 maybe-maintainer-clean-release \
15527 maybe-maintainer-clean-recode \
15528 maybe-maintainer-clean-sed \
15529 maybe-maintainer-clean-send-pr \
15530 maybe-maintainer-clean-shellutils \
15531 maybe-maintainer-clean-sid \
15532 maybe-maintainer-clean-sim \
15533 maybe-maintainer-clean-tar \
15534 maybe-maintainer-clean-texinfo \
15535 maybe-maintainer-clean-textutils \
15536 maybe-maintainer-clean-time \
15537 maybe-maintainer-clean-uudecode \
15538 maybe-maintainer-clean-wdiff \
15539 maybe-maintainer-clean-zip \
15540 maybe-maintainer-clean-zlib \
15541 maybe-maintainer-clean-gdb \
15542 maybe-maintainer-clean-expect \
15543 maybe-maintainer-clean-guile \
15544 maybe-maintainer-clean-tk \
15545 maybe-maintainer-clean-tix \
15546 maybe-maintainer-clean-libtermcap \
15547 maybe-maintainer-clean-utils
15549 .PHONY: maintainer-clean-target
15550 maintainer-clean-target: \
15551 maybe-maintainer-clean-target-libstdc++-v3 \
15552 maybe-maintainer-clean-target-newlib \
15553 maybe-maintainer-clean-target-libf2c \
15554 maybe-maintainer-clean-target-libobjc \
15555 maybe-maintainer-clean-target-libtermcap \
15556 maybe-maintainer-clean-target-winsup \
15557 maybe-maintainer-clean-target-libgloss \
15558 maybe-maintainer-clean-target-libiberty \
15559 maybe-maintainer-clean-target-gperf \
15560 maybe-maintainer-clean-target-examples \
15561 maybe-maintainer-clean-target-libffi \
15562 maybe-maintainer-clean-target-libjava \
15563 maybe-maintainer-clean-target-zlib \
15564 maybe-maintainer-clean-target-boehm-gc \
15565 maybe-maintainer-clean-target-qthreads \
15566 maybe-maintainer-clean-target-rda
15568 # GCC, the eternal special case
15569 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15570 maybe-maintainer-clean-gcc:
15571 maintainer-clean-gcc:
15572 @[ -f ./gcc/Makefile ] || exit 0; \
15573 r=`${PWD}`; export r; \
15574 s=`cd $(srcdir); ${PWD}`; export s; \
15575 $(SET_LIB_PATH) \
15576 for flag in $(EXTRA_GCC_FLAGS); do \
15577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15578 done; \
15579 echo "Doing maintainer-clean in gcc" ; \
15580 (cd gcc && \
15581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15583 "RANLIB=$${RANLIB}" \
15584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15585 maintainer-clean) \
15586 || exit 1
15588 # Host modules.
15590 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
15591 maybe-maintainer-clean-ash:
15593 maintainer-clean-ash:
15594 @[ -f ./ash/Makefile ] || exit 0; \
15595 r=`${PWD}`; export r; \
15596 s=`cd $(srcdir); ${PWD}`; export s; \
15597 $(SET_LIB_PATH) \
15598 for flag in $(EXTRA_HOST_FLAGS); do \
15599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15600 done; \
15601 echo "Doing maintainer-clean in ash" ; \
15602 (cd ash && \
15603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15605 "RANLIB=$${RANLIB}" \
15606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15607 maintainer-clean) \
15608 || exit 1
15611 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
15612 maybe-maintainer-clean-autoconf:
15614 maintainer-clean-autoconf:
15615 @[ -f ./autoconf/Makefile ] || exit 0; \
15616 r=`${PWD}`; export r; \
15617 s=`cd $(srcdir); ${PWD}`; export s; \
15618 $(SET_LIB_PATH) \
15619 for flag in $(EXTRA_HOST_FLAGS); do \
15620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15621 done; \
15622 echo "Doing maintainer-clean in autoconf" ; \
15623 (cd autoconf && \
15624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15626 "RANLIB=$${RANLIB}" \
15627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15628 maintainer-clean) \
15629 || exit 1
15632 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
15633 maybe-maintainer-clean-automake:
15635 maintainer-clean-automake:
15636 @[ -f ./automake/Makefile ] || exit 0; \
15637 r=`${PWD}`; export r; \
15638 s=`cd $(srcdir); ${PWD}`; export s; \
15639 $(SET_LIB_PATH) \
15640 for flag in $(EXTRA_HOST_FLAGS); do \
15641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15642 done; \
15643 echo "Doing maintainer-clean in automake" ; \
15644 (cd automake && \
15645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15647 "RANLIB=$${RANLIB}" \
15648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15649 maintainer-clean) \
15650 || exit 1
15653 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
15654 maybe-maintainer-clean-bash:
15656 maintainer-clean-bash:
15657 @[ -f ./bash/Makefile ] || exit 0; \
15658 r=`${PWD}`; export r; \
15659 s=`cd $(srcdir); ${PWD}`; export s; \
15660 $(SET_LIB_PATH) \
15661 for flag in $(EXTRA_HOST_FLAGS); do \
15662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15663 done; \
15664 echo "Doing maintainer-clean in bash" ; \
15665 (cd bash && \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668 "RANLIB=$${RANLIB}" \
15669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15670 maintainer-clean) \
15671 || exit 1
15674 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
15675 maybe-maintainer-clean-bfd:
15677 maintainer-clean-bfd:
15678 @[ -f ./bfd/Makefile ] || exit 0; \
15679 r=`${PWD}`; export r; \
15680 s=`cd $(srcdir); ${PWD}`; export s; \
15681 $(SET_LIB_PATH) \
15682 for flag in $(EXTRA_HOST_FLAGS); do \
15683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15684 done; \
15685 echo "Doing maintainer-clean in bfd" ; \
15686 (cd bfd && \
15687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15689 "RANLIB=$${RANLIB}" \
15690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15691 maintainer-clean) \
15692 || exit 1
15695 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
15696 maybe-maintainer-clean-opcodes:
15698 maintainer-clean-opcodes:
15699 @[ -f ./opcodes/Makefile ] || exit 0; \
15700 r=`${PWD}`; export r; \
15701 s=`cd $(srcdir); ${PWD}`; export s; \
15702 $(SET_LIB_PATH) \
15703 for flag in $(EXTRA_HOST_FLAGS); do \
15704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15705 done; \
15706 echo "Doing maintainer-clean in opcodes" ; \
15707 (cd opcodes && \
15708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710 "RANLIB=$${RANLIB}" \
15711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15712 maintainer-clean) \
15713 || exit 1
15716 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
15717 maybe-maintainer-clean-binutils:
15719 maintainer-clean-binutils:
15720 @[ -f ./binutils/Makefile ] || exit 0; \
15721 r=`${PWD}`; export r; \
15722 s=`cd $(srcdir); ${PWD}`; export s; \
15723 $(SET_LIB_PATH) \
15724 for flag in $(EXTRA_HOST_FLAGS); do \
15725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15726 done; \
15727 echo "Doing maintainer-clean in binutils" ; \
15728 (cd binutils && \
15729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15731 "RANLIB=$${RANLIB}" \
15732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15733 maintainer-clean) \
15734 || exit 1
15737 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
15738 maybe-maintainer-clean-bison:
15740 maintainer-clean-bison:
15741 @[ -f ./bison/Makefile ] || exit 0; \
15742 r=`${PWD}`; export r; \
15743 s=`cd $(srcdir); ${PWD}`; export s; \
15744 $(SET_LIB_PATH) \
15745 for flag in $(EXTRA_HOST_FLAGS); do \
15746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15747 done; \
15748 echo "Doing maintainer-clean in bison" ; \
15749 (cd bison && \
15750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15752 "RANLIB=$${RANLIB}" \
15753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15754 maintainer-clean) \
15755 || exit 1
15758 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
15759 maybe-maintainer-clean-byacc:
15761 maintainer-clean-byacc:
15762 @[ -f ./byacc/Makefile ] || exit 0; \
15763 r=`${PWD}`; export r; \
15764 s=`cd $(srcdir); ${PWD}`; export s; \
15765 $(SET_LIB_PATH) \
15766 for flag in $(EXTRA_HOST_FLAGS); do \
15767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15768 done; \
15769 echo "Doing maintainer-clean in byacc" ; \
15770 (cd byacc && \
15771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15773 "RANLIB=$${RANLIB}" \
15774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15775 maintainer-clean) \
15776 || exit 1
15779 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
15780 maybe-maintainer-clean-bzip2:
15782 maintainer-clean-bzip2:
15783 @[ -f ./bzip2/Makefile ] || exit 0; \
15784 r=`${PWD}`; export r; \
15785 s=`cd $(srcdir); ${PWD}`; export s; \
15786 $(SET_LIB_PATH) \
15787 for flag in $(EXTRA_HOST_FLAGS); do \
15788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15789 done; \
15790 echo "Doing maintainer-clean in bzip2" ; \
15791 (cd bzip2 && \
15792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15794 "RANLIB=$${RANLIB}" \
15795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15796 maintainer-clean) \
15797 || exit 1
15800 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
15801 maybe-maintainer-clean-dejagnu:
15803 maintainer-clean-dejagnu:
15804 @[ -f ./dejagnu/Makefile ] || exit 0; \
15805 r=`${PWD}`; export r; \
15806 s=`cd $(srcdir); ${PWD}`; export s; \
15807 $(SET_LIB_PATH) \
15808 for flag in $(EXTRA_HOST_FLAGS); do \
15809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15810 done; \
15811 echo "Doing maintainer-clean in dejagnu" ; \
15812 (cd dejagnu && \
15813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15815 "RANLIB=$${RANLIB}" \
15816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15817 maintainer-clean) \
15818 || exit 1
15821 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
15822 maybe-maintainer-clean-diff:
15824 maintainer-clean-diff:
15825 @[ -f ./diff/Makefile ] || exit 0; \
15826 r=`${PWD}`; export r; \
15827 s=`cd $(srcdir); ${PWD}`; export s; \
15828 $(SET_LIB_PATH) \
15829 for flag in $(EXTRA_HOST_FLAGS); do \
15830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15831 done; \
15832 echo "Doing maintainer-clean in diff" ; \
15833 (cd diff && \
15834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15836 "RANLIB=$${RANLIB}" \
15837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15838 maintainer-clean) \
15839 || exit 1
15842 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
15843 maybe-maintainer-clean-dosutils:
15845 maintainer-clean-dosutils:
15846 @[ -f ./dosutils/Makefile ] || exit 0; \
15847 r=`${PWD}`; export r; \
15848 s=`cd $(srcdir); ${PWD}`; export s; \
15849 $(SET_LIB_PATH) \
15850 for flag in $(EXTRA_HOST_FLAGS); do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing maintainer-clean in dosutils" ; \
15854 (cd dosutils && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15859 maintainer-clean) \
15860 || exit 1
15863 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
15864 maybe-maintainer-clean-etc:
15866 maintainer-clean-etc:
15867 @[ -f ./etc/Makefile ] || exit 0; \
15868 r=`${PWD}`; export r; \
15869 s=`cd $(srcdir); ${PWD}`; export s; \
15870 $(SET_LIB_PATH) \
15871 for flag in $(EXTRA_HOST_FLAGS); do \
15872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15873 done; \
15874 echo "Doing maintainer-clean in etc" ; \
15875 (cd etc && \
15876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15878 "RANLIB=$${RANLIB}" \
15879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15880 maintainer-clean) \
15881 || exit 1
15884 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
15885 maybe-maintainer-clean-fastjar:
15887 maintainer-clean-fastjar:
15888 @[ -f ./fastjar/Makefile ] || exit 0; \
15889 r=`${PWD}`; export r; \
15890 s=`cd $(srcdir); ${PWD}`; export s; \
15891 $(SET_LIB_PATH) \
15892 for flag in $(EXTRA_HOST_FLAGS); do \
15893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894 done; \
15895 echo "Doing maintainer-clean in fastjar" ; \
15896 (cd fastjar && \
15897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899 "RANLIB=$${RANLIB}" \
15900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15901 maintainer-clean) \
15902 || exit 1
15905 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
15906 maybe-maintainer-clean-fileutils:
15908 maintainer-clean-fileutils:
15909 @[ -f ./fileutils/Makefile ] || exit 0; \
15910 r=`${PWD}`; export r; \
15911 s=`cd $(srcdir); ${PWD}`; export s; \
15912 $(SET_LIB_PATH) \
15913 for flag in $(EXTRA_HOST_FLAGS); do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing maintainer-clean in fileutils" ; \
15917 (cd fileutils && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922 maintainer-clean) \
15923 || exit 1
15926 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
15927 maybe-maintainer-clean-findutils:
15929 maintainer-clean-findutils:
15930 @[ -f ./findutils/Makefile ] || exit 0; \
15931 r=`${PWD}`; export r; \
15932 s=`cd $(srcdir); ${PWD}`; export s; \
15933 $(SET_LIB_PATH) \
15934 for flag in $(EXTRA_HOST_FLAGS); do \
15935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15936 done; \
15937 echo "Doing maintainer-clean in findutils" ; \
15938 (cd findutils && \
15939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15941 "RANLIB=$${RANLIB}" \
15942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15943 maintainer-clean) \
15944 || exit 1
15947 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
15948 maybe-maintainer-clean-find:
15950 maintainer-clean-find:
15951 @[ -f ./find/Makefile ] || exit 0; \
15952 r=`${PWD}`; export r; \
15953 s=`cd $(srcdir); ${PWD}`; export s; \
15954 $(SET_LIB_PATH) \
15955 for flag in $(EXTRA_HOST_FLAGS); do \
15956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15957 done; \
15958 echo "Doing maintainer-clean in find" ; \
15959 (cd find && \
15960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15962 "RANLIB=$${RANLIB}" \
15963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15964 maintainer-clean) \
15965 || exit 1
15968 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
15969 maybe-maintainer-clean-flex:
15971 maintainer-clean-flex:
15972 @[ -f ./flex/Makefile ] || exit 0; \
15973 r=`${PWD}`; export r; \
15974 s=`cd $(srcdir); ${PWD}`; export s; \
15975 $(SET_LIB_PATH) \
15976 for flag in $(EXTRA_HOST_FLAGS); do \
15977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15978 done; \
15979 echo "Doing maintainer-clean in flex" ; \
15980 (cd flex && \
15981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15983 "RANLIB=$${RANLIB}" \
15984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15985 maintainer-clean) \
15986 || exit 1
15989 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15990 maybe-maintainer-clean-gas:
15992 maintainer-clean-gas:
15993 @[ -f ./gas/Makefile ] || exit 0; \
15994 r=`${PWD}`; export r; \
15995 s=`cd $(srcdir); ${PWD}`; export s; \
15996 $(SET_LIB_PATH) \
15997 for flag in $(EXTRA_HOST_FLAGS); do \
15998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15999 done; \
16000 echo "Doing maintainer-clean in gas" ; \
16001 (cd gas && \
16002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16004 "RANLIB=$${RANLIB}" \
16005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16006 maintainer-clean) \
16007 || exit 1
16010 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
16011 maybe-maintainer-clean-gawk:
16013 maintainer-clean-gawk:
16014 @[ -f ./gawk/Makefile ] || exit 0; \
16015 r=`${PWD}`; export r; \
16016 s=`cd $(srcdir); ${PWD}`; export s; \
16017 $(SET_LIB_PATH) \
16018 for flag in $(EXTRA_HOST_FLAGS); do \
16019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16020 done; \
16021 echo "Doing maintainer-clean in gawk" ; \
16022 (cd gawk && \
16023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16025 "RANLIB=$${RANLIB}" \
16026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16027 maintainer-clean) \
16028 || exit 1
16031 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16032 maybe-maintainer-clean-gettext:
16034 maintainer-clean-gettext:
16035 @[ -f ./gettext/Makefile ] || exit 0; \
16036 r=`${PWD}`; export r; \
16037 s=`cd $(srcdir); ${PWD}`; export s; \
16038 $(SET_LIB_PATH) \
16039 for flag in $(EXTRA_HOST_FLAGS); do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing maintainer-clean in gettext" ; \
16043 (cd gettext && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048 maintainer-clean) \
16049 || exit 1
16052 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16053 maybe-maintainer-clean-gnuserv:
16055 maintainer-clean-gnuserv:
16056 @[ -f ./gnuserv/Makefile ] || exit 0; \
16057 r=`${PWD}`; export r; \
16058 s=`cd $(srcdir); ${PWD}`; export s; \
16059 $(SET_LIB_PATH) \
16060 for flag in $(EXTRA_HOST_FLAGS); do \
16061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16062 done; \
16063 echo "Doing maintainer-clean in gnuserv" ; \
16064 (cd gnuserv && \
16065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16067 "RANLIB=$${RANLIB}" \
16068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16069 maintainer-clean) \
16070 || exit 1
16073 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16074 maybe-maintainer-clean-gprof:
16076 maintainer-clean-gprof:
16077 @[ -f ./gprof/Makefile ] || exit 0; \
16078 r=`${PWD}`; export r; \
16079 s=`cd $(srcdir); ${PWD}`; export s; \
16080 $(SET_LIB_PATH) \
16081 for flag in $(EXTRA_HOST_FLAGS); do \
16082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16083 done; \
16084 echo "Doing maintainer-clean in gprof" ; \
16085 (cd gprof && \
16086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16088 "RANLIB=$${RANLIB}" \
16089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16090 maintainer-clean) \
16091 || exit 1
16094 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16095 maybe-maintainer-clean-gzip:
16097 maintainer-clean-gzip:
16098 @[ -f ./gzip/Makefile ] || exit 0; \
16099 r=`${PWD}`; export r; \
16100 s=`cd $(srcdir); ${PWD}`; export s; \
16101 $(SET_LIB_PATH) \
16102 for flag in $(EXTRA_HOST_FLAGS); do \
16103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16104 done; \
16105 echo "Doing maintainer-clean in gzip" ; \
16106 (cd gzip && \
16107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16109 "RANLIB=$${RANLIB}" \
16110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16111 maintainer-clean) \
16112 || exit 1
16115 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
16116 maybe-maintainer-clean-hello:
16118 maintainer-clean-hello:
16119 @[ -f ./hello/Makefile ] || exit 0; \
16120 r=`${PWD}`; export r; \
16121 s=`cd $(srcdir); ${PWD}`; export s; \
16122 $(SET_LIB_PATH) \
16123 for flag in $(EXTRA_HOST_FLAGS); do \
16124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16125 done; \
16126 echo "Doing maintainer-clean in hello" ; \
16127 (cd hello && \
16128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16130 "RANLIB=$${RANLIB}" \
16131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16132 maintainer-clean) \
16133 || exit 1
16136 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16137 maybe-maintainer-clean-indent:
16139 maintainer-clean-indent:
16140 @[ -f ./indent/Makefile ] || exit 0; \
16141 r=`${PWD}`; export r; \
16142 s=`cd $(srcdir); ${PWD}`; export s; \
16143 $(SET_LIB_PATH) \
16144 for flag in $(EXTRA_HOST_FLAGS); do \
16145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16146 done; \
16147 echo "Doing maintainer-clean in indent" ; \
16148 (cd indent && \
16149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16151 "RANLIB=$${RANLIB}" \
16152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16153 maintainer-clean) \
16154 || exit 1
16157 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16158 maybe-maintainer-clean-intl:
16160 maintainer-clean-intl:
16161 @[ -f ./intl/Makefile ] || exit 0; \
16162 r=`${PWD}`; export r; \
16163 s=`cd $(srcdir); ${PWD}`; export s; \
16164 $(SET_LIB_PATH) \
16165 for flag in $(EXTRA_HOST_FLAGS); do \
16166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16167 done; \
16168 echo "Doing maintainer-clean in intl" ; \
16169 (cd intl && \
16170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16172 "RANLIB=$${RANLIB}" \
16173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16174 maintainer-clean) \
16175 || exit 1
16178 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16179 maybe-maintainer-clean-tcl:
16181 maintainer-clean-tcl:
16182 @[ -f ./tcl/Makefile ] || exit 0; \
16183 r=`${PWD}`; export r; \
16184 s=`cd $(srcdir); ${PWD}`; export s; \
16185 $(SET_LIB_PATH) \
16186 for flag in $(EXTRA_HOST_FLAGS); do \
16187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16188 done; \
16189 echo "Doing maintainer-clean in tcl" ; \
16190 (cd tcl && \
16191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16193 "RANLIB=$${RANLIB}" \
16194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16195 maintainer-clean) \
16196 || exit 1
16199 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16200 maybe-maintainer-clean-itcl:
16202 maintainer-clean-itcl:
16203 @[ -f ./itcl/Makefile ] || exit 0; \
16204 r=`${PWD}`; export r; \
16205 s=`cd $(srcdir); ${PWD}`; export s; \
16206 $(SET_LIB_PATH) \
16207 for flag in $(EXTRA_HOST_FLAGS); do \
16208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 done; \
16210 echo "Doing maintainer-clean in itcl" ; \
16211 (cd itcl && \
16212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16214 "RANLIB=$${RANLIB}" \
16215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16216 maintainer-clean) \
16217 || exit 1
16220 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16221 maybe-maintainer-clean-ld:
16223 maintainer-clean-ld:
16224 @[ -f ./ld/Makefile ] || exit 0; \
16225 r=`${PWD}`; export r; \
16226 s=`cd $(srcdir); ${PWD}`; export s; \
16227 $(SET_LIB_PATH) \
16228 for flag in $(EXTRA_HOST_FLAGS); do \
16229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16230 done; \
16231 echo "Doing maintainer-clean in ld" ; \
16232 (cd ld && \
16233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16235 "RANLIB=$${RANLIB}" \
16236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16237 maintainer-clean) \
16238 || exit 1
16241 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16242 maybe-maintainer-clean-libgui:
16244 maintainer-clean-libgui:
16245 @[ -f ./libgui/Makefile ] || exit 0; \
16246 r=`${PWD}`; export r; \
16247 s=`cd $(srcdir); ${PWD}`; export s; \
16248 $(SET_LIB_PATH) \
16249 for flag in $(EXTRA_HOST_FLAGS); do \
16250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16251 done; \
16252 echo "Doing maintainer-clean in libgui" ; \
16253 (cd libgui && \
16254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16256 "RANLIB=$${RANLIB}" \
16257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16258 maintainer-clean) \
16259 || exit 1
16262 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16263 maybe-maintainer-clean-libiberty:
16265 maintainer-clean-libiberty:
16266 @[ -f ./libiberty/Makefile ] || exit 0; \
16267 r=`${PWD}`; export r; \
16268 s=`cd $(srcdir); ${PWD}`; export s; \
16269 $(SET_LIB_PATH) \
16270 for flag in $(EXTRA_HOST_FLAGS); do \
16271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16272 done; \
16273 echo "Doing maintainer-clean in libiberty" ; \
16274 (cd libiberty && \
16275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16277 "RANLIB=$${RANLIB}" \
16278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16279 maintainer-clean) \
16280 || exit 1
16283 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
16284 maybe-maintainer-clean-libtool:
16286 maintainer-clean-libtool:
16287 @[ -f ./libtool/Makefile ] || exit 0; \
16288 r=`${PWD}`; export r; \
16289 s=`cd $(srcdir); ${PWD}`; export s; \
16290 $(SET_LIB_PATH) \
16291 for flag in $(EXTRA_HOST_FLAGS); do \
16292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16293 done; \
16294 echo "Doing maintainer-clean in libtool" ; \
16295 (cd libtool && \
16296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16298 "RANLIB=$${RANLIB}" \
16299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16300 maintainer-clean) \
16301 || exit 1
16304 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
16305 maybe-maintainer-clean-m4:
16307 maintainer-clean-m4:
16308 @[ -f ./m4/Makefile ] || exit 0; \
16309 r=`${PWD}`; export r; \
16310 s=`cd $(srcdir); ${PWD}`; export s; \
16311 $(SET_LIB_PATH) \
16312 for flag in $(EXTRA_HOST_FLAGS); do \
16313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16314 done; \
16315 echo "Doing maintainer-clean in m4" ; \
16316 (cd m4 && \
16317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16319 "RANLIB=$${RANLIB}" \
16320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16321 maintainer-clean) \
16322 || exit 1
16325 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
16326 maybe-maintainer-clean-make:
16328 maintainer-clean-make:
16329 @[ -f ./make/Makefile ] || exit 0; \
16330 r=`${PWD}`; export r; \
16331 s=`cd $(srcdir); ${PWD}`; export s; \
16332 $(SET_LIB_PATH) \
16333 for flag in $(EXTRA_HOST_FLAGS); do \
16334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16335 done; \
16336 echo "Doing maintainer-clean in make" ; \
16337 (cd make && \
16338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340 "RANLIB=$${RANLIB}" \
16341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16342 maintainer-clean) \
16343 || exit 1
16346 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
16347 maybe-maintainer-clean-mmalloc:
16349 maintainer-clean-mmalloc:
16350 @[ -f ./mmalloc/Makefile ] || exit 0; \
16351 r=`${PWD}`; export r; \
16352 s=`cd $(srcdir); ${PWD}`; export s; \
16353 $(SET_LIB_PATH) \
16354 for flag in $(EXTRA_HOST_FLAGS); do \
16355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16356 done; \
16357 echo "Doing maintainer-clean in mmalloc" ; \
16358 (cd mmalloc && \
16359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16361 "RANLIB=$${RANLIB}" \
16362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16363 maintainer-clean) \
16364 || exit 1
16367 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16368 maybe-maintainer-clean-patch:
16370 maintainer-clean-patch:
16371 @[ -f ./patch/Makefile ] || exit 0; \
16372 r=`${PWD}`; export r; \
16373 s=`cd $(srcdir); ${PWD}`; export s; \
16374 $(SET_LIB_PATH) \
16375 for flag in $(EXTRA_HOST_FLAGS); do \
16376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16377 done; \
16378 echo "Doing maintainer-clean in patch" ; \
16379 (cd patch && \
16380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16382 "RANLIB=$${RANLIB}" \
16383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16384 maintainer-clean) \
16385 || exit 1
16388 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16389 maybe-maintainer-clean-perl:
16391 maintainer-clean-perl:
16392 @[ -f ./perl/Makefile ] || exit 0; \
16393 r=`${PWD}`; export r; \
16394 s=`cd $(srcdir); ${PWD}`; export s; \
16395 $(SET_LIB_PATH) \
16396 for flag in $(EXTRA_HOST_FLAGS); do \
16397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16398 done; \
16399 echo "Doing maintainer-clean in perl" ; \
16400 (cd perl && \
16401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16403 "RANLIB=$${RANLIB}" \
16404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16405 maintainer-clean) \
16406 || exit 1
16409 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16410 maybe-maintainer-clean-prms:
16412 maintainer-clean-prms:
16413 @[ -f ./prms/Makefile ] || exit 0; \
16414 r=`${PWD}`; export r; \
16415 s=`cd $(srcdir); ${PWD}`; export s; \
16416 $(SET_LIB_PATH) \
16417 for flag in $(EXTRA_HOST_FLAGS); do \
16418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16419 done; \
16420 echo "Doing maintainer-clean in prms" ; \
16421 (cd prms && \
16422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16424 "RANLIB=$${RANLIB}" \
16425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16426 maintainer-clean) \
16427 || exit 1
16430 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16431 maybe-maintainer-clean-rcs:
16433 maintainer-clean-rcs:
16434 @[ -f ./rcs/Makefile ] || exit 0; \
16435 r=`${PWD}`; export r; \
16436 s=`cd $(srcdir); ${PWD}`; export s; \
16437 $(SET_LIB_PATH) \
16438 for flag in $(EXTRA_HOST_FLAGS); do \
16439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16440 done; \
16441 echo "Doing maintainer-clean in rcs" ; \
16442 (cd rcs && \
16443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16445 "RANLIB=$${RANLIB}" \
16446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16447 maintainer-clean) \
16448 || exit 1
16451 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16452 maybe-maintainer-clean-readline:
16454 maintainer-clean-readline:
16455 @[ -f ./readline/Makefile ] || exit 0; \
16456 r=`${PWD}`; export r; \
16457 s=`cd $(srcdir); ${PWD}`; export s; \
16458 $(SET_LIB_PATH) \
16459 for flag in $(EXTRA_HOST_FLAGS); do \
16460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16461 done; \
16462 echo "Doing maintainer-clean in readline" ; \
16463 (cd readline && \
16464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16466 "RANLIB=$${RANLIB}" \
16467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16468 maintainer-clean) \
16469 || exit 1
16472 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16473 maybe-maintainer-clean-release:
16475 maintainer-clean-release:
16476 @[ -f ./release/Makefile ] || exit 0; \
16477 r=`${PWD}`; export r; \
16478 s=`cd $(srcdir); ${PWD}`; export s; \
16479 $(SET_LIB_PATH) \
16480 for flag in $(EXTRA_HOST_FLAGS); do \
16481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16482 done; \
16483 echo "Doing maintainer-clean in release" ; \
16484 (cd release && \
16485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16487 "RANLIB=$${RANLIB}" \
16488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16489 maintainer-clean) \
16490 || exit 1
16493 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16494 maybe-maintainer-clean-recode:
16496 maintainer-clean-recode:
16497 @[ -f ./recode/Makefile ] || exit 0; \
16498 r=`${PWD}`; export r; \
16499 s=`cd $(srcdir); ${PWD}`; export s; \
16500 $(SET_LIB_PATH) \
16501 for flag in $(EXTRA_HOST_FLAGS); do \
16502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16503 done; \
16504 echo "Doing maintainer-clean in recode" ; \
16505 (cd recode && \
16506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16508 "RANLIB=$${RANLIB}" \
16509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16510 maintainer-clean) \
16511 || exit 1
16514 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16515 maybe-maintainer-clean-sed:
16517 maintainer-clean-sed:
16518 @[ -f ./sed/Makefile ] || exit 0; \
16519 r=`${PWD}`; export r; \
16520 s=`cd $(srcdir); ${PWD}`; export s; \
16521 $(SET_LIB_PATH) \
16522 for flag in $(EXTRA_HOST_FLAGS); do \
16523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16524 done; \
16525 echo "Doing maintainer-clean in sed" ; \
16526 (cd sed && \
16527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16529 "RANLIB=$${RANLIB}" \
16530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16531 maintainer-clean) \
16532 || exit 1
16535 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16536 maybe-maintainer-clean-send-pr:
16538 maintainer-clean-send-pr:
16539 @[ -f ./send-pr/Makefile ] || exit 0; \
16540 r=`${PWD}`; export r; \
16541 s=`cd $(srcdir); ${PWD}`; export s; \
16542 $(SET_LIB_PATH) \
16543 for flag in $(EXTRA_HOST_FLAGS); do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing maintainer-clean in send-pr" ; \
16547 (cd send-pr && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16552 maintainer-clean) \
16553 || exit 1
16556 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16557 maybe-maintainer-clean-shellutils:
16559 maintainer-clean-shellutils:
16560 @[ -f ./shellutils/Makefile ] || exit 0; \
16561 r=`${PWD}`; export r; \
16562 s=`cd $(srcdir); ${PWD}`; export s; \
16563 $(SET_LIB_PATH) \
16564 for flag in $(EXTRA_HOST_FLAGS); do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing maintainer-clean in shellutils" ; \
16568 (cd shellutils && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 maintainer-clean) \
16574 || exit 1
16577 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16578 maybe-maintainer-clean-sid:
16580 maintainer-clean-sid:
16581 @[ -f ./sid/Makefile ] || exit 0; \
16582 r=`${PWD}`; export r; \
16583 s=`cd $(srcdir); ${PWD}`; export s; \
16584 $(SET_LIB_PATH) \
16585 for flag in $(EXTRA_HOST_FLAGS); do \
16586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16587 done; \
16588 echo "Doing maintainer-clean in sid" ; \
16589 (cd sid && \
16590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16592 "RANLIB=$${RANLIB}" \
16593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16594 maintainer-clean) \
16595 || exit 1
16598 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
16599 maybe-maintainer-clean-sim:
16601 maintainer-clean-sim:
16602 @[ -f ./sim/Makefile ] || exit 0; \
16603 r=`${PWD}`; export r; \
16604 s=`cd $(srcdir); ${PWD}`; export s; \
16605 $(SET_LIB_PATH) \
16606 for flag in $(EXTRA_HOST_FLAGS); do \
16607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16608 done; \
16609 echo "Doing maintainer-clean in sim" ; \
16610 (cd sim && \
16611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16613 "RANLIB=$${RANLIB}" \
16614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16615 maintainer-clean) \
16616 || exit 1
16619 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
16620 maybe-maintainer-clean-tar:
16622 maintainer-clean-tar:
16623 @[ -f ./tar/Makefile ] || exit 0; \
16624 r=`${PWD}`; export r; \
16625 s=`cd $(srcdir); ${PWD}`; export s; \
16626 $(SET_LIB_PATH) \
16627 for flag in $(EXTRA_HOST_FLAGS); do \
16628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16629 done; \
16630 echo "Doing maintainer-clean in tar" ; \
16631 (cd tar && \
16632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634 "RANLIB=$${RANLIB}" \
16635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16636 maintainer-clean) \
16637 || exit 1
16640 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
16641 maybe-maintainer-clean-texinfo:
16643 maintainer-clean-texinfo:
16644 @[ -f ./texinfo/Makefile ] || exit 0; \
16645 r=`${PWD}`; export r; \
16646 s=`cd $(srcdir); ${PWD}`; export s; \
16647 $(SET_LIB_PATH) \
16648 for flag in $(EXTRA_HOST_FLAGS); do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16650 done; \
16651 echo "Doing maintainer-clean in texinfo" ; \
16652 (cd texinfo && \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16657 maintainer-clean) \
16658 || exit 1
16661 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16662 maybe-maintainer-clean-textutils:
16664 maintainer-clean-textutils:
16665 @[ -f ./textutils/Makefile ] || exit 0; \
16666 r=`${PWD}`; export r; \
16667 s=`cd $(srcdir); ${PWD}`; export s; \
16668 $(SET_LIB_PATH) \
16669 for flag in $(EXTRA_HOST_FLAGS); do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 done; \
16672 echo "Doing maintainer-clean in textutils" ; \
16673 (cd textutils && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16678 maintainer-clean) \
16679 || exit 1
16682 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16683 maybe-maintainer-clean-time:
16685 maintainer-clean-time:
16686 @[ -f ./time/Makefile ] || exit 0; \
16687 r=`${PWD}`; export r; \
16688 s=`cd $(srcdir); ${PWD}`; export s; \
16689 $(SET_LIB_PATH) \
16690 for flag in $(EXTRA_HOST_FLAGS); do \
16691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16692 done; \
16693 echo "Doing maintainer-clean in time" ; \
16694 (cd time && \
16695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16697 "RANLIB=$${RANLIB}" \
16698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16699 maintainer-clean) \
16700 || exit 1
16703 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16704 maybe-maintainer-clean-uudecode:
16706 maintainer-clean-uudecode:
16707 @[ -f ./uudecode/Makefile ] || exit 0; \
16708 r=`${PWD}`; export r; \
16709 s=`cd $(srcdir); ${PWD}`; export s; \
16710 $(SET_LIB_PATH) \
16711 for flag in $(EXTRA_HOST_FLAGS); do \
16712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16713 done; \
16714 echo "Doing maintainer-clean in uudecode" ; \
16715 (cd uudecode && \
16716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16718 "RANLIB=$${RANLIB}" \
16719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16720 maintainer-clean) \
16721 || exit 1
16724 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16725 maybe-maintainer-clean-wdiff:
16727 maintainer-clean-wdiff:
16728 @[ -f ./wdiff/Makefile ] || exit 0; \
16729 r=`${PWD}`; export r; \
16730 s=`cd $(srcdir); ${PWD}`; export s; \
16731 $(SET_LIB_PATH) \
16732 for flag in $(EXTRA_HOST_FLAGS); do \
16733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16734 done; \
16735 echo "Doing maintainer-clean in wdiff" ; \
16736 (cd wdiff && \
16737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16739 "RANLIB=$${RANLIB}" \
16740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16741 maintainer-clean) \
16742 || exit 1
16745 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16746 maybe-maintainer-clean-zip:
16748 maintainer-clean-zip:
16749 @[ -f ./zip/Makefile ] || exit 0; \
16750 r=`${PWD}`; export r; \
16751 s=`cd $(srcdir); ${PWD}`; export s; \
16752 $(SET_LIB_PATH) \
16753 for flag in $(EXTRA_HOST_FLAGS); do \
16754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16755 done; \
16756 echo "Doing maintainer-clean in zip" ; \
16757 (cd zip && \
16758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16760 "RANLIB=$${RANLIB}" \
16761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16762 maintainer-clean) \
16763 || exit 1
16766 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
16767 maybe-maintainer-clean-zlib:
16769 maintainer-clean-zlib:
16770 @[ -f ./zlib/Makefile ] || exit 0; \
16771 r=`${PWD}`; export r; \
16772 s=`cd $(srcdir); ${PWD}`; export s; \
16773 $(SET_LIB_PATH) \
16774 for flag in $(EXTRA_HOST_FLAGS); do \
16775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16776 done; \
16777 echo "Doing maintainer-clean in zlib" ; \
16778 (cd zlib && \
16779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16781 "RANLIB=$${RANLIB}" \
16782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16783 maintainer-clean) \
16784 || exit 1
16787 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
16788 maybe-maintainer-clean-gdb:
16790 maintainer-clean-gdb:
16791 @[ -f ./gdb/Makefile ] || exit 0; \
16792 r=`${PWD}`; export r; \
16793 s=`cd $(srcdir); ${PWD}`; export s; \
16794 $(SET_LIB_PATH) \
16795 for flag in $(EXTRA_HOST_FLAGS); do \
16796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16797 done; \
16798 echo "Doing maintainer-clean in gdb" ; \
16799 (cd gdb && \
16800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16802 "RANLIB=$${RANLIB}" \
16803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16804 maintainer-clean) \
16805 || exit 1
16808 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
16809 maybe-maintainer-clean-expect:
16811 maintainer-clean-expect:
16812 @[ -f ./expect/Makefile ] || exit 0; \
16813 r=`${PWD}`; export r; \
16814 s=`cd $(srcdir); ${PWD}`; export s; \
16815 $(SET_LIB_PATH) \
16816 for flag in $(EXTRA_HOST_FLAGS); do \
16817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16818 done; \
16819 echo "Doing maintainer-clean in expect" ; \
16820 (cd expect && \
16821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16823 "RANLIB=$${RANLIB}" \
16824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16825 maintainer-clean) \
16826 || exit 1
16829 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
16830 maybe-maintainer-clean-guile:
16832 maintainer-clean-guile:
16833 @[ -f ./guile/Makefile ] || exit 0; \
16834 r=`${PWD}`; export r; \
16835 s=`cd $(srcdir); ${PWD}`; export s; \
16836 $(SET_LIB_PATH) \
16837 for flag in $(EXTRA_HOST_FLAGS); do \
16838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16839 done; \
16840 echo "Doing maintainer-clean in guile" ; \
16841 (cd guile && \
16842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16844 "RANLIB=$${RANLIB}" \
16845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16846 maintainer-clean) \
16847 || exit 1
16850 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
16851 maybe-maintainer-clean-tk:
16853 maintainer-clean-tk:
16854 @[ -f ./tk/Makefile ] || exit 0; \
16855 r=`${PWD}`; export r; \
16856 s=`cd $(srcdir); ${PWD}`; export s; \
16857 $(SET_LIB_PATH) \
16858 for flag in $(EXTRA_HOST_FLAGS); do \
16859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16860 done; \
16861 echo "Doing maintainer-clean in tk" ; \
16862 (cd tk && \
16863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16865 "RANLIB=$${RANLIB}" \
16866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16867 maintainer-clean) \
16868 || exit 1
16871 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
16872 maybe-maintainer-clean-tix:
16874 maintainer-clean-tix:
16875 @[ -f ./tix/Makefile ] || exit 0; \
16876 r=`${PWD}`; export r; \
16877 s=`cd $(srcdir); ${PWD}`; export s; \
16878 $(SET_LIB_PATH) \
16879 for flag in $(EXTRA_HOST_FLAGS); do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16881 done; \
16882 echo "Doing maintainer-clean in tix" ; \
16883 (cd tix && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16888 maintainer-clean) \
16889 || exit 1
16892 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
16893 maybe-maintainer-clean-libtermcap:
16895 # libtermcap doesn't support maintainer-clean.
16896 maintainer-clean-libtermcap:
16899 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
16900 maybe-maintainer-clean-utils:
16902 maintainer-clean-utils:
16903 @[ -f ./utils/Makefile ] || exit 0; \
16904 r=`${PWD}`; export r; \
16905 s=`cd $(srcdir); ${PWD}`; export s; \
16906 $(SET_LIB_PATH) \
16907 for flag in $(EXTRA_HOST_FLAGS); do \
16908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16909 done; \
16910 echo "Doing maintainer-clean in utils" ; \
16911 (cd utils && \
16912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16914 "RANLIB=$${RANLIB}" \
16915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16916 maintainer-clean) \
16917 || exit 1
16921 # Target modules.
16923 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
16924 maybe-maintainer-clean-target-libstdc++-v3:
16926 maintainer-clean-target-libstdc++-v3:
16927 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
16928 r=`${PWD}`; export r; \
16929 s=`cd $(srcdir); ${PWD}`; export s; \
16930 $(SET_LIB_PATH) \
16931 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
16932 for flag in $(EXTRA_TARGET_FLAGS); do \
16933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16934 done; \
16935 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
16936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16938 "RANLIB=$${RANLIB}" \
16939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16940 maintainer-clean) \
16941 || exit 1
16944 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
16945 maybe-maintainer-clean-target-newlib:
16947 maintainer-clean-target-newlib:
16948 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
16949 r=`${PWD}`; export r; \
16950 s=`cd $(srcdir); ${PWD}`; export s; \
16951 $(SET_LIB_PATH) \
16952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
16953 for flag in $(EXTRA_TARGET_FLAGS); do \
16954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16955 done; \
16956 (cd $(TARGET_SUBDIR)/newlib && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16959 "RANLIB=$${RANLIB}" \
16960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16961 maintainer-clean) \
16962 || exit 1
16965 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
16966 maybe-maintainer-clean-target-libf2c:
16968 maintainer-clean-target-libf2c:
16969 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
16970 r=`${PWD}`; export r; \
16971 s=`cd $(srcdir); ${PWD}`; export s; \
16972 $(SET_LIB_PATH) \
16973 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
16974 for flag in $(EXTRA_TARGET_FLAGS); do \
16975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16976 done; \
16977 (cd $(TARGET_SUBDIR)/libf2c && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16980 "RANLIB=$${RANLIB}" \
16981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16982 maintainer-clean) \
16983 || exit 1
16986 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
16987 maybe-maintainer-clean-target-libobjc:
16989 maintainer-clean-target-libobjc:
16990 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
16991 r=`${PWD}`; export r; \
16992 s=`cd $(srcdir); ${PWD}`; export s; \
16993 $(SET_LIB_PATH) \
16994 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
16995 for flag in $(EXTRA_TARGET_FLAGS); do \
16996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16997 done; \
16998 (cd $(TARGET_SUBDIR)/libobjc && \
16999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17001 "RANLIB=$${RANLIB}" \
17002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17003 maintainer-clean) \
17004 || exit 1
17007 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
17008 maybe-maintainer-clean-target-libtermcap:
17010 # libtermcap doesn't support maintainer-clean.
17011 maintainer-clean-libtermcap:
17014 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
17015 maybe-maintainer-clean-target-winsup:
17017 maintainer-clean-target-winsup:
17018 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
17019 r=`${PWD}`; export r; \
17020 s=`cd $(srcdir); ${PWD}`; export s; \
17021 $(SET_LIB_PATH) \
17022 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
17023 for flag in $(EXTRA_TARGET_FLAGS); do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 (cd $(TARGET_SUBDIR)/winsup && \
17027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17029 "RANLIB=$${RANLIB}" \
17030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17031 maintainer-clean) \
17032 || exit 1
17035 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
17036 maybe-maintainer-clean-target-libgloss:
17038 maintainer-clean-target-libgloss:
17039 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
17040 r=`${PWD}`; export r; \
17041 s=`cd $(srcdir); ${PWD}`; export s; \
17042 $(SET_LIB_PATH) \
17043 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
17044 for flag in $(EXTRA_TARGET_FLAGS); do \
17045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17046 done; \
17047 (cd $(TARGET_SUBDIR)/libgloss && \
17048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17050 "RANLIB=$${RANLIB}" \
17051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17052 maintainer-clean) \
17053 || exit 1
17056 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
17057 maybe-maintainer-clean-target-libiberty:
17059 maintainer-clean-target-libiberty:
17060 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
17061 r=`${PWD}`; export r; \
17062 s=`cd $(srcdir); ${PWD}`; export s; \
17063 $(SET_LIB_PATH) \
17064 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
17065 for flag in $(EXTRA_TARGET_FLAGS); do \
17066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17067 done; \
17068 (cd $(TARGET_SUBDIR)/libiberty && \
17069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17071 "RANLIB=$${RANLIB}" \
17072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17073 maintainer-clean) \
17074 || exit 1
17077 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17078 maybe-maintainer-clean-target-gperf:
17080 maintainer-clean-target-gperf:
17081 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
17082 r=`${PWD}`; export r; \
17083 s=`cd $(srcdir); ${PWD}`; export s; \
17084 $(SET_LIB_PATH) \
17085 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
17086 for flag in $(EXTRA_TARGET_FLAGS); do \
17087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17088 done; \
17089 (cd $(TARGET_SUBDIR)/gperf && \
17090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17092 "RANLIB=$${RANLIB}" \
17093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17094 maintainer-clean) \
17095 || exit 1
17098 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
17099 maybe-maintainer-clean-target-examples:
17101 maintainer-clean-target-examples:
17102 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
17103 r=`${PWD}`; export r; \
17104 s=`cd $(srcdir); ${PWD}`; export s; \
17105 $(SET_LIB_PATH) \
17106 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
17107 for flag in $(EXTRA_TARGET_FLAGS); do \
17108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17109 done; \
17110 (cd $(TARGET_SUBDIR)/examples && \
17111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17113 "RANLIB=$${RANLIB}" \
17114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17115 maintainer-clean) \
17116 || exit 1
17119 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
17120 maybe-maintainer-clean-target-libffi:
17122 maintainer-clean-target-libffi:
17123 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
17124 r=`${PWD}`; export r; \
17125 s=`cd $(srcdir); ${PWD}`; export s; \
17126 $(SET_LIB_PATH) \
17127 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
17128 for flag in $(EXTRA_TARGET_FLAGS); do \
17129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17130 done; \
17131 (cd $(TARGET_SUBDIR)/libffi && \
17132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17134 "RANLIB=$${RANLIB}" \
17135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17136 maintainer-clean) \
17137 || exit 1
17140 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
17141 maybe-maintainer-clean-target-libjava:
17143 maintainer-clean-target-libjava:
17144 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
17145 r=`${PWD}`; export r; \
17146 s=`cd $(srcdir); ${PWD}`; export s; \
17147 $(SET_LIB_PATH) \
17148 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
17149 for flag in $(EXTRA_TARGET_FLAGS); do \
17150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17151 done; \
17152 (cd $(TARGET_SUBDIR)/libjava && \
17153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17155 "RANLIB=$${RANLIB}" \
17156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17157 maintainer-clean) \
17158 || exit 1
17161 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
17162 maybe-maintainer-clean-target-zlib:
17164 maintainer-clean-target-zlib:
17165 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
17166 r=`${PWD}`; export r; \
17167 s=`cd $(srcdir); ${PWD}`; export s; \
17168 $(SET_LIB_PATH) \
17169 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
17170 for flag in $(EXTRA_TARGET_FLAGS); do \
17171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17172 done; \
17173 (cd $(TARGET_SUBDIR)/zlib && \
17174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17176 "RANLIB=$${RANLIB}" \
17177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17178 maintainer-clean) \
17179 || exit 1
17182 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
17183 maybe-maintainer-clean-target-boehm-gc:
17185 maintainer-clean-target-boehm-gc:
17186 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
17187 r=`${PWD}`; export r; \
17188 s=`cd $(srcdir); ${PWD}`; export s; \
17189 $(SET_LIB_PATH) \
17190 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
17191 for flag in $(EXTRA_TARGET_FLAGS); do \
17192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17193 done; \
17194 (cd $(TARGET_SUBDIR)/boehm-gc && \
17195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17197 "RANLIB=$${RANLIB}" \
17198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17199 maintainer-clean) \
17200 || exit 1
17203 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
17204 maybe-maintainer-clean-target-qthreads:
17206 maintainer-clean-target-qthreads:
17207 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
17208 r=`${PWD}`; export r; \
17209 s=`cd $(srcdir); ${PWD}`; export s; \
17210 $(SET_LIB_PATH) \
17211 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
17212 for flag in $(EXTRA_TARGET_FLAGS); do \
17213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17214 done; \
17215 (cd $(TARGET_SUBDIR)/qthreads && \
17216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17218 "RANLIB=$${RANLIB}" \
17219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17220 maintainer-clean) \
17221 || exit 1
17224 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
17225 maybe-maintainer-clean-target-rda:
17227 maintainer-clean-target-rda:
17228 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
17229 r=`${PWD}`; export r; \
17230 s=`cd $(srcdir); ${PWD}`; export s; \
17231 $(SET_LIB_PATH) \
17232 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
17233 for flag in $(EXTRA_TARGET_FLAGS); do \
17234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17235 done; \
17236 (cd $(TARGET_SUBDIR)/rda && \
17237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17239 "RANLIB=$${RANLIB}" \
17240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17241 maintainer-clean) \
17242 || exit 1
17247 # Here are the targets which correspond to the do-X targets.
17249 .PHONY: info installcheck dvi install-info
17250 .PHONY: clean distclean mostlyclean maintainer-clean realclean
17251 .PHONY: local-clean local-distclean local-maintainer-clean
17252 info: do-info
17253 installcheck: do-installcheck
17254 dvi: do-dvi
17256 # Make sure makeinfo is built before we do a `make info', if we're
17257 # in fact building texinfo.
17258 do-info: maybe-all-texinfo
17260 install-info: do-install-info dir.info
17261 s=`cd $(srcdir); ${PWD}`; export s; \
17262 if [ -f dir.info ] ; then \
17263 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
17264 else true ; fi
17266 local-clean:
17267 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
17269 local-distclean:
17270 -rm -f Makefile config.status config.cache mh-frag mt-frag
17271 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
17272 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
17273 rm -rf $(TARGET_SUBDIR); \
17274 else true; fi
17275 -rm -rf $(BUILD_SUBDIR)
17276 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
17277 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
17278 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
17279 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
17280 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
17282 local-maintainer-clean:
17283 @echo "This command is intended for maintainers to use;"
17284 @echo "it deletes files that may require special tools to rebuild."
17286 clean: do-clean local-clean
17287 mostlyclean: do-mostlyclean local-clean
17288 distclean: do-distclean local-clean local-distclean
17289 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
17290 maintainer-clean: local-distclean
17291 realclean: maintainer-clean
17293 # Extra dependency for clean-target, owing to the mixed nature of gcc
17294 clean-target: clean-target-libgcc
17295 clean-target-libgcc:
17296 test ! -d gcc/libgcc || \
17297 (cd gcc/libgcc && find . -type d -print) | \
17298 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
17299 -rm -rf gcc/libgcc
17301 # Check target.
17303 .PHONY: check do-check
17304 check:
17305 $(MAKE) do-check NOTPARALLEL=parallel-ok
17307 # Only include modules actually being configured and built.
17308 do-check: maybe-check-gcc \
17309 maybe-check-ash \
17310 maybe-check-autoconf \
17311 maybe-check-automake \
17312 maybe-check-bash \
17313 maybe-check-bfd \
17314 maybe-check-opcodes \
17315 maybe-check-binutils \
17316 maybe-check-bison \
17317 maybe-check-byacc \
17318 maybe-check-bzip2 \
17319 maybe-check-dejagnu \
17320 maybe-check-diff \
17321 maybe-check-dosutils \
17322 maybe-check-etc \
17323 maybe-check-fastjar \
17324 maybe-check-fileutils \
17325 maybe-check-findutils \
17326 maybe-check-find \
17327 maybe-check-flex \
17328 maybe-check-gas \
17329 maybe-check-gawk \
17330 maybe-check-gettext \
17331 maybe-check-gnuserv \
17332 maybe-check-gprof \
17333 maybe-check-gzip \
17334 maybe-check-hello \
17335 maybe-check-indent \
17336 maybe-check-intl \
17337 maybe-check-tcl \
17338 maybe-check-itcl \
17339 maybe-check-ld \
17340 maybe-check-libgui \
17341 maybe-check-libiberty \
17342 maybe-check-libtool \
17343 maybe-check-m4 \
17344 maybe-check-make \
17345 maybe-check-mmalloc \
17346 maybe-check-patch \
17347 maybe-check-perl \
17348 maybe-check-prms \
17349 maybe-check-rcs \
17350 maybe-check-readline \
17351 maybe-check-release \
17352 maybe-check-recode \
17353 maybe-check-sed \
17354 maybe-check-send-pr \
17355 maybe-check-shellutils \
17356 maybe-check-sid \
17357 maybe-check-sim \
17358 maybe-check-tar \
17359 maybe-check-texinfo \
17360 maybe-check-textutils \
17361 maybe-check-time \
17362 maybe-check-uudecode \
17363 maybe-check-wdiff \
17364 maybe-check-zip \
17365 maybe-check-zlib \
17366 maybe-check-gdb \
17367 maybe-check-expect \
17368 maybe-check-guile \
17369 maybe-check-tk \
17370 maybe-check-tix \
17371 maybe-check-libtermcap \
17372 maybe-check-utils \
17373 maybe-check-target-libstdc++-v3 \
17374 maybe-check-target-newlib \
17375 maybe-check-target-libf2c \
17376 maybe-check-target-libobjc \
17377 maybe-check-target-libtermcap \
17378 maybe-check-target-winsup \
17379 maybe-check-target-libgloss \
17380 maybe-check-target-libiberty \
17381 maybe-check-target-gperf \
17382 maybe-check-target-examples \
17383 maybe-check-target-libffi \
17384 maybe-check-target-libjava \
17385 maybe-check-target-zlib \
17386 maybe-check-target-boehm-gc \
17387 maybe-check-target-qthreads \
17388 maybe-check-target-rda
17390 # Automated reporting of test results.
17392 warning.log: build.log
17393 $(srcdir)/contrib/warn_summary build.log > $@
17395 mail-report.log:
17396 if test x'$(BOOT_CFLAGS)' != x''; then \
17397 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17398 fi; \
17399 $(srcdir)/contrib/test_summary -t >$@
17400 chmod +x $@
17401 echo If you really want to send e-mail, run ./$@ now
17403 mail-report-with-warnings.log: warning.log
17404 if test x'$(BOOT_CFLAGS)' != x''; then \
17405 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17406 fi; \
17407 $(srcdir)/contrib/test_summary -t -i warning.log >$@
17408 chmod +x $@
17409 echo If you really want to send e-mail, run ./$@ now
17411 # Installation targets.
17413 .PHONY: install uninstall
17414 install: installdirs install-host install-target
17416 .PHONY: install-host-nogcc
17417 install-host-nogcc: \
17418 maybe-install-ash \
17419 maybe-install-autoconf \
17420 maybe-install-automake \
17421 maybe-install-bash \
17422 maybe-install-bfd \
17423 maybe-install-opcodes \
17424 maybe-install-binutils \
17425 maybe-install-bison \
17426 maybe-install-byacc \
17427 maybe-install-bzip2 \
17428 maybe-install-dejagnu \
17429 maybe-install-diff \
17430 maybe-install-dosutils \
17431 maybe-install-etc \
17432 maybe-install-fastjar \
17433 maybe-install-fileutils \
17434 maybe-install-findutils \
17435 maybe-install-find \
17436 maybe-install-flex \
17437 maybe-install-gas \
17438 maybe-install-gawk \
17439 maybe-install-gettext \
17440 maybe-install-gnuserv \
17441 maybe-install-gprof \
17442 maybe-install-gzip \
17443 maybe-install-hello \
17444 maybe-install-indent \
17445 maybe-install-intl \
17446 maybe-install-tcl \
17447 maybe-install-itcl \
17448 maybe-install-ld \
17449 maybe-install-libgui \
17450 maybe-install-libiberty \
17451 maybe-install-libtool \
17452 maybe-install-m4 \
17453 maybe-install-make \
17454 maybe-install-mmalloc \
17455 maybe-install-patch \
17456 maybe-install-perl \
17457 maybe-install-prms \
17458 maybe-install-rcs \
17459 maybe-install-readline \
17460 maybe-install-release \
17461 maybe-install-recode \
17462 maybe-install-sed \
17463 maybe-install-send-pr \
17464 maybe-install-shellutils \
17465 maybe-install-sid \
17466 maybe-install-sim \
17467 maybe-install-tar \
17468 maybe-install-texinfo \
17469 maybe-install-textutils \
17470 maybe-install-time \
17471 maybe-install-uudecode \
17472 maybe-install-wdiff \
17473 maybe-install-zip \
17474 maybe-install-zlib \
17475 maybe-install-gdb \
17476 maybe-install-expect \
17477 maybe-install-guile \
17478 maybe-install-tk \
17479 maybe-install-tix \
17480 maybe-install-libtermcap \
17481 maybe-install-utils
17483 .PHONY: install-host
17484 install-host: maybe-install-gcc \
17485 maybe-install-ash \
17486 maybe-install-autoconf \
17487 maybe-install-automake \
17488 maybe-install-bash \
17489 maybe-install-bfd \
17490 maybe-install-opcodes \
17491 maybe-install-binutils \
17492 maybe-install-bison \
17493 maybe-install-byacc \
17494 maybe-install-bzip2 \
17495 maybe-install-dejagnu \
17496 maybe-install-diff \
17497 maybe-install-dosutils \
17498 maybe-install-etc \
17499 maybe-install-fastjar \
17500 maybe-install-fileutils \
17501 maybe-install-findutils \
17502 maybe-install-find \
17503 maybe-install-flex \
17504 maybe-install-gas \
17505 maybe-install-gawk \
17506 maybe-install-gettext \
17507 maybe-install-gnuserv \
17508 maybe-install-gprof \
17509 maybe-install-gzip \
17510 maybe-install-hello \
17511 maybe-install-indent \
17512 maybe-install-intl \
17513 maybe-install-tcl \
17514 maybe-install-itcl \
17515 maybe-install-ld \
17516 maybe-install-libgui \
17517 maybe-install-libiberty \
17518 maybe-install-libtool \
17519 maybe-install-m4 \
17520 maybe-install-make \
17521 maybe-install-mmalloc \
17522 maybe-install-patch \
17523 maybe-install-perl \
17524 maybe-install-prms \
17525 maybe-install-rcs \
17526 maybe-install-readline \
17527 maybe-install-release \
17528 maybe-install-recode \
17529 maybe-install-sed \
17530 maybe-install-send-pr \
17531 maybe-install-shellutils \
17532 maybe-install-sid \
17533 maybe-install-sim \
17534 maybe-install-tar \
17535 maybe-install-texinfo \
17536 maybe-install-textutils \
17537 maybe-install-time \
17538 maybe-install-uudecode \
17539 maybe-install-wdiff \
17540 maybe-install-zip \
17541 maybe-install-zlib \
17542 maybe-install-gdb \
17543 maybe-install-expect \
17544 maybe-install-guile \
17545 maybe-install-tk \
17546 maybe-install-tix \
17547 maybe-install-libtermcap \
17548 maybe-install-utils
17550 .PHONY: install-target
17551 install-target: \
17552 maybe-install-target-libstdc++-v3 \
17553 maybe-install-target-newlib \
17554 maybe-install-target-libf2c \
17555 maybe-install-target-libobjc \
17556 maybe-install-target-libtermcap \
17557 maybe-install-target-winsup \
17558 maybe-install-target-libgloss \
17559 maybe-install-target-libiberty \
17560 maybe-install-target-gperf \
17561 maybe-install-target-examples \
17562 maybe-install-target-libffi \
17563 maybe-install-target-libjava \
17564 maybe-install-target-zlib \
17565 maybe-install-target-boehm-gc \
17566 maybe-install-target-qthreads \
17567 maybe-install-target-rda
17569 uninstall:
17570 @echo "the uninstall target is not supported in this tree"
17572 .PHONY: install.all
17573 install.all: install-no-fixedincludes
17574 @if [ -f ./gcc/Makefile ] ; then \
17575 r=`${PWD}` ; export r ; \
17576 $(SET_LIB_PATH) \
17577 (cd ./gcc && \
17578 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
17579 else \
17580 true ; \
17583 # install-no-fixedincludes is used because Cygnus can not distribute
17584 # the fixed header files.
17585 .PHONY: install-no-fixedincludes
17586 install-no-fixedincludes: installdirs install-host-nogcc \
17587 install-target gcc-no-fixedincludes
17589 ### other supporting targets
17591 MAKEDIRS= \
17592 $(DESTDIR)$(prefix) \
17593 $(DESTDIR)$(exec_prefix)
17594 .PHONY: installdirs
17595 installdirs: mkinstalldirs
17596 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
17598 dir.info: do-install-info
17599 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
17600 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
17601 mv -f dir.info.new dir.info ; \
17602 else true ; \
17605 dist:
17606 @echo "Building a full distribution of this tree isn't done"
17607 @echo "via 'make dist'. Check out the etc/ subdirectory"
17609 etags tags: TAGS
17611 # Right now this just builds TAGS in each subdirectory. emacs19 has the
17612 # ability to use several tags files at once, so there is probably no need
17613 # to combine them into one big TAGS file (like CVS 1.3 does). We could
17614 # (if we felt like it) have this Makefile write a piece of elisp which
17615 # the user could load to tell emacs19 where all the TAGS files we just
17616 # built are.
17617 TAGS: do-TAGS
17619 # --------------------------------------
17620 # Modules which run on the build machine
17621 # --------------------------------------
17623 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
17624 maybe-configure-build-libiberty:
17625 configure-build-libiberty:
17626 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
17627 [ -d $(BUILD_SUBDIR)/libiberty ] || \
17628 mkdir $(BUILD_SUBDIR)/libiberty;\
17629 r=`${PWD}`; export r; \
17630 s=`cd $(srcdir); ${PWD}`; export s; \
17631 AR="$(AR_FOR_BUILD)"; export AR; \
17632 AS="$(AS_FOR_BUILD)"; export AS; \
17633 CC="$(CC_FOR_BUILD)"; export CC; \
17634 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17635 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17636 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17637 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17638 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17639 LD="$(LD_FOR_BUILD)"; export LD; \
17640 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17641 NM="$(NM_FOR_BUILD)"; export NM; \
17642 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17643 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17644 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
17645 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
17646 case $(srcdir) in \
17647 /* | [A-Za-z]:[\\/]*) \
17648 topdir=$(srcdir) ;; \
17649 *) \
17650 case "$(BUILD_SUBDIR)" in \
17651 .) topdir="../$(srcdir)" ;; \
17652 *) topdir="../../$(srcdir)" ;; \
17653 esac ;; \
17654 esac; \
17655 if [ "$(srcdir)" = "." ] ; then \
17656 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17657 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
17658 if [ -f Makefile ]; then \
17659 if $(MAKE) distclean; then \
17660 true; \
17661 else \
17662 exit 1; \
17663 fi; \
17664 else \
17665 true; \
17666 fi; \
17667 else \
17668 exit 1; \
17669 fi; \
17670 else \
17671 true; \
17672 fi; \
17673 srcdiroption="--srcdir=."; \
17674 libsrcdir="."; \
17675 else \
17676 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17677 libsrcdir="$$s/libiberty"; \
17678 fi; \
17679 rm -f no-such-file || : ; \
17680 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17681 $(BUILD_CONFIGARGS) $${srcdiroption} \
17682 --with-build-subdir="$(BUILD_SUBDIR)" \
17683 || exit 1
17685 .PHONY: all-build-libiberty maybe-all-build-libiberty
17686 maybe-all-build-libiberty:
17687 all-build-libiberty: configure-build-libiberty
17688 @r=`${PWD}`; export r; \
17689 s=`cd $(srcdir); ${PWD}`; export s; \
17690 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
17693 # --------------------------------------
17694 # Modules which run on the host machine
17695 # --------------------------------------
17697 .PHONY: configure-ash maybe-configure-ash
17698 maybe-configure-ash:
17699 configure-ash:
17700 @test ! -f ash/Makefile || exit 0; \
17701 [ -d ash ] || mkdir ash; \
17702 r=`${PWD}`; export r; \
17703 s=`cd $(srcdir); ${PWD}`; export s; \
17704 CC="$(CC)"; export CC; \
17705 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17706 CXX="$(CXX)"; export CXX; \
17707 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17708 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
17709 AR="$(AR)"; export AR; \
17710 AS="$(AS)"; export AS; \
17711 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17712 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17713 LD="$(LD)"; export LD; \
17714 NM="$(NM)"; export NM; \
17715 RANLIB="$(RANLIB)"; export RANLIB; \
17716 WINDRES="$(WINDRES)"; export WINDRES; \
17717 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17718 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17719 fi; \
17720 echo Configuring in ash; \
17721 cd ash || exit 1; \
17722 case $(srcdir) in \
17723 \.) \
17724 srcdiroption="--srcdir=."; \
17725 libsrcdir=".";; \
17726 /* | [A-Za-z]:[\\/]*) \
17727 srcdiroption="--srcdir=$(srcdir)/ash"; \
17728 libsrcdir="$$s/ash";; \
17729 *) \
17730 srcdiroption="--srcdir=../$(srcdir)/ash"; \
17731 libsrcdir="$$s/ash";; \
17732 esac; \
17733 $(SHELL) $${libsrcdir}/configure \
17734 $(HOST_CONFIGARGS) $${srcdiroption} \
17735 || exit 1
17737 .PHONY: all-ash maybe-all-ash
17738 maybe-all-ash:
17739 all-ash: configure-ash
17740 @r=`${PWD}`; export r; \
17741 s=`cd $(srcdir); ${PWD}`; export s; \
17742 $(SET_LIB_PATH) \
17743 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
17745 .PHONY: check-ash maybe-check-ash
17746 maybe-check-ash:
17748 check-ash:
17749 @r=`${PWD}`; export r; \
17750 s=`cd $(srcdir); ${PWD}`; export s; \
17751 $(SET_LIB_PATH) \
17752 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
17755 .PHONY: install-ash maybe-install-ash
17756 maybe-install-ash:
17758 install-ash: installdirs
17759 @r=`${PWD}`; export r; \
17760 s=`cd $(srcdir); ${PWD}`; export s; \
17761 $(SET_LIB_PATH) \
17762 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
17765 .PHONY: configure-autoconf maybe-configure-autoconf
17766 maybe-configure-autoconf:
17767 configure-autoconf:
17768 @test ! -f autoconf/Makefile || exit 0; \
17769 [ -d autoconf ] || mkdir autoconf; \
17770 r=`${PWD}`; export r; \
17771 s=`cd $(srcdir); ${PWD}`; export s; \
17772 CC="$(CC)"; export CC; \
17773 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17774 CXX="$(CXX)"; export CXX; \
17775 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17776 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
17777 AR="$(AR)"; export AR; \
17778 AS="$(AS)"; export AS; \
17779 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17780 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17781 LD="$(LD)"; export LD; \
17782 NM="$(NM)"; export NM; \
17783 RANLIB="$(RANLIB)"; export RANLIB; \
17784 WINDRES="$(WINDRES)"; export WINDRES; \
17785 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17786 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17787 fi; \
17788 echo Configuring in autoconf; \
17789 cd autoconf || exit 1; \
17790 case $(srcdir) in \
17791 \.) \
17792 srcdiroption="--srcdir=."; \
17793 libsrcdir=".";; \
17794 /* | [A-Za-z]:[\\/]*) \
17795 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
17796 libsrcdir="$$s/autoconf";; \
17797 *) \
17798 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
17799 libsrcdir="$$s/autoconf";; \
17800 esac; \
17801 $(SHELL) $${libsrcdir}/configure \
17802 $(HOST_CONFIGARGS) $${srcdiroption} \
17803 || exit 1
17805 .PHONY: all-autoconf maybe-all-autoconf
17806 maybe-all-autoconf:
17807 all-autoconf: configure-autoconf
17808 @r=`${PWD}`; export r; \
17809 s=`cd $(srcdir); ${PWD}`; export s; \
17810 $(SET_LIB_PATH) \
17811 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
17813 .PHONY: check-autoconf maybe-check-autoconf
17814 maybe-check-autoconf:
17816 check-autoconf:
17817 @r=`${PWD}`; export r; \
17818 s=`cd $(srcdir); ${PWD}`; export s; \
17819 $(SET_LIB_PATH) \
17820 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
17823 .PHONY: install-autoconf maybe-install-autoconf
17824 maybe-install-autoconf:
17826 install-autoconf: installdirs
17827 @r=`${PWD}`; export r; \
17828 s=`cd $(srcdir); ${PWD}`; export s; \
17829 $(SET_LIB_PATH) \
17830 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
17833 .PHONY: configure-automake maybe-configure-automake
17834 maybe-configure-automake:
17835 configure-automake:
17836 @test ! -f automake/Makefile || exit 0; \
17837 [ -d automake ] || mkdir automake; \
17838 r=`${PWD}`; export r; \
17839 s=`cd $(srcdir); ${PWD}`; export s; \
17840 CC="$(CC)"; export CC; \
17841 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17842 CXX="$(CXX)"; export CXX; \
17843 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17844 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
17845 AR="$(AR)"; export AR; \
17846 AS="$(AS)"; export AS; \
17847 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17848 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17849 LD="$(LD)"; export LD; \
17850 NM="$(NM)"; export NM; \
17851 RANLIB="$(RANLIB)"; export RANLIB; \
17852 WINDRES="$(WINDRES)"; export WINDRES; \
17853 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17854 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17855 fi; \
17856 echo Configuring in automake; \
17857 cd automake || exit 1; \
17858 case $(srcdir) in \
17859 \.) \
17860 srcdiroption="--srcdir=."; \
17861 libsrcdir=".";; \
17862 /* | [A-Za-z]:[\\/]*) \
17863 srcdiroption="--srcdir=$(srcdir)/automake"; \
17864 libsrcdir="$$s/automake";; \
17865 *) \
17866 srcdiroption="--srcdir=../$(srcdir)/automake"; \
17867 libsrcdir="$$s/automake";; \
17868 esac; \
17869 $(SHELL) $${libsrcdir}/configure \
17870 $(HOST_CONFIGARGS) $${srcdiroption} \
17871 || exit 1
17873 .PHONY: all-automake maybe-all-automake
17874 maybe-all-automake:
17875 all-automake: configure-automake
17876 @r=`${PWD}`; export r; \
17877 s=`cd $(srcdir); ${PWD}`; export s; \
17878 $(SET_LIB_PATH) \
17879 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
17881 .PHONY: check-automake maybe-check-automake
17882 maybe-check-automake:
17884 check-automake:
17885 @r=`${PWD}`; export r; \
17886 s=`cd $(srcdir); ${PWD}`; export s; \
17887 $(SET_LIB_PATH) \
17888 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
17891 .PHONY: install-automake maybe-install-automake
17892 maybe-install-automake:
17894 install-automake: installdirs
17895 @r=`${PWD}`; export r; \
17896 s=`cd $(srcdir); ${PWD}`; export s; \
17897 $(SET_LIB_PATH) \
17898 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
17901 .PHONY: configure-bash maybe-configure-bash
17902 maybe-configure-bash:
17903 configure-bash:
17904 @test ! -f bash/Makefile || exit 0; \
17905 [ -d bash ] || mkdir bash; \
17906 r=`${PWD}`; export r; \
17907 s=`cd $(srcdir); ${PWD}`; export s; \
17908 CC="$(CC)"; export CC; \
17909 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17910 CXX="$(CXX)"; export CXX; \
17911 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17912 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
17913 AR="$(AR)"; export AR; \
17914 AS="$(AS)"; export AS; \
17915 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17916 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17917 LD="$(LD)"; export LD; \
17918 NM="$(NM)"; export NM; \
17919 RANLIB="$(RANLIB)"; export RANLIB; \
17920 WINDRES="$(WINDRES)"; export WINDRES; \
17921 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17922 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17923 fi; \
17924 echo Configuring in bash; \
17925 cd bash || exit 1; \
17926 case $(srcdir) in \
17927 \.) \
17928 srcdiroption="--srcdir=."; \
17929 libsrcdir=".";; \
17930 /* | [A-Za-z]:[\\/]*) \
17931 srcdiroption="--srcdir=$(srcdir)/bash"; \
17932 libsrcdir="$$s/bash";; \
17933 *) \
17934 srcdiroption="--srcdir=../$(srcdir)/bash"; \
17935 libsrcdir="$$s/bash";; \
17936 esac; \
17937 $(SHELL) $${libsrcdir}/configure \
17938 $(HOST_CONFIGARGS) $${srcdiroption} \
17939 || exit 1
17941 .PHONY: all-bash maybe-all-bash
17942 maybe-all-bash:
17943 all-bash: configure-bash
17944 @r=`${PWD}`; export r; \
17945 s=`cd $(srcdir); ${PWD}`; export s; \
17946 $(SET_LIB_PATH) \
17947 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
17949 .PHONY: check-bash maybe-check-bash
17950 maybe-check-bash:
17952 check-bash:
17953 @r=`${PWD}`; export r; \
17954 s=`cd $(srcdir); ${PWD}`; export s; \
17955 $(SET_LIB_PATH) \
17956 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
17959 .PHONY: install-bash maybe-install-bash
17960 maybe-install-bash:
17962 install-bash: installdirs
17963 @r=`${PWD}`; export r; \
17964 s=`cd $(srcdir); ${PWD}`; export s; \
17965 $(SET_LIB_PATH) \
17966 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
17969 .PHONY: configure-bfd maybe-configure-bfd
17970 maybe-configure-bfd:
17971 configure-bfd:
17972 @test ! -f bfd/Makefile || exit 0; \
17973 [ -d bfd ] || mkdir bfd; \
17974 r=`${PWD}`; export r; \
17975 s=`cd $(srcdir); ${PWD}`; export s; \
17976 CC="$(CC)"; export CC; \
17977 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17978 CXX="$(CXX)"; export CXX; \
17979 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17980 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
17981 AR="$(AR)"; export AR; \
17982 AS="$(AS)"; export AS; \
17983 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17984 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17985 LD="$(LD)"; export LD; \
17986 NM="$(NM)"; export NM; \
17987 RANLIB="$(RANLIB)"; export RANLIB; \
17988 WINDRES="$(WINDRES)"; export WINDRES; \
17989 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17990 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17991 fi; \
17992 echo Configuring in bfd; \
17993 cd bfd || exit 1; \
17994 case $(srcdir) in \
17995 \.) \
17996 srcdiroption="--srcdir=."; \
17997 libsrcdir=".";; \
17998 /* | [A-Za-z]:[\\/]*) \
17999 srcdiroption="--srcdir=$(srcdir)/bfd"; \
18000 libsrcdir="$$s/bfd";; \
18001 *) \
18002 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
18003 libsrcdir="$$s/bfd";; \
18004 esac; \
18005 $(SHELL) $${libsrcdir}/configure \
18006 $(HOST_CONFIGARGS) $${srcdiroption} \
18007 || exit 1
18009 .PHONY: all-bfd maybe-all-bfd
18010 maybe-all-bfd:
18011 all-bfd: configure-bfd
18012 @r=`${PWD}`; export r; \
18013 s=`cd $(srcdir); ${PWD}`; export s; \
18014 $(SET_LIB_PATH) \
18015 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
18017 .PHONY: check-bfd maybe-check-bfd
18018 maybe-check-bfd:
18020 check-bfd:
18021 @r=`${PWD}`; export r; \
18022 s=`cd $(srcdir); ${PWD}`; export s; \
18023 $(SET_LIB_PATH) \
18024 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
18027 .PHONY: install-bfd maybe-install-bfd
18028 maybe-install-bfd:
18030 install-bfd: installdirs
18031 @r=`${PWD}`; export r; \
18032 s=`cd $(srcdir); ${PWD}`; export s; \
18033 $(SET_LIB_PATH) \
18034 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
18037 .PHONY: configure-opcodes maybe-configure-opcodes
18038 maybe-configure-opcodes:
18039 configure-opcodes:
18040 @test ! -f opcodes/Makefile || exit 0; \
18041 [ -d opcodes ] || mkdir opcodes; \
18042 r=`${PWD}`; export r; \
18043 s=`cd $(srcdir); ${PWD}`; export s; \
18044 CC="$(CC)"; export CC; \
18045 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18046 CXX="$(CXX)"; export CXX; \
18047 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18048 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18049 AR="$(AR)"; export AR; \
18050 AS="$(AS)"; export AS; \
18051 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18052 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18053 LD="$(LD)"; export LD; \
18054 NM="$(NM)"; export NM; \
18055 RANLIB="$(RANLIB)"; export RANLIB; \
18056 WINDRES="$(WINDRES)"; export WINDRES; \
18057 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18058 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18059 fi; \
18060 echo Configuring in opcodes; \
18061 cd opcodes || exit 1; \
18062 case $(srcdir) in \
18063 \.) \
18064 srcdiroption="--srcdir=."; \
18065 libsrcdir=".";; \
18066 /* | [A-Za-z]:[\\/]*) \
18067 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
18068 libsrcdir="$$s/opcodes";; \
18069 *) \
18070 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
18071 libsrcdir="$$s/opcodes";; \
18072 esac; \
18073 $(SHELL) $${libsrcdir}/configure \
18074 $(HOST_CONFIGARGS) $${srcdiroption} \
18075 || exit 1
18077 .PHONY: all-opcodes maybe-all-opcodes
18078 maybe-all-opcodes:
18079 all-opcodes: configure-opcodes
18080 @r=`${PWD}`; export r; \
18081 s=`cd $(srcdir); ${PWD}`; export s; \
18082 $(SET_LIB_PATH) \
18083 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
18085 .PHONY: check-opcodes maybe-check-opcodes
18086 maybe-check-opcodes:
18088 check-opcodes:
18089 @r=`${PWD}`; export r; \
18090 s=`cd $(srcdir); ${PWD}`; export s; \
18091 $(SET_LIB_PATH) \
18092 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
18095 .PHONY: install-opcodes maybe-install-opcodes
18096 maybe-install-opcodes:
18098 install-opcodes: installdirs
18099 @r=`${PWD}`; export r; \
18100 s=`cd $(srcdir); ${PWD}`; export s; \
18101 $(SET_LIB_PATH) \
18102 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
18105 .PHONY: configure-binutils maybe-configure-binutils
18106 maybe-configure-binutils:
18107 configure-binutils:
18108 @test ! -f binutils/Makefile || exit 0; \
18109 [ -d binutils ] || mkdir binutils; \
18110 r=`${PWD}`; export r; \
18111 s=`cd $(srcdir); ${PWD}`; export s; \
18112 CC="$(CC)"; export CC; \
18113 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18114 CXX="$(CXX)"; export CXX; \
18115 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18116 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18117 AR="$(AR)"; export AR; \
18118 AS="$(AS)"; export AS; \
18119 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18120 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18121 LD="$(LD)"; export LD; \
18122 NM="$(NM)"; export NM; \
18123 RANLIB="$(RANLIB)"; export RANLIB; \
18124 WINDRES="$(WINDRES)"; export WINDRES; \
18125 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18126 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18127 fi; \
18128 echo Configuring in binutils; \
18129 cd binutils || exit 1; \
18130 case $(srcdir) in \
18131 \.) \
18132 srcdiroption="--srcdir=."; \
18133 libsrcdir=".";; \
18134 /* | [A-Za-z]:[\\/]*) \
18135 srcdiroption="--srcdir=$(srcdir)/binutils"; \
18136 libsrcdir="$$s/binutils";; \
18137 *) \
18138 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
18139 libsrcdir="$$s/binutils";; \
18140 esac; \
18141 $(SHELL) $${libsrcdir}/configure \
18142 $(HOST_CONFIGARGS) $${srcdiroption} \
18143 || exit 1
18145 .PHONY: all-binutils maybe-all-binutils
18146 maybe-all-binutils:
18147 all-binutils: configure-binutils
18148 @r=`${PWD}`; export r; \
18149 s=`cd $(srcdir); ${PWD}`; export s; \
18150 $(SET_LIB_PATH) \
18151 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
18153 .PHONY: check-binutils maybe-check-binutils
18154 maybe-check-binutils:
18156 check-binutils:
18157 @r=`${PWD}`; export r; \
18158 s=`cd $(srcdir); ${PWD}`; export s; \
18159 $(SET_LIB_PATH) \
18160 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
18163 .PHONY: install-binutils maybe-install-binutils
18164 maybe-install-binutils:
18166 install-binutils: installdirs
18167 @r=`${PWD}`; export r; \
18168 s=`cd $(srcdir); ${PWD}`; export s; \
18169 $(SET_LIB_PATH) \
18170 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
18173 .PHONY: configure-bison maybe-configure-bison
18174 maybe-configure-bison:
18175 configure-bison:
18176 @test ! -f bison/Makefile || exit 0; \
18177 [ -d bison ] || mkdir bison; \
18178 r=`${PWD}`; export r; \
18179 s=`cd $(srcdir); ${PWD}`; export s; \
18180 CC="$(CC)"; export CC; \
18181 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18182 CXX="$(CXX)"; export CXX; \
18183 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18184 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18185 AR="$(AR)"; export AR; \
18186 AS="$(AS)"; export AS; \
18187 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18188 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18189 LD="$(LD)"; export LD; \
18190 NM="$(NM)"; export NM; \
18191 RANLIB="$(RANLIB)"; export RANLIB; \
18192 WINDRES="$(WINDRES)"; export WINDRES; \
18193 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18194 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18195 fi; \
18196 echo Configuring in bison; \
18197 cd bison || exit 1; \
18198 case $(srcdir) in \
18199 \.) \
18200 srcdiroption="--srcdir=."; \
18201 libsrcdir=".";; \
18202 /* | [A-Za-z]:[\\/]*) \
18203 srcdiroption="--srcdir=$(srcdir)/bison"; \
18204 libsrcdir="$$s/bison";; \
18205 *) \
18206 srcdiroption="--srcdir=../$(srcdir)/bison"; \
18207 libsrcdir="$$s/bison";; \
18208 esac; \
18209 $(SHELL) $${libsrcdir}/configure \
18210 $(HOST_CONFIGARGS) $${srcdiroption} \
18211 || exit 1
18213 .PHONY: all-bison maybe-all-bison
18214 maybe-all-bison:
18215 all-bison: configure-bison
18216 @r=`${PWD}`; export r; \
18217 s=`cd $(srcdir); ${PWD}`; export s; \
18218 $(SET_LIB_PATH) \
18219 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
18221 .PHONY: check-bison maybe-check-bison
18222 maybe-check-bison:
18224 # This module is only tested in a native toolchain.
18225 check-bison:
18226 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
18227 r=`${PWD}`; export r; \
18228 s=`cd $(srcdir); ${PWD}`; export s; \
18229 $(SET_LIB_PATH) \
18230 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
18234 .PHONY: install-bison maybe-install-bison
18235 maybe-install-bison:
18237 install-bison: installdirs
18238 @r=`${PWD}`; export r; \
18239 s=`cd $(srcdir); ${PWD}`; export s; \
18240 $(SET_LIB_PATH) \
18241 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
18244 .PHONY: configure-byacc maybe-configure-byacc
18245 maybe-configure-byacc:
18246 configure-byacc:
18247 @test ! -f byacc/Makefile || exit 0; \
18248 [ -d byacc ] || mkdir byacc; \
18249 r=`${PWD}`; export r; \
18250 s=`cd $(srcdir); ${PWD}`; export s; \
18251 CC="$(CC)"; export CC; \
18252 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18253 CXX="$(CXX)"; export CXX; \
18254 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18255 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18256 AR="$(AR)"; export AR; \
18257 AS="$(AS)"; export AS; \
18258 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18259 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18260 LD="$(LD)"; export LD; \
18261 NM="$(NM)"; export NM; \
18262 RANLIB="$(RANLIB)"; export RANLIB; \
18263 WINDRES="$(WINDRES)"; export WINDRES; \
18264 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18265 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18266 fi; \
18267 echo Configuring in byacc; \
18268 cd byacc || exit 1; \
18269 case $(srcdir) in \
18270 \.) \
18271 srcdiroption="--srcdir=."; \
18272 libsrcdir=".";; \
18273 /* | [A-Za-z]:[\\/]*) \
18274 srcdiroption="--srcdir=$(srcdir)/byacc"; \
18275 libsrcdir="$$s/byacc";; \
18276 *) \
18277 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
18278 libsrcdir="$$s/byacc";; \
18279 esac; \
18280 $(SHELL) $${libsrcdir}/configure \
18281 $(HOST_CONFIGARGS) $${srcdiroption} \
18282 || exit 1
18284 .PHONY: all-byacc maybe-all-byacc
18285 maybe-all-byacc:
18286 all-byacc: configure-byacc
18287 @r=`${PWD}`; export r; \
18288 s=`cd $(srcdir); ${PWD}`; export s; \
18289 $(SET_LIB_PATH) \
18290 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
18292 .PHONY: check-byacc maybe-check-byacc
18293 maybe-check-byacc:
18295 # This module is only tested in a native toolchain.
18296 check-byacc:
18297 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
18298 r=`${PWD}`; export r; \
18299 s=`cd $(srcdir); ${PWD}`; export s; \
18300 $(SET_LIB_PATH) \
18301 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
18305 .PHONY: install-byacc maybe-install-byacc
18306 maybe-install-byacc:
18308 install-byacc: installdirs
18309 @r=`${PWD}`; export r; \
18310 s=`cd $(srcdir); ${PWD}`; export s; \
18311 $(SET_LIB_PATH) \
18312 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
18315 .PHONY: configure-bzip2 maybe-configure-bzip2
18316 maybe-configure-bzip2:
18317 configure-bzip2:
18318 @test ! -f bzip2/Makefile || exit 0; \
18319 [ -d bzip2 ] || mkdir bzip2; \
18320 r=`${PWD}`; export r; \
18321 s=`cd $(srcdir); ${PWD}`; export s; \
18322 CC="$(CC)"; export CC; \
18323 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18324 CXX="$(CXX)"; export CXX; \
18325 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18326 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18327 AR="$(AR)"; export AR; \
18328 AS="$(AS)"; export AS; \
18329 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18330 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18331 LD="$(LD)"; export LD; \
18332 NM="$(NM)"; export NM; \
18333 RANLIB="$(RANLIB)"; export RANLIB; \
18334 WINDRES="$(WINDRES)"; export WINDRES; \
18335 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18336 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18337 fi; \
18338 echo Configuring in bzip2; \
18339 cd bzip2 || exit 1; \
18340 case $(srcdir) in \
18341 \.) \
18342 srcdiroption="--srcdir=."; \
18343 libsrcdir=".";; \
18344 /* | [A-Za-z]:[\\/]*) \
18345 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
18346 libsrcdir="$$s/bzip2";; \
18347 *) \
18348 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
18349 libsrcdir="$$s/bzip2";; \
18350 esac; \
18351 $(SHELL) $${libsrcdir}/configure \
18352 $(HOST_CONFIGARGS) $${srcdiroption} \
18353 || exit 1
18355 .PHONY: all-bzip2 maybe-all-bzip2
18356 maybe-all-bzip2:
18357 all-bzip2: configure-bzip2
18358 @r=`${PWD}`; export r; \
18359 s=`cd $(srcdir); ${PWD}`; export s; \
18360 $(SET_LIB_PATH) \
18361 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
18363 .PHONY: check-bzip2 maybe-check-bzip2
18364 maybe-check-bzip2:
18366 check-bzip2:
18367 @r=`${PWD}`; export r; \
18368 s=`cd $(srcdir); ${PWD}`; export s; \
18369 $(SET_LIB_PATH) \
18370 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
18373 .PHONY: install-bzip2 maybe-install-bzip2
18374 maybe-install-bzip2:
18376 install-bzip2: installdirs
18377 @r=`${PWD}`; export r; \
18378 s=`cd $(srcdir); ${PWD}`; export s; \
18379 $(SET_LIB_PATH) \
18380 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
18383 .PHONY: configure-dejagnu maybe-configure-dejagnu
18384 maybe-configure-dejagnu:
18385 configure-dejagnu:
18386 @test ! -f dejagnu/Makefile || exit 0; \
18387 [ -d dejagnu ] || mkdir dejagnu; \
18388 r=`${PWD}`; export r; \
18389 s=`cd $(srcdir); ${PWD}`; export s; \
18390 CC="$(CC)"; export CC; \
18391 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18392 CXX="$(CXX)"; export CXX; \
18393 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18394 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18395 AR="$(AR)"; export AR; \
18396 AS="$(AS)"; export AS; \
18397 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18398 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18399 LD="$(LD)"; export LD; \
18400 NM="$(NM)"; export NM; \
18401 RANLIB="$(RANLIB)"; export RANLIB; \
18402 WINDRES="$(WINDRES)"; export WINDRES; \
18403 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18404 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18405 fi; \
18406 echo Configuring in dejagnu; \
18407 cd dejagnu || exit 1; \
18408 case $(srcdir) in \
18409 \.) \
18410 srcdiroption="--srcdir=."; \
18411 libsrcdir=".";; \
18412 /* | [A-Za-z]:[\\/]*) \
18413 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
18414 libsrcdir="$$s/dejagnu";; \
18415 *) \
18416 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
18417 libsrcdir="$$s/dejagnu";; \
18418 esac; \
18419 $(SHELL) $${libsrcdir}/configure \
18420 $(HOST_CONFIGARGS) $${srcdiroption} \
18421 || exit 1
18423 .PHONY: all-dejagnu maybe-all-dejagnu
18424 maybe-all-dejagnu:
18425 all-dejagnu: configure-dejagnu
18426 @r=`${PWD}`; export r; \
18427 s=`cd $(srcdir); ${PWD}`; export s; \
18428 $(SET_LIB_PATH) \
18429 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
18431 .PHONY: check-dejagnu maybe-check-dejagnu
18432 maybe-check-dejagnu:
18434 check-dejagnu:
18435 @r=`${PWD}`; export r; \
18436 s=`cd $(srcdir); ${PWD}`; export s; \
18437 $(SET_LIB_PATH) \
18438 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
18441 .PHONY: install-dejagnu maybe-install-dejagnu
18442 maybe-install-dejagnu:
18444 install-dejagnu: installdirs
18445 @r=`${PWD}`; export r; \
18446 s=`cd $(srcdir); ${PWD}`; export s; \
18447 $(SET_LIB_PATH) \
18448 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
18451 .PHONY: configure-diff maybe-configure-diff
18452 maybe-configure-diff:
18453 configure-diff:
18454 @test ! -f diff/Makefile || exit 0; \
18455 [ -d diff ] || mkdir diff; \
18456 r=`${PWD}`; export r; \
18457 s=`cd $(srcdir); ${PWD}`; export s; \
18458 CC="$(CC)"; export CC; \
18459 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18460 CXX="$(CXX)"; export CXX; \
18461 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18462 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18463 AR="$(AR)"; export AR; \
18464 AS="$(AS)"; export AS; \
18465 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18466 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18467 LD="$(LD)"; export LD; \
18468 NM="$(NM)"; export NM; \
18469 RANLIB="$(RANLIB)"; export RANLIB; \
18470 WINDRES="$(WINDRES)"; export WINDRES; \
18471 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18472 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18473 fi; \
18474 echo Configuring in diff; \
18475 cd diff || exit 1; \
18476 case $(srcdir) in \
18477 \.) \
18478 srcdiroption="--srcdir=."; \
18479 libsrcdir=".";; \
18480 /* | [A-Za-z]:[\\/]*) \
18481 srcdiroption="--srcdir=$(srcdir)/diff"; \
18482 libsrcdir="$$s/diff";; \
18483 *) \
18484 srcdiroption="--srcdir=../$(srcdir)/diff"; \
18485 libsrcdir="$$s/diff";; \
18486 esac; \
18487 $(SHELL) $${libsrcdir}/configure \
18488 $(HOST_CONFIGARGS) $${srcdiroption} \
18489 || exit 1
18491 .PHONY: all-diff maybe-all-diff
18492 maybe-all-diff:
18493 all-diff: configure-diff
18494 @r=`${PWD}`; export r; \
18495 s=`cd $(srcdir); ${PWD}`; export s; \
18496 $(SET_LIB_PATH) \
18497 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
18499 .PHONY: check-diff maybe-check-diff
18500 maybe-check-diff:
18502 check-diff:
18503 @r=`${PWD}`; export r; \
18504 s=`cd $(srcdir); ${PWD}`; export s; \
18505 $(SET_LIB_PATH) \
18506 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
18509 .PHONY: install-diff maybe-install-diff
18510 maybe-install-diff:
18512 install-diff: installdirs
18513 @r=`${PWD}`; export r; \
18514 s=`cd $(srcdir); ${PWD}`; export s; \
18515 $(SET_LIB_PATH) \
18516 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
18519 .PHONY: configure-dosutils maybe-configure-dosutils
18520 maybe-configure-dosutils:
18521 configure-dosutils:
18522 @test ! -f dosutils/Makefile || exit 0; \
18523 [ -d dosutils ] || mkdir dosutils; \
18524 r=`${PWD}`; export r; \
18525 s=`cd $(srcdir); ${PWD}`; export s; \
18526 CC="$(CC)"; export CC; \
18527 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18528 CXX="$(CXX)"; export CXX; \
18529 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18530 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18531 AR="$(AR)"; export AR; \
18532 AS="$(AS)"; export AS; \
18533 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18534 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18535 LD="$(LD)"; export LD; \
18536 NM="$(NM)"; export NM; \
18537 RANLIB="$(RANLIB)"; export RANLIB; \
18538 WINDRES="$(WINDRES)"; export WINDRES; \
18539 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18540 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18541 fi; \
18542 echo Configuring in dosutils; \
18543 cd dosutils || exit 1; \
18544 case $(srcdir) in \
18545 \.) \
18546 srcdiroption="--srcdir=."; \
18547 libsrcdir=".";; \
18548 /* | [A-Za-z]:[\\/]*) \
18549 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
18550 libsrcdir="$$s/dosutils";; \
18551 *) \
18552 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
18553 libsrcdir="$$s/dosutils";; \
18554 esac; \
18555 $(SHELL) $${libsrcdir}/configure \
18556 $(HOST_CONFIGARGS) $${srcdiroption} \
18557 || exit 1
18559 .PHONY: all-dosutils maybe-all-dosutils
18560 maybe-all-dosutils:
18561 all-dosutils: configure-dosutils
18562 @r=`${PWD}`; export r; \
18563 s=`cd $(srcdir); ${PWD}`; export s; \
18564 $(SET_LIB_PATH) \
18565 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
18567 .PHONY: check-dosutils maybe-check-dosutils
18568 maybe-check-dosutils:
18570 check-dosutils:
18573 .PHONY: install-dosutils maybe-install-dosutils
18574 maybe-install-dosutils:
18576 install-dosutils: installdirs
18577 @r=`${PWD}`; export r; \
18578 s=`cd $(srcdir); ${PWD}`; export s; \
18579 $(SET_LIB_PATH) \
18580 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
18583 .PHONY: configure-etc maybe-configure-etc
18584 maybe-configure-etc:
18585 configure-etc:
18586 @test ! -f etc/Makefile || exit 0; \
18587 [ -d etc ] || mkdir etc; \
18588 r=`${PWD}`; export r; \
18589 s=`cd $(srcdir); ${PWD}`; export s; \
18590 CC="$(CC)"; export CC; \
18591 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18592 CXX="$(CXX)"; export CXX; \
18593 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18594 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18595 AR="$(AR)"; export AR; \
18596 AS="$(AS)"; export AS; \
18597 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18598 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18599 LD="$(LD)"; export LD; \
18600 NM="$(NM)"; export NM; \
18601 RANLIB="$(RANLIB)"; export RANLIB; \
18602 WINDRES="$(WINDRES)"; export WINDRES; \
18603 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18604 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18605 fi; \
18606 echo Configuring in etc; \
18607 cd etc || exit 1; \
18608 case $(srcdir) in \
18609 \.) \
18610 srcdiroption="--srcdir=."; \
18611 libsrcdir=".";; \
18612 /* | [A-Za-z]:[\\/]*) \
18613 srcdiroption="--srcdir=$(srcdir)/etc"; \
18614 libsrcdir="$$s/etc";; \
18615 *) \
18616 srcdiroption="--srcdir=../$(srcdir)/etc"; \
18617 libsrcdir="$$s/etc";; \
18618 esac; \
18619 $(SHELL) $${libsrcdir}/configure \
18620 $(HOST_CONFIGARGS) $${srcdiroption} \
18621 || exit 1
18623 .PHONY: all-etc maybe-all-etc
18624 maybe-all-etc:
18625 all-etc: configure-etc
18626 @r=`${PWD}`; export r; \
18627 s=`cd $(srcdir); ${PWD}`; export s; \
18628 $(SET_LIB_PATH) \
18629 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
18631 .PHONY: check-etc maybe-check-etc
18632 maybe-check-etc:
18634 check-etc:
18635 @r=`${PWD}`; export r; \
18636 s=`cd $(srcdir); ${PWD}`; export s; \
18637 $(SET_LIB_PATH) \
18638 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
18641 .PHONY: install-etc maybe-install-etc
18642 maybe-install-etc:
18644 install-etc: installdirs
18645 @r=`${PWD}`; export r; \
18646 s=`cd $(srcdir); ${PWD}`; export s; \
18647 $(SET_LIB_PATH) \
18648 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
18651 .PHONY: configure-fastjar maybe-configure-fastjar
18652 maybe-configure-fastjar:
18653 configure-fastjar:
18654 @test ! -f fastjar/Makefile || exit 0; \
18655 [ -d fastjar ] || mkdir fastjar; \
18656 r=`${PWD}`; export r; \
18657 s=`cd $(srcdir); ${PWD}`; export s; \
18658 CC="$(CC)"; export CC; \
18659 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18660 CXX="$(CXX)"; export CXX; \
18661 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18662 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18663 AR="$(AR)"; export AR; \
18664 AS="$(AS)"; export AS; \
18665 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18666 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18667 LD="$(LD)"; export LD; \
18668 NM="$(NM)"; export NM; \
18669 RANLIB="$(RANLIB)"; export RANLIB; \
18670 WINDRES="$(WINDRES)"; export WINDRES; \
18671 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18672 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18673 fi; \
18674 echo Configuring in fastjar; \
18675 cd fastjar || exit 1; \
18676 case $(srcdir) in \
18677 \.) \
18678 srcdiroption="--srcdir=."; \
18679 libsrcdir=".";; \
18680 /* | [A-Za-z]:[\\/]*) \
18681 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
18682 libsrcdir="$$s/fastjar";; \
18683 *) \
18684 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
18685 libsrcdir="$$s/fastjar";; \
18686 esac; \
18687 $(SHELL) $${libsrcdir}/configure \
18688 $(HOST_CONFIGARGS) $${srcdiroption} \
18689 || exit 1
18691 .PHONY: all-fastjar maybe-all-fastjar
18692 maybe-all-fastjar:
18693 all-fastjar: configure-fastjar
18694 @r=`${PWD}`; export r; \
18695 s=`cd $(srcdir); ${PWD}`; export s; \
18696 $(SET_LIB_PATH) \
18697 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
18699 .PHONY: check-fastjar maybe-check-fastjar
18700 maybe-check-fastjar:
18702 # This module is only tested in a native toolchain.
18703 check-fastjar:
18704 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
18705 r=`${PWD}`; export r; \
18706 s=`cd $(srcdir); ${PWD}`; export s; \
18707 $(SET_LIB_PATH) \
18708 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
18712 .PHONY: install-fastjar maybe-install-fastjar
18713 maybe-install-fastjar:
18715 install-fastjar: installdirs
18716 @r=`${PWD}`; export r; \
18717 s=`cd $(srcdir); ${PWD}`; export s; \
18718 $(SET_LIB_PATH) \
18719 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
18722 .PHONY: configure-fileutils maybe-configure-fileutils
18723 maybe-configure-fileutils:
18724 configure-fileutils:
18725 @test ! -f fileutils/Makefile || exit 0; \
18726 [ -d fileutils ] || mkdir fileutils; \
18727 r=`${PWD}`; export r; \
18728 s=`cd $(srcdir); ${PWD}`; export s; \
18729 CC="$(CC)"; export CC; \
18730 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18731 CXX="$(CXX)"; export CXX; \
18732 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18733 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18734 AR="$(AR)"; export AR; \
18735 AS="$(AS)"; export AS; \
18736 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18737 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18738 LD="$(LD)"; export LD; \
18739 NM="$(NM)"; export NM; \
18740 RANLIB="$(RANLIB)"; export RANLIB; \
18741 WINDRES="$(WINDRES)"; export WINDRES; \
18742 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18743 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18744 fi; \
18745 echo Configuring in fileutils; \
18746 cd fileutils || exit 1; \
18747 case $(srcdir) in \
18748 \.) \
18749 srcdiroption="--srcdir=."; \
18750 libsrcdir=".";; \
18751 /* | [A-Za-z]:[\\/]*) \
18752 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
18753 libsrcdir="$$s/fileutils";; \
18754 *) \
18755 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
18756 libsrcdir="$$s/fileutils";; \
18757 esac; \
18758 $(SHELL) $${libsrcdir}/configure \
18759 $(HOST_CONFIGARGS) $${srcdiroption} \
18760 || exit 1
18762 .PHONY: all-fileutils maybe-all-fileutils
18763 maybe-all-fileutils:
18764 all-fileutils: configure-fileutils
18765 @r=`${PWD}`; export r; \
18766 s=`cd $(srcdir); ${PWD}`; export s; \
18767 $(SET_LIB_PATH) \
18768 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
18770 .PHONY: check-fileutils maybe-check-fileutils
18771 maybe-check-fileutils:
18773 check-fileutils:
18774 @r=`${PWD}`; export r; \
18775 s=`cd $(srcdir); ${PWD}`; export s; \
18776 $(SET_LIB_PATH) \
18777 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
18780 .PHONY: install-fileutils maybe-install-fileutils
18781 maybe-install-fileutils:
18783 install-fileutils: installdirs
18784 @r=`${PWD}`; export r; \
18785 s=`cd $(srcdir); ${PWD}`; export s; \
18786 $(SET_LIB_PATH) \
18787 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
18790 .PHONY: configure-findutils maybe-configure-findutils
18791 maybe-configure-findutils:
18792 configure-findutils:
18793 @test ! -f findutils/Makefile || exit 0; \
18794 [ -d findutils ] || mkdir findutils; \
18795 r=`${PWD}`; export r; \
18796 s=`cd $(srcdir); ${PWD}`; export s; \
18797 CC="$(CC)"; export CC; \
18798 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18799 CXX="$(CXX)"; export CXX; \
18800 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18801 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18802 AR="$(AR)"; export AR; \
18803 AS="$(AS)"; export AS; \
18804 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18805 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18806 LD="$(LD)"; export LD; \
18807 NM="$(NM)"; export NM; \
18808 RANLIB="$(RANLIB)"; export RANLIB; \
18809 WINDRES="$(WINDRES)"; export WINDRES; \
18810 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18811 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18812 fi; \
18813 echo Configuring in findutils; \
18814 cd findutils || exit 1; \
18815 case $(srcdir) in \
18816 \.) \
18817 srcdiroption="--srcdir=."; \
18818 libsrcdir=".";; \
18819 /* | [A-Za-z]:[\\/]*) \
18820 srcdiroption="--srcdir=$(srcdir)/findutils"; \
18821 libsrcdir="$$s/findutils";; \
18822 *) \
18823 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
18824 libsrcdir="$$s/findutils";; \
18825 esac; \
18826 $(SHELL) $${libsrcdir}/configure \
18827 $(HOST_CONFIGARGS) $${srcdiroption} \
18828 || exit 1
18830 .PHONY: all-findutils maybe-all-findutils
18831 maybe-all-findutils:
18832 all-findutils: configure-findutils
18833 @r=`${PWD}`; export r; \
18834 s=`cd $(srcdir); ${PWD}`; export s; \
18835 $(SET_LIB_PATH) \
18836 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
18838 .PHONY: check-findutils maybe-check-findutils
18839 maybe-check-findutils:
18841 check-findutils:
18842 @r=`${PWD}`; export r; \
18843 s=`cd $(srcdir); ${PWD}`; export s; \
18844 $(SET_LIB_PATH) \
18845 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
18848 .PHONY: install-findutils maybe-install-findutils
18849 maybe-install-findutils:
18851 install-findutils: installdirs
18852 @r=`${PWD}`; export r; \
18853 s=`cd $(srcdir); ${PWD}`; export s; \
18854 $(SET_LIB_PATH) \
18855 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
18858 .PHONY: configure-find maybe-configure-find
18859 maybe-configure-find:
18860 configure-find:
18861 @test ! -f find/Makefile || exit 0; \
18862 [ -d find ] || mkdir find; \
18863 r=`${PWD}`; export r; \
18864 s=`cd $(srcdir); ${PWD}`; export s; \
18865 CC="$(CC)"; export CC; \
18866 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18867 CXX="$(CXX)"; export CXX; \
18868 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18869 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18870 AR="$(AR)"; export AR; \
18871 AS="$(AS)"; export AS; \
18872 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18873 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18874 LD="$(LD)"; export LD; \
18875 NM="$(NM)"; export NM; \
18876 RANLIB="$(RANLIB)"; export RANLIB; \
18877 WINDRES="$(WINDRES)"; export WINDRES; \
18878 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18879 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18880 fi; \
18881 echo Configuring in find; \
18882 cd find || exit 1; \
18883 case $(srcdir) in \
18884 \.) \
18885 srcdiroption="--srcdir=."; \
18886 libsrcdir=".";; \
18887 /* | [A-Za-z]:[\\/]*) \
18888 srcdiroption="--srcdir=$(srcdir)/find"; \
18889 libsrcdir="$$s/find";; \
18890 *) \
18891 srcdiroption="--srcdir=../$(srcdir)/find"; \
18892 libsrcdir="$$s/find";; \
18893 esac; \
18894 $(SHELL) $${libsrcdir}/configure \
18895 $(HOST_CONFIGARGS) $${srcdiroption} \
18896 || exit 1
18898 .PHONY: all-find maybe-all-find
18899 maybe-all-find:
18900 all-find: configure-find
18901 @r=`${PWD}`; export r; \
18902 s=`cd $(srcdir); ${PWD}`; export s; \
18903 $(SET_LIB_PATH) \
18904 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
18906 .PHONY: check-find maybe-check-find
18907 maybe-check-find:
18909 check-find:
18910 @r=`${PWD}`; export r; \
18911 s=`cd $(srcdir); ${PWD}`; export s; \
18912 $(SET_LIB_PATH) \
18913 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
18916 .PHONY: install-find maybe-install-find
18917 maybe-install-find:
18919 install-find: installdirs
18920 @r=`${PWD}`; export r; \
18921 s=`cd $(srcdir); ${PWD}`; export s; \
18922 $(SET_LIB_PATH) \
18923 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
18926 .PHONY: configure-flex maybe-configure-flex
18927 maybe-configure-flex:
18928 configure-flex:
18929 @test ! -f flex/Makefile || exit 0; \
18930 [ -d flex ] || mkdir flex; \
18931 r=`${PWD}`; export r; \
18932 s=`cd $(srcdir); ${PWD}`; export s; \
18933 CC="$(CC)"; export CC; \
18934 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18935 CXX="$(CXX)"; export CXX; \
18936 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18937 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
18938 AR="$(AR)"; export AR; \
18939 AS="$(AS)"; export AS; \
18940 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18941 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18942 LD="$(LD)"; export LD; \
18943 NM="$(NM)"; export NM; \
18944 RANLIB="$(RANLIB)"; export RANLIB; \
18945 WINDRES="$(WINDRES)"; export WINDRES; \
18946 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18947 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18948 fi; \
18949 echo Configuring in flex; \
18950 cd flex || exit 1; \
18951 case $(srcdir) in \
18952 \.) \
18953 srcdiroption="--srcdir=."; \
18954 libsrcdir=".";; \
18955 /* | [A-Za-z]:[\\/]*) \
18956 srcdiroption="--srcdir=$(srcdir)/flex"; \
18957 libsrcdir="$$s/flex";; \
18958 *) \
18959 srcdiroption="--srcdir=../$(srcdir)/flex"; \
18960 libsrcdir="$$s/flex";; \
18961 esac; \
18962 $(SHELL) $${libsrcdir}/configure \
18963 $(HOST_CONFIGARGS) $${srcdiroption} \
18964 || exit 1
18966 .PHONY: all-flex maybe-all-flex
18967 maybe-all-flex:
18968 all-flex: configure-flex
18969 @r=`${PWD}`; export r; \
18970 s=`cd $(srcdir); ${PWD}`; export s; \
18971 $(SET_LIB_PATH) \
18972 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
18974 .PHONY: check-flex maybe-check-flex
18975 maybe-check-flex:
18977 # This module is only tested in a native toolchain.
18978 check-flex:
18979 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
18980 r=`${PWD}`; export r; \
18981 s=`cd $(srcdir); ${PWD}`; export s; \
18982 $(SET_LIB_PATH) \
18983 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
18987 .PHONY: install-flex maybe-install-flex
18988 maybe-install-flex:
18990 install-flex: installdirs
18991 @r=`${PWD}`; export r; \
18992 s=`cd $(srcdir); ${PWD}`; export s; \
18993 $(SET_LIB_PATH) \
18994 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
18997 .PHONY: configure-gas maybe-configure-gas
18998 maybe-configure-gas:
18999 configure-gas:
19000 @test ! -f gas/Makefile || exit 0; \
19001 [ -d gas ] || mkdir gas; \
19002 r=`${PWD}`; export r; \
19003 s=`cd $(srcdir); ${PWD}`; export s; \
19004 CC="$(CC)"; export CC; \
19005 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19006 CXX="$(CXX)"; export CXX; \
19007 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19008 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19009 AR="$(AR)"; export AR; \
19010 AS="$(AS)"; export AS; \
19011 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19012 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19013 LD="$(LD)"; export LD; \
19014 NM="$(NM)"; export NM; \
19015 RANLIB="$(RANLIB)"; export RANLIB; \
19016 WINDRES="$(WINDRES)"; export WINDRES; \
19017 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19018 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19019 fi; \
19020 echo Configuring in gas; \
19021 cd gas || exit 1; \
19022 case $(srcdir) in \
19023 \.) \
19024 srcdiroption="--srcdir=."; \
19025 libsrcdir=".";; \
19026 /* | [A-Za-z]:[\\/]*) \
19027 srcdiroption="--srcdir=$(srcdir)/gas"; \
19028 libsrcdir="$$s/gas";; \
19029 *) \
19030 srcdiroption="--srcdir=../$(srcdir)/gas"; \
19031 libsrcdir="$$s/gas";; \
19032 esac; \
19033 $(SHELL) $${libsrcdir}/configure \
19034 $(HOST_CONFIGARGS) $${srcdiroption} \
19035 || exit 1
19037 .PHONY: all-gas maybe-all-gas
19038 maybe-all-gas:
19039 all-gas: configure-gas
19040 @r=`${PWD}`; export r; \
19041 s=`cd $(srcdir); ${PWD}`; export s; \
19042 $(SET_LIB_PATH) \
19043 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
19045 .PHONY: check-gas maybe-check-gas
19046 maybe-check-gas:
19048 check-gas:
19049 @r=`${PWD}`; export r; \
19050 s=`cd $(srcdir); ${PWD}`; export s; \
19051 $(SET_LIB_PATH) \
19052 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
19055 .PHONY: install-gas maybe-install-gas
19056 maybe-install-gas:
19058 install-gas: installdirs
19059 @r=`${PWD}`; export r; \
19060 s=`cd $(srcdir); ${PWD}`; export s; \
19061 $(SET_LIB_PATH) \
19062 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
19065 .PHONY: configure-gawk maybe-configure-gawk
19066 maybe-configure-gawk:
19067 configure-gawk:
19068 @test ! -f gawk/Makefile || exit 0; \
19069 [ -d gawk ] || mkdir gawk; \
19070 r=`${PWD}`; export r; \
19071 s=`cd $(srcdir); ${PWD}`; export s; \
19072 CC="$(CC)"; export CC; \
19073 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19074 CXX="$(CXX)"; export CXX; \
19075 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19076 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19077 AR="$(AR)"; export AR; \
19078 AS="$(AS)"; export AS; \
19079 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19080 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19081 LD="$(LD)"; export LD; \
19082 NM="$(NM)"; export NM; \
19083 RANLIB="$(RANLIB)"; export RANLIB; \
19084 WINDRES="$(WINDRES)"; export WINDRES; \
19085 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19086 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19087 fi; \
19088 echo Configuring in gawk; \
19089 cd gawk || exit 1; \
19090 case $(srcdir) in \
19091 \.) \
19092 srcdiroption="--srcdir=."; \
19093 libsrcdir=".";; \
19094 /* | [A-Za-z]:[\\/]*) \
19095 srcdiroption="--srcdir=$(srcdir)/gawk"; \
19096 libsrcdir="$$s/gawk";; \
19097 *) \
19098 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
19099 libsrcdir="$$s/gawk";; \
19100 esac; \
19101 $(SHELL) $${libsrcdir}/configure \
19102 $(HOST_CONFIGARGS) $${srcdiroption} \
19103 || exit 1
19105 .PHONY: all-gawk maybe-all-gawk
19106 maybe-all-gawk:
19107 all-gawk: configure-gawk
19108 @r=`${PWD}`; export r; \
19109 s=`cd $(srcdir); ${PWD}`; export s; \
19110 $(SET_LIB_PATH) \
19111 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
19113 .PHONY: check-gawk maybe-check-gawk
19114 maybe-check-gawk:
19116 check-gawk:
19117 @r=`${PWD}`; export r; \
19118 s=`cd $(srcdir); ${PWD}`; export s; \
19119 $(SET_LIB_PATH) \
19120 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
19123 .PHONY: install-gawk maybe-install-gawk
19124 maybe-install-gawk:
19126 install-gawk: installdirs
19127 @r=`${PWD}`; export r; \
19128 s=`cd $(srcdir); ${PWD}`; export s; \
19129 $(SET_LIB_PATH) \
19130 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
19133 .PHONY: configure-gettext maybe-configure-gettext
19134 maybe-configure-gettext:
19135 configure-gettext:
19136 @test ! -f gettext/Makefile || exit 0; \
19137 [ -d gettext ] || mkdir gettext; \
19138 r=`${PWD}`; export r; \
19139 s=`cd $(srcdir); ${PWD}`; export s; \
19140 CC="$(CC)"; export CC; \
19141 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19142 CXX="$(CXX)"; export CXX; \
19143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19144 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19145 AR="$(AR)"; export AR; \
19146 AS="$(AS)"; export AS; \
19147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19149 LD="$(LD)"; export LD; \
19150 NM="$(NM)"; export NM; \
19151 RANLIB="$(RANLIB)"; export RANLIB; \
19152 WINDRES="$(WINDRES)"; export WINDRES; \
19153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19155 fi; \
19156 echo Configuring in gettext; \
19157 cd gettext || exit 1; \
19158 case $(srcdir) in \
19159 \.) \
19160 srcdiroption="--srcdir=."; \
19161 libsrcdir=".";; \
19162 /* | [A-Za-z]:[\\/]*) \
19163 srcdiroption="--srcdir=$(srcdir)/gettext"; \
19164 libsrcdir="$$s/gettext";; \
19165 *) \
19166 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
19167 libsrcdir="$$s/gettext";; \
19168 esac; \
19169 $(SHELL) $${libsrcdir}/configure \
19170 $(HOST_CONFIGARGS) $${srcdiroption} \
19171 || exit 1
19173 .PHONY: all-gettext maybe-all-gettext
19174 maybe-all-gettext:
19175 all-gettext: configure-gettext
19176 @r=`${PWD}`; export r; \
19177 s=`cd $(srcdir); ${PWD}`; export s; \
19178 $(SET_LIB_PATH) \
19179 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
19181 .PHONY: check-gettext maybe-check-gettext
19182 maybe-check-gettext:
19184 check-gettext:
19185 @r=`${PWD}`; export r; \
19186 s=`cd $(srcdir); ${PWD}`; export s; \
19187 $(SET_LIB_PATH) \
19188 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
19191 .PHONY: install-gettext maybe-install-gettext
19192 maybe-install-gettext:
19194 install-gettext: installdirs
19195 @r=`${PWD}`; export r; \
19196 s=`cd $(srcdir); ${PWD}`; export s; \
19197 $(SET_LIB_PATH) \
19198 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
19201 .PHONY: configure-gnuserv maybe-configure-gnuserv
19202 maybe-configure-gnuserv:
19203 configure-gnuserv:
19204 @test ! -f gnuserv/Makefile || exit 0; \
19205 [ -d gnuserv ] || mkdir gnuserv; \
19206 r=`${PWD}`; export r; \
19207 s=`cd $(srcdir); ${PWD}`; export s; \
19208 CC="$(CC)"; export CC; \
19209 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19210 CXX="$(CXX)"; export CXX; \
19211 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19212 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19213 AR="$(AR)"; export AR; \
19214 AS="$(AS)"; export AS; \
19215 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19216 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19217 LD="$(LD)"; export LD; \
19218 NM="$(NM)"; export NM; \
19219 RANLIB="$(RANLIB)"; export RANLIB; \
19220 WINDRES="$(WINDRES)"; export WINDRES; \
19221 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19222 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19223 fi; \
19224 echo Configuring in gnuserv; \
19225 cd gnuserv || exit 1; \
19226 case $(srcdir) in \
19227 \.) \
19228 srcdiroption="--srcdir=."; \
19229 libsrcdir=".";; \
19230 /* | [A-Za-z]:[\\/]*) \
19231 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
19232 libsrcdir="$$s/gnuserv";; \
19233 *) \
19234 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
19235 libsrcdir="$$s/gnuserv";; \
19236 esac; \
19237 $(SHELL) $${libsrcdir}/configure \
19238 $(HOST_CONFIGARGS) $${srcdiroption} \
19239 || exit 1
19241 .PHONY: all-gnuserv maybe-all-gnuserv
19242 maybe-all-gnuserv:
19243 all-gnuserv: configure-gnuserv
19244 @r=`${PWD}`; export r; \
19245 s=`cd $(srcdir); ${PWD}`; export s; \
19246 $(SET_LIB_PATH) \
19247 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
19249 .PHONY: check-gnuserv maybe-check-gnuserv
19250 maybe-check-gnuserv:
19252 check-gnuserv:
19253 @r=`${PWD}`; export r; \
19254 s=`cd $(srcdir); ${PWD}`; export s; \
19255 $(SET_LIB_PATH) \
19256 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
19259 .PHONY: install-gnuserv maybe-install-gnuserv
19260 maybe-install-gnuserv:
19262 install-gnuserv: installdirs
19263 @r=`${PWD}`; export r; \
19264 s=`cd $(srcdir); ${PWD}`; export s; \
19265 $(SET_LIB_PATH) \
19266 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
19269 .PHONY: configure-gprof maybe-configure-gprof
19270 maybe-configure-gprof:
19271 configure-gprof:
19272 @test ! -f gprof/Makefile || exit 0; \
19273 [ -d gprof ] || mkdir gprof; \
19274 r=`${PWD}`; export r; \
19275 s=`cd $(srcdir); ${PWD}`; export s; \
19276 CC="$(CC)"; export CC; \
19277 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19278 CXX="$(CXX)"; export CXX; \
19279 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19280 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19281 AR="$(AR)"; export AR; \
19282 AS="$(AS)"; export AS; \
19283 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19284 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19285 LD="$(LD)"; export LD; \
19286 NM="$(NM)"; export NM; \
19287 RANLIB="$(RANLIB)"; export RANLIB; \
19288 WINDRES="$(WINDRES)"; export WINDRES; \
19289 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19290 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19291 fi; \
19292 echo Configuring in gprof; \
19293 cd gprof || exit 1; \
19294 case $(srcdir) in \
19295 \.) \
19296 srcdiroption="--srcdir=."; \
19297 libsrcdir=".";; \
19298 /* | [A-Za-z]:[\\/]*) \
19299 srcdiroption="--srcdir=$(srcdir)/gprof"; \
19300 libsrcdir="$$s/gprof";; \
19301 *) \
19302 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
19303 libsrcdir="$$s/gprof";; \
19304 esac; \
19305 $(SHELL) $${libsrcdir}/configure \
19306 $(HOST_CONFIGARGS) $${srcdiroption} \
19307 || exit 1
19309 .PHONY: all-gprof maybe-all-gprof
19310 maybe-all-gprof:
19311 all-gprof: configure-gprof
19312 @r=`${PWD}`; export r; \
19313 s=`cd $(srcdir); ${PWD}`; export s; \
19314 $(SET_LIB_PATH) \
19315 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
19317 .PHONY: check-gprof maybe-check-gprof
19318 maybe-check-gprof:
19320 check-gprof:
19321 @r=`${PWD}`; export r; \
19322 s=`cd $(srcdir); ${PWD}`; export s; \
19323 $(SET_LIB_PATH) \
19324 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
19327 .PHONY: install-gprof maybe-install-gprof
19328 maybe-install-gprof:
19330 install-gprof: installdirs
19331 @r=`${PWD}`; export r; \
19332 s=`cd $(srcdir); ${PWD}`; export s; \
19333 $(SET_LIB_PATH) \
19334 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
19337 .PHONY: configure-gzip maybe-configure-gzip
19338 maybe-configure-gzip:
19339 configure-gzip:
19340 @test ! -f gzip/Makefile || exit 0; \
19341 [ -d gzip ] || mkdir gzip; \
19342 r=`${PWD}`; export r; \
19343 s=`cd $(srcdir); ${PWD}`; export s; \
19344 CC="$(CC)"; export CC; \
19345 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19346 CXX="$(CXX)"; export CXX; \
19347 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19348 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19349 AR="$(AR)"; export AR; \
19350 AS="$(AS)"; export AS; \
19351 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19352 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19353 LD="$(LD)"; export LD; \
19354 NM="$(NM)"; export NM; \
19355 RANLIB="$(RANLIB)"; export RANLIB; \
19356 WINDRES="$(WINDRES)"; export WINDRES; \
19357 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19358 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19359 fi; \
19360 echo Configuring in gzip; \
19361 cd gzip || exit 1; \
19362 case $(srcdir) in \
19363 \.) \
19364 srcdiroption="--srcdir=."; \
19365 libsrcdir=".";; \
19366 /* | [A-Za-z]:[\\/]*) \
19367 srcdiroption="--srcdir=$(srcdir)/gzip"; \
19368 libsrcdir="$$s/gzip";; \
19369 *) \
19370 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
19371 libsrcdir="$$s/gzip";; \
19372 esac; \
19373 $(SHELL) $${libsrcdir}/configure \
19374 $(HOST_CONFIGARGS) $${srcdiroption} \
19375 || exit 1
19377 .PHONY: all-gzip maybe-all-gzip
19378 maybe-all-gzip:
19379 all-gzip: configure-gzip
19380 @r=`${PWD}`; export r; \
19381 s=`cd $(srcdir); ${PWD}`; export s; \
19382 $(SET_LIB_PATH) \
19383 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
19385 .PHONY: check-gzip maybe-check-gzip
19386 maybe-check-gzip:
19388 check-gzip:
19389 @r=`${PWD}`; export r; \
19390 s=`cd $(srcdir); ${PWD}`; export s; \
19391 $(SET_LIB_PATH) \
19392 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
19395 .PHONY: install-gzip maybe-install-gzip
19396 maybe-install-gzip:
19398 install-gzip: installdirs
19399 @r=`${PWD}`; export r; \
19400 s=`cd $(srcdir); ${PWD}`; export s; \
19401 $(SET_LIB_PATH) \
19402 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
19405 .PHONY: configure-hello maybe-configure-hello
19406 maybe-configure-hello:
19407 configure-hello:
19408 @test ! -f hello/Makefile || exit 0; \
19409 [ -d hello ] || mkdir hello; \
19410 r=`${PWD}`; export r; \
19411 s=`cd $(srcdir); ${PWD}`; export s; \
19412 CC="$(CC)"; export CC; \
19413 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19414 CXX="$(CXX)"; export CXX; \
19415 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19416 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19417 AR="$(AR)"; export AR; \
19418 AS="$(AS)"; export AS; \
19419 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19420 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19421 LD="$(LD)"; export LD; \
19422 NM="$(NM)"; export NM; \
19423 RANLIB="$(RANLIB)"; export RANLIB; \
19424 WINDRES="$(WINDRES)"; export WINDRES; \
19425 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19426 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19427 fi; \
19428 echo Configuring in hello; \
19429 cd hello || exit 1; \
19430 case $(srcdir) in \
19431 \.) \
19432 srcdiroption="--srcdir=."; \
19433 libsrcdir=".";; \
19434 /* | [A-Za-z]:[\\/]*) \
19435 srcdiroption="--srcdir=$(srcdir)/hello"; \
19436 libsrcdir="$$s/hello";; \
19437 *) \
19438 srcdiroption="--srcdir=../$(srcdir)/hello"; \
19439 libsrcdir="$$s/hello";; \
19440 esac; \
19441 $(SHELL) $${libsrcdir}/configure \
19442 $(HOST_CONFIGARGS) $${srcdiroption} \
19443 || exit 1
19445 .PHONY: all-hello maybe-all-hello
19446 maybe-all-hello:
19447 all-hello: configure-hello
19448 @r=`${PWD}`; export r; \
19449 s=`cd $(srcdir); ${PWD}`; export s; \
19450 $(SET_LIB_PATH) \
19451 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
19453 .PHONY: check-hello maybe-check-hello
19454 maybe-check-hello:
19456 check-hello:
19457 @r=`${PWD}`; export r; \
19458 s=`cd $(srcdir); ${PWD}`; export s; \
19459 $(SET_LIB_PATH) \
19460 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
19463 .PHONY: install-hello maybe-install-hello
19464 maybe-install-hello:
19466 install-hello: installdirs
19467 @r=`${PWD}`; export r; \
19468 s=`cd $(srcdir); ${PWD}`; export s; \
19469 $(SET_LIB_PATH) \
19470 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
19473 .PHONY: configure-indent maybe-configure-indent
19474 maybe-configure-indent:
19475 configure-indent:
19476 @test ! -f indent/Makefile || exit 0; \
19477 [ -d indent ] || mkdir indent; \
19478 r=`${PWD}`; export r; \
19479 s=`cd $(srcdir); ${PWD}`; export s; \
19480 CC="$(CC)"; export CC; \
19481 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19482 CXX="$(CXX)"; export CXX; \
19483 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19484 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19485 AR="$(AR)"; export AR; \
19486 AS="$(AS)"; export AS; \
19487 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19488 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19489 LD="$(LD)"; export LD; \
19490 NM="$(NM)"; export NM; \
19491 RANLIB="$(RANLIB)"; export RANLIB; \
19492 WINDRES="$(WINDRES)"; export WINDRES; \
19493 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19494 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19495 fi; \
19496 echo Configuring in indent; \
19497 cd indent || exit 1; \
19498 case $(srcdir) in \
19499 \.) \
19500 srcdiroption="--srcdir=."; \
19501 libsrcdir=".";; \
19502 /* | [A-Za-z]:[\\/]*) \
19503 srcdiroption="--srcdir=$(srcdir)/indent"; \
19504 libsrcdir="$$s/indent";; \
19505 *) \
19506 srcdiroption="--srcdir=../$(srcdir)/indent"; \
19507 libsrcdir="$$s/indent";; \
19508 esac; \
19509 $(SHELL) $${libsrcdir}/configure \
19510 $(HOST_CONFIGARGS) $${srcdiroption} \
19511 || exit 1
19513 .PHONY: all-indent maybe-all-indent
19514 maybe-all-indent:
19515 all-indent: configure-indent
19516 @r=`${PWD}`; export r; \
19517 s=`cd $(srcdir); ${PWD}`; export s; \
19518 $(SET_LIB_PATH) \
19519 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
19521 .PHONY: check-indent maybe-check-indent
19522 maybe-check-indent:
19524 check-indent:
19525 @r=`${PWD}`; export r; \
19526 s=`cd $(srcdir); ${PWD}`; export s; \
19527 $(SET_LIB_PATH) \
19528 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
19531 .PHONY: install-indent maybe-install-indent
19532 maybe-install-indent:
19534 install-indent: installdirs
19535 @r=`${PWD}`; export r; \
19536 s=`cd $(srcdir); ${PWD}`; export s; \
19537 $(SET_LIB_PATH) \
19538 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
19541 .PHONY: configure-intl maybe-configure-intl
19542 maybe-configure-intl:
19543 configure-intl:
19544 @test ! -f intl/Makefile || exit 0; \
19545 [ -d intl ] || mkdir intl; \
19546 r=`${PWD}`; export r; \
19547 s=`cd $(srcdir); ${PWD}`; export s; \
19548 CC="$(CC)"; export CC; \
19549 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19550 CXX="$(CXX)"; export CXX; \
19551 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19552 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19553 AR="$(AR)"; export AR; \
19554 AS="$(AS)"; export AS; \
19555 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19556 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19557 LD="$(LD)"; export LD; \
19558 NM="$(NM)"; export NM; \
19559 RANLIB="$(RANLIB)"; export RANLIB; \
19560 WINDRES="$(WINDRES)"; export WINDRES; \
19561 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19562 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19563 fi; \
19564 echo Configuring in intl; \
19565 cd intl || exit 1; \
19566 case $(srcdir) in \
19567 \.) \
19568 srcdiroption="--srcdir=."; \
19569 libsrcdir=".";; \
19570 /* | [A-Za-z]:[\\/]*) \
19571 srcdiroption="--srcdir=$(srcdir)/intl"; \
19572 libsrcdir="$$s/intl";; \
19573 *) \
19574 srcdiroption="--srcdir=../$(srcdir)/intl"; \
19575 libsrcdir="$$s/intl";; \
19576 esac; \
19577 $(SHELL) $${libsrcdir}/configure \
19578 $(HOST_CONFIGARGS) $${srcdiroption} \
19579 || exit 1
19581 .PHONY: all-intl maybe-all-intl
19582 maybe-all-intl:
19583 all-intl: configure-intl
19584 @r=`${PWD}`; export r; \
19585 s=`cd $(srcdir); ${PWD}`; export s; \
19586 $(SET_LIB_PATH) \
19587 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
19589 .PHONY: check-intl maybe-check-intl
19590 maybe-check-intl:
19592 check-intl:
19593 @r=`${PWD}`; export r; \
19594 s=`cd $(srcdir); ${PWD}`; export s; \
19595 $(SET_LIB_PATH) \
19596 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
19599 .PHONY: install-intl maybe-install-intl
19600 maybe-install-intl:
19602 install-intl: installdirs
19603 @r=`${PWD}`; export r; \
19604 s=`cd $(srcdir); ${PWD}`; export s; \
19605 $(SET_LIB_PATH) \
19606 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
19609 .PHONY: configure-tcl maybe-configure-tcl
19610 maybe-configure-tcl:
19611 configure-tcl:
19612 @test ! -f tcl/Makefile || exit 0; \
19613 [ -d tcl ] || mkdir tcl; \
19614 r=`${PWD}`; export r; \
19615 s=`cd $(srcdir); ${PWD}`; export s; \
19616 CC="$(CC)"; export CC; \
19617 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19618 CXX="$(CXX)"; export CXX; \
19619 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19620 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
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 fi; \
19632 echo Configuring in tcl; \
19633 cd tcl || exit 1; \
19634 case $(srcdir) in \
19635 \.) \
19636 srcdiroption="--srcdir=."; \
19637 libsrcdir=".";; \
19638 /* | [A-Za-z]:[\\/]*) \
19639 srcdiroption="--srcdir=$(srcdir)/tcl"; \
19640 libsrcdir="$$s/tcl";; \
19641 *) \
19642 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
19643 libsrcdir="$$s/tcl";; \
19644 esac; \
19645 $(SHELL) $${libsrcdir}/configure \
19646 $(HOST_CONFIGARGS) $${srcdiroption} \
19647 || exit 1
19649 .PHONY: all-tcl maybe-all-tcl
19650 maybe-all-tcl:
19651 all-tcl: configure-tcl
19652 @r=`${PWD}`; export r; \
19653 s=`cd $(srcdir); ${PWD}`; export s; \
19654 $(SET_LIB_PATH) \
19655 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
19657 .PHONY: check-tcl maybe-check-tcl
19658 maybe-check-tcl:
19660 check-tcl:
19661 @r=`${PWD}`; export r; \
19662 s=`cd $(srcdir); ${PWD}`; export s; \
19663 $(SET_LIB_PATH) \
19664 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
19667 .PHONY: install-tcl maybe-install-tcl
19668 maybe-install-tcl:
19670 install-tcl: installdirs
19671 @r=`${PWD}`; export r; \
19672 s=`cd $(srcdir); ${PWD}`; export s; \
19673 $(SET_LIB_PATH) \
19674 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
19677 .PHONY: configure-itcl maybe-configure-itcl
19678 maybe-configure-itcl:
19679 configure-itcl:
19680 @test ! -f itcl/Makefile || exit 0; \
19681 [ -d itcl ] || mkdir itcl; \
19682 r=`${PWD}`; export r; \
19683 s=`cd $(srcdir); ${PWD}`; export s; \
19684 CC="$(CC)"; export CC; \
19685 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19686 CXX="$(CXX)"; export CXX; \
19687 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19688 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19689 AR="$(AR)"; export AR; \
19690 AS="$(AS)"; export AS; \
19691 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19692 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19693 LD="$(LD)"; export LD; \
19694 NM="$(NM)"; export NM; \
19695 RANLIB="$(RANLIB)"; export RANLIB; \
19696 WINDRES="$(WINDRES)"; export WINDRES; \
19697 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19698 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19699 fi; \
19700 echo Configuring in itcl; \
19701 cd itcl || exit 1; \
19702 case $(srcdir) in \
19703 \.) \
19704 srcdiroption="--srcdir=."; \
19705 libsrcdir=".";; \
19706 /* | [A-Za-z]:[\\/]*) \
19707 srcdiroption="--srcdir=$(srcdir)/itcl"; \
19708 libsrcdir="$$s/itcl";; \
19709 *) \
19710 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
19711 libsrcdir="$$s/itcl";; \
19712 esac; \
19713 $(SHELL) $${libsrcdir}/configure \
19714 $(HOST_CONFIGARGS) $${srcdiroption} \
19715 || exit 1
19717 .PHONY: all-itcl maybe-all-itcl
19718 maybe-all-itcl:
19719 all-itcl: configure-itcl
19720 @r=`${PWD}`; export r; \
19721 s=`cd $(srcdir); ${PWD}`; export s; \
19722 $(SET_LIB_PATH) \
19723 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
19725 .PHONY: check-itcl maybe-check-itcl
19726 maybe-check-itcl:
19728 check-itcl:
19729 @r=`${PWD}`; export r; \
19730 s=`cd $(srcdir); ${PWD}`; export s; \
19731 $(SET_LIB_PATH) \
19732 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
19735 .PHONY: install-itcl maybe-install-itcl
19736 maybe-install-itcl:
19738 install-itcl: installdirs
19739 @r=`${PWD}`; export r; \
19740 s=`cd $(srcdir); ${PWD}`; export s; \
19741 $(SET_LIB_PATH) \
19742 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
19745 .PHONY: configure-ld maybe-configure-ld
19746 maybe-configure-ld:
19747 configure-ld:
19748 @test ! -f ld/Makefile || exit 0; \
19749 [ -d ld ] || mkdir ld; \
19750 r=`${PWD}`; export r; \
19751 s=`cd $(srcdir); ${PWD}`; export s; \
19752 CC="$(CC)"; export CC; \
19753 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19754 CXX="$(CXX)"; export CXX; \
19755 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19756 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19757 AR="$(AR)"; export AR; \
19758 AS="$(AS)"; export AS; \
19759 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19760 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19761 LD="$(LD)"; export LD; \
19762 NM="$(NM)"; export NM; \
19763 RANLIB="$(RANLIB)"; export RANLIB; \
19764 WINDRES="$(WINDRES)"; export WINDRES; \
19765 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19766 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19767 fi; \
19768 echo Configuring in ld; \
19769 cd ld || exit 1; \
19770 case $(srcdir) in \
19771 \.) \
19772 srcdiroption="--srcdir=."; \
19773 libsrcdir=".";; \
19774 /* | [A-Za-z]:[\\/]*) \
19775 srcdiroption="--srcdir=$(srcdir)/ld"; \
19776 libsrcdir="$$s/ld";; \
19777 *) \
19778 srcdiroption="--srcdir=../$(srcdir)/ld"; \
19779 libsrcdir="$$s/ld";; \
19780 esac; \
19781 $(SHELL) $${libsrcdir}/configure \
19782 $(HOST_CONFIGARGS) $${srcdiroption} \
19783 || exit 1
19785 .PHONY: all-ld maybe-all-ld
19786 maybe-all-ld:
19787 all-ld: configure-ld
19788 @r=`${PWD}`; export r; \
19789 s=`cd $(srcdir); ${PWD}`; export s; \
19790 $(SET_LIB_PATH) \
19791 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
19793 .PHONY: check-ld maybe-check-ld
19794 maybe-check-ld:
19796 check-ld:
19797 @r=`${PWD}`; export r; \
19798 s=`cd $(srcdir); ${PWD}`; export s; \
19799 $(SET_LIB_PATH) \
19800 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
19803 .PHONY: install-ld maybe-install-ld
19804 maybe-install-ld:
19806 install-ld: installdirs
19807 @r=`${PWD}`; export r; \
19808 s=`cd $(srcdir); ${PWD}`; export s; \
19809 $(SET_LIB_PATH) \
19810 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
19813 .PHONY: configure-libgui maybe-configure-libgui
19814 maybe-configure-libgui:
19815 configure-libgui:
19816 @test ! -f libgui/Makefile || exit 0; \
19817 [ -d libgui ] || mkdir libgui; \
19818 r=`${PWD}`; export r; \
19819 s=`cd $(srcdir); ${PWD}`; export s; \
19820 CC="$(CC)"; export CC; \
19821 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19822 CXX="$(CXX)"; export CXX; \
19823 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19824 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19825 AR="$(AR)"; export AR; \
19826 AS="$(AS)"; export AS; \
19827 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19828 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19829 LD="$(LD)"; export LD; \
19830 NM="$(NM)"; export NM; \
19831 RANLIB="$(RANLIB)"; export RANLIB; \
19832 WINDRES="$(WINDRES)"; export WINDRES; \
19833 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19834 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19835 fi; \
19836 echo Configuring in libgui; \
19837 cd libgui || exit 1; \
19838 case $(srcdir) in \
19839 \.) \
19840 srcdiroption="--srcdir=."; \
19841 libsrcdir=".";; \
19842 /* | [A-Za-z]:[\\/]*) \
19843 srcdiroption="--srcdir=$(srcdir)/libgui"; \
19844 libsrcdir="$$s/libgui";; \
19845 *) \
19846 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
19847 libsrcdir="$$s/libgui";; \
19848 esac; \
19849 $(SHELL) $${libsrcdir}/configure \
19850 $(HOST_CONFIGARGS) $${srcdiroption} \
19851 || exit 1
19853 .PHONY: all-libgui maybe-all-libgui
19854 maybe-all-libgui:
19855 all-libgui: configure-libgui
19856 @r=`${PWD}`; export r; \
19857 s=`cd $(srcdir); ${PWD}`; export s; \
19858 $(SET_LIB_PATH) \
19859 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
19861 .PHONY: check-libgui maybe-check-libgui
19862 maybe-check-libgui:
19864 check-libgui:
19865 @r=`${PWD}`; export r; \
19866 s=`cd $(srcdir); ${PWD}`; export s; \
19867 $(SET_LIB_PATH) \
19868 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
19871 .PHONY: install-libgui maybe-install-libgui
19872 maybe-install-libgui:
19874 install-libgui: installdirs
19875 @r=`${PWD}`; export r; \
19876 s=`cd $(srcdir); ${PWD}`; export s; \
19877 $(SET_LIB_PATH) \
19878 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
19881 .PHONY: configure-libiberty maybe-configure-libiberty
19882 maybe-configure-libiberty:
19883 configure-libiberty:
19884 @test ! -f libiberty/Makefile || exit 0; \
19885 [ -d libiberty ] || mkdir libiberty; \
19886 r=`${PWD}`; export r; \
19887 s=`cd $(srcdir); ${PWD}`; export s; \
19888 CC="$(CC)"; export CC; \
19889 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19890 CXX="$(CXX)"; export CXX; \
19891 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19892 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19893 AR="$(AR)"; export AR; \
19894 AS="$(AS)"; export AS; \
19895 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19896 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19897 LD="$(LD)"; export LD; \
19898 NM="$(NM)"; export NM; \
19899 RANLIB="$(RANLIB)"; export RANLIB; \
19900 WINDRES="$(WINDRES)"; export WINDRES; \
19901 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19902 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19903 fi; \
19904 echo Configuring in libiberty; \
19905 cd libiberty || exit 1; \
19906 case $(srcdir) in \
19907 \.) \
19908 srcdiroption="--srcdir=."; \
19909 libsrcdir=".";; \
19910 /* | [A-Za-z]:[\\/]*) \
19911 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
19912 libsrcdir="$$s/libiberty";; \
19913 *) \
19914 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
19915 libsrcdir="$$s/libiberty";; \
19916 esac; \
19917 $(SHELL) $${libsrcdir}/configure \
19918 $(HOST_CONFIGARGS) $${srcdiroption} \
19919 || exit 1
19921 .PHONY: all-libiberty maybe-all-libiberty
19922 maybe-all-libiberty:
19923 all-libiberty: configure-libiberty
19924 @r=`${PWD}`; export r; \
19925 s=`cd $(srcdir); ${PWD}`; export s; \
19926 $(SET_LIB_PATH) \
19927 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
19929 .PHONY: check-libiberty maybe-check-libiberty
19930 maybe-check-libiberty:
19932 check-libiberty:
19933 @r=`${PWD}`; export r; \
19934 s=`cd $(srcdir); ${PWD}`; export s; \
19935 $(SET_LIB_PATH) \
19936 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
19939 .PHONY: install-libiberty maybe-install-libiberty
19940 maybe-install-libiberty:
19942 install-libiberty: installdirs
19943 @r=`${PWD}`; export r; \
19944 s=`cd $(srcdir); ${PWD}`; export s; \
19945 $(SET_LIB_PATH) \
19946 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
19949 .PHONY: configure-libtool maybe-configure-libtool
19950 maybe-configure-libtool:
19951 configure-libtool:
19952 @test ! -f libtool/Makefile || exit 0; \
19953 [ -d libtool ] || mkdir libtool; \
19954 r=`${PWD}`; export r; \
19955 s=`cd $(srcdir); ${PWD}`; export s; \
19956 CC="$(CC)"; export CC; \
19957 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19958 CXX="$(CXX)"; export CXX; \
19959 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19960 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
19961 AR="$(AR)"; export AR; \
19962 AS="$(AS)"; export AS; \
19963 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19964 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19965 LD="$(LD)"; export LD; \
19966 NM="$(NM)"; export NM; \
19967 RANLIB="$(RANLIB)"; export RANLIB; \
19968 WINDRES="$(WINDRES)"; export WINDRES; \
19969 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19970 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19971 fi; \
19972 echo Configuring in libtool; \
19973 cd libtool || exit 1; \
19974 case $(srcdir) in \
19975 \.) \
19976 srcdiroption="--srcdir=."; \
19977 libsrcdir=".";; \
19978 /* | [A-Za-z]:[\\/]*) \
19979 srcdiroption="--srcdir=$(srcdir)/libtool"; \
19980 libsrcdir="$$s/libtool";; \
19981 *) \
19982 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
19983 libsrcdir="$$s/libtool";; \
19984 esac; \
19985 $(SHELL) $${libsrcdir}/configure \
19986 $(HOST_CONFIGARGS) $${srcdiroption} \
19987 || exit 1
19989 .PHONY: all-libtool maybe-all-libtool
19990 maybe-all-libtool:
19991 all-libtool: configure-libtool
19992 @r=`${PWD}`; export r; \
19993 s=`cd $(srcdir); ${PWD}`; export s; \
19994 $(SET_LIB_PATH) \
19995 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
19997 .PHONY: check-libtool maybe-check-libtool
19998 maybe-check-libtool:
20000 check-libtool:
20001 @r=`${PWD}`; export r; \
20002 s=`cd $(srcdir); ${PWD}`; export s; \
20003 $(SET_LIB_PATH) \
20004 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
20007 .PHONY: install-libtool maybe-install-libtool
20008 maybe-install-libtool:
20010 install-libtool: installdirs
20011 @r=`${PWD}`; export r; \
20012 s=`cd $(srcdir); ${PWD}`; export s; \
20013 $(SET_LIB_PATH) \
20014 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
20017 .PHONY: configure-m4 maybe-configure-m4
20018 maybe-configure-m4:
20019 configure-m4:
20020 @test ! -f m4/Makefile || exit 0; \
20021 [ -d m4 ] || mkdir m4; \
20022 r=`${PWD}`; export r; \
20023 s=`cd $(srcdir); ${PWD}`; export s; \
20024 CC="$(CC)"; export CC; \
20025 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20026 CXX="$(CXX)"; export CXX; \
20027 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20028 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20029 AR="$(AR)"; export AR; \
20030 AS="$(AS)"; export AS; \
20031 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20032 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20033 LD="$(LD)"; export LD; \
20034 NM="$(NM)"; export NM; \
20035 RANLIB="$(RANLIB)"; export RANLIB; \
20036 WINDRES="$(WINDRES)"; export WINDRES; \
20037 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20038 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20039 fi; \
20040 echo Configuring in m4; \
20041 cd m4 || exit 1; \
20042 case $(srcdir) in \
20043 \.) \
20044 srcdiroption="--srcdir=."; \
20045 libsrcdir=".";; \
20046 /* | [A-Za-z]:[\\/]*) \
20047 srcdiroption="--srcdir=$(srcdir)/m4"; \
20048 libsrcdir="$$s/m4";; \
20049 *) \
20050 srcdiroption="--srcdir=../$(srcdir)/m4"; \
20051 libsrcdir="$$s/m4";; \
20052 esac; \
20053 $(SHELL) $${libsrcdir}/configure \
20054 $(HOST_CONFIGARGS) $${srcdiroption} \
20055 || exit 1
20057 .PHONY: all-m4 maybe-all-m4
20058 maybe-all-m4:
20059 all-m4: configure-m4
20060 @r=`${PWD}`; export r; \
20061 s=`cd $(srcdir); ${PWD}`; export s; \
20062 $(SET_LIB_PATH) \
20063 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
20065 .PHONY: check-m4 maybe-check-m4
20066 maybe-check-m4:
20068 check-m4:
20069 @r=`${PWD}`; export r; \
20070 s=`cd $(srcdir); ${PWD}`; export s; \
20071 $(SET_LIB_PATH) \
20072 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
20075 .PHONY: install-m4 maybe-install-m4
20076 maybe-install-m4:
20078 install-m4: installdirs
20079 @r=`${PWD}`; export r; \
20080 s=`cd $(srcdir); ${PWD}`; export s; \
20081 $(SET_LIB_PATH) \
20082 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
20085 .PHONY: configure-make maybe-configure-make
20086 maybe-configure-make:
20087 configure-make:
20088 @test ! -f make/Makefile || exit 0; \
20089 [ -d make ] || mkdir make; \
20090 r=`${PWD}`; export r; \
20091 s=`cd $(srcdir); ${PWD}`; export s; \
20092 CC="$(CC)"; export CC; \
20093 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20094 CXX="$(CXX)"; export CXX; \
20095 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20096 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20097 AR="$(AR)"; export AR; \
20098 AS="$(AS)"; export AS; \
20099 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20100 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20101 LD="$(LD)"; export LD; \
20102 NM="$(NM)"; export NM; \
20103 RANLIB="$(RANLIB)"; export RANLIB; \
20104 WINDRES="$(WINDRES)"; export WINDRES; \
20105 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20106 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20107 fi; \
20108 echo Configuring in make; \
20109 cd make || exit 1; \
20110 case $(srcdir) in \
20111 \.) \
20112 srcdiroption="--srcdir=."; \
20113 libsrcdir=".";; \
20114 /* | [A-Za-z]:[\\/]*) \
20115 srcdiroption="--srcdir=$(srcdir)/make"; \
20116 libsrcdir="$$s/make";; \
20117 *) \
20118 srcdiroption="--srcdir=../$(srcdir)/make"; \
20119 libsrcdir="$$s/make";; \
20120 esac; \
20121 $(SHELL) $${libsrcdir}/configure \
20122 $(HOST_CONFIGARGS) $${srcdiroption} \
20123 || exit 1
20125 .PHONY: all-make maybe-all-make
20126 maybe-all-make:
20127 all-make: configure-make
20128 @r=`${PWD}`; export r; \
20129 s=`cd $(srcdir); ${PWD}`; export s; \
20130 $(SET_LIB_PATH) \
20131 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
20133 .PHONY: check-make maybe-check-make
20134 maybe-check-make:
20136 check-make:
20137 @r=`${PWD}`; export r; \
20138 s=`cd $(srcdir); ${PWD}`; export s; \
20139 $(SET_LIB_PATH) \
20140 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
20143 .PHONY: install-make maybe-install-make
20144 maybe-install-make:
20146 install-make: installdirs
20147 @r=`${PWD}`; export r; \
20148 s=`cd $(srcdir); ${PWD}`; export s; \
20149 $(SET_LIB_PATH) \
20150 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
20153 .PHONY: configure-mmalloc maybe-configure-mmalloc
20154 maybe-configure-mmalloc:
20155 configure-mmalloc:
20156 @test ! -f mmalloc/Makefile || exit 0; \
20157 [ -d mmalloc ] || mkdir mmalloc; \
20158 r=`${PWD}`; export r; \
20159 s=`cd $(srcdir); ${PWD}`; export s; \
20160 CC="$(CC)"; export CC; \
20161 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20162 CXX="$(CXX)"; export CXX; \
20163 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20164 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20165 AR="$(AR)"; export AR; \
20166 AS="$(AS)"; export AS; \
20167 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20168 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20169 LD="$(LD)"; export LD; \
20170 NM="$(NM)"; export NM; \
20171 RANLIB="$(RANLIB)"; export RANLIB; \
20172 WINDRES="$(WINDRES)"; export WINDRES; \
20173 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20174 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20175 fi; \
20176 echo Configuring in mmalloc; \
20177 cd mmalloc || exit 1; \
20178 case $(srcdir) in \
20179 \.) \
20180 srcdiroption="--srcdir=."; \
20181 libsrcdir=".";; \
20182 /* | [A-Za-z]:[\\/]*) \
20183 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
20184 libsrcdir="$$s/mmalloc";; \
20185 *) \
20186 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
20187 libsrcdir="$$s/mmalloc";; \
20188 esac; \
20189 $(SHELL) $${libsrcdir}/configure \
20190 $(HOST_CONFIGARGS) $${srcdiroption} \
20191 || exit 1
20193 .PHONY: all-mmalloc maybe-all-mmalloc
20194 maybe-all-mmalloc:
20195 all-mmalloc: configure-mmalloc
20196 @r=`${PWD}`; export r; \
20197 s=`cd $(srcdir); ${PWD}`; export s; \
20198 $(SET_LIB_PATH) \
20199 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
20201 .PHONY: check-mmalloc maybe-check-mmalloc
20202 maybe-check-mmalloc:
20204 check-mmalloc:
20207 .PHONY: install-mmalloc maybe-install-mmalloc
20208 maybe-install-mmalloc:
20210 install-mmalloc: installdirs
20211 @r=`${PWD}`; export r; \
20212 s=`cd $(srcdir); ${PWD}`; export s; \
20213 $(SET_LIB_PATH) \
20214 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
20217 .PHONY: configure-patch maybe-configure-patch
20218 maybe-configure-patch:
20219 configure-patch:
20220 @test ! -f patch/Makefile || exit 0; \
20221 [ -d patch ] || mkdir patch; \
20222 r=`${PWD}`; export r; \
20223 s=`cd $(srcdir); ${PWD}`; export s; \
20224 CC="$(CC)"; export CC; \
20225 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20226 CXX="$(CXX)"; export CXX; \
20227 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20228 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20229 AR="$(AR)"; export AR; \
20230 AS="$(AS)"; export AS; \
20231 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20232 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20233 LD="$(LD)"; export LD; \
20234 NM="$(NM)"; export NM; \
20235 RANLIB="$(RANLIB)"; export RANLIB; \
20236 WINDRES="$(WINDRES)"; export WINDRES; \
20237 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20238 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20239 fi; \
20240 echo Configuring in patch; \
20241 cd patch || exit 1; \
20242 case $(srcdir) in \
20243 \.) \
20244 srcdiroption="--srcdir=."; \
20245 libsrcdir=".";; \
20246 /* | [A-Za-z]:[\\/]*) \
20247 srcdiroption="--srcdir=$(srcdir)/patch"; \
20248 libsrcdir="$$s/patch";; \
20249 *) \
20250 srcdiroption="--srcdir=../$(srcdir)/patch"; \
20251 libsrcdir="$$s/patch";; \
20252 esac; \
20253 $(SHELL) $${libsrcdir}/configure \
20254 $(HOST_CONFIGARGS) $${srcdiroption} \
20255 || exit 1
20257 .PHONY: all-patch maybe-all-patch
20258 maybe-all-patch:
20259 all-patch: configure-patch
20260 @r=`${PWD}`; export r; \
20261 s=`cd $(srcdir); ${PWD}`; export s; \
20262 $(SET_LIB_PATH) \
20263 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
20265 .PHONY: check-patch maybe-check-patch
20266 maybe-check-patch:
20268 check-patch:
20269 @r=`${PWD}`; export r; \
20270 s=`cd $(srcdir); ${PWD}`; export s; \
20271 $(SET_LIB_PATH) \
20272 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
20275 .PHONY: install-patch maybe-install-patch
20276 maybe-install-patch:
20278 install-patch: installdirs
20279 @r=`${PWD}`; export r; \
20280 s=`cd $(srcdir); ${PWD}`; export s; \
20281 $(SET_LIB_PATH) \
20282 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
20285 .PHONY: configure-perl maybe-configure-perl
20286 maybe-configure-perl:
20287 configure-perl:
20288 @test ! -f perl/Makefile || exit 0; \
20289 [ -d perl ] || mkdir perl; \
20290 r=`${PWD}`; export r; \
20291 s=`cd $(srcdir); ${PWD}`; export s; \
20292 CC="$(CC)"; export CC; \
20293 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20294 CXX="$(CXX)"; export CXX; \
20295 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20296 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20297 AR="$(AR)"; export AR; \
20298 AS="$(AS)"; export AS; \
20299 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20300 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20301 LD="$(LD)"; export LD; \
20302 NM="$(NM)"; export NM; \
20303 RANLIB="$(RANLIB)"; export RANLIB; \
20304 WINDRES="$(WINDRES)"; export WINDRES; \
20305 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20306 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20307 fi; \
20308 echo Configuring in perl; \
20309 cd perl || exit 1; \
20310 case $(srcdir) in \
20311 \.) \
20312 srcdiroption="--srcdir=."; \
20313 libsrcdir=".";; \
20314 /* | [A-Za-z]:[\\/]*) \
20315 srcdiroption="--srcdir=$(srcdir)/perl"; \
20316 libsrcdir="$$s/perl";; \
20317 *) \
20318 srcdiroption="--srcdir=../$(srcdir)/perl"; \
20319 libsrcdir="$$s/perl";; \
20320 esac; \
20321 $(SHELL) $${libsrcdir}/configure \
20322 $(HOST_CONFIGARGS) $${srcdiroption} \
20323 || exit 1
20325 .PHONY: all-perl maybe-all-perl
20326 maybe-all-perl:
20327 all-perl: configure-perl
20328 @r=`${PWD}`; export r; \
20329 s=`cd $(srcdir); ${PWD}`; export s; \
20330 $(SET_LIB_PATH) \
20331 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
20333 .PHONY: check-perl maybe-check-perl
20334 maybe-check-perl:
20336 check-perl:
20337 @r=`${PWD}`; export r; \
20338 s=`cd $(srcdir); ${PWD}`; export s; \
20339 $(SET_LIB_PATH) \
20340 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
20343 .PHONY: install-perl maybe-install-perl
20344 maybe-install-perl:
20346 install-perl: installdirs
20347 @r=`${PWD}`; export r; \
20348 s=`cd $(srcdir); ${PWD}`; export s; \
20349 $(SET_LIB_PATH) \
20350 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
20353 .PHONY: configure-prms maybe-configure-prms
20354 maybe-configure-prms:
20355 configure-prms:
20356 @test ! -f prms/Makefile || exit 0; \
20357 [ -d prms ] || mkdir prms; \
20358 r=`${PWD}`; export r; \
20359 s=`cd $(srcdir); ${PWD}`; export s; \
20360 CC="$(CC)"; export CC; \
20361 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20362 CXX="$(CXX)"; export CXX; \
20363 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20364 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20365 AR="$(AR)"; export AR; \
20366 AS="$(AS)"; export AS; \
20367 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20368 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20369 LD="$(LD)"; export LD; \
20370 NM="$(NM)"; export NM; \
20371 RANLIB="$(RANLIB)"; export RANLIB; \
20372 WINDRES="$(WINDRES)"; export WINDRES; \
20373 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20374 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20375 fi; \
20376 echo Configuring in prms; \
20377 cd prms || exit 1; \
20378 case $(srcdir) in \
20379 \.) \
20380 srcdiroption="--srcdir=."; \
20381 libsrcdir=".";; \
20382 /* | [A-Za-z]:[\\/]*) \
20383 srcdiroption="--srcdir=$(srcdir)/prms"; \
20384 libsrcdir="$$s/prms";; \
20385 *) \
20386 srcdiroption="--srcdir=../$(srcdir)/prms"; \
20387 libsrcdir="$$s/prms";; \
20388 esac; \
20389 $(SHELL) $${libsrcdir}/configure \
20390 $(HOST_CONFIGARGS) $${srcdiroption} \
20391 || exit 1
20393 .PHONY: all-prms maybe-all-prms
20394 maybe-all-prms:
20395 all-prms: configure-prms
20396 @r=`${PWD}`; export r; \
20397 s=`cd $(srcdir); ${PWD}`; export s; \
20398 $(SET_LIB_PATH) \
20399 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
20401 .PHONY: check-prms maybe-check-prms
20402 maybe-check-prms:
20404 check-prms:
20405 @r=`${PWD}`; export r; \
20406 s=`cd $(srcdir); ${PWD}`; export s; \
20407 $(SET_LIB_PATH) \
20408 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
20411 .PHONY: install-prms maybe-install-prms
20412 maybe-install-prms:
20414 install-prms: installdirs
20415 @r=`${PWD}`; export r; \
20416 s=`cd $(srcdir); ${PWD}`; export s; \
20417 $(SET_LIB_PATH) \
20418 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
20421 .PHONY: configure-rcs maybe-configure-rcs
20422 maybe-configure-rcs:
20423 configure-rcs:
20424 @test ! -f rcs/Makefile || exit 0; \
20425 [ -d rcs ] || mkdir rcs; \
20426 r=`${PWD}`; export r; \
20427 s=`cd $(srcdir); ${PWD}`; export s; \
20428 CC="$(CC)"; export CC; \
20429 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20430 CXX="$(CXX)"; export CXX; \
20431 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20432 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20433 AR="$(AR)"; export AR; \
20434 AS="$(AS)"; export AS; \
20435 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20436 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20437 LD="$(LD)"; export LD; \
20438 NM="$(NM)"; export NM; \
20439 RANLIB="$(RANLIB)"; export RANLIB; \
20440 WINDRES="$(WINDRES)"; export WINDRES; \
20441 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20442 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20443 fi; \
20444 echo Configuring in rcs; \
20445 cd rcs || exit 1; \
20446 case $(srcdir) in \
20447 \.) \
20448 srcdiroption="--srcdir=."; \
20449 libsrcdir=".";; \
20450 /* | [A-Za-z]:[\\/]*) \
20451 srcdiroption="--srcdir=$(srcdir)/rcs"; \
20452 libsrcdir="$$s/rcs";; \
20453 *) \
20454 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
20455 libsrcdir="$$s/rcs";; \
20456 esac; \
20457 $(SHELL) $${libsrcdir}/configure \
20458 $(HOST_CONFIGARGS) $${srcdiroption} \
20459 || exit 1
20461 .PHONY: all-rcs maybe-all-rcs
20462 maybe-all-rcs:
20463 all-rcs: configure-rcs
20464 @r=`${PWD}`; export r; \
20465 s=`cd $(srcdir); ${PWD}`; export s; \
20466 $(SET_LIB_PATH) \
20467 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
20469 .PHONY: check-rcs maybe-check-rcs
20470 maybe-check-rcs:
20472 check-rcs:
20473 @r=`${PWD}`; export r; \
20474 s=`cd $(srcdir); ${PWD}`; export s; \
20475 $(SET_LIB_PATH) \
20476 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
20479 .PHONY: install-rcs maybe-install-rcs
20480 maybe-install-rcs:
20482 install-rcs: installdirs
20483 @r=`${PWD}`; export r; \
20484 s=`cd $(srcdir); ${PWD}`; export s; \
20485 $(SET_LIB_PATH) \
20486 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
20489 .PHONY: configure-readline maybe-configure-readline
20490 maybe-configure-readline:
20491 configure-readline:
20492 @test ! -f readline/Makefile || exit 0; \
20493 [ -d readline ] || mkdir readline; \
20494 r=`${PWD}`; export r; \
20495 s=`cd $(srcdir); ${PWD}`; export s; \
20496 CC="$(CC)"; export CC; \
20497 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20498 CXX="$(CXX)"; export CXX; \
20499 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20500 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20501 AR="$(AR)"; export AR; \
20502 AS="$(AS)"; export AS; \
20503 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20504 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20505 LD="$(LD)"; export LD; \
20506 NM="$(NM)"; export NM; \
20507 RANLIB="$(RANLIB)"; export RANLIB; \
20508 WINDRES="$(WINDRES)"; export WINDRES; \
20509 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20510 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20511 fi; \
20512 echo Configuring in readline; \
20513 cd readline || exit 1; \
20514 case $(srcdir) in \
20515 \.) \
20516 srcdiroption="--srcdir=."; \
20517 libsrcdir=".";; \
20518 /* | [A-Za-z]:[\\/]*) \
20519 srcdiroption="--srcdir=$(srcdir)/readline"; \
20520 libsrcdir="$$s/readline";; \
20521 *) \
20522 srcdiroption="--srcdir=../$(srcdir)/readline"; \
20523 libsrcdir="$$s/readline";; \
20524 esac; \
20525 $(SHELL) $${libsrcdir}/configure \
20526 $(HOST_CONFIGARGS) $${srcdiroption} \
20527 || exit 1
20529 .PHONY: all-readline maybe-all-readline
20530 maybe-all-readline:
20531 all-readline: configure-readline
20532 @r=`${PWD}`; export r; \
20533 s=`cd $(srcdir); ${PWD}`; export s; \
20534 $(SET_LIB_PATH) \
20535 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
20537 .PHONY: check-readline maybe-check-readline
20538 maybe-check-readline:
20540 check-readline:
20541 @r=`${PWD}`; export r; \
20542 s=`cd $(srcdir); ${PWD}`; export s; \
20543 $(SET_LIB_PATH) \
20544 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
20547 .PHONY: install-readline maybe-install-readline
20548 maybe-install-readline:
20550 install-readline: installdirs
20551 @r=`${PWD}`; export r; \
20552 s=`cd $(srcdir); ${PWD}`; export s; \
20553 $(SET_LIB_PATH) \
20554 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
20557 .PHONY: configure-release maybe-configure-release
20558 maybe-configure-release:
20559 configure-release:
20560 @test ! -f release/Makefile || exit 0; \
20561 [ -d release ] || mkdir release; \
20562 r=`${PWD}`; export r; \
20563 s=`cd $(srcdir); ${PWD}`; export s; \
20564 CC="$(CC)"; export CC; \
20565 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20566 CXX="$(CXX)"; export CXX; \
20567 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20568 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20569 AR="$(AR)"; export AR; \
20570 AS="$(AS)"; export AS; \
20571 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20572 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20573 LD="$(LD)"; export LD; \
20574 NM="$(NM)"; export NM; \
20575 RANLIB="$(RANLIB)"; export RANLIB; \
20576 WINDRES="$(WINDRES)"; export WINDRES; \
20577 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20578 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20579 fi; \
20580 echo Configuring in release; \
20581 cd release || exit 1; \
20582 case $(srcdir) in \
20583 \.) \
20584 srcdiroption="--srcdir=."; \
20585 libsrcdir=".";; \
20586 /* | [A-Za-z]:[\\/]*) \
20587 srcdiroption="--srcdir=$(srcdir)/release"; \
20588 libsrcdir="$$s/release";; \
20589 *) \
20590 srcdiroption="--srcdir=../$(srcdir)/release"; \
20591 libsrcdir="$$s/release";; \
20592 esac; \
20593 $(SHELL) $${libsrcdir}/configure \
20594 $(HOST_CONFIGARGS) $${srcdiroption} \
20595 || exit 1
20597 .PHONY: all-release maybe-all-release
20598 maybe-all-release:
20599 all-release: configure-release
20600 @r=`${PWD}`; export r; \
20601 s=`cd $(srcdir); ${PWD}`; export s; \
20602 $(SET_LIB_PATH) \
20603 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
20605 .PHONY: check-release maybe-check-release
20606 maybe-check-release:
20608 check-release:
20611 .PHONY: install-release maybe-install-release
20612 maybe-install-release:
20614 install-release:
20617 .PHONY: configure-recode maybe-configure-recode
20618 maybe-configure-recode:
20619 configure-recode:
20620 @test ! -f recode/Makefile || exit 0; \
20621 [ -d recode ] || mkdir recode; \
20622 r=`${PWD}`; export r; \
20623 s=`cd $(srcdir); ${PWD}`; export s; \
20624 CC="$(CC)"; export CC; \
20625 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20626 CXX="$(CXX)"; export CXX; \
20627 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20628 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20629 AR="$(AR)"; export AR; \
20630 AS="$(AS)"; export AS; \
20631 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20632 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20633 LD="$(LD)"; export LD; \
20634 NM="$(NM)"; export NM; \
20635 RANLIB="$(RANLIB)"; export RANLIB; \
20636 WINDRES="$(WINDRES)"; export WINDRES; \
20637 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20638 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20639 fi; \
20640 echo Configuring in recode; \
20641 cd recode || exit 1; \
20642 case $(srcdir) in \
20643 \.) \
20644 srcdiroption="--srcdir=."; \
20645 libsrcdir=".";; \
20646 /* | [A-Za-z]:[\\/]*) \
20647 srcdiroption="--srcdir=$(srcdir)/recode"; \
20648 libsrcdir="$$s/recode";; \
20649 *) \
20650 srcdiroption="--srcdir=../$(srcdir)/recode"; \
20651 libsrcdir="$$s/recode";; \
20652 esac; \
20653 $(SHELL) $${libsrcdir}/configure \
20654 $(HOST_CONFIGARGS) $${srcdiroption} \
20655 || exit 1
20657 .PHONY: all-recode maybe-all-recode
20658 maybe-all-recode:
20659 all-recode: configure-recode
20660 @r=`${PWD}`; export r; \
20661 s=`cd $(srcdir); ${PWD}`; export s; \
20662 $(SET_LIB_PATH) \
20663 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
20665 .PHONY: check-recode maybe-check-recode
20666 maybe-check-recode:
20668 check-recode:
20669 @r=`${PWD}`; export r; \
20670 s=`cd $(srcdir); ${PWD}`; export s; \
20671 $(SET_LIB_PATH) \
20672 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
20675 .PHONY: install-recode maybe-install-recode
20676 maybe-install-recode:
20678 install-recode: installdirs
20679 @r=`${PWD}`; export r; \
20680 s=`cd $(srcdir); ${PWD}`; export s; \
20681 $(SET_LIB_PATH) \
20682 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
20685 .PHONY: configure-sed maybe-configure-sed
20686 maybe-configure-sed:
20687 configure-sed:
20688 @test ! -f sed/Makefile || exit 0; \
20689 [ -d sed ] || mkdir sed; \
20690 r=`${PWD}`; export r; \
20691 s=`cd $(srcdir); ${PWD}`; export s; \
20692 CC="$(CC)"; export CC; \
20693 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20694 CXX="$(CXX)"; export CXX; \
20695 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20696 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20697 AR="$(AR)"; export AR; \
20698 AS="$(AS)"; export AS; \
20699 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20700 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20701 LD="$(LD)"; export LD; \
20702 NM="$(NM)"; export NM; \
20703 RANLIB="$(RANLIB)"; export RANLIB; \
20704 WINDRES="$(WINDRES)"; export WINDRES; \
20705 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20706 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20707 fi; \
20708 echo Configuring in sed; \
20709 cd sed || exit 1; \
20710 case $(srcdir) in \
20711 \.) \
20712 srcdiroption="--srcdir=."; \
20713 libsrcdir=".";; \
20714 /* | [A-Za-z]:[\\/]*) \
20715 srcdiroption="--srcdir=$(srcdir)/sed"; \
20716 libsrcdir="$$s/sed";; \
20717 *) \
20718 srcdiroption="--srcdir=../$(srcdir)/sed"; \
20719 libsrcdir="$$s/sed";; \
20720 esac; \
20721 $(SHELL) $${libsrcdir}/configure \
20722 $(HOST_CONFIGARGS) $${srcdiroption} \
20723 || exit 1
20725 .PHONY: all-sed maybe-all-sed
20726 maybe-all-sed:
20727 all-sed: configure-sed
20728 @r=`${PWD}`; export r; \
20729 s=`cd $(srcdir); ${PWD}`; export s; \
20730 $(SET_LIB_PATH) \
20731 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
20733 .PHONY: check-sed maybe-check-sed
20734 maybe-check-sed:
20736 check-sed:
20737 @r=`${PWD}`; export r; \
20738 s=`cd $(srcdir); ${PWD}`; export s; \
20739 $(SET_LIB_PATH) \
20740 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
20743 .PHONY: install-sed maybe-install-sed
20744 maybe-install-sed:
20746 install-sed: installdirs
20747 @r=`${PWD}`; export r; \
20748 s=`cd $(srcdir); ${PWD}`; export s; \
20749 $(SET_LIB_PATH) \
20750 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
20753 .PHONY: configure-send-pr maybe-configure-send-pr
20754 maybe-configure-send-pr:
20755 configure-send-pr:
20756 @test ! -f send-pr/Makefile || exit 0; \
20757 [ -d send-pr ] || mkdir send-pr; \
20758 r=`${PWD}`; export r; \
20759 s=`cd $(srcdir); ${PWD}`; export s; \
20760 CC="$(CC)"; export CC; \
20761 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20762 CXX="$(CXX)"; export CXX; \
20763 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20764 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20765 AR="$(AR)"; export AR; \
20766 AS="$(AS)"; export AS; \
20767 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20768 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20769 LD="$(LD)"; export LD; \
20770 NM="$(NM)"; export NM; \
20771 RANLIB="$(RANLIB)"; export RANLIB; \
20772 WINDRES="$(WINDRES)"; export WINDRES; \
20773 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20774 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20775 fi; \
20776 echo Configuring in send-pr; \
20777 cd send-pr || exit 1; \
20778 case $(srcdir) in \
20779 \.) \
20780 srcdiroption="--srcdir=."; \
20781 libsrcdir=".";; \
20782 /* | [A-Za-z]:[\\/]*) \
20783 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
20784 libsrcdir="$$s/send-pr";; \
20785 *) \
20786 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
20787 libsrcdir="$$s/send-pr";; \
20788 esac; \
20789 $(SHELL) $${libsrcdir}/configure \
20790 $(HOST_CONFIGARGS) $${srcdiroption} \
20791 || exit 1
20793 .PHONY: all-send-pr maybe-all-send-pr
20794 maybe-all-send-pr:
20795 all-send-pr: configure-send-pr
20796 @r=`${PWD}`; export r; \
20797 s=`cd $(srcdir); ${PWD}`; export s; \
20798 $(SET_LIB_PATH) \
20799 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
20801 .PHONY: check-send-pr maybe-check-send-pr
20802 maybe-check-send-pr:
20804 check-send-pr:
20805 @r=`${PWD}`; export r; \
20806 s=`cd $(srcdir); ${PWD}`; export s; \
20807 $(SET_LIB_PATH) \
20808 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
20811 .PHONY: install-send-pr maybe-install-send-pr
20812 maybe-install-send-pr:
20814 install-send-pr: installdirs
20815 @r=`${PWD}`; export r; \
20816 s=`cd $(srcdir); ${PWD}`; export s; \
20817 $(SET_LIB_PATH) \
20818 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
20821 .PHONY: configure-shellutils maybe-configure-shellutils
20822 maybe-configure-shellutils:
20823 configure-shellutils:
20824 @test ! -f shellutils/Makefile || exit 0; \
20825 [ -d shellutils ] || mkdir shellutils; \
20826 r=`${PWD}`; export r; \
20827 s=`cd $(srcdir); ${PWD}`; export s; \
20828 CC="$(CC)"; export CC; \
20829 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20830 CXX="$(CXX)"; export CXX; \
20831 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20832 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20833 AR="$(AR)"; export AR; \
20834 AS="$(AS)"; export AS; \
20835 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20836 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20837 LD="$(LD)"; export LD; \
20838 NM="$(NM)"; export NM; \
20839 RANLIB="$(RANLIB)"; export RANLIB; \
20840 WINDRES="$(WINDRES)"; export WINDRES; \
20841 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20842 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20843 fi; \
20844 echo Configuring in shellutils; \
20845 cd shellutils || exit 1; \
20846 case $(srcdir) in \
20847 \.) \
20848 srcdiroption="--srcdir=."; \
20849 libsrcdir=".";; \
20850 /* | [A-Za-z]:[\\/]*) \
20851 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
20852 libsrcdir="$$s/shellutils";; \
20853 *) \
20854 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
20855 libsrcdir="$$s/shellutils";; \
20856 esac; \
20857 $(SHELL) $${libsrcdir}/configure \
20858 $(HOST_CONFIGARGS) $${srcdiroption} \
20859 || exit 1
20861 .PHONY: all-shellutils maybe-all-shellutils
20862 maybe-all-shellutils:
20863 all-shellutils: configure-shellutils
20864 @r=`${PWD}`; export r; \
20865 s=`cd $(srcdir); ${PWD}`; export s; \
20866 $(SET_LIB_PATH) \
20867 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
20869 .PHONY: check-shellutils maybe-check-shellutils
20870 maybe-check-shellutils:
20872 check-shellutils:
20873 @r=`${PWD}`; export r; \
20874 s=`cd $(srcdir); ${PWD}`; export s; \
20875 $(SET_LIB_PATH) \
20876 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
20879 .PHONY: install-shellutils maybe-install-shellutils
20880 maybe-install-shellutils:
20882 install-shellutils: installdirs
20883 @r=`${PWD}`; export r; \
20884 s=`cd $(srcdir); ${PWD}`; export s; \
20885 $(SET_LIB_PATH) \
20886 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
20889 .PHONY: configure-sid maybe-configure-sid
20890 maybe-configure-sid:
20891 configure-sid:
20892 @test ! -f sid/Makefile || exit 0; \
20893 [ -d sid ] || mkdir sid; \
20894 r=`${PWD}`; export r; \
20895 s=`cd $(srcdir); ${PWD}`; export s; \
20896 CC="$(CC)"; export CC; \
20897 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20898 CXX="$(CXX)"; export CXX; \
20899 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20900 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20901 AR="$(AR)"; export AR; \
20902 AS="$(AS)"; export AS; \
20903 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20904 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20905 LD="$(LD)"; export LD; \
20906 NM="$(NM)"; export NM; \
20907 RANLIB="$(RANLIB)"; export RANLIB; \
20908 WINDRES="$(WINDRES)"; export WINDRES; \
20909 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20910 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20911 fi; \
20912 echo Configuring in sid; \
20913 cd sid || exit 1; \
20914 case $(srcdir) in \
20915 \.) \
20916 srcdiroption="--srcdir=."; \
20917 libsrcdir=".";; \
20918 /* | [A-Za-z]:[\\/]*) \
20919 srcdiroption="--srcdir=$(srcdir)/sid"; \
20920 libsrcdir="$$s/sid";; \
20921 *) \
20922 srcdiroption="--srcdir=../$(srcdir)/sid"; \
20923 libsrcdir="$$s/sid";; \
20924 esac; \
20925 $(SHELL) $${libsrcdir}/configure \
20926 $(HOST_CONFIGARGS) $${srcdiroption} \
20927 || exit 1
20929 .PHONY: all-sid maybe-all-sid
20930 maybe-all-sid:
20931 all-sid: configure-sid
20932 @r=`${PWD}`; export r; \
20933 s=`cd $(srcdir); ${PWD}`; export s; \
20934 $(SET_LIB_PATH) \
20935 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
20937 .PHONY: check-sid maybe-check-sid
20938 maybe-check-sid:
20940 check-sid:
20941 @r=`${PWD}`; export r; \
20942 s=`cd $(srcdir); ${PWD}`; export s; \
20943 $(SET_LIB_PATH) \
20944 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
20947 .PHONY: install-sid maybe-install-sid
20948 maybe-install-sid:
20950 install-sid: installdirs
20951 @r=`${PWD}`; export r; \
20952 s=`cd $(srcdir); ${PWD}`; export s; \
20953 $(SET_LIB_PATH) \
20954 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
20957 .PHONY: configure-sim maybe-configure-sim
20958 maybe-configure-sim:
20959 configure-sim:
20960 @test ! -f sim/Makefile || exit 0; \
20961 [ -d sim ] || mkdir sim; \
20962 r=`${PWD}`; export r; \
20963 s=`cd $(srcdir); ${PWD}`; export s; \
20964 CC="$(CC)"; export CC; \
20965 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20966 CXX="$(CXX)"; export CXX; \
20967 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20968 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
20969 AR="$(AR)"; export AR; \
20970 AS="$(AS)"; export AS; \
20971 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20972 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20973 LD="$(LD)"; export LD; \
20974 NM="$(NM)"; export NM; \
20975 RANLIB="$(RANLIB)"; export RANLIB; \
20976 WINDRES="$(WINDRES)"; export WINDRES; \
20977 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20978 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20979 fi; \
20980 echo Configuring in sim; \
20981 cd sim || exit 1; \
20982 case $(srcdir) in \
20983 \.) \
20984 srcdiroption="--srcdir=."; \
20985 libsrcdir=".";; \
20986 /* | [A-Za-z]:[\\/]*) \
20987 srcdiroption="--srcdir=$(srcdir)/sim"; \
20988 libsrcdir="$$s/sim";; \
20989 *) \
20990 srcdiroption="--srcdir=../$(srcdir)/sim"; \
20991 libsrcdir="$$s/sim";; \
20992 esac; \
20993 $(SHELL) $${libsrcdir}/configure \
20994 $(HOST_CONFIGARGS) $${srcdiroption} \
20995 || exit 1
20997 .PHONY: all-sim maybe-all-sim
20998 maybe-all-sim:
20999 all-sim: configure-sim
21000 @r=`${PWD}`; export r; \
21001 s=`cd $(srcdir); ${PWD}`; export s; \
21002 $(SET_LIB_PATH) \
21003 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
21005 .PHONY: check-sim maybe-check-sim
21006 maybe-check-sim:
21008 check-sim:
21009 @r=`${PWD}`; export r; \
21010 s=`cd $(srcdir); ${PWD}`; export s; \
21011 $(SET_LIB_PATH) \
21012 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
21015 .PHONY: install-sim maybe-install-sim
21016 maybe-install-sim:
21018 install-sim: installdirs
21019 @r=`${PWD}`; export r; \
21020 s=`cd $(srcdir); ${PWD}`; export s; \
21021 $(SET_LIB_PATH) \
21022 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
21025 .PHONY: configure-tar maybe-configure-tar
21026 maybe-configure-tar:
21027 configure-tar:
21028 @test ! -f tar/Makefile || exit 0; \
21029 [ -d tar ] || mkdir tar; \
21030 r=`${PWD}`; export r; \
21031 s=`cd $(srcdir); ${PWD}`; export s; \
21032 CC="$(CC)"; export CC; \
21033 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21034 CXX="$(CXX)"; export CXX; \
21035 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21036 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21037 AR="$(AR)"; export AR; \
21038 AS="$(AS)"; export AS; \
21039 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21040 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21041 LD="$(LD)"; export LD; \
21042 NM="$(NM)"; export NM; \
21043 RANLIB="$(RANLIB)"; export RANLIB; \
21044 WINDRES="$(WINDRES)"; export WINDRES; \
21045 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21046 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21047 fi; \
21048 echo Configuring in tar; \
21049 cd tar || exit 1; \
21050 case $(srcdir) in \
21051 \.) \
21052 srcdiroption="--srcdir=."; \
21053 libsrcdir=".";; \
21054 /* | [A-Za-z]:[\\/]*) \
21055 srcdiroption="--srcdir=$(srcdir)/tar"; \
21056 libsrcdir="$$s/tar";; \
21057 *) \
21058 srcdiroption="--srcdir=../$(srcdir)/tar"; \
21059 libsrcdir="$$s/tar";; \
21060 esac; \
21061 $(SHELL) $${libsrcdir}/configure \
21062 $(HOST_CONFIGARGS) $${srcdiroption} \
21063 || exit 1
21065 .PHONY: all-tar maybe-all-tar
21066 maybe-all-tar:
21067 all-tar: configure-tar
21068 @r=`${PWD}`; export r; \
21069 s=`cd $(srcdir); ${PWD}`; export s; \
21070 $(SET_LIB_PATH) \
21071 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
21073 .PHONY: check-tar maybe-check-tar
21074 maybe-check-tar:
21076 check-tar:
21077 @r=`${PWD}`; export r; \
21078 s=`cd $(srcdir); ${PWD}`; export s; \
21079 $(SET_LIB_PATH) \
21080 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
21083 .PHONY: install-tar maybe-install-tar
21084 maybe-install-tar:
21086 install-tar: installdirs
21087 @r=`${PWD}`; export r; \
21088 s=`cd $(srcdir); ${PWD}`; export s; \
21089 $(SET_LIB_PATH) \
21090 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
21093 .PHONY: configure-texinfo maybe-configure-texinfo
21094 maybe-configure-texinfo:
21095 configure-texinfo:
21096 @test ! -f texinfo/Makefile || exit 0; \
21097 [ -d texinfo ] || mkdir texinfo; \
21098 r=`${PWD}`; export r; \
21099 s=`cd $(srcdir); ${PWD}`; export s; \
21100 CC="$(CC)"; export CC; \
21101 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21102 CXX="$(CXX)"; export CXX; \
21103 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21104 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21105 AR="$(AR)"; export AR; \
21106 AS="$(AS)"; export AS; \
21107 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21108 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21109 LD="$(LD)"; export LD; \
21110 NM="$(NM)"; export NM; \
21111 RANLIB="$(RANLIB)"; export RANLIB; \
21112 WINDRES="$(WINDRES)"; export WINDRES; \
21113 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21114 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21115 fi; \
21116 echo Configuring in texinfo; \
21117 cd texinfo || exit 1; \
21118 case $(srcdir) in \
21119 \.) \
21120 srcdiroption="--srcdir=."; \
21121 libsrcdir=".";; \
21122 /* | [A-Za-z]:[\\/]*) \
21123 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
21124 libsrcdir="$$s/texinfo";; \
21125 *) \
21126 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
21127 libsrcdir="$$s/texinfo";; \
21128 esac; \
21129 $(SHELL) $${libsrcdir}/configure \
21130 $(HOST_CONFIGARGS) $${srcdiroption} \
21131 || exit 1
21133 .PHONY: all-texinfo maybe-all-texinfo
21134 maybe-all-texinfo:
21135 all-texinfo: configure-texinfo
21136 @r=`${PWD}`; export r; \
21137 s=`cd $(srcdir); ${PWD}`; export s; \
21138 $(SET_LIB_PATH) \
21139 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
21141 .PHONY: check-texinfo maybe-check-texinfo
21142 maybe-check-texinfo:
21144 check-texinfo:
21145 @r=`${PWD}`; export r; \
21146 s=`cd $(srcdir); ${PWD}`; export s; \
21147 $(SET_LIB_PATH) \
21148 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
21151 .PHONY: install-texinfo maybe-install-texinfo
21152 maybe-install-texinfo:
21154 install-texinfo:
21157 .PHONY: configure-textutils maybe-configure-textutils
21158 maybe-configure-textutils:
21159 configure-textutils:
21160 @test ! -f textutils/Makefile || exit 0; \
21161 [ -d textutils ] || mkdir textutils; \
21162 r=`${PWD}`; export r; \
21163 s=`cd $(srcdir); ${PWD}`; export s; \
21164 CC="$(CC)"; export CC; \
21165 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21166 CXX="$(CXX)"; export CXX; \
21167 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21168 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21169 AR="$(AR)"; export AR; \
21170 AS="$(AS)"; export AS; \
21171 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21172 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21173 LD="$(LD)"; export LD; \
21174 NM="$(NM)"; export NM; \
21175 RANLIB="$(RANLIB)"; export RANLIB; \
21176 WINDRES="$(WINDRES)"; export WINDRES; \
21177 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21178 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21179 fi; \
21180 echo Configuring in textutils; \
21181 cd textutils || exit 1; \
21182 case $(srcdir) in \
21183 \.) \
21184 srcdiroption="--srcdir=."; \
21185 libsrcdir=".";; \
21186 /* | [A-Za-z]:[\\/]*) \
21187 srcdiroption="--srcdir=$(srcdir)/textutils"; \
21188 libsrcdir="$$s/textutils";; \
21189 *) \
21190 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
21191 libsrcdir="$$s/textutils";; \
21192 esac; \
21193 $(SHELL) $${libsrcdir}/configure \
21194 $(HOST_CONFIGARGS) $${srcdiroption} \
21195 || exit 1
21197 .PHONY: all-textutils maybe-all-textutils
21198 maybe-all-textutils:
21199 all-textutils: configure-textutils
21200 @r=`${PWD}`; export r; \
21201 s=`cd $(srcdir); ${PWD}`; export s; \
21202 $(SET_LIB_PATH) \
21203 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
21205 .PHONY: check-textutils maybe-check-textutils
21206 maybe-check-textutils:
21208 check-textutils:
21209 @r=`${PWD}`; export r; \
21210 s=`cd $(srcdir); ${PWD}`; export s; \
21211 $(SET_LIB_PATH) \
21212 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
21215 .PHONY: install-textutils maybe-install-textutils
21216 maybe-install-textutils:
21218 install-textutils: installdirs
21219 @r=`${PWD}`; export r; \
21220 s=`cd $(srcdir); ${PWD}`; export s; \
21221 $(SET_LIB_PATH) \
21222 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
21225 .PHONY: configure-time maybe-configure-time
21226 maybe-configure-time:
21227 configure-time:
21228 @test ! -f time/Makefile || exit 0; \
21229 [ -d time ] || mkdir time; \
21230 r=`${PWD}`; export r; \
21231 s=`cd $(srcdir); ${PWD}`; export s; \
21232 CC="$(CC)"; export CC; \
21233 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21234 CXX="$(CXX)"; export CXX; \
21235 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21236 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21237 AR="$(AR)"; export AR; \
21238 AS="$(AS)"; export AS; \
21239 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21240 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21241 LD="$(LD)"; export LD; \
21242 NM="$(NM)"; export NM; \
21243 RANLIB="$(RANLIB)"; export RANLIB; \
21244 WINDRES="$(WINDRES)"; export WINDRES; \
21245 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21246 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21247 fi; \
21248 echo Configuring in time; \
21249 cd time || exit 1; \
21250 case $(srcdir) in \
21251 \.) \
21252 srcdiroption="--srcdir=."; \
21253 libsrcdir=".";; \
21254 /* | [A-Za-z]:[\\/]*) \
21255 srcdiroption="--srcdir=$(srcdir)/time"; \
21256 libsrcdir="$$s/time";; \
21257 *) \
21258 srcdiroption="--srcdir=../$(srcdir)/time"; \
21259 libsrcdir="$$s/time";; \
21260 esac; \
21261 $(SHELL) $${libsrcdir}/configure \
21262 $(HOST_CONFIGARGS) $${srcdiroption} \
21263 || exit 1
21265 .PHONY: all-time maybe-all-time
21266 maybe-all-time:
21267 all-time: configure-time
21268 @r=`${PWD}`; export r; \
21269 s=`cd $(srcdir); ${PWD}`; export s; \
21270 $(SET_LIB_PATH) \
21271 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
21273 .PHONY: check-time maybe-check-time
21274 maybe-check-time:
21276 check-time:
21277 @r=`${PWD}`; export r; \
21278 s=`cd $(srcdir); ${PWD}`; export s; \
21279 $(SET_LIB_PATH) \
21280 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
21283 .PHONY: install-time maybe-install-time
21284 maybe-install-time:
21286 install-time: installdirs
21287 @r=`${PWD}`; export r; \
21288 s=`cd $(srcdir); ${PWD}`; export s; \
21289 $(SET_LIB_PATH) \
21290 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
21293 .PHONY: configure-uudecode maybe-configure-uudecode
21294 maybe-configure-uudecode:
21295 configure-uudecode:
21296 @test ! -f uudecode/Makefile || exit 0; \
21297 [ -d uudecode ] || mkdir uudecode; \
21298 r=`${PWD}`; export r; \
21299 s=`cd $(srcdir); ${PWD}`; export s; \
21300 CC="$(CC)"; export CC; \
21301 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21302 CXX="$(CXX)"; export CXX; \
21303 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21304 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21305 AR="$(AR)"; export AR; \
21306 AS="$(AS)"; export AS; \
21307 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21308 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21309 LD="$(LD)"; export LD; \
21310 NM="$(NM)"; export NM; \
21311 RANLIB="$(RANLIB)"; export RANLIB; \
21312 WINDRES="$(WINDRES)"; export WINDRES; \
21313 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21314 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21315 fi; \
21316 echo Configuring in uudecode; \
21317 cd uudecode || exit 1; \
21318 case $(srcdir) in \
21319 \.) \
21320 srcdiroption="--srcdir=."; \
21321 libsrcdir=".";; \
21322 /* | [A-Za-z]:[\\/]*) \
21323 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21324 libsrcdir="$$s/uudecode";; \
21325 *) \
21326 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21327 libsrcdir="$$s/uudecode";; \
21328 esac; \
21329 $(SHELL) $${libsrcdir}/configure \
21330 $(HOST_CONFIGARGS) $${srcdiroption} \
21331 || exit 1
21333 .PHONY: all-uudecode maybe-all-uudecode
21334 maybe-all-uudecode:
21335 all-uudecode: configure-uudecode
21336 @r=`${PWD}`; export r; \
21337 s=`cd $(srcdir); ${PWD}`; export s; \
21338 $(SET_LIB_PATH) \
21339 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
21341 .PHONY: check-uudecode maybe-check-uudecode
21342 maybe-check-uudecode:
21344 check-uudecode:
21345 @r=`${PWD}`; export r; \
21346 s=`cd $(srcdir); ${PWD}`; export s; \
21347 $(SET_LIB_PATH) \
21348 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21351 .PHONY: install-uudecode maybe-install-uudecode
21352 maybe-install-uudecode:
21354 install-uudecode: installdirs
21355 @r=`${PWD}`; export r; \
21356 s=`cd $(srcdir); ${PWD}`; export s; \
21357 $(SET_LIB_PATH) \
21358 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21361 .PHONY: configure-wdiff maybe-configure-wdiff
21362 maybe-configure-wdiff:
21363 configure-wdiff:
21364 @test ! -f wdiff/Makefile || exit 0; \
21365 [ -d wdiff ] || mkdir wdiff; \
21366 r=`${PWD}`; export r; \
21367 s=`cd $(srcdir); ${PWD}`; export s; \
21368 CC="$(CC)"; export CC; \
21369 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21370 CXX="$(CXX)"; export CXX; \
21371 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21372 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21373 AR="$(AR)"; export AR; \
21374 AS="$(AS)"; export AS; \
21375 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21376 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21377 LD="$(LD)"; export LD; \
21378 NM="$(NM)"; export NM; \
21379 RANLIB="$(RANLIB)"; export RANLIB; \
21380 WINDRES="$(WINDRES)"; export WINDRES; \
21381 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21382 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21383 fi; \
21384 echo Configuring in wdiff; \
21385 cd wdiff || exit 1; \
21386 case $(srcdir) in \
21387 \.) \
21388 srcdiroption="--srcdir=."; \
21389 libsrcdir=".";; \
21390 /* | [A-Za-z]:[\\/]*) \
21391 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21392 libsrcdir="$$s/wdiff";; \
21393 *) \
21394 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21395 libsrcdir="$$s/wdiff";; \
21396 esac; \
21397 $(SHELL) $${libsrcdir}/configure \
21398 $(HOST_CONFIGARGS) $${srcdiroption} \
21399 || exit 1
21401 .PHONY: all-wdiff maybe-all-wdiff
21402 maybe-all-wdiff:
21403 all-wdiff: configure-wdiff
21404 @r=`${PWD}`; export r; \
21405 s=`cd $(srcdir); ${PWD}`; export s; \
21406 $(SET_LIB_PATH) \
21407 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
21409 .PHONY: check-wdiff maybe-check-wdiff
21410 maybe-check-wdiff:
21412 check-wdiff:
21413 @r=`${PWD}`; export r; \
21414 s=`cd $(srcdir); ${PWD}`; export s; \
21415 $(SET_LIB_PATH) \
21416 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21419 .PHONY: install-wdiff maybe-install-wdiff
21420 maybe-install-wdiff:
21422 install-wdiff: installdirs
21423 @r=`${PWD}`; export r; \
21424 s=`cd $(srcdir); ${PWD}`; export s; \
21425 $(SET_LIB_PATH) \
21426 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21429 .PHONY: configure-zip maybe-configure-zip
21430 maybe-configure-zip:
21431 configure-zip:
21432 @test ! -f zip/Makefile || exit 0; \
21433 [ -d zip ] || mkdir zip; \
21434 r=`${PWD}`; export r; \
21435 s=`cd $(srcdir); ${PWD}`; export s; \
21436 CC="$(CC)"; export CC; \
21437 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21438 CXX="$(CXX)"; export CXX; \
21439 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21440 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21441 AR="$(AR)"; export AR; \
21442 AS="$(AS)"; export AS; \
21443 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21444 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21445 LD="$(LD)"; export LD; \
21446 NM="$(NM)"; export NM; \
21447 RANLIB="$(RANLIB)"; export RANLIB; \
21448 WINDRES="$(WINDRES)"; export WINDRES; \
21449 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21450 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21451 fi; \
21452 echo Configuring in zip; \
21453 cd zip || exit 1; \
21454 case $(srcdir) in \
21455 \.) \
21456 srcdiroption="--srcdir=."; \
21457 libsrcdir=".";; \
21458 /* | [A-Za-z]:[\\/]*) \
21459 srcdiroption="--srcdir=$(srcdir)/zip"; \
21460 libsrcdir="$$s/zip";; \
21461 *) \
21462 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21463 libsrcdir="$$s/zip";; \
21464 esac; \
21465 $(SHELL) $${libsrcdir}/configure \
21466 $(HOST_CONFIGARGS) $${srcdiroption} \
21467 || exit 1
21469 .PHONY: all-zip maybe-all-zip
21470 maybe-all-zip:
21471 all-zip: configure-zip
21472 @r=`${PWD}`; export r; \
21473 s=`cd $(srcdir); ${PWD}`; export s; \
21474 $(SET_LIB_PATH) \
21475 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
21477 .PHONY: check-zip maybe-check-zip
21478 maybe-check-zip:
21480 # This module is only tested in a native toolchain.
21481 check-zip:
21482 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
21483 r=`${PWD}`; export r; \
21484 s=`cd $(srcdir); ${PWD}`; export s; \
21485 $(SET_LIB_PATH) \
21486 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21490 .PHONY: install-zip maybe-install-zip
21491 maybe-install-zip:
21493 install-zip: installdirs
21494 @r=`${PWD}`; export r; \
21495 s=`cd $(srcdir); ${PWD}`; export s; \
21496 $(SET_LIB_PATH) \
21497 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21500 .PHONY: configure-zlib maybe-configure-zlib
21501 maybe-configure-zlib:
21502 configure-zlib:
21503 @test ! -f zlib/Makefile || exit 0; \
21504 [ -d zlib ] || mkdir zlib; \
21505 r=`${PWD}`; export r; \
21506 s=`cd $(srcdir); ${PWD}`; export s; \
21507 CC="$(CC)"; export CC; \
21508 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21509 CXX="$(CXX)"; export CXX; \
21510 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21511 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21512 AR="$(AR)"; export AR; \
21513 AS="$(AS)"; export AS; \
21514 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21515 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21516 LD="$(LD)"; export LD; \
21517 NM="$(NM)"; export NM; \
21518 RANLIB="$(RANLIB)"; export RANLIB; \
21519 WINDRES="$(WINDRES)"; export WINDRES; \
21520 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21521 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21522 fi; \
21523 echo Configuring in zlib; \
21524 cd zlib || exit 1; \
21525 case $(srcdir) in \
21526 \.) \
21527 srcdiroption="--srcdir=."; \
21528 libsrcdir=".";; \
21529 /* | [A-Za-z]:[\\/]*) \
21530 srcdiroption="--srcdir=$(srcdir)/zlib"; \
21531 libsrcdir="$$s/zlib";; \
21532 *) \
21533 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
21534 libsrcdir="$$s/zlib";; \
21535 esac; \
21536 $(SHELL) $${libsrcdir}/configure \
21537 $(HOST_CONFIGARGS) $${srcdiroption} \
21538 || exit 1
21540 .PHONY: all-zlib maybe-all-zlib
21541 maybe-all-zlib:
21542 all-zlib: configure-zlib
21543 @r=`${PWD}`; export r; \
21544 s=`cd $(srcdir); ${PWD}`; export s; \
21545 $(SET_LIB_PATH) \
21546 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
21548 .PHONY: check-zlib maybe-check-zlib
21549 maybe-check-zlib:
21551 check-zlib:
21554 .PHONY: install-zlib maybe-install-zlib
21555 maybe-install-zlib:
21557 install-zlib:
21560 .PHONY: configure-gdb maybe-configure-gdb
21561 maybe-configure-gdb:
21562 configure-gdb:
21563 @test ! -f gdb/Makefile || exit 0; \
21564 [ -d gdb ] || mkdir gdb; \
21565 r=`${PWD}`; export r; \
21566 s=`cd $(srcdir); ${PWD}`; export s; \
21567 CC="$(CC)"; export CC; \
21568 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21569 CXX="$(CXX)"; export CXX; \
21570 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21571 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21572 AR="$(AR)"; export AR; \
21573 AS="$(AS)"; export AS; \
21574 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21575 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21576 LD="$(LD)"; export LD; \
21577 NM="$(NM)"; export NM; \
21578 RANLIB="$(RANLIB)"; export RANLIB; \
21579 WINDRES="$(WINDRES)"; export WINDRES; \
21580 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21581 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21582 fi; \
21583 echo Configuring in gdb; \
21584 cd gdb || exit 1; \
21585 case $(srcdir) in \
21586 \.) \
21587 srcdiroption="--srcdir=."; \
21588 libsrcdir=".";; \
21589 /* | [A-Za-z]:[\\/]*) \
21590 srcdiroption="--srcdir=$(srcdir)/gdb"; \
21591 libsrcdir="$$s/gdb";; \
21592 *) \
21593 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
21594 libsrcdir="$$s/gdb";; \
21595 esac; \
21596 $(SHELL) $${libsrcdir}/configure \
21597 $(HOST_CONFIGARGS) $${srcdiroption} \
21598 || exit 1
21600 .PHONY: all-gdb maybe-all-gdb
21601 maybe-all-gdb:
21602 all-gdb: configure-gdb
21603 @r=`${PWD}`; export r; \
21604 s=`cd $(srcdir); ${PWD}`; export s; \
21605 $(SET_LIB_PATH) \
21606 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21608 .PHONY: check-gdb maybe-check-gdb
21609 maybe-check-gdb:
21611 check-gdb:
21612 @r=`${PWD}`; export r; \
21613 s=`cd $(srcdir); ${PWD}`; export s; \
21614 $(SET_LIB_PATH) \
21615 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21618 .PHONY: install-gdb maybe-install-gdb
21619 maybe-install-gdb:
21621 install-gdb: installdirs
21622 @r=`${PWD}`; export r; \
21623 s=`cd $(srcdir); ${PWD}`; export s; \
21624 $(SET_LIB_PATH) \
21625 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21628 .PHONY: configure-expect maybe-configure-expect
21629 maybe-configure-expect:
21630 configure-expect:
21631 @test ! -f expect/Makefile || exit 0; \
21632 [ -d expect ] || mkdir expect; \
21633 r=`${PWD}`; export r; \
21634 s=`cd $(srcdir); ${PWD}`; export s; \
21635 CC="$(CC)"; export CC; \
21636 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21637 CXX="$(CXX)"; export CXX; \
21638 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21639 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21640 AR="$(AR)"; export AR; \
21641 AS="$(AS)"; export AS; \
21642 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21643 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21644 LD="$(LD)"; export LD; \
21645 NM="$(NM)"; export NM; \
21646 RANLIB="$(RANLIB)"; export RANLIB; \
21647 WINDRES="$(WINDRES)"; export WINDRES; \
21648 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21649 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21650 fi; \
21651 echo Configuring in expect; \
21652 cd expect || exit 1; \
21653 case $(srcdir) in \
21654 \.) \
21655 srcdiroption="--srcdir=."; \
21656 libsrcdir=".";; \
21657 /* | [A-Za-z]:[\\/]*) \
21658 srcdiroption="--srcdir=$(srcdir)/expect"; \
21659 libsrcdir="$$s/expect";; \
21660 *) \
21661 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21662 libsrcdir="$$s/expect";; \
21663 esac; \
21664 $(SHELL) $${libsrcdir}/configure \
21665 $(HOST_CONFIGARGS) $${srcdiroption} \
21666 || exit 1
21668 .PHONY: all-expect maybe-all-expect
21669 maybe-all-expect:
21670 all-expect: configure-expect
21671 @r=`${PWD}`; export r; \
21672 s=`cd $(srcdir); ${PWD}`; export s; \
21673 $(SET_LIB_PATH) \
21674 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21676 .PHONY: check-expect maybe-check-expect
21677 maybe-check-expect:
21679 check-expect:
21680 @r=`${PWD}`; export r; \
21681 s=`cd $(srcdir); ${PWD}`; export s; \
21682 $(SET_LIB_PATH) \
21683 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21686 .PHONY: install-expect maybe-install-expect
21687 maybe-install-expect:
21689 install-expect: installdirs
21690 @r=`${PWD}`; export r; \
21691 s=`cd $(srcdir); ${PWD}`; export s; \
21692 $(SET_LIB_PATH) \
21693 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21696 .PHONY: configure-guile maybe-configure-guile
21697 maybe-configure-guile:
21698 configure-guile:
21699 @test ! -f guile/Makefile || exit 0; \
21700 [ -d guile ] || mkdir guile; \
21701 r=`${PWD}`; export r; \
21702 s=`cd $(srcdir); ${PWD}`; export s; \
21703 CC="$(CC)"; export CC; \
21704 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21705 CXX="$(CXX)"; export CXX; \
21706 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21707 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21708 AR="$(AR)"; export AR; \
21709 AS="$(AS)"; export AS; \
21710 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21711 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21712 LD="$(LD)"; export LD; \
21713 NM="$(NM)"; export NM; \
21714 RANLIB="$(RANLIB)"; export RANLIB; \
21715 WINDRES="$(WINDRES)"; export WINDRES; \
21716 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21717 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21718 fi; \
21719 echo Configuring in guile; \
21720 cd guile || exit 1; \
21721 case $(srcdir) in \
21722 \.) \
21723 srcdiroption="--srcdir=."; \
21724 libsrcdir=".";; \
21725 /* | [A-Za-z]:[\\/]*) \
21726 srcdiroption="--srcdir=$(srcdir)/guile"; \
21727 libsrcdir="$$s/guile";; \
21728 *) \
21729 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21730 libsrcdir="$$s/guile";; \
21731 esac; \
21732 $(SHELL) $${libsrcdir}/configure \
21733 $(HOST_CONFIGARGS) $${srcdiroption} \
21734 || exit 1
21736 .PHONY: all-guile maybe-all-guile
21737 maybe-all-guile:
21738 all-guile: configure-guile
21739 @r=`${PWD}`; export r; \
21740 s=`cd $(srcdir); ${PWD}`; export s; \
21741 $(SET_LIB_PATH) \
21742 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21744 .PHONY: check-guile maybe-check-guile
21745 maybe-check-guile:
21747 check-guile:
21748 @r=`${PWD}`; export r; \
21749 s=`cd $(srcdir); ${PWD}`; export s; \
21750 $(SET_LIB_PATH) \
21751 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21754 .PHONY: install-guile maybe-install-guile
21755 maybe-install-guile:
21757 install-guile: installdirs
21758 @r=`${PWD}`; export r; \
21759 s=`cd $(srcdir); ${PWD}`; export s; \
21760 $(SET_LIB_PATH) \
21761 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21764 .PHONY: configure-tk maybe-configure-tk
21765 maybe-configure-tk:
21766 configure-tk:
21767 @test ! -f tk/Makefile || exit 0; \
21768 [ -d tk ] || mkdir tk; \
21769 r=`${PWD}`; export r; \
21770 s=`cd $(srcdir); ${PWD}`; export s; \
21771 CC="$(CC)"; export CC; \
21772 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21773 CXX="$(CXX)"; export CXX; \
21774 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21775 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21776 AR="$(AR)"; export AR; \
21777 AS="$(AS)"; export AS; \
21778 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21779 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21780 LD="$(LD)"; export LD; \
21781 NM="$(NM)"; export NM; \
21782 RANLIB="$(RANLIB)"; export RANLIB; \
21783 WINDRES="$(WINDRES)"; export WINDRES; \
21784 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21785 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21786 fi; \
21787 echo Configuring in tk; \
21788 cd tk || exit 1; \
21789 case $(srcdir) in \
21790 \.) \
21791 srcdiroption="--srcdir=."; \
21792 libsrcdir=".";; \
21793 /* | [A-Za-z]:[\\/]*) \
21794 srcdiroption="--srcdir=$(srcdir)/tk"; \
21795 libsrcdir="$$s/tk";; \
21796 *) \
21797 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21798 libsrcdir="$$s/tk";; \
21799 esac; \
21800 $(SHELL) $${libsrcdir}/configure \
21801 $(HOST_CONFIGARGS) $${srcdiroption} \
21802 || exit 1
21804 .PHONY: all-tk maybe-all-tk
21805 maybe-all-tk:
21806 all-tk: configure-tk
21807 @r=`${PWD}`; export r; \
21808 s=`cd $(srcdir); ${PWD}`; export s; \
21809 $(SET_LIB_PATH) \
21810 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21812 .PHONY: check-tk maybe-check-tk
21813 maybe-check-tk:
21815 check-tk:
21816 @r=`${PWD}`; export r; \
21817 s=`cd $(srcdir); ${PWD}`; export s; \
21818 $(SET_LIB_PATH) \
21819 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21822 .PHONY: install-tk maybe-install-tk
21823 maybe-install-tk:
21825 install-tk: installdirs
21826 @r=`${PWD}`; export r; \
21827 s=`cd $(srcdir); ${PWD}`; export s; \
21828 $(SET_LIB_PATH) \
21829 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21832 .PHONY: configure-tix maybe-configure-tix
21833 maybe-configure-tix:
21834 configure-tix:
21835 @test ! -f tix/Makefile || exit 0; \
21836 [ -d tix ] || mkdir tix; \
21837 r=`${PWD}`; export r; \
21838 s=`cd $(srcdir); ${PWD}`; export s; \
21839 CC="$(CC)"; export CC; \
21840 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21841 CXX="$(CXX)"; export CXX; \
21842 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21843 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21844 AR="$(AR)"; export AR; \
21845 AS="$(AS)"; export AS; \
21846 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21847 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21848 LD="$(LD)"; export LD; \
21849 NM="$(NM)"; export NM; \
21850 RANLIB="$(RANLIB)"; export RANLIB; \
21851 WINDRES="$(WINDRES)"; export WINDRES; \
21852 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21853 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21854 fi; \
21855 echo Configuring in tix; \
21856 cd tix || exit 1; \
21857 case $(srcdir) in \
21858 \.) \
21859 srcdiroption="--srcdir=."; \
21860 libsrcdir=".";; \
21861 /* | [A-Za-z]:[\\/]*) \
21862 srcdiroption="--srcdir=$(srcdir)/tix"; \
21863 libsrcdir="$$s/tix";; \
21864 *) \
21865 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21866 libsrcdir="$$s/tix";; \
21867 esac; \
21868 $(SHELL) $${libsrcdir}/configure \
21869 $(HOST_CONFIGARGS) $${srcdiroption} \
21870 || exit 1
21872 .PHONY: all-tix maybe-all-tix
21873 maybe-all-tix:
21874 all-tix: configure-tix
21875 @r=`${PWD}`; export r; \
21876 s=`cd $(srcdir); ${PWD}`; export s; \
21877 $(SET_LIB_PATH) \
21878 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21880 .PHONY: check-tix maybe-check-tix
21881 maybe-check-tix:
21883 check-tix:
21884 @r=`${PWD}`; export r; \
21885 s=`cd $(srcdir); ${PWD}`; export s; \
21886 $(SET_LIB_PATH) \
21887 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21890 .PHONY: install-tix maybe-install-tix
21891 maybe-install-tix:
21893 install-tix: installdirs
21894 @r=`${PWD}`; export r; \
21895 s=`cd $(srcdir); ${PWD}`; export s; \
21896 $(SET_LIB_PATH) \
21897 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21900 .PHONY: configure-libtermcap maybe-configure-libtermcap
21901 maybe-configure-libtermcap:
21902 configure-libtermcap:
21903 @test ! -f libtermcap/Makefile || exit 0; \
21904 [ -d libtermcap ] || mkdir libtermcap; \
21905 r=`${PWD}`; export r; \
21906 s=`cd $(srcdir); ${PWD}`; export s; \
21907 CC="$(CC)"; export CC; \
21908 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21909 CXX="$(CXX)"; export CXX; \
21910 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21911 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21912 AR="$(AR)"; export AR; \
21913 AS="$(AS)"; export AS; \
21914 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21915 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21916 LD="$(LD)"; export LD; \
21917 NM="$(NM)"; export NM; \
21918 RANLIB="$(RANLIB)"; export RANLIB; \
21919 WINDRES="$(WINDRES)"; export WINDRES; \
21920 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21921 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21922 fi; \
21923 echo Configuring in libtermcap; \
21924 cd libtermcap || exit 1; \
21925 case $(srcdir) in \
21926 \.) \
21927 srcdiroption="--srcdir=."; \
21928 libsrcdir=".";; \
21929 /* | [A-Za-z]:[\\/]*) \
21930 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21931 libsrcdir="$$s/libtermcap";; \
21932 *) \
21933 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21934 libsrcdir="$$s/libtermcap";; \
21935 esac; \
21936 $(SHELL) $${libsrcdir}/configure \
21937 $(HOST_CONFIGARGS) $${srcdiroption} \
21938 || exit 1
21940 .PHONY: all-libtermcap maybe-all-libtermcap
21941 maybe-all-libtermcap:
21942 all-libtermcap: configure-libtermcap
21943 @r=`${PWD}`; export r; \
21944 s=`cd $(srcdir); ${PWD}`; export s; \
21945 $(SET_LIB_PATH) \
21946 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21948 .PHONY: check-libtermcap maybe-check-libtermcap
21949 maybe-check-libtermcap:
21951 check-libtermcap:
21954 .PHONY: install-libtermcap maybe-install-libtermcap
21955 maybe-install-libtermcap:
21957 install-libtermcap: installdirs
21958 @r=`${PWD}`; export r; \
21959 s=`cd $(srcdir); ${PWD}`; export s; \
21960 $(SET_LIB_PATH) \
21961 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21964 .PHONY: configure-utils maybe-configure-utils
21965 maybe-configure-utils:
21966 configure-utils:
21967 @test ! -f utils/Makefile || exit 0; \
21968 [ -d utils ] || mkdir utils; \
21969 r=`${PWD}`; export r; \
21970 s=`cd $(srcdir); ${PWD}`; export s; \
21971 CC="$(CC)"; export CC; \
21972 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21973 CXX="$(CXX)"; export CXX; \
21974 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21975 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
21976 AR="$(AR)"; export AR; \
21977 AS="$(AS)"; export AS; \
21978 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21979 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21980 LD="$(LD)"; export LD; \
21981 NM="$(NM)"; export NM; \
21982 RANLIB="$(RANLIB)"; export RANLIB; \
21983 WINDRES="$(WINDRES)"; export WINDRES; \
21984 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21985 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21986 fi; \
21987 echo Configuring in utils; \
21988 cd utils || exit 1; \
21989 case $(srcdir) in \
21990 \.) \
21991 srcdiroption="--srcdir=."; \
21992 libsrcdir=".";; \
21993 /* | [A-Za-z]:[\\/]*) \
21994 srcdiroption="--srcdir=$(srcdir)/utils"; \
21995 libsrcdir="$$s/utils";; \
21996 *) \
21997 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21998 libsrcdir="$$s/utils";; \
21999 esac; \
22000 $(SHELL) $${libsrcdir}/configure \
22001 $(HOST_CONFIGARGS) $${srcdiroption} \
22002 || exit 1
22004 .PHONY: all-utils maybe-all-utils
22005 maybe-all-utils:
22006 all-utils: configure-utils
22007 @r=`${PWD}`; export r; \
22008 s=`cd $(srcdir); ${PWD}`; export s; \
22009 $(SET_LIB_PATH) \
22010 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22012 .PHONY: check-utils maybe-check-utils
22013 maybe-check-utils:
22015 check-utils:
22018 .PHONY: install-utils maybe-install-utils
22019 maybe-install-utils:
22021 install-utils: installdirs
22022 @r=`${PWD}`; export r; \
22023 s=`cd $(srcdir); ${PWD}`; export s; \
22024 $(SET_LIB_PATH) \
22025 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22029 # ---------------------------------------
22030 # Modules which run on the target machine
22031 # ---------------------------------------
22033 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22034 maybe-configure-target-libstdc++-v3:
22036 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22037 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22038 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
22039 mkdir $(TARGET_SUBDIR)/libstdc++-v3; \
22040 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22041 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22043 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22044 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22045 [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
22046 mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
22047 r=`${PWD}`; export r; \
22048 s=`cd $(srcdir); ${PWD}`; export s; \
22049 $(SET_LIB_PATH) \
22050 AR="$(AR_FOR_TARGET)"; export AR; \
22051 AS="$(AS_FOR_TARGET)"; export AS; \
22052 CC="$(CC_FOR_TARGET)"; export CC; \
22053 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22054 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22055 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
22056 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
22057 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22058 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22059 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22060 LD="$(LD_FOR_TARGET)"; export LD; \
22061 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22062 NM="$(NM_FOR_TARGET)"; export NM; \
22063 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22064 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22065 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22066 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22067 case $(srcdir) in \
22068 /* | [A-Za-z]:[\\/]*) \
22069 topdir=$(srcdir) ;; \
22070 *) \
22071 case "$(TARGET_SUBDIR)" in \
22072 .) topdir="../$(srcdir)" ;; \
22073 *) topdir="../../$(srcdir)" ;; \
22074 esac ;; \
22075 esac; \
22076 if [ "$(srcdir)" = "." ] ; then \
22077 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22078 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
22079 if [ -f Makefile ]; then \
22080 if $(MAKE) distclean; then \
22081 true; \
22082 else \
22083 exit 1; \
22084 fi; \
22085 else \
22086 true; \
22087 fi; \
22088 else \
22089 exit 1; \
22090 fi; \
22091 else \
22092 true; \
22093 fi; \
22094 srcdiroption="--srcdir=."; \
22095 libsrcdir="."; \
22096 else \
22097 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22098 libsrcdir="$$s/libstdc++-v3"; \
22099 fi; \
22100 rm -f no-such-file || : ; \
22101 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22102 $(TARGET_CONFIGARGS) $${srcdiroption} \
22103 --with-target-subdir="$(TARGET_SUBDIR)" \
22104 || exit 1
22106 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22107 maybe-all-target-libstdc++-v3:
22108 all-target-libstdc++-v3: configure-target-libstdc++-v3
22109 @r=`${PWD}`; export r; \
22110 s=`cd $(srcdir); ${PWD}`; export s; \
22111 $(SET_LIB_PATH) \
22112 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22113 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22115 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22116 maybe-check-target-libstdc++-v3:
22118 check-target-libstdc++-v3:
22119 @r=`${PWD}`; export r; \
22120 s=`cd $(srcdir); ${PWD}`; export s; \
22121 $(SET_LIB_PATH) \
22122 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22123 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22126 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22127 maybe-install-target-libstdc++-v3:
22129 install-target-libstdc++-v3: installdirs
22130 @r=`${PWD}`; export r; \
22131 s=`cd $(srcdir); ${PWD}`; export s; \
22132 $(SET_LIB_PATH) \
22133 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22137 .PHONY: configure-target-newlib maybe-configure-target-newlib
22138 maybe-configure-target-newlib:
22140 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22141 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22142 @[ -d $(TARGET_SUBDIR)/newlib ] || \
22143 mkdir $(TARGET_SUBDIR)/newlib; \
22144 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22145 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22147 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22148 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22149 [ -d $(TARGET_SUBDIR)/newlib ] || \
22150 mkdir $(TARGET_SUBDIR)/newlib;\
22151 r=`${PWD}`; export r; \
22152 s=`cd $(srcdir); ${PWD}`; export s; \
22153 $(SET_LIB_PATH) \
22154 AR="$(AR_FOR_TARGET)"; export AR; \
22155 AS="$(AS_FOR_TARGET)"; export AS; \
22156 CC="$(CC_FOR_TARGET)"; export CC; \
22157 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22158 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22159 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22160 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22161 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22162 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22163 LD="$(LD_FOR_TARGET)"; export LD; \
22164 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22165 NM="$(NM_FOR_TARGET)"; export NM; \
22166 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22167 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22168 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22169 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22170 case $(srcdir) in \
22171 /* | [A-Za-z]:[\\/]*) \
22172 topdir=$(srcdir) ;; \
22173 *) \
22174 case "$(TARGET_SUBDIR)" in \
22175 .) topdir="../$(srcdir)" ;; \
22176 *) topdir="../../$(srcdir)" ;; \
22177 esac ;; \
22178 esac; \
22179 if [ "$(srcdir)" = "." ] ; then \
22180 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22181 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22182 if [ -f Makefile ]; then \
22183 if $(MAKE) distclean; then \
22184 true; \
22185 else \
22186 exit 1; \
22187 fi; \
22188 else \
22189 true; \
22190 fi; \
22191 else \
22192 exit 1; \
22193 fi; \
22194 else \
22195 true; \
22196 fi; \
22197 srcdiroption="--srcdir=."; \
22198 libsrcdir="."; \
22199 else \
22200 srcdiroption="--srcdir=$${topdir}/newlib"; \
22201 libsrcdir="$$s/newlib"; \
22202 fi; \
22203 rm -f no-such-file || : ; \
22204 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22205 $(TARGET_CONFIGARGS) $${srcdiroption} \
22206 --with-target-subdir="$(TARGET_SUBDIR)" \
22207 || exit 1
22209 .PHONY: all-target-newlib maybe-all-target-newlib
22210 maybe-all-target-newlib:
22211 all-target-newlib: configure-target-newlib
22212 @r=`${PWD}`; export r; \
22213 s=`cd $(srcdir); ${PWD}`; export s; \
22214 $(SET_LIB_PATH) \
22215 (cd $(TARGET_SUBDIR)/newlib && \
22216 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22218 .PHONY: check-target-newlib maybe-check-target-newlib
22219 maybe-check-target-newlib:
22221 check-target-newlib:
22222 @r=`${PWD}`; export r; \
22223 s=`cd $(srcdir); ${PWD}`; export s; \
22224 $(SET_LIB_PATH) \
22225 (cd $(TARGET_SUBDIR)/newlib && \
22226 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22229 .PHONY: install-target-newlib maybe-install-target-newlib
22230 maybe-install-target-newlib:
22232 install-target-newlib: installdirs
22233 @r=`${PWD}`; export r; \
22234 s=`cd $(srcdir); ${PWD}`; export s; \
22235 $(SET_LIB_PATH) \
22236 (cd $(TARGET_SUBDIR)/newlib && \
22237 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22240 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
22241 maybe-configure-target-libf2c:
22243 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22244 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
22245 @[ -d $(TARGET_SUBDIR)/libf2c ] || \
22246 mkdir $(TARGET_SUBDIR)/libf2c; \
22247 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
22248 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
22250 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
22251 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
22252 [ -d $(TARGET_SUBDIR)/libf2c ] || \
22253 mkdir $(TARGET_SUBDIR)/libf2c;\
22254 r=`${PWD}`; export r; \
22255 s=`cd $(srcdir); ${PWD}`; export s; \
22256 $(SET_LIB_PATH) \
22257 AR="$(AR_FOR_TARGET)"; export AR; \
22258 AS="$(AS_FOR_TARGET)"; export AS; \
22259 CC="$(CC_FOR_TARGET)"; export CC; \
22260 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22261 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22262 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22263 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22264 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22265 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22266 LD="$(LD_FOR_TARGET)"; export LD; \
22267 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22268 NM="$(NM_FOR_TARGET)"; export NM; \
22269 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22270 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22271 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
22272 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
22273 case $(srcdir) in \
22274 /* | [A-Za-z]:[\\/]*) \
22275 topdir=$(srcdir) ;; \
22276 *) \
22277 case "$(TARGET_SUBDIR)" in \
22278 .) topdir="../$(srcdir)" ;; \
22279 *) topdir="../../$(srcdir)" ;; \
22280 esac ;; \
22281 esac; \
22282 if [ "$(srcdir)" = "." ] ; then \
22283 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22284 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22285 if [ -f Makefile ]; then \
22286 if $(MAKE) distclean; then \
22287 true; \
22288 else \
22289 exit 1; \
22290 fi; \
22291 else \
22292 true; \
22293 fi; \
22294 else \
22295 exit 1; \
22296 fi; \
22297 else \
22298 true; \
22299 fi; \
22300 srcdiroption="--srcdir=."; \
22301 libsrcdir="."; \
22302 else \
22303 srcdiroption="--srcdir=$${topdir}/libf2c"; \
22304 libsrcdir="$$s/libf2c"; \
22305 fi; \
22306 rm -f no-such-file || : ; \
22307 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22308 $(TARGET_CONFIGARGS) $${srcdiroption} \
22309 --with-target-subdir="$(TARGET_SUBDIR)" \
22310 || exit 1
22312 .PHONY: all-target-libf2c maybe-all-target-libf2c
22313 maybe-all-target-libf2c:
22314 all-target-libf2c: configure-target-libf2c
22315 @r=`${PWD}`; export r; \
22316 s=`cd $(srcdir); ${PWD}`; export s; \
22317 $(SET_LIB_PATH) \
22318 (cd $(TARGET_SUBDIR)/libf2c && \
22319 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22321 .PHONY: check-target-libf2c maybe-check-target-libf2c
22322 maybe-check-target-libf2c:
22324 check-target-libf2c:
22325 @r=`${PWD}`; export r; \
22326 s=`cd $(srcdir); ${PWD}`; export s; \
22327 $(SET_LIB_PATH) \
22328 (cd $(TARGET_SUBDIR)/libf2c && \
22329 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22332 .PHONY: install-target-libf2c maybe-install-target-libf2c
22333 maybe-install-target-libf2c:
22335 install-target-libf2c: installdirs
22336 @r=`${PWD}`; export r; \
22337 s=`cd $(srcdir); ${PWD}`; export s; \
22338 $(SET_LIB_PATH) \
22339 (cd $(TARGET_SUBDIR)/libf2c && \
22340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22343 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
22344 maybe-configure-target-libobjc:
22346 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22347 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
22348 @[ -d $(TARGET_SUBDIR)/libobjc ] || \
22349 mkdir $(TARGET_SUBDIR)/libobjc; \
22350 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
22351 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
22353 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
22354 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
22355 [ -d $(TARGET_SUBDIR)/libobjc ] || \
22356 mkdir $(TARGET_SUBDIR)/libobjc;\
22357 r=`${PWD}`; export r; \
22358 s=`cd $(srcdir); ${PWD}`; export s; \
22359 $(SET_LIB_PATH) \
22360 AR="$(AR_FOR_TARGET)"; export AR; \
22361 AS="$(AS_FOR_TARGET)"; export AS; \
22362 CC="$(CC_FOR_TARGET)"; export CC; \
22363 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22364 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22365 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22366 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22367 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22368 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22369 LD="$(LD_FOR_TARGET)"; export LD; \
22370 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22371 NM="$(NM_FOR_TARGET)"; export NM; \
22372 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22373 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22374 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
22375 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
22376 case $(srcdir) in \
22377 /* | [A-Za-z]:[\\/]*) \
22378 topdir=$(srcdir) ;; \
22379 *) \
22380 case "$(TARGET_SUBDIR)" in \
22381 .) topdir="../$(srcdir)" ;; \
22382 *) topdir="../../$(srcdir)" ;; \
22383 esac ;; \
22384 esac; \
22385 if [ "$(srcdir)" = "." ] ; then \
22386 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22387 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22388 if [ -f Makefile ]; then \
22389 if $(MAKE) distclean; then \
22390 true; \
22391 else \
22392 exit 1; \
22393 fi; \
22394 else \
22395 true; \
22396 fi; \
22397 else \
22398 exit 1; \
22399 fi; \
22400 else \
22401 true; \
22402 fi; \
22403 srcdiroption="--srcdir=."; \
22404 libsrcdir="."; \
22405 else \
22406 srcdiroption="--srcdir=$${topdir}/libobjc"; \
22407 libsrcdir="$$s/libobjc"; \
22408 fi; \
22409 rm -f no-such-file || : ; \
22410 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22411 $(TARGET_CONFIGARGS) $${srcdiroption} \
22412 --with-target-subdir="$(TARGET_SUBDIR)" \
22413 || exit 1
22415 .PHONY: all-target-libobjc maybe-all-target-libobjc
22416 maybe-all-target-libobjc:
22417 all-target-libobjc: configure-target-libobjc
22418 @r=`${PWD}`; export r; \
22419 s=`cd $(srcdir); ${PWD}`; export s; \
22420 $(SET_LIB_PATH) \
22421 (cd $(TARGET_SUBDIR)/libobjc && \
22422 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22424 .PHONY: check-target-libobjc maybe-check-target-libobjc
22425 maybe-check-target-libobjc:
22427 check-target-libobjc:
22428 @r=`${PWD}`; export r; \
22429 s=`cd $(srcdir); ${PWD}`; export s; \
22430 $(SET_LIB_PATH) \
22431 (cd $(TARGET_SUBDIR)/libobjc && \
22432 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22435 .PHONY: install-target-libobjc maybe-install-target-libobjc
22436 maybe-install-target-libobjc:
22438 install-target-libobjc: installdirs
22439 @r=`${PWD}`; export r; \
22440 s=`cd $(srcdir); ${PWD}`; export s; \
22441 $(SET_LIB_PATH) \
22442 (cd $(TARGET_SUBDIR)/libobjc && \
22443 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22446 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
22447 maybe-configure-target-libtermcap:
22449 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22450 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
22451 @[ -d $(TARGET_SUBDIR)/libtermcap ] || \
22452 mkdir $(TARGET_SUBDIR)/libtermcap; \
22453 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
22454 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
22456 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
22457 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
22458 [ -d $(TARGET_SUBDIR)/libtermcap ] || \
22459 mkdir $(TARGET_SUBDIR)/libtermcap;\
22460 r=`${PWD}`; export r; \
22461 s=`cd $(srcdir); ${PWD}`; export s; \
22462 $(SET_LIB_PATH) \
22463 AR="$(AR_FOR_TARGET)"; export AR; \
22464 AS="$(AS_FOR_TARGET)"; export AS; \
22465 CC="$(CC_FOR_TARGET)"; export CC; \
22466 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22467 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22468 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22469 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22470 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22471 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22472 LD="$(LD_FOR_TARGET)"; export LD; \
22473 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22474 NM="$(NM_FOR_TARGET)"; export NM; \
22475 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22476 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22477 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
22478 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
22479 case $(srcdir) in \
22480 /* | [A-Za-z]:[\\/]*) \
22481 topdir=$(srcdir) ;; \
22482 *) \
22483 case "$(TARGET_SUBDIR)" in \
22484 .) topdir="../$(srcdir)" ;; \
22485 *) topdir="../../$(srcdir)" ;; \
22486 esac ;; \
22487 esac; \
22488 if [ "$(srcdir)" = "." ] ; then \
22489 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22490 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
22491 if [ -f Makefile ]; then \
22492 if $(MAKE) distclean; then \
22493 true; \
22494 else \
22495 exit 1; \
22496 fi; \
22497 else \
22498 true; \
22499 fi; \
22500 else \
22501 exit 1; \
22502 fi; \
22503 else \
22504 true; \
22505 fi; \
22506 srcdiroption="--srcdir=."; \
22507 libsrcdir="."; \
22508 else \
22509 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22510 libsrcdir="$$s/libtermcap"; \
22511 fi; \
22512 rm -f no-such-file || : ; \
22513 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22514 $(TARGET_CONFIGARGS) $${srcdiroption} \
22515 --with-target-subdir="$(TARGET_SUBDIR)" \
22516 || exit 1
22518 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
22519 maybe-all-target-libtermcap:
22520 all-target-libtermcap: configure-target-libtermcap
22521 @r=`${PWD}`; export r; \
22522 s=`cd $(srcdir); ${PWD}`; export s; \
22523 $(SET_LIB_PATH) \
22524 (cd $(TARGET_SUBDIR)/libtermcap && \
22525 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22527 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
22528 maybe-check-target-libtermcap:
22530 # Dummy target for uncheckable module.
22531 check-target-libtermcap:
22534 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
22535 maybe-install-target-libtermcap:
22537 install-target-libtermcap: installdirs
22538 @r=`${PWD}`; export r; \
22539 s=`cd $(srcdir); ${PWD}`; export s; \
22540 $(SET_LIB_PATH) \
22541 (cd $(TARGET_SUBDIR)/libtermcap && \
22542 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22545 .PHONY: configure-target-winsup maybe-configure-target-winsup
22546 maybe-configure-target-winsup:
22548 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22549 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
22550 @[ -d $(TARGET_SUBDIR)/winsup ] || \
22551 mkdir $(TARGET_SUBDIR)/winsup; \
22552 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
22553 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
22555 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
22556 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
22557 [ -d $(TARGET_SUBDIR)/winsup ] || \
22558 mkdir $(TARGET_SUBDIR)/winsup;\
22559 r=`${PWD}`; export r; \
22560 s=`cd $(srcdir); ${PWD}`; export s; \
22561 $(SET_LIB_PATH) \
22562 AR="$(AR_FOR_TARGET)"; export AR; \
22563 AS="$(AS_FOR_TARGET)"; export AS; \
22564 CC="$(CC_FOR_TARGET)"; export CC; \
22565 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22566 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22567 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22569 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22570 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22571 LD="$(LD_FOR_TARGET)"; export LD; \
22572 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22573 NM="$(NM_FOR_TARGET)"; export NM; \
22574 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22575 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22576 echo Configuring in $(TARGET_SUBDIR)/winsup; \
22577 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
22578 case $(srcdir) in \
22579 /* | [A-Za-z]:[\\/]*) \
22580 topdir=$(srcdir) ;; \
22581 *) \
22582 case "$(TARGET_SUBDIR)" in \
22583 .) topdir="../$(srcdir)" ;; \
22584 *) topdir="../../$(srcdir)" ;; \
22585 esac ;; \
22586 esac; \
22587 if [ "$(srcdir)" = "." ] ; then \
22588 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22589 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22590 if [ -f Makefile ]; then \
22591 if $(MAKE) distclean; then \
22592 true; \
22593 else \
22594 exit 1; \
22595 fi; \
22596 else \
22597 true; \
22598 fi; \
22599 else \
22600 exit 1; \
22601 fi; \
22602 else \
22603 true; \
22604 fi; \
22605 srcdiroption="--srcdir=."; \
22606 libsrcdir="."; \
22607 else \
22608 srcdiroption="--srcdir=$${topdir}/winsup"; \
22609 libsrcdir="$$s/winsup"; \
22610 fi; \
22611 rm -f no-such-file || : ; \
22612 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22613 $(TARGET_CONFIGARGS) $${srcdiroption} \
22614 --with-target-subdir="$(TARGET_SUBDIR)" \
22615 || exit 1
22617 .PHONY: all-target-winsup maybe-all-target-winsup
22618 maybe-all-target-winsup:
22619 all-target-winsup: configure-target-winsup
22620 @r=`${PWD}`; export r; \
22621 s=`cd $(srcdir); ${PWD}`; export s; \
22622 $(SET_LIB_PATH) \
22623 (cd $(TARGET_SUBDIR)/winsup && \
22624 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22626 .PHONY: check-target-winsup maybe-check-target-winsup
22627 maybe-check-target-winsup:
22629 check-target-winsup:
22630 @r=`${PWD}`; export r; \
22631 s=`cd $(srcdir); ${PWD}`; export s; \
22632 $(SET_LIB_PATH) \
22633 (cd $(TARGET_SUBDIR)/winsup && \
22634 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22637 .PHONY: install-target-winsup maybe-install-target-winsup
22638 maybe-install-target-winsup:
22640 install-target-winsup: installdirs
22641 @r=`${PWD}`; export r; \
22642 s=`cd $(srcdir); ${PWD}`; export s; \
22643 $(SET_LIB_PATH) \
22644 (cd $(TARGET_SUBDIR)/winsup && \
22645 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22648 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
22649 maybe-configure-target-libgloss:
22651 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22652 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
22653 @[ -d $(TARGET_SUBDIR)/libgloss ] || \
22654 mkdir $(TARGET_SUBDIR)/libgloss; \
22655 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
22656 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
22658 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
22659 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
22660 [ -d $(TARGET_SUBDIR)/libgloss ] || \
22661 mkdir $(TARGET_SUBDIR)/libgloss;\
22662 r=`${PWD}`; export r; \
22663 s=`cd $(srcdir); ${PWD}`; export s; \
22664 $(SET_LIB_PATH) \
22665 AR="$(AR_FOR_TARGET)"; export AR; \
22666 AS="$(AS_FOR_TARGET)"; export AS; \
22667 CC="$(CC_FOR_TARGET)"; export CC; \
22668 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22669 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22670 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22671 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22672 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22673 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22674 LD="$(LD_FOR_TARGET)"; export LD; \
22675 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22676 NM="$(NM_FOR_TARGET)"; export NM; \
22677 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22678 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22679 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
22680 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
22681 case $(srcdir) in \
22682 /* | [A-Za-z]:[\\/]*) \
22683 topdir=$(srcdir) ;; \
22684 *) \
22685 case "$(TARGET_SUBDIR)" in \
22686 .) topdir="../$(srcdir)" ;; \
22687 *) topdir="../../$(srcdir)" ;; \
22688 esac ;; \
22689 esac; \
22690 if [ "$(srcdir)" = "." ] ; then \
22691 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22692 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
22693 if [ -f Makefile ]; then \
22694 if $(MAKE) distclean; then \
22695 true; \
22696 else \
22697 exit 1; \
22698 fi; \
22699 else \
22700 true; \
22701 fi; \
22702 else \
22703 exit 1; \
22704 fi; \
22705 else \
22706 true; \
22707 fi; \
22708 srcdiroption="--srcdir=."; \
22709 libsrcdir="."; \
22710 else \
22711 srcdiroption="--srcdir=$${topdir}/libgloss"; \
22712 libsrcdir="$$s/libgloss"; \
22713 fi; \
22714 rm -f no-such-file || : ; \
22715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22716 $(TARGET_CONFIGARGS) $${srcdiroption} \
22717 --with-target-subdir="$(TARGET_SUBDIR)" \
22718 || exit 1
22720 .PHONY: all-target-libgloss maybe-all-target-libgloss
22721 maybe-all-target-libgloss:
22722 all-target-libgloss: configure-target-libgloss
22723 @r=`${PWD}`; export r; \
22724 s=`cd $(srcdir); ${PWD}`; export s; \
22725 $(SET_LIB_PATH) \
22726 (cd $(TARGET_SUBDIR)/libgloss && \
22727 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22729 .PHONY: check-target-libgloss maybe-check-target-libgloss
22730 maybe-check-target-libgloss:
22732 # Dummy target for uncheckable module.
22733 check-target-libgloss:
22736 .PHONY: install-target-libgloss maybe-install-target-libgloss
22737 maybe-install-target-libgloss:
22739 install-target-libgloss: installdirs
22740 @r=`${PWD}`; export r; \
22741 s=`cd $(srcdir); ${PWD}`; export s; \
22742 $(SET_LIB_PATH) \
22743 (cd $(TARGET_SUBDIR)/libgloss && \
22744 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22747 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
22748 maybe-configure-target-libiberty:
22750 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22751 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
22752 @[ -d $(TARGET_SUBDIR)/libiberty ] || \
22753 mkdir $(TARGET_SUBDIR)/libiberty; \
22754 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
22755 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
22757 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
22758 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
22759 [ -d $(TARGET_SUBDIR)/libiberty ] || \
22760 mkdir $(TARGET_SUBDIR)/libiberty;\
22761 r=`${PWD}`; export r; \
22762 s=`cd $(srcdir); ${PWD}`; export s; \
22763 $(SET_LIB_PATH) \
22764 AR="$(AR_FOR_TARGET)"; export AR; \
22765 AS="$(AS_FOR_TARGET)"; export AS; \
22766 CC="$(CC_FOR_TARGET)"; export CC; \
22767 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22768 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22769 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22770 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22771 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22772 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22773 LD="$(LD_FOR_TARGET)"; export LD; \
22774 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22775 NM="$(NM_FOR_TARGET)"; export NM; \
22776 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22777 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22778 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
22779 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
22780 case $(srcdir) in \
22781 /* | [A-Za-z]:[\\/]*) \
22782 topdir=$(srcdir) ;; \
22783 *) \
22784 case "$(TARGET_SUBDIR)" in \
22785 .) topdir="../$(srcdir)" ;; \
22786 *) topdir="../../$(srcdir)" ;; \
22787 esac ;; \
22788 esac; \
22789 if [ "$(srcdir)" = "." ] ; then \
22790 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22791 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
22792 if [ -f Makefile ]; then \
22793 if $(MAKE) distclean; then \
22794 true; \
22795 else \
22796 exit 1; \
22797 fi; \
22798 else \
22799 true; \
22800 fi; \
22801 else \
22802 exit 1; \
22803 fi; \
22804 else \
22805 true; \
22806 fi; \
22807 srcdiroption="--srcdir=."; \
22808 libsrcdir="."; \
22809 else \
22810 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22811 libsrcdir="$$s/libiberty"; \
22812 fi; \
22813 rm -f no-such-file || : ; \
22814 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22815 $(TARGET_CONFIGARGS) $${srcdiroption} \
22816 --with-target-subdir="$(TARGET_SUBDIR)" \
22817 || exit 1
22819 .PHONY: all-target-libiberty maybe-all-target-libiberty
22820 maybe-all-target-libiberty:
22821 all-target-libiberty: configure-target-libiberty
22822 @r=`${PWD}`; export r; \
22823 s=`cd $(srcdir); ${PWD}`; export s; \
22824 $(SET_LIB_PATH) \
22825 (cd $(TARGET_SUBDIR)/libiberty && \
22826 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22828 .PHONY: check-target-libiberty maybe-check-target-libiberty
22829 maybe-check-target-libiberty:
22831 check-target-libiberty:
22832 @r=`${PWD}`; export r; \
22833 s=`cd $(srcdir); ${PWD}`; export s; \
22834 $(SET_LIB_PATH) \
22835 (cd $(TARGET_SUBDIR)/libiberty && \
22836 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22839 .PHONY: install-target-libiberty maybe-install-target-libiberty
22840 maybe-install-target-libiberty:
22842 install-target-libiberty: installdirs
22843 @r=`${PWD}`; export r; \
22844 s=`cd $(srcdir); ${PWD}`; export s; \
22845 $(SET_LIB_PATH) \
22846 (cd $(TARGET_SUBDIR)/libiberty && \
22847 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22850 .PHONY: configure-target-gperf maybe-configure-target-gperf
22851 maybe-configure-target-gperf:
22853 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22854 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
22855 @[ -d $(TARGET_SUBDIR)/gperf ] || \
22856 mkdir $(TARGET_SUBDIR)/gperf; \
22857 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
22858 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
22860 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
22861 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
22862 [ -d $(TARGET_SUBDIR)/gperf ] || \
22863 mkdir $(TARGET_SUBDIR)/gperf;\
22864 r=`${PWD}`; export r; \
22865 s=`cd $(srcdir); ${PWD}`; export s; \
22866 $(SET_LIB_PATH) \
22867 AR="$(AR_FOR_TARGET)"; export AR; \
22868 AS="$(AS_FOR_TARGET)"; export AS; \
22869 CC="$(CC_FOR_TARGET)"; export CC; \
22870 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22871 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22872 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22874 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22875 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22876 LD="$(LD_FOR_TARGET)"; export LD; \
22877 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22878 NM="$(NM_FOR_TARGET)"; export NM; \
22879 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22880 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22881 echo Configuring in $(TARGET_SUBDIR)/gperf; \
22882 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
22883 case $(srcdir) in \
22884 /* | [A-Za-z]:[\\/]*) \
22885 topdir=$(srcdir) ;; \
22886 *) \
22887 case "$(TARGET_SUBDIR)" in \
22888 .) topdir="../$(srcdir)" ;; \
22889 *) topdir="../../$(srcdir)" ;; \
22890 esac ;; \
22891 esac; \
22892 if [ "$(srcdir)" = "." ] ; then \
22893 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22894 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
22895 if [ -f Makefile ]; then \
22896 if $(MAKE) distclean; then \
22897 true; \
22898 else \
22899 exit 1; \
22900 fi; \
22901 else \
22902 true; \
22903 fi; \
22904 else \
22905 exit 1; \
22906 fi; \
22907 else \
22908 true; \
22909 fi; \
22910 srcdiroption="--srcdir=."; \
22911 libsrcdir="."; \
22912 else \
22913 srcdiroption="--srcdir=$${topdir}/gperf"; \
22914 libsrcdir="$$s/gperf"; \
22915 fi; \
22916 rm -f no-such-file || : ; \
22917 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22918 $(TARGET_CONFIGARGS) $${srcdiroption} \
22919 --with-target-subdir="$(TARGET_SUBDIR)" \
22920 || exit 1
22922 .PHONY: all-target-gperf maybe-all-target-gperf
22923 maybe-all-target-gperf:
22924 all-target-gperf: configure-target-gperf
22925 @r=`${PWD}`; export r; \
22926 s=`cd $(srcdir); ${PWD}`; export s; \
22927 $(SET_LIB_PATH) \
22928 (cd $(TARGET_SUBDIR)/gperf && \
22929 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22931 .PHONY: check-target-gperf maybe-check-target-gperf
22932 maybe-check-target-gperf:
22934 check-target-gperf:
22935 @r=`${PWD}`; export r; \
22936 s=`cd $(srcdir); ${PWD}`; export s; \
22937 $(SET_LIB_PATH) \
22938 (cd $(TARGET_SUBDIR)/gperf && \
22939 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22942 .PHONY: install-target-gperf maybe-install-target-gperf
22943 maybe-install-target-gperf:
22945 install-target-gperf: installdirs
22946 @r=`${PWD}`; export r; \
22947 s=`cd $(srcdir); ${PWD}`; export s; \
22948 $(SET_LIB_PATH) \
22949 (cd $(TARGET_SUBDIR)/gperf && \
22950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22953 .PHONY: configure-target-examples maybe-configure-target-examples
22954 maybe-configure-target-examples:
22956 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22957 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22958 @[ -d $(TARGET_SUBDIR)/examples ] || \
22959 mkdir $(TARGET_SUBDIR)/examples; \
22960 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22961 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22963 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22964 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22965 [ -d $(TARGET_SUBDIR)/examples ] || \
22966 mkdir $(TARGET_SUBDIR)/examples;\
22967 r=`${PWD}`; export r; \
22968 s=`cd $(srcdir); ${PWD}`; export s; \
22969 $(SET_LIB_PATH) \
22970 AR="$(AR_FOR_TARGET)"; export AR; \
22971 AS="$(AS_FOR_TARGET)"; export AS; \
22972 CC="$(CC_FOR_TARGET)"; export CC; \
22973 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22974 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22975 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22976 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22977 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22978 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22979 LD="$(LD_FOR_TARGET)"; export LD; \
22980 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22981 NM="$(NM_FOR_TARGET)"; export NM; \
22982 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22983 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22984 echo Configuring in $(TARGET_SUBDIR)/examples; \
22985 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22986 case $(srcdir) in \
22987 /* | [A-Za-z]:[\\/]*) \
22988 topdir=$(srcdir) ;; \
22989 *) \
22990 case "$(TARGET_SUBDIR)" in \
22991 .) topdir="../$(srcdir)" ;; \
22992 *) topdir="../../$(srcdir)" ;; \
22993 esac ;; \
22994 esac; \
22995 if [ "$(srcdir)" = "." ] ; then \
22996 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22997 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
22998 if [ -f Makefile ]; then \
22999 if $(MAKE) distclean; then \
23000 true; \
23001 else \
23002 exit 1; \
23003 fi; \
23004 else \
23005 true; \
23006 fi; \
23007 else \
23008 exit 1; \
23009 fi; \
23010 else \
23011 true; \
23012 fi; \
23013 srcdiroption="--srcdir=."; \
23014 libsrcdir="."; \
23015 else \
23016 srcdiroption="--srcdir=$${topdir}/examples"; \
23017 libsrcdir="$$s/examples"; \
23018 fi; \
23019 rm -f no-such-file || : ; \
23020 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23021 $(TARGET_CONFIGARGS) $${srcdiroption} \
23022 --with-target-subdir="$(TARGET_SUBDIR)" \
23023 || exit 1
23025 .PHONY: all-target-examples maybe-all-target-examples
23026 maybe-all-target-examples:
23027 all-target-examples: configure-target-examples
23028 @r=`${PWD}`; export r; \
23029 s=`cd $(srcdir); ${PWD}`; export s; \
23030 $(SET_LIB_PATH) \
23031 (cd $(TARGET_SUBDIR)/examples && \
23032 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23034 .PHONY: check-target-examples maybe-check-target-examples
23035 maybe-check-target-examples:
23037 # Dummy target for uncheckable module.
23038 check-target-examples:
23041 .PHONY: install-target-examples maybe-install-target-examples
23042 maybe-install-target-examples:
23044 # Dummy target for uninstallable.
23045 install-target-examples:
23048 .PHONY: configure-target-libffi maybe-configure-target-libffi
23049 maybe-configure-target-libffi:
23051 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23052 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
23053 @[ -d $(TARGET_SUBDIR)/libffi ] || \
23054 mkdir $(TARGET_SUBDIR)/libffi; \
23055 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
23056 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
23058 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
23059 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
23060 [ -d $(TARGET_SUBDIR)/libffi ] || \
23061 mkdir $(TARGET_SUBDIR)/libffi;\
23062 r=`${PWD}`; export r; \
23063 s=`cd $(srcdir); ${PWD}`; export s; \
23064 $(SET_LIB_PATH) \
23065 AR="$(AR_FOR_TARGET)"; export AR; \
23066 AS="$(AS_FOR_TARGET)"; export AS; \
23067 CC="$(CC_FOR_TARGET)"; export CC; \
23068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23069 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23070 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23072 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23073 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23074 LD="$(LD_FOR_TARGET)"; export LD; \
23075 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23076 NM="$(NM_FOR_TARGET)"; export NM; \
23077 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23078 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23079 echo Configuring in $(TARGET_SUBDIR)/libffi; \
23080 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
23081 case $(srcdir) in \
23082 /* | [A-Za-z]:[\\/]*) \
23083 topdir=$(srcdir) ;; \
23084 *) \
23085 case "$(TARGET_SUBDIR)" in \
23086 .) topdir="../$(srcdir)" ;; \
23087 *) topdir="../../$(srcdir)" ;; \
23088 esac ;; \
23089 esac; \
23090 if [ "$(srcdir)" = "." ] ; then \
23091 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23092 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
23093 if [ -f Makefile ]; then \
23094 if $(MAKE) distclean; then \
23095 true; \
23096 else \
23097 exit 1; \
23098 fi; \
23099 else \
23100 true; \
23101 fi; \
23102 else \
23103 exit 1; \
23104 fi; \
23105 else \
23106 true; \
23107 fi; \
23108 srcdiroption="--srcdir=."; \
23109 libsrcdir="."; \
23110 else \
23111 srcdiroption="--srcdir=$${topdir}/libffi"; \
23112 libsrcdir="$$s/libffi"; \
23113 fi; \
23114 rm -f no-such-file || : ; \
23115 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23116 $(TARGET_CONFIGARGS) $${srcdiroption} \
23117 --with-target-subdir="$(TARGET_SUBDIR)" \
23118 || exit 1
23120 .PHONY: all-target-libffi maybe-all-target-libffi
23121 maybe-all-target-libffi:
23122 all-target-libffi: configure-target-libffi
23123 @r=`${PWD}`; export r; \
23124 s=`cd $(srcdir); ${PWD}`; export s; \
23125 $(SET_LIB_PATH) \
23126 (cd $(TARGET_SUBDIR)/libffi && \
23127 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23129 .PHONY: check-target-libffi maybe-check-target-libffi
23130 maybe-check-target-libffi:
23132 check-target-libffi:
23133 @r=`${PWD}`; export r; \
23134 s=`cd $(srcdir); ${PWD}`; export s; \
23135 $(SET_LIB_PATH) \
23136 (cd $(TARGET_SUBDIR)/libffi && \
23137 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23140 .PHONY: install-target-libffi maybe-install-target-libffi
23141 maybe-install-target-libffi:
23143 install-target-libffi: installdirs
23144 @r=`${PWD}`; export r; \
23145 s=`cd $(srcdir); ${PWD}`; export s; \
23146 $(SET_LIB_PATH) \
23147 (cd $(TARGET_SUBDIR)/libffi && \
23148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23151 .PHONY: configure-target-libjava maybe-configure-target-libjava
23152 maybe-configure-target-libjava:
23154 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23155 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
23156 @[ -d $(TARGET_SUBDIR)/libjava ] || \
23157 mkdir $(TARGET_SUBDIR)/libjava; \
23158 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
23159 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
23161 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
23162 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
23163 [ -d $(TARGET_SUBDIR)/libjava ] || \
23164 mkdir $(TARGET_SUBDIR)/libjava;\
23165 r=`${PWD}`; export r; \
23166 s=`cd $(srcdir); ${PWD}`; export s; \
23167 $(SET_LIB_PATH) \
23168 AR="$(AR_FOR_TARGET)"; export AR; \
23169 AS="$(AS_FOR_TARGET)"; export AS; \
23170 CC="$(CC_FOR_TARGET)"; export CC; \
23171 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23172 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23173 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
23174 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
23175 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23176 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23177 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23178 LD="$(LD_FOR_TARGET)"; export LD; \
23179 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23180 NM="$(NM_FOR_TARGET)"; export NM; \
23181 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23182 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23183 echo Configuring in $(TARGET_SUBDIR)/libjava; \
23184 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
23185 case $(srcdir) in \
23186 /* | [A-Za-z]:[\\/]*) \
23187 topdir=$(srcdir) ;; \
23188 *) \
23189 case "$(TARGET_SUBDIR)" in \
23190 .) topdir="../$(srcdir)" ;; \
23191 *) topdir="../../$(srcdir)" ;; \
23192 esac ;; \
23193 esac; \
23194 if [ "$(srcdir)" = "." ] ; then \
23195 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23196 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23197 if [ -f Makefile ]; then \
23198 if $(MAKE) distclean; then \
23199 true; \
23200 else \
23201 exit 1; \
23202 fi; \
23203 else \
23204 true; \
23205 fi; \
23206 else \
23207 exit 1; \
23208 fi; \
23209 else \
23210 true; \
23211 fi; \
23212 srcdiroption="--srcdir=."; \
23213 libsrcdir="."; \
23214 else \
23215 srcdiroption="--srcdir=$${topdir}/libjava"; \
23216 libsrcdir="$$s/libjava"; \
23217 fi; \
23218 rm -f no-such-file || : ; \
23219 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23220 $(TARGET_CONFIGARGS) $${srcdiroption} \
23221 --with-target-subdir="$(TARGET_SUBDIR)" \
23222 || exit 1
23224 .PHONY: all-target-libjava maybe-all-target-libjava
23225 maybe-all-target-libjava:
23226 all-target-libjava: configure-target-libjava
23227 @r=`${PWD}`; export r; \
23228 s=`cd $(srcdir); ${PWD}`; export s; \
23229 $(SET_LIB_PATH) \
23230 (cd $(TARGET_SUBDIR)/libjava && \
23231 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
23233 .PHONY: check-target-libjava maybe-check-target-libjava
23234 maybe-check-target-libjava:
23236 check-target-libjava:
23237 @r=`${PWD}`; export r; \
23238 s=`cd $(srcdir); ${PWD}`; export s; \
23239 $(SET_LIB_PATH) \
23240 (cd $(TARGET_SUBDIR)/libjava && \
23241 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23244 .PHONY: install-target-libjava maybe-install-target-libjava
23245 maybe-install-target-libjava:
23247 install-target-libjava: installdirs
23248 @r=`${PWD}`; export r; \
23249 s=`cd $(srcdir); ${PWD}`; export s; \
23250 $(SET_LIB_PATH) \
23251 (cd $(TARGET_SUBDIR)/libjava && \
23252 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23255 .PHONY: configure-target-zlib maybe-configure-target-zlib
23256 maybe-configure-target-zlib:
23258 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23259 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
23260 @[ -d $(TARGET_SUBDIR)/zlib ] || \
23261 mkdir $(TARGET_SUBDIR)/zlib; \
23262 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
23263 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
23265 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
23266 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
23267 [ -d $(TARGET_SUBDIR)/zlib ] || \
23268 mkdir $(TARGET_SUBDIR)/zlib;\
23269 r=`${PWD}`; export r; \
23270 s=`cd $(srcdir); ${PWD}`; export s; \
23271 $(SET_LIB_PATH) \
23272 AR="$(AR_FOR_TARGET)"; export AR; \
23273 AS="$(AS_FOR_TARGET)"; export AS; \
23274 CC="$(CC_FOR_TARGET)"; export CC; \
23275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23276 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23277 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23279 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23280 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23281 LD="$(LD_FOR_TARGET)"; export LD; \
23282 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23283 NM="$(NM_FOR_TARGET)"; export NM; \
23284 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23285 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23286 echo Configuring in $(TARGET_SUBDIR)/zlib; \
23287 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
23288 case $(srcdir) in \
23289 /* | [A-Za-z]:[\\/]*) \
23290 topdir=$(srcdir) ;; \
23291 *) \
23292 case "$(TARGET_SUBDIR)" in \
23293 .) topdir="../$(srcdir)" ;; \
23294 *) topdir="../../$(srcdir)" ;; \
23295 esac ;; \
23296 esac; \
23297 if [ "$(srcdir)" = "." ] ; then \
23298 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23299 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
23300 if [ -f Makefile ]; then \
23301 if $(MAKE) distclean; then \
23302 true; \
23303 else \
23304 exit 1; \
23305 fi; \
23306 else \
23307 true; \
23308 fi; \
23309 else \
23310 exit 1; \
23311 fi; \
23312 else \
23313 true; \
23314 fi; \
23315 srcdiroption="--srcdir=."; \
23316 libsrcdir="."; \
23317 else \
23318 srcdiroption="--srcdir=$${topdir}/zlib"; \
23319 libsrcdir="$$s/zlib"; \
23320 fi; \
23321 rm -f no-such-file || : ; \
23322 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23323 $(TARGET_CONFIGARGS) $${srcdiroption} \
23324 --with-target-subdir="$(TARGET_SUBDIR)" \
23325 || exit 1
23327 .PHONY: all-target-zlib maybe-all-target-zlib
23328 maybe-all-target-zlib:
23329 all-target-zlib: configure-target-zlib
23330 @r=`${PWD}`; export r; \
23331 s=`cd $(srcdir); ${PWD}`; export s; \
23332 $(SET_LIB_PATH) \
23333 (cd $(TARGET_SUBDIR)/zlib && \
23334 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23336 .PHONY: check-target-zlib maybe-check-target-zlib
23337 maybe-check-target-zlib:
23339 check-target-zlib:
23340 @r=`${PWD}`; export r; \
23341 s=`cd $(srcdir); ${PWD}`; export s; \
23342 $(SET_LIB_PATH) \
23343 (cd $(TARGET_SUBDIR)/zlib && \
23344 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23347 .PHONY: install-target-zlib maybe-install-target-zlib
23348 maybe-install-target-zlib:
23350 install-target-zlib: installdirs
23351 @r=`${PWD}`; export r; \
23352 s=`cd $(srcdir); ${PWD}`; export s; \
23353 $(SET_LIB_PATH) \
23354 (cd $(TARGET_SUBDIR)/zlib && \
23355 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23358 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23359 maybe-configure-target-boehm-gc:
23361 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23362 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23363 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23364 mkdir $(TARGET_SUBDIR)/boehm-gc; \
23365 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23366 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23368 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23369 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23370 [ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23371 mkdir $(TARGET_SUBDIR)/boehm-gc;\
23372 r=`${PWD}`; export r; \
23373 s=`cd $(srcdir); ${PWD}`; export s; \
23374 $(SET_LIB_PATH) \
23375 AR="$(AR_FOR_TARGET)"; export AR; \
23376 AS="$(AS_FOR_TARGET)"; export AS; \
23377 CC="$(CC_FOR_TARGET)"; export CC; \
23378 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23379 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23380 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23381 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23382 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23383 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23384 LD="$(LD_FOR_TARGET)"; export LD; \
23385 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23386 NM="$(NM_FOR_TARGET)"; export NM; \
23387 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23388 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23389 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23390 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23391 case $(srcdir) in \
23392 /* | [A-Za-z]:[\\/]*) \
23393 topdir=$(srcdir) ;; \
23394 *) \
23395 case "$(TARGET_SUBDIR)" in \
23396 .) topdir="../$(srcdir)" ;; \
23397 *) topdir="../../$(srcdir)" ;; \
23398 esac ;; \
23399 esac; \
23400 if [ "$(srcdir)" = "." ] ; then \
23401 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23402 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23403 if [ -f Makefile ]; then \
23404 if $(MAKE) distclean; then \
23405 true; \
23406 else \
23407 exit 1; \
23408 fi; \
23409 else \
23410 true; \
23411 fi; \
23412 else \
23413 exit 1; \
23414 fi; \
23415 else \
23416 true; \
23417 fi; \
23418 srcdiroption="--srcdir=."; \
23419 libsrcdir="."; \
23420 else \
23421 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23422 libsrcdir="$$s/boehm-gc"; \
23423 fi; \
23424 rm -f no-such-file || : ; \
23425 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23426 $(TARGET_CONFIGARGS) $${srcdiroption} \
23427 --with-target-subdir="$(TARGET_SUBDIR)" \
23428 || exit 1
23430 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23431 maybe-all-target-boehm-gc:
23432 all-target-boehm-gc: configure-target-boehm-gc
23433 @r=`${PWD}`; export r; \
23434 s=`cd $(srcdir); ${PWD}`; export s; \
23435 $(SET_LIB_PATH) \
23436 (cd $(TARGET_SUBDIR)/boehm-gc && \
23437 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23439 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23440 maybe-check-target-boehm-gc:
23442 check-target-boehm-gc:
23443 @r=`${PWD}`; export r; \
23444 s=`cd $(srcdir); ${PWD}`; export s; \
23445 $(SET_LIB_PATH) \
23446 (cd $(TARGET_SUBDIR)/boehm-gc && \
23447 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23450 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23451 maybe-install-target-boehm-gc:
23453 install-target-boehm-gc: installdirs
23454 @r=`${PWD}`; export r; \
23455 s=`cd $(srcdir); ${PWD}`; export s; \
23456 $(SET_LIB_PATH) \
23457 (cd $(TARGET_SUBDIR)/boehm-gc && \
23458 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23461 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23462 maybe-configure-target-qthreads:
23464 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23465 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23466 @[ -d $(TARGET_SUBDIR)/qthreads ] || \
23467 mkdir $(TARGET_SUBDIR)/qthreads; \
23468 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23469 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23471 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23472 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23473 [ -d $(TARGET_SUBDIR)/qthreads ] || \
23474 mkdir $(TARGET_SUBDIR)/qthreads;\
23475 r=`${PWD}`; export r; \
23476 s=`cd $(srcdir); ${PWD}`; export s; \
23477 $(SET_LIB_PATH) \
23478 AR="$(AR_FOR_TARGET)"; export AR; \
23479 AS="$(AS_FOR_TARGET)"; export AS; \
23480 CC="$(CC_FOR_TARGET)"; export CC; \
23481 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23482 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23483 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23485 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23486 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23487 LD="$(LD_FOR_TARGET)"; export LD; \
23488 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23489 NM="$(NM_FOR_TARGET)"; export NM; \
23490 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23491 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23492 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23493 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23494 case $(srcdir) in \
23495 /* | [A-Za-z]:[\\/]*) \
23496 topdir=$(srcdir) ;; \
23497 *) \
23498 case "$(TARGET_SUBDIR)" in \
23499 .) topdir="../$(srcdir)" ;; \
23500 *) topdir="../../$(srcdir)" ;; \
23501 esac ;; \
23502 esac; \
23503 if [ "$(srcdir)" = "." ] ; then \
23504 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23505 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23506 if [ -f Makefile ]; then \
23507 if $(MAKE) distclean; then \
23508 true; \
23509 else \
23510 exit 1; \
23511 fi; \
23512 else \
23513 true; \
23514 fi; \
23515 else \
23516 exit 1; \
23517 fi; \
23518 else \
23519 true; \
23520 fi; \
23521 srcdiroption="--srcdir=."; \
23522 libsrcdir="."; \
23523 else \
23524 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23525 libsrcdir="$$s/qthreads"; \
23526 fi; \
23527 rm -f no-such-file || : ; \
23528 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23529 $(TARGET_CONFIGARGS) $${srcdiroption} \
23530 --with-target-subdir="$(TARGET_SUBDIR)" \
23531 || exit 1
23533 .PHONY: all-target-qthreads maybe-all-target-qthreads
23534 maybe-all-target-qthreads:
23535 all-target-qthreads: configure-target-qthreads
23536 @r=`${PWD}`; export r; \
23537 s=`cd $(srcdir); ${PWD}`; export s; \
23538 $(SET_LIB_PATH) \
23539 (cd $(TARGET_SUBDIR)/qthreads && \
23540 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23542 .PHONY: check-target-qthreads maybe-check-target-qthreads
23543 maybe-check-target-qthreads:
23545 check-target-qthreads:
23546 @r=`${PWD}`; export r; \
23547 s=`cd $(srcdir); ${PWD}`; export s; \
23548 $(SET_LIB_PATH) \
23549 (cd $(TARGET_SUBDIR)/qthreads && \
23550 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23553 .PHONY: install-target-qthreads maybe-install-target-qthreads
23554 maybe-install-target-qthreads:
23556 install-target-qthreads: installdirs
23557 @r=`${PWD}`; export r; \
23558 s=`cd $(srcdir); ${PWD}`; export s; \
23559 $(SET_LIB_PATH) \
23560 (cd $(TARGET_SUBDIR)/qthreads && \
23561 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23564 .PHONY: configure-target-rda maybe-configure-target-rda
23565 maybe-configure-target-rda:
23567 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23568 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23569 @[ -d $(TARGET_SUBDIR)/rda ] || \
23570 mkdir $(TARGET_SUBDIR)/rda; \
23571 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23572 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23574 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23575 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23576 [ -d $(TARGET_SUBDIR)/rda ] || \
23577 mkdir $(TARGET_SUBDIR)/rda;\
23578 r=`${PWD}`; export r; \
23579 s=`cd $(srcdir); ${PWD}`; export s; \
23580 $(SET_LIB_PATH) \
23581 AR="$(AR_FOR_TARGET)"; export AR; \
23582 AS="$(AS_FOR_TARGET)"; export AS; \
23583 CC="$(CC_FOR_TARGET)"; export CC; \
23584 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23585 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23586 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23587 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23588 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23589 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23590 LD="$(LD_FOR_TARGET)"; export LD; \
23591 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23592 NM="$(NM_FOR_TARGET)"; export NM; \
23593 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23594 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23595 echo Configuring in $(TARGET_SUBDIR)/rda; \
23596 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23597 case $(srcdir) in \
23598 /* | [A-Za-z]:[\\/]*) \
23599 topdir=$(srcdir) ;; \
23600 *) \
23601 case "$(TARGET_SUBDIR)" in \
23602 .) topdir="../$(srcdir)" ;; \
23603 *) topdir="../../$(srcdir)" ;; \
23604 esac ;; \
23605 esac; \
23606 if [ "$(srcdir)" = "." ] ; then \
23607 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23608 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
23609 if [ -f Makefile ]; then \
23610 if $(MAKE) distclean; then \
23611 true; \
23612 else \
23613 exit 1; \
23614 fi; \
23615 else \
23616 true; \
23617 fi; \
23618 else \
23619 exit 1; \
23620 fi; \
23621 else \
23622 true; \
23623 fi; \
23624 srcdiroption="--srcdir=."; \
23625 libsrcdir="."; \
23626 else \
23627 srcdiroption="--srcdir=$${topdir}/rda"; \
23628 libsrcdir="$$s/rda"; \
23629 fi; \
23630 rm -f no-such-file || : ; \
23631 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23632 $(TARGET_CONFIGARGS) $${srcdiroption} \
23633 --with-target-subdir="$(TARGET_SUBDIR)" \
23634 || exit 1
23636 .PHONY: all-target-rda maybe-all-target-rda
23637 maybe-all-target-rda:
23638 all-target-rda: configure-target-rda
23639 @r=`${PWD}`; export r; \
23640 s=`cd $(srcdir); ${PWD}`; export s; \
23641 $(SET_LIB_PATH) \
23642 (cd $(TARGET_SUBDIR)/rda && \
23643 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23645 .PHONY: check-target-rda maybe-check-target-rda
23646 maybe-check-target-rda:
23648 check-target-rda:
23649 @r=`${PWD}`; export r; \
23650 s=`cd $(srcdir); ${PWD}`; export s; \
23651 $(SET_LIB_PATH) \
23652 (cd $(TARGET_SUBDIR)/rda && \
23653 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23656 .PHONY: install-target-rda maybe-install-target-rda
23657 maybe-install-target-rda:
23659 install-target-rda: installdirs
23660 @r=`${PWD}`; export r; \
23661 s=`cd $(srcdir); ${PWD}`; export s; \
23662 $(SET_LIB_PATH) \
23663 (cd $(TARGET_SUBDIR)/rda && \
23664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23668 # ----------
23669 # GCC module
23670 # ----------
23672 # Unfortunately, while gcc _should_ be a host module,
23673 # libgcc is a target module, and gen* programs are
23674 # build modules. So GCC is a sort of hybrid.
23676 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23677 .PHONY: configure-gcc maybe-configure-gcc
23678 maybe-configure-gcc:
23679 configure-gcc:
23680 @test ! -f gcc/Makefile || exit 0; \
23681 [ -d gcc ] || mkdir gcc; \
23682 r=`${PWD}`; export r; \
23683 s=`cd $(srcdir); ${PWD}`; export s; \
23684 CC="$(CC)"; export CC; \
23685 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23686 CXX="$(CXX)"; export CXX; \
23687 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23688 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23689 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
23690 AR="$(AR)"; export AR; \
23691 AS="$(AS)"; export AS; \
23692 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23693 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23694 LD="$(LD)"; export LD; \
23695 NM="$(NM)"; export NM; \
23696 RANLIB="$(RANLIB)"; export RANLIB; \
23697 WINDRES="$(WINDRES)"; export WINDRES; \
23698 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23699 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23700 fi; \
23701 echo Configuring in gcc; \
23702 cd gcc || exit 1; \
23703 case $(srcdir) in \
23704 \.) \
23705 srcdiroption="--srcdir=."; \
23706 libsrcdir=".";; \
23707 /* | [A-Za-z]:[\\/]*) \
23708 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23709 libsrcdir="$$s/gcc";; \
23710 *) \
23711 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23712 libsrcdir="$$s/gcc";; \
23713 esac; \
23714 $(SHELL) $${libsrcdir}/configure \
23715 $(HOST_CONFIGARGS) $${srcdiroption} \
23716 || exit 1
23718 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23719 # causes trouble. This wart will be fixed eventually by moving
23720 # the bootstrap behavior to this file.
23721 .PHONY: all-gcc maybe-all-gcc
23722 maybe-all-gcc:
23723 all-gcc: configure-gcc
23724 @if [ -f gcc/stage_last ] ; then \
23725 r=`${PWD}`; export r; \
23726 s=`cd $(srcdir); ${PWD}`; export s; \
23727 $(SET_LIB_PATH) \
23728 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23729 else \
23730 r=`${PWD}`; export r; \
23731 s=`cd $(srcdir); ${PWD}`; export s; \
23732 $(SET_LIB_PATH) \
23733 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23736 # Building GCC uses some tools for rebuilding "source" files
23737 # like texinfo, bison/byacc, etc. So we must depend on those.
23739 # While building GCC, it may be necessary to run various target
23740 # programs like the assembler, linker, etc. So we depend on
23741 # those too.
23743 # In theory, on an SMP all those dependencies can be resolved
23744 # in parallel.
23746 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23747 .PHONY: $(GCC_STRAP_TARGETS)
23748 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23749 @r=`${PWD}`; export r; \
23750 s=`cd $(srcdir); ${PWD}`; export s; \
23751 $(SET_LIB_PATH) \
23752 echo "Bootstrapping the compiler"; \
23753 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23754 @r=`${PWD}`; export r; \
23755 s=`cd $(srcdir); ${PWD}`; export s; \
23756 case "$@" in \
23757 *bootstrap4-lean ) \
23758 msg="Comparing stage3 and stage4 of the compiler"; \
23759 compare=compare3-lean ;; \
23760 *bootstrap4 ) \
23761 msg="Comparing stage3 and stage4 of the compiler"; \
23762 compare=compare3 ;; \
23763 *-lean ) \
23764 msg="Comparing stage2 and stage3 of the compiler"; \
23765 compare=compare-lean ;; \
23766 * ) \
23767 msg="Comparing stage2 and stage3 of the compiler"; \
23768 compare=compare ;; \
23769 esac; \
23770 $(SET_LIB_PATH) \
23771 echo "$$msg"; \
23772 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23773 @r=`${PWD}`; export r; \
23774 s=`cd $(srcdir); ${PWD}` ; export s; \
23775 $(SET_LIB_PATH) \
23776 echo "Building runtime libraries"; \
23777 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23779 profiledbootstrap: all-bootstrap configure-gcc
23780 @r=`${PWD}`; export r; \
23781 s=`cd $(srcdir); ${PWD}`; export s; \
23782 $(SET_LIB_PATH) \
23783 echo "Bootstrapping the compiler"; \
23784 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23785 @r=`${PWD}`; export r; \
23786 s=`cd $(srcdir); ${PWD}` ; export s; \
23787 $(SET_LIB_PATH) \
23788 echo "Building runtime libraries and training compiler"; \
23789 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23790 @r=`${PWD}`; export r; \
23791 s=`cd $(srcdir); ${PWD}`; export s; \
23792 $(SET_LIB_PATH) \
23793 echo "Building feedback based compiler"; \
23794 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23796 .PHONY: cross
23797 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23798 @r=`${PWD}`; export r; \
23799 s=`cd $(srcdir); ${PWD}`; export s; \
23800 $(SET_LIB_PATH) \
23801 echo "Building the C and C++ compiler"; \
23802 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23803 @r=`${PWD}`; export r; \
23804 s=`cd $(srcdir); ${PWD}` ; export s; \
23805 $(SET_LIB_PATH) \
23806 echo "Building runtime libraries"; \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23808 LANGUAGES="c c++" all
23810 .PHONY: check-gcc maybe-check-gcc
23811 maybe-check-gcc:
23812 check-gcc:
23813 @if [ -f ./gcc/Makefile ] ; then \
23814 r=`${PWD}`; export r; \
23815 s=`cd $(srcdir); ${PWD}`; export s; \
23816 $(SET_LIB_PATH) \
23817 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23818 else \
23819 true; \
23822 .PHONY: check-gcc-c++
23823 check-gcc-c++:
23824 @if [ -f ./gcc/Makefile ] ; then \
23825 r=`${PWD}`; export r; \
23826 s=`cd $(srcdir); ${PWD}`; export s; \
23827 $(SET_LIB_PATH) \
23828 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23829 else \
23830 true; \
23833 .PHONY: check-c++
23834 check-c++:
23835 $(MAKE) check-target-libstdc++-v3 check-gcc-c++ NOTPARALLEL=parallel-ok
23837 .PHONY: install-gcc maybe-install-gcc
23838 maybe-install-gcc:
23839 install-gcc:
23840 @if [ -f ./gcc/Makefile ] ; then \
23841 r=`${PWD}`; export r; \
23842 s=`cd $(srcdir); ${PWD}`; export s; \
23843 $(SET_LIB_PATH) \
23844 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23845 else \
23846 true; \
23849 # Install the gcc headers files, but not the fixed include files,
23850 # which Cygnus is not allowed to distribute. This rule is very
23851 # dependent on the workings of the gcc Makefile.in.
23852 .PHONY: gcc-no-fixedincludes
23853 gcc-no-fixedincludes:
23854 @if [ -f ./gcc/Makefile ]; then \
23855 rm -rf gcc/tmp-include; \
23856 mv gcc/include gcc/tmp-include 2>/dev/null; \
23857 mkdir gcc/include; \
23858 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23859 touch gcc/stmp-fixinc gcc/include/fixed; \
23860 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23861 r=`${PWD}`; export r; \
23862 s=`cd $(srcdir); ${PWD}` ; export s; \
23863 $(SET_LIB_PATH) \
23864 (cd ./gcc && \
23865 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23866 rm -rf gcc/include; \
23867 mv gcc/tmp-include gcc/include 2>/dev/null; \
23868 else true; fi
23870 # --------------------------------------
23871 # Dependencies between different modules
23872 # --------------------------------------
23874 # There are two types of dependencies here: 'hard' dependencies, where one
23875 # module simply won't build without the other; and 'soft' dependencies, where
23876 # if the depended-on module is missing, the depending module will do without
23877 # or find a substitute somewhere (perhaps installed). Soft dependencies
23878 # are specified by depending on a 'maybe-' target. If you're not sure,
23879 # it's safer to use a soft dependency.
23881 # Host modules specific to gcc.
23882 # GCC needs to identify certain tools.
23883 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
23884 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23885 # This is a slightly kludgy method of getting dependencies on
23886 # all-build-libiberty correct; it would be better to build it every time.
23887 all-gcc: maybe-all-build-libiberty
23888 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
23890 # Host modules specific to gdb.
23891 # GDB needs to know that the simulator is being built.
23892 configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
23893 GDB_TK = @GDB_TK@
23894 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)
23895 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
23896 configure-libgui: maybe-configure-tcl maybe-configure-tk
23897 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
23899 # Host modules specific to binutils.
23900 configure-bfd: configure-libiberty
23901 all-bfd: maybe-all-libiberty maybe-all-intl
23902 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
23903 # We put install-opcodes before install-binutils because the installed
23904 # binutils might be on PATH, and they might need the shared opcodes
23905 # library.
23906 install-binutils: maybe-install-opcodes
23907 # libopcodes depends on libbfd
23908 install-opcodes: maybe-install-bfd
23909 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23910 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23911 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23912 all-opcodes: maybe-all-bfd maybe-all-libiberty
23914 # Other host modules in the 'src' repository.
23915 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
23916 configure-expect: maybe-configure-tcl maybe-configure-tk
23917 all-expect: maybe-all-tcl maybe-all-tk
23918 configure-itcl: maybe-configure-tcl maybe-configure-tk
23919 all-itcl: maybe-all-tcl maybe-all-tk
23920 # We put install-tcl before install-itcl because itcl wants to run a
23921 # program on installation which uses the Tcl libraries.
23922 install-itcl: maybe-install-tcl
23923 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
23924 install-sid: maybe-install-tcl maybe-install-tk
23925 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23926 configure-tk: maybe-configure-tcl
23927 all-tk: maybe-all-tcl
23928 configure-tix: maybe-configure-tcl maybe-configure-tk
23929 all-tix: maybe-all-tcl maybe-all-tk
23930 all-texinfo: maybe-all-libiberty
23932 # Other host modules. Warning, these are not well tested.
23933 all-autoconf: maybe-all-m4 maybe-all-texinfo
23934 all-automake: maybe-all-m4 maybe-all-texinfo
23935 all-bison: maybe-all-texinfo
23936 all-diff: maybe-all-libiberty
23937 all-fastjar: maybe-all-zlib maybe-all-libiberty
23938 all-fileutils: maybe-all-libiberty
23939 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
23940 all-gzip: maybe-all-libiberty
23941 all-hello: maybe-all-libiberty
23942 all-m4: maybe-all-libiberty maybe-all-texinfo
23943 all-make: maybe-all-libiberty
23944 all-patch: maybe-all-libiberty
23945 all-prms: maybe-all-libiberty
23946 all-recode: maybe-all-libiberty
23947 all-sed: maybe-all-libiberty
23948 all-send-pr: maybe-all-prms
23949 all-tar: maybe-all-libiberty
23950 all-uudecode: maybe-all-libiberty
23952 ALL_GCC = maybe-all-gcc
23953 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
23954 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
23956 # Target modules specific to gcc.
23957 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
23958 configure-target-fastjar: maybe-configure-target-zlib
23959 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
23960 configure-target-libf2c: $(ALL_GCC_C)
23961 all-target-libf2c: maybe-all-target-libiberty
23962 configure-target-libffi: $(ALL_GCC_C)
23963 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
23964 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
23965 configure-target-libobjc: $(ALL_GCC_C)
23966 all-target-libobjc: maybe-all-target-libiberty
23967 configure-target-libstdc++-v3: $(ALL_GCC_C)
23968 all-target-libstdc++-v3: maybe-all-target-libiberty
23969 configure-target-zlib: $(ALL_GCC_C)
23971 # Target modules in the 'src' repository.
23972 configure-target-examples: $(ALL_GCC_C)
23973 configure-target-libgloss: $(ALL_GCC)
23974 all-target-libgloss: maybe-configure-target-newlib
23975 configure-target-libiberty: $(ALL_GCC)
23976 configure-target-libtermcap: $(ALL_GCC_C)
23977 configure-target-newlib: $(ALL_GCC)
23978 configure-target-rda: $(ALL_GCC_C)
23979 configure-target-winsup: $(ALL_GCC_C)
23980 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
23982 # Other target modules. Warning, these are not well tested.
23983 configure-target-gperf: $(ALL_GCC_CXX)
23984 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
23985 configure-target-qthreads: $(ALL_GCC_C)
23987 # Dependencies of maybe-foo on foo. These are used because, for example,
23988 # all-gcc only depends on all-gas if gas is present and being configured.
23989 @maybe_dependencies@
23991 # Serialization dependencies. Host configures don't work well in parallel to
23992 # each other, due to contention over config.cache. Target configures and
23993 # build configures are similar.
23994 @serialization_dependencies@
23996 # --------------------------------
23997 # Regenerating top level configury
23998 # --------------------------------
24000 # Multilib.out tells target dirs what multilibs they should build.
24001 # There is really only one copy. We use the 'timestamp' method to
24002 # work around various timestamp bugs on some systems.
24003 # We use move-if-change so that it's only considered updated when it
24004 # actually changes, because it has to depend on a phony target.
24005 multilib.out: maybe-all-gcc
24006 @r=`${PWD}`; export r; \
24007 echo "Checking multilib configuration..."; \
24008 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
24009 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
24011 # Rebuilding Makefile.in, using autogen.
24012 AUTOGEN = autogen
24013 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
24014 cd $(srcdir) && $(AUTOGEN) Makefile.def
24016 # Rebuilding Makefile.
24017 Makefile: $(srcdir)/Makefile.in config.status
24018 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
24020 config.status: configure $(gcc_version_trigger)
24021 $(SHELL) ./config.status --recheck
24023 # Rebuilding configure.
24024 AUTOCONF = autoconf
24025 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
24026 cd $(srcdir) && $(AUTOCONF)
24028 # ------------------------------
24029 # Special directives to GNU Make
24030 # ------------------------------
24032 # Tell GNU make 3.79 not to run the top level in parallel. This
24033 # prevents contention for $builddir/$target/config.cache, as well
24034 # as minimizing scatter in file system caches.
24035 NOTPARALLEL = .NOTPARALLEL
24036 $(NOTPARALLEL):
24038 # Don't pass command-line variables to submakes.
24039 .NOEXPORT:
24040 MAKEOVERRIDES=
24042 # end of Makefile.in