]> gcc.gnu.org Git - gcc.git/blame - Makefile.in
URLEncoder.java (encode(String)): Use platform default encoding.
[gcc.git] / Makefile.in
CommitLineData
95ddd785
NN
1
2# Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
6599da04
JM
3#
4# Makefile for directory with subdirs to build.
6e2a4843 5# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
61b56b2e 6# 1999, 2000, 2001, 2002, 2003 Free Software Foundation
6599da04
JM
7#
8# This file is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21#
22
df0f0674
NN
23# -------------------------------
24# Standard Autoconf-set variables
25# -------------------------------
4977bab6 26VPATH=@srcdir@
4977bab6
ZW
27
28build_alias=@build_alias@
e89fbdfe 29build=@build@
4977bab6 30host_alias=@host_alias@
e89fbdfe 31host=@host@
4977bab6 32target_alias=@target_alias@
e89fbdfe 33target=@target@
4977bab6 34
df0f0674 35program_transform_name = @program_transform_name@
0dffceed
NN
36
37prefix = @prefix@
38exec_prefix = @exec_prefix@
39
df0f0674
NN
40srcdir = @srcdir@
41
0dffceed
NN
42bindir = @bindir@
43sbindir = @sbindir@
44libexecdir = @libexecdir@
45datadir = @datadir@
46sysconfdir = @sysconfdir@
47sharedstatedir = @sharedstatedir@
48localstatedir = @localstatedir@
49libdir = @libdir@
50includedir = @includedir@
51oldincludedir = @oldincludedir@
52infodir = @infodir@
53mandir = @mandir@
6599da04
JM
54man1dir = $(mandir)/man1
55man2dir = $(mandir)/man2
56man3dir = $(mandir)/man3
57man4dir = $(mandir)/man4
58man5dir = $(mandir)/man5
59man6dir = $(mandir)/man6
60man7dir = $(mandir)/man7
61man8dir = $(mandir)/man8
62man9dir = $(mandir)/man9
1e6347d8 63
775956d0
NN
64INSTALL = @INSTALL@
65INSTALL_PROGRAM = @INSTALL_PROGRAM@
66INSTALL_SCRIPT = @INSTALL_SCRIPT@
67INSTALL_DATA = @INSTALL_DATA@
6599da04 68
df0f0674
NN
69# -------------------------------------------------
70# Miscellaneous non-standard autoconf-set variables
71# -------------------------------------------------
6599da04 72
df0f0674 73links=@configlinks@
df0f0674
NN
74# The file containing GCC's version number.
75gcc_version_trigger = @gcc_version_trigger@
76gcc_version = @gcc_version@
6599da04 77
df0f0674
NN
78# The gcc driver likes to know the arguments it was configured with.
79TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
6599da04 80
df0f0674
NN
81gxx_include_dir = @gxx_include_dir@
82libstdcxx_incdir = @libstdcxx_incdir@
6599da04 83
df0f0674
NN
84tooldir = @tooldir@
85build_tooldir = @build_tooldir@
6599da04 86
df0f0674
NN
87# Directory in which the compiler finds executables, libraries, etc.
88libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
89GDB_NLM_DEPS =
6599da04 90
df0f0674
NN
91# This is the name of the environment variable used for the path to
92# the libraries.
93RPATH_ENVVAR = @RPATH_ENVVAR@
6599da04 94
df0f0674
NN
95# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
96# was used.
97SET_LIB_PATH = @SET_LIB_PATH@
6599da04 98
df0f0674
NN
99# configure.in sets SET_LIB_PATH to this if --enable-shared was used.
100# Some platforms don't like blank entries, so we remove duplicate,
101# leading and trailing colons.
102REALLY_SET_LIB_PATH = \
103 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
6599da04 104
df0f0674
NN
105# This is the list of directories to be built for the build system.
106BUILD_CONFIGDIRS = libiberty
107# Build programs are put under this directory.
108BUILD_SUBDIR = @build_subdir@
109# This is set by the configure script to the arguments to use when configuring
110# directories built for the build system.
111BUILD_CONFIGARGS = @build_configargs@
112
113# This is the list of directories to built for the host system.
114SUBDIRS = @configdirs@
115# This is set by the configure script to the arguments to use when configuring
116# directories built for the host system.
117HOST_CONFIGARGS = @host_configargs@
118
119# This is set by the configure script to the list of directories which
120# should be built using the target tools.
121TARGET_CONFIGDIRS = @target_configdirs@
122# Target libraries are put under this directory:
123TARGET_SUBDIR = @target_subdir@
124# This is set by the configure script to the arguments to use when configuring
125# directories built for the target.
126TARGET_CONFIGARGS = @target_configargs@
127
128# ----------------------------------------------
129# Programs producing files for the BUILD machine
130# ----------------------------------------------
131
132SHELL = @config_shell@
133
134# pwd command to use. Allow user to override default by setting PWDCMD in
135# the environment to account for automounters. The make variable must not
136# be called PWDCMD, otherwise the value set here is passed to make
137# subprocesses and overrides the setting from the user's environment.
8c90b13a
L
138# Don't use PWD since it is a common shell environment variable and we
139# don't want to corrupt it.
140PWD_COMMAND = $${PWDCMD-pwd}
df0f0674
NN
141
142# compilers to use to create programs which must be run in the build
143# environment.
144CC_FOR_BUILD = @CC_FOR_BUILD@
145CFLAGS_FOR_BUILD = $(CFLAGS)
146
147CXX_FOR_BUILD = $(CXX)
148
149# Special variables passed down in EXTRA_GCC_FLAGS. They are defined
150# here so that they can be overridden by Makefile fragments.
df0f0674
NN
151BUILD_PREFIX = @BUILD_PREFIX@
152BUILD_PREFIX_1 = @BUILD_PREFIX_1@
6599da04 153
4977bab6
ZW
154BISON=@BISON@
155USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
6599da04
JM
156 echo $$r/bison/bison -L $$s/bison/ ; \
157 else \
158 echo bison ; \
159 fi`
160
df0f0674 161DEFAULT_YACC = @DEFAULT_YACC@
4977bab6
ZW
162YACC=@YACC@
163USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
6599da04
JM
164 echo $$r/bison/bison -y -L $$s/bison/ ; \
165 elif [ -f $$r/byacc/byacc ] ; then \
166 echo $$r/byacc/byacc ; \
167 else \
168 echo ${DEFAULT_YACC} ; \
169 fi`
170
df0f0674 171DEFAULT_LEX = @DEFAULT_LEX@
4977bab6
ZW
172LEX=@LEX@
173USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
6599da04
JM
174 then echo $$r/flex/flex ; \
175 else echo ${DEFAULT_LEX} ; fi`
176
df0f0674 177DEFAULT_M4 = @DEFAULT_M4@
6599da04
JM
178M4 = `if [ -f $$r/m4/m4 ] ; \
179 then echo $$r/m4/m4 ; \
3a35dcc4 180 else echo ${DEFAULT_M4} ; fi`
6599da04 181
de722255 182# For an installed makeinfo, we require it to be from texinfo 4.2 or
53cdb27a 183# higher, else we use the "missing" dummy.
4977bab6
ZW
184MAKEINFO=@MAKEINFO@
185USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
6599da04 186 then echo $$r/texinfo/makeinfo/makeinfo ; \
53cdb27a 187 else if (makeinfo --version \
de722255 188 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
53cdb27a 189 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
6599da04
JM
190
191# This just becomes part of the MAKEINFO definition passed down to
192# sub-makes. It lets flags be given on the command line while still
193# using the makeinfo from the object tree.
2f50999f
GP
194# (Default to avoid splitting info files by setting the threshold high.)
195MAKEINFOFLAGS = --split-size=5000000
6599da04
JM
196
197EXPECT = `if [ -f $$r/expect/expect ] ; \
198 then echo $$r/expect/expect ; \
199 else echo expect ; fi`
200
201RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
202 then echo $$s/dejagnu/runtest ; \
203 else echo runtest ; fi`
204
df0f0674
NN
205# ---------------------------------------------
206# Programs producing files for the HOST machine
207# ---------------------------------------------
6599da04 208
df0f0674
NN
209# This is the list of directories that may be needed in RPATH_ENVVAR
210# so that programs built for the host machine work.
211HOST_LIB_PATH = $$r/bfd:$$r/opcodes
6599da04 212
df0f0674 213AS = @AS@
6599da04 214
df0f0674
NN
215AR = @AR@
216AR_FLAGS = rc
6599da04 217
df0f0674
NN
218CC = @CC@
219CFLAGS = @CFLAGS@
220LIBCFLAGS = $(CFLAGS)
6599da04 221
df0f0674
NN
222CXX = @CXX@
223CXXFLAGS = @CXXFLAGS@
224LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
e490616e 225
df0f0674 226DLLTOOL = @DLLTOOL@
6599da04 227
df0f0674 228NM = @NM@
4977bab6 229
df0f0674
NN
230LD = @LD@
231LDFLAGS =
4977bab6 232
df0f0674 233RANLIB = @RANLIB@
6599da04 234
df0f0674 235WINDRES = @WINDRES@
6599da04 236
df0f0674
NN
237PICFLAG =
238
239# -----------------------------------------------
240# Programs producing files for the TARGET machine
241# -----------------------------------------------
ce8e06b1
AO
242
243# This is the list of directories that may be needed in RPATH_ENVVAR
244# so that prorgams built for the target machine work.
4d88a68a 245TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
ce8e06b1 246
ec0461f6 247FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
6599da04 248
df0f0674
NN
249AR_FOR_TARGET=@AR_FOR_TARGET@
250USUAL_AR_FOR_TARGET = ` \
251 if [ -f $$r/binutils/ar ] ; then \
252 echo $$r/binutils/ar ; \
253 else \
e89fbdfe 254 if [ '$(host)' = '$(target)' ] ; then \
df0f0674
NN
255 echo $(AR); \
256 else \
257 echo ar | sed '$(program_transform_name)' ; \
258 fi; \
259 fi`
6599da04 260
4977bab6
ZW
261AS_FOR_TARGET=@AS_FOR_TARGET@
262USUAL_AS_FOR_TARGET = ` \
6599da04
JM
263 if [ -f $$r/gas/as-new ] ; then \
264 echo $$r/gas/as-new ; \
e9a8af10
AO
265 elif [ -f $$r/gcc/xgcc ]; then \
266 $(CC_FOR_TARGET) -print-prog-name=as ; \
6599da04 267 else \
e89fbdfe 268 if [ '$(host)' = '$(target)' ] ; then \
6599da04
JM
269 echo $(AS); \
270 else \
e245b0ea 271 echo as | sed '$(program_transform_name)' ; \
6599da04
JM
272 fi; \
273 fi`
274
df0f0674
NN
275CC_FOR_TARGET = @CC_FOR_TARGET@
276# During gcc bootstrap, if we use some random cc for stage1 then
277# CFLAGS will be just -g. We want to ensure that TARGET libraries
278# (which we know are built with gcc) are built with optimizations so
279# prepend -O2 when setting CFLAGS_FOR_TARGET.
280CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
281# If GCC_FOR_TARGET is not overriden on the command line, then this
282# variable is passed down to the gcc Makefile, where it is used to
283# build libgcc2.a. We define it here so that it can itself be
284# overridden on the command line.
285GCC_FOR_TARGET=@GCC_FOR_TARGET@
286USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
287LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
288
289CXX_FOR_TARGET = @CXX_FOR_TARGET@
290RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
291CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
292RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
293CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
294LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
6599da04 295
4977bab6
ZW
296DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
297USUAL_DLLTOOL_FOR_TARGET = ` \
6599da04
JM
298 if [ -f $$r/binutils/dlltool ] ; then \
299 echo $$r/binutils/dlltool ; \
300 else \
e89fbdfe 301 if [ '$(host)' = '$(target)' ] ; then \
6599da04
JM
302 echo $(DLLTOOL); \
303 else \
e245b0ea 304 echo dlltool | sed '$(program_transform_name)' ; \
6599da04
JM
305 fi; \
306 fi`
307
df0f0674
NN
308GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
309
310LD_FOR_TARGET=@LD_FOR_TARGET@
311USUAL_LD_FOR_TARGET = ` \
312 if [ -f $$r/ld/ld-new ] ; then \
313 echo $$r/ld/ld-new ; \
314 elif [ -f $$r/gcc/xgcc ]; then \
315 $(CC_FOR_TARGET) -print-prog-name=ld ; \
6599da04 316 else \
e89fbdfe 317 if [ '$(host)' = '$(target)' ] ; then \
df0f0674 318 echo $(LD); \
6599da04 319 else \
df0f0674 320 echo ld | sed '$(program_transform_name)' ; \
6599da04
JM
321 fi; \
322 fi`
323
df0f0674
NN
324LDFLAGS_FOR_TARGET =
325
326NM_FOR_TARGET=@NM_FOR_TARGET@
327USUAL_NM_FOR_TARGET = ` \
328 if [ -f $$r/binutils/nm-new ] ; then \
329 echo $$r/binutils/nm-new ; \
330 elif [ -f $$r/gcc/xgcc ]; then \
331 $(CC_FOR_TARGET) -print-prog-name=nm ; \
6599da04 332 else \
e89fbdfe 333 if [ '$(host)' = '$(target)' ] ; then \
df0f0674 334 echo $(NM); \
6599da04 335 else \
df0f0674 336 echo nm | sed '$(program_transform_name)' ; \
6599da04
JM
337 fi; \
338 fi`
339
4977bab6
ZW
340RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
341USUAL_RANLIB_FOR_TARGET = ` \
6599da04
JM
342 if [ -f $$r/binutils/ranlib ] ; then \
343 echo $$r/binutils/ranlib ; \
344 else \
e89fbdfe 345 if [ '$(host)' = '$(target)' ] ; then \
759bfa90 346 if [ x'$(RANLIB)' != x ]; then \
6822468a
LB
347 echo $(RANLIB); \
348 else \
349 echo ranlib; \
350 fi; \
6599da04 351 else \
e245b0ea 352 echo ranlib | sed '$(program_transform_name)' ; \
6599da04
JM
353 fi; \
354 fi`
355
df0f0674
NN
356WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
357USUAL_WINDRES_FOR_TARGET = ` \
358 if [ -f $$r/binutils/windres ] ; then \
359 echo $$r/binutils/windres ; \
6599da04 360 else \
e89fbdfe 361 if [ '$(host)' = '$(target)' ] ; then \
df0f0674 362 echo $(WINDRES); \
6599da04 363 else \
df0f0674 364 echo windres | sed '$(program_transform_name)' ; \
6599da04
JM
365 fi; \
366 fi`
367
df0f0674
NN
368PICFLAG_FOR_TARGET =
369
370# ------------------------------------
371# Miscellaneous targets and flag lists
372# ------------------------------------
373
5d4a5ee6
JL
374# The first rule in the file had better be this one. Don't put any above it.
375# This lives here to allow makefile fragments to contain dependencies.
376all: all.normal
377.PHONY: all
378
6599da04 379#### host and target specific makefile fragments come in here.
671aa708
NN
380@target_makefile_frag@
381@alphaieee_frag@
382@ospace_frag@
383@host_makefile_frag@
6599da04
JM
384###
385
386# Flags to pass down to all sub-makes.
6599da04 387BASE_FLAGS_TO_PASS = \
3fbe8e4a 388 "DESTDIR=$(DESTDIR)" \
5d4a5ee6 389 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
81241b5e 390 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
5d4a5ee6
JL
391 "bindir=$(bindir)" \
392 "datadir=$(datadir)" \
6599da04 393 "exec_prefix=$(exec_prefix)" \
5d4a5ee6
JL
394 "includedir=$(includedir)" \
395 "infodir=$(infodir)" \
396 "libdir=$(libdir)" \
397 "libexecdir=$(libexecdir)" \
398 "lispdir=$(lispdir)" \
cc330df9
BK
399 "libstdcxx_incdir=$(libstdcxx_incdir)" \
400 "libsubdir=$(libsubdir)" \
5d4a5ee6
JL
401 "localstatedir=$(localstatedir)" \
402 "mandir=$(mandir)" \
403 "oldincludedir=$(oldincludedir)" \
6599da04 404 "prefix=$(prefix)" \
5d4a5ee6
JL
405 "sbindir=$(sbindir)" \
406 "sharedstatedir=$(sharedstatedir)" \
407 "sysconfdir=$(sysconfdir)" \
d0a8352c 408 "tooldir=$(tooldir)" \
5cb95c7a 409 "build_tooldir=$(build_tooldir)" \
fe2fa3c4
MH
410 "gxx_include_dir=$(gxx_include_dir)" \
411 "gcc_version=$(gcc_version)" \
6dd27861 412 "gcc_version_trigger=$(gcc_version_trigger)" \
11405c93
NN
413 "target_alias=$(target_alias)" \
414 "BISON=$(BISON)" \
415 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
416 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
417 "EXPECT=$(EXPECT)" \
418 "INSTALL=$(INSTALL)" \
419 "INSTALL_DATA=$(INSTALL_DATA)" \
420 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
421 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
422 "LEX=$(LEX)" \
423 "M4=$(M4)" \
424 "MAKE=$(MAKE)" \
425 "RUNTEST=$(RUNTEST)" \
426 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
427 "SHELL=$(SHELL)" \
428 "YACC=$(YACC)" \
429 "AR_FLAGS=$(AR_FLAGS)" \
430 "CFLAGS=$(CFLAGS)" \
431 "CXXFLAGS=$(CXXFLAGS)" \
432 "LDFLAGS=$(LDFLAGS)" \
433 "LIBCFLAGS=$(LIBCFLAGS)" \
434 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
435 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
436 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
437 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
438 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
439 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
440 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
441 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
442 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
443 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
444 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
445 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
446 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
447 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
448 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
449 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
6599da04 450
a3406c06
AO
451# For any flags above that may contain shell code that varies from one
452# target library to another. When doing recursive invocations of the
453# top-level Makefile, we don't want the outer make to evaluate them,
454# so we pass these variables down unchanged. They must not contain
455# single nor double quotes.
456RECURSE_FLAGS = \
4977bab6
ZW
457 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
458 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
a3406c06 459
6599da04
JM
460# Flags to pass down to most sub-makes, in which we're building with
461# the host environment.
6599da04
JM
462EXTRA_HOST_FLAGS = \
463 'AR=$(AR)' \
464 'AS=$(AS)' \
465 'CC=$(CC)' \
466 'CXX=$(CXX)' \
467 'DLLTOOL=$(DLLTOOL)' \
468 'LD=$(LD)' \
469 'NM=$(NM)' \
c858bf1e 470 'RANLIB=$(RANLIB)' \
6599da04
JM
471 'WINDRES=$(WINDRES)'
472
473FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
474
475# Flags that are concerned with the location of the X11 include files
476# and library files
477#
478# NOTE: until the top-level is getting the values via autoconf, it only
479# causes problems to have this top-level Makefile overriding the autoconf-set
480# values in child directories. Only variables that don't conflict with
481# autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
482#
483X11_FLAGS_TO_PASS = \
484 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
485 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
486
487# Flags to pass down to makes which are built with the target environment.
488# The double $ decreases the length of the command line; the variables
489# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
6599da04
JM
490EXTRA_TARGET_FLAGS = \
491 'AR=$$(AR_FOR_TARGET)' \
492 'AS=$$(AS_FOR_TARGET)' \
493 'CC=$$(CC_FOR_TARGET)' \
494 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
495 'CXX=$$(CXX_FOR_TARGET)' \
496 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
497 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
498 'LD=$$(LD_FOR_TARGET)' \
499 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
500 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
501 'NM=$$(NM_FOR_TARGET)' \
0c055e34 502 'RANLIB=$$(RANLIB_FOR_TARGET)' \
6599da04
JM
503 'WINDRES=$$(WINDRES_FOR_TARGET)'
504
505TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
506
507# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
508# unfortunately needs the native compiler and the target ar and
509# ranlib.
510# If any variables are added here, they must be added to do-*, below.
1358ccea 511# The BUILD_* variables are a special case, which are used for the gcc
6599da04
JM
512# cross-building scheme.
513EXTRA_GCC_FLAGS = \
ecd62820 514 'AR=$(AR)' \
6599da04
JM
515 'AS=$(AS)' \
516 'CC=$(CC)' \
517 'CXX=$(CXX)' \
518 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
efe1f357
NN
519 'BUILD_PREFIX=$(BUILD_PREFIX)' \
520 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
6599da04 521 'NM=$(NM)' \
c858bf1e 522 'RANLIB=$(RANLIB)' \
6599da04
JM
523 'WINDRES=$$(WINDRES_FOR_TARGET)' \
524 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
d920e825 525 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
5d4a5ee6
JL
526 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
527 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
528 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
5d4a5ee6
JL
529 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
530 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
531 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
532 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
78faa32d 533 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
5d4a5ee6 534 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
6599da04
JM
535
536GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
537
8b87bb96
NN
538.PHONY: configure-host
539configure-host: maybe-configure-gcc \
540 maybe-configure-ash \
541 maybe-configure-autoconf \
542 maybe-configure-automake \
543 maybe-configure-bash \
544 maybe-configure-bfd \
545 maybe-configure-opcodes \
546 maybe-configure-binutils \
547 maybe-configure-bison \
548 maybe-configure-byacc \
549 maybe-configure-bzip2 \
550 maybe-configure-dejagnu \
551 maybe-configure-diff \
552 maybe-configure-dosutils \
553 maybe-configure-etc \
554 maybe-configure-fastjar \
555 maybe-configure-fileutils \
556 maybe-configure-findutils \
557 maybe-configure-find \
558 maybe-configure-flex \
559 maybe-configure-gas \
560 maybe-configure-gawk \
561 maybe-configure-gettext \
562 maybe-configure-gnuserv \
563 maybe-configure-gprof \
564 maybe-configure-gzip \
565 maybe-configure-hello \
566 maybe-configure-indent \
567 maybe-configure-intl \
568 maybe-configure-tcl \
569 maybe-configure-itcl \
570 maybe-configure-ld \
571 maybe-configure-libgui \
572 maybe-configure-libiberty \
573 maybe-configure-libtool \
574 maybe-configure-m4 \
575 maybe-configure-make \
576 maybe-configure-mmalloc \
577 maybe-configure-patch \
578 maybe-configure-perl \
579 maybe-configure-prms \
580 maybe-configure-rcs \
581 maybe-configure-readline \
582 maybe-configure-release \
583 maybe-configure-recode \
584 maybe-configure-sed \
585 maybe-configure-send-pr \
586 maybe-configure-shellutils \
587 maybe-configure-sid \
588 maybe-configure-sim \
589 maybe-configure-tar \
590 maybe-configure-texinfo \
591 maybe-configure-textutils \
592 maybe-configure-time \
593 maybe-configure-uudecode \
594 maybe-configure-wdiff \
595 maybe-configure-zip \
596 maybe-configure-zlib \
597 maybe-configure-gdb \
598 maybe-configure-expect \
599 maybe-configure-guile \
600 maybe-configure-tk \
601 maybe-configure-tix \
602 maybe-configure-libtermcap \
603 maybe-configure-utils
604.PHONY: configure-target
605configure-target: \
606 maybe-configure-target-libstdc++-v3 \
607 maybe-configure-target-newlib \
608 maybe-configure-target-libf2c \
609 maybe-configure-target-libobjc \
610 maybe-configure-target-libtermcap \
611 maybe-configure-target-winsup \
612 maybe-configure-target-libgloss \
613 maybe-configure-target-libiberty \
614 maybe-configure-target-gperf \
615 maybe-configure-target-examples \
616 maybe-configure-target-libffi \
617 maybe-configure-target-libjava \
618 maybe-configure-target-zlib \
619 maybe-configure-target-boehm-gc \
620 maybe-configure-target-qthreads \
621 maybe-configure-target-rda
6599da04 622
6599da04
JM
623# The target built for a native build.
624.PHONY: all.normal
8b87bb96
NN
625all.normal: @all_build_modules@ all-host all-target
626
627.PHONY: all-host
628all-host: maybe-all-gcc \
629 maybe-all-ash \
630 maybe-all-autoconf \
631 maybe-all-automake \
632 maybe-all-bash \
633 maybe-all-bfd \
634 maybe-all-opcodes \
635 maybe-all-binutils \
636 maybe-all-bison \
637 maybe-all-byacc \
638 maybe-all-bzip2 \
639 maybe-all-dejagnu \
640 maybe-all-diff \
641 maybe-all-dosutils \
642 maybe-all-etc \
643 maybe-all-fastjar \
644 maybe-all-fileutils \
645 maybe-all-findutils \
646 maybe-all-find \
647 maybe-all-flex \
648 maybe-all-gas \
649 maybe-all-gawk \
650 maybe-all-gettext \
651 maybe-all-gnuserv \
652 maybe-all-gprof \
653 maybe-all-gzip \
654 maybe-all-hello \
655 maybe-all-indent \
656 maybe-all-intl \
657 maybe-all-tcl \
658 maybe-all-itcl \
659 maybe-all-ld \
660 maybe-all-libgui \
661 maybe-all-libiberty \
662 maybe-all-libtool \
663 maybe-all-m4 \
664 maybe-all-make \
665 maybe-all-mmalloc \
666 maybe-all-patch \
667 maybe-all-perl \
668 maybe-all-prms \
669 maybe-all-rcs \
670 maybe-all-readline \
671 maybe-all-release \
672 maybe-all-recode \
673 maybe-all-sed \
674 maybe-all-send-pr \
675 maybe-all-shellutils \
676 maybe-all-sid \
677 maybe-all-sim \
678 maybe-all-tar \
679 maybe-all-texinfo \
680 maybe-all-textutils \
681 maybe-all-time \
682 maybe-all-uudecode \
683 maybe-all-wdiff \
684 maybe-all-zip \
685 maybe-all-zlib \
686 maybe-all-gdb \
687 maybe-all-expect \
688 maybe-all-guile \
689 maybe-all-tk \
690 maybe-all-tix \
691 maybe-all-libtermcap \
692 maybe-all-utils
693.PHONY: all-target
694all-target: \
695 maybe-all-target-libstdc++-v3 \
696 maybe-all-target-newlib \
697 maybe-all-target-libf2c \
698 maybe-all-target-libobjc \
699 maybe-all-target-libtermcap \
700 maybe-all-target-winsup \
701 maybe-all-target-libgloss \
702 maybe-all-target-libiberty \
703 maybe-all-target-gperf \
704 maybe-all-target-examples \
705 maybe-all-target-libffi \
706 maybe-all-target-libjava \
707 maybe-all-target-zlib \
708 maybe-all-target-boehm-gc \
709 maybe-all-target-qthreads \
710 maybe-all-target-rda
6599da04
JM
711
712# Do a target for all the subdirectories. A ``make do-X'' will do a
713# ``make X'' in all subdirectories (because, in general, there is a
714# dependency (below) of X upon do-X, a ``make X'' will also do this,
715# but it may do additional work as well).
4977bab6 716
1358ccea
NN
717.PHONY: do-info
718do-info: info-host info-target
6599da04 719
1358ccea
NN
720.PHONY: info-host
721info-host: maybe-info-gcc \
722 maybe-info-ash \
723 maybe-info-autoconf \
724 maybe-info-automake \
725 maybe-info-bash \
726 maybe-info-bfd \
727 maybe-info-opcodes \
728 maybe-info-binutils \
729 maybe-info-bison \
730 maybe-info-byacc \
731 maybe-info-bzip2 \
732 maybe-info-dejagnu \
733 maybe-info-diff \
734 maybe-info-dosutils \
735 maybe-info-etc \
736 maybe-info-fastjar \
737 maybe-info-fileutils \
738 maybe-info-findutils \
739 maybe-info-find \
740 maybe-info-flex \
741 maybe-info-gas \
742 maybe-info-gawk \
743 maybe-info-gettext \
744 maybe-info-gnuserv \
745 maybe-info-gprof \
746 maybe-info-gzip \
747 maybe-info-hello \
748 maybe-info-indent \
749 maybe-info-intl \
750 maybe-info-tcl \
751 maybe-info-itcl \
752 maybe-info-ld \
753 maybe-info-libgui \
754 maybe-info-libiberty \
755 maybe-info-libtool \
756 maybe-info-m4 \
757 maybe-info-make \
758 maybe-info-mmalloc \
759 maybe-info-patch \
760 maybe-info-perl \
761 maybe-info-prms \
762 maybe-info-rcs \
763 maybe-info-readline \
764 maybe-info-release \
765 maybe-info-recode \
766 maybe-info-sed \
767 maybe-info-send-pr \
768 maybe-info-shellutils \
769 maybe-info-sid \
770 maybe-info-sim \
771 maybe-info-tar \
772 maybe-info-texinfo \
773 maybe-info-textutils \
774 maybe-info-time \
775 maybe-info-uudecode \
776 maybe-info-wdiff \
777 maybe-info-zip \
778 maybe-info-zlib \
779 maybe-info-gdb \
780 maybe-info-expect \
781 maybe-info-guile \
782 maybe-info-tk \
783 maybe-info-tix \
784 maybe-info-libtermcap \
785 maybe-info-utils
6599da04 786
1358ccea
NN
787.PHONY: info-target
788info-target: \
789 maybe-info-target-libstdc++-v3 \
790 maybe-info-target-newlib \
791 maybe-info-target-libf2c \
792 maybe-info-target-libobjc \
793 maybe-info-target-libtermcap \
794 maybe-info-target-winsup \
795 maybe-info-target-libgloss \
796 maybe-info-target-libiberty \
797 maybe-info-target-gperf \
798 maybe-info-target-examples \
799 maybe-info-target-libffi \
800 maybe-info-target-libjava \
801 maybe-info-target-zlib \
802 maybe-info-target-boehm-gc \
803 maybe-info-target-qthreads \
804 maybe-info-target-rda
6599da04 805
1358ccea
NN
806# GCC, the eternal special case
807.PHONY: maybe-info-gcc info-gcc
808maybe-info-gcc:
809info-gcc: \
810 configure-gcc
811 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
812 r=`${PWD_COMMAND}`; export r; \
813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
814 $(SET_LIB_PATH) \
815 for flag in $(EXTRA_GCC_FLAGS); do \
816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
817 done; \
818 echo "Doing info in gcc" ; \
819 (cd gcc && \
820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
822 "RANLIB=$${RANLIB}" \
823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
824 info) \
825 || exit 1
6599da04 826
1358ccea 827# Host modules.
6599da04 828
1358ccea
NN
829.PHONY: maybe-info-ash info-ash
830maybe-info-ash:
6599da04 831
1358ccea
NN
832info-ash: \
833 configure-ash
834 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
835 r=`${PWD_COMMAND}`; export r; \
836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
837 $(SET_LIB_PATH) \
838 for flag in $(EXTRA_HOST_FLAGS); do \
839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
840 done; \
841 echo "Doing info in ash" ; \
842 (cd ash && \
843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
845 "RANLIB=$${RANLIB}" \
846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
847 info) \
848 || exit 1
4977bab6 849
4977bab6 850
1358ccea
NN
851.PHONY: maybe-info-autoconf info-autoconf
852maybe-info-autoconf:
4977bab6 853
1358ccea
NN
854info-autoconf: \
855 configure-autoconf
856 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
857 r=`${PWD_COMMAND}`; export r; \
858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
859 $(SET_LIB_PATH) \
860 for flag in $(EXTRA_HOST_FLAGS); do \
861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
862 done; \
863 echo "Doing info in autoconf" ; \
864 (cd autoconf && \
865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
867 "RANLIB=$${RANLIB}" \
868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
869 info) \
870 || exit 1
4977bab6
ZW
871
872
1358ccea
NN
873.PHONY: maybe-info-automake info-automake
874maybe-info-automake:
4977bab6 875
1358ccea
NN
876info-automake: \
877 configure-automake
878 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
879 r=`${PWD_COMMAND}`; export r; \
880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
881 $(SET_LIB_PATH) \
882 for flag in $(EXTRA_HOST_FLAGS); do \
883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
884 done; \
885 echo "Doing info in automake" ; \
886 (cd automake && \
887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
889 "RANLIB=$${RANLIB}" \
890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
891 info) \
892 || exit 1
4977bab6 893
4977bab6 894
1358ccea
NN
895.PHONY: maybe-info-bash info-bash
896maybe-info-bash:
897
898info-bash: \
899 configure-bash
900 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
901 r=`${PWD_COMMAND}`; export r; \
902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
903 $(SET_LIB_PATH) \
904 for flag in $(EXTRA_HOST_FLAGS); do \
905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
906 done; \
907 echo "Doing info in bash" ; \
908 (cd bash && \
909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
911 "RANLIB=$${RANLIB}" \
912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
913 info) \
914 || exit 1
4977bab6 915
4977bab6 916
1358ccea
NN
917.PHONY: maybe-info-bfd info-bfd
918maybe-info-bfd:
4977bab6 919
1358ccea
NN
920info-bfd: \
921 configure-bfd
922 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
923 r=`${PWD_COMMAND}`; export r; \
924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
925 $(SET_LIB_PATH) \
926 for flag in $(EXTRA_HOST_FLAGS); do \
927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
928 done; \
929 echo "Doing info in bfd" ; \
930 (cd bfd && \
931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
933 "RANLIB=$${RANLIB}" \
934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
935 info) \
936 || exit 1
4977bab6 937
6599da04 938
1358ccea
NN
939.PHONY: maybe-info-opcodes info-opcodes
940maybe-info-opcodes:
941
942info-opcodes: \
943 configure-opcodes
944 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
945 r=`${PWD_COMMAND}`; export r; \
946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
947 $(SET_LIB_PATH) \
948 for flag in $(EXTRA_HOST_FLAGS); do \
949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
950 done; \
951 echo "Doing info in opcodes" ; \
952 (cd opcodes && \
953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
955 "RANLIB=$${RANLIB}" \
956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
957 info) \
958 || exit 1
959
960
961.PHONY: maybe-info-binutils info-binutils
962maybe-info-binutils:
963
964info-binutils: \
965 configure-binutils
966 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
967 r=`${PWD_COMMAND}`; export r; \
968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
969 $(SET_LIB_PATH) \
970 for flag in $(EXTRA_HOST_FLAGS); do \
971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
972 done; \
973 echo "Doing info in binutils" ; \
974 (cd binutils && \
975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
977 "RANLIB=$${RANLIB}" \
978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
979 info) \
980 || exit 1
981
982
983.PHONY: maybe-info-bison info-bison
984maybe-info-bison:
985
986info-bison: \
987 configure-bison
988 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
989 r=`${PWD_COMMAND}`; export r; \
990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
991 $(SET_LIB_PATH) \
992 for flag in $(EXTRA_HOST_FLAGS); do \
993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
994 done; \
995 echo "Doing info in bison" ; \
996 (cd bison && \
997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
999 "RANLIB=$${RANLIB}" \
1000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1001 info) \
1002 || exit 1
1003
1004
1005.PHONY: maybe-info-byacc info-byacc
1006maybe-info-byacc:
1007
1008info-byacc: \
1009 configure-byacc
1010 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
1011 r=`${PWD_COMMAND}`; export r; \
1012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1013 $(SET_LIB_PATH) \
1014 for flag in $(EXTRA_HOST_FLAGS); do \
1015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1016 done; \
1017 echo "Doing info in byacc" ; \
1018 (cd byacc && \
1019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1021 "RANLIB=$${RANLIB}" \
1022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1023 info) \
1024 || exit 1
1025
1026
1027.PHONY: maybe-info-bzip2 info-bzip2
1028maybe-info-bzip2:
1029
1030info-bzip2: \
1031 configure-bzip2
1032 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
1033 r=`${PWD_COMMAND}`; export r; \
1034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1035 $(SET_LIB_PATH) \
1036 for flag in $(EXTRA_HOST_FLAGS); do \
1037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1038 done; \
1039 echo "Doing info in bzip2" ; \
1040 (cd bzip2 && \
1041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1043 "RANLIB=$${RANLIB}" \
1044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1045 info) \
1046 || exit 1
1047
1048
1049.PHONY: maybe-info-dejagnu info-dejagnu
1050maybe-info-dejagnu:
1051
1052info-dejagnu: \
1053 configure-dejagnu
1054 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
1055 r=`${PWD_COMMAND}`; export r; \
1056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1057 $(SET_LIB_PATH) \
1058 for flag in $(EXTRA_HOST_FLAGS); do \
1059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1060 done; \
1061 echo "Doing info in dejagnu" ; \
1062 (cd dejagnu && \
1063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1065 "RANLIB=$${RANLIB}" \
1066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1067 info) \
1068 || exit 1
1069
1070
1071.PHONY: maybe-info-diff info-diff
1072maybe-info-diff:
1073
1074info-diff: \
1075 configure-diff
1076 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
1077 r=`${PWD_COMMAND}`; export r; \
1078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1079 $(SET_LIB_PATH) \
1080 for flag in $(EXTRA_HOST_FLAGS); do \
1081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1082 done; \
1083 echo "Doing info in diff" ; \
1084 (cd diff && \
1085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1087 "RANLIB=$${RANLIB}" \
1088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1089 info) \
1090 || exit 1
1091
1092
1093.PHONY: maybe-info-dosutils info-dosutils
1094maybe-info-dosutils:
1095
1096info-dosutils: \
1097 configure-dosutils
1098 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
1099 r=`${PWD_COMMAND}`; export r; \
1100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1101 $(SET_LIB_PATH) \
1102 for flag in $(EXTRA_HOST_FLAGS); do \
1103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1104 done; \
1105 echo "Doing info in dosutils" ; \
1106 (cd dosutils && \
1107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1109 "RANLIB=$${RANLIB}" \
1110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1111 info) \
1112 || exit 1
1113
1114
1115.PHONY: maybe-info-etc info-etc
1116maybe-info-etc:
1117
1118info-etc: \
1119 configure-etc
1120 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
1121 r=`${PWD_COMMAND}`; export r; \
1122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1123 $(SET_LIB_PATH) \
1124 for flag in $(EXTRA_HOST_FLAGS); do \
1125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1126 done; \
1127 echo "Doing info in etc" ; \
1128 (cd etc && \
1129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1131 "RANLIB=$${RANLIB}" \
1132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1133 info) \
1134 || exit 1
1135
1136
1137.PHONY: maybe-info-fastjar info-fastjar
1138maybe-info-fastjar:
1139
1140info-fastjar: \
1141 configure-fastjar
1142 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
1143 r=`${PWD_COMMAND}`; export r; \
1144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1145 $(SET_LIB_PATH) \
1146 for flag in $(EXTRA_HOST_FLAGS); do \
1147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1148 done; \
1149 echo "Doing info in fastjar" ; \
1150 (cd fastjar && \
1151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1153 "RANLIB=$${RANLIB}" \
1154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1155 info) \
1156 || exit 1
1157
1158
1159.PHONY: maybe-info-fileutils info-fileutils
1160maybe-info-fileutils:
1161
1162info-fileutils: \
1163 configure-fileutils
1164 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
1165 r=`${PWD_COMMAND}`; export r; \
1166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1167 $(SET_LIB_PATH) \
1168 for flag in $(EXTRA_HOST_FLAGS); do \
1169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1170 done; \
1171 echo "Doing info in fileutils" ; \
1172 (cd fileutils && \
1173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1175 "RANLIB=$${RANLIB}" \
1176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1177 info) \
1178 || exit 1
1179
1180
1181.PHONY: maybe-info-findutils info-findutils
1182maybe-info-findutils:
1183
1184info-findutils: \
1185 configure-findutils
1186 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
1187 r=`${PWD_COMMAND}`; export r; \
1188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1189 $(SET_LIB_PATH) \
1190 for flag in $(EXTRA_HOST_FLAGS); do \
1191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1192 done; \
1193 echo "Doing info in findutils" ; \
1194 (cd findutils && \
1195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1197 "RANLIB=$${RANLIB}" \
1198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1199 info) \
1200 || exit 1
1201
1202
1203.PHONY: maybe-info-find info-find
1204maybe-info-find:
1205
1206info-find: \
1207 configure-find
1208 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
1209 r=`${PWD_COMMAND}`; export r; \
1210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1211 $(SET_LIB_PATH) \
1212 for flag in $(EXTRA_HOST_FLAGS); do \
1213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1214 done; \
1215 echo "Doing info in find" ; \
1216 (cd find && \
1217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1219 "RANLIB=$${RANLIB}" \
1220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1221 info) \
1222 || exit 1
1223
1224
1225.PHONY: maybe-info-flex info-flex
1226maybe-info-flex:
1227
1228info-flex: \
1229 configure-flex
1230 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
1231 r=`${PWD_COMMAND}`; export r; \
1232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1233 $(SET_LIB_PATH) \
1234 for flag in $(EXTRA_HOST_FLAGS); do \
1235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1236 done; \
1237 echo "Doing info in flex" ; \
1238 (cd flex && \
1239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1241 "RANLIB=$${RANLIB}" \
1242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1243 info) \
1244 || exit 1
1245
1246
1247.PHONY: maybe-info-gas info-gas
1248maybe-info-gas:
1249
1250info-gas: \
1251 configure-gas
1252 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
1253 r=`${PWD_COMMAND}`; export r; \
1254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1255 $(SET_LIB_PATH) \
1256 for flag in $(EXTRA_HOST_FLAGS); do \
1257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1258 done; \
1259 echo "Doing info in gas" ; \
1260 (cd gas && \
1261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1263 "RANLIB=$${RANLIB}" \
1264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1265 info) \
1266 || exit 1
1267
1268
1269.PHONY: maybe-info-gawk info-gawk
1270maybe-info-gawk:
1271
1272info-gawk: \
1273 configure-gawk
1274 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
1275 r=`${PWD_COMMAND}`; export r; \
1276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1277 $(SET_LIB_PATH) \
1278 for flag in $(EXTRA_HOST_FLAGS); do \
1279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1280 done; \
1281 echo "Doing info in gawk" ; \
1282 (cd gawk && \
1283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1285 "RANLIB=$${RANLIB}" \
1286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1287 info) \
1288 || exit 1
1289
1290
1291.PHONY: maybe-info-gettext info-gettext
1292maybe-info-gettext:
1293
1294info-gettext: \
1295 configure-gettext
1296 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
1297 r=`${PWD_COMMAND}`; export r; \
1298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1299 $(SET_LIB_PATH) \
1300 for flag in $(EXTRA_HOST_FLAGS); do \
1301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1302 done; \
1303 echo "Doing info in gettext" ; \
1304 (cd gettext && \
1305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1307 "RANLIB=$${RANLIB}" \
1308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1309 info) \
1310 || exit 1
1311
1312
1313.PHONY: maybe-info-gnuserv info-gnuserv
1314maybe-info-gnuserv:
1315
1316info-gnuserv: \
1317 configure-gnuserv
1318 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
1319 r=`${PWD_COMMAND}`; export r; \
1320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1321 $(SET_LIB_PATH) \
1322 for flag in $(EXTRA_HOST_FLAGS); do \
1323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1324 done; \
1325 echo "Doing info in gnuserv" ; \
1326 (cd gnuserv && \
1327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1329 "RANLIB=$${RANLIB}" \
1330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1331 info) \
1332 || exit 1
1333
1334
1335.PHONY: maybe-info-gprof info-gprof
1336maybe-info-gprof:
1337
1338info-gprof: \
1339 configure-gprof
1340 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
1341 r=`${PWD_COMMAND}`; export r; \
1342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1343 $(SET_LIB_PATH) \
1344 for flag in $(EXTRA_HOST_FLAGS); do \
1345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1346 done; \
1347 echo "Doing info in gprof" ; \
1348 (cd gprof && \
1349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1351 "RANLIB=$${RANLIB}" \
1352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1353 info) \
1354 || exit 1
1355
1356
1357.PHONY: maybe-info-gzip info-gzip
1358maybe-info-gzip:
1359
1360info-gzip: \
1361 configure-gzip
1362 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
1363 r=`${PWD_COMMAND}`; export r; \
1364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1365 $(SET_LIB_PATH) \
1366 for flag in $(EXTRA_HOST_FLAGS); do \
1367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1368 done; \
1369 echo "Doing info in gzip" ; \
1370 (cd gzip && \
1371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1373 "RANLIB=$${RANLIB}" \
1374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1375 info) \
1376 || exit 1
1377
1378
1379.PHONY: maybe-info-hello info-hello
1380maybe-info-hello:
1381
1382info-hello: \
1383 configure-hello
1384 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
1385 r=`${PWD_COMMAND}`; export r; \
1386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1387 $(SET_LIB_PATH) \
1388 for flag in $(EXTRA_HOST_FLAGS); do \
1389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1390 done; \
1391 echo "Doing info in hello" ; \
1392 (cd hello && \
1393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1395 "RANLIB=$${RANLIB}" \
1396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1397 info) \
1398 || exit 1
1399
1400
1401.PHONY: maybe-info-indent info-indent
1402maybe-info-indent:
1403
1404info-indent: \
1405 configure-indent
1406 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
1407 r=`${PWD_COMMAND}`; export r; \
1408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1409 $(SET_LIB_PATH) \
1410 for flag in $(EXTRA_HOST_FLAGS); do \
1411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1412 done; \
1413 echo "Doing info in indent" ; \
1414 (cd indent && \
1415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1417 "RANLIB=$${RANLIB}" \
1418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1419 info) \
1420 || exit 1
1421
1422
1423.PHONY: maybe-info-intl info-intl
1424maybe-info-intl:
1425
1426info-intl: \
1427 configure-intl
1428 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
1429 r=`${PWD_COMMAND}`; export r; \
1430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1431 $(SET_LIB_PATH) \
1432 for flag in $(EXTRA_HOST_FLAGS); do \
1433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1434 done; \
1435 echo "Doing info in intl" ; \
1436 (cd intl && \
1437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1439 "RANLIB=$${RANLIB}" \
1440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1441 info) \
1442 || exit 1
1443
1444
1445.PHONY: maybe-info-tcl info-tcl
1446maybe-info-tcl:
1447
1448info-tcl: \
1449 configure-tcl
1450 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
1451 r=`${PWD_COMMAND}`; export r; \
1452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1453 $(SET_LIB_PATH) \
1454 for flag in $(EXTRA_HOST_FLAGS); do \
1455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1456 done; \
1457 echo "Doing info in tcl" ; \
1458 (cd tcl && \
1459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1461 "RANLIB=$${RANLIB}" \
1462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1463 info) \
1464 || exit 1
1465
1466
1467.PHONY: maybe-info-itcl info-itcl
1468maybe-info-itcl:
1469
1470info-itcl: \
1471 configure-itcl
1472 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
1473 r=`${PWD_COMMAND}`; export r; \
1474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1475 $(SET_LIB_PATH) \
1476 for flag in $(EXTRA_HOST_FLAGS); do \
1477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1478 done; \
1479 echo "Doing info in itcl" ; \
1480 (cd itcl && \
1481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1483 "RANLIB=$${RANLIB}" \
1484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1485 info) \
1486 || exit 1
1487
1488
1489.PHONY: maybe-info-ld info-ld
1490maybe-info-ld:
1491
1492info-ld: \
1493 configure-ld
1494 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
1495 r=`${PWD_COMMAND}`; export r; \
1496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1497 $(SET_LIB_PATH) \
1498 for flag in $(EXTRA_HOST_FLAGS); do \
1499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1500 done; \
1501 echo "Doing info in ld" ; \
1502 (cd ld && \
1503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1505 "RANLIB=$${RANLIB}" \
1506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1507 info) \
1508 || exit 1
1509
1510
1511.PHONY: maybe-info-libgui info-libgui
1512maybe-info-libgui:
1513
1514info-libgui: \
1515 configure-libgui
1516 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
1517 r=`${PWD_COMMAND}`; export r; \
1518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1519 $(SET_LIB_PATH) \
1520 for flag in $(EXTRA_HOST_FLAGS); do \
1521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1522 done; \
1523 echo "Doing info in libgui" ; \
1524 (cd libgui && \
1525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1527 "RANLIB=$${RANLIB}" \
1528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1529 info) \
1530 || exit 1
1531
1532
1533.PHONY: maybe-info-libiberty info-libiberty
1534maybe-info-libiberty:
1535
1536info-libiberty: \
1537 configure-libiberty
1538 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
1539 r=`${PWD_COMMAND}`; export r; \
1540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1541 $(SET_LIB_PATH) \
1542 for flag in $(EXTRA_HOST_FLAGS); do \
1543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1544 done; \
1545 echo "Doing info in libiberty" ; \
1546 (cd libiberty && \
1547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1549 "RANLIB=$${RANLIB}" \
1550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1551 info) \
1552 || exit 1
1553
1554
1555.PHONY: maybe-info-libtool info-libtool
1556maybe-info-libtool:
1557
1558info-libtool: \
1559 configure-libtool
1560 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
1561 r=`${PWD_COMMAND}`; export r; \
1562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1563 $(SET_LIB_PATH) \
1564 for flag in $(EXTRA_HOST_FLAGS); do \
1565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1566 done; \
1567 echo "Doing info in libtool" ; \
1568 (cd libtool && \
1569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1571 "RANLIB=$${RANLIB}" \
1572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1573 info) \
1574 || exit 1
1575
1576
1577.PHONY: maybe-info-m4 info-m4
1578maybe-info-m4:
1579
1580info-m4: \
1581 configure-m4
1582 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
1583 r=`${PWD_COMMAND}`; export r; \
1584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1585 $(SET_LIB_PATH) \
1586 for flag in $(EXTRA_HOST_FLAGS); do \
1587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1588 done; \
1589 echo "Doing info in m4" ; \
1590 (cd m4 && \
1591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1593 "RANLIB=$${RANLIB}" \
1594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1595 info) \
1596 || exit 1
1597
1598
1599.PHONY: maybe-info-make info-make
1600maybe-info-make:
1601
1602info-make: \
1603 configure-make
1604 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
1605 r=`${PWD_COMMAND}`; export r; \
1606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1607 $(SET_LIB_PATH) \
1608 for flag in $(EXTRA_HOST_FLAGS); do \
1609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1610 done; \
1611 echo "Doing info in make" ; \
1612 (cd make && \
1613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1615 "RANLIB=$${RANLIB}" \
1616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1617 info) \
1618 || exit 1
1619
1620
1621.PHONY: maybe-info-mmalloc info-mmalloc
1622maybe-info-mmalloc:
1623
1624info-mmalloc: \
1625 configure-mmalloc
1626 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
1627 r=`${PWD_COMMAND}`; export r; \
1628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1629 $(SET_LIB_PATH) \
1630 for flag in $(EXTRA_HOST_FLAGS); do \
1631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1632 done; \
1633 echo "Doing info in mmalloc" ; \
1634 (cd mmalloc && \
1635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1637 "RANLIB=$${RANLIB}" \
1638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1639 info) \
1640 || exit 1
1641
1642
1643.PHONY: maybe-info-patch info-patch
1644maybe-info-patch:
1645
1646info-patch: \
1647 configure-patch
1648 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
1649 r=`${PWD_COMMAND}`; export r; \
1650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1651 $(SET_LIB_PATH) \
1652 for flag in $(EXTRA_HOST_FLAGS); do \
1653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1654 done; \
1655 echo "Doing info in patch" ; \
1656 (cd patch && \
1657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1659 "RANLIB=$${RANLIB}" \
1660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1661 info) \
1662 || exit 1
1663
1664
1665.PHONY: maybe-info-perl info-perl
1666maybe-info-perl:
1667
1668info-perl: \
1669 configure-perl
1670 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
1671 r=`${PWD_COMMAND}`; export r; \
1672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1673 $(SET_LIB_PATH) \
1674 for flag in $(EXTRA_HOST_FLAGS); do \
1675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1676 done; \
1677 echo "Doing info in perl" ; \
1678 (cd perl && \
1679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1681 "RANLIB=$${RANLIB}" \
1682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1683 info) \
1684 || exit 1
1685
1686
1687.PHONY: maybe-info-prms info-prms
1688maybe-info-prms:
1689
1690info-prms: \
1691 configure-prms
1692 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
1693 r=`${PWD_COMMAND}`; export r; \
1694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1695 $(SET_LIB_PATH) \
1696 for flag in $(EXTRA_HOST_FLAGS); do \
1697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1698 done; \
1699 echo "Doing info in prms" ; \
1700 (cd prms && \
1701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1703 "RANLIB=$${RANLIB}" \
1704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1705 info) \
1706 || exit 1
1707
1708
1709.PHONY: maybe-info-rcs info-rcs
1710maybe-info-rcs:
1711
1712info-rcs: \
1713 configure-rcs
1714 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
1715 r=`${PWD_COMMAND}`; export r; \
1716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1717 $(SET_LIB_PATH) \
1718 for flag in $(EXTRA_HOST_FLAGS); do \
1719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1720 done; \
1721 echo "Doing info in rcs" ; \
1722 (cd rcs && \
1723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1725 "RANLIB=$${RANLIB}" \
1726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1727 info) \
1728 || exit 1
1729
1730
1731.PHONY: maybe-info-readline info-readline
1732maybe-info-readline:
1733
1734info-readline: \
1735 configure-readline
1736 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
1737 r=`${PWD_COMMAND}`; export r; \
1738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1739 $(SET_LIB_PATH) \
1740 for flag in $(EXTRA_HOST_FLAGS); do \
1741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1742 done; \
1743 echo "Doing info in readline" ; \
1744 (cd readline && \
1745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1747 "RANLIB=$${RANLIB}" \
1748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1749 info) \
1750 || exit 1
1751
1752
1753.PHONY: maybe-info-release info-release
1754maybe-info-release:
1755
1756info-release: \
1757 configure-release
1758 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
1759 r=`${PWD_COMMAND}`; export r; \
1760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1761 $(SET_LIB_PATH) \
1762 for flag in $(EXTRA_HOST_FLAGS); do \
1763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1764 done; \
1765 echo "Doing info in release" ; \
1766 (cd release && \
1767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1769 "RANLIB=$${RANLIB}" \
1770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1771 info) \
1772 || exit 1
1773
1774
1775.PHONY: maybe-info-recode info-recode
1776maybe-info-recode:
1777
1778info-recode: \
1779 configure-recode
1780 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
1781 r=`${PWD_COMMAND}`; export r; \
1782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1783 $(SET_LIB_PATH) \
1784 for flag in $(EXTRA_HOST_FLAGS); do \
1785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1786 done; \
1787 echo "Doing info in recode" ; \
1788 (cd recode && \
1789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1791 "RANLIB=$${RANLIB}" \
1792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1793 info) \
1794 || exit 1
1795
1796
1797.PHONY: maybe-info-sed info-sed
1798maybe-info-sed:
1799
1800info-sed: \
1801 configure-sed
1802 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
1803 r=`${PWD_COMMAND}`; export r; \
1804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1805 $(SET_LIB_PATH) \
1806 for flag in $(EXTRA_HOST_FLAGS); do \
1807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1808 done; \
1809 echo "Doing info in sed" ; \
1810 (cd sed && \
1811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1813 "RANLIB=$${RANLIB}" \
1814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1815 info) \
1816 || exit 1
1817
1818
1819.PHONY: maybe-info-send-pr info-send-pr
1820maybe-info-send-pr:
1821
1822info-send-pr: \
1823 configure-send-pr
1824 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
1825 r=`${PWD_COMMAND}`; export r; \
1826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1827 $(SET_LIB_PATH) \
1828 for flag in $(EXTRA_HOST_FLAGS); do \
1829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1830 done; \
1831 echo "Doing info in send-pr" ; \
1832 (cd send-pr && \
1833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1835 "RANLIB=$${RANLIB}" \
1836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1837 info) \
1838 || exit 1
1839
1840
1841.PHONY: maybe-info-shellutils info-shellutils
1842maybe-info-shellutils:
1843
1844info-shellutils: \
1845 configure-shellutils
1846 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
1847 r=`${PWD_COMMAND}`; export r; \
1848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1849 $(SET_LIB_PATH) \
1850 for flag in $(EXTRA_HOST_FLAGS); do \
1851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1852 done; \
1853 echo "Doing info in shellutils" ; \
1854 (cd shellutils && \
1855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1857 "RANLIB=$${RANLIB}" \
1858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1859 info) \
1860 || exit 1
1861
1862
1863.PHONY: maybe-info-sid info-sid
1864maybe-info-sid:
1865
1866info-sid: \
1867 configure-sid
1868 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
1869 r=`${PWD_COMMAND}`; export r; \
1870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1871 $(SET_LIB_PATH) \
1872 for flag in $(EXTRA_HOST_FLAGS); do \
1873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1874 done; \
1875 echo "Doing info in sid" ; \
1876 (cd sid && \
1877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1879 "RANLIB=$${RANLIB}" \
1880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1881 info) \
1882 || exit 1
1883
1884
1885.PHONY: maybe-info-sim info-sim
1886maybe-info-sim:
1887
1888info-sim: \
1889 configure-sim
1890 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
1891 r=`${PWD_COMMAND}`; export r; \
1892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1893 $(SET_LIB_PATH) \
1894 for flag in $(EXTRA_HOST_FLAGS); do \
1895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1896 done; \
1897 echo "Doing info in sim" ; \
1898 (cd sim && \
1899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1901 "RANLIB=$${RANLIB}" \
1902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1903 info) \
1904 || exit 1
1905
1906
1907.PHONY: maybe-info-tar info-tar
1908maybe-info-tar:
1909
1910info-tar: \
1911 configure-tar
1912 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
1913 r=`${PWD_COMMAND}`; export r; \
1914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1915 $(SET_LIB_PATH) \
1916 for flag in $(EXTRA_HOST_FLAGS); do \
1917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1918 done; \
1919 echo "Doing info in tar" ; \
1920 (cd tar && \
1921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1923 "RANLIB=$${RANLIB}" \
1924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1925 info) \
1926 || exit 1
1927
1928
1929.PHONY: maybe-info-texinfo info-texinfo
1930maybe-info-texinfo:
1931
1932info-texinfo: \
1933 configure-texinfo
1934 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
1935 r=`${PWD_COMMAND}`; export r; \
1936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1937 $(SET_LIB_PATH) \
1938 for flag in $(EXTRA_HOST_FLAGS); do \
1939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1940 done; \
1941 echo "Doing info in texinfo" ; \
1942 (cd texinfo && \
1943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1945 "RANLIB=$${RANLIB}" \
1946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1947 info) \
1948 || exit 1
1949
1950
1951.PHONY: maybe-info-textutils info-textutils
1952maybe-info-textutils:
1953
1954info-textutils: \
1955 configure-textutils
1956 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
1957 r=`${PWD_COMMAND}`; export r; \
1958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1959 $(SET_LIB_PATH) \
1960 for flag in $(EXTRA_HOST_FLAGS); do \
1961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1962 done; \
1963 echo "Doing info in textutils" ; \
1964 (cd textutils && \
1965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1967 "RANLIB=$${RANLIB}" \
1968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1969 info) \
1970 || exit 1
1971
1972
1973.PHONY: maybe-info-time info-time
1974maybe-info-time:
1975
1976info-time: \
1977 configure-time
1978 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
1979 r=`${PWD_COMMAND}`; export r; \
1980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
1981 $(SET_LIB_PATH) \
1982 for flag in $(EXTRA_HOST_FLAGS); do \
1983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1984 done; \
1985 echo "Doing info in time" ; \
1986 (cd time && \
1987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1989 "RANLIB=$${RANLIB}" \
1990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1991 info) \
1992 || exit 1
1993
1994
1995.PHONY: maybe-info-uudecode info-uudecode
1996maybe-info-uudecode:
1997
1998info-uudecode: \
1999 configure-uudecode
2000 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
2001 r=`${PWD_COMMAND}`; export r; \
2002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2003 $(SET_LIB_PATH) \
2004 for flag in $(EXTRA_HOST_FLAGS); do \
2005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2006 done; \
2007 echo "Doing info in uudecode" ; \
2008 (cd uudecode && \
2009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2011 "RANLIB=$${RANLIB}" \
2012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2013 info) \
2014 || exit 1
2015
2016
2017.PHONY: maybe-info-wdiff info-wdiff
2018maybe-info-wdiff:
2019
2020info-wdiff: \
2021 configure-wdiff
2022 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
2023 r=`${PWD_COMMAND}`; export r; \
2024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2025 $(SET_LIB_PATH) \
2026 for flag in $(EXTRA_HOST_FLAGS); do \
2027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2028 done; \
2029 echo "Doing info in wdiff" ; \
2030 (cd wdiff && \
2031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2033 "RANLIB=$${RANLIB}" \
2034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2035 info) \
2036 || exit 1
2037
2038
2039.PHONY: maybe-info-zip info-zip
2040maybe-info-zip:
2041
2042info-zip: \
2043 configure-zip
2044 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
2045 r=`${PWD_COMMAND}`; export r; \
2046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2047 $(SET_LIB_PATH) \
2048 for flag in $(EXTRA_HOST_FLAGS); do \
2049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2050 done; \
2051 echo "Doing info in zip" ; \
2052 (cd zip && \
2053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2055 "RANLIB=$${RANLIB}" \
2056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2057 info) \
2058 || exit 1
2059
2060
2061.PHONY: maybe-info-zlib info-zlib
2062maybe-info-zlib:
2063
2064info-zlib: \
2065 configure-zlib
2066 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
2067 r=`${PWD_COMMAND}`; export r; \
2068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2069 $(SET_LIB_PATH) \
2070 for flag in $(EXTRA_HOST_FLAGS); do \
2071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2072 done; \
2073 echo "Doing info in zlib" ; \
2074 (cd zlib && \
2075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2077 "RANLIB=$${RANLIB}" \
2078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2079 info) \
2080 || exit 1
2081
2082
2083.PHONY: maybe-info-gdb info-gdb
2084maybe-info-gdb:
2085
2086info-gdb: \
2087 configure-gdb
2088 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
2089 r=`${PWD_COMMAND}`; export r; \
2090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2091 $(SET_LIB_PATH) \
2092 for flag in $(EXTRA_HOST_FLAGS); do \
2093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2094 done; \
2095 echo "Doing info in gdb" ; \
2096 (cd gdb && \
2097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2099 "RANLIB=$${RANLIB}" \
2100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2101 info) \
2102 || exit 1
2103
2104
2105.PHONY: maybe-info-expect info-expect
2106maybe-info-expect:
2107
2108info-expect: \
2109 configure-expect
2110 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
2111 r=`${PWD_COMMAND}`; export r; \
2112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2113 $(SET_LIB_PATH) \
2114 for flag in $(EXTRA_HOST_FLAGS); do \
2115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2116 done; \
2117 echo "Doing info in expect" ; \
2118 (cd expect && \
2119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2121 "RANLIB=$${RANLIB}" \
2122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2123 info) \
2124 || exit 1
2125
2126
2127.PHONY: maybe-info-guile info-guile
2128maybe-info-guile:
2129
2130info-guile: \
2131 configure-guile
2132 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
2133 r=`${PWD_COMMAND}`; export r; \
2134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2135 $(SET_LIB_PATH) \
2136 for flag in $(EXTRA_HOST_FLAGS); do \
2137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2138 done; \
2139 echo "Doing info in guile" ; \
2140 (cd guile && \
2141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2143 "RANLIB=$${RANLIB}" \
2144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2145 info) \
2146 || exit 1
2147
2148
2149.PHONY: maybe-info-tk info-tk
2150maybe-info-tk:
2151
2152info-tk: \
2153 configure-tk
2154 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
2155 r=`${PWD_COMMAND}`; export r; \
2156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2157 $(SET_LIB_PATH) \
2158 for flag in $(EXTRA_HOST_FLAGS); do \
2159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2160 done; \
2161 echo "Doing info in tk" ; \
2162 (cd tk && \
2163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2165 "RANLIB=$${RANLIB}" \
2166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2167 info) \
2168 || exit 1
2169
2170
2171.PHONY: maybe-info-tix info-tix
2172maybe-info-tix:
2173
2174info-tix: \
2175 configure-tix
2176 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
2177 r=`${PWD_COMMAND}`; export r; \
2178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2179 $(SET_LIB_PATH) \
2180 for flag in $(EXTRA_HOST_FLAGS); do \
2181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2182 done; \
2183 echo "Doing info in tix" ; \
2184 (cd tix && \
2185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2187 "RANLIB=$${RANLIB}" \
2188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2189 info) \
2190 || exit 1
2191
2192
2193.PHONY: maybe-info-libtermcap info-libtermcap
2194maybe-info-libtermcap:
2195
2196info-libtermcap: \
2197 configure-libtermcap
2198 @[ -f ./libtermcap/Makefile ] || exit 0; \
8c90b13a
L
2199 r=`${PWD_COMMAND}`; export r; \
2200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2201 $(SET_LIB_PATH) \
2202 for flag in $(EXTRA_HOST_FLAGS); do \
2203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2204 done; \
2205 echo "Doing info in libtermcap" ; \
2206 (cd libtermcap && \
2207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2209 "RANLIB=$${RANLIB}" \
2210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2211 info) \
2212 || exit 1
2213
2214
2215.PHONY: maybe-info-utils info-utils
2216maybe-info-utils:
2217
2218info-utils: \
2219 configure-utils
2220 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
2221 r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2223 $(SET_LIB_PATH) \
2224 for flag in $(EXTRA_HOST_FLAGS); do \
2225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2226 done; \
2227 echo "Doing info in utils" ; \
2228 (cd utils && \
2229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2231 "RANLIB=$${RANLIB}" \
2232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2233 info) \
2234 || exit 1
2235
2236
2237
2238# Target modules.
2239
2240.PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
2241maybe-info-target-libstdc++-v3:
2242
2243info-target-libstdc++-v3: \
2244 configure-target-libstdc++-v3
2245 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
2246 r=`${PWD_COMMAND}`; export r; \
2247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2248 $(SET_LIB_PATH) \
2249 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
2250 for flag in $(EXTRA_TARGET_FLAGS); do \
2251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2252 done; \
2253 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
2254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2256 "RANLIB=$${RANLIB}" \
2257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2258 info) \
2259 || exit 1
2260
2261
2262.PHONY: maybe-info-target-newlib info-target-newlib
2263maybe-info-target-newlib:
2264
2265info-target-newlib: \
2266 configure-target-newlib
2267 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
2268 r=`${PWD_COMMAND}`; export r; \
2269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2270 $(SET_LIB_PATH) \
2271 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
2272 for flag in $(EXTRA_TARGET_FLAGS); do \
2273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2274 done; \
2275 (cd $(TARGET_SUBDIR)/newlib && \
2276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2278 "RANLIB=$${RANLIB}" \
2279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2280 info) \
2281 || exit 1
2282
2283
2284.PHONY: maybe-info-target-libf2c info-target-libf2c
2285maybe-info-target-libf2c:
2286
2287info-target-libf2c: \
2288 configure-target-libf2c
2289 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
2290 r=`${PWD_COMMAND}`; export r; \
2291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2292 $(SET_LIB_PATH) \
2293 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
2294 for flag in $(EXTRA_TARGET_FLAGS); do \
2295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2296 done; \
2297 (cd $(TARGET_SUBDIR)/libf2c && \
2298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2300 "RANLIB=$${RANLIB}" \
2301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2302 info) \
2303 || exit 1
2304
2305
2306.PHONY: maybe-info-target-libobjc info-target-libobjc
2307maybe-info-target-libobjc:
2308
2309info-target-libobjc: \
2310 configure-target-libobjc
2311 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
2312 r=`${PWD_COMMAND}`; export r; \
2313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2314 $(SET_LIB_PATH) \
2315 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
2316 for flag in $(EXTRA_TARGET_FLAGS); do \
2317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2318 done; \
2319 (cd $(TARGET_SUBDIR)/libobjc && \
2320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2322 "RANLIB=$${RANLIB}" \
2323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2324 info) \
2325 || exit 1
2326
2327
2328.PHONY: maybe-info-target-libtermcap info-target-libtermcap
2329maybe-info-target-libtermcap:
2330
2331info-target-libtermcap: \
2332 configure-target-libtermcap
2333 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8c90b13a
L
2334 r=`${PWD_COMMAND}`; export r; \
2335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2336 $(SET_LIB_PATH) \
2337 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
2338 for flag in $(EXTRA_TARGET_FLAGS); do \
2339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2340 done; \
2341 (cd $(TARGET_SUBDIR)/libtermcap && \
2342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2344 "RANLIB=$${RANLIB}" \
2345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2346 info) \
2347 || exit 1
2348
2349
2350.PHONY: maybe-info-target-winsup info-target-winsup
2351maybe-info-target-winsup:
2352
2353info-target-winsup: \
2354 configure-target-winsup
2355 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
2356 r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2358 $(SET_LIB_PATH) \
2359 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
2360 for flag in $(EXTRA_TARGET_FLAGS); do \
2361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2362 done; \
2363 (cd $(TARGET_SUBDIR)/winsup && \
2364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2366 "RANLIB=$${RANLIB}" \
2367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2368 info) \
2369 || exit 1
2370
2371
2372.PHONY: maybe-info-target-libgloss info-target-libgloss
2373maybe-info-target-libgloss:
2374
2375info-target-libgloss: \
2376 configure-target-libgloss
2377 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
2378 r=`${PWD_COMMAND}`; export r; \
2379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2380 $(SET_LIB_PATH) \
2381 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
2382 for flag in $(EXTRA_TARGET_FLAGS); do \
2383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2384 done; \
2385 (cd $(TARGET_SUBDIR)/libgloss && \
2386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2388 "RANLIB=$${RANLIB}" \
2389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2390 info) \
2391 || exit 1
2392
2393
2394.PHONY: maybe-info-target-libiberty info-target-libiberty
2395maybe-info-target-libiberty:
2396
2397info-target-libiberty: \
2398 configure-target-libiberty
2399 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
2400 r=`${PWD_COMMAND}`; export r; \
2401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2402 $(SET_LIB_PATH) \
2403 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
2404 for flag in $(EXTRA_TARGET_FLAGS); do \
2405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2406 done; \
2407 (cd $(TARGET_SUBDIR)/libiberty && \
2408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2410 "RANLIB=$${RANLIB}" \
2411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2412 info) \
2413 || exit 1
2414
2415
2416.PHONY: maybe-info-target-gperf info-target-gperf
2417maybe-info-target-gperf:
2418
2419info-target-gperf: \
2420 configure-target-gperf
2421 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
2422 r=`${PWD_COMMAND}`; export r; \
2423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2424 $(SET_LIB_PATH) \
2425 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
2426 for flag in $(EXTRA_TARGET_FLAGS); do \
2427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2428 done; \
2429 (cd $(TARGET_SUBDIR)/gperf && \
2430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2432 "RANLIB=$${RANLIB}" \
2433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2434 info) \
2435 || exit 1
2436
2437
2438.PHONY: maybe-info-target-examples info-target-examples
2439maybe-info-target-examples:
2440
2441info-target-examples: \
2442 configure-target-examples
2443 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
2444 r=`${PWD_COMMAND}`; export r; \
2445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2446 $(SET_LIB_PATH) \
2447 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
2448 for flag in $(EXTRA_TARGET_FLAGS); do \
2449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2450 done; \
2451 (cd $(TARGET_SUBDIR)/examples && \
2452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2454 "RANLIB=$${RANLIB}" \
2455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2456 info) \
2457 || exit 1
2458
2459
2460.PHONY: maybe-info-target-libffi info-target-libffi
2461maybe-info-target-libffi:
2462
2463info-target-libffi: \
2464 configure-target-libffi
2465 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
2466 r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2468 $(SET_LIB_PATH) \
2469 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
2470 for flag in $(EXTRA_TARGET_FLAGS); do \
2471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2472 done; \
2473 (cd $(TARGET_SUBDIR)/libffi && \
2474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2476 "RANLIB=$${RANLIB}" \
2477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2478 info) \
2479 || exit 1
2480
2481
2482.PHONY: maybe-info-target-libjava info-target-libjava
2483maybe-info-target-libjava:
2484
2485info-target-libjava: \
2486 configure-target-libjava
2487 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
2488 r=`${PWD_COMMAND}`; export r; \
2489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2490 $(SET_LIB_PATH) \
2491 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
2492 for flag in $(EXTRA_TARGET_FLAGS); do \
2493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2494 done; \
2495 (cd $(TARGET_SUBDIR)/libjava && \
2496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2498 "RANLIB=$${RANLIB}" \
2499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2500 info) \
2501 || exit 1
2502
2503
2504.PHONY: maybe-info-target-zlib info-target-zlib
2505maybe-info-target-zlib:
2506
2507info-target-zlib: \
2508 configure-target-zlib
2509 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
2510 r=`${PWD_COMMAND}`; export r; \
2511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2512 $(SET_LIB_PATH) \
2513 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
2514 for flag in $(EXTRA_TARGET_FLAGS); do \
2515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2516 done; \
2517 (cd $(TARGET_SUBDIR)/zlib && \
2518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2520 "RANLIB=$${RANLIB}" \
2521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2522 info) \
2523 || exit 1
2524
2525
2526.PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
2527maybe-info-target-boehm-gc:
2528
2529info-target-boehm-gc: \
2530 configure-target-boehm-gc
2531 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
2532 r=`${PWD_COMMAND}`; export r; \
2533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2534 $(SET_LIB_PATH) \
2535 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
2536 for flag in $(EXTRA_TARGET_FLAGS); do \
2537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2538 done; \
2539 (cd $(TARGET_SUBDIR)/boehm-gc && \
2540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2542 "RANLIB=$${RANLIB}" \
2543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2544 info) \
2545 || exit 1
2546
2547
2548.PHONY: maybe-info-target-qthreads info-target-qthreads
2549maybe-info-target-qthreads:
2550
2551info-target-qthreads: \
2552 configure-target-qthreads
2553 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
2554 r=`${PWD_COMMAND}`; export r; \
2555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2556 $(SET_LIB_PATH) \
2557 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
2558 for flag in $(EXTRA_TARGET_FLAGS); do \
2559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2560 done; \
2561 (cd $(TARGET_SUBDIR)/qthreads && \
2562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2564 "RANLIB=$${RANLIB}" \
2565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2566 info) \
2567 || exit 1
2568
2569
2570.PHONY: maybe-info-target-rda info-target-rda
2571maybe-info-target-rda:
2572
2573info-target-rda: \
2574 configure-target-rda
2575 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
2576 r=`${PWD_COMMAND}`; export r; \
2577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2578 $(SET_LIB_PATH) \
2579 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
2580 for flag in $(EXTRA_TARGET_FLAGS); do \
2581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2582 done; \
2583 (cd $(TARGET_SUBDIR)/rda && \
2584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2586 "RANLIB=$${RANLIB}" \
2587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2588 info) \
2589 || exit 1
2590
2591
2592
2593.PHONY: do-dvi
2594do-dvi: dvi-host dvi-target
2595
2596.PHONY: dvi-host
2597dvi-host: maybe-dvi-gcc \
2598 maybe-dvi-ash \
2599 maybe-dvi-autoconf \
2600 maybe-dvi-automake \
2601 maybe-dvi-bash \
2602 maybe-dvi-bfd \
2603 maybe-dvi-opcodes \
2604 maybe-dvi-binutils \
2605 maybe-dvi-bison \
2606 maybe-dvi-byacc \
2607 maybe-dvi-bzip2 \
2608 maybe-dvi-dejagnu \
2609 maybe-dvi-diff \
2610 maybe-dvi-dosutils \
2611 maybe-dvi-etc \
2612 maybe-dvi-fastjar \
2613 maybe-dvi-fileutils \
2614 maybe-dvi-findutils \
2615 maybe-dvi-find \
2616 maybe-dvi-flex \
2617 maybe-dvi-gas \
2618 maybe-dvi-gawk \
2619 maybe-dvi-gettext \
2620 maybe-dvi-gnuserv \
2621 maybe-dvi-gprof \
2622 maybe-dvi-gzip \
2623 maybe-dvi-hello \
2624 maybe-dvi-indent \
2625 maybe-dvi-intl \
2626 maybe-dvi-tcl \
2627 maybe-dvi-itcl \
2628 maybe-dvi-ld \
2629 maybe-dvi-libgui \
2630 maybe-dvi-libiberty \
2631 maybe-dvi-libtool \
2632 maybe-dvi-m4 \
2633 maybe-dvi-make \
2634 maybe-dvi-mmalloc \
2635 maybe-dvi-patch \
2636 maybe-dvi-perl \
2637 maybe-dvi-prms \
2638 maybe-dvi-rcs \
2639 maybe-dvi-readline \
2640 maybe-dvi-release \
2641 maybe-dvi-recode \
2642 maybe-dvi-sed \
2643 maybe-dvi-send-pr \
2644 maybe-dvi-shellutils \
2645 maybe-dvi-sid \
2646 maybe-dvi-sim \
2647 maybe-dvi-tar \
2648 maybe-dvi-texinfo \
2649 maybe-dvi-textutils \
2650 maybe-dvi-time \
2651 maybe-dvi-uudecode \
2652 maybe-dvi-wdiff \
2653 maybe-dvi-zip \
2654 maybe-dvi-zlib \
2655 maybe-dvi-gdb \
2656 maybe-dvi-expect \
2657 maybe-dvi-guile \
2658 maybe-dvi-tk \
2659 maybe-dvi-tix \
2660 maybe-dvi-libtermcap \
2661 maybe-dvi-utils
2662
2663.PHONY: dvi-target
2664dvi-target: \
2665 maybe-dvi-target-libstdc++-v3 \
2666 maybe-dvi-target-newlib \
2667 maybe-dvi-target-libf2c \
2668 maybe-dvi-target-libobjc \
2669 maybe-dvi-target-libtermcap \
2670 maybe-dvi-target-winsup \
2671 maybe-dvi-target-libgloss \
2672 maybe-dvi-target-libiberty \
2673 maybe-dvi-target-gperf \
2674 maybe-dvi-target-examples \
2675 maybe-dvi-target-libffi \
2676 maybe-dvi-target-libjava \
2677 maybe-dvi-target-zlib \
2678 maybe-dvi-target-boehm-gc \
2679 maybe-dvi-target-qthreads \
2680 maybe-dvi-target-rda
2681
2682# GCC, the eternal special case
2683.PHONY: maybe-dvi-gcc dvi-gcc
2684maybe-dvi-gcc:
2685dvi-gcc: \
2686 configure-gcc
2687 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
2688 r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2690 $(SET_LIB_PATH) \
2691 for flag in $(EXTRA_GCC_FLAGS); do \
2692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2693 done; \
2694 echo "Doing dvi in gcc" ; \
2695 (cd gcc && \
2696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2698 "RANLIB=$${RANLIB}" \
2699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2700 dvi) \
2701 || exit 1
2702
2703# Host modules.
2704
2705.PHONY: maybe-dvi-ash dvi-ash
2706maybe-dvi-ash:
2707
2708dvi-ash: \
2709 configure-ash
2710 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
2711 r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2713 $(SET_LIB_PATH) \
2714 for flag in $(EXTRA_HOST_FLAGS); do \
2715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2716 done; \
2717 echo "Doing dvi in ash" ; \
2718 (cd ash && \
2719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2721 "RANLIB=$${RANLIB}" \
2722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2723 dvi) \
2724 || exit 1
2725
2726
2727.PHONY: maybe-dvi-autoconf dvi-autoconf
2728maybe-dvi-autoconf:
2729
2730dvi-autoconf: \
2731 configure-autoconf
2732 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
2733 r=`${PWD_COMMAND}`; export r; \
2734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2735 $(SET_LIB_PATH) \
2736 for flag in $(EXTRA_HOST_FLAGS); do \
2737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2738 done; \
2739 echo "Doing dvi in autoconf" ; \
2740 (cd autoconf && \
2741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2743 "RANLIB=$${RANLIB}" \
2744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2745 dvi) \
2746 || exit 1
2747
2748
2749.PHONY: maybe-dvi-automake dvi-automake
2750maybe-dvi-automake:
2751
2752dvi-automake: \
2753 configure-automake
2754 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
2755 r=`${PWD_COMMAND}`; export r; \
2756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2757 $(SET_LIB_PATH) \
2758 for flag in $(EXTRA_HOST_FLAGS); do \
2759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2760 done; \
2761 echo "Doing dvi in automake" ; \
2762 (cd automake && \
2763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2765 "RANLIB=$${RANLIB}" \
2766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2767 dvi) \
2768 || exit 1
2769
2770
2771.PHONY: maybe-dvi-bash dvi-bash
2772maybe-dvi-bash:
2773
2774dvi-bash: \
2775 configure-bash
2776 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
2777 r=`${PWD_COMMAND}`; export r; \
2778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2779 $(SET_LIB_PATH) \
2780 for flag in $(EXTRA_HOST_FLAGS); do \
2781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2782 done; \
2783 echo "Doing dvi in bash" ; \
2784 (cd bash && \
2785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2787 "RANLIB=$${RANLIB}" \
2788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2789 dvi) \
2790 || exit 1
2791
2792
2793.PHONY: maybe-dvi-bfd dvi-bfd
2794maybe-dvi-bfd:
2795
2796dvi-bfd: \
2797 configure-bfd
2798 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
2799 r=`${PWD_COMMAND}`; export r; \
2800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2801 $(SET_LIB_PATH) \
2802 for flag in $(EXTRA_HOST_FLAGS); do \
2803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2804 done; \
2805 echo "Doing dvi in bfd" ; \
2806 (cd bfd && \
2807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2809 "RANLIB=$${RANLIB}" \
2810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2811 dvi) \
2812 || exit 1
2813
2814
2815.PHONY: maybe-dvi-opcodes dvi-opcodes
2816maybe-dvi-opcodes:
2817
2818dvi-opcodes: \
2819 configure-opcodes
2820 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
2821 r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2823 $(SET_LIB_PATH) \
2824 for flag in $(EXTRA_HOST_FLAGS); do \
2825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2826 done; \
2827 echo "Doing dvi in opcodes" ; \
2828 (cd opcodes && \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2831 "RANLIB=$${RANLIB}" \
2832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2833 dvi) \
2834 || exit 1
2835
2836
2837.PHONY: maybe-dvi-binutils dvi-binutils
2838maybe-dvi-binutils:
2839
2840dvi-binutils: \
2841 configure-binutils
2842 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
2843 r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2845 $(SET_LIB_PATH) \
2846 for flag in $(EXTRA_HOST_FLAGS); do \
2847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2848 done; \
2849 echo "Doing dvi in binutils" ; \
2850 (cd binutils && \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2853 "RANLIB=$${RANLIB}" \
2854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2855 dvi) \
2856 || exit 1
2857
2858
2859.PHONY: maybe-dvi-bison dvi-bison
2860maybe-dvi-bison:
2861
2862dvi-bison: \
2863 configure-bison
2864 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
2865 r=`${PWD_COMMAND}`; export r; \
2866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2867 $(SET_LIB_PATH) \
2868 for flag in $(EXTRA_HOST_FLAGS); do \
2869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2870 done; \
2871 echo "Doing dvi in bison" ; \
2872 (cd bison && \
2873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2875 "RANLIB=$${RANLIB}" \
2876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2877 dvi) \
2878 || exit 1
2879
2880
2881.PHONY: maybe-dvi-byacc dvi-byacc
2882maybe-dvi-byacc:
2883
2884dvi-byacc: \
2885 configure-byacc
2886 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
2887 r=`${PWD_COMMAND}`; export r; \
2888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2889 $(SET_LIB_PATH) \
2890 for flag in $(EXTRA_HOST_FLAGS); do \
2891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2892 done; \
2893 echo "Doing dvi in byacc" ; \
2894 (cd byacc && \
2895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2897 "RANLIB=$${RANLIB}" \
2898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2899 dvi) \
2900 || exit 1
2901
2902
2903.PHONY: maybe-dvi-bzip2 dvi-bzip2
2904maybe-dvi-bzip2:
2905
2906dvi-bzip2: \
2907 configure-bzip2
2908 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
2909 r=`${PWD_COMMAND}`; export r; \
2910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2911 $(SET_LIB_PATH) \
2912 for flag in $(EXTRA_HOST_FLAGS); do \
2913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2914 done; \
2915 echo "Doing dvi in bzip2" ; \
2916 (cd bzip2 && \
2917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2919 "RANLIB=$${RANLIB}" \
2920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2921 dvi) \
2922 || exit 1
2923
2924
2925.PHONY: maybe-dvi-dejagnu dvi-dejagnu
2926maybe-dvi-dejagnu:
2927
2928dvi-dejagnu: \
2929 configure-dejagnu
2930 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
2931 r=`${PWD_COMMAND}`; export r; \
2932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2933 $(SET_LIB_PATH) \
2934 for flag in $(EXTRA_HOST_FLAGS); do \
2935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2936 done; \
2937 echo "Doing dvi in dejagnu" ; \
2938 (cd dejagnu && \
2939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2941 "RANLIB=$${RANLIB}" \
2942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2943 dvi) \
2944 || exit 1
2945
2946
2947.PHONY: maybe-dvi-diff dvi-diff
2948maybe-dvi-diff:
2949
2950dvi-diff: \
2951 configure-diff
2952 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
2953 r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2955 $(SET_LIB_PATH) \
2956 for flag in $(EXTRA_HOST_FLAGS); do \
2957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2958 done; \
2959 echo "Doing dvi in diff" ; \
2960 (cd diff && \
2961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2963 "RANLIB=$${RANLIB}" \
2964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2965 dvi) \
2966 || exit 1
2967
2968
2969.PHONY: maybe-dvi-dosutils dvi-dosutils
2970maybe-dvi-dosutils:
2971
2972dvi-dosutils: \
2973 configure-dosutils
2974 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
2975 r=`${PWD_COMMAND}`; export r; \
2976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2977 $(SET_LIB_PATH) \
2978 for flag in $(EXTRA_HOST_FLAGS); do \
2979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2980 done; \
2981 echo "Doing dvi in dosutils" ; \
2982 (cd dosutils && \
2983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2985 "RANLIB=$${RANLIB}" \
2986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2987 dvi) \
2988 || exit 1
2989
2990
2991.PHONY: maybe-dvi-etc dvi-etc
2992maybe-dvi-etc:
2993
2994dvi-etc: \
2995 configure-etc
2996 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
2997 r=`${PWD_COMMAND}`; export r; \
2998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
2999 $(SET_LIB_PATH) \
3000 for flag in $(EXTRA_HOST_FLAGS); do \
3001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3002 done; \
3003 echo "Doing dvi in etc" ; \
3004 (cd etc && \
3005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3007 "RANLIB=$${RANLIB}" \
3008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3009 dvi) \
3010 || exit 1
3011
3012
3013.PHONY: maybe-dvi-fastjar dvi-fastjar
3014maybe-dvi-fastjar:
3015
3016dvi-fastjar: \
3017 configure-fastjar
3018 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
3019 r=`${PWD_COMMAND}`; export r; \
3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3021 $(SET_LIB_PATH) \
3022 for flag in $(EXTRA_HOST_FLAGS); do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3024 done; \
3025 echo "Doing dvi in fastjar" ; \
3026 (cd fastjar && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3031 dvi) \
3032 || exit 1
3033
3034
3035.PHONY: maybe-dvi-fileutils dvi-fileutils
3036maybe-dvi-fileutils:
3037
3038dvi-fileutils: \
3039 configure-fileutils
3040 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
3041 r=`${PWD_COMMAND}`; export r; \
3042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3043 $(SET_LIB_PATH) \
3044 for flag in $(EXTRA_HOST_FLAGS); do \
3045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3046 done; \
3047 echo "Doing dvi in fileutils" ; \
3048 (cd fileutils && \
3049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3051 "RANLIB=$${RANLIB}" \
3052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3053 dvi) \
3054 || exit 1
3055
3056
3057.PHONY: maybe-dvi-findutils dvi-findutils
3058maybe-dvi-findutils:
3059
3060dvi-findutils: \
3061 configure-findutils
3062 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
3063 r=`${PWD_COMMAND}`; export r; \
3064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3065 $(SET_LIB_PATH) \
3066 for flag in $(EXTRA_HOST_FLAGS); do \
3067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3068 done; \
3069 echo "Doing dvi in findutils" ; \
3070 (cd findutils && \
3071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3073 "RANLIB=$${RANLIB}" \
3074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3075 dvi) \
3076 || exit 1
3077
3078
3079.PHONY: maybe-dvi-find dvi-find
3080maybe-dvi-find:
3081
3082dvi-find: \
3083 configure-find
3084 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
3085 r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3087 $(SET_LIB_PATH) \
3088 for flag in $(EXTRA_HOST_FLAGS); do \
3089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3090 done; \
3091 echo "Doing dvi in find" ; \
3092 (cd find && \
3093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3095 "RANLIB=$${RANLIB}" \
3096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3097 dvi) \
3098 || exit 1
3099
3100
3101.PHONY: maybe-dvi-flex dvi-flex
3102maybe-dvi-flex:
3103
3104dvi-flex: \
3105 configure-flex
3106 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
3107 r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3109 $(SET_LIB_PATH) \
3110 for flag in $(EXTRA_HOST_FLAGS); do \
3111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3112 done; \
3113 echo "Doing dvi in flex" ; \
3114 (cd flex && \
3115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3117 "RANLIB=$${RANLIB}" \
3118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3119 dvi) \
3120 || exit 1
3121
3122
3123.PHONY: maybe-dvi-gas dvi-gas
3124maybe-dvi-gas:
3125
3126dvi-gas: \
3127 configure-gas
3128 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
3129 r=`${PWD_COMMAND}`; export r; \
3130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3131 $(SET_LIB_PATH) \
3132 for flag in $(EXTRA_HOST_FLAGS); do \
3133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3134 done; \
3135 echo "Doing dvi in gas" ; \
3136 (cd gas && \
3137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3139 "RANLIB=$${RANLIB}" \
3140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3141 dvi) \
3142 || exit 1
3143
3144
3145.PHONY: maybe-dvi-gawk dvi-gawk
3146maybe-dvi-gawk:
3147
3148dvi-gawk: \
3149 configure-gawk
3150 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
3151 r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3153 $(SET_LIB_PATH) \
3154 for flag in $(EXTRA_HOST_FLAGS); do \
3155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3156 done; \
3157 echo "Doing dvi in gawk" ; \
3158 (cd gawk && \
3159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3161 "RANLIB=$${RANLIB}" \
3162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3163 dvi) \
3164 || exit 1
3165
3166
3167.PHONY: maybe-dvi-gettext dvi-gettext
3168maybe-dvi-gettext:
3169
3170dvi-gettext: \
3171 configure-gettext
3172 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
3173 r=`${PWD_COMMAND}`; export r; \
3174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3175 $(SET_LIB_PATH) \
3176 for flag in $(EXTRA_HOST_FLAGS); do \
3177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3178 done; \
3179 echo "Doing dvi in gettext" ; \
3180 (cd gettext && \
3181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3183 "RANLIB=$${RANLIB}" \
3184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3185 dvi) \
3186 || exit 1
3187
3188
3189.PHONY: maybe-dvi-gnuserv dvi-gnuserv
3190maybe-dvi-gnuserv:
3191
3192dvi-gnuserv: \
3193 configure-gnuserv
3194 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
3195 r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3197 $(SET_LIB_PATH) \
3198 for flag in $(EXTRA_HOST_FLAGS); do \
3199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3200 done; \
3201 echo "Doing dvi in gnuserv" ; \
3202 (cd gnuserv && \
3203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3205 "RANLIB=$${RANLIB}" \
3206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3207 dvi) \
3208 || exit 1
3209
3210
3211.PHONY: maybe-dvi-gprof dvi-gprof
3212maybe-dvi-gprof:
3213
3214dvi-gprof: \
3215 configure-gprof
3216 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3219 $(SET_LIB_PATH) \
3220 for flag in $(EXTRA_HOST_FLAGS); do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing dvi in gprof" ; \
3224 (cd gprof && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 dvi) \
3230 || exit 1
3231
3232
3233.PHONY: maybe-dvi-gzip dvi-gzip
3234maybe-dvi-gzip:
3235
3236dvi-gzip: \
3237 configure-gzip
3238 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
3239 r=`${PWD_COMMAND}`; export r; \
3240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3241 $(SET_LIB_PATH) \
3242 for flag in $(EXTRA_HOST_FLAGS); do \
3243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3244 done; \
3245 echo "Doing dvi in gzip" ; \
3246 (cd gzip && \
3247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3249 "RANLIB=$${RANLIB}" \
3250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3251 dvi) \
3252 || exit 1
3253
3254
3255.PHONY: maybe-dvi-hello dvi-hello
3256maybe-dvi-hello:
3257
3258dvi-hello: \
3259 configure-hello
3260 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
3261 r=`${PWD_COMMAND}`; export r; \
3262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3263 $(SET_LIB_PATH) \
3264 for flag in $(EXTRA_HOST_FLAGS); do \
3265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3266 done; \
3267 echo "Doing dvi in hello" ; \
3268 (cd hello && \
3269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3271 "RANLIB=$${RANLIB}" \
3272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3273 dvi) \
3274 || exit 1
3275
3276
3277.PHONY: maybe-dvi-indent dvi-indent
3278maybe-dvi-indent:
3279
3280dvi-indent: \
3281 configure-indent
3282 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
3283 r=`${PWD_COMMAND}`; export r; \
3284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3285 $(SET_LIB_PATH) \
3286 for flag in $(EXTRA_HOST_FLAGS); do \
3287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3288 done; \
3289 echo "Doing dvi in indent" ; \
3290 (cd indent && \
3291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3293 "RANLIB=$${RANLIB}" \
3294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3295 dvi) \
3296 || exit 1
3297
3298
3299.PHONY: maybe-dvi-intl dvi-intl
3300maybe-dvi-intl:
3301
3302dvi-intl: \
3303 configure-intl
3304 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
3305 r=`${PWD_COMMAND}`; export r; \
3306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3307 $(SET_LIB_PATH) \
3308 for flag in $(EXTRA_HOST_FLAGS); do \
3309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3310 done; \
3311 echo "Doing dvi in intl" ; \
3312 (cd intl && \
3313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3315 "RANLIB=$${RANLIB}" \
3316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3317 dvi) \
3318 || exit 1
3319
3320
3321.PHONY: maybe-dvi-tcl dvi-tcl
3322maybe-dvi-tcl:
3323
3324dvi-tcl: \
3325 configure-tcl
3326 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3329 $(SET_LIB_PATH) \
3330 for flag in $(EXTRA_HOST_FLAGS); do \
3331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3332 done; \
3333 echo "Doing dvi in tcl" ; \
3334 (cd tcl && \
3335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3337 "RANLIB=$${RANLIB}" \
3338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3339 dvi) \
3340 || exit 1
3341
3342
3343.PHONY: maybe-dvi-itcl dvi-itcl
3344maybe-dvi-itcl:
3345
3346dvi-itcl: \
3347 configure-itcl
3348 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3351 $(SET_LIB_PATH) \
3352 for flag in $(EXTRA_HOST_FLAGS); do \
3353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354 done; \
3355 echo "Doing dvi in itcl" ; \
3356 (cd itcl && \
3357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3359 "RANLIB=$${RANLIB}" \
3360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3361 dvi) \
3362 || exit 1
3363
3364
3365.PHONY: maybe-dvi-ld dvi-ld
3366maybe-dvi-ld:
3367
3368dvi-ld: \
3369 configure-ld
3370 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
3371 r=`${PWD_COMMAND}`; export r; \
3372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3373 $(SET_LIB_PATH) \
3374 for flag in $(EXTRA_HOST_FLAGS); do \
3375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3376 done; \
3377 echo "Doing dvi in ld" ; \
3378 (cd ld && \
3379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3381 "RANLIB=$${RANLIB}" \
3382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3383 dvi) \
3384 || exit 1
3385
3386
3387.PHONY: maybe-dvi-libgui dvi-libgui
3388maybe-dvi-libgui:
3389
3390dvi-libgui: \
3391 configure-libgui
3392 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
3393 r=`${PWD_COMMAND}`; export r; \
3394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3395 $(SET_LIB_PATH) \
3396 for flag in $(EXTRA_HOST_FLAGS); do \
3397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3398 done; \
3399 echo "Doing dvi in libgui" ; \
3400 (cd libgui && \
3401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3403 "RANLIB=$${RANLIB}" \
3404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3405 dvi) \
3406 || exit 1
3407
3408
3409.PHONY: maybe-dvi-libiberty dvi-libiberty
3410maybe-dvi-libiberty:
3411
3412dvi-libiberty: \
3413 configure-libiberty
3414 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
3415 r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3417 $(SET_LIB_PATH) \
3418 for flag in $(EXTRA_HOST_FLAGS); do \
3419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3420 done; \
3421 echo "Doing dvi in libiberty" ; \
3422 (cd libiberty && \
3423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3425 "RANLIB=$${RANLIB}" \
3426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3427 dvi) \
3428 || exit 1
3429
3430
3431.PHONY: maybe-dvi-libtool dvi-libtool
3432maybe-dvi-libtool:
3433
3434dvi-libtool: \
3435 configure-libtool
3436 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3439 $(SET_LIB_PATH) \
3440 for flag in $(EXTRA_HOST_FLAGS); do \
3441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3442 done; \
3443 echo "Doing dvi in libtool" ; \
3444 (cd libtool && \
3445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3447 "RANLIB=$${RANLIB}" \
3448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3449 dvi) \
3450 || exit 1
3451
3452
3453.PHONY: maybe-dvi-m4 dvi-m4
3454maybe-dvi-m4:
3455
3456dvi-m4: \
3457 configure-m4
3458 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
3459 r=`${PWD_COMMAND}`; export r; \
3460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3461 $(SET_LIB_PATH) \
3462 for flag in $(EXTRA_HOST_FLAGS); do \
3463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3464 done; \
3465 echo "Doing dvi in m4" ; \
3466 (cd m4 && \
3467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3469 "RANLIB=$${RANLIB}" \
3470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3471 dvi) \
3472 || exit 1
3473
3474
3475.PHONY: maybe-dvi-make dvi-make
3476maybe-dvi-make:
3477
3478dvi-make: \
3479 configure-make
3480 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
3481 r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3483 $(SET_LIB_PATH) \
3484 for flag in $(EXTRA_HOST_FLAGS); do \
3485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3486 done; \
3487 echo "Doing dvi in make" ; \
3488 (cd make && \
3489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3491 "RANLIB=$${RANLIB}" \
3492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3493 dvi) \
3494 || exit 1
3495
3496
3497.PHONY: maybe-dvi-mmalloc dvi-mmalloc
3498maybe-dvi-mmalloc:
3499
3500dvi-mmalloc: \
3501 configure-mmalloc
3502 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
3503 r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3505 $(SET_LIB_PATH) \
3506 for flag in $(EXTRA_HOST_FLAGS); do \
3507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3508 done; \
3509 echo "Doing dvi in mmalloc" ; \
3510 (cd mmalloc && \
3511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3513 "RANLIB=$${RANLIB}" \
3514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3515 dvi) \
3516 || exit 1
3517
3518
3519.PHONY: maybe-dvi-patch dvi-patch
3520maybe-dvi-patch:
3521
3522dvi-patch: \
3523 configure-patch
3524 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3527 $(SET_LIB_PATH) \
3528 for flag in $(EXTRA_HOST_FLAGS); do \
3529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3530 done; \
3531 echo "Doing dvi in patch" ; \
3532 (cd patch && \
3533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3535 "RANLIB=$${RANLIB}" \
3536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3537 dvi) \
3538 || exit 1
3539
3540
3541.PHONY: maybe-dvi-perl dvi-perl
3542maybe-dvi-perl:
3543
3544dvi-perl: \
3545 configure-perl
3546 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
3547 r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3549 $(SET_LIB_PATH) \
3550 for flag in $(EXTRA_HOST_FLAGS); do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3552 done; \
3553 echo "Doing dvi in perl" ; \
3554 (cd perl && \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3559 dvi) \
3560 || exit 1
3561
3562
3563.PHONY: maybe-dvi-prms dvi-prms
3564maybe-dvi-prms:
3565
3566dvi-prms: \
3567 configure-prms
3568 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3571 $(SET_LIB_PATH) \
3572 for flag in $(EXTRA_HOST_FLAGS); do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3574 done; \
3575 echo "Doing dvi in prms" ; \
3576 (cd prms && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3581 dvi) \
3582 || exit 1
3583
3584
3585.PHONY: maybe-dvi-rcs dvi-rcs
3586maybe-dvi-rcs:
3587
3588dvi-rcs: \
3589 configure-rcs
3590 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
3591 r=`${PWD_COMMAND}`; export r; \
3592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3593 $(SET_LIB_PATH) \
3594 for flag in $(EXTRA_HOST_FLAGS); do \
3595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3596 done; \
3597 echo "Doing dvi in rcs" ; \
3598 (cd rcs && \
3599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3601 "RANLIB=$${RANLIB}" \
3602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3603 dvi) \
3604 || exit 1
3605
3606
3607.PHONY: maybe-dvi-readline dvi-readline
3608maybe-dvi-readline:
3609
3610dvi-readline: \
3611 configure-readline
3612 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
3613 r=`${PWD_COMMAND}`; export r; \
3614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3615 $(SET_LIB_PATH) \
3616 for flag in $(EXTRA_HOST_FLAGS); do \
3617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3618 done; \
3619 echo "Doing dvi in readline" ; \
3620 (cd readline && \
3621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3623 "RANLIB=$${RANLIB}" \
3624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3625 dvi) \
3626 || exit 1
3627
3628
3629.PHONY: maybe-dvi-release dvi-release
3630maybe-dvi-release:
3631
3632dvi-release: \
3633 configure-release
3634 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
3635 r=`${PWD_COMMAND}`; export r; \
3636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3637 $(SET_LIB_PATH) \
3638 for flag in $(EXTRA_HOST_FLAGS); do \
3639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640 done; \
3641 echo "Doing dvi in release" ; \
3642 (cd release && \
3643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3645 "RANLIB=$${RANLIB}" \
3646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3647 dvi) \
3648 || exit 1
3649
3650
3651.PHONY: maybe-dvi-recode dvi-recode
3652maybe-dvi-recode:
3653
3654dvi-recode: \
3655 configure-recode
3656 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
3657 r=`${PWD_COMMAND}`; export r; \
3658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3659 $(SET_LIB_PATH) \
3660 for flag in $(EXTRA_HOST_FLAGS); do \
3661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3662 done; \
3663 echo "Doing dvi in recode" ; \
3664 (cd recode && \
3665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3667 "RANLIB=$${RANLIB}" \
3668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3669 dvi) \
3670 || exit 1
3671
3672
3673.PHONY: maybe-dvi-sed dvi-sed
3674maybe-dvi-sed:
3675
3676dvi-sed: \
3677 configure-sed
3678 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
3679 r=`${PWD_COMMAND}`; export r; \
3680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3681 $(SET_LIB_PATH) \
3682 for flag in $(EXTRA_HOST_FLAGS); do \
3683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3684 done; \
3685 echo "Doing dvi in sed" ; \
3686 (cd sed && \
3687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3689 "RANLIB=$${RANLIB}" \
3690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3691 dvi) \
3692 || exit 1
3693
3694
3695.PHONY: maybe-dvi-send-pr dvi-send-pr
3696maybe-dvi-send-pr:
3697
3698dvi-send-pr: \
3699 configure-send-pr
3700 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3703 $(SET_LIB_PATH) \
3704 for flag in $(EXTRA_HOST_FLAGS); do \
3705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 done; \
3707 echo "Doing dvi in send-pr" ; \
3708 (cd send-pr && \
3709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3711 "RANLIB=$${RANLIB}" \
3712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3713 dvi) \
3714 || exit 1
3715
3716
3717.PHONY: maybe-dvi-shellutils dvi-shellutils
3718maybe-dvi-shellutils:
3719
3720dvi-shellutils: \
3721 configure-shellutils
3722 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3725 $(SET_LIB_PATH) \
3726 for flag in $(EXTRA_HOST_FLAGS); do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing dvi in shellutils" ; \
3730 (cd shellutils && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3735 dvi) \
3736 || exit 1
3737
3738
3739.PHONY: maybe-dvi-sid dvi-sid
3740maybe-dvi-sid:
3741
3742dvi-sid: \
3743 configure-sid
3744 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
3745 r=`${PWD_COMMAND}`; export r; \
3746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3747 $(SET_LIB_PATH) \
3748 for flag in $(EXTRA_HOST_FLAGS); do \
3749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3750 done; \
3751 echo "Doing dvi in sid" ; \
3752 (cd sid && \
3753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3755 "RANLIB=$${RANLIB}" \
3756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3757 dvi) \
3758 || exit 1
3759
3760
3761.PHONY: maybe-dvi-sim dvi-sim
3762maybe-dvi-sim:
3763
3764dvi-sim: \
3765 configure-sim
3766 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
3767 r=`${PWD_COMMAND}`; export r; \
3768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3769 $(SET_LIB_PATH) \
3770 for flag in $(EXTRA_HOST_FLAGS); do \
3771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3772 done; \
3773 echo "Doing dvi in sim" ; \
3774 (cd sim && \
3775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3777 "RANLIB=$${RANLIB}" \
3778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3779 dvi) \
3780 || exit 1
3781
3782
3783.PHONY: maybe-dvi-tar dvi-tar
3784maybe-dvi-tar:
3785
3786dvi-tar: \
3787 configure-tar
3788 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
3789 r=`${PWD_COMMAND}`; export r; \
3790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3791 $(SET_LIB_PATH) \
3792 for flag in $(EXTRA_HOST_FLAGS); do \
3793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3794 done; \
3795 echo "Doing dvi in tar" ; \
3796 (cd tar && \
3797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3799 "RANLIB=$${RANLIB}" \
3800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3801 dvi) \
3802 || exit 1
3803
3804
3805.PHONY: maybe-dvi-texinfo dvi-texinfo
3806maybe-dvi-texinfo:
3807
3808dvi-texinfo: \
3809 configure-texinfo
3810 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
3811 r=`${PWD_COMMAND}`; export r; \
3812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3813 $(SET_LIB_PATH) \
3814 for flag in $(EXTRA_HOST_FLAGS); do \
3815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3816 done; \
3817 echo "Doing dvi in texinfo" ; \
3818 (cd texinfo && \
3819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3821 "RANLIB=$${RANLIB}" \
3822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3823 dvi) \
3824 || exit 1
3825
3826
3827.PHONY: maybe-dvi-textutils dvi-textutils
3828maybe-dvi-textutils:
3829
3830dvi-textutils: \
3831 configure-textutils
3832 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
3833 r=`${PWD_COMMAND}`; export r; \
3834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3835 $(SET_LIB_PATH) \
3836 for flag in $(EXTRA_HOST_FLAGS); do \
3837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3838 done; \
3839 echo "Doing dvi in textutils" ; \
3840 (cd textutils && \
3841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3843 "RANLIB=$${RANLIB}" \
3844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3845 dvi) \
3846 || exit 1
3847
3848
3849.PHONY: maybe-dvi-time dvi-time
3850maybe-dvi-time:
3851
3852dvi-time: \
3853 configure-time
3854 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3857 $(SET_LIB_PATH) \
3858 for flag in $(EXTRA_HOST_FLAGS); do \
3859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3860 done; \
3861 echo "Doing dvi in time" ; \
3862 (cd time && \
3863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3865 "RANLIB=$${RANLIB}" \
3866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3867 dvi) \
3868 || exit 1
3869
3870
3871.PHONY: maybe-dvi-uudecode dvi-uudecode
3872maybe-dvi-uudecode:
3873
3874dvi-uudecode: \
3875 configure-uudecode
3876 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
3877 r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3879 $(SET_LIB_PATH) \
3880 for flag in $(EXTRA_HOST_FLAGS); do \
3881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 done; \
3883 echo "Doing dvi in uudecode" ; \
3884 (cd uudecode && \
3885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3887 "RANLIB=$${RANLIB}" \
3888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3889 dvi) \
3890 || exit 1
3891
3892
3893.PHONY: maybe-dvi-wdiff dvi-wdiff
3894maybe-dvi-wdiff:
3895
3896dvi-wdiff: \
3897 configure-wdiff
3898 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
3899 r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3901 $(SET_LIB_PATH) \
3902 for flag in $(EXTRA_HOST_FLAGS); do \
3903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3904 done; \
3905 echo "Doing dvi in wdiff" ; \
3906 (cd wdiff && \
3907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3909 "RANLIB=$${RANLIB}" \
3910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3911 dvi) \
3912 || exit 1
3913
3914
3915.PHONY: maybe-dvi-zip dvi-zip
3916maybe-dvi-zip:
3917
3918dvi-zip: \
3919 configure-zip
3920 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
3921 r=`${PWD_COMMAND}`; export r; \
3922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3923 $(SET_LIB_PATH) \
3924 for flag in $(EXTRA_HOST_FLAGS); do \
3925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3926 done; \
3927 echo "Doing dvi in zip" ; \
3928 (cd zip && \
3929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3931 "RANLIB=$${RANLIB}" \
3932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3933 dvi) \
3934 || exit 1
3935
3936
3937.PHONY: maybe-dvi-zlib dvi-zlib
3938maybe-dvi-zlib:
3939
3940dvi-zlib: \
3941 configure-zlib
3942 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
3943 r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3945 $(SET_LIB_PATH) \
3946 for flag in $(EXTRA_HOST_FLAGS); do \
3947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3948 done; \
3949 echo "Doing dvi in zlib" ; \
3950 (cd zlib && \
3951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3953 "RANLIB=$${RANLIB}" \
3954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3955 dvi) \
3956 || exit 1
3957
3958
3959.PHONY: maybe-dvi-gdb dvi-gdb
3960maybe-dvi-gdb:
3961
3962dvi-gdb: \
3963 configure-gdb
3964 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
3965 r=`${PWD_COMMAND}`; export r; \
3966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3967 $(SET_LIB_PATH) \
3968 for flag in $(EXTRA_HOST_FLAGS); do \
3969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3970 done; \
3971 echo "Doing dvi in gdb" ; \
3972 (cd gdb && \
3973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3975 "RANLIB=$${RANLIB}" \
3976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3977 dvi) \
3978 || exit 1
3979
3980
3981.PHONY: maybe-dvi-expect dvi-expect
3982maybe-dvi-expect:
3983
3984dvi-expect: \
3985 configure-expect
3986 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
3989 $(SET_LIB_PATH) \
3990 for flag in $(EXTRA_HOST_FLAGS); do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing dvi in expect" ; \
3994 (cd expect && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3999 dvi) \
4000 || exit 1
4001
4002
4003.PHONY: maybe-dvi-guile dvi-guile
4004maybe-dvi-guile:
4005
4006dvi-guile: \
4007 configure-guile
4008 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
4009 r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4011 $(SET_LIB_PATH) \
4012 for flag in $(EXTRA_HOST_FLAGS); do \
4013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014 done; \
4015 echo "Doing dvi in guile" ; \
4016 (cd guile && \
4017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4019 "RANLIB=$${RANLIB}" \
4020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4021 dvi) \
4022 || exit 1
4023
4024
4025.PHONY: maybe-dvi-tk dvi-tk
4026maybe-dvi-tk:
4027
4028dvi-tk: \
4029 configure-tk
4030 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
4031 r=`${PWD_COMMAND}`; export r; \
4032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4033 $(SET_LIB_PATH) \
4034 for flag in $(EXTRA_HOST_FLAGS); do \
4035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036 done; \
4037 echo "Doing dvi in tk" ; \
4038 (cd tk && \
4039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4041 "RANLIB=$${RANLIB}" \
4042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4043 dvi) \
4044 || exit 1
4045
4046
4047.PHONY: maybe-dvi-tix dvi-tix
4048maybe-dvi-tix:
4049
4050dvi-tix: \
4051 configure-tix
4052 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4055 $(SET_LIB_PATH) \
4056 for flag in $(EXTRA_HOST_FLAGS); do \
4057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4058 done; \
4059 echo "Doing dvi in tix" ; \
4060 (cd tix && \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4063 "RANLIB=$${RANLIB}" \
4064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4065 dvi) \
4066 || exit 1
4067
4068
4069.PHONY: maybe-dvi-libtermcap dvi-libtermcap
4070maybe-dvi-libtermcap:
4071
4072dvi-libtermcap: \
4073 configure-libtermcap
4074 @[ -f ./libtermcap/Makefile ] || exit 0; \
8c90b13a
L
4075 r=`${PWD_COMMAND}`; export r; \
4076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4077 $(SET_LIB_PATH) \
4078 for flag in $(EXTRA_HOST_FLAGS); do \
4079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4080 done; \
4081 echo "Doing dvi in libtermcap" ; \
4082 (cd libtermcap && \
4083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4085 "RANLIB=$${RANLIB}" \
4086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4087 dvi) \
4088 || exit 1
4089
4090
4091.PHONY: maybe-dvi-utils dvi-utils
4092maybe-dvi-utils:
4093
4094dvi-utils: \
4095 configure-utils
4096 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
4097 r=`${PWD_COMMAND}`; export r; \
4098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4099 $(SET_LIB_PATH) \
4100 for flag in $(EXTRA_HOST_FLAGS); do \
4101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4102 done; \
4103 echo "Doing dvi in utils" ; \
4104 (cd utils && \
4105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4107 "RANLIB=$${RANLIB}" \
4108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4109 dvi) \
4110 || exit 1
4111
4112
4113
4114# Target modules.
4115
4116.PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
4117maybe-dvi-target-libstdc++-v3:
4118
4119dvi-target-libstdc++-v3: \
4120 configure-target-libstdc++-v3
4121 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
4122 r=`${PWD_COMMAND}`; export r; \
4123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4124 $(SET_LIB_PATH) \
4125 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
4126 for flag in $(EXTRA_TARGET_FLAGS); do \
4127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4128 done; \
4129 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
4130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4132 "RANLIB=$${RANLIB}" \
4133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4134 dvi) \
4135 || exit 1
4136
4137
4138.PHONY: maybe-dvi-target-newlib dvi-target-newlib
4139maybe-dvi-target-newlib:
4140
4141dvi-target-newlib: \
4142 configure-target-newlib
4143 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
4144 r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4146 $(SET_LIB_PATH) \
4147 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
4148 for flag in $(EXTRA_TARGET_FLAGS); do \
4149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4150 done; \
4151 (cd $(TARGET_SUBDIR)/newlib && \
4152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4154 "RANLIB=$${RANLIB}" \
4155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4156 dvi) \
4157 || exit 1
4158
4159
4160.PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
4161maybe-dvi-target-libf2c:
4162
4163dvi-target-libf2c: \
4164 configure-target-libf2c
4165 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
4166 r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4168 $(SET_LIB_PATH) \
4169 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
4170 for flag in $(EXTRA_TARGET_FLAGS); do \
4171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4172 done; \
4173 (cd $(TARGET_SUBDIR)/libf2c && \
4174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4176 "RANLIB=$${RANLIB}" \
4177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4178 dvi) \
4179 || exit 1
4180
4181
4182.PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
4183maybe-dvi-target-libobjc:
4184
4185dvi-target-libobjc: \
4186 configure-target-libobjc
4187 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
4188 r=`${PWD_COMMAND}`; export r; \
4189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4190 $(SET_LIB_PATH) \
4191 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
4192 for flag in $(EXTRA_TARGET_FLAGS); do \
4193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4194 done; \
4195 (cd $(TARGET_SUBDIR)/libobjc && \
4196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4198 "RANLIB=$${RANLIB}" \
4199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4200 dvi) \
4201 || exit 1
4202
4203
4204.PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
4205maybe-dvi-target-libtermcap:
4206
4207dvi-target-libtermcap: \
4208 configure-target-libtermcap
4209 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8c90b13a
L
4210 r=`${PWD_COMMAND}`; export r; \
4211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4212 $(SET_LIB_PATH) \
4213 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
4214 for flag in $(EXTRA_TARGET_FLAGS); do \
4215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4216 done; \
4217 (cd $(TARGET_SUBDIR)/libtermcap && \
4218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4220 "RANLIB=$${RANLIB}" \
4221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4222 dvi) \
4223 || exit 1
4224
4225
4226.PHONY: maybe-dvi-target-winsup dvi-target-winsup
4227maybe-dvi-target-winsup:
4228
4229dvi-target-winsup: \
4230 configure-target-winsup
4231 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4234 $(SET_LIB_PATH) \
4235 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
4236 for flag in $(EXTRA_TARGET_FLAGS); do \
4237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4238 done; \
4239 (cd $(TARGET_SUBDIR)/winsup && \
4240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4242 "RANLIB=$${RANLIB}" \
4243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4244 dvi) \
4245 || exit 1
4246
4247
4248.PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
4249maybe-dvi-target-libgloss:
4250
4251dvi-target-libgloss: \
4252 configure-target-libgloss
4253 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
4254 r=`${PWD_COMMAND}`; export r; \
4255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4256 $(SET_LIB_PATH) \
4257 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
4258 for flag in $(EXTRA_TARGET_FLAGS); do \
4259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4260 done; \
4261 (cd $(TARGET_SUBDIR)/libgloss && \
4262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4264 "RANLIB=$${RANLIB}" \
4265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4266 dvi) \
4267 || exit 1
4268
4269
4270.PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
4271maybe-dvi-target-libiberty:
4272
4273dvi-target-libiberty: \
4274 configure-target-libiberty
4275 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
4276 r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4278 $(SET_LIB_PATH) \
4279 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
4280 for flag in $(EXTRA_TARGET_FLAGS); do \
4281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4282 done; \
4283 (cd $(TARGET_SUBDIR)/libiberty && \
4284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4286 "RANLIB=$${RANLIB}" \
4287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4288 dvi) \
4289 || exit 1
4290
4291
4292.PHONY: maybe-dvi-target-gperf dvi-target-gperf
4293maybe-dvi-target-gperf:
4294
4295dvi-target-gperf: \
4296 configure-target-gperf
4297 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
4298 r=`${PWD_COMMAND}`; export r; \
4299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4300 $(SET_LIB_PATH) \
4301 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
4302 for flag in $(EXTRA_TARGET_FLAGS); do \
4303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4304 done; \
4305 (cd $(TARGET_SUBDIR)/gperf && \
4306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4308 "RANLIB=$${RANLIB}" \
4309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4310 dvi) \
4311 || exit 1
4312
4313
4314.PHONY: maybe-dvi-target-examples dvi-target-examples
4315maybe-dvi-target-examples:
4316
4317dvi-target-examples: \
4318 configure-target-examples
4319 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
4320 r=`${PWD_COMMAND}`; export r; \
4321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4322 $(SET_LIB_PATH) \
4323 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
4324 for flag in $(EXTRA_TARGET_FLAGS); do \
4325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4326 done; \
4327 (cd $(TARGET_SUBDIR)/examples && \
4328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4330 "RANLIB=$${RANLIB}" \
4331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4332 dvi) \
4333 || exit 1
4334
4335
4336.PHONY: maybe-dvi-target-libffi dvi-target-libffi
4337maybe-dvi-target-libffi:
4338
4339dvi-target-libffi: \
4340 configure-target-libffi
4341 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
4342 r=`${PWD_COMMAND}`; export r; \
4343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4344 $(SET_LIB_PATH) \
4345 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
4346 for flag in $(EXTRA_TARGET_FLAGS); do \
4347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4348 done; \
4349 (cd $(TARGET_SUBDIR)/libffi && \
4350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4352 "RANLIB=$${RANLIB}" \
4353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4354 dvi) \
4355 || exit 1
4356
4357
4358.PHONY: maybe-dvi-target-libjava dvi-target-libjava
4359maybe-dvi-target-libjava:
4360
4361dvi-target-libjava: \
4362 configure-target-libjava
4363 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
4364 r=`${PWD_COMMAND}`; export r; \
4365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4366 $(SET_LIB_PATH) \
4367 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
4368 for flag in $(EXTRA_TARGET_FLAGS); do \
4369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4370 done; \
4371 (cd $(TARGET_SUBDIR)/libjava && \
4372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4374 "RANLIB=$${RANLIB}" \
4375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4376 dvi) \
4377 || exit 1
4378
4379
4380.PHONY: maybe-dvi-target-zlib dvi-target-zlib
4381maybe-dvi-target-zlib:
4382
4383dvi-target-zlib: \
4384 configure-target-zlib
4385 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
4386 r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4388 $(SET_LIB_PATH) \
4389 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
4390 for flag in $(EXTRA_TARGET_FLAGS); do \
4391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4392 done; \
4393 (cd $(TARGET_SUBDIR)/zlib && \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4398 dvi) \
4399 || exit 1
4400
4401
4402.PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
4403maybe-dvi-target-boehm-gc:
4404
4405dvi-target-boehm-gc: \
4406 configure-target-boehm-gc
4407 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
4408 r=`${PWD_COMMAND}`; export r; \
4409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4410 $(SET_LIB_PATH) \
4411 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
4412 for flag in $(EXTRA_TARGET_FLAGS); do \
4413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4414 done; \
4415 (cd $(TARGET_SUBDIR)/boehm-gc && \
4416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4418 "RANLIB=$${RANLIB}" \
4419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4420 dvi) \
4421 || exit 1
4422
4423
4424.PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
4425maybe-dvi-target-qthreads:
4426
4427dvi-target-qthreads: \
4428 configure-target-qthreads
4429 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
4430 r=`${PWD_COMMAND}`; export r; \
4431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4432 $(SET_LIB_PATH) \
4433 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
4434 for flag in $(EXTRA_TARGET_FLAGS); do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 (cd $(TARGET_SUBDIR)/qthreads && \
4438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4440 "RANLIB=$${RANLIB}" \
4441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4442 dvi) \
4443 || exit 1
4444
4445
4446.PHONY: maybe-dvi-target-rda dvi-target-rda
4447maybe-dvi-target-rda:
4448
4449dvi-target-rda: \
4450 configure-target-rda
4451 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4454 $(SET_LIB_PATH) \
4455 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
4456 for flag in $(EXTRA_TARGET_FLAGS); do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 (cd $(TARGET_SUBDIR)/rda && \
4460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4462 "RANLIB=$${RANLIB}" \
4463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4464 dvi) \
4465 || exit 1
4466
4467
4468
4469.PHONY: do-TAGS
4470do-TAGS: TAGS-host TAGS-target
4471
4472.PHONY: TAGS-host
4473TAGS-host: maybe-TAGS-gcc \
4474 maybe-TAGS-ash \
4475 maybe-TAGS-autoconf \
4476 maybe-TAGS-automake \
4477 maybe-TAGS-bash \
4478 maybe-TAGS-bfd \
4479 maybe-TAGS-opcodes \
4480 maybe-TAGS-binutils \
4481 maybe-TAGS-bison \
4482 maybe-TAGS-byacc \
4483 maybe-TAGS-bzip2 \
4484 maybe-TAGS-dejagnu \
4485 maybe-TAGS-diff \
4486 maybe-TAGS-dosutils \
4487 maybe-TAGS-etc \
4488 maybe-TAGS-fastjar \
4489 maybe-TAGS-fileutils \
4490 maybe-TAGS-findutils \
4491 maybe-TAGS-find \
4492 maybe-TAGS-flex \
4493 maybe-TAGS-gas \
4494 maybe-TAGS-gawk \
4495 maybe-TAGS-gettext \
4496 maybe-TAGS-gnuserv \
4497 maybe-TAGS-gprof \
4498 maybe-TAGS-gzip \
4499 maybe-TAGS-hello \
4500 maybe-TAGS-indent \
4501 maybe-TAGS-intl \
4502 maybe-TAGS-tcl \
4503 maybe-TAGS-itcl \
4504 maybe-TAGS-ld \
4505 maybe-TAGS-libgui \
4506 maybe-TAGS-libiberty \
4507 maybe-TAGS-libtool \
4508 maybe-TAGS-m4 \
4509 maybe-TAGS-make \
4510 maybe-TAGS-mmalloc \
4511 maybe-TAGS-patch \
4512 maybe-TAGS-perl \
4513 maybe-TAGS-prms \
4514 maybe-TAGS-rcs \
4515 maybe-TAGS-readline \
4516 maybe-TAGS-release \
4517 maybe-TAGS-recode \
4518 maybe-TAGS-sed \
4519 maybe-TAGS-send-pr \
4520 maybe-TAGS-shellutils \
4521 maybe-TAGS-sid \
4522 maybe-TAGS-sim \
4523 maybe-TAGS-tar \
4524 maybe-TAGS-texinfo \
4525 maybe-TAGS-textutils \
4526 maybe-TAGS-time \
4527 maybe-TAGS-uudecode \
4528 maybe-TAGS-wdiff \
4529 maybe-TAGS-zip \
4530 maybe-TAGS-zlib \
4531 maybe-TAGS-gdb \
4532 maybe-TAGS-expect \
4533 maybe-TAGS-guile \
4534 maybe-TAGS-tk \
4535 maybe-TAGS-tix \
4536 maybe-TAGS-libtermcap \
4537 maybe-TAGS-utils
4538
4539.PHONY: TAGS-target
4540TAGS-target: \
4541 maybe-TAGS-target-libstdc++-v3 \
4542 maybe-TAGS-target-newlib \
4543 maybe-TAGS-target-libf2c \
4544 maybe-TAGS-target-libobjc \
4545 maybe-TAGS-target-libtermcap \
4546 maybe-TAGS-target-winsup \
4547 maybe-TAGS-target-libgloss \
4548 maybe-TAGS-target-libiberty \
4549 maybe-TAGS-target-gperf \
4550 maybe-TAGS-target-examples \
4551 maybe-TAGS-target-libffi \
4552 maybe-TAGS-target-libjava \
4553 maybe-TAGS-target-zlib \
4554 maybe-TAGS-target-boehm-gc \
4555 maybe-TAGS-target-qthreads \
4556 maybe-TAGS-target-rda
4557
4558# GCC, the eternal special case
4559.PHONY: maybe-TAGS-gcc TAGS-gcc
4560maybe-TAGS-gcc:
4561TAGS-gcc: \
4562 configure-gcc
4563 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4566 $(SET_LIB_PATH) \
4567 for flag in $(EXTRA_GCC_FLAGS); do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing TAGS in gcc" ; \
4571 (cd gcc && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4576 TAGS) \
4577 || exit 1
4578
4579# Host modules.
4580
4581.PHONY: maybe-TAGS-ash TAGS-ash
4582maybe-TAGS-ash:
4583
4584TAGS-ash: \
4585 configure-ash
4586 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
4587 r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4589 $(SET_LIB_PATH) \
4590 for flag in $(EXTRA_HOST_FLAGS); do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4592 done; \
4593 echo "Doing TAGS in ash" ; \
4594 (cd ash && \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4599 TAGS) \
4600 || exit 1
4601
4602
4603.PHONY: maybe-TAGS-autoconf TAGS-autoconf
4604maybe-TAGS-autoconf:
4605
4606TAGS-autoconf: \
4607 configure-autoconf
4608 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
4609 r=`${PWD_COMMAND}`; export r; \
4610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4611 $(SET_LIB_PATH) \
4612 for flag in $(EXTRA_HOST_FLAGS); do \
4613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4614 done; \
4615 echo "Doing TAGS in autoconf" ; \
4616 (cd autoconf && \
4617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4619 "RANLIB=$${RANLIB}" \
4620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4621 TAGS) \
4622 || exit 1
4623
4624
4625.PHONY: maybe-TAGS-automake TAGS-automake
4626maybe-TAGS-automake:
4627
4628TAGS-automake: \
4629 configure-automake
4630 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4633 $(SET_LIB_PATH) \
4634 for flag in $(EXTRA_HOST_FLAGS); do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636 done; \
4637 echo "Doing TAGS in automake" ; \
4638 (cd automake && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4643 TAGS) \
4644 || exit 1
4645
4646
4647.PHONY: maybe-TAGS-bash TAGS-bash
4648maybe-TAGS-bash:
4649
4650TAGS-bash: \
4651 configure-bash
4652 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
4653 r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4655 $(SET_LIB_PATH) \
4656 for flag in $(EXTRA_HOST_FLAGS); do \
4657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4658 done; \
4659 echo "Doing TAGS in bash" ; \
4660 (cd bash && \
4661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4663 "RANLIB=$${RANLIB}" \
4664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4665 TAGS) \
4666 || exit 1
4667
4668
4669.PHONY: maybe-TAGS-bfd TAGS-bfd
4670maybe-TAGS-bfd:
4671
4672TAGS-bfd: \
4673 configure-bfd
4674 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
4675 r=`${PWD_COMMAND}`; export r; \
4676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4677 $(SET_LIB_PATH) \
4678 for flag in $(EXTRA_HOST_FLAGS); do \
4679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4680 done; \
4681 echo "Doing TAGS in bfd" ; \
4682 (cd bfd && \
4683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4685 "RANLIB=$${RANLIB}" \
4686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4687 TAGS) \
4688 || exit 1
4689
4690
4691.PHONY: maybe-TAGS-opcodes TAGS-opcodes
4692maybe-TAGS-opcodes:
4693
4694TAGS-opcodes: \
4695 configure-opcodes
4696 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
4697 r=`${PWD_COMMAND}`; export r; \
4698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4699 $(SET_LIB_PATH) \
4700 for flag in $(EXTRA_HOST_FLAGS); do \
4701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4702 done; \
4703 echo "Doing TAGS in opcodes" ; \
4704 (cd opcodes && \
4705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4707 "RANLIB=$${RANLIB}" \
4708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4709 TAGS) \
4710 || exit 1
4711
4712
4713.PHONY: maybe-TAGS-binutils TAGS-binutils
4714maybe-TAGS-binutils:
4715
4716TAGS-binutils: \
4717 configure-binutils
4718 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
4719 r=`${PWD_COMMAND}`; export r; \
4720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4721 $(SET_LIB_PATH) \
4722 for flag in $(EXTRA_HOST_FLAGS); do \
4723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4724 done; \
4725 echo "Doing TAGS in binutils" ; \
4726 (cd binutils && \
4727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4729 "RANLIB=$${RANLIB}" \
4730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4731 TAGS) \
4732 || exit 1
4733
4734
4735.PHONY: maybe-TAGS-bison TAGS-bison
4736maybe-TAGS-bison:
4737
4738TAGS-bison: \
4739 configure-bison
4740 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
4741 r=`${PWD_COMMAND}`; export r; \
4742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4743 $(SET_LIB_PATH) \
4744 for flag in $(EXTRA_HOST_FLAGS); do \
4745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4746 done; \
4747 echo "Doing TAGS in bison" ; \
4748 (cd bison && \
4749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4751 "RANLIB=$${RANLIB}" \
4752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4753 TAGS) \
4754 || exit 1
4755
4756
4757.PHONY: maybe-TAGS-byacc TAGS-byacc
4758maybe-TAGS-byacc:
4759
4760TAGS-byacc: \
4761 configure-byacc
4762 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
4763 r=`${PWD_COMMAND}`; export r; \
4764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4765 $(SET_LIB_PATH) \
4766 for flag in $(EXTRA_HOST_FLAGS); do \
4767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4768 done; \
4769 echo "Doing TAGS in byacc" ; \
4770 (cd byacc && \
4771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4773 "RANLIB=$${RANLIB}" \
4774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4775 TAGS) \
4776 || exit 1
4777
4778
4779.PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4780maybe-TAGS-bzip2:
4781
4782TAGS-bzip2: \
4783 configure-bzip2
4784 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
4785 r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4787 $(SET_LIB_PATH) \
4788 for flag in $(EXTRA_HOST_FLAGS); do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790 done; \
4791 echo "Doing TAGS in bzip2" ; \
4792 (cd bzip2 && \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4797 TAGS) \
4798 || exit 1
4799
4800
4801.PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4802maybe-TAGS-dejagnu:
4803
4804TAGS-dejagnu: \
4805 configure-dejagnu
4806 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
4807 r=`${PWD_COMMAND}`; export r; \
4808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4809 $(SET_LIB_PATH) \
4810 for flag in $(EXTRA_HOST_FLAGS); do \
4811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4812 done; \
4813 echo "Doing TAGS in dejagnu" ; \
4814 (cd dejagnu && \
4815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4817 "RANLIB=$${RANLIB}" \
4818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4819 TAGS) \
4820 || exit 1
4821
4822
4823.PHONY: maybe-TAGS-diff TAGS-diff
4824maybe-TAGS-diff:
4825
4826TAGS-diff: \
4827 configure-diff
4828 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
4829 r=`${PWD_COMMAND}`; export r; \
4830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4831 $(SET_LIB_PATH) \
4832 for flag in $(EXTRA_HOST_FLAGS); do \
4833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4834 done; \
4835 echo "Doing TAGS in diff" ; \
4836 (cd diff && \
4837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4839 "RANLIB=$${RANLIB}" \
4840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4841 TAGS) \
4842 || exit 1
4843
4844
4845.PHONY: maybe-TAGS-dosutils TAGS-dosutils
4846maybe-TAGS-dosutils:
4847
4848TAGS-dosutils: \
4849 configure-dosutils
4850 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4853 $(SET_LIB_PATH) \
4854 for flag in $(EXTRA_HOST_FLAGS); do \
4855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4856 done; \
4857 echo "Doing TAGS in dosutils" ; \
4858 (cd dosutils && \
4859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4861 "RANLIB=$${RANLIB}" \
4862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4863 TAGS) \
4864 || exit 1
4865
4866
4867.PHONY: maybe-TAGS-etc TAGS-etc
4868maybe-TAGS-etc:
4869
4870TAGS-etc: \
4871 configure-etc
4872 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
4873 r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4875 $(SET_LIB_PATH) \
4876 for flag in $(EXTRA_HOST_FLAGS); do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 done; \
4879 echo "Doing TAGS in etc" ; \
4880 (cd etc && \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4885 TAGS) \
4886 || exit 1
4887
4888
4889.PHONY: maybe-TAGS-fastjar TAGS-fastjar
4890maybe-TAGS-fastjar:
4891
4892TAGS-fastjar: \
4893 configure-fastjar
4894 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
4895 r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4897 $(SET_LIB_PATH) \
4898 for flag in $(EXTRA_HOST_FLAGS); do \
4899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4900 done; \
4901 echo "Doing TAGS in fastjar" ; \
4902 (cd fastjar && \
4903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4905 "RANLIB=$${RANLIB}" \
4906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4907 TAGS) \
4908 || exit 1
4909
4910
4911.PHONY: maybe-TAGS-fileutils TAGS-fileutils
4912maybe-TAGS-fileutils:
4913
4914TAGS-fileutils: \
4915 configure-fileutils
4916 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4919 $(SET_LIB_PATH) \
4920 for flag in $(EXTRA_HOST_FLAGS); do \
4921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4922 done; \
4923 echo "Doing TAGS in fileutils" ; \
4924 (cd fileutils && \
4925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4927 "RANLIB=$${RANLIB}" \
4928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4929 TAGS) \
4930 || exit 1
4931
4932
4933.PHONY: maybe-TAGS-findutils TAGS-findutils
4934maybe-TAGS-findutils:
4935
4936TAGS-findutils: \
4937 configure-findutils
4938 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
4939 r=`${PWD_COMMAND}`; export r; \
4940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4941 $(SET_LIB_PATH) \
4942 for flag in $(EXTRA_HOST_FLAGS); do \
4943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4944 done; \
4945 echo "Doing TAGS in findutils" ; \
4946 (cd findutils && \
4947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4949 "RANLIB=$${RANLIB}" \
4950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4951 TAGS) \
4952 || exit 1
4953
4954
4955.PHONY: maybe-TAGS-find TAGS-find
4956maybe-TAGS-find:
4957
4958TAGS-find: \
4959 configure-find
4960 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
4961 r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4963 $(SET_LIB_PATH) \
4964 for flag in $(EXTRA_HOST_FLAGS); do \
4965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4966 done; \
4967 echo "Doing TAGS in find" ; \
4968 (cd find && \
4969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4971 "RANLIB=$${RANLIB}" \
4972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4973 TAGS) \
4974 || exit 1
4975
4976
4977.PHONY: maybe-TAGS-flex TAGS-flex
4978maybe-TAGS-flex:
4979
4980TAGS-flex: \
4981 configure-flex
4982 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
4983 r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
4985 $(SET_LIB_PATH) \
4986 for flag in $(EXTRA_HOST_FLAGS); do \
4987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4988 done; \
4989 echo "Doing TAGS in flex" ; \
4990 (cd flex && \
4991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4993 "RANLIB=$${RANLIB}" \
4994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4995 TAGS) \
4996 || exit 1
4997
4998
4999.PHONY: maybe-TAGS-gas TAGS-gas
5000maybe-TAGS-gas:
5001
5002TAGS-gas: \
5003 configure-gas
5004 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
5005 r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5007 $(SET_LIB_PATH) \
5008 for flag in $(EXTRA_HOST_FLAGS); do \
5009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5010 done; \
5011 echo "Doing TAGS in gas" ; \
5012 (cd gas && \
5013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5015 "RANLIB=$${RANLIB}" \
5016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5017 TAGS) \
5018 || exit 1
5019
5020
5021.PHONY: maybe-TAGS-gawk TAGS-gawk
5022maybe-TAGS-gawk:
5023
5024TAGS-gawk: \
5025 configure-gawk
5026 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
5027 r=`${PWD_COMMAND}`; export r; \
5028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5029 $(SET_LIB_PATH) \
5030 for flag in $(EXTRA_HOST_FLAGS); do \
5031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5032 done; \
5033 echo "Doing TAGS in gawk" ; \
5034 (cd gawk && \
5035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5037 "RANLIB=$${RANLIB}" \
5038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5039 TAGS) \
5040 || exit 1
5041
5042
5043.PHONY: maybe-TAGS-gettext TAGS-gettext
5044maybe-TAGS-gettext:
5045
5046TAGS-gettext: \
5047 configure-gettext
5048 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
5049 r=`${PWD_COMMAND}`; export r; \
5050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5051 $(SET_LIB_PATH) \
5052 for flag in $(EXTRA_HOST_FLAGS); do \
5053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5054 done; \
5055 echo "Doing TAGS in gettext" ; \
5056 (cd gettext && \
5057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5059 "RANLIB=$${RANLIB}" \
5060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5061 TAGS) \
5062 || exit 1
5063
5064
5065.PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
5066maybe-TAGS-gnuserv:
5067
5068TAGS-gnuserv: \
5069 configure-gnuserv
5070 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
5071 r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5073 $(SET_LIB_PATH) \
5074 for flag in $(EXTRA_HOST_FLAGS); do \
5075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5076 done; \
5077 echo "Doing TAGS in gnuserv" ; \
5078 (cd gnuserv && \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5081 "RANLIB=$${RANLIB}" \
5082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5083 TAGS) \
5084 || exit 1
5085
5086
5087.PHONY: maybe-TAGS-gprof TAGS-gprof
5088maybe-TAGS-gprof:
5089
5090TAGS-gprof: \
5091 configure-gprof
5092 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
5093 r=`${PWD_COMMAND}`; export r; \
5094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5095 $(SET_LIB_PATH) \
5096 for flag in $(EXTRA_HOST_FLAGS); do \
5097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5098 done; \
5099 echo "Doing TAGS in gprof" ; \
5100 (cd gprof && \
5101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5103 "RANLIB=$${RANLIB}" \
5104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5105 TAGS) \
5106 || exit 1
5107
5108
5109.PHONY: maybe-TAGS-gzip TAGS-gzip
5110maybe-TAGS-gzip:
5111
5112TAGS-gzip: \
5113 configure-gzip
5114 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
5115 r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5117 $(SET_LIB_PATH) \
5118 for flag in $(EXTRA_HOST_FLAGS); do \
5119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5120 done; \
5121 echo "Doing TAGS in gzip" ; \
5122 (cd gzip && \
5123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5125 "RANLIB=$${RANLIB}" \
5126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5127 TAGS) \
5128 || exit 1
5129
5130
5131.PHONY: maybe-TAGS-hello TAGS-hello
5132maybe-TAGS-hello:
5133
5134TAGS-hello: \
5135 configure-hello
5136 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
5137 r=`${PWD_COMMAND}`; export r; \
5138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5139 $(SET_LIB_PATH) \
5140 for flag in $(EXTRA_HOST_FLAGS); do \
5141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5142 done; \
5143 echo "Doing TAGS in hello" ; \
5144 (cd hello && \
5145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5147 "RANLIB=$${RANLIB}" \
5148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5149 TAGS) \
5150 || exit 1
5151
5152
5153.PHONY: maybe-TAGS-indent TAGS-indent
5154maybe-TAGS-indent:
5155
5156TAGS-indent: \
5157 configure-indent
5158 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
5159 r=`${PWD_COMMAND}`; export r; \
5160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5161 $(SET_LIB_PATH) \
5162 for flag in $(EXTRA_HOST_FLAGS); do \
5163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5164 done; \
5165 echo "Doing TAGS in indent" ; \
5166 (cd indent && \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169 "RANLIB=$${RANLIB}" \
5170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5171 TAGS) \
5172 || exit 1
5173
5174
5175.PHONY: maybe-TAGS-intl TAGS-intl
5176maybe-TAGS-intl:
5177
5178TAGS-intl: \
5179 configure-intl
5180 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
5181 r=`${PWD_COMMAND}`; export r; \
5182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5183 $(SET_LIB_PATH) \
5184 for flag in $(EXTRA_HOST_FLAGS); do \
5185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5186 done; \
5187 echo "Doing TAGS in intl" ; \
5188 (cd intl && \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191 "RANLIB=$${RANLIB}" \
5192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5193 TAGS) \
5194 || exit 1
5195
5196
5197.PHONY: maybe-TAGS-tcl TAGS-tcl
5198maybe-TAGS-tcl:
5199
5200TAGS-tcl: \
5201 configure-tcl
5202 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
5203 r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5205 $(SET_LIB_PATH) \
5206 for flag in $(EXTRA_HOST_FLAGS); do \
5207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5208 done; \
5209 echo "Doing TAGS in tcl" ; \
5210 (cd tcl && \
5211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5213 "RANLIB=$${RANLIB}" \
5214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5215 TAGS) \
5216 || exit 1
5217
5218
5219.PHONY: maybe-TAGS-itcl TAGS-itcl
5220maybe-TAGS-itcl:
5221
5222TAGS-itcl: \
5223 configure-itcl
5224 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
5225 r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5227 $(SET_LIB_PATH) \
5228 for flag in $(EXTRA_HOST_FLAGS); do \
5229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5230 done; \
5231 echo "Doing TAGS in itcl" ; \
5232 (cd itcl && \
5233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5235 "RANLIB=$${RANLIB}" \
5236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5237 TAGS) \
5238 || exit 1
5239
5240
5241.PHONY: maybe-TAGS-ld TAGS-ld
5242maybe-TAGS-ld:
5243
5244TAGS-ld: \
5245 configure-ld
5246 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
5247 r=`${PWD_COMMAND}`; export r; \
5248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5249 $(SET_LIB_PATH) \
5250 for flag in $(EXTRA_HOST_FLAGS); do \
5251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5252 done; \
5253 echo "Doing TAGS in ld" ; \
5254 (cd ld && \
5255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5257 "RANLIB=$${RANLIB}" \
5258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5259 TAGS) \
5260 || exit 1
5261
5262
5263.PHONY: maybe-TAGS-libgui TAGS-libgui
5264maybe-TAGS-libgui:
5265
5266TAGS-libgui: \
5267 configure-libgui
5268 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
5269 r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5271 $(SET_LIB_PATH) \
5272 for flag in $(EXTRA_HOST_FLAGS); do \
5273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5274 done; \
5275 echo "Doing TAGS in libgui" ; \
5276 (cd libgui && \
5277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5279 "RANLIB=$${RANLIB}" \
5280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5281 TAGS) \
5282 || exit 1
5283
5284
5285.PHONY: maybe-TAGS-libiberty TAGS-libiberty
5286maybe-TAGS-libiberty:
5287
5288TAGS-libiberty: \
5289 configure-libiberty
5290 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
5291 r=`${PWD_COMMAND}`; export r; \
5292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5293 $(SET_LIB_PATH) \
5294 for flag in $(EXTRA_HOST_FLAGS); do \
5295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5296 done; \
5297 echo "Doing TAGS in libiberty" ; \
5298 (cd libiberty && \
5299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5301 "RANLIB=$${RANLIB}" \
5302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5303 TAGS) \
5304 || exit 1
5305
5306
5307.PHONY: maybe-TAGS-libtool TAGS-libtool
5308maybe-TAGS-libtool:
5309
5310TAGS-libtool: \
5311 configure-libtool
5312 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
5313 r=`${PWD_COMMAND}`; export r; \
5314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5315 $(SET_LIB_PATH) \
5316 for flag in $(EXTRA_HOST_FLAGS); do \
5317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5318 done; \
5319 echo "Doing TAGS in libtool" ; \
5320 (cd libtool && \
5321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5323 "RANLIB=$${RANLIB}" \
5324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5325 TAGS) \
5326 || exit 1
5327
5328
5329.PHONY: maybe-TAGS-m4 TAGS-m4
5330maybe-TAGS-m4:
5331
5332TAGS-m4: \
5333 configure-m4
5334 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
5335 r=`${PWD_COMMAND}`; export r; \
5336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5337 $(SET_LIB_PATH) \
5338 for flag in $(EXTRA_HOST_FLAGS); do \
5339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5340 done; \
5341 echo "Doing TAGS in m4" ; \
5342 (cd m4 && \
5343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5345 "RANLIB=$${RANLIB}" \
5346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5347 TAGS) \
5348 || exit 1
5349
5350
5351.PHONY: maybe-TAGS-make TAGS-make
5352maybe-TAGS-make:
5353
5354TAGS-make: \
5355 configure-make
5356 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5359 $(SET_LIB_PATH) \
5360 for flag in $(EXTRA_HOST_FLAGS); do \
5361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5362 done; \
5363 echo "Doing TAGS in make" ; \
5364 (cd make && \
5365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5367 "RANLIB=$${RANLIB}" \
5368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5369 TAGS) \
5370 || exit 1
5371
5372
5373.PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
5374maybe-TAGS-mmalloc:
5375
5376TAGS-mmalloc: \
5377 configure-mmalloc
5378 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
5379 r=`${PWD_COMMAND}`; export r; \
5380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5381 $(SET_LIB_PATH) \
5382 for flag in $(EXTRA_HOST_FLAGS); do \
5383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5384 done; \
5385 echo "Doing TAGS in mmalloc" ; \
5386 (cd mmalloc && \
5387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5389 "RANLIB=$${RANLIB}" \
5390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5391 TAGS) \
5392 || exit 1
5393
5394
5395.PHONY: maybe-TAGS-patch TAGS-patch
5396maybe-TAGS-patch:
5397
5398TAGS-patch: \
5399 configure-patch
5400 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5403 $(SET_LIB_PATH) \
5404 for flag in $(EXTRA_HOST_FLAGS); do \
5405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5406 done; \
5407 echo "Doing TAGS in patch" ; \
5408 (cd patch && \
5409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5411 "RANLIB=$${RANLIB}" \
5412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5413 TAGS) \
5414 || exit 1
5415
5416
5417.PHONY: maybe-TAGS-perl TAGS-perl
5418maybe-TAGS-perl:
5419
5420TAGS-perl: \
5421 configure-perl
5422 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
5423 r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5425 $(SET_LIB_PATH) \
5426 for flag in $(EXTRA_HOST_FLAGS); do \
5427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5428 done; \
5429 echo "Doing TAGS in perl" ; \
5430 (cd perl && \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433 "RANLIB=$${RANLIB}" \
5434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5435 TAGS) \
5436 || exit 1
5437
5438
5439.PHONY: maybe-TAGS-prms TAGS-prms
5440maybe-TAGS-prms:
5441
5442TAGS-prms: \
5443 configure-prms
5444 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
5445 r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5447 $(SET_LIB_PATH) \
5448 for flag in $(EXTRA_HOST_FLAGS); do \
5449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5450 done; \
5451 echo "Doing TAGS in prms" ; \
5452 (cd prms && \
5453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5455 "RANLIB=$${RANLIB}" \
5456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5457 TAGS) \
5458 || exit 1
5459
5460
5461.PHONY: maybe-TAGS-rcs TAGS-rcs
5462maybe-TAGS-rcs:
5463
5464TAGS-rcs: \
5465 configure-rcs
5466 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5469 $(SET_LIB_PATH) \
5470 for flag in $(EXTRA_HOST_FLAGS); do \
5471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5472 done; \
5473 echo "Doing TAGS in rcs" ; \
5474 (cd rcs && \
5475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477 "RANLIB=$${RANLIB}" \
5478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5479 TAGS) \
5480 || exit 1
5481
5482
5483.PHONY: maybe-TAGS-readline TAGS-readline
5484maybe-TAGS-readline:
5485
5486TAGS-readline: \
5487 configure-readline
5488 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
5489 r=`${PWD_COMMAND}`; export r; \
5490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5491 $(SET_LIB_PATH) \
5492 for flag in $(EXTRA_HOST_FLAGS); do \
5493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5494 done; \
5495 echo "Doing TAGS in readline" ; \
5496 (cd readline && \
5497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5499 "RANLIB=$${RANLIB}" \
5500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5501 TAGS) \
5502 || exit 1
5503
5504
5505.PHONY: maybe-TAGS-release TAGS-release
5506maybe-TAGS-release:
5507
5508TAGS-release: \
5509 configure-release
5510 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
5511 r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5513 $(SET_LIB_PATH) \
5514 for flag in $(EXTRA_HOST_FLAGS); do \
5515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5516 done; \
5517 echo "Doing TAGS in release" ; \
5518 (cd release && \
5519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5521 "RANLIB=$${RANLIB}" \
5522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5523 TAGS) \
5524 || exit 1
5525
5526
5527.PHONY: maybe-TAGS-recode TAGS-recode
5528maybe-TAGS-recode:
5529
5530TAGS-recode: \
5531 configure-recode
5532 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
5533 r=`${PWD_COMMAND}`; export r; \
5534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5535 $(SET_LIB_PATH) \
5536 for flag in $(EXTRA_HOST_FLAGS); do \
5537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5538 done; \
5539 echo "Doing TAGS in recode" ; \
5540 (cd recode && \
5541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5543 "RANLIB=$${RANLIB}" \
5544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5545 TAGS) \
5546 || exit 1
5547
5548
5549.PHONY: maybe-TAGS-sed TAGS-sed
5550maybe-TAGS-sed:
5551
5552TAGS-sed: \
5553 configure-sed
5554 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
5555 r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5557 $(SET_LIB_PATH) \
5558 for flag in $(EXTRA_HOST_FLAGS); do \
5559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5560 done; \
5561 echo "Doing TAGS in sed" ; \
5562 (cd sed && \
5563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5565 "RANLIB=$${RANLIB}" \
5566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5567 TAGS) \
5568 || exit 1
5569
5570
5571.PHONY: maybe-TAGS-send-pr TAGS-send-pr
5572maybe-TAGS-send-pr:
5573
5574TAGS-send-pr: \
5575 configure-send-pr
5576 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
5577 r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5579 $(SET_LIB_PATH) \
5580 for flag in $(EXTRA_HOST_FLAGS); do \
5581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5582 done; \
5583 echo "Doing TAGS in send-pr" ; \
5584 (cd send-pr && \
5585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5587 "RANLIB=$${RANLIB}" \
5588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5589 TAGS) \
5590 || exit 1
5591
5592
5593.PHONY: maybe-TAGS-shellutils TAGS-shellutils
5594maybe-TAGS-shellutils:
5595
5596TAGS-shellutils: \
5597 configure-shellutils
5598 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
5599 r=`${PWD_COMMAND}`; export r; \
5600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5601 $(SET_LIB_PATH) \
5602 for flag in $(EXTRA_HOST_FLAGS); do \
5603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5604 done; \
5605 echo "Doing TAGS in shellutils" ; \
5606 (cd shellutils && \
5607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5609 "RANLIB=$${RANLIB}" \
5610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5611 TAGS) \
5612 || exit 1
5613
5614
5615.PHONY: maybe-TAGS-sid TAGS-sid
5616maybe-TAGS-sid:
5617
5618TAGS-sid: \
5619 configure-sid
5620 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
5621 r=`${PWD_COMMAND}`; export r; \
5622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5623 $(SET_LIB_PATH) \
5624 for flag in $(EXTRA_HOST_FLAGS); do \
5625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5626 done; \
5627 echo "Doing TAGS in sid" ; \
5628 (cd sid && \
5629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5631 "RANLIB=$${RANLIB}" \
5632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5633 TAGS) \
5634 || exit 1
5635
5636
5637.PHONY: maybe-TAGS-sim TAGS-sim
5638maybe-TAGS-sim:
5639
5640TAGS-sim: \
5641 configure-sim
5642 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
5643 r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5645 $(SET_LIB_PATH) \
5646 for flag in $(EXTRA_HOST_FLAGS); do \
5647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5648 done; \
5649 echo "Doing TAGS in sim" ; \
5650 (cd sim && \
5651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5653 "RANLIB=$${RANLIB}" \
5654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5655 TAGS) \
5656 || exit 1
5657
5658
5659.PHONY: maybe-TAGS-tar TAGS-tar
5660maybe-TAGS-tar:
5661
5662TAGS-tar: \
5663 configure-tar
5664 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
5665 r=`${PWD_COMMAND}`; export r; \
5666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5667 $(SET_LIB_PATH) \
5668 for flag in $(EXTRA_HOST_FLAGS); do \
5669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5670 done; \
5671 echo "Doing TAGS in tar" ; \
5672 (cd tar && \
5673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5675 "RANLIB=$${RANLIB}" \
5676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5677 TAGS) \
5678 || exit 1
5679
5680
5681.PHONY: maybe-TAGS-texinfo TAGS-texinfo
5682maybe-TAGS-texinfo:
5683
5684TAGS-texinfo: \
5685 configure-texinfo
5686 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5689 $(SET_LIB_PATH) \
5690 for flag in $(EXTRA_HOST_FLAGS); do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing TAGS in texinfo" ; \
5694 (cd texinfo && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 TAGS) \
5700 || exit 1
5701
5702
5703.PHONY: maybe-TAGS-textutils TAGS-textutils
5704maybe-TAGS-textutils:
5705
5706TAGS-textutils: \
5707 configure-textutils
5708 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5711 $(SET_LIB_PATH) \
5712 for flag in $(EXTRA_HOST_FLAGS); do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714 done; \
5715 echo "Doing TAGS in textutils" ; \
5716 (cd textutils && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5721 TAGS) \
5722 || exit 1
5723
5724
5725.PHONY: maybe-TAGS-time TAGS-time
5726maybe-TAGS-time:
5727
5728TAGS-time: \
5729 configure-time
5730 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
5731 r=`${PWD_COMMAND}`; export r; \
5732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5733 $(SET_LIB_PATH) \
5734 for flag in $(EXTRA_HOST_FLAGS); do \
5735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5736 done; \
5737 echo "Doing TAGS in time" ; \
5738 (cd time && \
5739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5741 "RANLIB=$${RANLIB}" \
5742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5743 TAGS) \
5744 || exit 1
5745
5746
5747.PHONY: maybe-TAGS-uudecode TAGS-uudecode
5748maybe-TAGS-uudecode:
5749
5750TAGS-uudecode: \
5751 configure-uudecode
5752 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
5753 r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5755 $(SET_LIB_PATH) \
5756 for flag in $(EXTRA_HOST_FLAGS); do \
5757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5758 done; \
5759 echo "Doing TAGS in uudecode" ; \
5760 (cd uudecode && \
5761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763 "RANLIB=$${RANLIB}" \
5764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5765 TAGS) \
5766 || exit 1
5767
5768
5769.PHONY: maybe-TAGS-wdiff TAGS-wdiff
5770maybe-TAGS-wdiff:
5771
5772TAGS-wdiff: \
5773 configure-wdiff
5774 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
5775 r=`${PWD_COMMAND}`; export r; \
5776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5777 $(SET_LIB_PATH) \
5778 for flag in $(EXTRA_HOST_FLAGS); do \
5779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5780 done; \
5781 echo "Doing TAGS in wdiff" ; \
5782 (cd wdiff && \
5783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5785 "RANLIB=$${RANLIB}" \
5786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5787 TAGS) \
5788 || exit 1
5789
5790
5791.PHONY: maybe-TAGS-zip TAGS-zip
5792maybe-TAGS-zip:
5793
5794TAGS-zip: \
5795 configure-zip
5796 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
5797 r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5799 $(SET_LIB_PATH) \
5800 for flag in $(EXTRA_HOST_FLAGS); do \
5801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5802 done; \
5803 echo "Doing TAGS in zip" ; \
5804 (cd zip && \
5805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5807 "RANLIB=$${RANLIB}" \
5808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5809 TAGS) \
5810 || exit 1
5811
5812
5813.PHONY: maybe-TAGS-zlib TAGS-zlib
5814maybe-TAGS-zlib:
5815
5816TAGS-zlib: \
5817 configure-zlib
5818 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
5819 r=`${PWD_COMMAND}`; export r; \
5820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5821 $(SET_LIB_PATH) \
5822 for flag in $(EXTRA_HOST_FLAGS); do \
5823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5824 done; \
5825 echo "Doing TAGS in zlib" ; \
5826 (cd zlib && \
5827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5829 "RANLIB=$${RANLIB}" \
5830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5831 TAGS) \
5832 || exit 1
5833
5834
5835.PHONY: maybe-TAGS-gdb TAGS-gdb
5836maybe-TAGS-gdb:
5837
5838TAGS-gdb: \
5839 configure-gdb
5840 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5843 $(SET_LIB_PATH) \
5844 for flag in $(EXTRA_HOST_FLAGS); do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846 done; \
5847 echo "Doing TAGS in gdb" ; \
5848 (cd gdb && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5853 TAGS) \
5854 || exit 1
5855
5856
5857.PHONY: maybe-TAGS-expect TAGS-expect
5858maybe-TAGS-expect:
5859
5860TAGS-expect: \
5861 configure-expect
5862 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
5863 r=`${PWD_COMMAND}`; export r; \
5864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5865 $(SET_LIB_PATH) \
5866 for flag in $(EXTRA_HOST_FLAGS); do \
5867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5868 done; \
5869 echo "Doing TAGS in expect" ; \
5870 (cd expect && \
5871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5873 "RANLIB=$${RANLIB}" \
5874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5875 TAGS) \
5876 || exit 1
5877
5878
5879.PHONY: maybe-TAGS-guile TAGS-guile
5880maybe-TAGS-guile:
5881
5882TAGS-guile: \
5883 configure-guile
5884 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5887 $(SET_LIB_PATH) \
5888 for flag in $(EXTRA_HOST_FLAGS); do \
5889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5890 done; \
5891 echo "Doing TAGS in guile" ; \
5892 (cd guile && \
5893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5895 "RANLIB=$${RANLIB}" \
5896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5897 TAGS) \
5898 || exit 1
5899
5900
5901.PHONY: maybe-TAGS-tk TAGS-tk
5902maybe-TAGS-tk:
5903
5904TAGS-tk: \
5905 configure-tk
5906 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5909 $(SET_LIB_PATH) \
5910 for flag in $(EXTRA_HOST_FLAGS); do \
5911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5912 done; \
5913 echo "Doing TAGS in tk" ; \
5914 (cd tk && \
5915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5917 "RANLIB=$${RANLIB}" \
5918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5919 TAGS) \
5920 || exit 1
5921
5922
5923.PHONY: maybe-TAGS-tix TAGS-tix
5924maybe-TAGS-tix:
5925
5926TAGS-tix: \
5927 configure-tix
5928 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
5929 r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5931 $(SET_LIB_PATH) \
5932 for flag in $(EXTRA_HOST_FLAGS); do \
5933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5934 done; \
5935 echo "Doing TAGS in tix" ; \
5936 (cd tix && \
5937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5939 "RANLIB=$${RANLIB}" \
5940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5941 TAGS) \
5942 || exit 1
5943
5944
5945.PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
5946maybe-TAGS-libtermcap:
5947
5948TAGS-libtermcap: \
5949 configure-libtermcap
5950 @[ -f ./libtermcap/Makefile ] || exit 0; \
8c90b13a
L
5951 r=`${PWD_COMMAND}`; export r; \
5952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5953 $(SET_LIB_PATH) \
5954 for flag in $(EXTRA_HOST_FLAGS); do \
5955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5956 done; \
5957 echo "Doing TAGS in libtermcap" ; \
5958 (cd libtermcap && \
5959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5961 "RANLIB=$${RANLIB}" \
5962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5963 TAGS) \
5964 || exit 1
5965
5966
5967.PHONY: maybe-TAGS-utils TAGS-utils
5968maybe-TAGS-utils:
5969
5970TAGS-utils: \
5971 configure-utils
5972 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
5973 r=`${PWD_COMMAND}`; export r; \
5974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
5975 $(SET_LIB_PATH) \
5976 for flag in $(EXTRA_HOST_FLAGS); do \
5977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5978 done; \
5979 echo "Doing TAGS in utils" ; \
5980 (cd utils && \
5981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5983 "RANLIB=$${RANLIB}" \
5984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5985 TAGS) \
5986 || exit 1
5987
5988
5989
5990# Target modules.
5991
5992.PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
5993maybe-TAGS-target-libstdc++-v3:
5994
5995TAGS-target-libstdc++-v3: \
5996 configure-target-libstdc++-v3
5997 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
5998 r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6000 $(SET_LIB_PATH) \
6001 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
6002 for flag in $(EXTRA_TARGET_FLAGS); do \
6003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6004 done; \
6005 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
6006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6008 "RANLIB=$${RANLIB}" \
6009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6010 TAGS) \
6011 || exit 1
6012
6013
6014.PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
6015maybe-TAGS-target-newlib:
6016
6017TAGS-target-newlib: \
6018 configure-target-newlib
6019 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
6020 r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6022 $(SET_LIB_PATH) \
6023 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
6024 for flag in $(EXTRA_TARGET_FLAGS); do \
6025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6026 done; \
6027 (cd $(TARGET_SUBDIR)/newlib && \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030 "RANLIB=$${RANLIB}" \
6031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6032 TAGS) \
6033 || exit 1
6034
6035
6036.PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
6037maybe-TAGS-target-libf2c:
6038
6039TAGS-target-libf2c: \
6040 configure-target-libf2c
6041 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
6042 r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6044 $(SET_LIB_PATH) \
6045 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
6046 for flag in $(EXTRA_TARGET_FLAGS); do \
6047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6048 done; \
6049 (cd $(TARGET_SUBDIR)/libf2c && \
6050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6052 "RANLIB=$${RANLIB}" \
6053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6054 TAGS) \
6055 || exit 1
6056
6057
6058.PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
6059maybe-TAGS-target-libobjc:
6060
6061TAGS-target-libobjc: \
6062 configure-target-libobjc
6063 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
6064 r=`${PWD_COMMAND}`; export r; \
6065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6066 $(SET_LIB_PATH) \
6067 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
6068 for flag in $(EXTRA_TARGET_FLAGS); do \
6069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6070 done; \
6071 (cd $(TARGET_SUBDIR)/libobjc && \
6072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6074 "RANLIB=$${RANLIB}" \
6075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6076 TAGS) \
6077 || exit 1
6078
6079
6080.PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
6081maybe-TAGS-target-libtermcap:
6082
6083TAGS-target-libtermcap: \
6084 configure-target-libtermcap
6085 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8c90b13a
L
6086 r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6088 $(SET_LIB_PATH) \
6089 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
6090 for flag in $(EXTRA_TARGET_FLAGS); do \
6091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6092 done; \
6093 (cd $(TARGET_SUBDIR)/libtermcap && \
6094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6096 "RANLIB=$${RANLIB}" \
6097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6098 TAGS) \
6099 || exit 1
6100
6101
6102.PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
6103maybe-TAGS-target-winsup:
6104
6105TAGS-target-winsup: \
6106 configure-target-winsup
6107 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
6108 r=`${PWD_COMMAND}`; export r; \
6109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6110 $(SET_LIB_PATH) \
6111 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
6112 for flag in $(EXTRA_TARGET_FLAGS); do \
6113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6114 done; \
6115 (cd $(TARGET_SUBDIR)/winsup && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6118 "RANLIB=$${RANLIB}" \
6119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6120 TAGS) \
6121 || exit 1
6122
6123
6124.PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
6125maybe-TAGS-target-libgloss:
6126
6127TAGS-target-libgloss: \
6128 configure-target-libgloss
6129 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
6130 r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6132 $(SET_LIB_PATH) \
6133 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
6134 for flag in $(EXTRA_TARGET_FLAGS); do \
6135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6136 done; \
6137 (cd $(TARGET_SUBDIR)/libgloss && \
6138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6140 "RANLIB=$${RANLIB}" \
6141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6142 TAGS) \
6143 || exit 1
6144
6145
6146.PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
6147maybe-TAGS-target-libiberty:
6148
6149TAGS-target-libiberty: \
6150 configure-target-libiberty
6151 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
6152 r=`${PWD_COMMAND}`; export r; \
6153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6154 $(SET_LIB_PATH) \
6155 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
6156 for flag in $(EXTRA_TARGET_FLAGS); do \
6157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6158 done; \
6159 (cd $(TARGET_SUBDIR)/libiberty && \
6160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6162 "RANLIB=$${RANLIB}" \
6163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6164 TAGS) \
6165 || exit 1
6166
6167
6168.PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6169maybe-TAGS-target-gperf:
6170
6171TAGS-target-gperf: \
6172 configure-target-gperf
6173 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
6174 r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6176 $(SET_LIB_PATH) \
6177 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
6178 for flag in $(EXTRA_TARGET_FLAGS); do \
6179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6180 done; \
6181 (cd $(TARGET_SUBDIR)/gperf && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6186 TAGS) \
6187 || exit 1
6188
6189
6190.PHONY: maybe-TAGS-target-examples TAGS-target-examples
6191maybe-TAGS-target-examples:
6192
6193TAGS-target-examples: \
6194 configure-target-examples
6195 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6198 $(SET_LIB_PATH) \
6199 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
6200 for flag in $(EXTRA_TARGET_FLAGS); do \
6201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6202 done; \
6203 (cd $(TARGET_SUBDIR)/examples && \
6204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6206 "RANLIB=$${RANLIB}" \
6207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6208 TAGS) \
6209 || exit 1
6210
6211
6212.PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
6213maybe-TAGS-target-libffi:
6214
6215TAGS-target-libffi: \
6216 configure-target-libffi
6217 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
6218 r=`${PWD_COMMAND}`; export r; \
6219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6220 $(SET_LIB_PATH) \
6221 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
6222 for flag in $(EXTRA_TARGET_FLAGS); do \
6223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6224 done; \
6225 (cd $(TARGET_SUBDIR)/libffi && \
6226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6228 "RANLIB=$${RANLIB}" \
6229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6230 TAGS) \
6231 || exit 1
6232
6233
6234.PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
6235maybe-TAGS-target-libjava:
6236
6237TAGS-target-libjava: \
6238 configure-target-libjava
6239 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
6240 r=`${PWD_COMMAND}`; export r; \
6241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6242 $(SET_LIB_PATH) \
6243 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
6244 for flag in $(EXTRA_TARGET_FLAGS); do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 done; \
6247 (cd $(TARGET_SUBDIR)/libjava && \
6248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6250 "RANLIB=$${RANLIB}" \
6251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6252 TAGS) \
6253 || exit 1
6254
6255
6256.PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
6257maybe-TAGS-target-zlib:
6258
6259TAGS-target-zlib: \
6260 configure-target-zlib
6261 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
6262 r=`${PWD_COMMAND}`; export r; \
6263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6264 $(SET_LIB_PATH) \
6265 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
6266 for flag in $(EXTRA_TARGET_FLAGS); do \
6267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6268 done; \
6269 (cd $(TARGET_SUBDIR)/zlib && \
6270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6272 "RANLIB=$${RANLIB}" \
6273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6274 TAGS) \
6275 || exit 1
6276
6277
6278.PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
6279maybe-TAGS-target-boehm-gc:
6280
6281TAGS-target-boehm-gc: \
6282 configure-target-boehm-gc
6283 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
6284 r=`${PWD_COMMAND}`; export r; \
6285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6286 $(SET_LIB_PATH) \
6287 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
6288 for flag in $(EXTRA_TARGET_FLAGS); do \
6289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6290 done; \
6291 (cd $(TARGET_SUBDIR)/boehm-gc && \
6292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6294 "RANLIB=$${RANLIB}" \
6295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6296 TAGS) \
6297 || exit 1
6298
6299
6300.PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
6301maybe-TAGS-target-qthreads:
6302
6303TAGS-target-qthreads: \
6304 configure-target-qthreads
6305 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
6306 r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6308 $(SET_LIB_PATH) \
6309 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
6310 for flag in $(EXTRA_TARGET_FLAGS); do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312 done; \
6313 (cd $(TARGET_SUBDIR)/qthreads && \
6314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6316 "RANLIB=$${RANLIB}" \
6317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6318 TAGS) \
6319 || exit 1
6320
6321
6322.PHONY: maybe-TAGS-target-rda TAGS-target-rda
6323maybe-TAGS-target-rda:
6324
6325TAGS-target-rda: \
6326 configure-target-rda
6327 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6330 $(SET_LIB_PATH) \
6331 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
6332 for flag in $(EXTRA_TARGET_FLAGS); do \
6333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6334 done; \
6335 (cd $(TARGET_SUBDIR)/rda && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6340 TAGS) \
6341 || exit 1
6342
6343
6344
6345.PHONY: do-install-info
6346do-install-info: install-info-host install-info-target
6347
6348.PHONY: install-info-host
6349install-info-host: maybe-install-info-gcc \
6350 maybe-install-info-ash \
6351 maybe-install-info-autoconf \
6352 maybe-install-info-automake \
6353 maybe-install-info-bash \
6354 maybe-install-info-bfd \
6355 maybe-install-info-opcodes \
6356 maybe-install-info-binutils \
6357 maybe-install-info-bison \
6358 maybe-install-info-byacc \
6359 maybe-install-info-bzip2 \
6360 maybe-install-info-dejagnu \
6361 maybe-install-info-diff \
6362 maybe-install-info-dosutils \
6363 maybe-install-info-etc \
6364 maybe-install-info-fastjar \
6365 maybe-install-info-fileutils \
6366 maybe-install-info-findutils \
6367 maybe-install-info-find \
6368 maybe-install-info-flex \
6369 maybe-install-info-gas \
6370 maybe-install-info-gawk \
6371 maybe-install-info-gettext \
6372 maybe-install-info-gnuserv \
6373 maybe-install-info-gprof \
6374 maybe-install-info-gzip \
6375 maybe-install-info-hello \
6376 maybe-install-info-indent \
6377 maybe-install-info-intl \
6378 maybe-install-info-tcl \
6379 maybe-install-info-itcl \
6380 maybe-install-info-ld \
6381 maybe-install-info-libgui \
6382 maybe-install-info-libiberty \
6383 maybe-install-info-libtool \
6384 maybe-install-info-m4 \
6385 maybe-install-info-make \
6386 maybe-install-info-mmalloc \
6387 maybe-install-info-patch \
6388 maybe-install-info-perl \
6389 maybe-install-info-prms \
6390 maybe-install-info-rcs \
6391 maybe-install-info-readline \
6392 maybe-install-info-release \
6393 maybe-install-info-recode \
6394 maybe-install-info-sed \
6395 maybe-install-info-send-pr \
6396 maybe-install-info-shellutils \
6397 maybe-install-info-sid \
6398 maybe-install-info-sim \
6399 maybe-install-info-tar \
6400 maybe-install-info-texinfo \
6401 maybe-install-info-textutils \
6402 maybe-install-info-time \
6403 maybe-install-info-uudecode \
6404 maybe-install-info-wdiff \
6405 maybe-install-info-zip \
6406 maybe-install-info-zlib \
6407 maybe-install-info-gdb \
6408 maybe-install-info-expect \
6409 maybe-install-info-guile \
6410 maybe-install-info-tk \
6411 maybe-install-info-tix \
6412 maybe-install-info-libtermcap \
6413 maybe-install-info-utils
6414
6415.PHONY: install-info-target
6416install-info-target: \
6417 maybe-install-info-target-libstdc++-v3 \
6418 maybe-install-info-target-newlib \
6419 maybe-install-info-target-libf2c \
6420 maybe-install-info-target-libobjc \
6421 maybe-install-info-target-libtermcap \
6422 maybe-install-info-target-winsup \
6423 maybe-install-info-target-libgloss \
6424 maybe-install-info-target-libiberty \
6425 maybe-install-info-target-gperf \
6426 maybe-install-info-target-examples \
6427 maybe-install-info-target-libffi \
6428 maybe-install-info-target-libjava \
6429 maybe-install-info-target-zlib \
6430 maybe-install-info-target-boehm-gc \
6431 maybe-install-info-target-qthreads \
6432 maybe-install-info-target-rda
6433
6434# GCC, the eternal special case
6435.PHONY: maybe-install-info-gcc install-info-gcc
6436maybe-install-info-gcc:
6437install-info-gcc: \
6438 configure-gcc \
6439 info-gcc
6440 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
6441 r=`${PWD_COMMAND}`; export r; \
6442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6443 $(SET_LIB_PATH) \
6444 for flag in $(EXTRA_GCC_FLAGS); do \
6445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6446 done; \
6447 echo "Doing install-info in gcc" ; \
6448 (cd gcc && \
6449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6451 "RANLIB=$${RANLIB}" \
6452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6453 install-info) \
6454 || exit 1
6455
6456# Host modules.
6457
6458.PHONY: maybe-install-info-ash install-info-ash
6459maybe-install-info-ash:
6460
6461install-info-ash: \
6462 configure-ash \
6463 info-ash
6464 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
6465 r=`${PWD_COMMAND}`; export r; \
6466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6467 $(SET_LIB_PATH) \
6468 for flag in $(EXTRA_HOST_FLAGS); do \
6469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6470 done; \
6471 echo "Doing install-info in ash" ; \
6472 (cd ash && \
6473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6475 "RANLIB=$${RANLIB}" \
6476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6477 install-info) \
6478 || exit 1
6479
6480
6481.PHONY: maybe-install-info-autoconf install-info-autoconf
6482maybe-install-info-autoconf:
6483
6484install-info-autoconf: \
6485 configure-autoconf \
6486 info-autoconf
6487 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
6488 r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6490 $(SET_LIB_PATH) \
6491 for flag in $(EXTRA_HOST_FLAGS); do \
6492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6493 done; \
6494 echo "Doing install-info in autoconf" ; \
6495 (cd autoconf && \
6496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6498 "RANLIB=$${RANLIB}" \
6499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6500 install-info) \
6501 || exit 1
6502
6503
6504.PHONY: maybe-install-info-automake install-info-automake
6505maybe-install-info-automake:
6506
6507install-info-automake: \
6508 configure-automake \
6509 info-automake
6510 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
6511 r=`${PWD_COMMAND}`; export r; \
6512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6513 $(SET_LIB_PATH) \
6514 for flag in $(EXTRA_HOST_FLAGS); do \
6515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6516 done; \
6517 echo "Doing install-info in automake" ; \
6518 (cd automake && \
6519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6521 "RANLIB=$${RANLIB}" \
6522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6523 install-info) \
6524 || exit 1
6525
6526
6527.PHONY: maybe-install-info-bash install-info-bash
6528maybe-install-info-bash:
6529
6530install-info-bash: \
6531 configure-bash \
6532 info-bash
6533 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
6534 r=`${PWD_COMMAND}`; export r; \
6535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6536 $(SET_LIB_PATH) \
6537 for flag in $(EXTRA_HOST_FLAGS); do \
6538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6539 done; \
6540 echo "Doing install-info in bash" ; \
6541 (cd bash && \
6542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6544 "RANLIB=$${RANLIB}" \
6545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6546 install-info) \
6547 || exit 1
6548
6549
6550.PHONY: maybe-install-info-bfd install-info-bfd
6551maybe-install-info-bfd:
6552
6553install-info-bfd: \
6554 configure-bfd \
6555 info-bfd
6556 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
6557 r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6559 $(SET_LIB_PATH) \
6560 for flag in $(EXTRA_HOST_FLAGS); do \
6561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6562 done; \
6563 echo "Doing install-info in bfd" ; \
6564 (cd bfd && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6567 "RANLIB=$${RANLIB}" \
6568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6569 install-info) \
6570 || exit 1
6571
6572
6573.PHONY: maybe-install-info-opcodes install-info-opcodes
6574maybe-install-info-opcodes:
6575
6576install-info-opcodes: \
6577 configure-opcodes \
6578 info-opcodes
6579 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6582 $(SET_LIB_PATH) \
6583 for flag in $(EXTRA_HOST_FLAGS); do \
6584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 done; \
6586 echo "Doing install-info in opcodes" ; \
6587 (cd opcodes && \
6588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6590 "RANLIB=$${RANLIB}" \
6591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6592 install-info) \
6593 || exit 1
6594
6595
6596.PHONY: maybe-install-info-binutils install-info-binutils
6597maybe-install-info-binutils:
6598
6599install-info-binutils: \
6600 configure-binutils \
6601 info-binutils
6602 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
6603 r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6605 $(SET_LIB_PATH) \
6606 for flag in $(EXTRA_HOST_FLAGS); do \
6607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6608 done; \
6609 echo "Doing install-info in binutils" ; \
6610 (cd binutils && \
6611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6613 "RANLIB=$${RANLIB}" \
6614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6615 install-info) \
6616 || exit 1
6617
6618
6619.PHONY: maybe-install-info-bison install-info-bison
6620maybe-install-info-bison:
6621
6622install-info-bison: \
6623 configure-bison \
6624 info-bison
6625 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
6626 r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6628 $(SET_LIB_PATH) \
6629 for flag in $(EXTRA_HOST_FLAGS); do \
6630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6631 done; \
6632 echo "Doing install-info in bison" ; \
6633 (cd bison && \
6634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6636 "RANLIB=$${RANLIB}" \
6637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6638 install-info) \
6639 || exit 1
6640
6641
6642.PHONY: maybe-install-info-byacc install-info-byacc
6643maybe-install-info-byacc:
6644
6645install-info-byacc: \
6646 configure-byacc \
6647 info-byacc
6648 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
6649 r=`${PWD_COMMAND}`; export r; \
6650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6651 $(SET_LIB_PATH) \
6652 for flag in $(EXTRA_HOST_FLAGS); do \
6653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6654 done; \
6655 echo "Doing install-info in byacc" ; \
6656 (cd byacc && \
6657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6659 "RANLIB=$${RANLIB}" \
6660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6661 install-info) \
6662 || exit 1
6663
6664
6665.PHONY: maybe-install-info-bzip2 install-info-bzip2
6666maybe-install-info-bzip2:
6667
6668install-info-bzip2: \
6669 configure-bzip2 \
6670 info-bzip2
6671 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6674 $(SET_LIB_PATH) \
6675 for flag in $(EXTRA_HOST_FLAGS); do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 done; \
6678 echo "Doing install-info in bzip2" ; \
6679 (cd bzip2 && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684 install-info) \
6685 || exit 1
6686
6687
6688.PHONY: maybe-install-info-dejagnu install-info-dejagnu
6689maybe-install-info-dejagnu:
6690
6691install-info-dejagnu: \
6692 configure-dejagnu \
6693 info-dejagnu
6694 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6697 $(SET_LIB_PATH) \
6698 for flag in $(EXTRA_HOST_FLAGS); do \
6699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6700 done; \
6701 echo "Doing install-info in dejagnu" ; \
6702 (cd dejagnu && \
6703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6705 "RANLIB=$${RANLIB}" \
6706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6707 install-info) \
6708 || exit 1
6709
6710
6711.PHONY: maybe-install-info-diff install-info-diff
6712maybe-install-info-diff:
6713
6714install-info-diff: \
6715 configure-diff \
6716 info-diff
6717 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
6718 r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6720 $(SET_LIB_PATH) \
6721 for flag in $(EXTRA_HOST_FLAGS); do \
6722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 done; \
6724 echo "Doing install-info in diff" ; \
6725 (cd diff && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6728 "RANLIB=$${RANLIB}" \
6729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6730 install-info) \
6731 || exit 1
6732
6733
6734.PHONY: maybe-install-info-dosutils install-info-dosutils
6735maybe-install-info-dosutils:
6736
6737install-info-dosutils: \
6738 configure-dosutils \
6739 info-dosutils
6740 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
6741 r=`${PWD_COMMAND}`; export r; \
6742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6743 $(SET_LIB_PATH) \
6744 for flag in $(EXTRA_HOST_FLAGS); do \
6745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6746 done; \
6747 echo "Doing install-info in dosutils" ; \
6748 (cd dosutils && \
6749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6751 "RANLIB=$${RANLIB}" \
6752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6753 install-info) \
6754 || exit 1
6755
6756
6757.PHONY: maybe-install-info-etc install-info-etc
6758maybe-install-info-etc:
6759
6760install-info-etc: \
6761 configure-etc \
6762 info-etc
6763 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6766 $(SET_LIB_PATH) \
6767 for flag in $(EXTRA_HOST_FLAGS); do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing install-info in etc" ; \
6771 (cd etc && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6776 install-info) \
6777 || exit 1
6778
6779
6780.PHONY: maybe-install-info-fastjar install-info-fastjar
6781maybe-install-info-fastjar:
6782
6783install-info-fastjar: \
6784 configure-fastjar \
6785 info-fastjar
6786 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
6787 r=`${PWD_COMMAND}`; export r; \
6788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6789 $(SET_LIB_PATH) \
6790 for flag in $(EXTRA_HOST_FLAGS); do \
6791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6792 done; \
6793 echo "Doing install-info in fastjar" ; \
6794 (cd fastjar && \
6795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6797 "RANLIB=$${RANLIB}" \
6798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6799 install-info) \
6800 || exit 1
6801
6802
6803.PHONY: maybe-install-info-fileutils install-info-fileutils
6804maybe-install-info-fileutils:
6805
6806install-info-fileutils: \
6807 configure-fileutils \
6808 info-fileutils
6809 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
6810 r=`${PWD_COMMAND}`; export r; \
6811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6812 $(SET_LIB_PATH) \
6813 for flag in $(EXTRA_HOST_FLAGS); do \
6814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6815 done; \
6816 echo "Doing install-info in fileutils" ; \
6817 (cd fileutils && \
6818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6820 "RANLIB=$${RANLIB}" \
6821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6822 install-info) \
6823 || exit 1
6824
6825
6826.PHONY: maybe-install-info-findutils install-info-findutils
6827maybe-install-info-findutils:
6828
6829install-info-findutils: \
6830 configure-findutils \
6831 info-findutils
6832 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
6833 r=`${PWD_COMMAND}`; export r; \
6834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6835 $(SET_LIB_PATH) \
6836 for flag in $(EXTRA_HOST_FLAGS); do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6838 done; \
6839 echo "Doing install-info in findutils" ; \
6840 (cd findutils && \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6845 install-info) \
6846 || exit 1
6847
6848
6849.PHONY: maybe-install-info-find install-info-find
6850maybe-install-info-find:
6851
6852install-info-find: \
6853 configure-find \
6854 info-find
6855 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6858 $(SET_LIB_PATH) \
6859 for flag in $(EXTRA_HOST_FLAGS); do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing install-info in find" ; \
6863 (cd find && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6868 install-info) \
6869 || exit 1
6870
6871
6872.PHONY: maybe-install-info-flex install-info-flex
6873maybe-install-info-flex:
6874
6875install-info-flex: \
6876 configure-flex \
6877 info-flex
6878 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
6879 r=`${PWD_COMMAND}`; export r; \
6880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6881 $(SET_LIB_PATH) \
6882 for flag in $(EXTRA_HOST_FLAGS); do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 done; \
6885 echo "Doing install-info in flex" ; \
6886 (cd flex && \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6891 install-info) \
6892 || exit 1
6893
6894
6895.PHONY: maybe-install-info-gas install-info-gas
6896maybe-install-info-gas:
6897
6898install-info-gas: \
6899 configure-gas \
6900 info-gas
6901 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6904 $(SET_LIB_PATH) \
6905 for flag in $(EXTRA_HOST_FLAGS); do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing install-info in gas" ; \
6909 (cd gas && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6914 install-info) \
6915 || exit 1
6916
6917
6918.PHONY: maybe-install-info-gawk install-info-gawk
6919maybe-install-info-gawk:
6920
6921install-info-gawk: \
6922 configure-gawk \
6923 info-gawk
6924 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
6925 r=`${PWD_COMMAND}`; export r; \
6926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6927 $(SET_LIB_PATH) \
6928 for flag in $(EXTRA_HOST_FLAGS); do \
6929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6930 done; \
6931 echo "Doing install-info in gawk" ; \
6932 (cd gawk && \
6933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6935 "RANLIB=$${RANLIB}" \
6936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6937 install-info) \
6938 || exit 1
6939
6940
6941.PHONY: maybe-install-info-gettext install-info-gettext
6942maybe-install-info-gettext:
6943
6944install-info-gettext: \
6945 configure-gettext \
6946 info-gettext
6947 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
6948 r=`${PWD_COMMAND}`; export r; \
6949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6950 $(SET_LIB_PATH) \
6951 for flag in $(EXTRA_HOST_FLAGS); do \
6952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6953 done; \
6954 echo "Doing install-info in gettext" ; \
6955 (cd gettext && \
6956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6958 "RANLIB=$${RANLIB}" \
6959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6960 install-info) \
6961 || exit 1
6962
6963
6964.PHONY: maybe-install-info-gnuserv install-info-gnuserv
6965maybe-install-info-gnuserv:
6966
6967install-info-gnuserv: \
6968 configure-gnuserv \
6969 info-gnuserv
6970 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6973 $(SET_LIB_PATH) \
6974 for flag in $(EXTRA_HOST_FLAGS); do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing install-info in gnuserv" ; \
6978 (cd gnuserv && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6983 install-info) \
6984 || exit 1
6985
6986
6987.PHONY: maybe-install-info-gprof install-info-gprof
6988maybe-install-info-gprof:
6989
6990install-info-gprof: \
6991 configure-gprof \
6992 info-gprof
6993 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
6994 r=`${PWD_COMMAND}`; export r; \
6995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
6996 $(SET_LIB_PATH) \
6997 for flag in $(EXTRA_HOST_FLAGS); do \
6998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6999 done; \
7000 echo "Doing install-info in gprof" ; \
7001 (cd gprof && \
7002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7004 "RANLIB=$${RANLIB}" \
7005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7006 install-info) \
7007 || exit 1
7008
7009
7010.PHONY: maybe-install-info-gzip install-info-gzip
7011maybe-install-info-gzip:
7012
7013install-info-gzip: \
7014 configure-gzip \
7015 info-gzip
7016 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
7017 r=`${PWD_COMMAND}`; export r; \
7018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7019 $(SET_LIB_PATH) \
7020 for flag in $(EXTRA_HOST_FLAGS); do \
7021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7022 done; \
7023 echo "Doing install-info in gzip" ; \
7024 (cd gzip && \
7025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7027 "RANLIB=$${RANLIB}" \
7028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7029 install-info) \
7030 || exit 1
7031
7032
7033.PHONY: maybe-install-info-hello install-info-hello
7034maybe-install-info-hello:
7035
7036install-info-hello: \
7037 configure-hello \
7038 info-hello
7039 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
7040 r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7042 $(SET_LIB_PATH) \
7043 for flag in $(EXTRA_HOST_FLAGS); do \
7044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7045 done; \
7046 echo "Doing install-info in hello" ; \
7047 (cd hello && \
7048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050 "RANLIB=$${RANLIB}" \
7051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7052 install-info) \
7053 || exit 1
7054
7055
7056.PHONY: maybe-install-info-indent install-info-indent
7057maybe-install-info-indent:
7058
7059install-info-indent: \
7060 configure-indent \
7061 info-indent
7062 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
7063 r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7065 $(SET_LIB_PATH) \
7066 for flag in $(EXTRA_HOST_FLAGS); do \
7067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7068 done; \
7069 echo "Doing install-info in indent" ; \
7070 (cd indent && \
7071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7073 "RANLIB=$${RANLIB}" \
7074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7075 install-info) \
7076 || exit 1
7077
7078
7079.PHONY: maybe-install-info-intl install-info-intl
7080maybe-install-info-intl:
7081
7082install-info-intl: \
7083 configure-intl \
7084 info-intl
7085 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
7086 r=`${PWD_COMMAND}`; export r; \
7087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7088 $(SET_LIB_PATH) \
7089 for flag in $(EXTRA_HOST_FLAGS); do \
7090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7091 done; \
7092 echo "Doing install-info in intl" ; \
7093 (cd intl && \
7094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7096 "RANLIB=$${RANLIB}" \
7097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7098 install-info) \
7099 || exit 1
7100
7101
7102.PHONY: maybe-install-info-tcl install-info-tcl
7103maybe-install-info-tcl:
7104
7105install-info-tcl: \
7106 configure-tcl \
7107 info-tcl
7108 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
7109 r=`${PWD_COMMAND}`; export r; \
7110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7111 $(SET_LIB_PATH) \
7112 for flag in $(EXTRA_HOST_FLAGS); do \
7113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7114 done; \
7115 echo "Doing install-info in tcl" ; \
7116 (cd tcl && \
7117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7119 "RANLIB=$${RANLIB}" \
7120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7121 install-info) \
7122 || exit 1
7123
7124
7125.PHONY: maybe-install-info-itcl install-info-itcl
7126maybe-install-info-itcl:
7127
7128install-info-itcl: \
7129 configure-itcl \
7130 info-itcl
7131 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
7132 r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7134 $(SET_LIB_PATH) \
7135 for flag in $(EXTRA_HOST_FLAGS); do \
7136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7137 done; \
7138 echo "Doing install-info in itcl" ; \
7139 (cd itcl && \
7140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7142 "RANLIB=$${RANLIB}" \
7143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7144 install-info) \
7145 || exit 1
7146
7147
7148.PHONY: maybe-install-info-ld install-info-ld
7149maybe-install-info-ld:
7150
7151install-info-ld: \
7152 configure-ld \
7153 info-ld
7154 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
7155 r=`${PWD_COMMAND}`; export r; \
7156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7157 $(SET_LIB_PATH) \
7158 for flag in $(EXTRA_HOST_FLAGS); do \
7159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7160 done; \
7161 echo "Doing install-info in ld" ; \
7162 (cd ld && \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165 "RANLIB=$${RANLIB}" \
7166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7167 install-info) \
7168 || exit 1
7169
7170
7171.PHONY: maybe-install-info-libgui install-info-libgui
7172maybe-install-info-libgui:
7173
7174install-info-libgui: \
7175 configure-libgui \
7176 info-libgui
7177 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
7178 r=`${PWD_COMMAND}`; export r; \
7179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7180 $(SET_LIB_PATH) \
7181 for flag in $(EXTRA_HOST_FLAGS); do \
7182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7183 done; \
7184 echo "Doing install-info in libgui" ; \
7185 (cd libgui && \
7186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7188 "RANLIB=$${RANLIB}" \
7189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7190 install-info) \
7191 || exit 1
7192
7193
7194.PHONY: maybe-install-info-libiberty install-info-libiberty
7195maybe-install-info-libiberty:
7196
7197install-info-libiberty: \
7198 configure-libiberty \
7199 info-libiberty
7200 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7203 $(SET_LIB_PATH) \
7204 for flag in $(EXTRA_HOST_FLAGS); do \
7205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7206 done; \
7207 echo "Doing install-info in libiberty" ; \
7208 (cd libiberty && \
7209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7211 "RANLIB=$${RANLIB}" \
7212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7213 install-info) \
7214 || exit 1
7215
7216
7217.PHONY: maybe-install-info-libtool install-info-libtool
7218maybe-install-info-libtool:
7219
7220install-info-libtool: \
7221 configure-libtool \
7222 info-libtool
7223 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
7224 r=`${PWD_COMMAND}`; export r; \
7225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7226 $(SET_LIB_PATH) \
7227 for flag in $(EXTRA_HOST_FLAGS); do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing install-info in libtool" ; \
7231 (cd libtool && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7236 install-info) \
7237 || exit 1
7238
7239
7240.PHONY: maybe-install-info-m4 install-info-m4
7241maybe-install-info-m4:
7242
7243install-info-m4: \
7244 configure-m4 \
7245 info-m4
7246 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
7247 r=`${PWD_COMMAND}`; export r; \
7248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7249 $(SET_LIB_PATH) \
7250 for flag in $(EXTRA_HOST_FLAGS); do \
7251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7252 done; \
7253 echo "Doing install-info in m4" ; \
7254 (cd m4 && \
7255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7257 "RANLIB=$${RANLIB}" \
7258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7259 install-info) \
7260 || exit 1
7261
7262
7263.PHONY: maybe-install-info-make install-info-make
7264maybe-install-info-make:
7265
7266install-info-make: \
7267 configure-make \
7268 info-make
7269 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
7270 r=`${PWD_COMMAND}`; export r; \
7271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7272 $(SET_LIB_PATH) \
7273 for flag in $(EXTRA_HOST_FLAGS); do \
7274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7275 done; \
7276 echo "Doing install-info in make" ; \
7277 (cd make && \
7278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7280 "RANLIB=$${RANLIB}" \
7281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7282 install-info) \
7283 || exit 1
7284
7285
7286.PHONY: maybe-install-info-mmalloc install-info-mmalloc
7287maybe-install-info-mmalloc:
7288
7289install-info-mmalloc: \
7290 configure-mmalloc \
7291 info-mmalloc
7292 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
7293 r=`${PWD_COMMAND}`; export r; \
7294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7295 $(SET_LIB_PATH) \
7296 for flag in $(EXTRA_HOST_FLAGS); do \
7297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7298 done; \
7299 echo "Doing install-info in mmalloc" ; \
7300 (cd mmalloc && \
7301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7303 "RANLIB=$${RANLIB}" \
7304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7305 install-info) \
7306 || exit 1
7307
7308
7309.PHONY: maybe-install-info-patch install-info-patch
7310maybe-install-info-patch:
7311
7312install-info-patch: \
7313 configure-patch \
7314 info-patch
7315 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
7316 r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7318 $(SET_LIB_PATH) \
7319 for flag in $(EXTRA_HOST_FLAGS); do \
7320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7321 done; \
7322 echo "Doing install-info in patch" ; \
7323 (cd patch && \
7324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7326 "RANLIB=$${RANLIB}" \
7327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7328 install-info) \
7329 || exit 1
7330
7331
7332.PHONY: maybe-install-info-perl install-info-perl
7333maybe-install-info-perl:
7334
7335install-info-perl: \
7336 configure-perl \
7337 info-perl
7338 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
7339 r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7341 $(SET_LIB_PATH) \
7342 for flag in $(EXTRA_HOST_FLAGS); do \
7343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7344 done; \
7345 echo "Doing install-info in perl" ; \
7346 (cd perl && \
7347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7349 "RANLIB=$${RANLIB}" \
7350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7351 install-info) \
7352 || exit 1
7353
7354
7355.PHONY: maybe-install-info-prms install-info-prms
7356maybe-install-info-prms:
7357
7358install-info-prms: \
7359 configure-prms \
7360 info-prms
7361 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
7362 r=`${PWD_COMMAND}`; export r; \
7363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7364 $(SET_LIB_PATH) \
7365 for flag in $(EXTRA_HOST_FLAGS); do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 done; \
7368 echo "Doing install-info in prms" ; \
7369 (cd prms && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7374 install-info) \
7375 || exit 1
7376
7377
7378.PHONY: maybe-install-info-rcs install-info-rcs
7379maybe-install-info-rcs:
7380
7381install-info-rcs: \
7382 configure-rcs \
7383 info-rcs
7384 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7387 $(SET_LIB_PATH) \
7388 for flag in $(EXTRA_HOST_FLAGS); do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing install-info in rcs" ; \
7392 (cd rcs && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7397 install-info) \
7398 || exit 1
7399
7400
7401.PHONY: maybe-install-info-readline install-info-readline
7402maybe-install-info-readline:
7403
7404install-info-readline: \
7405 configure-readline \
7406 info-readline
7407 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7410 $(SET_LIB_PATH) \
7411 for flag in $(EXTRA_HOST_FLAGS); do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 done; \
7414 echo "Doing install-info in readline" ; \
7415 (cd readline && \
7416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7418 "RANLIB=$${RANLIB}" \
7419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7420 install-info) \
7421 || exit 1
7422
7423
7424.PHONY: maybe-install-info-release install-info-release
7425maybe-install-info-release:
7426
7427install-info-release: \
7428 configure-release \
7429 info-release
7430 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
7431 r=`${PWD_COMMAND}`; export r; \
7432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7433 $(SET_LIB_PATH) \
7434 for flag in $(EXTRA_HOST_FLAGS); do \
7435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436 done; \
7437 echo "Doing install-info in release" ; \
7438 (cd release && \
7439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7441 "RANLIB=$${RANLIB}" \
7442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7443 install-info) \
7444 || exit 1
7445
7446
7447.PHONY: maybe-install-info-recode install-info-recode
7448maybe-install-info-recode:
7449
7450install-info-recode: \
7451 configure-recode \
7452 info-recode
7453 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
7454 r=`${PWD_COMMAND}`; export r; \
7455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7456 $(SET_LIB_PATH) \
7457 for flag in $(EXTRA_HOST_FLAGS); do \
7458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7459 done; \
7460 echo "Doing install-info in recode" ; \
7461 (cd recode && \
7462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7464 "RANLIB=$${RANLIB}" \
7465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7466 install-info) \
7467 || exit 1
7468
7469
7470.PHONY: maybe-install-info-sed install-info-sed
7471maybe-install-info-sed:
7472
7473install-info-sed: \
7474 configure-sed \
7475 info-sed
7476 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
7477 r=`${PWD_COMMAND}`; export r; \
7478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7479 $(SET_LIB_PATH) \
7480 for flag in $(EXTRA_HOST_FLAGS); do \
7481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7482 done; \
7483 echo "Doing install-info in sed" ; \
7484 (cd sed && \
7485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7487 "RANLIB=$${RANLIB}" \
7488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7489 install-info) \
7490 || exit 1
7491
7492
7493.PHONY: maybe-install-info-send-pr install-info-send-pr
7494maybe-install-info-send-pr:
7495
7496install-info-send-pr: \
7497 configure-send-pr \
7498 info-send-pr
7499 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
7500 r=`${PWD_COMMAND}`; export r; \
7501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7502 $(SET_LIB_PATH) \
7503 for flag in $(EXTRA_HOST_FLAGS); do \
7504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7505 done; \
7506 echo "Doing install-info in send-pr" ; \
7507 (cd send-pr && \
7508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7510 "RANLIB=$${RANLIB}" \
7511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7512 install-info) \
7513 || exit 1
7514
7515
7516.PHONY: maybe-install-info-shellutils install-info-shellutils
7517maybe-install-info-shellutils:
7518
7519install-info-shellutils: \
7520 configure-shellutils \
7521 info-shellutils
7522 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
7523 r=`${PWD_COMMAND}`; export r; \
7524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7525 $(SET_LIB_PATH) \
7526 for flag in $(EXTRA_HOST_FLAGS); do \
7527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7528 done; \
7529 echo "Doing install-info in shellutils" ; \
7530 (cd shellutils && \
7531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7533 "RANLIB=$${RANLIB}" \
7534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7535 install-info) \
7536 || exit 1
7537
7538
7539.PHONY: maybe-install-info-sid install-info-sid
7540maybe-install-info-sid:
7541
7542install-info-sid: \
7543 configure-sid \
7544 info-sid
7545 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7548 $(SET_LIB_PATH) \
7549 for flag in $(EXTRA_HOST_FLAGS); do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing install-info in sid" ; \
7553 (cd sid && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7558 install-info) \
7559 || exit 1
7560
7561
7562.PHONY: maybe-install-info-sim install-info-sim
7563maybe-install-info-sim:
7564
7565install-info-sim: \
7566 configure-sim \
7567 info-sim
7568 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
7569 r=`${PWD_COMMAND}`; export r; \
7570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7571 $(SET_LIB_PATH) \
7572 for flag in $(EXTRA_HOST_FLAGS); do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7574 done; \
7575 echo "Doing install-info in sim" ; \
7576 (cd sim && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7581 install-info) \
7582 || exit 1
7583
7584
7585.PHONY: maybe-install-info-tar install-info-tar
7586maybe-install-info-tar:
7587
7588install-info-tar: \
7589 configure-tar \
7590 info-tar
7591 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7594 $(SET_LIB_PATH) \
7595 for flag in $(EXTRA_HOST_FLAGS); do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing install-info in tar" ; \
7599 (cd tar && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7604 install-info) \
7605 || exit 1
7606
7607
7608.PHONY: maybe-install-info-texinfo install-info-texinfo
7609maybe-install-info-texinfo:
7610
7611install-info-texinfo: \
7612 configure-texinfo \
7613 info-texinfo
7614 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7617 $(SET_LIB_PATH) \
7618 for flag in $(EXTRA_HOST_FLAGS); do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing install-info in texinfo" ; \
7622 (cd texinfo && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7627 install-info) \
7628 || exit 1
7629
7630
7631.PHONY: maybe-install-info-textutils install-info-textutils
7632maybe-install-info-textutils:
7633
7634install-info-textutils: \
7635 configure-textutils \
7636 info-textutils
7637 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
7638 r=`${PWD_COMMAND}`; export r; \
7639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7640 $(SET_LIB_PATH) \
7641 for flag in $(EXTRA_HOST_FLAGS); do \
7642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7643 done; \
7644 echo "Doing install-info in textutils" ; \
7645 (cd textutils && \
7646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7648 "RANLIB=$${RANLIB}" \
7649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7650 install-info) \
7651 || exit 1
7652
7653
7654.PHONY: maybe-install-info-time install-info-time
7655maybe-install-info-time:
7656
7657install-info-time: \
7658 configure-time \
7659 info-time
7660 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
7661 r=`${PWD_COMMAND}`; export r; \
7662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7663 $(SET_LIB_PATH) \
7664 for flag in $(EXTRA_HOST_FLAGS); do \
7665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7666 done; \
7667 echo "Doing install-info in time" ; \
7668 (cd time && \
7669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7671 "RANLIB=$${RANLIB}" \
7672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7673 install-info) \
7674 || exit 1
7675
7676
7677.PHONY: maybe-install-info-uudecode install-info-uudecode
7678maybe-install-info-uudecode:
7679
7680install-info-uudecode: \
7681 configure-uudecode \
7682 info-uudecode
7683 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7686 $(SET_LIB_PATH) \
7687 for flag in $(EXTRA_HOST_FLAGS); do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing install-info in uudecode" ; \
7691 (cd uudecode && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696 install-info) \
7697 || exit 1
7698
7699
7700.PHONY: maybe-install-info-wdiff install-info-wdiff
7701maybe-install-info-wdiff:
7702
7703install-info-wdiff: \
7704 configure-wdiff \
7705 info-wdiff
7706 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7709 $(SET_LIB_PATH) \
7710 for flag in $(EXTRA_HOST_FLAGS); do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing install-info in wdiff" ; \
7714 (cd wdiff && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7719 install-info) \
7720 || exit 1
7721
7722
7723.PHONY: maybe-install-info-zip install-info-zip
7724maybe-install-info-zip:
7725
7726install-info-zip: \
7727 configure-zip \
7728 info-zip
7729 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
7730 r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7732 $(SET_LIB_PATH) \
7733 for flag in $(EXTRA_HOST_FLAGS); do \
7734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7735 done; \
7736 echo "Doing install-info in zip" ; \
7737 (cd zip && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7740 "RANLIB=$${RANLIB}" \
7741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7742 install-info) \
7743 || exit 1
7744
7745
7746.PHONY: maybe-install-info-zlib install-info-zlib
7747maybe-install-info-zlib:
7748
7749install-info-zlib: \
7750 configure-zlib \
7751 info-zlib
7752 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
7753 r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7755 $(SET_LIB_PATH) \
7756 for flag in $(EXTRA_HOST_FLAGS); do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7758 done; \
7759 echo "Doing install-info in zlib" ; \
7760 (cd zlib && \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7765 install-info) \
7766 || exit 1
7767
7768
7769.PHONY: maybe-install-info-gdb install-info-gdb
7770maybe-install-info-gdb:
7771
7772install-info-gdb: \
7773 configure-gdb \
7774 info-gdb
7775 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
7776 r=`${PWD_COMMAND}`; export r; \
7777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7778 $(SET_LIB_PATH) \
7779 for flag in $(EXTRA_HOST_FLAGS); do \
7780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7781 done; \
7782 echo "Doing install-info in gdb" ; \
7783 (cd gdb && \
7784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786 "RANLIB=$${RANLIB}" \
7787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7788 install-info) \
7789 || exit 1
7790
7791
7792.PHONY: maybe-install-info-expect install-info-expect
7793maybe-install-info-expect:
7794
7795install-info-expect: \
7796 configure-expect \
7797 info-expect
7798 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
7799 r=`${PWD_COMMAND}`; export r; \
7800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7801 $(SET_LIB_PATH) \
7802 for flag in $(EXTRA_HOST_FLAGS); do \
7803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7804 done; \
7805 echo "Doing install-info in expect" ; \
7806 (cd expect && \
7807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7809 "RANLIB=$${RANLIB}" \
7810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7811 install-info) \
7812 || exit 1
7813
7814
7815.PHONY: maybe-install-info-guile install-info-guile
7816maybe-install-info-guile:
7817
7818install-info-guile: \
7819 configure-guile \
7820 info-guile
7821 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
7822 r=`${PWD_COMMAND}`; export r; \
7823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7824 $(SET_LIB_PATH) \
7825 for flag in $(EXTRA_HOST_FLAGS); do \
7826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7827 done; \
7828 echo "Doing install-info in guile" ; \
7829 (cd guile && \
7830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7832 "RANLIB=$${RANLIB}" \
7833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7834 install-info) \
7835 || exit 1
7836
7837
7838.PHONY: maybe-install-info-tk install-info-tk
7839maybe-install-info-tk:
7840
7841install-info-tk: \
7842 configure-tk \
7843 info-tk
7844 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7847 $(SET_LIB_PATH) \
7848 for flag in $(EXTRA_HOST_FLAGS); do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing install-info in tk" ; \
7852 (cd tk && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 install-info) \
7858 || exit 1
7859
7860
7861.PHONY: maybe-install-info-tix install-info-tix
7862maybe-install-info-tix:
7863
7864install-info-tix: \
7865 configure-tix \
7866 info-tix
7867 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
7868 r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7870 $(SET_LIB_PATH) \
7871 for flag in $(EXTRA_HOST_FLAGS); do \
7872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7873 done; \
7874 echo "Doing install-info in tix" ; \
7875 (cd tix && \
7876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7878 "RANLIB=$${RANLIB}" \
7879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7880 install-info) \
7881 || exit 1
7882
7883
7884.PHONY: maybe-install-info-libtermcap install-info-libtermcap
7885maybe-install-info-libtermcap:
7886
7887install-info-libtermcap: \
7888 configure-libtermcap \
7889 info-libtermcap
7890 @[ -f ./libtermcap/Makefile ] || exit 0; \
8c90b13a
L
7891 r=`${PWD_COMMAND}`; export r; \
7892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7893 $(SET_LIB_PATH) \
7894 for flag in $(EXTRA_HOST_FLAGS); do \
7895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7896 done; \
7897 echo "Doing install-info in libtermcap" ; \
7898 (cd libtermcap && \
7899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7901 "RANLIB=$${RANLIB}" \
7902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7903 install-info) \
7904 || exit 1
7905
7906
7907.PHONY: maybe-install-info-utils install-info-utils
7908maybe-install-info-utils:
7909
7910install-info-utils: \
7911 configure-utils \
7912 info-utils
7913 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
7914 r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7916 $(SET_LIB_PATH) \
7917 for flag in $(EXTRA_HOST_FLAGS); do \
7918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7919 done; \
7920 echo "Doing install-info in utils" ; \
7921 (cd utils && \
7922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7924 "RANLIB=$${RANLIB}" \
7925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7926 install-info) \
7927 || exit 1
7928
7929
7930
7931# Target modules.
7932
7933.PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
7934maybe-install-info-target-libstdc++-v3:
7935
7936install-info-target-libstdc++-v3: \
7937 configure-target-libstdc++-v3 \
7938 info-target-libstdc++-v3
7939 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
7940 r=`${PWD_COMMAND}`; export r; \
7941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7942 $(SET_LIB_PATH) \
7943 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
7944 for flag in $(EXTRA_TARGET_FLAGS); do \
7945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7946 done; \
7947 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
7948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7950 "RANLIB=$${RANLIB}" \
7951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7952 install-info) \
7953 || exit 1
7954
7955
7956.PHONY: maybe-install-info-target-newlib install-info-target-newlib
7957maybe-install-info-target-newlib:
7958
7959install-info-target-newlib: \
7960 configure-target-newlib \
7961 info-target-newlib
7962 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
7963 r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7965 $(SET_LIB_PATH) \
7966 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
7967 for flag in $(EXTRA_TARGET_FLAGS); do \
7968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7969 done; \
7970 (cd $(TARGET_SUBDIR)/newlib && \
7971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7973 "RANLIB=$${RANLIB}" \
7974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7975 install-info) \
7976 || exit 1
7977
7978
7979.PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
7980maybe-install-info-target-libf2c:
7981
7982install-info-target-libf2c: \
7983 configure-target-libf2c \
7984 info-target-libf2c
7985 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
7988 $(SET_LIB_PATH) \
7989 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
7990 for flag in $(EXTRA_TARGET_FLAGS); do \
7991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7992 done; \
7993 (cd $(TARGET_SUBDIR)/libf2c && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7998 install-info) \
7999 || exit 1
8000
8001
8002.PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
8003maybe-install-info-target-libobjc:
8004
8005install-info-target-libobjc: \
8006 configure-target-libobjc \
8007 info-target-libobjc
8008 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
8009 r=`${PWD_COMMAND}`; export r; \
8010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8011 $(SET_LIB_PATH) \
8012 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
8013 for flag in $(EXTRA_TARGET_FLAGS); do \
8014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8015 done; \
8016 (cd $(TARGET_SUBDIR)/libobjc && \
8017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8019 "RANLIB=$${RANLIB}" \
8020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8021 install-info) \
8022 || exit 1
8023
8024
8025.PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
8026maybe-install-info-target-libtermcap:
8027
8028install-info-target-libtermcap: \
8029 configure-target-libtermcap \
8030 info-target-libtermcap
8031 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8c90b13a
L
8032 r=`${PWD_COMMAND}`; export r; \
8033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8034 $(SET_LIB_PATH) \
8035 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
8036 for flag in $(EXTRA_TARGET_FLAGS); do \
8037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8038 done; \
8039 (cd $(TARGET_SUBDIR)/libtermcap && \
8040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8042 "RANLIB=$${RANLIB}" \
8043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8044 install-info) \
8045 || exit 1
8046
8047
8048.PHONY: maybe-install-info-target-winsup install-info-target-winsup
8049maybe-install-info-target-winsup:
8050
8051install-info-target-winsup: \
8052 configure-target-winsup \
8053 info-target-winsup
8054 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
8055 r=`${PWD_COMMAND}`; export r; \
8056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8057 $(SET_LIB_PATH) \
8058 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
8059 for flag in $(EXTRA_TARGET_FLAGS); do \
8060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8061 done; \
8062 (cd $(TARGET_SUBDIR)/winsup && \
8063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8065 "RANLIB=$${RANLIB}" \
8066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8067 install-info) \
8068 || exit 1
8069
8070
8071.PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
8072maybe-install-info-target-libgloss:
8073
8074install-info-target-libgloss: \
8075 configure-target-libgloss \
8076 info-target-libgloss
8077 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
8078 r=`${PWD_COMMAND}`; export r; \
8079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8080 $(SET_LIB_PATH) \
8081 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
8082 for flag in $(EXTRA_TARGET_FLAGS); do \
8083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8084 done; \
8085 (cd $(TARGET_SUBDIR)/libgloss && \
8086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8088 "RANLIB=$${RANLIB}" \
8089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8090 install-info) \
8091 || exit 1
8092
8093
8094.PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
8095maybe-install-info-target-libiberty:
8096
8097install-info-target-libiberty: \
8098 configure-target-libiberty \
8099 info-target-libiberty
8100 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
8101 r=`${PWD_COMMAND}`; export r; \
8102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8103 $(SET_LIB_PATH) \
8104 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
8105 for flag in $(EXTRA_TARGET_FLAGS); do \
8106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8107 done; \
8108 (cd $(TARGET_SUBDIR)/libiberty && \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8113 install-info) \
8114 || exit 1
8115
8116
8117.PHONY: maybe-install-info-target-gperf install-info-target-gperf
8118maybe-install-info-target-gperf:
8119
8120install-info-target-gperf: \
8121 configure-target-gperf \
8122 info-target-gperf
8123 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8126 $(SET_LIB_PATH) \
8127 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
8128 for flag in $(EXTRA_TARGET_FLAGS); do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 (cd $(TARGET_SUBDIR)/gperf && \
8132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8134 "RANLIB=$${RANLIB}" \
8135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8136 install-info) \
8137 || exit 1
8138
8139
8140.PHONY: maybe-install-info-target-examples install-info-target-examples
8141maybe-install-info-target-examples:
8142
8143install-info-target-examples: \
8144 configure-target-examples \
8145 info-target-examples
8146 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
8147 r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8149 $(SET_LIB_PATH) \
8150 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
8151 for flag in $(EXTRA_TARGET_FLAGS); do \
8152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8153 done; \
8154 (cd $(TARGET_SUBDIR)/examples && \
8155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8157 "RANLIB=$${RANLIB}" \
8158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8159 install-info) \
8160 || exit 1
8161
8162
8163.PHONY: maybe-install-info-target-libffi install-info-target-libffi
8164maybe-install-info-target-libffi:
8165
8166install-info-target-libffi: \
8167 configure-target-libffi \
8168 info-target-libffi
8169 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
8170 r=`${PWD_COMMAND}`; export r; \
8171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8172 $(SET_LIB_PATH) \
8173 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
8174 for flag in $(EXTRA_TARGET_FLAGS); do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 (cd $(TARGET_SUBDIR)/libffi && \
8178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8180 "RANLIB=$${RANLIB}" \
8181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8182 install-info) \
8183 || exit 1
8184
8185
8186.PHONY: maybe-install-info-target-libjava install-info-target-libjava
8187maybe-install-info-target-libjava:
8188
8189install-info-target-libjava: \
8190 configure-target-libjava \
8191 info-target-libjava
8192 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8195 $(SET_LIB_PATH) \
8196 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
8197 for flag in $(EXTRA_TARGET_FLAGS); do \
8198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 done; \
8200 (cd $(TARGET_SUBDIR)/libjava && \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8205 install-info) \
8206 || exit 1
8207
8208
8209.PHONY: maybe-install-info-target-zlib install-info-target-zlib
8210maybe-install-info-target-zlib:
8211
8212install-info-target-zlib: \
8213 configure-target-zlib \
8214 info-target-zlib
8215 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
8216 r=`${PWD_COMMAND}`; export r; \
8217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8218 $(SET_LIB_PATH) \
8219 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
8220 for flag in $(EXTRA_TARGET_FLAGS); do \
8221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8222 done; \
8223 (cd $(TARGET_SUBDIR)/zlib && \
8224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8226 "RANLIB=$${RANLIB}" \
8227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8228 install-info) \
8229 || exit 1
8230
8231
8232.PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
8233maybe-install-info-target-boehm-gc:
8234
8235install-info-target-boehm-gc: \
8236 configure-target-boehm-gc \
8237 info-target-boehm-gc
8238 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
8239 r=`${PWD_COMMAND}`; export r; \
8240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8241 $(SET_LIB_PATH) \
8242 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
8243 for flag in $(EXTRA_TARGET_FLAGS); do \
8244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8245 done; \
8246 (cd $(TARGET_SUBDIR)/boehm-gc && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8249 "RANLIB=$${RANLIB}" \
8250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8251 install-info) \
8252 || exit 1
8253
8254
8255.PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
8256maybe-install-info-target-qthreads:
8257
8258install-info-target-qthreads: \
8259 configure-target-qthreads \
8260 info-target-qthreads
8261 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
8262 r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8264 $(SET_LIB_PATH) \
8265 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
8266 for flag in $(EXTRA_TARGET_FLAGS); do \
8267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8268 done; \
8269 (cd $(TARGET_SUBDIR)/qthreads && \
8270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8272 "RANLIB=$${RANLIB}" \
8273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8274 install-info) \
8275 || exit 1
8276
8277
8278.PHONY: maybe-install-info-target-rda install-info-target-rda
8279maybe-install-info-target-rda:
8280
8281install-info-target-rda: \
8282 configure-target-rda \
8283 info-target-rda
8284 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
8285 r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8287 $(SET_LIB_PATH) \
8288 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
8289 for flag in $(EXTRA_TARGET_FLAGS); do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291 done; \
8292 (cd $(TARGET_SUBDIR)/rda && \
8293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8295 "RANLIB=$${RANLIB}" \
8296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8297 install-info) \
8298 || exit 1
8299
8300
8301
8302.PHONY: do-installcheck
8303do-installcheck: installcheck-host installcheck-target
8304
8305.PHONY: installcheck-host
8306installcheck-host: maybe-installcheck-gcc \
8307 maybe-installcheck-ash \
8308 maybe-installcheck-autoconf \
8309 maybe-installcheck-automake \
8310 maybe-installcheck-bash \
8311 maybe-installcheck-bfd \
8312 maybe-installcheck-opcodes \
8313 maybe-installcheck-binutils \
8314 maybe-installcheck-bison \
8315 maybe-installcheck-byacc \
8316 maybe-installcheck-bzip2 \
8317 maybe-installcheck-dejagnu \
8318 maybe-installcheck-diff \
8319 maybe-installcheck-dosutils \
8320 maybe-installcheck-etc \
8321 maybe-installcheck-fastjar \
8322 maybe-installcheck-fileutils \
8323 maybe-installcheck-findutils \
8324 maybe-installcheck-find \
8325 maybe-installcheck-flex \
8326 maybe-installcheck-gas \
8327 maybe-installcheck-gawk \
8328 maybe-installcheck-gettext \
8329 maybe-installcheck-gnuserv \
8330 maybe-installcheck-gprof \
8331 maybe-installcheck-gzip \
8332 maybe-installcheck-hello \
8333 maybe-installcheck-indent \
8334 maybe-installcheck-intl \
8335 maybe-installcheck-tcl \
8336 maybe-installcheck-itcl \
8337 maybe-installcheck-ld \
8338 maybe-installcheck-libgui \
8339 maybe-installcheck-libiberty \
8340 maybe-installcheck-libtool \
8341 maybe-installcheck-m4 \
8342 maybe-installcheck-make \
8343 maybe-installcheck-mmalloc \
8344 maybe-installcheck-patch \
8345 maybe-installcheck-perl \
8346 maybe-installcheck-prms \
8347 maybe-installcheck-rcs \
8348 maybe-installcheck-readline \
8349 maybe-installcheck-release \
8350 maybe-installcheck-recode \
8351 maybe-installcheck-sed \
8352 maybe-installcheck-send-pr \
8353 maybe-installcheck-shellutils \
8354 maybe-installcheck-sid \
8355 maybe-installcheck-sim \
8356 maybe-installcheck-tar \
8357 maybe-installcheck-texinfo \
8358 maybe-installcheck-textutils \
8359 maybe-installcheck-time \
8360 maybe-installcheck-uudecode \
8361 maybe-installcheck-wdiff \
8362 maybe-installcheck-zip \
8363 maybe-installcheck-zlib \
8364 maybe-installcheck-gdb \
8365 maybe-installcheck-expect \
8366 maybe-installcheck-guile \
8367 maybe-installcheck-tk \
8368 maybe-installcheck-tix \
8369 maybe-installcheck-libtermcap \
8370 maybe-installcheck-utils
8371
8372.PHONY: installcheck-target
8373installcheck-target: \
8374 maybe-installcheck-target-libstdc++-v3 \
8375 maybe-installcheck-target-newlib \
8376 maybe-installcheck-target-libf2c \
8377 maybe-installcheck-target-libobjc \
8378 maybe-installcheck-target-libtermcap \
8379 maybe-installcheck-target-winsup \
8380 maybe-installcheck-target-libgloss \
8381 maybe-installcheck-target-libiberty \
8382 maybe-installcheck-target-gperf \
8383 maybe-installcheck-target-examples \
8384 maybe-installcheck-target-libffi \
8385 maybe-installcheck-target-libjava \
8386 maybe-installcheck-target-zlib \
8387 maybe-installcheck-target-boehm-gc \
8388 maybe-installcheck-target-qthreads \
8389 maybe-installcheck-target-rda
8390
8391# GCC, the eternal special case
8392.PHONY: maybe-installcheck-gcc installcheck-gcc
8393maybe-installcheck-gcc:
8394installcheck-gcc: \
8395 configure-gcc
8396 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
8397 r=`${PWD_COMMAND}`; export r; \
8398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8399 $(SET_LIB_PATH) \
8400 for flag in $(EXTRA_GCC_FLAGS); do \
8401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8402 done; \
8403 echo "Doing installcheck in gcc" ; \
8404 (cd gcc && \
8405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8407 "RANLIB=$${RANLIB}" \
8408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8409 installcheck) \
8410 || exit 1
8411
8412# Host modules.
8413
8414.PHONY: maybe-installcheck-ash installcheck-ash
8415maybe-installcheck-ash:
8416
8417installcheck-ash: \
8418 configure-ash
8419 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
8420 r=`${PWD_COMMAND}`; export r; \
8421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8422 $(SET_LIB_PATH) \
8423 for flag in $(EXTRA_HOST_FLAGS); do \
8424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8425 done; \
8426 echo "Doing installcheck in ash" ; \
8427 (cd ash && \
8428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8430 "RANLIB=$${RANLIB}" \
8431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8432 installcheck) \
8433 || exit 1
8434
8435
8436.PHONY: maybe-installcheck-autoconf installcheck-autoconf
8437maybe-installcheck-autoconf:
8438
8439installcheck-autoconf: \
8440 configure-autoconf
8441 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8444 $(SET_LIB_PATH) \
8445 for flag in $(EXTRA_HOST_FLAGS); do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing installcheck in autoconf" ; \
8449 (cd autoconf && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8454 installcheck) \
8455 || exit 1
8456
8457
8458.PHONY: maybe-installcheck-automake installcheck-automake
8459maybe-installcheck-automake:
8460
8461installcheck-automake: \
8462 configure-automake
8463 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
8464 r=`${PWD_COMMAND}`; export r; \
8465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8466 $(SET_LIB_PATH) \
8467 for flag in $(EXTRA_HOST_FLAGS); do \
8468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8469 done; \
8470 echo "Doing installcheck in automake" ; \
8471 (cd automake && \
8472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8474 "RANLIB=$${RANLIB}" \
8475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8476 installcheck) \
8477 || exit 1
8478
8479
8480.PHONY: maybe-installcheck-bash installcheck-bash
8481maybe-installcheck-bash:
8482
8483installcheck-bash: \
8484 configure-bash
8485 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
8486 r=`${PWD_COMMAND}`; export r; \
8487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8488 $(SET_LIB_PATH) \
8489 for flag in $(EXTRA_HOST_FLAGS); do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing installcheck in bash" ; \
8493 (cd bash && \
8494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8496 "RANLIB=$${RANLIB}" \
8497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8498 installcheck) \
8499 || exit 1
8500
8501
8502.PHONY: maybe-installcheck-bfd installcheck-bfd
8503maybe-installcheck-bfd:
8504
8505installcheck-bfd: \
8506 configure-bfd
8507 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8510 $(SET_LIB_PATH) \
8511 for flag in $(EXTRA_HOST_FLAGS); do \
8512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 done; \
8514 echo "Doing installcheck in bfd" ; \
8515 (cd bfd && \
8516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8518 "RANLIB=$${RANLIB}" \
8519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8520 installcheck) \
8521 || exit 1
8522
8523
8524.PHONY: maybe-installcheck-opcodes installcheck-opcodes
8525maybe-installcheck-opcodes:
8526
8527installcheck-opcodes: \
8528 configure-opcodes
8529 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
8530 r=`${PWD_COMMAND}`; export r; \
8531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8532 $(SET_LIB_PATH) \
8533 for flag in $(EXTRA_HOST_FLAGS); do \
8534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8535 done; \
8536 echo "Doing installcheck in opcodes" ; \
8537 (cd opcodes && \
8538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8540 "RANLIB=$${RANLIB}" \
8541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8542 installcheck) \
8543 || exit 1
8544
8545
8546.PHONY: maybe-installcheck-binutils installcheck-binutils
8547maybe-installcheck-binutils:
8548
8549installcheck-binutils: \
8550 configure-binutils
8551 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8554 $(SET_LIB_PATH) \
8555 for flag in $(EXTRA_HOST_FLAGS); do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557 done; \
8558 echo "Doing installcheck in binutils" ; \
8559 (cd binutils && \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8564 installcheck) \
8565 || exit 1
8566
8567
8568.PHONY: maybe-installcheck-bison installcheck-bison
8569maybe-installcheck-bison:
8570
8571installcheck-bison: \
8572 configure-bison
8573 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8576 $(SET_LIB_PATH) \
8577 for flag in $(EXTRA_HOST_FLAGS); do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 done; \
8580 echo "Doing installcheck in bison" ; \
8581 (cd bison && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8586 installcheck) \
8587 || exit 1
8588
8589
8590.PHONY: maybe-installcheck-byacc installcheck-byacc
8591maybe-installcheck-byacc:
8592
8593installcheck-byacc: \
8594 configure-byacc
8595 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
8596 r=`${PWD_COMMAND}`; export r; \
8597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8598 $(SET_LIB_PATH) \
8599 for flag in $(EXTRA_HOST_FLAGS); do \
8600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8601 done; \
8602 echo "Doing installcheck in byacc" ; \
8603 (cd byacc && \
8604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606 "RANLIB=$${RANLIB}" \
8607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8608 installcheck) \
8609 || exit 1
8610
8611
8612.PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8613maybe-installcheck-bzip2:
8614
8615installcheck-bzip2: \
8616 configure-bzip2
8617 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
8618 r=`${PWD_COMMAND}`; export r; \
8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8620 $(SET_LIB_PATH) \
8621 for flag in $(EXTRA_HOST_FLAGS); do \
8622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8623 done; \
8624 echo "Doing installcheck in bzip2" ; \
8625 (cd bzip2 && \
8626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8628 "RANLIB=$${RANLIB}" \
8629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8630 installcheck) \
8631 || exit 1
8632
8633
8634.PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8635maybe-installcheck-dejagnu:
8636
8637installcheck-dejagnu: \
8638 configure-dejagnu
8639 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
8640 r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8642 $(SET_LIB_PATH) \
8643 for flag in $(EXTRA_HOST_FLAGS); do \
8644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8645 done; \
8646 echo "Doing installcheck in dejagnu" ; \
8647 (cd dejagnu && \
8648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8650 "RANLIB=$${RANLIB}" \
8651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8652 installcheck) \
8653 || exit 1
8654
8655
8656.PHONY: maybe-installcheck-diff installcheck-diff
8657maybe-installcheck-diff:
8658
8659installcheck-diff: \
8660 configure-diff
8661 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8664 $(SET_LIB_PATH) \
8665 for flag in $(EXTRA_HOST_FLAGS); do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667 done; \
8668 echo "Doing installcheck in diff" ; \
8669 (cd diff && \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8674 installcheck) \
8675 || exit 1
8676
8677
8678.PHONY: maybe-installcheck-dosutils installcheck-dosutils
8679maybe-installcheck-dosutils:
8680
8681installcheck-dosutils: \
8682 configure-dosutils
8683 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
8684 r=`${PWD_COMMAND}`; export r; \
8685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8686 $(SET_LIB_PATH) \
8687 for flag in $(EXTRA_HOST_FLAGS); do \
8688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8689 done; \
8690 echo "Doing installcheck in dosutils" ; \
8691 (cd dosutils && \
8692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8694 "RANLIB=$${RANLIB}" \
8695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8696 installcheck) \
8697 || exit 1
8698
8699
8700.PHONY: maybe-installcheck-etc installcheck-etc
8701maybe-installcheck-etc:
8702
8703installcheck-etc: \
8704 configure-etc
8705 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
8706 r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8708 $(SET_LIB_PATH) \
8709 for flag in $(EXTRA_HOST_FLAGS); do \
8710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8711 done; \
8712 echo "Doing installcheck in etc" ; \
8713 (cd etc && \
8714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8716 "RANLIB=$${RANLIB}" \
8717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8718 installcheck) \
8719 || exit 1
8720
8721
8722.PHONY: maybe-installcheck-fastjar installcheck-fastjar
8723maybe-installcheck-fastjar:
8724
8725installcheck-fastjar: \
8726 configure-fastjar
8727 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8730 $(SET_LIB_PATH) \
8731 for flag in $(EXTRA_HOST_FLAGS); do \
8732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8733 done; \
8734 echo "Doing installcheck in fastjar" ; \
8735 (cd fastjar && \
8736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8738 "RANLIB=$${RANLIB}" \
8739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8740 installcheck) \
8741 || exit 1
8742
8743
8744.PHONY: maybe-installcheck-fileutils installcheck-fileutils
8745maybe-installcheck-fileutils:
8746
8747installcheck-fileutils: \
8748 configure-fileutils
8749 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
8750 r=`${PWD_COMMAND}`; export r; \
8751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8752 $(SET_LIB_PATH) \
8753 for flag in $(EXTRA_HOST_FLAGS); do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8755 done; \
8756 echo "Doing installcheck in fileutils" ; \
8757 (cd fileutils && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 installcheck) \
8763 || exit 1
8764
8765
8766.PHONY: maybe-installcheck-findutils installcheck-findutils
8767maybe-installcheck-findutils:
8768
8769installcheck-findutils: \
8770 configure-findutils
8771 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8774 $(SET_LIB_PATH) \
8775 for flag in $(EXTRA_HOST_FLAGS); do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777 done; \
8778 echo "Doing installcheck in findutils" ; \
8779 (cd findutils && \
8780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782 "RANLIB=$${RANLIB}" \
8783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8784 installcheck) \
8785 || exit 1
8786
8787
8788.PHONY: maybe-installcheck-find installcheck-find
8789maybe-installcheck-find:
8790
8791installcheck-find: \
8792 configure-find
8793 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
8794 r=`${PWD_COMMAND}`; export r; \
8795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8796 $(SET_LIB_PATH) \
8797 for flag in $(EXTRA_HOST_FLAGS); do \
8798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8799 done; \
8800 echo "Doing installcheck in find" ; \
8801 (cd find && \
8802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8804 "RANLIB=$${RANLIB}" \
8805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8806 installcheck) \
8807 || exit 1
8808
8809
8810.PHONY: maybe-installcheck-flex installcheck-flex
8811maybe-installcheck-flex:
8812
8813installcheck-flex: \
8814 configure-flex
8815 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
8816 r=`${PWD_COMMAND}`; export r; \
8817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8818 $(SET_LIB_PATH) \
8819 for flag in $(EXTRA_HOST_FLAGS); do \
8820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8821 done; \
8822 echo "Doing installcheck in flex" ; \
8823 (cd flex && \
8824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8826 "RANLIB=$${RANLIB}" \
8827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8828 installcheck) \
8829 || exit 1
8830
8831
8832.PHONY: maybe-installcheck-gas installcheck-gas
8833maybe-installcheck-gas:
8834
8835installcheck-gas: \
8836 configure-gas
8837 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
8838 r=`${PWD_COMMAND}`; export r; \
8839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8840 $(SET_LIB_PATH) \
8841 for flag in $(EXTRA_HOST_FLAGS); do \
8842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8843 done; \
8844 echo "Doing installcheck in gas" ; \
8845 (cd gas && \
8846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8848 "RANLIB=$${RANLIB}" \
8849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8850 installcheck) \
8851 || exit 1
8852
8853
8854.PHONY: maybe-installcheck-gawk installcheck-gawk
8855maybe-installcheck-gawk:
8856
8857installcheck-gawk: \
8858 configure-gawk
8859 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
8860 r=`${PWD_COMMAND}`; export r; \
8861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8862 $(SET_LIB_PATH) \
8863 for flag in $(EXTRA_HOST_FLAGS); do \
8864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8865 done; \
8866 echo "Doing installcheck in gawk" ; \
8867 (cd gawk && \
8868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8870 "RANLIB=$${RANLIB}" \
8871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8872 installcheck) \
8873 || exit 1
8874
8875
8876.PHONY: maybe-installcheck-gettext installcheck-gettext
8877maybe-installcheck-gettext:
8878
8879installcheck-gettext: \
8880 configure-gettext
8881 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
8882 r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8884 $(SET_LIB_PATH) \
8885 for flag in $(EXTRA_HOST_FLAGS); do \
8886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8887 done; \
8888 echo "Doing installcheck in gettext" ; \
8889 (cd gettext && \
8890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8892 "RANLIB=$${RANLIB}" \
8893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8894 installcheck) \
8895 || exit 1
8896
8897
8898.PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8899maybe-installcheck-gnuserv:
8900
8901installcheck-gnuserv: \
8902 configure-gnuserv
8903 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
8904 r=`${PWD_COMMAND}`; export r; \
8905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8906 $(SET_LIB_PATH) \
8907 for flag in $(EXTRA_HOST_FLAGS); do \
8908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8909 done; \
8910 echo "Doing installcheck in gnuserv" ; \
8911 (cd gnuserv && \
8912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8914 "RANLIB=$${RANLIB}" \
8915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8916 installcheck) \
8917 || exit 1
8918
8919
8920.PHONY: maybe-installcheck-gprof installcheck-gprof
8921maybe-installcheck-gprof:
8922
8923installcheck-gprof: \
8924 configure-gprof
8925 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
8926 r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8928 $(SET_LIB_PATH) \
8929 for flag in $(EXTRA_HOST_FLAGS); do \
8930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8931 done; \
8932 echo "Doing installcheck in gprof" ; \
8933 (cd gprof && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8936 "RANLIB=$${RANLIB}" \
8937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8938 installcheck) \
8939 || exit 1
8940
8941
8942.PHONY: maybe-installcheck-gzip installcheck-gzip
8943maybe-installcheck-gzip:
8944
8945installcheck-gzip: \
8946 configure-gzip
8947 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
8948 r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8950 $(SET_LIB_PATH) \
8951 for flag in $(EXTRA_HOST_FLAGS); do \
8952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8953 done; \
8954 echo "Doing installcheck in gzip" ; \
8955 (cd gzip && \
8956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8958 "RANLIB=$${RANLIB}" \
8959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8960 installcheck) \
8961 || exit 1
8962
8963
8964.PHONY: maybe-installcheck-hello installcheck-hello
8965maybe-installcheck-hello:
8966
8967installcheck-hello: \
8968 configure-hello
8969 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
8970 r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8972 $(SET_LIB_PATH) \
8973 for flag in $(EXTRA_HOST_FLAGS); do \
8974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8975 done; \
8976 echo "Doing installcheck in hello" ; \
8977 (cd hello && \
8978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8980 "RANLIB=$${RANLIB}" \
8981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8982 installcheck) \
8983 || exit 1
8984
8985
8986.PHONY: maybe-installcheck-indent installcheck-indent
8987maybe-installcheck-indent:
8988
8989installcheck-indent: \
8990 configure-indent
8991 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
8992 r=`${PWD_COMMAND}`; export r; \
8993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
8994 $(SET_LIB_PATH) \
8995 for flag in $(EXTRA_HOST_FLAGS); do \
8996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8997 done; \
8998 echo "Doing installcheck in indent" ; \
8999 (cd indent && \
9000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9002 "RANLIB=$${RANLIB}" \
9003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9004 installcheck) \
9005 || exit 1
9006
9007
9008.PHONY: maybe-installcheck-intl installcheck-intl
9009maybe-installcheck-intl:
9010
9011installcheck-intl: \
9012 configure-intl
9013 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
9014 r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9016 $(SET_LIB_PATH) \
9017 for flag in $(EXTRA_HOST_FLAGS); do \
9018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9019 done; \
9020 echo "Doing installcheck in intl" ; \
9021 (cd intl && \
9022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9024 "RANLIB=$${RANLIB}" \
9025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9026 installcheck) \
9027 || exit 1
9028
9029
9030.PHONY: maybe-installcheck-tcl installcheck-tcl
9031maybe-installcheck-tcl:
9032
9033installcheck-tcl: \
9034 configure-tcl
9035 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
9036 r=`${PWD_COMMAND}`; export r; \
9037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9038 $(SET_LIB_PATH) \
9039 for flag in $(EXTRA_HOST_FLAGS); do \
9040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9041 done; \
9042 echo "Doing installcheck in tcl" ; \
9043 (cd tcl && \
9044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9046 "RANLIB=$${RANLIB}" \
9047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9048 installcheck) \
9049 || exit 1
9050
9051
9052.PHONY: maybe-installcheck-itcl installcheck-itcl
9053maybe-installcheck-itcl:
9054
9055installcheck-itcl: \
9056 configure-itcl
9057 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
9058 r=`${PWD_COMMAND}`; export r; \
9059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9060 $(SET_LIB_PATH) \
9061 for flag in $(EXTRA_HOST_FLAGS); do \
9062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9063 done; \
9064 echo "Doing installcheck in itcl" ; \
9065 (cd itcl && \
9066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9068 "RANLIB=$${RANLIB}" \
9069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9070 installcheck) \
9071 || exit 1
9072
9073
9074.PHONY: maybe-installcheck-ld installcheck-ld
9075maybe-installcheck-ld:
9076
9077installcheck-ld: \
9078 configure-ld
9079 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
9080 r=`${PWD_COMMAND}`; export r; \
9081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9082 $(SET_LIB_PATH) \
9083 for flag in $(EXTRA_HOST_FLAGS); do \
9084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9085 done; \
9086 echo "Doing installcheck in ld" ; \
9087 (cd ld && \
9088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9090 "RANLIB=$${RANLIB}" \
9091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9092 installcheck) \
9093 || exit 1
9094
9095
9096.PHONY: maybe-installcheck-libgui installcheck-libgui
9097maybe-installcheck-libgui:
9098
9099installcheck-libgui: \
9100 configure-libgui
9101 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
9102 r=`${PWD_COMMAND}`; export r; \
9103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9104 $(SET_LIB_PATH) \
9105 for flag in $(EXTRA_HOST_FLAGS); do \
9106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9107 done; \
9108 echo "Doing installcheck in libgui" ; \
9109 (cd libgui && \
9110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9112 "RANLIB=$${RANLIB}" \
9113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9114 installcheck) \
9115 || exit 1
9116
9117
9118.PHONY: maybe-installcheck-libiberty installcheck-libiberty
9119maybe-installcheck-libiberty:
9120
9121installcheck-libiberty: \
9122 configure-libiberty
9123 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
9124 r=`${PWD_COMMAND}`; export r; \
9125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9126 $(SET_LIB_PATH) \
9127 for flag in $(EXTRA_HOST_FLAGS); do \
9128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9129 done; \
9130 echo "Doing installcheck in libiberty" ; \
9131 (cd libiberty && \
9132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9134 "RANLIB=$${RANLIB}" \
9135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9136 installcheck) \
9137 || exit 1
9138
9139
9140.PHONY: maybe-installcheck-libtool installcheck-libtool
9141maybe-installcheck-libtool:
9142
9143installcheck-libtool: \
9144 configure-libtool
9145 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9148 $(SET_LIB_PATH) \
9149 for flag in $(EXTRA_HOST_FLAGS); do \
9150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9151 done; \
9152 echo "Doing installcheck in libtool" ; \
9153 (cd libtool && \
9154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9156 "RANLIB=$${RANLIB}" \
9157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9158 installcheck) \
9159 || exit 1
9160
9161
9162.PHONY: maybe-installcheck-m4 installcheck-m4
9163maybe-installcheck-m4:
9164
9165installcheck-m4: \
9166 configure-m4
9167 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
9168 r=`${PWD_COMMAND}`; export r; \
9169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9170 $(SET_LIB_PATH) \
9171 for flag in $(EXTRA_HOST_FLAGS); do \
9172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9173 done; \
9174 echo "Doing installcheck in m4" ; \
9175 (cd m4 && \
9176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9178 "RANLIB=$${RANLIB}" \
9179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9180 installcheck) \
9181 || exit 1
9182
9183
9184.PHONY: maybe-installcheck-make installcheck-make
9185maybe-installcheck-make:
9186
9187installcheck-make: \
9188 configure-make
9189 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
9190 r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9192 $(SET_LIB_PATH) \
9193 for flag in $(EXTRA_HOST_FLAGS); do \
9194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9195 done; \
9196 echo "Doing installcheck in make" ; \
9197 (cd make && \
9198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9200 "RANLIB=$${RANLIB}" \
9201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9202 installcheck) \
9203 || exit 1
9204
9205
9206.PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
9207maybe-installcheck-mmalloc:
9208
9209installcheck-mmalloc: \
9210 configure-mmalloc
9211 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
9212 r=`${PWD_COMMAND}`; export r; \
9213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9214 $(SET_LIB_PATH) \
9215 for flag in $(EXTRA_HOST_FLAGS); do \
9216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9217 done; \
9218 echo "Doing installcheck in mmalloc" ; \
9219 (cd mmalloc && \
9220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9222 "RANLIB=$${RANLIB}" \
9223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9224 installcheck) \
9225 || exit 1
9226
9227
9228.PHONY: maybe-installcheck-patch installcheck-patch
9229maybe-installcheck-patch:
9230
9231installcheck-patch: \
9232 configure-patch
9233 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
9234 r=`${PWD_COMMAND}`; export r; \
9235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9236 $(SET_LIB_PATH) \
9237 for flag in $(EXTRA_HOST_FLAGS); do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9239 done; \
9240 echo "Doing installcheck in patch" ; \
9241 (cd patch && \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9246 installcheck) \
9247 || exit 1
9248
9249
9250.PHONY: maybe-installcheck-perl installcheck-perl
9251maybe-installcheck-perl:
9252
9253installcheck-perl: \
9254 configure-perl
9255 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
9256 r=`${PWD_COMMAND}`; export r; \
9257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9258 $(SET_LIB_PATH) \
9259 for flag in $(EXTRA_HOST_FLAGS); do \
9260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9261 done; \
9262 echo "Doing installcheck in perl" ; \
9263 (cd perl && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9266 "RANLIB=$${RANLIB}" \
9267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 installcheck) \
9269 || exit 1
9270
9271
9272.PHONY: maybe-installcheck-prms installcheck-prms
9273maybe-installcheck-prms:
9274
9275installcheck-prms: \
9276 configure-prms
9277 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
9278 r=`${PWD_COMMAND}`; export r; \
9279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9280 $(SET_LIB_PATH) \
9281 for flag in $(EXTRA_HOST_FLAGS); do \
9282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9283 done; \
9284 echo "Doing installcheck in prms" ; \
9285 (cd prms && \
9286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9288 "RANLIB=$${RANLIB}" \
9289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9290 installcheck) \
9291 || exit 1
9292
9293
9294.PHONY: maybe-installcheck-rcs installcheck-rcs
9295maybe-installcheck-rcs:
9296
9297installcheck-rcs: \
9298 configure-rcs
9299 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
9300 r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9302 $(SET_LIB_PATH) \
9303 for flag in $(EXTRA_HOST_FLAGS); do \
9304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 done; \
9306 echo "Doing installcheck in rcs" ; \
9307 (cd rcs && \
9308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9310 "RANLIB=$${RANLIB}" \
9311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9312 installcheck) \
9313 || exit 1
9314
9315
9316.PHONY: maybe-installcheck-readline installcheck-readline
9317maybe-installcheck-readline:
9318
9319installcheck-readline: \
9320 configure-readline
9321 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
9322 r=`${PWD_COMMAND}`; export r; \
9323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9324 $(SET_LIB_PATH) \
9325 for flag in $(EXTRA_HOST_FLAGS); do \
9326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9327 done; \
9328 echo "Doing installcheck in readline" ; \
9329 (cd readline && \
9330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9332 "RANLIB=$${RANLIB}" \
9333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9334 installcheck) \
9335 || exit 1
9336
9337
9338.PHONY: maybe-installcheck-release installcheck-release
9339maybe-installcheck-release:
9340
9341installcheck-release: \
9342 configure-release
9343 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9346 $(SET_LIB_PATH) \
9347 for flag in $(EXTRA_HOST_FLAGS); do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing installcheck in release" ; \
9351 (cd release && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 installcheck) \
9357 || exit 1
9358
9359
9360.PHONY: maybe-installcheck-recode installcheck-recode
9361maybe-installcheck-recode:
9362
9363installcheck-recode: \
9364 configure-recode
9365 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
9366 r=`${PWD_COMMAND}`; export r; \
9367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9368 $(SET_LIB_PATH) \
9369 for flag in $(EXTRA_HOST_FLAGS); do \
9370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9371 done; \
9372 echo "Doing installcheck in recode" ; \
9373 (cd recode && \
9374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9376 "RANLIB=$${RANLIB}" \
9377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9378 installcheck) \
9379 || exit 1
9380
9381
9382.PHONY: maybe-installcheck-sed installcheck-sed
9383maybe-installcheck-sed:
9384
9385installcheck-sed: \
9386 configure-sed
9387 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
9388 r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9390 $(SET_LIB_PATH) \
9391 for flag in $(EXTRA_HOST_FLAGS); do \
9392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9393 done; \
9394 echo "Doing installcheck in sed" ; \
9395 (cd sed && \
9396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9398 "RANLIB=$${RANLIB}" \
9399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9400 installcheck) \
9401 || exit 1
9402
9403
9404.PHONY: maybe-installcheck-send-pr installcheck-send-pr
9405maybe-installcheck-send-pr:
9406
9407installcheck-send-pr: \
9408 configure-send-pr
9409 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9412 $(SET_LIB_PATH) \
9413 for flag in $(EXTRA_HOST_FLAGS); do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9415 done; \
9416 echo "Doing installcheck in send-pr" ; \
9417 (cd send-pr && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9422 installcheck) \
9423 || exit 1
9424
9425
9426.PHONY: maybe-installcheck-shellutils installcheck-shellutils
9427maybe-installcheck-shellutils:
9428
9429installcheck-shellutils: \
9430 configure-shellutils
9431 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
9432 r=`${PWD_COMMAND}`; export r; \
9433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9434 $(SET_LIB_PATH) \
9435 for flag in $(EXTRA_HOST_FLAGS); do \
9436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9437 done; \
9438 echo "Doing installcheck in shellutils" ; \
9439 (cd shellutils && \
9440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9442 "RANLIB=$${RANLIB}" \
9443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9444 installcheck) \
9445 || exit 1
9446
9447
9448.PHONY: maybe-installcheck-sid installcheck-sid
9449maybe-installcheck-sid:
9450
9451installcheck-sid: \
9452 configure-sid
9453 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
9454 r=`${PWD_COMMAND}`; export r; \
9455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9456 $(SET_LIB_PATH) \
9457 for flag in $(EXTRA_HOST_FLAGS); do \
9458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9459 done; \
9460 echo "Doing installcheck in sid" ; \
9461 (cd sid && \
9462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9464 "RANLIB=$${RANLIB}" \
9465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9466 installcheck) \
9467 || exit 1
9468
9469
9470.PHONY: maybe-installcheck-sim installcheck-sim
9471maybe-installcheck-sim:
9472
9473installcheck-sim: \
9474 configure-sim
9475 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
9476 r=`${PWD_COMMAND}`; export r; \
9477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9478 $(SET_LIB_PATH) \
9479 for flag in $(EXTRA_HOST_FLAGS); do \
9480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9481 done; \
9482 echo "Doing installcheck in sim" ; \
9483 (cd sim && \
9484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9486 "RANLIB=$${RANLIB}" \
9487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9488 installcheck) \
9489 || exit 1
9490
9491
9492.PHONY: maybe-installcheck-tar installcheck-tar
9493maybe-installcheck-tar:
9494
9495installcheck-tar: \
9496 configure-tar
9497 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
9498 r=`${PWD_COMMAND}`; export r; \
9499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9500 $(SET_LIB_PATH) \
9501 for flag in $(EXTRA_HOST_FLAGS); do \
9502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9503 done; \
9504 echo "Doing installcheck in tar" ; \
9505 (cd tar && \
9506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9508 "RANLIB=$${RANLIB}" \
9509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9510 installcheck) \
9511 || exit 1
9512
9513
9514.PHONY: maybe-installcheck-texinfo installcheck-texinfo
9515maybe-installcheck-texinfo:
9516
9517installcheck-texinfo: \
9518 configure-texinfo
9519 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
9520 r=`${PWD_COMMAND}`; export r; \
9521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9522 $(SET_LIB_PATH) \
9523 for flag in $(EXTRA_HOST_FLAGS); do \
9524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9525 done; \
9526 echo "Doing installcheck in texinfo" ; \
9527 (cd texinfo && \
9528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9530 "RANLIB=$${RANLIB}" \
9531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9532 installcheck) \
9533 || exit 1
9534
9535
9536.PHONY: maybe-installcheck-textutils installcheck-textutils
9537maybe-installcheck-textutils:
9538
9539installcheck-textutils: \
9540 configure-textutils
9541 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
9542 r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9544 $(SET_LIB_PATH) \
9545 for flag in $(EXTRA_HOST_FLAGS); do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9547 done; \
9548 echo "Doing installcheck in textutils" ; \
9549 (cd textutils && \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9554 installcheck) \
9555 || exit 1
9556
9557
9558.PHONY: maybe-installcheck-time installcheck-time
9559maybe-installcheck-time:
9560
9561installcheck-time: \
9562 configure-time
9563 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
9564 r=`${PWD_COMMAND}`; export r; \
9565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9566 $(SET_LIB_PATH) \
9567 for flag in $(EXTRA_HOST_FLAGS); do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569 done; \
9570 echo "Doing installcheck in time" ; \
9571 (cd time && \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576 installcheck) \
9577 || exit 1
9578
9579
9580.PHONY: maybe-installcheck-uudecode installcheck-uudecode
9581maybe-installcheck-uudecode:
9582
9583installcheck-uudecode: \
9584 configure-uudecode
9585 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
9586 r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9588 $(SET_LIB_PATH) \
9589 for flag in $(EXTRA_HOST_FLAGS); do \
9590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9591 done; \
9592 echo "Doing installcheck in uudecode" ; \
9593 (cd uudecode && \
9594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9596 "RANLIB=$${RANLIB}" \
9597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9598 installcheck) \
9599 || exit 1
9600
9601
9602.PHONY: maybe-installcheck-wdiff installcheck-wdiff
9603maybe-installcheck-wdiff:
9604
9605installcheck-wdiff: \
9606 configure-wdiff
9607 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
9608 r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9610 $(SET_LIB_PATH) \
9611 for flag in $(EXTRA_HOST_FLAGS); do \
9612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9613 done; \
9614 echo "Doing installcheck in wdiff" ; \
9615 (cd wdiff && \
9616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9618 "RANLIB=$${RANLIB}" \
9619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9620 installcheck) \
9621 || exit 1
9622
9623
9624.PHONY: maybe-installcheck-zip installcheck-zip
9625maybe-installcheck-zip:
9626
9627installcheck-zip: \
9628 configure-zip
9629 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
9630 r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9632 $(SET_LIB_PATH) \
9633 for flag in $(EXTRA_HOST_FLAGS); do \
9634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9635 done; \
9636 echo "Doing installcheck in zip" ; \
9637 (cd zip && \
9638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9640 "RANLIB=$${RANLIB}" \
9641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9642 installcheck) \
9643 || exit 1
9644
9645
9646.PHONY: maybe-installcheck-zlib installcheck-zlib
9647maybe-installcheck-zlib:
9648
9649installcheck-zlib: \
9650 configure-zlib
9651 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
9652 r=`${PWD_COMMAND}`; export r; \
9653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9654 $(SET_LIB_PATH) \
9655 for flag in $(EXTRA_HOST_FLAGS); do \
9656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9657 done; \
9658 echo "Doing installcheck in zlib" ; \
9659 (cd zlib && \
9660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9662 "RANLIB=$${RANLIB}" \
9663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9664 installcheck) \
9665 || exit 1
9666
9667
9668.PHONY: maybe-installcheck-gdb installcheck-gdb
9669maybe-installcheck-gdb:
9670
9671installcheck-gdb: \
9672 configure-gdb
9673 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
9674 r=`${PWD_COMMAND}`; export r; \
9675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9676 $(SET_LIB_PATH) \
9677 for flag in $(EXTRA_HOST_FLAGS); do \
9678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9679 done; \
9680 echo "Doing installcheck in gdb" ; \
9681 (cd gdb && \
9682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9684 "RANLIB=$${RANLIB}" \
9685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9686 installcheck) \
9687 || exit 1
9688
9689
9690.PHONY: maybe-installcheck-expect installcheck-expect
9691maybe-installcheck-expect:
9692
9693installcheck-expect: \
9694 configure-expect
9695 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
9696 r=`${PWD_COMMAND}`; export r; \
9697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9698 $(SET_LIB_PATH) \
9699 for flag in $(EXTRA_HOST_FLAGS); do \
9700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9701 done; \
9702 echo "Doing installcheck in expect" ; \
9703 (cd expect && \
9704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9706 "RANLIB=$${RANLIB}" \
9707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9708 installcheck) \
9709 || exit 1
9710
9711
9712.PHONY: maybe-installcheck-guile installcheck-guile
9713maybe-installcheck-guile:
9714
9715installcheck-guile: \
9716 configure-guile
9717 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
9718 r=`${PWD_COMMAND}`; export r; \
9719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9720 $(SET_LIB_PATH) \
9721 for flag in $(EXTRA_HOST_FLAGS); do \
9722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9723 done; \
9724 echo "Doing installcheck in guile" ; \
9725 (cd guile && \
9726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9728 "RANLIB=$${RANLIB}" \
9729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9730 installcheck) \
9731 || exit 1
9732
9733
9734.PHONY: maybe-installcheck-tk installcheck-tk
9735maybe-installcheck-tk:
9736
9737installcheck-tk: \
9738 configure-tk
9739 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
9740 r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9742 $(SET_LIB_PATH) \
9743 for flag in $(EXTRA_HOST_FLAGS); do \
9744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9745 done; \
9746 echo "Doing installcheck in tk" ; \
9747 (cd tk && \
9748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9750 "RANLIB=$${RANLIB}" \
9751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9752 installcheck) \
9753 || exit 1
9754
9755
9756.PHONY: maybe-installcheck-tix installcheck-tix
9757maybe-installcheck-tix:
9758
9759installcheck-tix: \
9760 configure-tix
9761 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
9762 r=`${PWD_COMMAND}`; export r; \
9763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9764 $(SET_LIB_PATH) \
9765 for flag in $(EXTRA_HOST_FLAGS); do \
9766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9767 done; \
9768 echo "Doing installcheck in tix" ; \
9769 (cd tix && \
9770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9772 "RANLIB=$${RANLIB}" \
9773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9774 installcheck) \
9775 || exit 1
9776
9777
9778.PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
9779maybe-installcheck-libtermcap:
9780
9781installcheck-libtermcap: \
9782 configure-libtermcap
9783 @[ -f ./libtermcap/Makefile ] || exit 0; \
8c90b13a
L
9784 r=`${PWD_COMMAND}`; export r; \
9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9786 $(SET_LIB_PATH) \
9787 for flag in $(EXTRA_HOST_FLAGS); do \
9788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9789 done; \
9790 echo "Doing installcheck in libtermcap" ; \
9791 (cd libtermcap && \
9792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9794 "RANLIB=$${RANLIB}" \
9795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9796 installcheck) \
9797 || exit 1
9798
9799
9800.PHONY: maybe-installcheck-utils installcheck-utils
9801maybe-installcheck-utils:
9802
9803installcheck-utils: \
9804 configure-utils
9805 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9808 $(SET_LIB_PATH) \
9809 for flag in $(EXTRA_HOST_FLAGS); do \
9810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9811 done; \
9812 echo "Doing installcheck in utils" ; \
9813 (cd utils && \
9814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9816 "RANLIB=$${RANLIB}" \
9817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9818 installcheck) \
9819 || exit 1
9820
9821
9822
9823# Target modules.
9824
9825.PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
9826maybe-installcheck-target-libstdc++-v3:
9827
9828installcheck-target-libstdc++-v3: \
9829 configure-target-libstdc++-v3
9830 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
9831 r=`${PWD_COMMAND}`; export r; \
9832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9833 $(SET_LIB_PATH) \
9834 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
9835 for flag in $(EXTRA_TARGET_FLAGS); do \
9836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9837 done; \
9838 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
9839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9841 "RANLIB=$${RANLIB}" \
9842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9843 installcheck) \
9844 || exit 1
9845
9846
9847.PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
9848maybe-installcheck-target-newlib:
9849
9850installcheck-target-newlib: \
9851 configure-target-newlib
9852 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
9853 r=`${PWD_COMMAND}`; export r; \
9854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9855 $(SET_LIB_PATH) \
9856 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
9857 for flag in $(EXTRA_TARGET_FLAGS); do \
9858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9859 done; \
9860 (cd $(TARGET_SUBDIR)/newlib && \
9861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9863 "RANLIB=$${RANLIB}" \
9864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9865 installcheck) \
9866 || exit 1
9867
9868
9869.PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
9870maybe-installcheck-target-libf2c:
9871
9872installcheck-target-libf2c: \
9873 configure-target-libf2c
9874 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
9875 r=`${PWD_COMMAND}`; export r; \
9876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9877 $(SET_LIB_PATH) \
9878 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
9879 for flag in $(EXTRA_TARGET_FLAGS); do \
9880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9881 done; \
9882 (cd $(TARGET_SUBDIR)/libf2c && \
9883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9885 "RANLIB=$${RANLIB}" \
9886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9887 installcheck) \
9888 || exit 1
9889
9890
9891.PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
9892maybe-installcheck-target-libobjc:
9893
9894installcheck-target-libobjc: \
9895 configure-target-libobjc
9896 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
9897 r=`${PWD_COMMAND}`; export r; \
9898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9899 $(SET_LIB_PATH) \
9900 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
9901 for flag in $(EXTRA_TARGET_FLAGS); do \
9902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9903 done; \
9904 (cd $(TARGET_SUBDIR)/libobjc && \
9905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9907 "RANLIB=$${RANLIB}" \
9908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9909 installcheck) \
9910 || exit 1
9911
9912
9913.PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
9914maybe-installcheck-target-libtermcap:
9915
9916installcheck-target-libtermcap: \
9917 configure-target-libtermcap
9918 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
8c90b13a
L
9919 r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9921 $(SET_LIB_PATH) \
9922 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
9923 for flag in $(EXTRA_TARGET_FLAGS); do \
9924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9925 done; \
9926 (cd $(TARGET_SUBDIR)/libtermcap && \
9927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9929 "RANLIB=$${RANLIB}" \
9930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9931 installcheck) \
9932 || exit 1
9933
9934
9935.PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
9936maybe-installcheck-target-winsup:
9937
9938installcheck-target-winsup: \
9939 configure-target-winsup
9940 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
9941 r=`${PWD_COMMAND}`; export r; \
9942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9943 $(SET_LIB_PATH) \
9944 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
9945 for flag in $(EXTRA_TARGET_FLAGS); do \
9946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9947 done; \
9948 (cd $(TARGET_SUBDIR)/winsup && \
9949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9951 "RANLIB=$${RANLIB}" \
9952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9953 installcheck) \
9954 || exit 1
9955
9956
9957.PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
9958maybe-installcheck-target-libgloss:
9959
9960installcheck-target-libgloss: \
9961 configure-target-libgloss
9962 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
9963 r=`${PWD_COMMAND}`; export r; \
9964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9965 $(SET_LIB_PATH) \
9966 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
9967 for flag in $(EXTRA_TARGET_FLAGS); do \
9968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9969 done; \
9970 (cd $(TARGET_SUBDIR)/libgloss && \
9971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9973 "RANLIB=$${RANLIB}" \
9974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9975 installcheck) \
9976 || exit 1
9977
9978
9979.PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
9980maybe-installcheck-target-libiberty:
9981
9982installcheck-target-libiberty: \
9983 configure-target-libiberty
9984 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
9985 r=`${PWD_COMMAND}`; export r; \
9986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
9987 $(SET_LIB_PATH) \
9988 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
9989 for flag in $(EXTRA_TARGET_FLAGS); do \
9990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9991 done; \
9992 (cd $(TARGET_SUBDIR)/libiberty && \
9993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9995 "RANLIB=$${RANLIB}" \
9996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9997 installcheck) \
9998 || exit 1
9999
10000
10001.PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10002maybe-installcheck-target-gperf:
10003
10004installcheck-target-gperf: \
10005 configure-target-gperf
10006 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
10007 r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10009 $(SET_LIB_PATH) \
10010 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
10011 for flag in $(EXTRA_TARGET_FLAGS); do \
10012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10013 done; \
10014 (cd $(TARGET_SUBDIR)/gperf && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 installcheck) \
10020 || exit 1
10021
10022
10023.PHONY: maybe-installcheck-target-examples installcheck-target-examples
10024maybe-installcheck-target-examples:
10025
10026installcheck-target-examples: \
10027 configure-target-examples
10028 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
10029 r=`${PWD_COMMAND}`; export r; \
10030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10031 $(SET_LIB_PATH) \
10032 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
10033 for flag in $(EXTRA_TARGET_FLAGS); do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 (cd $(TARGET_SUBDIR)/examples && \
10037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10039 "RANLIB=$${RANLIB}" \
10040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10041 installcheck) \
10042 || exit 1
10043
10044
10045.PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
10046maybe-installcheck-target-libffi:
10047
10048installcheck-target-libffi: \
10049 configure-target-libffi
10050 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
10051 r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10053 $(SET_LIB_PATH) \
10054 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
10055 for flag in $(EXTRA_TARGET_FLAGS); do \
10056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10057 done; \
10058 (cd $(TARGET_SUBDIR)/libffi && \
10059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10061 "RANLIB=$${RANLIB}" \
10062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10063 installcheck) \
10064 || exit 1
10065
10066
10067.PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
10068maybe-installcheck-target-libjava:
10069
10070installcheck-target-libjava: \
10071 configure-target-libjava
10072 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
10073 r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10075 $(SET_LIB_PATH) \
10076 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
10077 for flag in $(EXTRA_TARGET_FLAGS); do \
10078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10079 done; \
10080 (cd $(TARGET_SUBDIR)/libjava && \
10081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10083 "RANLIB=$${RANLIB}" \
10084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10085 installcheck) \
10086 || exit 1
10087
10088
10089.PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
10090maybe-installcheck-target-zlib:
10091
10092installcheck-target-zlib: \
10093 configure-target-zlib
10094 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10097 $(SET_LIB_PATH) \
10098 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
10099 for flag in $(EXTRA_TARGET_FLAGS); do \
10100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101 done; \
10102 (cd $(TARGET_SUBDIR)/zlib && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10107 installcheck) \
10108 || exit 1
10109
10110
10111.PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
10112maybe-installcheck-target-boehm-gc:
10113
10114installcheck-target-boehm-gc: \
10115 configure-target-boehm-gc
10116 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
10117 r=`${PWD_COMMAND}`; export r; \
10118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10119 $(SET_LIB_PATH) \
10120 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
10121 for flag in $(EXTRA_TARGET_FLAGS); do \
10122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10123 done; \
10124 (cd $(TARGET_SUBDIR)/boehm-gc && \
10125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10127 "RANLIB=$${RANLIB}" \
10128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10129 installcheck) \
10130 || exit 1
10131
10132
10133.PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
10134maybe-installcheck-target-qthreads:
10135
10136installcheck-target-qthreads: \
10137 configure-target-qthreads
10138 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
10139 r=`${PWD_COMMAND}`; export r; \
10140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10141 $(SET_LIB_PATH) \
10142 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
10143 for flag in $(EXTRA_TARGET_FLAGS); do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145 done; \
10146 (cd $(TARGET_SUBDIR)/qthreads && \
10147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10149 "RANLIB=$${RANLIB}" \
10150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10151 installcheck) \
10152 || exit 1
10153
10154
10155.PHONY: maybe-installcheck-target-rda installcheck-target-rda
10156maybe-installcheck-target-rda:
10157
10158installcheck-target-rda: \
10159 configure-target-rda
10160 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10163 $(SET_LIB_PATH) \
10164 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
10165 for flag in $(EXTRA_TARGET_FLAGS); do \
10166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10167 done; \
10168 (cd $(TARGET_SUBDIR)/rda && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 installcheck) \
10174 || exit 1
10175
10176
10177
10178.PHONY: do-mostlyclean
10179do-mostlyclean: mostlyclean-host mostlyclean-target
10180
10181.PHONY: mostlyclean-host
10182mostlyclean-host: maybe-mostlyclean-gcc \
10183 maybe-mostlyclean-ash \
10184 maybe-mostlyclean-autoconf \
10185 maybe-mostlyclean-automake \
10186 maybe-mostlyclean-bash \
10187 maybe-mostlyclean-bfd \
10188 maybe-mostlyclean-opcodes \
10189 maybe-mostlyclean-binutils \
10190 maybe-mostlyclean-bison \
10191 maybe-mostlyclean-byacc \
10192 maybe-mostlyclean-bzip2 \
10193 maybe-mostlyclean-dejagnu \
10194 maybe-mostlyclean-diff \
10195 maybe-mostlyclean-dosutils \
10196 maybe-mostlyclean-etc \
10197 maybe-mostlyclean-fastjar \
10198 maybe-mostlyclean-fileutils \
10199 maybe-mostlyclean-findutils \
10200 maybe-mostlyclean-find \
10201 maybe-mostlyclean-flex \
10202 maybe-mostlyclean-gas \
10203 maybe-mostlyclean-gawk \
10204 maybe-mostlyclean-gettext \
10205 maybe-mostlyclean-gnuserv \
10206 maybe-mostlyclean-gprof \
10207 maybe-mostlyclean-gzip \
10208 maybe-mostlyclean-hello \
10209 maybe-mostlyclean-indent \
10210 maybe-mostlyclean-intl \
10211 maybe-mostlyclean-tcl \
10212 maybe-mostlyclean-itcl \
10213 maybe-mostlyclean-ld \
10214 maybe-mostlyclean-libgui \
10215 maybe-mostlyclean-libiberty \
10216 maybe-mostlyclean-libtool \
10217 maybe-mostlyclean-m4 \
10218 maybe-mostlyclean-make \
10219 maybe-mostlyclean-mmalloc \
10220 maybe-mostlyclean-patch \
10221 maybe-mostlyclean-perl \
10222 maybe-mostlyclean-prms \
10223 maybe-mostlyclean-rcs \
10224 maybe-mostlyclean-readline \
10225 maybe-mostlyclean-release \
10226 maybe-mostlyclean-recode \
10227 maybe-mostlyclean-sed \
10228 maybe-mostlyclean-send-pr \
10229 maybe-mostlyclean-shellutils \
10230 maybe-mostlyclean-sid \
10231 maybe-mostlyclean-sim \
10232 maybe-mostlyclean-tar \
10233 maybe-mostlyclean-texinfo \
10234 maybe-mostlyclean-textutils \
10235 maybe-mostlyclean-time \
10236 maybe-mostlyclean-uudecode \
10237 maybe-mostlyclean-wdiff \
10238 maybe-mostlyclean-zip \
10239 maybe-mostlyclean-zlib \
10240 maybe-mostlyclean-gdb \
10241 maybe-mostlyclean-expect \
10242 maybe-mostlyclean-guile \
10243 maybe-mostlyclean-tk \
10244 maybe-mostlyclean-tix \
10245 maybe-mostlyclean-libtermcap \
10246 maybe-mostlyclean-utils
10247
10248.PHONY: mostlyclean-target
10249mostlyclean-target: \
10250 maybe-mostlyclean-target-libstdc++-v3 \
10251 maybe-mostlyclean-target-newlib \
10252 maybe-mostlyclean-target-libf2c \
10253 maybe-mostlyclean-target-libobjc \
10254 maybe-mostlyclean-target-libtermcap \
10255 maybe-mostlyclean-target-winsup \
10256 maybe-mostlyclean-target-libgloss \
10257 maybe-mostlyclean-target-libiberty \
10258 maybe-mostlyclean-target-gperf \
10259 maybe-mostlyclean-target-examples \
10260 maybe-mostlyclean-target-libffi \
10261 maybe-mostlyclean-target-libjava \
10262 maybe-mostlyclean-target-zlib \
10263 maybe-mostlyclean-target-boehm-gc \
10264 maybe-mostlyclean-target-qthreads \
10265 maybe-mostlyclean-target-rda
10266
10267# GCC, the eternal special case
10268.PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10269maybe-mostlyclean-gcc:
10270mostlyclean-gcc:
10271 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
10272 r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10274 $(SET_LIB_PATH) \
10275 for flag in $(EXTRA_GCC_FLAGS); do \
10276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10277 done; \
10278 echo "Doing mostlyclean in gcc" ; \
10279 (cd gcc && \
10280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10282 "RANLIB=$${RANLIB}" \
10283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10284 mostlyclean) \
10285 || exit 1
10286
10287# Host modules.
10288
10289.PHONY: maybe-mostlyclean-ash mostlyclean-ash
10290maybe-mostlyclean-ash:
10291
10292mostlyclean-ash:
10293 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
10294 r=`${PWD_COMMAND}`; export r; \
10295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10296 $(SET_LIB_PATH) \
10297 for flag in $(EXTRA_HOST_FLAGS); do \
10298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10299 done; \
10300 echo "Doing mostlyclean in ash" ; \
10301 (cd ash && \
10302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10304 "RANLIB=$${RANLIB}" \
10305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10306 mostlyclean) \
10307 || exit 1
10308
10309
10310.PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
10311maybe-mostlyclean-autoconf:
10312
10313mostlyclean-autoconf:
10314 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
10315 r=`${PWD_COMMAND}`; export r; \
10316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10317 $(SET_LIB_PATH) \
10318 for flag in $(EXTRA_HOST_FLAGS); do \
10319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10320 done; \
10321 echo "Doing mostlyclean in autoconf" ; \
10322 (cd autoconf && \
10323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10325 "RANLIB=$${RANLIB}" \
10326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10327 mostlyclean) \
10328 || exit 1
10329
10330
10331.PHONY: maybe-mostlyclean-automake mostlyclean-automake
10332maybe-mostlyclean-automake:
10333
10334mostlyclean-automake:
10335 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10338 $(SET_LIB_PATH) \
10339 for flag in $(EXTRA_HOST_FLAGS); do \
10340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10341 done; \
10342 echo "Doing mostlyclean in automake" ; \
10343 (cd automake && \
10344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10346 "RANLIB=$${RANLIB}" \
10347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10348 mostlyclean) \
10349 || exit 1
10350
10351
10352.PHONY: maybe-mostlyclean-bash mostlyclean-bash
10353maybe-mostlyclean-bash:
10354
10355mostlyclean-bash:
10356 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
10357 r=`${PWD_COMMAND}`; export r; \
10358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10359 $(SET_LIB_PATH) \
10360 for flag in $(EXTRA_HOST_FLAGS); do \
10361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10362 done; \
10363 echo "Doing mostlyclean in bash" ; \
10364 (cd bash && \
10365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10367 "RANLIB=$${RANLIB}" \
10368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10369 mostlyclean) \
10370 || exit 1
10371
10372
10373.PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
10374maybe-mostlyclean-bfd:
10375
10376mostlyclean-bfd:
10377 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
10378 r=`${PWD_COMMAND}`; export r; \
10379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10380 $(SET_LIB_PATH) \
10381 for flag in $(EXTRA_HOST_FLAGS); do \
10382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10383 done; \
10384 echo "Doing mostlyclean in bfd" ; \
10385 (cd bfd && \
10386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10388 "RANLIB=$${RANLIB}" \
10389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10390 mostlyclean) \
10391 || exit 1
10392
10393
10394.PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
10395maybe-mostlyclean-opcodes:
10396
10397mostlyclean-opcodes:
10398 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
10399 r=`${PWD_COMMAND}`; export r; \
10400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10401 $(SET_LIB_PATH) \
10402 for flag in $(EXTRA_HOST_FLAGS); do \
10403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10404 done; \
10405 echo "Doing mostlyclean in opcodes" ; \
10406 (cd opcodes && \
10407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10409 "RANLIB=$${RANLIB}" \
10410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10411 mostlyclean) \
10412 || exit 1
10413
10414
10415.PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
10416maybe-mostlyclean-binutils:
10417
10418mostlyclean-binutils:
10419 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
10420 r=`${PWD_COMMAND}`; export r; \
10421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10422 $(SET_LIB_PATH) \
10423 for flag in $(EXTRA_HOST_FLAGS); do \
10424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10425 done; \
10426 echo "Doing mostlyclean in binutils" ; \
10427 (cd binutils && \
10428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10430 "RANLIB=$${RANLIB}" \
10431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10432 mostlyclean) \
10433 || exit 1
10434
10435
10436.PHONY: maybe-mostlyclean-bison mostlyclean-bison
10437maybe-mostlyclean-bison:
10438
10439mostlyclean-bison:
10440 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
10441 r=`${PWD_COMMAND}`; export r; \
10442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10443 $(SET_LIB_PATH) \
10444 for flag in $(EXTRA_HOST_FLAGS); do \
10445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10446 done; \
10447 echo "Doing mostlyclean in bison" ; \
10448 (cd bison && \
10449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10451 "RANLIB=$${RANLIB}" \
10452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10453 mostlyclean) \
10454 || exit 1
10455
10456
10457.PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
10458maybe-mostlyclean-byacc:
10459
10460mostlyclean-byacc:
10461 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10464 $(SET_LIB_PATH) \
10465 for flag in $(EXTRA_HOST_FLAGS); do \
10466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10467 done; \
10468 echo "Doing mostlyclean in byacc" ; \
10469 (cd byacc && \
10470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472 "RANLIB=$${RANLIB}" \
10473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10474 mostlyclean) \
10475 || exit 1
10476
10477
10478.PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
10479maybe-mostlyclean-bzip2:
10480
10481mostlyclean-bzip2:
10482 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
10483 r=`${PWD_COMMAND}`; export r; \
10484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10485 $(SET_LIB_PATH) \
10486 for flag in $(EXTRA_HOST_FLAGS); do \
10487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10488 done; \
10489 echo "Doing mostlyclean in bzip2" ; \
10490 (cd bzip2 && \
10491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10493 "RANLIB=$${RANLIB}" \
10494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10495 mostlyclean) \
10496 || exit 1
10497
10498
10499.PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10500maybe-mostlyclean-dejagnu:
10501
10502mostlyclean-dejagnu:
10503 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
10504 r=`${PWD_COMMAND}`; export r; \
10505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10506 $(SET_LIB_PATH) \
10507 for flag in $(EXTRA_HOST_FLAGS); do \
10508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10509 done; \
10510 echo "Doing mostlyclean in dejagnu" ; \
10511 (cd dejagnu && \
10512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10514 "RANLIB=$${RANLIB}" \
10515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10516 mostlyclean) \
10517 || exit 1
10518
10519
10520.PHONY: maybe-mostlyclean-diff mostlyclean-diff
10521maybe-mostlyclean-diff:
10522
10523mostlyclean-diff:
10524 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
10525 r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10527 $(SET_LIB_PATH) \
10528 for flag in $(EXTRA_HOST_FLAGS); do \
10529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10530 done; \
10531 echo "Doing mostlyclean in diff" ; \
10532 (cd diff && \
10533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10535 "RANLIB=$${RANLIB}" \
10536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10537 mostlyclean) \
10538 || exit 1
10539
10540
10541.PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10542maybe-mostlyclean-dosutils:
10543
10544mostlyclean-dosutils:
10545 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
10546 r=`${PWD_COMMAND}`; export r; \
10547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10548 $(SET_LIB_PATH) \
10549 for flag in $(EXTRA_HOST_FLAGS); do \
10550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10551 done; \
10552 echo "Doing mostlyclean in dosutils" ; \
10553 (cd dosutils && \
10554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10556 "RANLIB=$${RANLIB}" \
10557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10558 mostlyclean) \
10559 || exit 1
10560
10561
10562.PHONY: maybe-mostlyclean-etc mostlyclean-etc
10563maybe-mostlyclean-etc:
10564
10565mostlyclean-etc:
10566 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
10567 r=`${PWD_COMMAND}`; export r; \
10568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10569 $(SET_LIB_PATH) \
10570 for flag in $(EXTRA_HOST_FLAGS); do \
10571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10572 done; \
10573 echo "Doing mostlyclean in etc" ; \
10574 (cd etc && \
10575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10577 "RANLIB=$${RANLIB}" \
10578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10579 mostlyclean) \
10580 || exit 1
10581
10582
10583.PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10584maybe-mostlyclean-fastjar:
10585
10586mostlyclean-fastjar:
10587 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
10588 r=`${PWD_COMMAND}`; export r; \
10589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10590 $(SET_LIB_PATH) \
10591 for flag in $(EXTRA_HOST_FLAGS); do \
10592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10593 done; \
10594 echo "Doing mostlyclean in fastjar" ; \
10595 (cd fastjar && \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10598 "RANLIB=$${RANLIB}" \
10599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10600 mostlyclean) \
10601 || exit 1
10602
10603
10604.PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10605maybe-mostlyclean-fileutils:
10606
10607mostlyclean-fileutils:
10608 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
10609 r=`${PWD_COMMAND}`; export r; \
10610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10611 $(SET_LIB_PATH) \
10612 for flag in $(EXTRA_HOST_FLAGS); do \
10613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10614 done; \
10615 echo "Doing mostlyclean in fileutils" ; \
10616 (cd fileutils && \
10617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10619 "RANLIB=$${RANLIB}" \
10620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10621 mostlyclean) \
10622 || exit 1
10623
10624
10625.PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10626maybe-mostlyclean-findutils:
10627
10628mostlyclean-findutils:
10629 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
10630 r=`${PWD_COMMAND}`; export r; \
10631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10632 $(SET_LIB_PATH) \
10633 for flag in $(EXTRA_HOST_FLAGS); do \
10634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10635 done; \
10636 echo "Doing mostlyclean in findutils" ; \
10637 (cd findutils && \
10638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10640 "RANLIB=$${RANLIB}" \
10641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10642 mostlyclean) \
10643 || exit 1
10644
10645
10646.PHONY: maybe-mostlyclean-find mostlyclean-find
10647maybe-mostlyclean-find:
10648
10649mostlyclean-find:
10650 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10653 $(SET_LIB_PATH) \
10654 for flag in $(EXTRA_HOST_FLAGS); do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656 done; \
10657 echo "Doing mostlyclean in find" ; \
10658 (cd find && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10663 mostlyclean) \
10664 || exit 1
10665
10666
10667.PHONY: maybe-mostlyclean-flex mostlyclean-flex
10668maybe-mostlyclean-flex:
10669
10670mostlyclean-flex:
10671 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
10672 r=`${PWD_COMMAND}`; export r; \
10673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10674 $(SET_LIB_PATH) \
10675 for flag in $(EXTRA_HOST_FLAGS); do \
10676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10677 done; \
10678 echo "Doing mostlyclean in flex" ; \
10679 (cd flex && \
10680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682 "RANLIB=$${RANLIB}" \
10683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10684 mostlyclean) \
10685 || exit 1
10686
10687
10688.PHONY: maybe-mostlyclean-gas mostlyclean-gas
10689maybe-mostlyclean-gas:
10690
10691mostlyclean-gas:
10692 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
10693 r=`${PWD_COMMAND}`; export r; \
10694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10695 $(SET_LIB_PATH) \
10696 for flag in $(EXTRA_HOST_FLAGS); do \
10697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10698 done; \
10699 echo "Doing mostlyclean in gas" ; \
10700 (cd gas && \
10701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10703 "RANLIB=$${RANLIB}" \
10704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10705 mostlyclean) \
10706 || exit 1
10707
10708
10709.PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10710maybe-mostlyclean-gawk:
10711
10712mostlyclean-gawk:
10713 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
10714 r=`${PWD_COMMAND}`; export r; \
10715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10716 $(SET_LIB_PATH) \
10717 for flag in $(EXTRA_HOST_FLAGS); do \
10718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10719 done; \
10720 echo "Doing mostlyclean in gawk" ; \
10721 (cd gawk && \
10722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10724 "RANLIB=$${RANLIB}" \
10725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10726 mostlyclean) \
10727 || exit 1
10728
10729
10730.PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10731maybe-mostlyclean-gettext:
10732
10733mostlyclean-gettext:
10734 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
10735 r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10737 $(SET_LIB_PATH) \
10738 for flag in $(EXTRA_HOST_FLAGS); do \
10739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10740 done; \
10741 echo "Doing mostlyclean in gettext" ; \
10742 (cd gettext && \
10743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10745 "RANLIB=$${RANLIB}" \
10746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10747 mostlyclean) \
10748 || exit 1
10749
10750
10751.PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10752maybe-mostlyclean-gnuserv:
10753
10754mostlyclean-gnuserv:
10755 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
10756 r=`${PWD_COMMAND}`; export r; \
10757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10758 $(SET_LIB_PATH) \
10759 for flag in $(EXTRA_HOST_FLAGS); do \
10760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10761 done; \
10762 echo "Doing mostlyclean in gnuserv" ; \
10763 (cd gnuserv && \
10764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10766 "RANLIB=$${RANLIB}" \
10767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10768 mostlyclean) \
10769 || exit 1
10770
10771
10772.PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10773maybe-mostlyclean-gprof:
10774
10775mostlyclean-gprof:
10776 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
10777 r=`${PWD_COMMAND}`; export r; \
10778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10779 $(SET_LIB_PATH) \
10780 for flag in $(EXTRA_HOST_FLAGS); do \
10781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10782 done; \
10783 echo "Doing mostlyclean in gprof" ; \
10784 (cd gprof && \
10785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10787 "RANLIB=$${RANLIB}" \
10788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10789 mostlyclean) \
10790 || exit 1
10791
10792
10793.PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10794maybe-mostlyclean-gzip:
10795
10796mostlyclean-gzip:
10797 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
10798 r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10800 $(SET_LIB_PATH) \
10801 for flag in $(EXTRA_HOST_FLAGS); do \
10802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10803 done; \
10804 echo "Doing mostlyclean in gzip" ; \
10805 (cd gzip && \
10806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10808 "RANLIB=$${RANLIB}" \
10809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10810 mostlyclean) \
10811 || exit 1
10812
10813
10814.PHONY: maybe-mostlyclean-hello mostlyclean-hello
10815maybe-mostlyclean-hello:
10816
10817mostlyclean-hello:
10818 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
10819 r=`${PWD_COMMAND}`; export r; \
10820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10821 $(SET_LIB_PATH) \
10822 for flag in $(EXTRA_HOST_FLAGS); do \
10823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10824 done; \
10825 echo "Doing mostlyclean in hello" ; \
10826 (cd hello && \
10827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10829 "RANLIB=$${RANLIB}" \
10830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10831 mostlyclean) \
10832 || exit 1
10833
10834
10835.PHONY: maybe-mostlyclean-indent mostlyclean-indent
10836maybe-mostlyclean-indent:
10837
10838mostlyclean-indent:
10839 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
10840 r=`${PWD_COMMAND}`; export r; \
10841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10842 $(SET_LIB_PATH) \
10843 for flag in $(EXTRA_HOST_FLAGS); do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845 done; \
10846 echo "Doing mostlyclean in indent" ; \
10847 (cd indent && \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852 mostlyclean) \
10853 || exit 1
10854
10855
10856.PHONY: maybe-mostlyclean-intl mostlyclean-intl
10857maybe-mostlyclean-intl:
10858
10859mostlyclean-intl:
10860 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
10861 r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10863 $(SET_LIB_PATH) \
10864 for flag in $(EXTRA_HOST_FLAGS); do \
10865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10866 done; \
10867 echo "Doing mostlyclean in intl" ; \
10868 (cd intl && \
10869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10871 "RANLIB=$${RANLIB}" \
10872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10873 mostlyclean) \
10874 || exit 1
10875
10876
10877.PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10878maybe-mostlyclean-tcl:
10879
10880# tcl doesn't support mostlyclean.
10881mostlyclean-tcl:
10882
10883
10884.PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
10885maybe-mostlyclean-itcl:
10886
10887mostlyclean-itcl:
10888 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
10889 r=`${PWD_COMMAND}`; export r; \
10890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10891 $(SET_LIB_PATH) \
10892 for flag in $(EXTRA_HOST_FLAGS); do \
10893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10894 done; \
10895 echo "Doing mostlyclean in itcl" ; \
10896 (cd itcl && \
10897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10899 "RANLIB=$${RANLIB}" \
10900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10901 mostlyclean) \
10902 || exit 1
10903
10904
10905.PHONY: maybe-mostlyclean-ld mostlyclean-ld
10906maybe-mostlyclean-ld:
10907
10908mostlyclean-ld:
10909 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
10910 r=`${PWD_COMMAND}`; export r; \
10911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10912 $(SET_LIB_PATH) \
10913 for flag in $(EXTRA_HOST_FLAGS); do \
10914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10915 done; \
10916 echo "Doing mostlyclean in ld" ; \
10917 (cd ld && \
10918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10920 "RANLIB=$${RANLIB}" \
10921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10922 mostlyclean) \
10923 || exit 1
10924
10925
10926.PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10927maybe-mostlyclean-libgui:
10928
10929mostlyclean-libgui:
10930 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
10931 r=`${PWD_COMMAND}`; export r; \
10932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10933 $(SET_LIB_PATH) \
10934 for flag in $(EXTRA_HOST_FLAGS); do \
10935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10936 done; \
10937 echo "Doing mostlyclean in libgui" ; \
10938 (cd libgui && \
10939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10941 "RANLIB=$${RANLIB}" \
10942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10943 mostlyclean) \
10944 || exit 1
10945
10946
10947.PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10948maybe-mostlyclean-libiberty:
10949
10950mostlyclean-libiberty:
10951 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10954 $(SET_LIB_PATH) \
10955 for flag in $(EXTRA_HOST_FLAGS); do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing mostlyclean in libiberty" ; \
10959 (cd libiberty && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10964 mostlyclean) \
10965 || exit 1
10966
10967
10968.PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10969maybe-mostlyclean-libtool:
10970
10971mostlyclean-libtool:
10972 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
10973 r=`${PWD_COMMAND}`; export r; \
10974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10975 $(SET_LIB_PATH) \
10976 for flag in $(EXTRA_HOST_FLAGS); do \
10977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10978 done; \
10979 echo "Doing mostlyclean in libtool" ; \
10980 (cd libtool && \
10981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10983 "RANLIB=$${RANLIB}" \
10984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10985 mostlyclean) \
10986 || exit 1
10987
10988
10989.PHONY: maybe-mostlyclean-m4 mostlyclean-m4
10990maybe-mostlyclean-m4:
10991
10992mostlyclean-m4:
10993 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
10994 r=`${PWD_COMMAND}`; export r; \
10995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
10996 $(SET_LIB_PATH) \
10997 for flag in $(EXTRA_HOST_FLAGS); do \
10998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10999 done; \
11000 echo "Doing mostlyclean in m4" ; \
11001 (cd m4 && \
11002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11004 "RANLIB=$${RANLIB}" \
11005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11006 mostlyclean) \
11007 || exit 1
11008
11009
11010.PHONY: maybe-mostlyclean-make mostlyclean-make
11011maybe-mostlyclean-make:
11012
11013mostlyclean-make:
11014 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
11015 r=`${PWD_COMMAND}`; export r; \
11016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11017 $(SET_LIB_PATH) \
11018 for flag in $(EXTRA_HOST_FLAGS); do \
11019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11020 done; \
11021 echo "Doing mostlyclean in make" ; \
11022 (cd make && \
11023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11025 "RANLIB=$${RANLIB}" \
11026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11027 mostlyclean) \
11028 || exit 1
11029
11030
11031.PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11032maybe-mostlyclean-mmalloc:
11033
11034mostlyclean-mmalloc:
11035 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
11036 r=`${PWD_COMMAND}`; export r; \
11037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11038 $(SET_LIB_PATH) \
11039 for flag in $(EXTRA_HOST_FLAGS); do \
11040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11041 done; \
11042 echo "Doing mostlyclean in mmalloc" ; \
11043 (cd mmalloc && \
11044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11046 "RANLIB=$${RANLIB}" \
11047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11048 mostlyclean) \
11049 || exit 1
11050
11051
11052.PHONY: maybe-mostlyclean-patch mostlyclean-patch
11053maybe-mostlyclean-patch:
11054
11055mostlyclean-patch:
11056 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
11057 r=`${PWD_COMMAND}`; export r; \
11058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11059 $(SET_LIB_PATH) \
11060 for flag in $(EXTRA_HOST_FLAGS); do \
11061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11062 done; \
11063 echo "Doing mostlyclean in patch" ; \
11064 (cd patch && \
11065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11067 "RANLIB=$${RANLIB}" \
11068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11069 mostlyclean) \
11070 || exit 1
11071
11072
11073.PHONY: maybe-mostlyclean-perl mostlyclean-perl
11074maybe-mostlyclean-perl:
11075
11076mostlyclean-perl:
11077 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
11078 r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11080 $(SET_LIB_PATH) \
11081 for flag in $(EXTRA_HOST_FLAGS); do \
11082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11083 done; \
11084 echo "Doing mostlyclean in perl" ; \
11085 (cd perl && \
11086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11088 "RANLIB=$${RANLIB}" \
11089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11090 mostlyclean) \
11091 || exit 1
11092
11093
11094.PHONY: maybe-mostlyclean-prms mostlyclean-prms
11095maybe-mostlyclean-prms:
11096
11097mostlyclean-prms:
11098 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
11099 r=`${PWD_COMMAND}`; export r; \
11100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11101 $(SET_LIB_PATH) \
11102 for flag in $(EXTRA_HOST_FLAGS); do \
11103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11104 done; \
11105 echo "Doing mostlyclean in prms" ; \
11106 (cd prms && \
11107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11109 "RANLIB=$${RANLIB}" \
11110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11111 mostlyclean) \
11112 || exit 1
11113
11114
11115.PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
11116maybe-mostlyclean-rcs:
11117
11118mostlyclean-rcs:
11119 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
11120 r=`${PWD_COMMAND}`; export r; \
11121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11122 $(SET_LIB_PATH) \
11123 for flag in $(EXTRA_HOST_FLAGS); do \
11124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11125 done; \
11126 echo "Doing mostlyclean in rcs" ; \
11127 (cd rcs && \
11128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11130 "RANLIB=$${RANLIB}" \
11131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11132 mostlyclean) \
11133 || exit 1
11134
11135
11136.PHONY: maybe-mostlyclean-readline mostlyclean-readline
11137maybe-mostlyclean-readline:
11138
11139mostlyclean-readline:
11140 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
11141 r=`${PWD_COMMAND}`; export r; \
11142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11143 $(SET_LIB_PATH) \
11144 for flag in $(EXTRA_HOST_FLAGS); do \
11145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11146 done; \
11147 echo "Doing mostlyclean in readline" ; \
11148 (cd readline && \
11149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11151 "RANLIB=$${RANLIB}" \
11152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11153 mostlyclean) \
11154 || exit 1
11155
11156
11157.PHONY: maybe-mostlyclean-release mostlyclean-release
11158maybe-mostlyclean-release:
11159
11160mostlyclean-release:
11161 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
11162 r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11164 $(SET_LIB_PATH) \
11165 for flag in $(EXTRA_HOST_FLAGS); do \
11166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11167 done; \
11168 echo "Doing mostlyclean in release" ; \
11169 (cd release && \
11170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11172 "RANLIB=$${RANLIB}" \
11173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11174 mostlyclean) \
11175 || exit 1
11176
11177
11178.PHONY: maybe-mostlyclean-recode mostlyclean-recode
11179maybe-mostlyclean-recode:
11180
11181mostlyclean-recode:
11182 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
11183 r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11185 $(SET_LIB_PATH) \
11186 for flag in $(EXTRA_HOST_FLAGS); do \
11187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11188 done; \
11189 echo "Doing mostlyclean in recode" ; \
11190 (cd recode && \
11191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11193 "RANLIB=$${RANLIB}" \
11194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11195 mostlyclean) \
11196 || exit 1
11197
11198
11199.PHONY: maybe-mostlyclean-sed mostlyclean-sed
11200maybe-mostlyclean-sed:
11201
11202mostlyclean-sed:
11203 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11206 $(SET_LIB_PATH) \
11207 for flag in $(EXTRA_HOST_FLAGS); do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209 done; \
11210 echo "Doing mostlyclean in sed" ; \
11211 (cd sed && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11216 mostlyclean) \
11217 || exit 1
11218
11219
11220.PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
11221maybe-mostlyclean-send-pr:
11222
11223mostlyclean-send-pr:
11224 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11227 $(SET_LIB_PATH) \
11228 for flag in $(EXTRA_HOST_FLAGS); do \
11229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11230 done; \
11231 echo "Doing mostlyclean in send-pr" ; \
11232 (cd send-pr && \
11233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235 "RANLIB=$${RANLIB}" \
11236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11237 mostlyclean) \
11238 || exit 1
11239
11240
11241.PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
11242maybe-mostlyclean-shellutils:
11243
11244mostlyclean-shellutils:
11245 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
11246 r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11248 $(SET_LIB_PATH) \
11249 for flag in $(EXTRA_HOST_FLAGS); do \
11250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11251 done; \
11252 echo "Doing mostlyclean in shellutils" ; \
11253 (cd shellutils && \
11254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11256 "RANLIB=$${RANLIB}" \
11257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11258 mostlyclean) \
11259 || exit 1
11260
11261
11262.PHONY: maybe-mostlyclean-sid mostlyclean-sid
11263maybe-mostlyclean-sid:
11264
11265mostlyclean-sid:
11266 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
11267 r=`${PWD_COMMAND}`; export r; \
11268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11269 $(SET_LIB_PATH) \
11270 for flag in $(EXTRA_HOST_FLAGS); do \
11271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11272 done; \
11273 echo "Doing mostlyclean in sid" ; \
11274 (cd sid && \
11275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11277 "RANLIB=$${RANLIB}" \
11278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11279 mostlyclean) \
11280 || exit 1
11281
11282
11283.PHONY: maybe-mostlyclean-sim mostlyclean-sim
11284maybe-mostlyclean-sim:
11285
11286mostlyclean-sim:
11287 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
11288 r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11290 $(SET_LIB_PATH) \
11291 for flag in $(EXTRA_HOST_FLAGS); do \
11292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11293 done; \
11294 echo "Doing mostlyclean in sim" ; \
11295 (cd sim && \
11296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11298 "RANLIB=$${RANLIB}" \
11299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11300 mostlyclean) \
11301 || exit 1
11302
11303
11304.PHONY: maybe-mostlyclean-tar mostlyclean-tar
11305maybe-mostlyclean-tar:
11306
11307mostlyclean-tar:
11308 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
11309 r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11311 $(SET_LIB_PATH) \
11312 for flag in $(EXTRA_HOST_FLAGS); do \
11313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11314 done; \
11315 echo "Doing mostlyclean in tar" ; \
11316 (cd tar && \
11317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11319 "RANLIB=$${RANLIB}" \
11320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11321 mostlyclean) \
11322 || exit 1
11323
11324
11325.PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
11326maybe-mostlyclean-texinfo:
11327
11328mostlyclean-texinfo:
11329 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
11330 r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11332 $(SET_LIB_PATH) \
11333 for flag in $(EXTRA_HOST_FLAGS); do \
11334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11335 done; \
11336 echo "Doing mostlyclean in texinfo" ; \
11337 (cd texinfo && \
11338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11340 "RANLIB=$${RANLIB}" \
11341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11342 mostlyclean) \
11343 || exit 1
11344
11345
11346.PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
11347maybe-mostlyclean-textutils:
11348
11349mostlyclean-textutils:
11350 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
11351 r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11353 $(SET_LIB_PATH) \
11354 for flag in $(EXTRA_HOST_FLAGS); do \
11355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11356 done; \
11357 echo "Doing mostlyclean in textutils" ; \
11358 (cd textutils && \
11359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11361 "RANLIB=$${RANLIB}" \
11362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11363 mostlyclean) \
11364 || exit 1
11365
11366
11367.PHONY: maybe-mostlyclean-time mostlyclean-time
11368maybe-mostlyclean-time:
11369
11370mostlyclean-time:
11371 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
11372 r=`${PWD_COMMAND}`; export r; \
11373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11374 $(SET_LIB_PATH) \
11375 for flag in $(EXTRA_HOST_FLAGS); do \
11376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11377 done; \
11378 echo "Doing mostlyclean in time" ; \
11379 (cd time && \
11380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11382 "RANLIB=$${RANLIB}" \
11383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11384 mostlyclean) \
11385 || exit 1
11386
11387
11388.PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
11389maybe-mostlyclean-uudecode:
11390
11391mostlyclean-uudecode:
11392 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
11393 r=`${PWD_COMMAND}`; export r; \
11394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11395 $(SET_LIB_PATH) \
11396 for flag in $(EXTRA_HOST_FLAGS); do \
11397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11398 done; \
11399 echo "Doing mostlyclean in uudecode" ; \
11400 (cd uudecode && \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403 "RANLIB=$${RANLIB}" \
11404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11405 mostlyclean) \
11406 || exit 1
11407
11408
11409.PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
11410maybe-mostlyclean-wdiff:
11411
11412mostlyclean-wdiff:
11413 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
11414 r=`${PWD_COMMAND}`; export r; \
11415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11416 $(SET_LIB_PATH) \
11417 for flag in $(EXTRA_HOST_FLAGS); do \
11418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11419 done; \
11420 echo "Doing mostlyclean in wdiff" ; \
11421 (cd wdiff && \
11422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11424 "RANLIB=$${RANLIB}" \
11425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11426 mostlyclean) \
11427 || exit 1
11428
11429
11430.PHONY: maybe-mostlyclean-zip mostlyclean-zip
11431maybe-mostlyclean-zip:
11432
11433mostlyclean-zip:
11434 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
11435 r=`${PWD_COMMAND}`; export r; \
11436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11437 $(SET_LIB_PATH) \
11438 for flag in $(EXTRA_HOST_FLAGS); do \
11439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11440 done; \
11441 echo "Doing mostlyclean in zip" ; \
11442 (cd zip && \
11443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11445 "RANLIB=$${RANLIB}" \
11446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11447 mostlyclean) \
11448 || exit 1
11449
11450
11451.PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
11452maybe-mostlyclean-zlib:
11453
11454mostlyclean-zlib:
11455 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11458 $(SET_LIB_PATH) \
11459 for flag in $(EXTRA_HOST_FLAGS); do \
11460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461 done; \
11462 echo "Doing mostlyclean in zlib" ; \
11463 (cd zlib && \
11464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11466 "RANLIB=$${RANLIB}" \
11467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11468 mostlyclean) \
11469 || exit 1
11470
11471
11472.PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
11473maybe-mostlyclean-gdb:
11474
11475mostlyclean-gdb:
11476 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11479 $(SET_LIB_PATH) \
11480 for flag in $(EXTRA_HOST_FLAGS); do \
11481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11482 done; \
11483 echo "Doing mostlyclean in gdb" ; \
11484 (cd gdb && \
11485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11487 "RANLIB=$${RANLIB}" \
11488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11489 mostlyclean) \
11490 || exit 1
11491
11492
11493.PHONY: maybe-mostlyclean-expect mostlyclean-expect
11494maybe-mostlyclean-expect:
11495
11496mostlyclean-expect:
11497 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
11498 r=`${PWD_COMMAND}`; export r; \
11499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11500 $(SET_LIB_PATH) \
11501 for flag in $(EXTRA_HOST_FLAGS); do \
11502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11503 done; \
11504 echo "Doing mostlyclean in expect" ; \
11505 (cd expect && \
11506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11508 "RANLIB=$${RANLIB}" \
11509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11510 mostlyclean) \
11511 || exit 1
11512
11513
11514.PHONY: maybe-mostlyclean-guile mostlyclean-guile
11515maybe-mostlyclean-guile:
11516
11517mostlyclean-guile:
11518 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
11519 r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11521 $(SET_LIB_PATH) \
11522 for flag in $(EXTRA_HOST_FLAGS); do \
11523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11524 done; \
11525 echo "Doing mostlyclean in guile" ; \
11526 (cd guile && \
11527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11529 "RANLIB=$${RANLIB}" \
11530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11531 mostlyclean) \
11532 || exit 1
11533
11534
11535.PHONY: maybe-mostlyclean-tk mostlyclean-tk
11536maybe-mostlyclean-tk:
11537
11538mostlyclean-tk:
11539 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
11540 r=`${PWD_COMMAND}`; export r; \
11541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11542 $(SET_LIB_PATH) \
11543 for flag in $(EXTRA_HOST_FLAGS); do \
11544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11545 done; \
11546 echo "Doing mostlyclean in tk" ; \
11547 (cd tk && \
11548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11550 "RANLIB=$${RANLIB}" \
11551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11552 mostlyclean) \
11553 || exit 1
11554
11555
11556.PHONY: maybe-mostlyclean-tix mostlyclean-tix
11557maybe-mostlyclean-tix:
11558
11559mostlyclean-tix:
11560 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
11561 r=`${PWD_COMMAND}`; export r; \
11562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11563 $(SET_LIB_PATH) \
11564 for flag in $(EXTRA_HOST_FLAGS); do \
11565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11566 done; \
11567 echo "Doing mostlyclean in tix" ; \
11568 (cd tix && \
11569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11571 "RANLIB=$${RANLIB}" \
11572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11573 mostlyclean) \
11574 || exit 1
11575
11576
11577.PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
11578maybe-mostlyclean-libtermcap:
11579
11580# libtermcap doesn't support mostlyclean.
11581mostlyclean-libtermcap:
11582
11583
11584.PHONY: maybe-mostlyclean-utils mostlyclean-utils
11585maybe-mostlyclean-utils:
11586
11587mostlyclean-utils:
11588 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
11589 r=`${PWD_COMMAND}`; export r; \
11590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11591 $(SET_LIB_PATH) \
11592 for flag in $(EXTRA_HOST_FLAGS); do \
11593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11594 done; \
11595 echo "Doing mostlyclean in utils" ; \
11596 (cd utils && \
11597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11599 "RANLIB=$${RANLIB}" \
11600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11601 mostlyclean) \
11602 || exit 1
11603
11604
11605
11606# Target modules.
11607
11608.PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
11609maybe-mostlyclean-target-libstdc++-v3:
11610
11611mostlyclean-target-libstdc++-v3:
11612 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
11613 r=`${PWD_COMMAND}`; export r; \
11614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11615 $(SET_LIB_PATH) \
11616 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
11617 for flag in $(EXTRA_TARGET_FLAGS); do \
11618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11619 done; \
11620 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
11621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11623 "RANLIB=$${RANLIB}" \
11624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11625 mostlyclean) \
11626 || exit 1
11627
11628
11629.PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
11630maybe-mostlyclean-target-newlib:
11631
11632mostlyclean-target-newlib:
11633 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
11634 r=`${PWD_COMMAND}`; export r; \
11635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11636 $(SET_LIB_PATH) \
11637 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
11638 for flag in $(EXTRA_TARGET_FLAGS); do \
11639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11640 done; \
11641 (cd $(TARGET_SUBDIR)/newlib && \
11642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11644 "RANLIB=$${RANLIB}" \
11645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11646 mostlyclean) \
11647 || exit 1
11648
11649
11650.PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
11651maybe-mostlyclean-target-libf2c:
11652
11653mostlyclean-target-libf2c:
11654 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11657 $(SET_LIB_PATH) \
11658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
11659 for flag in $(EXTRA_TARGET_FLAGS); do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11661 done; \
11662 (cd $(TARGET_SUBDIR)/libf2c && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11665 "RANLIB=$${RANLIB}" \
11666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11667 mostlyclean) \
11668 || exit 1
11669
11670
11671.PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
11672maybe-mostlyclean-target-libobjc:
11673
11674mostlyclean-target-libobjc:
11675 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
11676 r=`${PWD_COMMAND}`; export r; \
11677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11678 $(SET_LIB_PATH) \
11679 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
11680 for flag in $(EXTRA_TARGET_FLAGS); do \
11681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11682 done; \
11683 (cd $(TARGET_SUBDIR)/libobjc && \
11684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11686 "RANLIB=$${RANLIB}" \
11687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11688 mostlyclean) \
11689 || exit 1
11690
11691
11692.PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
11693maybe-mostlyclean-target-libtermcap:
11694
11695# libtermcap doesn't support mostlyclean.
01b759aa 11696mostlyclean-target-libtermcap:
1358ccea
NN
11697
11698
11699.PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
11700maybe-mostlyclean-target-winsup:
11701
11702mostlyclean-target-winsup:
11703 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11706 $(SET_LIB_PATH) \
11707 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
11708 for flag in $(EXTRA_TARGET_FLAGS); do \
11709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11710 done; \
11711 (cd $(TARGET_SUBDIR)/winsup && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11716 mostlyclean) \
11717 || exit 1
11718
11719
11720.PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
11721maybe-mostlyclean-target-libgloss:
11722
11723mostlyclean-target-libgloss:
11724 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
11725 r=`${PWD_COMMAND}`; export r; \
11726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11727 $(SET_LIB_PATH) \
11728 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
11729 for flag in $(EXTRA_TARGET_FLAGS); do \
11730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11731 done; \
11732 (cd $(TARGET_SUBDIR)/libgloss && \
11733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11735 "RANLIB=$${RANLIB}" \
11736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11737 mostlyclean) \
11738 || exit 1
11739
11740
11741.PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
11742maybe-mostlyclean-target-libiberty:
11743
11744mostlyclean-target-libiberty:
11745 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
11746 r=`${PWD_COMMAND}`; export r; \
11747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11748 $(SET_LIB_PATH) \
11749 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
11750 for flag in $(EXTRA_TARGET_FLAGS); do \
11751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 done; \
11753 (cd $(TARGET_SUBDIR)/libiberty && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11758 mostlyclean) \
11759 || exit 1
11760
11761
11762.PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
11763maybe-mostlyclean-target-gperf:
11764
11765mostlyclean-target-gperf:
11766 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
11767 r=`${PWD_COMMAND}`; export r; \
11768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11769 $(SET_LIB_PATH) \
11770 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
11771 for flag in $(EXTRA_TARGET_FLAGS); do \
11772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11773 done; \
11774 (cd $(TARGET_SUBDIR)/gperf && \
11775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11777 "RANLIB=$${RANLIB}" \
11778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11779 mostlyclean) \
11780 || exit 1
11781
11782
11783.PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
11784maybe-mostlyclean-target-examples:
11785
11786mostlyclean-target-examples:
11787 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
11788 r=`${PWD_COMMAND}`; export r; \
11789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11790 $(SET_LIB_PATH) \
11791 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
11792 for flag in $(EXTRA_TARGET_FLAGS); do \
11793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11794 done; \
11795 (cd $(TARGET_SUBDIR)/examples && \
11796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11798 "RANLIB=$${RANLIB}" \
11799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11800 mostlyclean) \
11801 || exit 1
11802
11803
11804.PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
11805maybe-mostlyclean-target-libffi:
11806
11807mostlyclean-target-libffi:
11808 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
11809 r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11811 $(SET_LIB_PATH) \
11812 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
11813 for flag in $(EXTRA_TARGET_FLAGS); do \
11814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11815 done; \
11816 (cd $(TARGET_SUBDIR)/libffi && \
11817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819 "RANLIB=$${RANLIB}" \
11820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11821 mostlyclean) \
11822 || exit 1
11823
11824
11825.PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
11826maybe-mostlyclean-target-libjava:
11827
11828mostlyclean-target-libjava:
11829 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
11830 r=`${PWD_COMMAND}`; export r; \
11831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11832 $(SET_LIB_PATH) \
11833 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
11834 for flag in $(EXTRA_TARGET_FLAGS); do \
11835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11836 done; \
11837 (cd $(TARGET_SUBDIR)/libjava && \
11838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11840 "RANLIB=$${RANLIB}" \
11841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11842 mostlyclean) \
11843 || exit 1
11844
11845
11846.PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
11847maybe-mostlyclean-target-zlib:
11848
11849mostlyclean-target-zlib:
11850 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
11851 r=`${PWD_COMMAND}`; export r; \
11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11853 $(SET_LIB_PATH) \
11854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
11855 for flag in $(EXTRA_TARGET_FLAGS); do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 done; \
11858 (cd $(TARGET_SUBDIR)/zlib && \
11859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11861 "RANLIB=$${RANLIB}" \
11862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11863 mostlyclean) \
11864 || exit 1
11865
11866
11867.PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
11868maybe-mostlyclean-target-boehm-gc:
11869
11870mostlyclean-target-boehm-gc:
11871 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11874 $(SET_LIB_PATH) \
11875 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
11876 for flag in $(EXTRA_TARGET_FLAGS); do \
11877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11878 done; \
11879 (cd $(TARGET_SUBDIR)/boehm-gc && \
11880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11882 "RANLIB=$${RANLIB}" \
11883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11884 mostlyclean) \
11885 || exit 1
11886
11887
11888.PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
11889maybe-mostlyclean-target-qthreads:
11890
11891mostlyclean-target-qthreads:
11892 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
11893 r=`${PWD_COMMAND}`; export r; \
11894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11895 $(SET_LIB_PATH) \
11896 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
11897 for flag in $(EXTRA_TARGET_FLAGS); do \
11898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11899 done; \
11900 (cd $(TARGET_SUBDIR)/qthreads && \
11901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11903 "RANLIB=$${RANLIB}" \
11904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11905 mostlyclean) \
11906 || exit 1
11907
11908
11909.PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
11910maybe-mostlyclean-target-rda:
11911
11912mostlyclean-target-rda:
11913 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
11914 r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
11916 $(SET_LIB_PATH) \
11917 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
11918 for flag in $(EXTRA_TARGET_FLAGS); do \
11919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11920 done; \
11921 (cd $(TARGET_SUBDIR)/rda && \
11922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11924 "RANLIB=$${RANLIB}" \
11925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11926 mostlyclean) \
11927 || exit 1
11928
11929
11930
11931.PHONY: do-clean
11932do-clean: clean-host clean-target
11933
11934.PHONY: clean-host
11935clean-host: maybe-clean-gcc \
11936 maybe-clean-ash \
11937 maybe-clean-autoconf \
11938 maybe-clean-automake \
11939 maybe-clean-bash \
11940 maybe-clean-bfd \
11941 maybe-clean-opcodes \
11942 maybe-clean-binutils \
11943 maybe-clean-bison \
11944 maybe-clean-byacc \
11945 maybe-clean-bzip2 \
11946 maybe-clean-dejagnu \
11947 maybe-clean-diff \
11948 maybe-clean-dosutils \
11949 maybe-clean-etc \
11950 maybe-clean-fastjar \
11951 maybe-clean-fileutils \
11952 maybe-clean-findutils \
11953 maybe-clean-find \
11954 maybe-clean-flex \
11955 maybe-clean-gas \
11956 maybe-clean-gawk \
11957 maybe-clean-gettext \
11958 maybe-clean-gnuserv \
11959 maybe-clean-gprof \
11960 maybe-clean-gzip \
11961 maybe-clean-hello \
11962 maybe-clean-indent \
11963 maybe-clean-intl \
11964 maybe-clean-tcl \
11965 maybe-clean-itcl \
11966 maybe-clean-ld \
11967 maybe-clean-libgui \
11968 maybe-clean-libiberty \
11969 maybe-clean-libtool \
11970 maybe-clean-m4 \
11971 maybe-clean-make \
11972 maybe-clean-mmalloc \
11973 maybe-clean-patch \
11974 maybe-clean-perl \
11975 maybe-clean-prms \
11976 maybe-clean-rcs \
11977 maybe-clean-readline \
11978 maybe-clean-release \
11979 maybe-clean-recode \
11980 maybe-clean-sed \
11981 maybe-clean-send-pr \
11982 maybe-clean-shellutils \
11983 maybe-clean-sid \
11984 maybe-clean-sim \
11985 maybe-clean-tar \
11986 maybe-clean-texinfo \
11987 maybe-clean-textutils \
11988 maybe-clean-time \
11989 maybe-clean-uudecode \
11990 maybe-clean-wdiff \
11991 maybe-clean-zip \
11992 maybe-clean-zlib \
11993 maybe-clean-gdb \
11994 maybe-clean-expect \
11995 maybe-clean-guile \
11996 maybe-clean-tk \
11997 maybe-clean-tix \
11998 maybe-clean-libtermcap \
11999 maybe-clean-utils
12000
12001.PHONY: clean-target
12002clean-target: \
12003 maybe-clean-target-libstdc++-v3 \
12004 maybe-clean-target-newlib \
12005 maybe-clean-target-libf2c \
12006 maybe-clean-target-libobjc \
12007 maybe-clean-target-libtermcap \
12008 maybe-clean-target-winsup \
12009 maybe-clean-target-libgloss \
12010 maybe-clean-target-libiberty \
12011 maybe-clean-target-gperf \
12012 maybe-clean-target-examples \
12013 maybe-clean-target-libffi \
12014 maybe-clean-target-libjava \
12015 maybe-clean-target-zlib \
12016 maybe-clean-target-boehm-gc \
12017 maybe-clean-target-qthreads \
12018 maybe-clean-target-rda
12019
12020# GCC, the eternal special case
12021.PHONY: maybe-clean-gcc clean-gcc
12022maybe-clean-gcc:
12023clean-gcc:
12024 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12027 $(SET_LIB_PATH) \
12028 for flag in $(EXTRA_GCC_FLAGS); do \
12029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12030 done; \
12031 echo "Doing clean in gcc" ; \
12032 (cd gcc && \
12033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12035 "RANLIB=$${RANLIB}" \
12036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12037 clean) \
12038 || exit 1
12039
12040# Host modules.
12041
12042.PHONY: maybe-clean-ash clean-ash
12043maybe-clean-ash:
12044
12045clean-ash:
12046 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
12047 r=`${PWD_COMMAND}`; export r; \
12048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12049 $(SET_LIB_PATH) \
12050 for flag in $(EXTRA_HOST_FLAGS); do \
12051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12052 done; \
12053 echo "Doing clean in ash" ; \
12054 (cd ash && \
12055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12057 "RANLIB=$${RANLIB}" \
12058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12059 clean) \
12060 || exit 1
12061
12062
12063.PHONY: maybe-clean-autoconf clean-autoconf
12064maybe-clean-autoconf:
12065
12066clean-autoconf:
12067 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
12068 r=`${PWD_COMMAND}`; export r; \
12069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12070 $(SET_LIB_PATH) \
12071 for flag in $(EXTRA_HOST_FLAGS); do \
12072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12073 done; \
12074 echo "Doing clean in autoconf" ; \
12075 (cd autoconf && \
12076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12078 "RANLIB=$${RANLIB}" \
12079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12080 clean) \
12081 || exit 1
12082
12083
12084.PHONY: maybe-clean-automake clean-automake
12085maybe-clean-automake:
12086
12087clean-automake:
12088 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
12089 r=`${PWD_COMMAND}`; export r; \
12090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12091 $(SET_LIB_PATH) \
12092 for flag in $(EXTRA_HOST_FLAGS); do \
12093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12094 done; \
12095 echo "Doing clean in automake" ; \
12096 (cd automake && \
12097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12099 "RANLIB=$${RANLIB}" \
12100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12101 clean) \
12102 || exit 1
12103
12104
12105.PHONY: maybe-clean-bash clean-bash
12106maybe-clean-bash:
12107
12108clean-bash:
12109 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
12110 r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12112 $(SET_LIB_PATH) \
12113 for flag in $(EXTRA_HOST_FLAGS); do \
12114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12115 done; \
12116 echo "Doing clean in bash" ; \
12117 (cd bash && \
12118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12120 "RANLIB=$${RANLIB}" \
12121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12122 clean) \
12123 || exit 1
12124
12125
12126.PHONY: maybe-clean-bfd clean-bfd
12127maybe-clean-bfd:
12128
12129clean-bfd:
12130 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12133 $(SET_LIB_PATH) \
12134 for flag in $(EXTRA_HOST_FLAGS); do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136 done; \
12137 echo "Doing clean in bfd" ; \
12138 (cd bfd && \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12143 clean) \
12144 || exit 1
12145
12146
12147.PHONY: maybe-clean-opcodes clean-opcodes
12148maybe-clean-opcodes:
12149
12150clean-opcodes:
12151 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
12152 r=`${PWD_COMMAND}`; export r; \
12153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12154 $(SET_LIB_PATH) \
12155 for flag in $(EXTRA_HOST_FLAGS); do \
12156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12157 done; \
12158 echo "Doing clean in opcodes" ; \
12159 (cd opcodes && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12162 "RANLIB=$${RANLIB}" \
12163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12164 clean) \
12165 || exit 1
12166
12167
12168.PHONY: maybe-clean-binutils clean-binutils
12169maybe-clean-binutils:
12170
12171clean-binutils:
12172 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
12173 r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12175 $(SET_LIB_PATH) \
12176 for flag in $(EXTRA_HOST_FLAGS); do \
12177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12178 done; \
12179 echo "Doing clean in binutils" ; \
12180 (cd binutils && \
12181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12183 "RANLIB=$${RANLIB}" \
12184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12185 clean) \
12186 || exit 1
12187
12188
12189.PHONY: maybe-clean-bison clean-bison
12190maybe-clean-bison:
12191
12192clean-bison:
12193 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
12194 r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12196 $(SET_LIB_PATH) \
12197 for flag in $(EXTRA_HOST_FLAGS); do \
12198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12199 done; \
12200 echo "Doing clean in bison" ; \
12201 (cd bison && \
12202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12204 "RANLIB=$${RANLIB}" \
12205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12206 clean) \
12207 || exit 1
12208
12209
12210.PHONY: maybe-clean-byacc clean-byacc
12211maybe-clean-byacc:
12212
12213clean-byacc:
12214 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
12215 r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12217 $(SET_LIB_PATH) \
12218 for flag in $(EXTRA_HOST_FLAGS); do \
12219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12220 done; \
12221 echo "Doing clean in byacc" ; \
12222 (cd byacc && \
12223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12225 "RANLIB=$${RANLIB}" \
12226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12227 clean) \
12228 || exit 1
12229
12230
12231.PHONY: maybe-clean-bzip2 clean-bzip2
12232maybe-clean-bzip2:
12233
12234clean-bzip2:
12235 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
12236 r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12238 $(SET_LIB_PATH) \
12239 for flag in $(EXTRA_HOST_FLAGS); do \
12240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12241 done; \
12242 echo "Doing clean in bzip2" ; \
12243 (cd bzip2 && \
12244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12246 "RANLIB=$${RANLIB}" \
12247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12248 clean) \
12249 || exit 1
12250
12251
12252.PHONY: maybe-clean-dejagnu clean-dejagnu
12253maybe-clean-dejagnu:
12254
12255clean-dejagnu:
12256 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
12257 r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12259 $(SET_LIB_PATH) \
12260 for flag in $(EXTRA_HOST_FLAGS); do \
12261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12262 done; \
12263 echo "Doing clean in dejagnu" ; \
12264 (cd dejagnu && \
12265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12267 "RANLIB=$${RANLIB}" \
12268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12269 clean) \
12270 || exit 1
12271
12272
12273.PHONY: maybe-clean-diff clean-diff
12274maybe-clean-diff:
12275
12276clean-diff:
12277 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
12278 r=`${PWD_COMMAND}`; export r; \
12279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12280 $(SET_LIB_PATH) \
12281 for flag in $(EXTRA_HOST_FLAGS); do \
12282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12283 done; \
12284 echo "Doing clean in diff" ; \
12285 (cd diff && \
12286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12288 "RANLIB=$${RANLIB}" \
12289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12290 clean) \
12291 || exit 1
12292
12293
12294.PHONY: maybe-clean-dosutils clean-dosutils
12295maybe-clean-dosutils:
12296
12297clean-dosutils:
12298 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
12299 r=`${PWD_COMMAND}`; export r; \
12300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12301 $(SET_LIB_PATH) \
12302 for flag in $(EXTRA_HOST_FLAGS); do \
12303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12304 done; \
12305 echo "Doing clean in dosutils" ; \
12306 (cd dosutils && \
12307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12309 "RANLIB=$${RANLIB}" \
12310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12311 clean) \
12312 || exit 1
12313
12314
12315.PHONY: maybe-clean-etc clean-etc
12316maybe-clean-etc:
12317
12318clean-etc:
12319 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
12320 r=`${PWD_COMMAND}`; export r; \
12321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12322 $(SET_LIB_PATH) \
12323 for flag in $(EXTRA_HOST_FLAGS); do \
12324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12325 done; \
12326 echo "Doing clean in etc" ; \
12327 (cd etc && \
12328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12330 "RANLIB=$${RANLIB}" \
12331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12332 clean) \
12333 || exit 1
12334
12335
12336.PHONY: maybe-clean-fastjar clean-fastjar
12337maybe-clean-fastjar:
12338
12339clean-fastjar:
12340 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
12341 r=`${PWD_COMMAND}`; export r; \
12342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12343 $(SET_LIB_PATH) \
12344 for flag in $(EXTRA_HOST_FLAGS); do \
12345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12346 done; \
12347 echo "Doing clean in fastjar" ; \
12348 (cd fastjar && \
12349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12351 "RANLIB=$${RANLIB}" \
12352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12353 clean) \
12354 || exit 1
12355
12356
12357.PHONY: maybe-clean-fileutils clean-fileutils
12358maybe-clean-fileutils:
12359
12360clean-fileutils:
12361 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12364 $(SET_LIB_PATH) \
12365 for flag in $(EXTRA_HOST_FLAGS); do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing clean in fileutils" ; \
12369 (cd fileutils && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12374 clean) \
12375 || exit 1
12376
12377
12378.PHONY: maybe-clean-findutils clean-findutils
12379maybe-clean-findutils:
12380
12381clean-findutils:
12382 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
12383 r=`${PWD_COMMAND}`; export r; \
12384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12385 $(SET_LIB_PATH) \
12386 for flag in $(EXTRA_HOST_FLAGS); do \
12387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12388 done; \
12389 echo "Doing clean in findutils" ; \
12390 (cd findutils && \
12391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12393 "RANLIB=$${RANLIB}" \
12394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12395 clean) \
12396 || exit 1
12397
12398
12399.PHONY: maybe-clean-find clean-find
12400maybe-clean-find:
12401
12402clean-find:
12403 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
12404 r=`${PWD_COMMAND}`; export r; \
12405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12406 $(SET_LIB_PATH) \
12407 for flag in $(EXTRA_HOST_FLAGS); do \
12408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12409 done; \
12410 echo "Doing clean in find" ; \
12411 (cd find && \
12412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12414 "RANLIB=$${RANLIB}" \
12415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12416 clean) \
12417 || exit 1
12418
12419
12420.PHONY: maybe-clean-flex clean-flex
12421maybe-clean-flex:
12422
12423clean-flex:
12424 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
12425 r=`${PWD_COMMAND}`; export r; \
12426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12427 $(SET_LIB_PATH) \
12428 for flag in $(EXTRA_HOST_FLAGS); do \
12429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12430 done; \
12431 echo "Doing clean in flex" ; \
12432 (cd flex && \
12433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12435 "RANLIB=$${RANLIB}" \
12436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12437 clean) \
12438 || exit 1
12439
12440
12441.PHONY: maybe-clean-gas clean-gas
12442maybe-clean-gas:
12443
12444clean-gas:
12445 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
12446 r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12448 $(SET_LIB_PATH) \
12449 for flag in $(EXTRA_HOST_FLAGS); do \
12450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12451 done; \
12452 echo "Doing clean in gas" ; \
12453 (cd gas && \
12454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12456 "RANLIB=$${RANLIB}" \
12457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12458 clean) \
12459 || exit 1
12460
12461
12462.PHONY: maybe-clean-gawk clean-gawk
12463maybe-clean-gawk:
12464
12465clean-gawk:
12466 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12469 $(SET_LIB_PATH) \
12470 for flag in $(EXTRA_HOST_FLAGS); do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472 done; \
12473 echo "Doing clean in gawk" ; \
12474 (cd gawk && \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479 clean) \
12480 || exit 1
12481
12482
12483.PHONY: maybe-clean-gettext clean-gettext
12484maybe-clean-gettext:
12485
12486clean-gettext:
12487 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
12488 r=`${PWD_COMMAND}`; export r; \
12489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12490 $(SET_LIB_PATH) \
12491 for flag in $(EXTRA_HOST_FLAGS); do \
12492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12493 done; \
12494 echo "Doing clean in gettext" ; \
12495 (cd gettext && \
12496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12498 "RANLIB=$${RANLIB}" \
12499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12500 clean) \
12501 || exit 1
12502
12503
12504.PHONY: maybe-clean-gnuserv clean-gnuserv
12505maybe-clean-gnuserv:
12506
12507clean-gnuserv:
12508 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
12509 r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12511 $(SET_LIB_PATH) \
12512 for flag in $(EXTRA_HOST_FLAGS); do \
12513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12514 done; \
12515 echo "Doing clean in gnuserv" ; \
12516 (cd gnuserv && \
12517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12519 "RANLIB=$${RANLIB}" \
12520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12521 clean) \
12522 || exit 1
12523
12524
12525.PHONY: maybe-clean-gprof clean-gprof
12526maybe-clean-gprof:
12527
12528clean-gprof:
12529 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
12530 r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12532 $(SET_LIB_PATH) \
12533 for flag in $(EXTRA_HOST_FLAGS); do \
12534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12535 done; \
12536 echo "Doing clean in gprof" ; \
12537 (cd gprof && \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12540 "RANLIB=$${RANLIB}" \
12541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12542 clean) \
12543 || exit 1
12544
12545
12546.PHONY: maybe-clean-gzip clean-gzip
12547maybe-clean-gzip:
12548
12549clean-gzip:
12550 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
12551 r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12553 $(SET_LIB_PATH) \
12554 for flag in $(EXTRA_HOST_FLAGS); do \
12555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12556 done; \
12557 echo "Doing clean in gzip" ; \
12558 (cd gzip && \
12559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12561 "RANLIB=$${RANLIB}" \
12562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12563 clean) \
12564 || exit 1
12565
12566
12567.PHONY: maybe-clean-hello clean-hello
12568maybe-clean-hello:
12569
12570clean-hello:
12571 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
12572 r=`${PWD_COMMAND}`; export r; \
12573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12574 $(SET_LIB_PATH) \
12575 for flag in $(EXTRA_HOST_FLAGS); do \
12576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12577 done; \
12578 echo "Doing clean in hello" ; \
12579 (cd hello && \
12580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12582 "RANLIB=$${RANLIB}" \
12583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12584 clean) \
12585 || exit 1
12586
12587
12588.PHONY: maybe-clean-indent clean-indent
12589maybe-clean-indent:
12590
12591clean-indent:
12592 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
12593 r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12595 $(SET_LIB_PATH) \
12596 for flag in $(EXTRA_HOST_FLAGS); do \
12597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12598 done; \
12599 echo "Doing clean in indent" ; \
12600 (cd indent && \
12601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12603 "RANLIB=$${RANLIB}" \
12604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12605 clean) \
12606 || exit 1
12607
12608
12609.PHONY: maybe-clean-intl clean-intl
12610maybe-clean-intl:
12611
12612clean-intl:
12613 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
12614 r=`${PWD_COMMAND}`; export r; \
12615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12616 $(SET_LIB_PATH) \
12617 for flag in $(EXTRA_HOST_FLAGS); do \
12618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12619 done; \
12620 echo "Doing clean in intl" ; \
12621 (cd intl && \
12622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12624 "RANLIB=$${RANLIB}" \
12625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12626 clean) \
12627 || exit 1
12628
12629
12630.PHONY: maybe-clean-tcl clean-tcl
12631maybe-clean-tcl:
12632
12633clean-tcl:
12634 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
12635 r=`${PWD_COMMAND}`; export r; \
12636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12637 $(SET_LIB_PATH) \
12638 for flag in $(EXTRA_HOST_FLAGS); do \
12639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12640 done; \
12641 echo "Doing clean in tcl" ; \
12642 (cd tcl && \
12643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12645 "RANLIB=$${RANLIB}" \
12646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12647 clean) \
12648 || exit 1
12649
12650
12651.PHONY: maybe-clean-itcl clean-itcl
12652maybe-clean-itcl:
12653
12654clean-itcl:
12655 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
12656 r=`${PWD_COMMAND}`; export r; \
12657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12658 $(SET_LIB_PATH) \
12659 for flag in $(EXTRA_HOST_FLAGS); do \
12660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12661 done; \
12662 echo "Doing clean in itcl" ; \
12663 (cd itcl && \
12664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12666 "RANLIB=$${RANLIB}" \
12667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12668 clean) \
12669 || exit 1
12670
12671
12672.PHONY: maybe-clean-ld clean-ld
12673maybe-clean-ld:
12674
12675clean-ld:
12676 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
12677 r=`${PWD_COMMAND}`; export r; \
12678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12679 $(SET_LIB_PATH) \
12680 for flag in $(EXTRA_HOST_FLAGS); do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 done; \
12683 echo "Doing clean in ld" ; \
12684 (cd ld && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12689 clean) \
12690 || exit 1
12691
12692
12693.PHONY: maybe-clean-libgui clean-libgui
12694maybe-clean-libgui:
12695
12696clean-libgui:
12697 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
12698 r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12700 $(SET_LIB_PATH) \
12701 for flag in $(EXTRA_HOST_FLAGS); do \
12702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12703 done; \
12704 echo "Doing clean in libgui" ; \
12705 (cd libgui && \
12706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12708 "RANLIB=$${RANLIB}" \
12709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12710 clean) \
12711 || exit 1
12712
12713
12714.PHONY: maybe-clean-libiberty clean-libiberty
12715maybe-clean-libiberty:
12716
12717clean-libiberty:
12718 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
12719 r=`${PWD_COMMAND}`; export r; \
12720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12721 $(SET_LIB_PATH) \
12722 for flag in $(EXTRA_HOST_FLAGS); do \
12723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12724 done; \
12725 echo "Doing clean in libiberty" ; \
12726 (cd libiberty && \
12727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12729 "RANLIB=$${RANLIB}" \
12730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12731 clean) \
12732 || exit 1
12733
12734
12735.PHONY: maybe-clean-libtool clean-libtool
12736maybe-clean-libtool:
12737
12738clean-libtool:
12739 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
12740 r=`${PWD_COMMAND}`; export r; \
12741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12742 $(SET_LIB_PATH) \
12743 for flag in $(EXTRA_HOST_FLAGS); do \
12744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12745 done; \
12746 echo "Doing clean in libtool" ; \
12747 (cd libtool && \
12748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12750 "RANLIB=$${RANLIB}" \
12751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12752 clean) \
12753 || exit 1
12754
12755
12756.PHONY: maybe-clean-m4 clean-m4
12757maybe-clean-m4:
12758
12759clean-m4:
12760 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
12761 r=`${PWD_COMMAND}`; export r; \
12762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12763 $(SET_LIB_PATH) \
12764 for flag in $(EXTRA_HOST_FLAGS); do \
12765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12766 done; \
12767 echo "Doing clean in m4" ; \
12768 (cd m4 && \
12769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12771 "RANLIB=$${RANLIB}" \
12772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12773 clean) \
12774 || exit 1
12775
12776
12777.PHONY: maybe-clean-make clean-make
12778maybe-clean-make:
12779
12780clean-make:
12781 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
12782 r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12784 $(SET_LIB_PATH) \
12785 for flag in $(EXTRA_HOST_FLAGS); do \
12786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12787 done; \
12788 echo "Doing clean in make" ; \
12789 (cd make && \
12790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12792 "RANLIB=$${RANLIB}" \
12793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12794 clean) \
12795 || exit 1
12796
12797
12798.PHONY: maybe-clean-mmalloc clean-mmalloc
12799maybe-clean-mmalloc:
12800
12801clean-mmalloc:
12802 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
12803 r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12805 $(SET_LIB_PATH) \
12806 for flag in $(EXTRA_HOST_FLAGS); do \
12807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12808 done; \
12809 echo "Doing clean in mmalloc" ; \
12810 (cd mmalloc && \
12811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12813 "RANLIB=$${RANLIB}" \
12814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12815 clean) \
12816 || exit 1
12817
12818
12819.PHONY: maybe-clean-patch clean-patch
12820maybe-clean-patch:
12821
12822clean-patch:
12823 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
12824 r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12826 $(SET_LIB_PATH) \
12827 for flag in $(EXTRA_HOST_FLAGS); do \
12828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12829 done; \
12830 echo "Doing clean in patch" ; \
12831 (cd patch && \
12832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12834 "RANLIB=$${RANLIB}" \
12835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12836 clean) \
12837 || exit 1
12838
12839
12840.PHONY: maybe-clean-perl clean-perl
12841maybe-clean-perl:
12842
12843clean-perl:
12844 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
12845 r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12847 $(SET_LIB_PATH) \
12848 for flag in $(EXTRA_HOST_FLAGS); do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 done; \
12851 echo "Doing clean in perl" ; \
12852 (cd perl && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12857 clean) \
12858 || exit 1
12859
12860
12861.PHONY: maybe-clean-prms clean-prms
12862maybe-clean-prms:
12863
12864clean-prms:
12865 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
12866 r=`${PWD_COMMAND}`; export r; \
12867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12868 $(SET_LIB_PATH) \
12869 for flag in $(EXTRA_HOST_FLAGS); do \
12870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12871 done; \
12872 echo "Doing clean in prms" ; \
12873 (cd prms && \
12874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12876 "RANLIB=$${RANLIB}" \
12877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12878 clean) \
12879 || exit 1
12880
12881
12882.PHONY: maybe-clean-rcs clean-rcs
12883maybe-clean-rcs:
12884
12885clean-rcs:
12886 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
12887 r=`${PWD_COMMAND}`; export r; \
12888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12889 $(SET_LIB_PATH) \
12890 for flag in $(EXTRA_HOST_FLAGS); do \
12891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12892 done; \
12893 echo "Doing clean in rcs" ; \
12894 (cd rcs && \
12895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12897 "RANLIB=$${RANLIB}" \
12898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12899 clean) \
12900 || exit 1
12901
12902
12903.PHONY: maybe-clean-readline clean-readline
12904maybe-clean-readline:
12905
12906clean-readline:
12907 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
12908 r=`${PWD_COMMAND}`; export r; \
12909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12910 $(SET_LIB_PATH) \
12911 for flag in $(EXTRA_HOST_FLAGS); do \
12912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12913 done; \
12914 echo "Doing clean in readline" ; \
12915 (cd readline && \
12916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12918 "RANLIB=$${RANLIB}" \
12919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12920 clean) \
12921 || exit 1
12922
12923
12924.PHONY: maybe-clean-release clean-release
12925maybe-clean-release:
12926
12927clean-release:
12928 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
12929 r=`${PWD_COMMAND}`; export r; \
12930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12931 $(SET_LIB_PATH) \
12932 for flag in $(EXTRA_HOST_FLAGS); do \
12933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12934 done; \
12935 echo "Doing clean in release" ; \
12936 (cd release && \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12939 "RANLIB=$${RANLIB}" \
12940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12941 clean) \
12942 || exit 1
12943
12944
12945.PHONY: maybe-clean-recode clean-recode
12946maybe-clean-recode:
12947
12948clean-recode:
12949 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
12950 r=`${PWD_COMMAND}`; export r; \
12951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12952 $(SET_LIB_PATH) \
12953 for flag in $(EXTRA_HOST_FLAGS); do \
12954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12955 done; \
12956 echo "Doing clean in recode" ; \
12957 (cd recode && \
12958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12960 "RANLIB=$${RANLIB}" \
12961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12962 clean) \
12963 || exit 1
12964
12965
12966.PHONY: maybe-clean-sed clean-sed
12967maybe-clean-sed:
12968
12969clean-sed:
12970 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
12971 r=`${PWD_COMMAND}`; export r; \
12972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12973 $(SET_LIB_PATH) \
12974 for flag in $(EXTRA_HOST_FLAGS); do \
12975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12976 done; \
12977 echo "Doing clean in sed" ; \
12978 (cd sed && \
12979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12981 "RANLIB=$${RANLIB}" \
12982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12983 clean) \
12984 || exit 1
12985
12986
12987.PHONY: maybe-clean-send-pr clean-send-pr
12988maybe-clean-send-pr:
12989
12990clean-send-pr:
12991 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
12992 r=`${PWD_COMMAND}`; export r; \
12993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
12994 $(SET_LIB_PATH) \
12995 for flag in $(EXTRA_HOST_FLAGS); do \
12996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12997 done; \
12998 echo "Doing clean in send-pr" ; \
12999 (cd send-pr && \
13000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13002 "RANLIB=$${RANLIB}" \
13003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13004 clean) \
13005 || exit 1
13006
13007
13008.PHONY: maybe-clean-shellutils clean-shellutils
13009maybe-clean-shellutils:
13010
13011clean-shellutils:
13012 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
13013 r=`${PWD_COMMAND}`; export r; \
13014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13015 $(SET_LIB_PATH) \
13016 for flag in $(EXTRA_HOST_FLAGS); do \
13017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13018 done; \
13019 echo "Doing clean in shellutils" ; \
13020 (cd shellutils && \
13021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13023 "RANLIB=$${RANLIB}" \
13024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13025 clean) \
13026 || exit 1
13027
13028
13029.PHONY: maybe-clean-sid clean-sid
13030maybe-clean-sid:
13031
13032clean-sid:
13033 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
13034 r=`${PWD_COMMAND}`; export r; \
13035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13036 $(SET_LIB_PATH) \
13037 for flag in $(EXTRA_HOST_FLAGS); do \
13038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13039 done; \
13040 echo "Doing clean in sid" ; \
13041 (cd sid && \
13042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13044 "RANLIB=$${RANLIB}" \
13045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13046 clean) \
13047 || exit 1
13048
13049
13050.PHONY: maybe-clean-sim clean-sim
13051maybe-clean-sim:
13052
13053clean-sim:
13054 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
13055 r=`${PWD_COMMAND}`; export r; \
13056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13057 $(SET_LIB_PATH) \
13058 for flag in $(EXTRA_HOST_FLAGS); do \
13059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13060 done; \
13061 echo "Doing clean in sim" ; \
13062 (cd sim && \
13063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13065 "RANLIB=$${RANLIB}" \
13066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13067 clean) \
13068 || exit 1
13069
13070
13071.PHONY: maybe-clean-tar clean-tar
13072maybe-clean-tar:
13073
13074clean-tar:
13075 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
13076 r=`${PWD_COMMAND}`; export r; \
13077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13078 $(SET_LIB_PATH) \
13079 for flag in $(EXTRA_HOST_FLAGS); do \
13080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13081 done; \
13082 echo "Doing clean in tar" ; \
13083 (cd tar && \
13084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13086 "RANLIB=$${RANLIB}" \
13087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13088 clean) \
13089 || exit 1
13090
13091
13092.PHONY: maybe-clean-texinfo clean-texinfo
13093maybe-clean-texinfo:
13094
13095clean-texinfo:
13096 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
13097 r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13099 $(SET_LIB_PATH) \
13100 for flag in $(EXTRA_HOST_FLAGS); do \
13101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13102 done; \
13103 echo "Doing clean in texinfo" ; \
13104 (cd texinfo && \
13105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13107 "RANLIB=$${RANLIB}" \
13108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13109 clean) \
13110 || exit 1
13111
13112
13113.PHONY: maybe-clean-textutils clean-textutils
13114maybe-clean-textutils:
13115
13116clean-textutils:
13117 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
13118 r=`${PWD_COMMAND}`; export r; \
13119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13120 $(SET_LIB_PATH) \
13121 for flag in $(EXTRA_HOST_FLAGS); do \
13122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13123 done; \
13124 echo "Doing clean in textutils" ; \
13125 (cd textutils && \
13126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13128 "RANLIB=$${RANLIB}" \
13129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13130 clean) \
13131 || exit 1
13132
13133
13134.PHONY: maybe-clean-time clean-time
13135maybe-clean-time:
13136
13137clean-time:
13138 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
13139 r=`${PWD_COMMAND}`; export r; \
13140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13141 $(SET_LIB_PATH) \
13142 for flag in $(EXTRA_HOST_FLAGS); do \
13143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13144 done; \
13145 echo "Doing clean in time" ; \
13146 (cd time && \
13147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13149 "RANLIB=$${RANLIB}" \
13150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13151 clean) \
13152 || exit 1
13153
13154
13155.PHONY: maybe-clean-uudecode clean-uudecode
13156maybe-clean-uudecode:
13157
13158clean-uudecode:
13159 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
13160 r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13162 $(SET_LIB_PATH) \
13163 for flag in $(EXTRA_HOST_FLAGS); do \
13164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13165 done; \
13166 echo "Doing clean in uudecode" ; \
13167 (cd uudecode && \
13168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13170 "RANLIB=$${RANLIB}" \
13171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13172 clean) \
13173 || exit 1
13174
13175
13176.PHONY: maybe-clean-wdiff clean-wdiff
13177maybe-clean-wdiff:
13178
13179clean-wdiff:
13180 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
13181 r=`${PWD_COMMAND}`; export r; \
13182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13183 $(SET_LIB_PATH) \
13184 for flag in $(EXTRA_HOST_FLAGS); do \
13185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13186 done; \
13187 echo "Doing clean in wdiff" ; \
13188 (cd wdiff && \
13189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13191 "RANLIB=$${RANLIB}" \
13192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13193 clean) \
13194 || exit 1
13195
13196
13197.PHONY: maybe-clean-zip clean-zip
13198maybe-clean-zip:
13199
13200clean-zip:
13201 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
13202 r=`${PWD_COMMAND}`; export r; \
13203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13204 $(SET_LIB_PATH) \
13205 for flag in $(EXTRA_HOST_FLAGS); do \
13206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13207 done; \
13208 echo "Doing clean in zip" ; \
13209 (cd zip && \
13210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13212 "RANLIB=$${RANLIB}" \
13213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13214 clean) \
13215 || exit 1
13216
13217
13218.PHONY: maybe-clean-zlib clean-zlib
13219maybe-clean-zlib:
13220
13221clean-zlib:
13222 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
13223 r=`${PWD_COMMAND}`; export r; \
13224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13225 $(SET_LIB_PATH) \
13226 for flag in $(EXTRA_HOST_FLAGS); do \
13227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13228 done; \
13229 echo "Doing clean in zlib" ; \
13230 (cd zlib && \
13231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13233 "RANLIB=$${RANLIB}" \
13234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13235 clean) \
13236 || exit 1
13237
13238
13239.PHONY: maybe-clean-gdb clean-gdb
13240maybe-clean-gdb:
13241
13242clean-gdb:
13243 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
13244 r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13246 $(SET_LIB_PATH) \
13247 for flag in $(EXTRA_HOST_FLAGS); do \
13248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13249 done; \
13250 echo "Doing clean in gdb" ; \
13251 (cd gdb && \
13252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13254 "RANLIB=$${RANLIB}" \
13255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13256 clean) \
13257 || exit 1
13258
13259
13260.PHONY: maybe-clean-expect clean-expect
13261maybe-clean-expect:
13262
13263clean-expect:
13264 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
13265 r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13267 $(SET_LIB_PATH) \
13268 for flag in $(EXTRA_HOST_FLAGS); do \
13269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13270 done; \
13271 echo "Doing clean in expect" ; \
13272 (cd expect && \
13273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13275 "RANLIB=$${RANLIB}" \
13276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13277 clean) \
13278 || exit 1
13279
13280
13281.PHONY: maybe-clean-guile clean-guile
13282maybe-clean-guile:
13283
13284clean-guile:
13285 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
13286 r=`${PWD_COMMAND}`; export r; \
13287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13288 $(SET_LIB_PATH) \
13289 for flag in $(EXTRA_HOST_FLAGS); do \
13290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13291 done; \
13292 echo "Doing clean in guile" ; \
13293 (cd guile && \
13294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13296 "RANLIB=$${RANLIB}" \
13297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13298 clean) \
13299 || exit 1
13300
13301
13302.PHONY: maybe-clean-tk clean-tk
13303maybe-clean-tk:
13304
13305clean-tk:
13306 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
13307 r=`${PWD_COMMAND}`; export r; \
13308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13309 $(SET_LIB_PATH) \
13310 for flag in $(EXTRA_HOST_FLAGS); do \
13311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13312 done; \
13313 echo "Doing clean in tk" ; \
13314 (cd tk && \
13315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13317 "RANLIB=$${RANLIB}" \
13318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13319 clean) \
13320 || exit 1
13321
13322
13323.PHONY: maybe-clean-tix clean-tix
13324maybe-clean-tix:
13325
13326clean-tix:
13327 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
13328 r=`${PWD_COMMAND}`; export r; \
13329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13330 $(SET_LIB_PATH) \
13331 for flag in $(EXTRA_HOST_FLAGS); do \
13332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13333 done; \
13334 echo "Doing clean in tix" ; \
13335 (cd tix && \
13336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13338 "RANLIB=$${RANLIB}" \
13339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13340 clean) \
13341 || exit 1
13342
13343
13344.PHONY: maybe-clean-libtermcap clean-libtermcap
13345maybe-clean-libtermcap:
13346
13347# libtermcap doesn't support clean.
13348clean-libtermcap:
13349
13350
13351.PHONY: maybe-clean-utils clean-utils
13352maybe-clean-utils:
13353
13354clean-utils:
13355 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
13356 r=`${PWD_COMMAND}`; export r; \
13357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13358 $(SET_LIB_PATH) \
13359 for flag in $(EXTRA_HOST_FLAGS); do \
13360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13361 done; \
13362 echo "Doing clean in utils" ; \
13363 (cd utils && \
13364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13366 "RANLIB=$${RANLIB}" \
13367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13368 clean) \
13369 || exit 1
13370
13371
13372
13373# Target modules.
13374
13375.PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
13376maybe-clean-target-libstdc++-v3:
13377
13378clean-target-libstdc++-v3:
13379 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
13380 r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13382 $(SET_LIB_PATH) \
13383 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
13384 for flag in $(EXTRA_TARGET_FLAGS); do \
13385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13386 done; \
13387 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
13388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13390 "RANLIB=$${RANLIB}" \
13391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13392 clean) \
13393 || exit 1
13394
13395
13396.PHONY: maybe-clean-target-newlib clean-target-newlib
13397maybe-clean-target-newlib:
13398
13399clean-target-newlib:
13400 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
13401 r=`${PWD_COMMAND}`; export r; \
13402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13403 $(SET_LIB_PATH) \
13404 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
13405 for flag in $(EXTRA_TARGET_FLAGS); do \
13406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13407 done; \
13408 (cd $(TARGET_SUBDIR)/newlib && \
13409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13411 "RANLIB=$${RANLIB}" \
13412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13413 clean) \
13414 || exit 1
13415
13416
13417.PHONY: maybe-clean-target-libf2c clean-target-libf2c
13418maybe-clean-target-libf2c:
13419
13420clean-target-libf2c:
13421 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
13422 r=`${PWD_COMMAND}`; export r; \
13423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13424 $(SET_LIB_PATH) \
13425 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
13426 for flag in $(EXTRA_TARGET_FLAGS); do \
13427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13428 done; \
13429 (cd $(TARGET_SUBDIR)/libf2c && \
13430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13432 "RANLIB=$${RANLIB}" \
13433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13434 clean) \
13435 || exit 1
13436
13437
13438.PHONY: maybe-clean-target-libobjc clean-target-libobjc
13439maybe-clean-target-libobjc:
13440
13441clean-target-libobjc:
13442 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
13443 r=`${PWD_COMMAND}`; export r; \
13444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13445 $(SET_LIB_PATH) \
13446 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
13447 for flag in $(EXTRA_TARGET_FLAGS); do \
13448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13449 done; \
13450 (cd $(TARGET_SUBDIR)/libobjc && \
13451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13453 "RANLIB=$${RANLIB}" \
13454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13455 clean) \
13456 || exit 1
13457
13458
13459.PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
13460maybe-clean-target-libtermcap:
13461
13462# libtermcap doesn't support clean.
01b759aa 13463clean-target-libtermcap:
1358ccea
NN
13464
13465
13466.PHONY: maybe-clean-target-winsup clean-target-winsup
13467maybe-clean-target-winsup:
13468
13469clean-target-winsup:
13470 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
13471 r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13473 $(SET_LIB_PATH) \
13474 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
13475 for flag in $(EXTRA_TARGET_FLAGS); do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477 done; \
13478 (cd $(TARGET_SUBDIR)/winsup && \
13479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13481 "RANLIB=$${RANLIB}" \
13482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13483 clean) \
13484 || exit 1
13485
13486
13487.PHONY: maybe-clean-target-libgloss clean-target-libgloss
13488maybe-clean-target-libgloss:
13489
13490clean-target-libgloss:
13491 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
13492 r=`${PWD_COMMAND}`; export r; \
13493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13494 $(SET_LIB_PATH) \
13495 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
13496 for flag in $(EXTRA_TARGET_FLAGS); do \
13497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13498 done; \
13499 (cd $(TARGET_SUBDIR)/libgloss && \
13500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13502 "RANLIB=$${RANLIB}" \
13503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13504 clean) \
13505 || exit 1
13506
13507
13508.PHONY: maybe-clean-target-libiberty clean-target-libiberty
13509maybe-clean-target-libiberty:
13510
13511clean-target-libiberty:
13512 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13515 $(SET_LIB_PATH) \
13516 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
13517 for flag in $(EXTRA_TARGET_FLAGS); do \
13518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13519 done; \
13520 (cd $(TARGET_SUBDIR)/libiberty && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13525 clean) \
13526 || exit 1
13527
13528
13529.PHONY: maybe-clean-target-gperf clean-target-gperf
13530maybe-clean-target-gperf:
13531
13532clean-target-gperf:
13533 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
13534 r=`${PWD_COMMAND}`; export r; \
13535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13536 $(SET_LIB_PATH) \
13537 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
13538 for flag in $(EXTRA_TARGET_FLAGS); do \
13539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13540 done; \
13541 (cd $(TARGET_SUBDIR)/gperf && \
13542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13544 "RANLIB=$${RANLIB}" \
13545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13546 clean) \
13547 || exit 1
13548
13549
13550.PHONY: maybe-clean-target-examples clean-target-examples
13551maybe-clean-target-examples:
13552
13553clean-target-examples:
13554 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13557 $(SET_LIB_PATH) \
13558 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
13559 for flag in $(EXTRA_TARGET_FLAGS); do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 (cd $(TARGET_SUBDIR)/examples && \
13563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565 "RANLIB=$${RANLIB}" \
13566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13567 clean) \
13568 || exit 1
13569
13570
13571.PHONY: maybe-clean-target-libffi clean-target-libffi
13572maybe-clean-target-libffi:
13573
13574clean-target-libffi:
13575 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
13576 r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13578 $(SET_LIB_PATH) \
13579 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
13580 for flag in $(EXTRA_TARGET_FLAGS); do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 (cd $(TARGET_SUBDIR)/libffi && \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588 clean) \
13589 || exit 1
13590
13591
13592.PHONY: maybe-clean-target-libjava clean-target-libjava
13593maybe-clean-target-libjava:
13594
13595clean-target-libjava:
13596 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
13597 r=`${PWD_COMMAND}`; export r; \
13598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13599 $(SET_LIB_PATH) \
13600 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
13601 for flag in $(EXTRA_TARGET_FLAGS); do \
13602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13603 done; \
13604 (cd $(TARGET_SUBDIR)/libjava && \
13605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13607 "RANLIB=$${RANLIB}" \
13608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13609 clean) \
13610 || exit 1
13611
13612
13613.PHONY: maybe-clean-target-zlib clean-target-zlib
13614maybe-clean-target-zlib:
13615
13616clean-target-zlib:
13617 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
13618 r=`${PWD_COMMAND}`; export r; \
13619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13620 $(SET_LIB_PATH) \
13621 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
13622 for flag in $(EXTRA_TARGET_FLAGS); do \
13623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13624 done; \
13625 (cd $(TARGET_SUBDIR)/zlib && \
13626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13628 "RANLIB=$${RANLIB}" \
13629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13630 clean) \
13631 || exit 1
13632
13633
13634.PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
13635maybe-clean-target-boehm-gc:
13636
13637clean-target-boehm-gc:
13638 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
13639 r=`${PWD_COMMAND}`; export r; \
13640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13641 $(SET_LIB_PATH) \
13642 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
13643 for flag in $(EXTRA_TARGET_FLAGS); do \
13644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13645 done; \
13646 (cd $(TARGET_SUBDIR)/boehm-gc && \
13647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13649 "RANLIB=$${RANLIB}" \
13650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13651 clean) \
13652 || exit 1
13653
13654
13655.PHONY: maybe-clean-target-qthreads clean-target-qthreads
13656maybe-clean-target-qthreads:
13657
13658clean-target-qthreads:
13659 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13662 $(SET_LIB_PATH) \
13663 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
13664 for flag in $(EXTRA_TARGET_FLAGS); do \
13665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13666 done; \
13667 (cd $(TARGET_SUBDIR)/qthreads && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13670 "RANLIB=$${RANLIB}" \
13671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13672 clean) \
13673 || exit 1
13674
13675
13676.PHONY: maybe-clean-target-rda clean-target-rda
13677maybe-clean-target-rda:
13678
13679clean-target-rda:
13680 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13683 $(SET_LIB_PATH) \
13684 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
13685 for flag in $(EXTRA_TARGET_FLAGS); do \
13686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13687 done; \
13688 (cd $(TARGET_SUBDIR)/rda && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13693 clean) \
13694 || exit 1
13695
13696
13697
13698.PHONY: do-distclean
13699do-distclean: distclean-host distclean-target
13700
13701.PHONY: distclean-host
13702distclean-host: maybe-distclean-gcc \
13703 maybe-distclean-ash \
13704 maybe-distclean-autoconf \
13705 maybe-distclean-automake \
13706 maybe-distclean-bash \
13707 maybe-distclean-bfd \
13708 maybe-distclean-opcodes \
13709 maybe-distclean-binutils \
13710 maybe-distclean-bison \
13711 maybe-distclean-byacc \
13712 maybe-distclean-bzip2 \
13713 maybe-distclean-dejagnu \
13714 maybe-distclean-diff \
13715 maybe-distclean-dosutils \
13716 maybe-distclean-etc \
13717 maybe-distclean-fastjar \
13718 maybe-distclean-fileutils \
13719 maybe-distclean-findutils \
13720 maybe-distclean-find \
13721 maybe-distclean-flex \
13722 maybe-distclean-gas \
13723 maybe-distclean-gawk \
13724 maybe-distclean-gettext \
13725 maybe-distclean-gnuserv \
13726 maybe-distclean-gprof \
13727 maybe-distclean-gzip \
13728 maybe-distclean-hello \
13729 maybe-distclean-indent \
13730 maybe-distclean-intl \
13731 maybe-distclean-tcl \
13732 maybe-distclean-itcl \
13733 maybe-distclean-ld \
13734 maybe-distclean-libgui \
13735 maybe-distclean-libiberty \
13736 maybe-distclean-libtool \
13737 maybe-distclean-m4 \
13738 maybe-distclean-make \
13739 maybe-distclean-mmalloc \
13740 maybe-distclean-patch \
13741 maybe-distclean-perl \
13742 maybe-distclean-prms \
13743 maybe-distclean-rcs \
13744 maybe-distclean-readline \
13745 maybe-distclean-release \
13746 maybe-distclean-recode \
13747 maybe-distclean-sed \
13748 maybe-distclean-send-pr \
13749 maybe-distclean-shellutils \
13750 maybe-distclean-sid \
13751 maybe-distclean-sim \
13752 maybe-distclean-tar \
13753 maybe-distclean-texinfo \
13754 maybe-distclean-textutils \
13755 maybe-distclean-time \
13756 maybe-distclean-uudecode \
13757 maybe-distclean-wdiff \
13758 maybe-distclean-zip \
13759 maybe-distclean-zlib \
13760 maybe-distclean-gdb \
13761 maybe-distclean-expect \
13762 maybe-distclean-guile \
13763 maybe-distclean-tk \
13764 maybe-distclean-tix \
13765 maybe-distclean-libtermcap \
13766 maybe-distclean-utils
13767
13768.PHONY: distclean-target
13769distclean-target: \
13770 maybe-distclean-target-libstdc++-v3 \
13771 maybe-distclean-target-newlib \
13772 maybe-distclean-target-libf2c \
13773 maybe-distclean-target-libobjc \
13774 maybe-distclean-target-libtermcap \
13775 maybe-distclean-target-winsup \
13776 maybe-distclean-target-libgloss \
13777 maybe-distclean-target-libiberty \
13778 maybe-distclean-target-gperf \
13779 maybe-distclean-target-examples \
13780 maybe-distclean-target-libffi \
13781 maybe-distclean-target-libjava \
13782 maybe-distclean-target-zlib \
13783 maybe-distclean-target-boehm-gc \
13784 maybe-distclean-target-qthreads \
13785 maybe-distclean-target-rda
13786
13787# GCC, the eternal special case
13788.PHONY: maybe-distclean-gcc distclean-gcc
13789maybe-distclean-gcc:
13790distclean-gcc:
13791 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
13792 r=`${PWD_COMMAND}`; export r; \
13793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13794 $(SET_LIB_PATH) \
13795 for flag in $(EXTRA_GCC_FLAGS); do \
13796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13797 done; \
13798 echo "Doing distclean in gcc" ; \
13799 (cd gcc && \
13800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13802 "RANLIB=$${RANLIB}" \
13803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13804 distclean) \
13805 || exit 1
13806
13807# Host modules.
13808
13809.PHONY: maybe-distclean-ash distclean-ash
13810maybe-distclean-ash:
13811
13812distclean-ash:
13813 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
13814 r=`${PWD_COMMAND}`; export r; \
13815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13816 $(SET_LIB_PATH) \
13817 for flag in $(EXTRA_HOST_FLAGS); do \
13818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13819 done; \
13820 echo "Doing distclean in ash" ; \
13821 (cd ash && \
13822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13824 "RANLIB=$${RANLIB}" \
13825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13826 distclean) \
13827 || exit 1
13828
13829
13830.PHONY: maybe-distclean-autoconf distclean-autoconf
13831maybe-distclean-autoconf:
13832
13833distclean-autoconf:
13834 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
13835 r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13837 $(SET_LIB_PATH) \
13838 for flag in $(EXTRA_HOST_FLAGS); do \
13839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13840 done; \
13841 echo "Doing distclean in autoconf" ; \
13842 (cd autoconf && \
13843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13845 "RANLIB=$${RANLIB}" \
13846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 distclean) \
13848 || exit 1
13849
13850
13851.PHONY: maybe-distclean-automake distclean-automake
13852maybe-distclean-automake:
13853
13854distclean-automake:
13855 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
13856 r=`${PWD_COMMAND}`; export r; \
13857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13858 $(SET_LIB_PATH) \
13859 for flag in $(EXTRA_HOST_FLAGS); do \
13860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13861 done; \
13862 echo "Doing distclean in automake" ; \
13863 (cd automake && \
13864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13866 "RANLIB=$${RANLIB}" \
13867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13868 distclean) \
13869 || exit 1
13870
13871
13872.PHONY: maybe-distclean-bash distclean-bash
13873maybe-distclean-bash:
13874
13875distclean-bash:
13876 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
13877 r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13879 $(SET_LIB_PATH) \
13880 for flag in $(EXTRA_HOST_FLAGS); do \
13881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13882 done; \
13883 echo "Doing distclean in bash" ; \
13884 (cd bash && \
13885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13887 "RANLIB=$${RANLIB}" \
13888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13889 distclean) \
13890 || exit 1
13891
13892
13893.PHONY: maybe-distclean-bfd distclean-bfd
13894maybe-distclean-bfd:
13895
13896distclean-bfd:
13897 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
13898 r=`${PWD_COMMAND}`; export r; \
13899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13900 $(SET_LIB_PATH) \
13901 for flag in $(EXTRA_HOST_FLAGS); do \
13902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13903 done; \
13904 echo "Doing distclean in bfd" ; \
13905 (cd bfd && \
13906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13908 "RANLIB=$${RANLIB}" \
13909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13910 distclean) \
13911 || exit 1
13912
13913
13914.PHONY: maybe-distclean-opcodes distclean-opcodes
13915maybe-distclean-opcodes:
13916
13917distclean-opcodes:
13918 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
13919 r=`${PWD_COMMAND}`; export r; \
13920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13921 $(SET_LIB_PATH) \
13922 for flag in $(EXTRA_HOST_FLAGS); do \
13923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13924 done; \
13925 echo "Doing distclean in opcodes" ; \
13926 (cd opcodes && \
13927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13929 "RANLIB=$${RANLIB}" \
13930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13931 distclean) \
13932 || exit 1
13933
13934
13935.PHONY: maybe-distclean-binutils distclean-binutils
13936maybe-distclean-binutils:
13937
13938distclean-binutils:
13939 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
13940 r=`${PWD_COMMAND}`; export r; \
13941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13942 $(SET_LIB_PATH) \
13943 for flag in $(EXTRA_HOST_FLAGS); do \
13944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13945 done; \
13946 echo "Doing distclean in binutils" ; \
13947 (cd binutils && \
13948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13950 "RANLIB=$${RANLIB}" \
13951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13952 distclean) \
13953 || exit 1
13954
13955
13956.PHONY: maybe-distclean-bison distclean-bison
13957maybe-distclean-bison:
13958
13959distclean-bison:
13960 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
13961 r=`${PWD_COMMAND}`; export r; \
13962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13963 $(SET_LIB_PATH) \
13964 for flag in $(EXTRA_HOST_FLAGS); do \
13965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13966 done; \
13967 echo "Doing distclean in bison" ; \
13968 (cd bison && \
13969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13971 "RANLIB=$${RANLIB}" \
13972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13973 distclean) \
13974 || exit 1
13975
13976
13977.PHONY: maybe-distclean-byacc distclean-byacc
13978maybe-distclean-byacc:
13979
13980distclean-byacc:
13981 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
13982 r=`${PWD_COMMAND}`; export r; \
13983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
13984 $(SET_LIB_PATH) \
13985 for flag in $(EXTRA_HOST_FLAGS); do \
13986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13987 done; \
13988 echo "Doing distclean in byacc" ; \
13989 (cd byacc && \
13990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13992 "RANLIB=$${RANLIB}" \
13993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13994 distclean) \
13995 || exit 1
13996
13997
13998.PHONY: maybe-distclean-bzip2 distclean-bzip2
13999maybe-distclean-bzip2:
14000
14001distclean-bzip2:
14002 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
14003 r=`${PWD_COMMAND}`; export r; \
14004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14005 $(SET_LIB_PATH) \
14006 for flag in $(EXTRA_HOST_FLAGS); do \
14007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14008 done; \
14009 echo "Doing distclean in bzip2" ; \
14010 (cd bzip2 && \
14011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14013 "RANLIB=$${RANLIB}" \
14014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14015 distclean) \
14016 || exit 1
14017
14018
14019.PHONY: maybe-distclean-dejagnu distclean-dejagnu
14020maybe-distclean-dejagnu:
14021
14022distclean-dejagnu:
14023 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
14024 r=`${PWD_COMMAND}`; export r; \
14025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14026 $(SET_LIB_PATH) \
14027 for flag in $(EXTRA_HOST_FLAGS); do \
14028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 done; \
14030 echo "Doing distclean in dejagnu" ; \
14031 (cd dejagnu && \
14032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14034 "RANLIB=$${RANLIB}" \
14035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14036 distclean) \
14037 || exit 1
14038
14039
14040.PHONY: maybe-distclean-diff distclean-diff
14041maybe-distclean-diff:
14042
14043distclean-diff:
14044 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
14045 r=`${PWD_COMMAND}`; export r; \
14046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14047 $(SET_LIB_PATH) \
14048 for flag in $(EXTRA_HOST_FLAGS); do \
14049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14050 done; \
14051 echo "Doing distclean in diff" ; \
14052 (cd diff && \
14053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14055 "RANLIB=$${RANLIB}" \
14056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14057 distclean) \
14058 || exit 1
14059
14060
14061.PHONY: maybe-distclean-dosutils distclean-dosutils
14062maybe-distclean-dosutils:
14063
14064distclean-dosutils:
14065 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
14066 r=`${PWD_COMMAND}`; export r; \
14067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14068 $(SET_LIB_PATH) \
14069 for flag in $(EXTRA_HOST_FLAGS); do \
14070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14071 done; \
14072 echo "Doing distclean in dosutils" ; \
14073 (cd dosutils && \
14074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14076 "RANLIB=$${RANLIB}" \
14077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14078 distclean) \
14079 || exit 1
14080
14081
14082.PHONY: maybe-distclean-etc distclean-etc
14083maybe-distclean-etc:
14084
14085distclean-etc:
14086 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
14087 r=`${PWD_COMMAND}`; export r; \
14088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14089 $(SET_LIB_PATH) \
14090 for flag in $(EXTRA_HOST_FLAGS); do \
14091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14092 done; \
14093 echo "Doing distclean in etc" ; \
14094 (cd etc && \
14095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14097 "RANLIB=$${RANLIB}" \
14098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14099 distclean) \
14100 || exit 1
14101
14102
14103.PHONY: maybe-distclean-fastjar distclean-fastjar
14104maybe-distclean-fastjar:
14105
14106distclean-fastjar:
14107 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
14108 r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14110 $(SET_LIB_PATH) \
14111 for flag in $(EXTRA_HOST_FLAGS); do \
14112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14113 done; \
14114 echo "Doing distclean in fastjar" ; \
14115 (cd fastjar && \
14116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14118 "RANLIB=$${RANLIB}" \
14119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14120 distclean) \
14121 || exit 1
14122
14123
14124.PHONY: maybe-distclean-fileutils distclean-fileutils
14125maybe-distclean-fileutils:
14126
14127distclean-fileutils:
14128 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
14129 r=`${PWD_COMMAND}`; export r; \
14130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14131 $(SET_LIB_PATH) \
14132 for flag in $(EXTRA_HOST_FLAGS); do \
14133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14134 done; \
14135 echo "Doing distclean in fileutils" ; \
14136 (cd fileutils && \
14137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14139 "RANLIB=$${RANLIB}" \
14140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14141 distclean) \
14142 || exit 1
14143
14144
14145.PHONY: maybe-distclean-findutils distclean-findutils
14146maybe-distclean-findutils:
14147
14148distclean-findutils:
14149 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
14150 r=`${PWD_COMMAND}`; export r; \
14151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14152 $(SET_LIB_PATH) \
14153 for flag in $(EXTRA_HOST_FLAGS); do \
14154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14155 done; \
14156 echo "Doing distclean in findutils" ; \
14157 (cd findutils && \
14158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14160 "RANLIB=$${RANLIB}" \
14161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14162 distclean) \
14163 || exit 1
14164
14165
14166.PHONY: maybe-distclean-find distclean-find
14167maybe-distclean-find:
14168
14169distclean-find:
14170 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
14171 r=`${PWD_COMMAND}`; export r; \
14172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14173 $(SET_LIB_PATH) \
14174 for flag in $(EXTRA_HOST_FLAGS); do \
14175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14176 done; \
14177 echo "Doing distclean in find" ; \
14178 (cd find && \
14179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14181 "RANLIB=$${RANLIB}" \
14182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14183 distclean) \
14184 || exit 1
14185
14186
14187.PHONY: maybe-distclean-flex distclean-flex
14188maybe-distclean-flex:
14189
14190distclean-flex:
14191 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
14192 r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14194 $(SET_LIB_PATH) \
14195 for flag in $(EXTRA_HOST_FLAGS); do \
14196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14197 done; \
14198 echo "Doing distclean in flex" ; \
14199 (cd flex && \
14200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202 "RANLIB=$${RANLIB}" \
14203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14204 distclean) \
14205 || exit 1
14206
14207
14208.PHONY: maybe-distclean-gas distclean-gas
14209maybe-distclean-gas:
14210
14211distclean-gas:
14212 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
14213 r=`${PWD_COMMAND}`; export r; \
14214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14215 $(SET_LIB_PATH) \
14216 for flag in $(EXTRA_HOST_FLAGS); do \
14217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14218 done; \
14219 echo "Doing distclean in gas" ; \
14220 (cd gas && \
14221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14223 "RANLIB=$${RANLIB}" \
14224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14225 distclean) \
14226 || exit 1
14227
14228
14229.PHONY: maybe-distclean-gawk distclean-gawk
14230maybe-distclean-gawk:
14231
14232distclean-gawk:
14233 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
14234 r=`${PWD_COMMAND}`; export r; \
14235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14236 $(SET_LIB_PATH) \
14237 for flag in $(EXTRA_HOST_FLAGS); do \
14238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14239 done; \
14240 echo "Doing distclean in gawk" ; \
14241 (cd gawk && \
14242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14244 "RANLIB=$${RANLIB}" \
14245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14246 distclean) \
14247 || exit 1
14248
14249
14250.PHONY: maybe-distclean-gettext distclean-gettext
14251maybe-distclean-gettext:
14252
14253distclean-gettext:
14254 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
14255 r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14257 $(SET_LIB_PATH) \
14258 for flag in $(EXTRA_HOST_FLAGS); do \
14259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14260 done; \
14261 echo "Doing distclean in gettext" ; \
14262 (cd gettext && \
14263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14265 "RANLIB=$${RANLIB}" \
14266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14267 distclean) \
14268 || exit 1
14269
14270
14271.PHONY: maybe-distclean-gnuserv distclean-gnuserv
14272maybe-distclean-gnuserv:
14273
14274distclean-gnuserv:
14275 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
14276 r=`${PWD_COMMAND}`; export r; \
14277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14278 $(SET_LIB_PATH) \
14279 for flag in $(EXTRA_HOST_FLAGS); do \
14280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14281 done; \
14282 echo "Doing distclean in gnuserv" ; \
14283 (cd gnuserv && \
14284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14286 "RANLIB=$${RANLIB}" \
14287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14288 distclean) \
14289 || exit 1
14290
14291
14292.PHONY: maybe-distclean-gprof distclean-gprof
14293maybe-distclean-gprof:
14294
14295distclean-gprof:
14296 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
14297 r=`${PWD_COMMAND}`; export r; \
14298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14299 $(SET_LIB_PATH) \
14300 for flag in $(EXTRA_HOST_FLAGS); do \
14301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14302 done; \
14303 echo "Doing distclean in gprof" ; \
14304 (cd gprof && \
14305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14307 "RANLIB=$${RANLIB}" \
14308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14309 distclean) \
14310 || exit 1
14311
14312
14313.PHONY: maybe-distclean-gzip distclean-gzip
14314maybe-distclean-gzip:
14315
14316distclean-gzip:
14317 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
14318 r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14320 $(SET_LIB_PATH) \
14321 for flag in $(EXTRA_HOST_FLAGS); do \
14322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14323 done; \
14324 echo "Doing distclean in gzip" ; \
14325 (cd gzip && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328 "RANLIB=$${RANLIB}" \
14329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14330 distclean) \
14331 || exit 1
14332
14333
14334.PHONY: maybe-distclean-hello distclean-hello
14335maybe-distclean-hello:
14336
14337distclean-hello:
14338 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
14339 r=`${PWD_COMMAND}`; export r; \
14340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14341 $(SET_LIB_PATH) \
14342 for flag in $(EXTRA_HOST_FLAGS); do \
14343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14344 done; \
14345 echo "Doing distclean in hello" ; \
14346 (cd hello && \
14347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14349 "RANLIB=$${RANLIB}" \
14350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14351 distclean) \
14352 || exit 1
14353
14354
14355.PHONY: maybe-distclean-indent distclean-indent
14356maybe-distclean-indent:
14357
14358distclean-indent:
14359 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
14360 r=`${PWD_COMMAND}`; export r; \
14361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14362 $(SET_LIB_PATH) \
14363 for flag in $(EXTRA_HOST_FLAGS); do \
14364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14365 done; \
14366 echo "Doing distclean in indent" ; \
14367 (cd indent && \
14368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14370 "RANLIB=$${RANLIB}" \
14371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14372 distclean) \
14373 || exit 1
14374
14375
14376.PHONY: maybe-distclean-intl distclean-intl
14377maybe-distclean-intl:
14378
14379distclean-intl:
14380 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
14381 r=`${PWD_COMMAND}`; export r; \
14382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14383 $(SET_LIB_PATH) \
14384 for flag in $(EXTRA_HOST_FLAGS); do \
14385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14386 done; \
14387 echo "Doing distclean in intl" ; \
14388 (cd intl && \
14389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14391 "RANLIB=$${RANLIB}" \
14392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14393 distclean) \
14394 || exit 1
14395
14396
14397.PHONY: maybe-distclean-tcl distclean-tcl
14398maybe-distclean-tcl:
14399
14400distclean-tcl:
14401 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
14402 r=`${PWD_COMMAND}`; export r; \
14403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14404 $(SET_LIB_PATH) \
14405 for flag in $(EXTRA_HOST_FLAGS); do \
14406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14407 done; \
14408 echo "Doing distclean in tcl" ; \
14409 (cd tcl && \
14410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14412 "RANLIB=$${RANLIB}" \
14413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14414 distclean) \
14415 || exit 1
14416
14417
14418.PHONY: maybe-distclean-itcl distclean-itcl
14419maybe-distclean-itcl:
14420
14421distclean-itcl:
14422 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
14423 r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14425 $(SET_LIB_PATH) \
14426 for flag in $(EXTRA_HOST_FLAGS); do \
14427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14428 done; \
14429 echo "Doing distclean in itcl" ; \
14430 (cd itcl && \
14431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14433 "RANLIB=$${RANLIB}" \
14434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14435 distclean) \
14436 || exit 1
14437
14438
14439.PHONY: maybe-distclean-ld distclean-ld
14440maybe-distclean-ld:
14441
14442distclean-ld:
14443 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
14444 r=`${PWD_COMMAND}`; export r; \
14445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14446 $(SET_LIB_PATH) \
14447 for flag in $(EXTRA_HOST_FLAGS); do \
14448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14449 done; \
14450 echo "Doing distclean in ld" ; \
14451 (cd ld && \
14452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14454 "RANLIB=$${RANLIB}" \
14455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14456 distclean) \
14457 || exit 1
14458
14459
14460.PHONY: maybe-distclean-libgui distclean-libgui
14461maybe-distclean-libgui:
14462
14463distclean-libgui:
14464 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
14465 r=`${PWD_COMMAND}`; export r; \
14466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14467 $(SET_LIB_PATH) \
14468 for flag in $(EXTRA_HOST_FLAGS); do \
14469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14470 done; \
14471 echo "Doing distclean in libgui" ; \
14472 (cd libgui && \
14473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14475 "RANLIB=$${RANLIB}" \
14476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14477 distclean) \
14478 || exit 1
14479
14480
14481.PHONY: maybe-distclean-libiberty distclean-libiberty
14482maybe-distclean-libiberty:
14483
14484distclean-libiberty:
14485 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
14486 r=`${PWD_COMMAND}`; export r; \
14487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14488 $(SET_LIB_PATH) \
14489 for flag in $(EXTRA_HOST_FLAGS); do \
14490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14491 done; \
14492 echo "Doing distclean in libiberty" ; \
14493 (cd libiberty && \
14494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14496 "RANLIB=$${RANLIB}" \
14497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14498 distclean) \
14499 || exit 1
14500
14501
14502.PHONY: maybe-distclean-libtool distclean-libtool
14503maybe-distclean-libtool:
14504
14505distclean-libtool:
14506 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
14507 r=`${PWD_COMMAND}`; export r; \
14508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14509 $(SET_LIB_PATH) \
14510 for flag in $(EXTRA_HOST_FLAGS); do \
14511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14512 done; \
14513 echo "Doing distclean in libtool" ; \
14514 (cd libtool && \
14515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14517 "RANLIB=$${RANLIB}" \
14518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14519 distclean) \
14520 || exit 1
14521
14522
14523.PHONY: maybe-distclean-m4 distclean-m4
14524maybe-distclean-m4:
14525
14526distclean-m4:
14527 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
14528 r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14530 $(SET_LIB_PATH) \
14531 for flag in $(EXTRA_HOST_FLAGS); do \
14532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14533 done; \
14534 echo "Doing distclean in m4" ; \
14535 (cd m4 && \
14536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14538 "RANLIB=$${RANLIB}" \
14539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14540 distclean) \
14541 || exit 1
14542
14543
14544.PHONY: maybe-distclean-make distclean-make
14545maybe-distclean-make:
14546
14547distclean-make:
14548 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14551 $(SET_LIB_PATH) \
14552 for flag in $(EXTRA_HOST_FLAGS); do \
14553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14554 done; \
14555 echo "Doing distclean in make" ; \
14556 (cd make && \
14557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14559 "RANLIB=$${RANLIB}" \
14560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14561 distclean) \
14562 || exit 1
14563
14564
14565.PHONY: maybe-distclean-mmalloc distclean-mmalloc
14566maybe-distclean-mmalloc:
14567
14568distclean-mmalloc:
14569 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
14570 r=`${PWD_COMMAND}`; export r; \
14571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14572 $(SET_LIB_PATH) \
14573 for flag in $(EXTRA_HOST_FLAGS); do \
14574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14575 done; \
14576 echo "Doing distclean in mmalloc" ; \
14577 (cd mmalloc && \
14578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14580 "RANLIB=$${RANLIB}" \
14581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14582 distclean) \
14583 || exit 1
14584
14585
14586.PHONY: maybe-distclean-patch distclean-patch
14587maybe-distclean-patch:
14588
14589distclean-patch:
14590 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
14591 r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14593 $(SET_LIB_PATH) \
14594 for flag in $(EXTRA_HOST_FLAGS); do \
14595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14596 done; \
14597 echo "Doing distclean in patch" ; \
14598 (cd patch && \
14599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14601 "RANLIB=$${RANLIB}" \
14602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14603 distclean) \
14604 || exit 1
14605
14606
14607.PHONY: maybe-distclean-perl distclean-perl
14608maybe-distclean-perl:
14609
14610distclean-perl:
14611 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
14612 r=`${PWD_COMMAND}`; export r; \
14613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14614 $(SET_LIB_PATH) \
14615 for flag in $(EXTRA_HOST_FLAGS); do \
14616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14617 done; \
14618 echo "Doing distclean in perl" ; \
14619 (cd perl && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622 "RANLIB=$${RANLIB}" \
14623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14624 distclean) \
14625 || exit 1
14626
14627
14628.PHONY: maybe-distclean-prms distclean-prms
14629maybe-distclean-prms:
14630
14631distclean-prms:
14632 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
14633 r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14635 $(SET_LIB_PATH) \
14636 for flag in $(EXTRA_HOST_FLAGS); do \
14637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14638 done; \
14639 echo "Doing distclean in prms" ; \
14640 (cd prms && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14643 "RANLIB=$${RANLIB}" \
14644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14645 distclean) \
14646 || exit 1
14647
14648
14649.PHONY: maybe-distclean-rcs distclean-rcs
14650maybe-distclean-rcs:
14651
14652distclean-rcs:
14653 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
14654 r=`${PWD_COMMAND}`; export r; \
14655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14656 $(SET_LIB_PATH) \
14657 for flag in $(EXTRA_HOST_FLAGS); do \
14658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14659 done; \
14660 echo "Doing distclean in rcs" ; \
14661 (cd rcs && \
14662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14664 "RANLIB=$${RANLIB}" \
14665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14666 distclean) \
14667 || exit 1
14668
14669
14670.PHONY: maybe-distclean-readline distclean-readline
14671maybe-distclean-readline:
14672
14673distclean-readline:
14674 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
14675 r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14677 $(SET_LIB_PATH) \
14678 for flag in $(EXTRA_HOST_FLAGS); do \
14679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14680 done; \
14681 echo "Doing distclean in readline" ; \
14682 (cd readline && \
14683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14685 "RANLIB=$${RANLIB}" \
14686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14687 distclean) \
14688 || exit 1
14689
14690
14691.PHONY: maybe-distclean-release distclean-release
14692maybe-distclean-release:
14693
14694distclean-release:
14695 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
14696 r=`${PWD_COMMAND}`; export r; \
14697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14698 $(SET_LIB_PATH) \
14699 for flag in $(EXTRA_HOST_FLAGS); do \
14700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14701 done; \
14702 echo "Doing distclean in release" ; \
14703 (cd release && \
14704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14706 "RANLIB=$${RANLIB}" \
14707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14708 distclean) \
14709 || exit 1
14710
14711
14712.PHONY: maybe-distclean-recode distclean-recode
14713maybe-distclean-recode:
14714
14715distclean-recode:
14716 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
14717 r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14719 $(SET_LIB_PATH) \
14720 for flag in $(EXTRA_HOST_FLAGS); do \
14721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14722 done; \
14723 echo "Doing distclean in recode" ; \
14724 (cd recode && \
14725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14727 "RANLIB=$${RANLIB}" \
14728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14729 distclean) \
14730 || exit 1
14731
14732
14733.PHONY: maybe-distclean-sed distclean-sed
14734maybe-distclean-sed:
14735
14736distclean-sed:
14737 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
14738 r=`${PWD_COMMAND}`; export r; \
14739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14740 $(SET_LIB_PATH) \
14741 for flag in $(EXTRA_HOST_FLAGS); do \
14742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14743 done; \
14744 echo "Doing distclean in sed" ; \
14745 (cd sed && \
14746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14748 "RANLIB=$${RANLIB}" \
14749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14750 distclean) \
14751 || exit 1
14752
14753
14754.PHONY: maybe-distclean-send-pr distclean-send-pr
14755maybe-distclean-send-pr:
14756
14757distclean-send-pr:
14758 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
14759 r=`${PWD_COMMAND}`; export r; \
14760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14761 $(SET_LIB_PATH) \
14762 for flag in $(EXTRA_HOST_FLAGS); do \
14763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14764 done; \
14765 echo "Doing distclean in send-pr" ; \
14766 (cd send-pr && \
14767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14769 "RANLIB=$${RANLIB}" \
14770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14771 distclean) \
14772 || exit 1
14773
14774
14775.PHONY: maybe-distclean-shellutils distclean-shellutils
14776maybe-distclean-shellutils:
14777
14778distclean-shellutils:
14779 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
14780 r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14782 $(SET_LIB_PATH) \
14783 for flag in $(EXTRA_HOST_FLAGS); do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785 done; \
14786 echo "Doing distclean in shellutils" ; \
14787 (cd shellutils && \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14792 distclean) \
14793 || exit 1
14794
14795
14796.PHONY: maybe-distclean-sid distclean-sid
14797maybe-distclean-sid:
14798
14799distclean-sid:
14800 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
14801 r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14803 $(SET_LIB_PATH) \
14804 for flag in $(EXTRA_HOST_FLAGS); do \
14805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14806 done; \
14807 echo "Doing distclean in sid" ; \
14808 (cd sid && \
14809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14811 "RANLIB=$${RANLIB}" \
14812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14813 distclean) \
14814 || exit 1
14815
14816
14817.PHONY: maybe-distclean-sim distclean-sim
14818maybe-distclean-sim:
14819
14820distclean-sim:
14821 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
14822 r=`${PWD_COMMAND}`; export r; \
14823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14824 $(SET_LIB_PATH) \
14825 for flag in $(EXTRA_HOST_FLAGS); do \
14826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14827 done; \
14828 echo "Doing distclean in sim" ; \
14829 (cd sim && \
14830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14832 "RANLIB=$${RANLIB}" \
14833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14834 distclean) \
14835 || exit 1
14836
14837
14838.PHONY: maybe-distclean-tar distclean-tar
14839maybe-distclean-tar:
14840
14841distclean-tar:
14842 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14845 $(SET_LIB_PATH) \
14846 for flag in $(EXTRA_HOST_FLAGS); do \
14847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14848 done; \
14849 echo "Doing distclean in tar" ; \
14850 (cd tar && \
14851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14853 "RANLIB=$${RANLIB}" \
14854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14855 distclean) \
14856 || exit 1
14857
14858
14859.PHONY: maybe-distclean-texinfo distclean-texinfo
14860maybe-distclean-texinfo:
14861
14862distclean-texinfo:
14863 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
14864 r=`${PWD_COMMAND}`; export r; \
14865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14866 $(SET_LIB_PATH) \
14867 for flag in $(EXTRA_HOST_FLAGS); do \
14868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14869 done; \
14870 echo "Doing distclean in texinfo" ; \
14871 (cd texinfo && \
14872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14874 "RANLIB=$${RANLIB}" \
14875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14876 distclean) \
14877 || exit 1
14878
14879
14880.PHONY: maybe-distclean-textutils distclean-textutils
14881maybe-distclean-textutils:
14882
14883distclean-textutils:
14884 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
14885 r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14887 $(SET_LIB_PATH) \
14888 for flag in $(EXTRA_HOST_FLAGS); do \
14889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14890 done; \
14891 echo "Doing distclean in textutils" ; \
14892 (cd textutils && \
14893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14895 "RANLIB=$${RANLIB}" \
14896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14897 distclean) \
14898 || exit 1
14899
14900
14901.PHONY: maybe-distclean-time distclean-time
14902maybe-distclean-time:
14903
14904distclean-time:
14905 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
14906 r=`${PWD_COMMAND}`; export r; \
14907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14908 $(SET_LIB_PATH) \
14909 for flag in $(EXTRA_HOST_FLAGS); do \
14910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14911 done; \
14912 echo "Doing distclean in time" ; \
14913 (cd time && \
14914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14916 "RANLIB=$${RANLIB}" \
14917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14918 distclean) \
14919 || exit 1
14920
14921
14922.PHONY: maybe-distclean-uudecode distclean-uudecode
14923maybe-distclean-uudecode:
14924
14925distclean-uudecode:
14926 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
14927 r=`${PWD_COMMAND}`; export r; \
14928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14929 $(SET_LIB_PATH) \
14930 for flag in $(EXTRA_HOST_FLAGS); do \
14931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14932 done; \
14933 echo "Doing distclean in uudecode" ; \
14934 (cd uudecode && \
14935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14937 "RANLIB=$${RANLIB}" \
14938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14939 distclean) \
14940 || exit 1
14941
14942
14943.PHONY: maybe-distclean-wdiff distclean-wdiff
14944maybe-distclean-wdiff:
14945
14946distclean-wdiff:
14947 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14950 $(SET_LIB_PATH) \
14951 for flag in $(EXTRA_HOST_FLAGS); do \
14952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14953 done; \
14954 echo "Doing distclean in wdiff" ; \
14955 (cd wdiff && \
14956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14958 "RANLIB=$${RANLIB}" \
14959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14960 distclean) \
14961 || exit 1
14962
14963
14964.PHONY: maybe-distclean-zip distclean-zip
14965maybe-distclean-zip:
14966
14967distclean-zip:
14968 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
14969 r=`${PWD_COMMAND}`; export r; \
14970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14971 $(SET_LIB_PATH) \
14972 for flag in $(EXTRA_HOST_FLAGS); do \
14973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14974 done; \
14975 echo "Doing distclean in zip" ; \
14976 (cd zip && \
14977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14979 "RANLIB=$${RANLIB}" \
14980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14981 distclean) \
14982 || exit 1
14983
14984
14985.PHONY: maybe-distclean-zlib distclean-zlib
14986maybe-distclean-zlib:
14987
14988distclean-zlib:
14989 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
14990 r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
14992 $(SET_LIB_PATH) \
14993 for flag in $(EXTRA_HOST_FLAGS); do \
14994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14995 done; \
14996 echo "Doing distclean in zlib" ; \
14997 (cd zlib && \
14998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15000 "RANLIB=$${RANLIB}" \
15001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15002 distclean) \
15003 || exit 1
15004
15005
15006.PHONY: maybe-distclean-gdb distclean-gdb
15007maybe-distclean-gdb:
15008
15009distclean-gdb:
15010 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
15011 r=`${PWD_COMMAND}`; export r; \
15012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15013 $(SET_LIB_PATH) \
15014 for flag in $(EXTRA_HOST_FLAGS); do \
15015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15016 done; \
15017 echo "Doing distclean in gdb" ; \
15018 (cd gdb && \
15019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15021 "RANLIB=$${RANLIB}" \
15022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15023 distclean) \
15024 || exit 1
15025
15026
15027.PHONY: maybe-distclean-expect distclean-expect
15028maybe-distclean-expect:
15029
15030distclean-expect:
15031 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
15032 r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15034 $(SET_LIB_PATH) \
15035 for flag in $(EXTRA_HOST_FLAGS); do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing distclean in expect" ; \
15039 (cd expect && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044 distclean) \
15045 || exit 1
15046
15047
15048.PHONY: maybe-distclean-guile distclean-guile
15049maybe-distclean-guile:
15050
15051distclean-guile:
15052 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
15053 r=`${PWD_COMMAND}`; export r; \
15054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15055 $(SET_LIB_PATH) \
15056 for flag in $(EXTRA_HOST_FLAGS); do \
15057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15058 done; \
15059 echo "Doing distclean in guile" ; \
15060 (cd guile && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15063 "RANLIB=$${RANLIB}" \
15064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15065 distclean) \
15066 || exit 1
15067
15068
15069.PHONY: maybe-distclean-tk distclean-tk
15070maybe-distclean-tk:
15071
15072distclean-tk:
15073 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
15074 r=`${PWD_COMMAND}`; export r; \
15075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15076 $(SET_LIB_PATH) \
15077 for flag in $(EXTRA_HOST_FLAGS); do \
15078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15079 done; \
15080 echo "Doing distclean in tk" ; \
15081 (cd tk && \
15082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15084 "RANLIB=$${RANLIB}" \
15085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15086 distclean) \
15087 || exit 1
15088
15089
15090.PHONY: maybe-distclean-tix distclean-tix
15091maybe-distclean-tix:
15092
15093distclean-tix:
15094 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
15095 r=`${PWD_COMMAND}`; export r; \
15096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15097 $(SET_LIB_PATH) \
15098 for flag in $(EXTRA_HOST_FLAGS); do \
15099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15100 done; \
15101 echo "Doing distclean in tix" ; \
15102 (cd tix && \
15103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15105 "RANLIB=$${RANLIB}" \
15106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15107 distclean) \
15108 || exit 1
15109
15110
15111.PHONY: maybe-distclean-libtermcap distclean-libtermcap
15112maybe-distclean-libtermcap:
15113
15114# libtermcap doesn't support distclean.
15115distclean-libtermcap:
15116
15117
15118.PHONY: maybe-distclean-utils distclean-utils
15119maybe-distclean-utils:
15120
15121distclean-utils:
15122 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
15123 r=`${PWD_COMMAND}`; export r; \
15124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15125 $(SET_LIB_PATH) \
15126 for flag in $(EXTRA_HOST_FLAGS); do \
15127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15128 done; \
15129 echo "Doing distclean in utils" ; \
15130 (cd utils && \
15131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15133 "RANLIB=$${RANLIB}" \
15134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15135 distclean) \
15136 || exit 1
15137
15138
15139
15140# Target modules.
15141
15142.PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
15143maybe-distclean-target-libstdc++-v3:
15144
15145distclean-target-libstdc++-v3:
15146 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
15147 r=`${PWD_COMMAND}`; export r; \
15148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15149 $(SET_LIB_PATH) \
15150 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
15151 for flag in $(EXTRA_TARGET_FLAGS); do \
15152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15153 done; \
15154 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
15155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15157 "RANLIB=$${RANLIB}" \
15158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15159 distclean) \
15160 || exit 1
15161
15162
15163.PHONY: maybe-distclean-target-newlib distclean-target-newlib
15164maybe-distclean-target-newlib:
15165
15166distclean-target-newlib:
15167 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
15168 r=`${PWD_COMMAND}`; export r; \
15169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15170 $(SET_LIB_PATH) \
15171 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
15172 for flag in $(EXTRA_TARGET_FLAGS); do \
15173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15174 done; \
15175 (cd $(TARGET_SUBDIR)/newlib && \
15176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15178 "RANLIB=$${RANLIB}" \
15179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15180 distclean) \
15181 || exit 1
15182
15183
15184.PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
15185maybe-distclean-target-libf2c:
15186
15187distclean-target-libf2c:
15188 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
15189 r=`${PWD_COMMAND}`; export r; \
15190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15191 $(SET_LIB_PATH) \
15192 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
15193 for flag in $(EXTRA_TARGET_FLAGS); do \
15194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15195 done; \
15196 (cd $(TARGET_SUBDIR)/libf2c && \
15197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15199 "RANLIB=$${RANLIB}" \
15200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15201 distclean) \
15202 || exit 1
15203
15204
15205.PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
15206maybe-distclean-target-libobjc:
15207
15208distclean-target-libobjc:
15209 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
15210 r=`${PWD_COMMAND}`; export r; \
15211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15212 $(SET_LIB_PATH) \
15213 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
15214 for flag in $(EXTRA_TARGET_FLAGS); do \
15215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15216 done; \
15217 (cd $(TARGET_SUBDIR)/libobjc && \
15218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15220 "RANLIB=$${RANLIB}" \
15221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15222 distclean) \
15223 || exit 1
15224
15225
15226.PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
15227maybe-distclean-target-libtermcap:
15228
15229# libtermcap doesn't support distclean.
01b759aa 15230distclean-target-libtermcap:
1358ccea
NN
15231
15232
15233.PHONY: maybe-distclean-target-winsup distclean-target-winsup
15234maybe-distclean-target-winsup:
15235
15236distclean-target-winsup:
15237 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
15238 r=`${PWD_COMMAND}`; export r; \
15239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15240 $(SET_LIB_PATH) \
15241 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
15242 for flag in $(EXTRA_TARGET_FLAGS); do \
15243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15244 done; \
15245 (cd $(TARGET_SUBDIR)/winsup && \
15246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15248 "RANLIB=$${RANLIB}" \
15249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15250 distclean) \
15251 || exit 1
15252
15253
15254.PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
15255maybe-distclean-target-libgloss:
15256
15257distclean-target-libgloss:
15258 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
15259 r=`${PWD_COMMAND}`; export r; \
15260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15261 $(SET_LIB_PATH) \
15262 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
15263 for flag in $(EXTRA_TARGET_FLAGS); do \
15264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15265 done; \
15266 (cd $(TARGET_SUBDIR)/libgloss && \
15267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15269 "RANLIB=$${RANLIB}" \
15270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15271 distclean) \
15272 || exit 1
15273
15274
15275.PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
15276maybe-distclean-target-libiberty:
15277
15278distclean-target-libiberty:
15279 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
15280 r=`${PWD_COMMAND}`; export r; \
15281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15282 $(SET_LIB_PATH) \
15283 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
15284 for flag in $(EXTRA_TARGET_FLAGS); do \
15285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15286 done; \
15287 (cd $(TARGET_SUBDIR)/libiberty && \
15288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15290 "RANLIB=$${RANLIB}" \
15291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15292 distclean) \
15293 || exit 1
15294
15295
15296.PHONY: maybe-distclean-target-gperf distclean-target-gperf
15297maybe-distclean-target-gperf:
15298
15299distclean-target-gperf:
15300 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
15301 r=`${PWD_COMMAND}`; export r; \
15302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15303 $(SET_LIB_PATH) \
15304 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
15305 for flag in $(EXTRA_TARGET_FLAGS); do \
15306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 done; \
15308 (cd $(TARGET_SUBDIR)/gperf && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15313 distclean) \
15314 || exit 1
15315
15316
15317.PHONY: maybe-distclean-target-examples distclean-target-examples
15318maybe-distclean-target-examples:
15319
15320distclean-target-examples:
15321 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15324 $(SET_LIB_PATH) \
15325 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
15326 for flag in $(EXTRA_TARGET_FLAGS); do \
15327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15328 done; \
15329 (cd $(TARGET_SUBDIR)/examples && \
15330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15332 "RANLIB=$${RANLIB}" \
15333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15334 distclean) \
15335 || exit 1
15336
15337
15338.PHONY: maybe-distclean-target-libffi distclean-target-libffi
15339maybe-distclean-target-libffi:
15340
15341distclean-target-libffi:
15342 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
15343 r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15345 $(SET_LIB_PATH) \
15346 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
15347 for flag in $(EXTRA_TARGET_FLAGS); do \
15348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15349 done; \
15350 (cd $(TARGET_SUBDIR)/libffi && \
15351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15353 "RANLIB=$${RANLIB}" \
15354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15355 distclean) \
15356 || exit 1
15357
15358
15359.PHONY: maybe-distclean-target-libjava distclean-target-libjava
15360maybe-distclean-target-libjava:
15361
15362distclean-target-libjava:
15363 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
15364 r=`${PWD_COMMAND}`; export r; \
15365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15366 $(SET_LIB_PATH) \
15367 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
15368 for flag in $(EXTRA_TARGET_FLAGS); do \
15369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15370 done; \
15371 (cd $(TARGET_SUBDIR)/libjava && \
15372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15374 "RANLIB=$${RANLIB}" \
15375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15376 distclean) \
15377 || exit 1
15378
15379
15380.PHONY: maybe-distclean-target-zlib distclean-target-zlib
15381maybe-distclean-target-zlib:
15382
15383distclean-target-zlib:
15384 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
15385 r=`${PWD_COMMAND}`; export r; \
15386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15387 $(SET_LIB_PATH) \
15388 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
15389 for flag in $(EXTRA_TARGET_FLAGS); do \
15390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15391 done; \
15392 (cd $(TARGET_SUBDIR)/zlib && \
15393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15395 "RANLIB=$${RANLIB}" \
15396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15397 distclean) \
15398 || exit 1
15399
15400
15401.PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
15402maybe-distclean-target-boehm-gc:
15403
15404distclean-target-boehm-gc:
15405 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
15406 r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15408 $(SET_LIB_PATH) \
15409 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
15410 for flag in $(EXTRA_TARGET_FLAGS); do \
15411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15412 done; \
15413 (cd $(TARGET_SUBDIR)/boehm-gc && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15418 distclean) \
15419 || exit 1
15420
15421
15422.PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
15423maybe-distclean-target-qthreads:
15424
15425distclean-target-qthreads:
15426 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
15427 r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15429 $(SET_LIB_PATH) \
15430 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
15431 for flag in $(EXTRA_TARGET_FLAGS); do \
15432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15433 done; \
15434 (cd $(TARGET_SUBDIR)/qthreads && \
15435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15437 "RANLIB=$${RANLIB}" \
15438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15439 distclean) \
15440 || exit 1
15441
15442
15443.PHONY: maybe-distclean-target-rda distclean-target-rda
15444maybe-distclean-target-rda:
15445
15446distclean-target-rda:
15447 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15450 $(SET_LIB_PATH) \
15451 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
15452 for flag in $(EXTRA_TARGET_FLAGS); do \
15453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15454 done; \
15455 (cd $(TARGET_SUBDIR)/rda && \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15460 distclean) \
15461 || exit 1
15462
15463
15464
15465.PHONY: do-maintainer-clean
15466do-maintainer-clean: maintainer-clean-host maintainer-clean-target
15467
15468.PHONY: maintainer-clean-host
15469maintainer-clean-host: maybe-maintainer-clean-gcc \
15470 maybe-maintainer-clean-ash \
15471 maybe-maintainer-clean-autoconf \
15472 maybe-maintainer-clean-automake \
15473 maybe-maintainer-clean-bash \
15474 maybe-maintainer-clean-bfd \
15475 maybe-maintainer-clean-opcodes \
15476 maybe-maintainer-clean-binutils \
15477 maybe-maintainer-clean-bison \
15478 maybe-maintainer-clean-byacc \
15479 maybe-maintainer-clean-bzip2 \
15480 maybe-maintainer-clean-dejagnu \
15481 maybe-maintainer-clean-diff \
15482 maybe-maintainer-clean-dosutils \
15483 maybe-maintainer-clean-etc \
15484 maybe-maintainer-clean-fastjar \
15485 maybe-maintainer-clean-fileutils \
15486 maybe-maintainer-clean-findutils \
15487 maybe-maintainer-clean-find \
15488 maybe-maintainer-clean-flex \
15489 maybe-maintainer-clean-gas \
15490 maybe-maintainer-clean-gawk \
15491 maybe-maintainer-clean-gettext \
15492 maybe-maintainer-clean-gnuserv \
15493 maybe-maintainer-clean-gprof \
15494 maybe-maintainer-clean-gzip \
15495 maybe-maintainer-clean-hello \
15496 maybe-maintainer-clean-indent \
15497 maybe-maintainer-clean-intl \
15498 maybe-maintainer-clean-tcl \
15499 maybe-maintainer-clean-itcl \
15500 maybe-maintainer-clean-ld \
15501 maybe-maintainer-clean-libgui \
15502 maybe-maintainer-clean-libiberty \
15503 maybe-maintainer-clean-libtool \
15504 maybe-maintainer-clean-m4 \
15505 maybe-maintainer-clean-make \
15506 maybe-maintainer-clean-mmalloc \
15507 maybe-maintainer-clean-patch \
15508 maybe-maintainer-clean-perl \
15509 maybe-maintainer-clean-prms \
15510 maybe-maintainer-clean-rcs \
15511 maybe-maintainer-clean-readline \
15512 maybe-maintainer-clean-release \
15513 maybe-maintainer-clean-recode \
15514 maybe-maintainer-clean-sed \
15515 maybe-maintainer-clean-send-pr \
15516 maybe-maintainer-clean-shellutils \
15517 maybe-maintainer-clean-sid \
15518 maybe-maintainer-clean-sim \
15519 maybe-maintainer-clean-tar \
15520 maybe-maintainer-clean-texinfo \
15521 maybe-maintainer-clean-textutils \
15522 maybe-maintainer-clean-time \
15523 maybe-maintainer-clean-uudecode \
15524 maybe-maintainer-clean-wdiff \
15525 maybe-maintainer-clean-zip \
15526 maybe-maintainer-clean-zlib \
15527 maybe-maintainer-clean-gdb \
15528 maybe-maintainer-clean-expect \
15529 maybe-maintainer-clean-guile \
15530 maybe-maintainer-clean-tk \
15531 maybe-maintainer-clean-tix \
15532 maybe-maintainer-clean-libtermcap \
15533 maybe-maintainer-clean-utils
15534
15535.PHONY: maintainer-clean-target
15536maintainer-clean-target: \
15537 maybe-maintainer-clean-target-libstdc++-v3 \
15538 maybe-maintainer-clean-target-newlib \
15539 maybe-maintainer-clean-target-libf2c \
15540 maybe-maintainer-clean-target-libobjc \
15541 maybe-maintainer-clean-target-libtermcap \
15542 maybe-maintainer-clean-target-winsup \
15543 maybe-maintainer-clean-target-libgloss \
15544 maybe-maintainer-clean-target-libiberty \
15545 maybe-maintainer-clean-target-gperf \
15546 maybe-maintainer-clean-target-examples \
15547 maybe-maintainer-clean-target-libffi \
15548 maybe-maintainer-clean-target-libjava \
15549 maybe-maintainer-clean-target-zlib \
15550 maybe-maintainer-clean-target-boehm-gc \
15551 maybe-maintainer-clean-target-qthreads \
15552 maybe-maintainer-clean-target-rda
15553
15554# GCC, the eternal special case
15555.PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15556maybe-maintainer-clean-gcc:
15557maintainer-clean-gcc:
15558 @[ -f ./gcc/Makefile ] || exit 0; \
8c90b13a
L
15559 r=`${PWD_COMMAND}`; export r; \
15560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15561 $(SET_LIB_PATH) \
15562 for flag in $(EXTRA_GCC_FLAGS); do \
15563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15564 done; \
15565 echo "Doing maintainer-clean in gcc" ; \
15566 (cd gcc && \
15567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15569 "RANLIB=$${RANLIB}" \
15570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15571 maintainer-clean) \
15572 || exit 1
15573
15574# Host modules.
15575
15576.PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
15577maybe-maintainer-clean-ash:
15578
15579maintainer-clean-ash:
15580 @[ -f ./ash/Makefile ] || exit 0; \
8c90b13a
L
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15583 $(SET_LIB_PATH) \
15584 for flag in $(EXTRA_HOST_FLAGS); do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586 done; \
15587 echo "Doing maintainer-clean in ash" ; \
15588 (cd ash && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15593 maintainer-clean) \
15594 || exit 1
15595
15596
15597.PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
15598maybe-maintainer-clean-autoconf:
15599
15600maintainer-clean-autoconf:
15601 @[ -f ./autoconf/Makefile ] || exit 0; \
8c90b13a
L
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15604 $(SET_LIB_PATH) \
15605 for flag in $(EXTRA_HOST_FLAGS); do \
15606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15607 done; \
15608 echo "Doing maintainer-clean in autoconf" ; \
15609 (cd autoconf && \
15610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15612 "RANLIB=$${RANLIB}" \
15613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15614 maintainer-clean) \
15615 || exit 1
15616
15617
15618.PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
15619maybe-maintainer-clean-automake:
15620
15621maintainer-clean-automake:
15622 @[ -f ./automake/Makefile ] || exit 0; \
8c90b13a
L
15623 r=`${PWD_COMMAND}`; export r; \
15624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15625 $(SET_LIB_PATH) \
15626 for flag in $(EXTRA_HOST_FLAGS); do \
15627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15628 done; \
15629 echo "Doing maintainer-clean in automake" ; \
15630 (cd automake && \
15631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15633 "RANLIB=$${RANLIB}" \
15634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15635 maintainer-clean) \
15636 || exit 1
15637
15638
15639.PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
15640maybe-maintainer-clean-bash:
15641
15642maintainer-clean-bash:
15643 @[ -f ./bash/Makefile ] || exit 0; \
8c90b13a
L
15644 r=`${PWD_COMMAND}`; export r; \
15645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15646 $(SET_LIB_PATH) \
15647 for flag in $(EXTRA_HOST_FLAGS); do \
15648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15649 done; \
15650 echo "Doing maintainer-clean in bash" ; \
15651 (cd bash && \
15652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654 "RANLIB=$${RANLIB}" \
15655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15656 maintainer-clean) \
15657 || exit 1
15658
15659
15660.PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
15661maybe-maintainer-clean-bfd:
15662
15663maintainer-clean-bfd:
15664 @[ -f ./bfd/Makefile ] || exit 0; \
8c90b13a
L
15665 r=`${PWD_COMMAND}`; export r; \
15666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15667 $(SET_LIB_PATH) \
15668 for flag in $(EXTRA_HOST_FLAGS); do \
15669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15670 done; \
15671 echo "Doing maintainer-clean in bfd" ; \
15672 (cd bfd && \
15673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15675 "RANLIB=$${RANLIB}" \
15676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 maintainer-clean) \
15678 || exit 1
15679
15680
15681.PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
15682maybe-maintainer-clean-opcodes:
15683
15684maintainer-clean-opcodes:
15685 @[ -f ./opcodes/Makefile ] || exit 0; \
8c90b13a
L
15686 r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15688 $(SET_LIB_PATH) \
15689 for flag in $(EXTRA_HOST_FLAGS); do \
15690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15691 done; \
15692 echo "Doing maintainer-clean in opcodes" ; \
15693 (cd opcodes && \
15694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15696 "RANLIB=$${RANLIB}" \
15697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15698 maintainer-clean) \
15699 || exit 1
15700
15701
15702.PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
15703maybe-maintainer-clean-binutils:
15704
15705maintainer-clean-binutils:
15706 @[ -f ./binutils/Makefile ] || exit 0; \
8c90b13a
L
15707 r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15709 $(SET_LIB_PATH) \
15710 for flag in $(EXTRA_HOST_FLAGS); do \
15711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15712 done; \
15713 echo "Doing maintainer-clean in binutils" ; \
15714 (cd binutils && \
15715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15717 "RANLIB=$${RANLIB}" \
15718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15719 maintainer-clean) \
15720 || exit 1
15721
15722
15723.PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
15724maybe-maintainer-clean-bison:
15725
15726maintainer-clean-bison:
15727 @[ -f ./bison/Makefile ] || exit 0; \
8c90b13a
L
15728 r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15730 $(SET_LIB_PATH) \
15731 for flag in $(EXTRA_HOST_FLAGS); do \
15732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15733 done; \
15734 echo "Doing maintainer-clean in bison" ; \
15735 (cd bison && \
15736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15738 "RANLIB=$${RANLIB}" \
15739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15740 maintainer-clean) \
15741 || exit 1
15742
15743
15744.PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
15745maybe-maintainer-clean-byacc:
15746
15747maintainer-clean-byacc:
15748 @[ -f ./byacc/Makefile ] || exit 0; \
8c90b13a
L
15749 r=`${PWD_COMMAND}`; export r; \
15750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15751 $(SET_LIB_PATH) \
15752 for flag in $(EXTRA_HOST_FLAGS); do \
15753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15754 done; \
15755 echo "Doing maintainer-clean in byacc" ; \
15756 (cd byacc && \
15757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15759 "RANLIB=$${RANLIB}" \
15760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15761 maintainer-clean) \
15762 || exit 1
15763
15764
15765.PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
15766maybe-maintainer-clean-bzip2:
15767
15768maintainer-clean-bzip2:
15769 @[ -f ./bzip2/Makefile ] || exit 0; \
8c90b13a
L
15770 r=`${PWD_COMMAND}`; export r; \
15771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15772 $(SET_LIB_PATH) \
15773 for flag in $(EXTRA_HOST_FLAGS); do \
15774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15775 done; \
15776 echo "Doing maintainer-clean in bzip2" ; \
15777 (cd bzip2 && \
15778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15780 "RANLIB=$${RANLIB}" \
15781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15782 maintainer-clean) \
15783 || exit 1
15784
15785
15786.PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
15787maybe-maintainer-clean-dejagnu:
15788
15789maintainer-clean-dejagnu:
15790 @[ -f ./dejagnu/Makefile ] || exit 0; \
8c90b13a
L
15791 r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15793 $(SET_LIB_PATH) \
15794 for flag in $(EXTRA_HOST_FLAGS); do \
15795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15796 done; \
15797 echo "Doing maintainer-clean in dejagnu" ; \
15798 (cd dejagnu && \
15799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15801 "RANLIB=$${RANLIB}" \
15802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15803 maintainer-clean) \
15804 || exit 1
15805
15806
15807.PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
15808maybe-maintainer-clean-diff:
15809
15810maintainer-clean-diff:
15811 @[ -f ./diff/Makefile ] || exit 0; \
8c90b13a
L
15812 r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15814 $(SET_LIB_PATH) \
15815 for flag in $(EXTRA_HOST_FLAGS); do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15817 done; \
15818 echo "Doing maintainer-clean in diff" ; \
15819 (cd diff && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15822 "RANLIB=$${RANLIB}" \
15823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15824 maintainer-clean) \
15825 || exit 1
15826
15827
15828.PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
15829maybe-maintainer-clean-dosutils:
15830
15831maintainer-clean-dosutils:
15832 @[ -f ./dosutils/Makefile ] || exit 0; \
8c90b13a
L
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15835 $(SET_LIB_PATH) \
15836 for flag in $(EXTRA_HOST_FLAGS); do \
15837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15838 done; \
15839 echo "Doing maintainer-clean in dosutils" ; \
15840 (cd dosutils && \
15841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15843 "RANLIB=$${RANLIB}" \
15844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15845 maintainer-clean) \
15846 || exit 1
15847
15848
15849.PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
15850maybe-maintainer-clean-etc:
15851
15852maintainer-clean-etc:
15853 @[ -f ./etc/Makefile ] || exit 0; \
8c90b13a
L
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15856 $(SET_LIB_PATH) \
15857 for flag in $(EXTRA_HOST_FLAGS); do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing maintainer-clean in etc" ; \
15861 (cd etc && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 maintainer-clean) \
15867 || exit 1
15868
15869
15870.PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
15871maybe-maintainer-clean-fastjar:
15872
15873maintainer-clean-fastjar:
15874 @[ -f ./fastjar/Makefile ] || exit 0; \
8c90b13a
L
15875 r=`${PWD_COMMAND}`; export r; \
15876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15877 $(SET_LIB_PATH) \
15878 for flag in $(EXTRA_HOST_FLAGS); do \
15879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15880 done; \
15881 echo "Doing maintainer-clean in fastjar" ; \
15882 (cd fastjar && \
15883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15885 "RANLIB=$${RANLIB}" \
15886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15887 maintainer-clean) \
15888 || exit 1
15889
15890
15891.PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
15892maybe-maintainer-clean-fileutils:
15893
15894maintainer-clean-fileutils:
15895 @[ -f ./fileutils/Makefile ] || exit 0; \
8c90b13a
L
15896 r=`${PWD_COMMAND}`; export r; \
15897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15898 $(SET_LIB_PATH) \
15899 for flag in $(EXTRA_HOST_FLAGS); do \
15900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15901 done; \
15902 echo "Doing maintainer-clean in fileutils" ; \
15903 (cd fileutils && \
15904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15906 "RANLIB=$${RANLIB}" \
15907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15908 maintainer-clean) \
15909 || exit 1
15910
15911
15912.PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
15913maybe-maintainer-clean-findutils:
15914
15915maintainer-clean-findutils:
15916 @[ -f ./findutils/Makefile ] || exit 0; \
8c90b13a
L
15917 r=`${PWD_COMMAND}`; export r; \
15918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15919 $(SET_LIB_PATH) \
15920 for flag in $(EXTRA_HOST_FLAGS); do \
15921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15922 done; \
15923 echo "Doing maintainer-clean in findutils" ; \
15924 (cd findutils && \
15925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15927 "RANLIB=$${RANLIB}" \
15928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15929 maintainer-clean) \
15930 || exit 1
15931
15932
15933.PHONY: maybe-maintainer-clean-find maintainer-clean-find
15934maybe-maintainer-clean-find:
15935
15936maintainer-clean-find:
15937 @[ -f ./find/Makefile ] || exit 0; \
8c90b13a
L
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15940 $(SET_LIB_PATH) \
15941 for flag in $(EXTRA_HOST_FLAGS); do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15943 done; \
15944 echo "Doing maintainer-clean in find" ; \
15945 (cd find && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15948 "RANLIB=$${RANLIB}" \
15949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15950 maintainer-clean) \
15951 || exit 1
15952
15953
15954.PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
15955maybe-maintainer-clean-flex:
15956
15957maintainer-clean-flex:
15958 @[ -f ./flex/Makefile ] || exit 0; \
8c90b13a
L
15959 r=`${PWD_COMMAND}`; export r; \
15960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15961 $(SET_LIB_PATH) \
15962 for flag in $(EXTRA_HOST_FLAGS); do \
15963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15964 done; \
15965 echo "Doing maintainer-clean in flex" ; \
15966 (cd flex && \
15967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15969 "RANLIB=$${RANLIB}" \
15970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15971 maintainer-clean) \
15972 || exit 1
15973
15974
15975.PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15976maybe-maintainer-clean-gas:
15977
15978maintainer-clean-gas:
15979 @[ -f ./gas/Makefile ] || exit 0; \
8c90b13a
L
15980 r=`${PWD_COMMAND}`; export r; \
15981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
15982 $(SET_LIB_PATH) \
15983 for flag in $(EXTRA_HOST_FLAGS); do \
15984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15985 done; \
15986 echo "Doing maintainer-clean in gas" ; \
15987 (cd gas && \
15988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15990 "RANLIB=$${RANLIB}" \
15991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15992 maintainer-clean) \
15993 || exit 1
15994
15995
15996.PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15997maybe-maintainer-clean-gawk:
15998
15999maintainer-clean-gawk:
16000 @[ -f ./gawk/Makefile ] || exit 0; \
8c90b13a
L
16001 r=`${PWD_COMMAND}`; export r; \
16002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16003 $(SET_LIB_PATH) \
16004 for flag in $(EXTRA_HOST_FLAGS); do \
16005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16006 done; \
16007 echo "Doing maintainer-clean in gawk" ; \
16008 (cd gawk && \
16009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16011 "RANLIB=$${RANLIB}" \
16012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16013 maintainer-clean) \
16014 || exit 1
16015
16016
16017.PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16018maybe-maintainer-clean-gettext:
16019
16020maintainer-clean-gettext:
16021 @[ -f ./gettext/Makefile ] || exit 0; \
8c90b13a
L
16022 r=`${PWD_COMMAND}`; export r; \
16023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16024 $(SET_LIB_PATH) \
16025 for flag in $(EXTRA_HOST_FLAGS); do \
16026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16027 done; \
16028 echo "Doing maintainer-clean in gettext" ; \
16029 (cd gettext && \
16030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16032 "RANLIB=$${RANLIB}" \
16033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 maintainer-clean) \
16035 || exit 1
16036
16037
16038.PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16039maybe-maintainer-clean-gnuserv:
16040
16041maintainer-clean-gnuserv:
16042 @[ -f ./gnuserv/Makefile ] || exit 0; \
8c90b13a
L
16043 r=`${PWD_COMMAND}`; export r; \
16044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16045 $(SET_LIB_PATH) \
16046 for flag in $(EXTRA_HOST_FLAGS); do \
16047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16048 done; \
16049 echo "Doing maintainer-clean in gnuserv" ; \
16050 (cd gnuserv && \
16051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16053 "RANLIB=$${RANLIB}" \
16054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16055 maintainer-clean) \
16056 || exit 1
16057
16058
16059.PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16060maybe-maintainer-clean-gprof:
16061
16062maintainer-clean-gprof:
16063 @[ -f ./gprof/Makefile ] || exit 0; \
8c90b13a
L
16064 r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16066 $(SET_LIB_PATH) \
16067 for flag in $(EXTRA_HOST_FLAGS); do \
16068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16069 done; \
16070 echo "Doing maintainer-clean in gprof" ; \
16071 (cd gprof && \
16072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16074 "RANLIB=$${RANLIB}" \
16075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16076 maintainer-clean) \
16077 || exit 1
16078
16079
16080.PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16081maybe-maintainer-clean-gzip:
16082
16083maintainer-clean-gzip:
16084 @[ -f ./gzip/Makefile ] || exit 0; \
8c90b13a
L
16085 r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16087 $(SET_LIB_PATH) \
16088 for flag in $(EXTRA_HOST_FLAGS); do \
16089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16090 done; \
16091 echo "Doing maintainer-clean in gzip" ; \
16092 (cd gzip && \
16093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16095 "RANLIB=$${RANLIB}" \
16096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16097 maintainer-clean) \
16098 || exit 1
16099
16100
16101.PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
16102maybe-maintainer-clean-hello:
16103
16104maintainer-clean-hello:
16105 @[ -f ./hello/Makefile ] || exit 0; \
8c90b13a
L
16106 r=`${PWD_COMMAND}`; export r; \
16107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16108 $(SET_LIB_PATH) \
16109 for flag in $(EXTRA_HOST_FLAGS); do \
16110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16111 done; \
16112 echo "Doing maintainer-clean in hello" ; \
16113 (cd hello && \
16114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16116 "RANLIB=$${RANLIB}" \
16117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16118 maintainer-clean) \
16119 || exit 1
16120
16121
16122.PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16123maybe-maintainer-clean-indent:
16124
16125maintainer-clean-indent:
16126 @[ -f ./indent/Makefile ] || exit 0; \
8c90b13a
L
16127 r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16129 $(SET_LIB_PATH) \
16130 for flag in $(EXTRA_HOST_FLAGS); do \
16131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16132 done; \
16133 echo "Doing maintainer-clean in indent" ; \
16134 (cd indent && \
16135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16137 "RANLIB=$${RANLIB}" \
16138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16139 maintainer-clean) \
16140 || exit 1
16141
16142
16143.PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16144maybe-maintainer-clean-intl:
16145
16146maintainer-clean-intl:
16147 @[ -f ./intl/Makefile ] || exit 0; \
8c90b13a
L
16148 r=`${PWD_COMMAND}`; export r; \
16149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16150 $(SET_LIB_PATH) \
16151 for flag in $(EXTRA_HOST_FLAGS); do \
16152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16153 done; \
16154 echo "Doing maintainer-clean in intl" ; \
16155 (cd intl && \
16156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16158 "RANLIB=$${RANLIB}" \
16159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16160 maintainer-clean) \
16161 || exit 1
16162
16163
16164.PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16165maybe-maintainer-clean-tcl:
16166
16167maintainer-clean-tcl:
16168 @[ -f ./tcl/Makefile ] || exit 0; \
8c90b13a
L
16169 r=`${PWD_COMMAND}`; export r; \
16170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16171 $(SET_LIB_PATH) \
16172 for flag in $(EXTRA_HOST_FLAGS); do \
16173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16174 done; \
16175 echo "Doing maintainer-clean in tcl" ; \
16176 (cd tcl && \
16177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16179 "RANLIB=$${RANLIB}" \
16180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16181 maintainer-clean) \
16182 || exit 1
16183
16184
16185.PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16186maybe-maintainer-clean-itcl:
16187
16188maintainer-clean-itcl:
16189 @[ -f ./itcl/Makefile ] || exit 0; \
8c90b13a
L
16190 r=`${PWD_COMMAND}`; export r; \
16191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16192 $(SET_LIB_PATH) \
16193 for flag in $(EXTRA_HOST_FLAGS); do \
16194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16195 done; \
16196 echo "Doing maintainer-clean in itcl" ; \
16197 (cd itcl && \
16198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16200 "RANLIB=$${RANLIB}" \
16201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16202 maintainer-clean) \
16203 || exit 1
16204
16205
16206.PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16207maybe-maintainer-clean-ld:
16208
16209maintainer-clean-ld:
16210 @[ -f ./ld/Makefile ] || exit 0; \
8c90b13a
L
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16213 $(SET_LIB_PATH) \
16214 for flag in $(EXTRA_HOST_FLAGS); do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16216 done; \
16217 echo "Doing maintainer-clean in ld" ; \
16218 (cd ld && \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16223 maintainer-clean) \
16224 || exit 1
16225
16226
16227.PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16228maybe-maintainer-clean-libgui:
16229
16230maintainer-clean-libgui:
16231 @[ -f ./libgui/Makefile ] || exit 0; \
8c90b13a
L
16232 r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16234 $(SET_LIB_PATH) \
16235 for flag in $(EXTRA_HOST_FLAGS); do \
16236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16237 done; \
16238 echo "Doing maintainer-clean in libgui" ; \
16239 (cd libgui && \
16240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16242 "RANLIB=$${RANLIB}" \
16243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16244 maintainer-clean) \
16245 || exit 1
16246
16247
16248.PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16249maybe-maintainer-clean-libiberty:
16250
16251maintainer-clean-libiberty:
16252 @[ -f ./libiberty/Makefile ] || exit 0; \
8c90b13a
L
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16255 $(SET_LIB_PATH) \
16256 for flag in $(EXTRA_HOST_FLAGS); do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing maintainer-clean in libiberty" ; \
16260 (cd libiberty && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16265 maintainer-clean) \
16266 || exit 1
16267
16268
16269.PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
16270maybe-maintainer-clean-libtool:
16271
16272maintainer-clean-libtool:
16273 @[ -f ./libtool/Makefile ] || exit 0; \
8c90b13a
L
16274 r=`${PWD_COMMAND}`; export r; \
16275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16276 $(SET_LIB_PATH) \
16277 for flag in $(EXTRA_HOST_FLAGS); do \
16278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16279 done; \
16280 echo "Doing maintainer-clean in libtool" ; \
16281 (cd libtool && \
16282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16284 "RANLIB=$${RANLIB}" \
16285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16286 maintainer-clean) \
16287 || exit 1
16288
16289
16290.PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
16291maybe-maintainer-clean-m4:
16292
16293maintainer-clean-m4:
16294 @[ -f ./m4/Makefile ] || exit 0; \
8c90b13a
L
16295 r=`${PWD_COMMAND}`; export r; \
16296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16297 $(SET_LIB_PATH) \
16298 for flag in $(EXTRA_HOST_FLAGS); do \
16299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16300 done; \
16301 echo "Doing maintainer-clean in m4" ; \
16302 (cd m4 && \
16303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16305 "RANLIB=$${RANLIB}" \
16306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16307 maintainer-clean) \
16308 || exit 1
16309
16310
16311.PHONY: maybe-maintainer-clean-make maintainer-clean-make
16312maybe-maintainer-clean-make:
16313
16314maintainer-clean-make:
16315 @[ -f ./make/Makefile ] || exit 0; \
8c90b13a
L
16316 r=`${PWD_COMMAND}`; export r; \
16317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16318 $(SET_LIB_PATH) \
16319 for flag in $(EXTRA_HOST_FLAGS); do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 done; \
16322 echo "Doing maintainer-clean in make" ; \
16323 (cd make && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 maintainer-clean) \
16329 || exit 1
16330
16331
16332.PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
16333maybe-maintainer-clean-mmalloc:
16334
16335maintainer-clean-mmalloc:
16336 @[ -f ./mmalloc/Makefile ] || exit 0; \
8c90b13a
L
16337 r=`${PWD_COMMAND}`; export r; \
16338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16339 $(SET_LIB_PATH) \
16340 for flag in $(EXTRA_HOST_FLAGS); do \
16341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16342 done; \
16343 echo "Doing maintainer-clean in mmalloc" ; \
16344 (cd mmalloc && \
16345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16347 "RANLIB=$${RANLIB}" \
16348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16349 maintainer-clean) \
16350 || exit 1
16351
16352
16353.PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16354maybe-maintainer-clean-patch:
16355
16356maintainer-clean-patch:
16357 @[ -f ./patch/Makefile ] || exit 0; \
8c90b13a
L
16358 r=`${PWD_COMMAND}`; export r; \
16359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16360 $(SET_LIB_PATH) \
16361 for flag in $(EXTRA_HOST_FLAGS); do \
16362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16363 done; \
16364 echo "Doing maintainer-clean in patch" ; \
16365 (cd patch && \
16366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16368 "RANLIB=$${RANLIB}" \
16369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16370 maintainer-clean) \
16371 || exit 1
16372
16373
16374.PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16375maybe-maintainer-clean-perl:
16376
16377maintainer-clean-perl:
16378 @[ -f ./perl/Makefile ] || exit 0; \
8c90b13a
L
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16381 $(SET_LIB_PATH) \
16382 for flag in $(EXTRA_HOST_FLAGS); do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing maintainer-clean in perl" ; \
16386 (cd perl && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16391 maintainer-clean) \
16392 || exit 1
16393
16394
16395.PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16396maybe-maintainer-clean-prms:
16397
16398maintainer-clean-prms:
16399 @[ -f ./prms/Makefile ] || exit 0; \
8c90b13a
L
16400 r=`${PWD_COMMAND}`; export r; \
16401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16402 $(SET_LIB_PATH) \
16403 for flag in $(EXTRA_HOST_FLAGS); do \
16404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16405 done; \
16406 echo "Doing maintainer-clean in prms" ; \
16407 (cd prms && \
16408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16410 "RANLIB=$${RANLIB}" \
16411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16412 maintainer-clean) \
16413 || exit 1
16414
16415
16416.PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16417maybe-maintainer-clean-rcs:
16418
16419maintainer-clean-rcs:
16420 @[ -f ./rcs/Makefile ] || exit 0; \
8c90b13a
L
16421 r=`${PWD_COMMAND}`; export r; \
16422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16423 $(SET_LIB_PATH) \
16424 for flag in $(EXTRA_HOST_FLAGS); do \
16425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16426 done; \
16427 echo "Doing maintainer-clean in rcs" ; \
16428 (cd rcs && \
16429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16431 "RANLIB=$${RANLIB}" \
16432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16433 maintainer-clean) \
16434 || exit 1
16435
16436
16437.PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16438maybe-maintainer-clean-readline:
16439
16440maintainer-clean-readline:
16441 @[ -f ./readline/Makefile ] || exit 0; \
8c90b13a
L
16442 r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16444 $(SET_LIB_PATH) \
16445 for flag in $(EXTRA_HOST_FLAGS); do \
16446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16447 done; \
16448 echo "Doing maintainer-clean in readline" ; \
16449 (cd readline && \
16450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16452 "RANLIB=$${RANLIB}" \
16453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16454 maintainer-clean) \
16455 || exit 1
16456
16457
16458.PHONY: maybe-maintainer-clean-release maintainer-clean-release
16459maybe-maintainer-clean-release:
16460
16461maintainer-clean-release:
16462 @[ -f ./release/Makefile ] || exit 0; \
8c90b13a
L
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16465 $(SET_LIB_PATH) \
16466 for flag in $(EXTRA_HOST_FLAGS); do \
16467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16468 done; \
16469 echo "Doing maintainer-clean in release" ; \
16470 (cd release && \
16471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16473 "RANLIB=$${RANLIB}" \
16474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16475 maintainer-clean) \
16476 || exit 1
16477
16478
16479.PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16480maybe-maintainer-clean-recode:
16481
16482maintainer-clean-recode:
16483 @[ -f ./recode/Makefile ] || exit 0; \
8c90b13a
L
16484 r=`${PWD_COMMAND}`; export r; \
16485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16486 $(SET_LIB_PATH) \
16487 for flag in $(EXTRA_HOST_FLAGS); do \
16488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16489 done; \
16490 echo "Doing maintainer-clean in recode" ; \
16491 (cd recode && \
16492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16494 "RANLIB=$${RANLIB}" \
16495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16496 maintainer-clean) \
16497 || exit 1
16498
16499
16500.PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16501maybe-maintainer-clean-sed:
16502
16503maintainer-clean-sed:
16504 @[ -f ./sed/Makefile ] || exit 0; \
8c90b13a
L
16505 r=`${PWD_COMMAND}`; export r; \
16506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16507 $(SET_LIB_PATH) \
16508 for flag in $(EXTRA_HOST_FLAGS); do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing maintainer-clean in sed" ; \
16512 (cd sed && \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16517 maintainer-clean) \
16518 || exit 1
16519
16520
16521.PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16522maybe-maintainer-clean-send-pr:
16523
16524maintainer-clean-send-pr:
16525 @[ -f ./send-pr/Makefile ] || exit 0; \
8c90b13a
L
16526 r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16528 $(SET_LIB_PATH) \
16529 for flag in $(EXTRA_HOST_FLAGS); do \
16530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16531 done; \
16532 echo "Doing maintainer-clean in send-pr" ; \
16533 (cd send-pr && \
16534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16536 "RANLIB=$${RANLIB}" \
16537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16538 maintainer-clean) \
16539 || exit 1
16540
16541
16542.PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16543maybe-maintainer-clean-shellutils:
16544
16545maintainer-clean-shellutils:
16546 @[ -f ./shellutils/Makefile ] || exit 0; \
8c90b13a
L
16547 r=`${PWD_COMMAND}`; export r; \
16548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16549 $(SET_LIB_PATH) \
16550 for flag in $(EXTRA_HOST_FLAGS); do \
16551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16552 done; \
16553 echo "Doing maintainer-clean in shellutils" ; \
16554 (cd shellutils && \
16555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16557 "RANLIB=$${RANLIB}" \
16558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16559 maintainer-clean) \
16560 || exit 1
16561
16562
16563.PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16564maybe-maintainer-clean-sid:
16565
16566maintainer-clean-sid:
16567 @[ -f ./sid/Makefile ] || exit 0; \
8c90b13a
L
16568 r=`${PWD_COMMAND}`; export r; \
16569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16570 $(SET_LIB_PATH) \
16571 for flag in $(EXTRA_HOST_FLAGS); do \
16572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 done; \
16574 echo "Doing maintainer-clean in sid" ; \
16575 (cd sid && \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16578 "RANLIB=$${RANLIB}" \
16579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16580 maintainer-clean) \
16581 || exit 1
16582
16583
16584.PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
16585maybe-maintainer-clean-sim:
16586
16587maintainer-clean-sim:
16588 @[ -f ./sim/Makefile ] || exit 0; \
8c90b13a
L
16589 r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16591 $(SET_LIB_PATH) \
16592 for flag in $(EXTRA_HOST_FLAGS); do \
16593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16594 done; \
16595 echo "Doing maintainer-clean in sim" ; \
16596 (cd sim && \
16597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16599 "RANLIB=$${RANLIB}" \
16600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16601 maintainer-clean) \
16602 || exit 1
16603
16604
16605.PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
16606maybe-maintainer-clean-tar:
16607
16608maintainer-clean-tar:
16609 @[ -f ./tar/Makefile ] || exit 0; \
8c90b13a
L
16610 r=`${PWD_COMMAND}`; export r; \
16611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16612 $(SET_LIB_PATH) \
16613 for flag in $(EXTRA_HOST_FLAGS); do \
16614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16615 done; \
16616 echo "Doing maintainer-clean in tar" ; \
16617 (cd tar && \
16618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16620 "RANLIB=$${RANLIB}" \
16621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16622 maintainer-clean) \
16623 || exit 1
16624
16625
16626.PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
16627maybe-maintainer-clean-texinfo:
16628
16629maintainer-clean-texinfo:
16630 @[ -f ./texinfo/Makefile ] || exit 0; \
8c90b13a
L
16631 r=`${PWD_COMMAND}`; export r; \
16632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16633 $(SET_LIB_PATH) \
16634 for flag in $(EXTRA_HOST_FLAGS); do \
16635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16636 done; \
16637 echo "Doing maintainer-clean in texinfo" ; \
16638 (cd texinfo && \
16639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16641 "RANLIB=$${RANLIB}" \
16642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16643 maintainer-clean) \
16644 || exit 1
16645
16646
16647.PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16648maybe-maintainer-clean-textutils:
16649
16650maintainer-clean-textutils:
16651 @[ -f ./textutils/Makefile ] || exit 0; \
8c90b13a
L
16652 r=`${PWD_COMMAND}`; export r; \
16653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16654 $(SET_LIB_PATH) \
16655 for flag in $(EXTRA_HOST_FLAGS); do \
16656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16657 done; \
16658 echo "Doing maintainer-clean in textutils" ; \
16659 (cd textutils && \
16660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16662 "RANLIB=$${RANLIB}" \
16663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16664 maintainer-clean) \
16665 || exit 1
16666
16667
16668.PHONY: maybe-maintainer-clean-time maintainer-clean-time
16669maybe-maintainer-clean-time:
16670
16671maintainer-clean-time:
16672 @[ -f ./time/Makefile ] || exit 0; \
8c90b13a
L
16673 r=`${PWD_COMMAND}`; export r; \
16674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16675 $(SET_LIB_PATH) \
16676 for flag in $(EXTRA_HOST_FLAGS); do \
16677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 done; \
16679 echo "Doing maintainer-clean in time" ; \
16680 (cd time && \
16681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16683 "RANLIB=$${RANLIB}" \
16684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16685 maintainer-clean) \
16686 || exit 1
16687
16688
16689.PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16690maybe-maintainer-clean-uudecode:
16691
16692maintainer-clean-uudecode:
16693 @[ -f ./uudecode/Makefile ] || exit 0; \
8c90b13a
L
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16696 $(SET_LIB_PATH) \
16697 for flag in $(EXTRA_HOST_FLAGS); do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16699 done; \
16700 echo "Doing maintainer-clean in uudecode" ; \
16701 (cd uudecode && \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16706 maintainer-clean) \
16707 || exit 1
16708
16709
16710.PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16711maybe-maintainer-clean-wdiff:
16712
16713maintainer-clean-wdiff:
16714 @[ -f ./wdiff/Makefile ] || exit 0; \
8c90b13a
L
16715 r=`${PWD_COMMAND}`; export r; \
16716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16717 $(SET_LIB_PATH) \
16718 for flag in $(EXTRA_HOST_FLAGS); do \
16719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16720 done; \
16721 echo "Doing maintainer-clean in wdiff" ; \
16722 (cd wdiff && \
16723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16725 "RANLIB=$${RANLIB}" \
16726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16727 maintainer-clean) \
16728 || exit 1
16729
16730
16731.PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16732maybe-maintainer-clean-zip:
16733
16734maintainer-clean-zip:
16735 @[ -f ./zip/Makefile ] || exit 0; \
8c90b13a
L
16736 r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16738 $(SET_LIB_PATH) \
16739 for flag in $(EXTRA_HOST_FLAGS); do \
16740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16741 done; \
16742 echo "Doing maintainer-clean in zip" ; \
16743 (cd zip && \
16744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16746 "RANLIB=$${RANLIB}" \
16747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16748 maintainer-clean) \
16749 || exit 1
16750
16751
16752.PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
16753maybe-maintainer-clean-zlib:
16754
16755maintainer-clean-zlib:
16756 @[ -f ./zlib/Makefile ] || exit 0; \
8c90b13a
L
16757 r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16759 $(SET_LIB_PATH) \
16760 for flag in $(EXTRA_HOST_FLAGS); do \
16761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16762 done; \
16763 echo "Doing maintainer-clean in zlib" ; \
16764 (cd zlib && \
16765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16767 "RANLIB=$${RANLIB}" \
16768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16769 maintainer-clean) \
16770 || exit 1
16771
16772
16773.PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
16774maybe-maintainer-clean-gdb:
16775
16776maintainer-clean-gdb:
16777 @[ -f ./gdb/Makefile ] || exit 0; \
8c90b13a
L
16778 r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16780 $(SET_LIB_PATH) \
16781 for flag in $(EXTRA_HOST_FLAGS); do \
16782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 done; \
16784 echo "Doing maintainer-clean in gdb" ; \
16785 (cd gdb && \
16786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16788 "RANLIB=$${RANLIB}" \
16789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16790 maintainer-clean) \
16791 || exit 1
16792
16793
16794.PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
16795maybe-maintainer-clean-expect:
16796
16797maintainer-clean-expect:
16798 @[ -f ./expect/Makefile ] || exit 0; \
8c90b13a
L
16799 r=`${PWD_COMMAND}`; export r; \
16800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16801 $(SET_LIB_PATH) \
16802 for flag in $(EXTRA_HOST_FLAGS); do \
16803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16804 done; \
16805 echo "Doing maintainer-clean in expect" ; \
16806 (cd expect && \
16807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16809 "RANLIB=$${RANLIB}" \
16810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16811 maintainer-clean) \
16812 || exit 1
16813
16814
16815.PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
16816maybe-maintainer-clean-guile:
16817
16818maintainer-clean-guile:
16819 @[ -f ./guile/Makefile ] || exit 0; \
8c90b13a
L
16820 r=`${PWD_COMMAND}`; export r; \
16821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16822 $(SET_LIB_PATH) \
16823 for flag in $(EXTRA_HOST_FLAGS); do \
16824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16825 done; \
16826 echo "Doing maintainer-clean in guile" ; \
16827 (cd guile && \
16828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16830 "RANLIB=$${RANLIB}" \
16831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16832 maintainer-clean) \
16833 || exit 1
16834
16835
16836.PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
16837maybe-maintainer-clean-tk:
16838
16839maintainer-clean-tk:
16840 @[ -f ./tk/Makefile ] || exit 0; \
8c90b13a
L
16841 r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16843 $(SET_LIB_PATH) \
16844 for flag in $(EXTRA_HOST_FLAGS); do \
16845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16846 done; \
16847 echo "Doing maintainer-clean in tk" ; \
16848 (cd tk && \
16849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16851 "RANLIB=$${RANLIB}" \
16852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16853 maintainer-clean) \
16854 || exit 1
16855
16856
16857.PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
16858maybe-maintainer-clean-tix:
16859
16860maintainer-clean-tix:
16861 @[ -f ./tix/Makefile ] || exit 0; \
8c90b13a
L
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16864 $(SET_LIB_PATH) \
16865 for flag in $(EXTRA_HOST_FLAGS); do \
16866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16867 done; \
16868 echo "Doing maintainer-clean in tix" ; \
16869 (cd tix && \
16870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16872 "RANLIB=$${RANLIB}" \
16873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16874 maintainer-clean) \
16875 || exit 1
16876
16877
16878.PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
16879maybe-maintainer-clean-libtermcap:
16880
16881# libtermcap doesn't support maintainer-clean.
16882maintainer-clean-libtermcap:
16883
16884
16885.PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
16886maybe-maintainer-clean-utils:
16887
16888maintainer-clean-utils:
16889 @[ -f ./utils/Makefile ] || exit 0; \
8c90b13a
L
16890 r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16892 $(SET_LIB_PATH) \
16893 for flag in $(EXTRA_HOST_FLAGS); do \
16894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16895 done; \
16896 echo "Doing maintainer-clean in utils" ; \
16897 (cd utils && \
16898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16900 "RANLIB=$${RANLIB}" \
16901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16902 maintainer-clean) \
16903 || exit 1
16904
16905
16906
16907# Target modules.
16908
16909.PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
16910maybe-maintainer-clean-target-libstdc++-v3:
16911
16912maintainer-clean-target-libstdc++-v3:
16913 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
8c90b13a
L
16914 r=`${PWD_COMMAND}`; export r; \
16915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16916 $(SET_LIB_PATH) \
16917 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
16918 for flag in $(EXTRA_TARGET_FLAGS); do \
16919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16920 done; \
16921 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
16922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16924 "RANLIB=$${RANLIB}" \
16925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16926 maintainer-clean) \
16927 || exit 1
16928
16929
16930.PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
16931maybe-maintainer-clean-target-newlib:
16932
16933maintainer-clean-target-newlib:
16934 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
8c90b13a
L
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16937 $(SET_LIB_PATH) \
16938 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
16939 for flag in $(EXTRA_TARGET_FLAGS); do \
16940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16941 done; \
16942 (cd $(TARGET_SUBDIR)/newlib && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16947 maintainer-clean) \
16948 || exit 1
16949
16950
16951.PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
16952maybe-maintainer-clean-target-libf2c:
16953
16954maintainer-clean-target-libf2c:
16955 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
8c90b13a
L
16956 r=`${PWD_COMMAND}`; export r; \
16957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16958 $(SET_LIB_PATH) \
16959 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
16960 for flag in $(EXTRA_TARGET_FLAGS); do \
16961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16962 done; \
16963 (cd $(TARGET_SUBDIR)/libf2c && \
16964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16966 "RANLIB=$${RANLIB}" \
16967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16968 maintainer-clean) \
16969 || exit 1
16970
16971
16972.PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
16973maybe-maintainer-clean-target-libobjc:
16974
16975maintainer-clean-target-libobjc:
16976 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
8c90b13a
L
16977 r=`${PWD_COMMAND}`; export r; \
16978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
16979 $(SET_LIB_PATH) \
16980 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
16981 for flag in $(EXTRA_TARGET_FLAGS); do \
16982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16983 done; \
16984 (cd $(TARGET_SUBDIR)/libobjc && \
16985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16987 "RANLIB=$${RANLIB}" \
16988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16989 maintainer-clean) \
16990 || exit 1
16991
16992
16993.PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
16994maybe-maintainer-clean-target-libtermcap:
16995
16996# libtermcap doesn't support maintainer-clean.
01b759aa 16997maintainer-clean-target-libtermcap:
1358ccea
NN
16998
16999
17000.PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
17001maybe-maintainer-clean-target-winsup:
17002
17003maintainer-clean-target-winsup:
17004 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
8c90b13a
L
17005 r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17007 $(SET_LIB_PATH) \
17008 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
17009 for flag in $(EXTRA_TARGET_FLAGS); do \
17010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17011 done; \
17012 (cd $(TARGET_SUBDIR)/winsup && \
17013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17015 "RANLIB=$${RANLIB}" \
17016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17017 maintainer-clean) \
17018 || exit 1
17019
17020
17021.PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
17022maybe-maintainer-clean-target-libgloss:
17023
17024maintainer-clean-target-libgloss:
17025 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
8c90b13a
L
17026 r=`${PWD_COMMAND}`; export r; \
17027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17028 $(SET_LIB_PATH) \
17029 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
17030 for flag in $(EXTRA_TARGET_FLAGS); do \
17031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17032 done; \
17033 (cd $(TARGET_SUBDIR)/libgloss && \
17034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17036 "RANLIB=$${RANLIB}" \
17037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17038 maintainer-clean) \
17039 || exit 1
17040
17041
17042.PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
17043maybe-maintainer-clean-target-libiberty:
17044
17045maintainer-clean-target-libiberty:
17046 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
8c90b13a
L
17047 r=`${PWD_COMMAND}`; export r; \
17048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17049 $(SET_LIB_PATH) \
17050 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
17051 for flag in $(EXTRA_TARGET_FLAGS); do \
17052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17053 done; \
17054 (cd $(TARGET_SUBDIR)/libiberty && \
17055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17057 "RANLIB=$${RANLIB}" \
17058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17059 maintainer-clean) \
17060 || exit 1
17061
17062
17063.PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17064maybe-maintainer-clean-target-gperf:
17065
17066maintainer-clean-target-gperf:
17067 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
8c90b13a
L
17068 r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17070 $(SET_LIB_PATH) \
17071 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
17072 for flag in $(EXTRA_TARGET_FLAGS); do \
17073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17074 done; \
17075 (cd $(TARGET_SUBDIR)/gperf && \
17076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17078 "RANLIB=$${RANLIB}" \
17079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17080 maintainer-clean) \
17081 || exit 1
17082
17083
17084.PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
17085maybe-maintainer-clean-target-examples:
17086
17087maintainer-clean-target-examples:
17088 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
8c90b13a
L
17089 r=`${PWD_COMMAND}`; export r; \
17090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17091 $(SET_LIB_PATH) \
17092 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
17093 for flag in $(EXTRA_TARGET_FLAGS); do \
17094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17095 done; \
17096 (cd $(TARGET_SUBDIR)/examples && \
17097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17099 "RANLIB=$${RANLIB}" \
17100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17101 maintainer-clean) \
17102 || exit 1
17103
17104
17105.PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
17106maybe-maintainer-clean-target-libffi:
17107
17108maintainer-clean-target-libffi:
17109 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
8c90b13a
L
17110 r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17112 $(SET_LIB_PATH) \
17113 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
17114 for flag in $(EXTRA_TARGET_FLAGS); do \
17115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17116 done; \
17117 (cd $(TARGET_SUBDIR)/libffi && \
17118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17120 "RANLIB=$${RANLIB}" \
17121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17122 maintainer-clean) \
17123 || exit 1
17124
17125
17126.PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
17127maybe-maintainer-clean-target-libjava:
17128
17129maintainer-clean-target-libjava:
17130 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
8c90b13a
L
17131 r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17133 $(SET_LIB_PATH) \
17134 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
17135 for flag in $(EXTRA_TARGET_FLAGS); do \
17136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17137 done; \
17138 (cd $(TARGET_SUBDIR)/libjava && \
17139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17141 "RANLIB=$${RANLIB}" \
17142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17143 maintainer-clean) \
17144 || exit 1
17145
17146
17147.PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
17148maybe-maintainer-clean-target-zlib:
17149
17150maintainer-clean-target-zlib:
17151 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
8c90b13a
L
17152 r=`${PWD_COMMAND}`; export r; \
17153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17154 $(SET_LIB_PATH) \
17155 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
17156 for flag in $(EXTRA_TARGET_FLAGS); do \
17157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17158 done; \
17159 (cd $(TARGET_SUBDIR)/zlib && \
17160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17162 "RANLIB=$${RANLIB}" \
17163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17164 maintainer-clean) \
17165 || exit 1
17166
17167
17168.PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
17169maybe-maintainer-clean-target-boehm-gc:
17170
17171maintainer-clean-target-boehm-gc:
17172 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
8c90b13a
L
17173 r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17175 $(SET_LIB_PATH) \
17176 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
17177 for flag in $(EXTRA_TARGET_FLAGS); do \
17178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17179 done; \
17180 (cd $(TARGET_SUBDIR)/boehm-gc && \
17181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17183 "RANLIB=$${RANLIB}" \
17184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17185 maintainer-clean) \
17186 || exit 1
17187
17188
17189.PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
17190maybe-maintainer-clean-target-qthreads:
17191
17192maintainer-clean-target-qthreads:
17193 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
8c90b13a
L
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17196 $(SET_LIB_PATH) \
17197 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
17198 for flag in $(EXTRA_TARGET_FLAGS); do \
17199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17200 done; \
17201 (cd $(TARGET_SUBDIR)/qthreads && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17204 "RANLIB=$${RANLIB}" \
17205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17206 maintainer-clean) \
17207 || exit 1
17208
17209
17210.PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
17211maybe-maintainer-clean-target-rda:
17212
17213maintainer-clean-target-rda:
17214 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
8c90b13a
L
17215 r=`${PWD_COMMAND}`; export r; \
17216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17217 $(SET_LIB_PATH) \
17218 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
17219 for flag in $(EXTRA_TARGET_FLAGS); do \
17220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17221 done; \
17222 (cd $(TARGET_SUBDIR)/rda && \
17223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17225 "RANLIB=$${RANLIB}" \
17226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17227 maintainer-clean) \
17228 || exit 1
17229
17230
17231
17232
17233# Here are the targets which correspond to the do-X targets.
17234
17235.PHONY: info installcheck dvi install-info
17236.PHONY: clean distclean mostlyclean maintainer-clean realclean
17237.PHONY: local-clean local-distclean local-maintainer-clean
17238info: do-info
17239installcheck: do-installcheck
17240dvi: do-dvi
17241
17242# Make sure makeinfo is built before we do a `make info', if we're
17243# in fact building texinfo.
17244do-info: maybe-all-texinfo
17245
17246install-info: do-install-info dir.info
8c90b13a 17247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358ccea
NN
17248 if [ -f dir.info ] ; then \
17249 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
17250 else true ; fi
17251
17252local-clean:
17253 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
17254
17255local-distclean:
17256 -rm -f Makefile config.status config.cache mh-frag mt-frag
17257 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
17258 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
17259 rm -rf $(TARGET_SUBDIR); \
17260 else true; fi
17261 -rm -rf $(BUILD_SUBDIR)
17262 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
17263 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
17264 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
17265 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
17266 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
17267
17268local-maintainer-clean:
17269 @echo "This command is intended for maintainers to use;"
17270 @echo "it deletes files that may require special tools to rebuild."
17271
17272clean: do-clean local-clean
17273mostlyclean: do-mostlyclean local-clean
17274distclean: do-distclean local-clean local-distclean
17275maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
17276maintainer-clean: local-distclean
17277realclean: maintainer-clean
6599da04 17278
1358ccea
NN
17279# Extra dependency for clean-target, owing to the mixed nature of gcc
17280clean-target: clean-target-libgcc
1670d1ea
AO
17281clean-target-libgcc:
17282 test ! -d gcc/libgcc || \
17283 (cd gcc/libgcc && find . -type d -print) | \
17284 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
17285 -rm -rf gcc/libgcc
6599da04
JM
17286
17287# Check target.
17288
c2273204
RH
17289.PHONY: check do-check
17290check:
bf1d3e81 17291 $(MAKE) do-check
c2273204 17292
4977bab6 17293# Only include modules actually being configured and built.
7e2dbcef
NN
17294do-check: maybe-check-gcc \
17295 maybe-check-ash \
17296 maybe-check-autoconf \
17297 maybe-check-automake \
17298 maybe-check-bash \
17299 maybe-check-bfd \
17300 maybe-check-opcodes \
17301 maybe-check-binutils \
17302 maybe-check-bison \
17303 maybe-check-byacc \
17304 maybe-check-bzip2 \
17305 maybe-check-dejagnu \
17306 maybe-check-diff \
17307 maybe-check-dosutils \
17308 maybe-check-etc \
17309 maybe-check-fastjar \
17310 maybe-check-fileutils \
17311 maybe-check-findutils \
17312 maybe-check-find \
17313 maybe-check-flex \
17314 maybe-check-gas \
17315 maybe-check-gawk \
17316 maybe-check-gettext \
17317 maybe-check-gnuserv \
17318 maybe-check-gprof \
17319 maybe-check-gzip \
17320 maybe-check-hello \
17321 maybe-check-indent \
17322 maybe-check-intl \
17323 maybe-check-tcl \
17324 maybe-check-itcl \
17325 maybe-check-ld \
17326 maybe-check-libgui \
17327 maybe-check-libiberty \
17328 maybe-check-libtool \
17329 maybe-check-m4 \
17330 maybe-check-make \
17331 maybe-check-mmalloc \
17332 maybe-check-patch \
17333 maybe-check-perl \
17334 maybe-check-prms \
17335 maybe-check-rcs \
17336 maybe-check-readline \
17337 maybe-check-release \
17338 maybe-check-recode \
17339 maybe-check-sed \
17340 maybe-check-send-pr \
17341 maybe-check-shellutils \
17342 maybe-check-sid \
17343 maybe-check-sim \
17344 maybe-check-tar \
17345 maybe-check-texinfo \
17346 maybe-check-textutils \
17347 maybe-check-time \
17348 maybe-check-uudecode \
17349 maybe-check-wdiff \
17350 maybe-check-zip \
17351 maybe-check-zlib \
17352 maybe-check-gdb \
17353 maybe-check-expect \
17354 maybe-check-guile \
17355 maybe-check-tk \
17356 maybe-check-tix \
17357 maybe-check-libtermcap \
17358 maybe-check-utils \
17359 maybe-check-target-libstdc++-v3 \
17360 maybe-check-target-newlib \
17361 maybe-check-target-libf2c \
17362 maybe-check-target-libobjc \
17363 maybe-check-target-libtermcap \
17364 maybe-check-target-winsup \
17365 maybe-check-target-libgloss \
17366 maybe-check-target-libiberty \
17367 maybe-check-target-gperf \
17368 maybe-check-target-examples \
17369 maybe-check-target-libffi \
17370 maybe-check-target-libjava \
17371 maybe-check-target-zlib \
17372 maybe-check-target-boehm-gc \
17373 maybe-check-target-qthreads \
17374 maybe-check-target-rda
6599da04 17375
c4137c50
AO
17376# Automated reporting of test results.
17377
17378warning.log: build.log
17379 $(srcdir)/contrib/warn_summary build.log > $@
17380
17381mail-report.log:
17382 if test x'$(BOOT_CFLAGS)' != x''; then \
17383 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17384 fi; \
17385 $(srcdir)/contrib/test_summary -t >$@
17386 chmod +x $@
17387 echo If you really want to send e-mail, run ./$@ now
17388
17389mail-report-with-warnings.log: warning.log
17390 if test x'$(BOOT_CFLAGS)' != x''; then \
17391 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
17392 fi; \
17393 $(srcdir)/contrib/test_summary -t -i warning.log >$@
17394 chmod +x $@
17395 echo If you really want to send e-mail, run ./$@ now
17396
6599da04
JM
17397# Installation targets.
17398
4977bab6 17399.PHONY: install uninstall
8b87bb96
NN
17400install: installdirs install-host install-target
17401
7e2dbcef
NN
17402.PHONY: install-host-nogcc
17403install-host-nogcc: \
17404 maybe-install-ash \
17405 maybe-install-autoconf \
17406 maybe-install-automake \
17407 maybe-install-bash \
17408 maybe-install-bfd \
17409 maybe-install-opcodes \
17410 maybe-install-binutils \
17411 maybe-install-bison \
17412 maybe-install-byacc \
17413 maybe-install-bzip2 \
17414 maybe-install-dejagnu \
17415 maybe-install-diff \
17416 maybe-install-dosutils \
17417 maybe-install-etc \
17418 maybe-install-fastjar \
17419 maybe-install-fileutils \
17420 maybe-install-findutils \
17421 maybe-install-find \
17422 maybe-install-flex \
17423 maybe-install-gas \
17424 maybe-install-gawk \
17425 maybe-install-gettext \
17426 maybe-install-gnuserv \
17427 maybe-install-gprof \
17428 maybe-install-gzip \
17429 maybe-install-hello \
17430 maybe-install-indent \
17431 maybe-install-intl \
17432 maybe-install-tcl \
17433 maybe-install-itcl \
17434 maybe-install-ld \
17435 maybe-install-libgui \
17436 maybe-install-libiberty \
17437 maybe-install-libtool \
17438 maybe-install-m4 \
17439 maybe-install-make \
17440 maybe-install-mmalloc \
17441 maybe-install-patch \
17442 maybe-install-perl \
17443 maybe-install-prms \
17444 maybe-install-rcs \
17445 maybe-install-readline \
17446 maybe-install-release \
17447 maybe-install-recode \
17448 maybe-install-sed \
17449 maybe-install-send-pr \
17450 maybe-install-shellutils \
17451 maybe-install-sid \
17452 maybe-install-sim \
17453 maybe-install-tar \
17454 maybe-install-texinfo \
17455 maybe-install-textutils \
17456 maybe-install-time \
17457 maybe-install-uudecode \
17458 maybe-install-wdiff \
17459 maybe-install-zip \
17460 maybe-install-zlib \
17461 maybe-install-gdb \
17462 maybe-install-expect \
17463 maybe-install-guile \
17464 maybe-install-tk \
17465 maybe-install-tix \
17466 maybe-install-libtermcap \
17467 maybe-install-utils
17468
8b87bb96
NN
17469.PHONY: install-host
17470install-host: maybe-install-gcc \
17471 maybe-install-ash \
17472 maybe-install-autoconf \
17473 maybe-install-automake \
17474 maybe-install-bash \
17475 maybe-install-bfd \
17476 maybe-install-opcodes \
17477 maybe-install-binutils \
17478 maybe-install-bison \
17479 maybe-install-byacc \
17480 maybe-install-bzip2 \
17481 maybe-install-dejagnu \
17482 maybe-install-diff \
17483 maybe-install-dosutils \
17484 maybe-install-etc \
17485 maybe-install-fastjar \
17486 maybe-install-fileutils \
17487 maybe-install-findutils \
17488 maybe-install-find \
17489 maybe-install-flex \
17490 maybe-install-gas \
17491 maybe-install-gawk \
17492 maybe-install-gettext \
17493 maybe-install-gnuserv \
17494 maybe-install-gprof \
17495 maybe-install-gzip \
17496 maybe-install-hello \
17497 maybe-install-indent \
17498 maybe-install-intl \
17499 maybe-install-tcl \
17500 maybe-install-itcl \
17501 maybe-install-ld \
17502 maybe-install-libgui \
17503 maybe-install-libiberty \
17504 maybe-install-libtool \
17505 maybe-install-m4 \
17506 maybe-install-make \
17507 maybe-install-mmalloc \
17508 maybe-install-patch \
17509 maybe-install-perl \
17510 maybe-install-prms \
17511 maybe-install-rcs \
17512 maybe-install-readline \
17513 maybe-install-release \
17514 maybe-install-recode \
17515 maybe-install-sed \
17516 maybe-install-send-pr \
17517 maybe-install-shellutils \
17518 maybe-install-sid \
17519 maybe-install-sim \
17520 maybe-install-tar \
17521 maybe-install-texinfo \
17522 maybe-install-textutils \
17523 maybe-install-time \
17524 maybe-install-uudecode \
17525 maybe-install-wdiff \
17526 maybe-install-zip \
17527 maybe-install-zlib \
17528 maybe-install-gdb \
17529 maybe-install-expect \
17530 maybe-install-guile \
17531 maybe-install-tk \
17532 maybe-install-tix \
17533 maybe-install-libtermcap \
17534 maybe-install-utils
7e2dbcef 17535
8b87bb96
NN
17536.PHONY: install-target
17537install-target: \
17538 maybe-install-target-libstdc++-v3 \
17539 maybe-install-target-newlib \
17540 maybe-install-target-libf2c \
17541 maybe-install-target-libobjc \
17542 maybe-install-target-libtermcap \
17543 maybe-install-target-winsup \
17544 maybe-install-target-libgloss \
17545 maybe-install-target-libiberty \
17546 maybe-install-target-gperf \
17547 maybe-install-target-examples \
17548 maybe-install-target-libffi \
17549 maybe-install-target-libjava \
17550 maybe-install-target-zlib \
17551 maybe-install-target-boehm-gc \
17552 maybe-install-target-qthreads \
17553 maybe-install-target-rda
6599da04
JM
17554
17555uninstall:
17556 @echo "the uninstall target is not supported in this tree"
17557
6599da04
JM
17558.PHONY: install.all
17559install.all: install-no-fixedincludes
17560 @if [ -f ./gcc/Makefile ] ; then \
8c90b13a 17561 r=`${PWD_COMMAND}` ; export r ; \
6599da04 17562 $(SET_LIB_PATH) \
88b5521b 17563 (cd ./gcc && \
6599da04
JM
17564 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
17565 else \
17566 true ; \
17567 fi
17568
6599da04
JM
17569# install-no-fixedincludes is used because Cygnus can not distribute
17570# the fixed header files.
17571.PHONY: install-no-fixedincludes
7e2dbcef 17572install-no-fixedincludes: installdirs install-host-nogcc \
8b87bb96 17573 install-target gcc-no-fixedincludes
6599da04 17574
4977bab6
ZW
17575### other supporting targets
17576
17577MAKEDIRS= \
17578 $(DESTDIR)$(prefix) \
17579 $(DESTDIR)$(exec_prefix)
17580.PHONY: installdirs
17581installdirs: mkinstalldirs
17582 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
17583
17584dir.info: do-install-info
17585 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
3fbe8e4a 17586 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
4977bab6
ZW
17587 mv -f dir.info.new dir.info ; \
17588 else true ; \
17589 fi
17590
17591dist:
17592 @echo "Building a full distribution of this tree isn't done"
17593 @echo "via 'make dist'. Check out the etc/ subdirectory"
17594
17595etags tags: TAGS
17596
17597# Right now this just builds TAGS in each subdirectory. emacs19 has the
17598# ability to use several tags files at once, so there is probably no need
17599# to combine them into one big TAGS file (like CVS 1.3 does). We could
17600# (if we felt like it) have this Makefile write a piece of elisp which
17601# the user could load to tell emacs19 where all the TAGS files we just
17602# built are.
17603TAGS: do-TAGS
17604
4977bab6
ZW
17605# --------------------------------------
17606# Modules which run on the build machine
17607# --------------------------------------
17608
775956d0
NN
17609.PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
17610maybe-configure-build-fixincludes:
17611configure-build-fixincludes:
17612 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
17613 [ -d $(BUILD_SUBDIR)/fixincludes ] || \
17614 mkdir $(BUILD_SUBDIR)/fixincludes;\
17615 r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 AR="$(AR_FOR_BUILD)"; export AR; \
17618 AS="$(AS_FOR_BUILD)"; export AS; \
17619 CC="$(CC_FOR_BUILD)"; export CC; \
17620 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17621 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17622 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17623 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17624 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17625 LD="$(LD_FOR_BUILD)"; export LD; \
17626 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17627 NM="$(NM_FOR_BUILD)"; export NM; \
17628 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17629 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17630 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
17631 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
17632 case $(srcdir) in \
17633 /* | [A-Za-z]:[\\/]*) \
17634 topdir=$(srcdir) ;; \
17635 *) \
17636 case "$(BUILD_SUBDIR)" in \
17637 .) topdir="../$(srcdir)" ;; \
17638 *) topdir="../../$(srcdir)" ;; \
17639 esac ;; \
17640 esac; \
17641 if [ "$(srcdir)" = "." ] ; then \
17642 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17643 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
17644 if [ -f Makefile ]; then \
17645 if $(MAKE) distclean; then \
17646 true; \
17647 else \
17648 exit 1; \
17649 fi; \
17650 else \
17651 true; \
17652 fi; \
17653 else \
17654 exit 1; \
17655 fi; \
17656 else \
17657 true; \
17658 fi; \
17659 srcdiroption="--srcdir=."; \
17660 libsrcdir="."; \
17661 else \
17662 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
17663 libsrcdir="$$s/fixincludes"; \
17664 fi; \
17665 rm -f no-such-file || : ; \
17666 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17667 $(BUILD_CONFIGARGS) $${srcdiroption} \
17668 --with-build-subdir="$(BUILD_SUBDIR)" \
17669 || exit 1
17670
17671.PHONY: all-build-fixincludes maybe-all-build-fixincludes
17672maybe-all-build-fixincludes:
17673all-build-fixincludes: configure-build-fixincludes
17674 @r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17676 (cd $(BUILD_SUBDIR)/fixincludes && $(MAKE) all)
17677
4977bab6
ZW
17678.PHONY: configure-build-libiberty maybe-configure-build-libiberty
17679maybe-configure-build-libiberty:
ade82b16
AO
17680configure-build-libiberty:
17681 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3aa83176
NN
17682 [ -d $(BUILD_SUBDIR)/libiberty ] || \
17683 mkdir $(BUILD_SUBDIR)/libiberty;\
8c90b13a
L
17684 r=`${PWD_COMMAND}`; export r; \
17685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17686 AR="$(AR_FOR_BUILD)"; export AR; \
17687 AS="$(AS_FOR_BUILD)"; export AS; \
17688 CC="$(CC_FOR_BUILD)"; export CC; \
17689 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
17690 CXX="$(CXX_FOR_BUILD)"; export CXX; \
17691 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
17692 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
17693 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
17694 LD="$(LD_FOR_BUILD)"; export LD; \
17695 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
17696 NM="$(NM_FOR_BUILD)"; export NM; \
17697 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
17698 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
17699 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
17700 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
17701 case $(srcdir) in \
17702 /* | [A-Za-z]:[\\/]*) \
17703 topdir=$(srcdir) ;; \
17704 *) \
17705 case "$(BUILD_SUBDIR)" in \
4977bab6
ZW
17706 .) topdir="../$(srcdir)" ;; \
17707 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
17708 esac ;; \
17709 esac; \
17710 if [ "$(srcdir)" = "." ] ; then \
17711 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
17712 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
17713 if [ -f Makefile ]; then \
17714 if $(MAKE) distclean; then \
17715 true; \
17716 else \
17717 exit 1; \
17718 fi; \
4977bab6 17719 else \
3aa83176 17720 true; \
4977bab6 17721 fi; \
4977bab6 17722 else \
3aa83176 17723 exit 1; \
4977bab6 17724 fi; \
3aa83176
NN
17725 else \
17726 true; \
17727 fi; \
17728 srcdiroption="--srcdir=."; \
17729 libsrcdir="."; \
17730 else \
17731 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17732 libsrcdir="$$s/libiberty"; \
17733 fi; \
17734 rm -f no-such-file || : ; \
17735 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
17736 $(BUILD_CONFIGARGS) $${srcdiroption} \
17737 --with-build-subdir="$(BUILD_SUBDIR)" \
17738 || exit 1
4977bab6
ZW
17739
17740.PHONY: all-build-libiberty maybe-all-build-libiberty
17741maybe-all-build-libiberty:
17742all-build-libiberty: configure-build-libiberty
8c90b13a
L
17743 @r=`${PWD_COMMAND}`; export r; \
17744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176 17745 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
4977bab6
ZW
17746
17747
17748# --------------------------------------
17749# Modules which run on the host machine
17750# --------------------------------------
17751
17752.PHONY: configure-ash maybe-configure-ash
17753maybe-configure-ash:
ade82b16
AO
17754configure-ash:
17755 @test ! -f ash/Makefile || exit 0; \
17756 [ -d ash ] || mkdir ash; \
8c90b13a
L
17757 r=`${PWD_COMMAND}`; export r; \
17758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
17759 CC="$(CC)"; export CC; \
17760 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17761 CXX="$(CXX)"; export CXX; \
17762 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
17763 AR="$(AR)"; export AR; \
17764 AS="$(AS)"; export AS; \
17765 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17766 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17767 LD="$(LD)"; export LD; \
17768 NM="$(NM)"; export NM; \
17769 RANLIB="$(RANLIB)"; export RANLIB; \
17770 WINDRES="$(WINDRES)"; export WINDRES; \
17771 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17772 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
17773 echo Configuring in ash; \
17774 cd ash || exit 1; \
17775 case $(srcdir) in \
17776 \.) \
17777 srcdiroption="--srcdir=."; \
17778 libsrcdir=".";; \
17779 /* | [A-Za-z]:[\\/]*) \
17780 srcdiroption="--srcdir=$(srcdir)/ash"; \
17781 libsrcdir="$$s/ash";; \
17782 *) \
17783 srcdiroption="--srcdir=../$(srcdir)/ash"; \
17784 libsrcdir="$$s/ash";; \
17785 esac; \
17786 $(SHELL) $${libsrcdir}/configure \
17787 $(HOST_CONFIGARGS) $${srcdiroption} \
17788 || exit 1
17789
17790.PHONY: all-ash maybe-all-ash
17791maybe-all-ash:
17792all-ash: configure-ash
8c90b13a
L
17793 @r=`${PWD_COMMAND}`; export r; \
17794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17795 $(SET_LIB_PATH) \
17796 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 17797
7e2dbcef
NN
17798.PHONY: check-ash maybe-check-ash
17799maybe-check-ash:
4977bab6 17800
4977bab6 17801check-ash:
8c90b13a
L
17802 @r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17804 $(SET_LIB_PATH) \
17805 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
17806
17807
4977bab6
ZW
17808.PHONY: install-ash maybe-install-ash
17809maybe-install-ash:
7e2dbcef 17810
4977bab6 17811install-ash: installdirs
8c90b13a
L
17812 @r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17814 $(SET_LIB_PATH) \
17815 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
17816
17817
17818.PHONY: configure-autoconf maybe-configure-autoconf
17819maybe-configure-autoconf:
ade82b16
AO
17820configure-autoconf:
17821 @test ! -f autoconf/Makefile || exit 0; \
17822 [ -d autoconf ] || mkdir autoconf; \
8c90b13a
L
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
17825 CC="$(CC)"; export CC; \
17826 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17827 CXX="$(CXX)"; export CXX; \
17828 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
17829 AR="$(AR)"; export AR; \
17830 AS="$(AS)"; export AS; \
17831 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17832 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17833 LD="$(LD)"; export LD; \
17834 NM="$(NM)"; export NM; \
17835 RANLIB="$(RANLIB)"; export RANLIB; \
17836 WINDRES="$(WINDRES)"; export WINDRES; \
17837 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17838 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
17839 echo Configuring in autoconf; \
17840 cd autoconf || exit 1; \
17841 case $(srcdir) in \
17842 \.) \
17843 srcdiroption="--srcdir=."; \
17844 libsrcdir=".";; \
17845 /* | [A-Za-z]:[\\/]*) \
17846 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
17847 libsrcdir="$$s/autoconf";; \
17848 *) \
17849 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
17850 libsrcdir="$$s/autoconf";; \
17851 esac; \
17852 $(SHELL) $${libsrcdir}/configure \
17853 $(HOST_CONFIGARGS) $${srcdiroption} \
17854 || exit 1
17855
17856.PHONY: all-autoconf maybe-all-autoconf
17857maybe-all-autoconf:
17858all-autoconf: configure-autoconf
8c90b13a
L
17859 @r=`${PWD_COMMAND}`; export r; \
17860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17861 $(SET_LIB_PATH) \
17862 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 17863
7e2dbcef
NN
17864.PHONY: check-autoconf maybe-check-autoconf
17865maybe-check-autoconf:
4977bab6 17866
4977bab6 17867check-autoconf:
8c90b13a
L
17868 @r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17870 $(SET_LIB_PATH) \
17871 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
17872
17873
4977bab6
ZW
17874.PHONY: install-autoconf maybe-install-autoconf
17875maybe-install-autoconf:
7e2dbcef 17876
4977bab6 17877install-autoconf: installdirs
8c90b13a
L
17878 @r=`${PWD_COMMAND}`; export r; \
17879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17880 $(SET_LIB_PATH) \
17881 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
17882
17883
17884.PHONY: configure-automake maybe-configure-automake
17885maybe-configure-automake:
ade82b16
AO
17886configure-automake:
17887 @test ! -f automake/Makefile || exit 0; \
17888 [ -d automake ] || mkdir automake; \
8c90b13a
L
17889 r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
17891 CC="$(CC)"; export CC; \
17892 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17893 CXX="$(CXX)"; export CXX; \
17894 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
17895 AR="$(AR)"; export AR; \
17896 AS="$(AS)"; export AS; \
17897 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17898 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17899 LD="$(LD)"; export LD; \
17900 NM="$(NM)"; export NM; \
17901 RANLIB="$(RANLIB)"; export RANLIB; \
17902 WINDRES="$(WINDRES)"; export WINDRES; \
17903 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17904 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
17905 echo Configuring in automake; \
17906 cd automake || exit 1; \
17907 case $(srcdir) in \
17908 \.) \
17909 srcdiroption="--srcdir=."; \
17910 libsrcdir=".";; \
17911 /* | [A-Za-z]:[\\/]*) \
17912 srcdiroption="--srcdir=$(srcdir)/automake"; \
17913 libsrcdir="$$s/automake";; \
17914 *) \
17915 srcdiroption="--srcdir=../$(srcdir)/automake"; \
17916 libsrcdir="$$s/automake";; \
17917 esac; \
17918 $(SHELL) $${libsrcdir}/configure \
17919 $(HOST_CONFIGARGS) $${srcdiroption} \
17920 || exit 1
17921
17922.PHONY: all-automake maybe-all-automake
17923maybe-all-automake:
17924all-automake: configure-automake
8c90b13a
L
17925 @r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17927 $(SET_LIB_PATH) \
17928 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 17929
7e2dbcef
NN
17930.PHONY: check-automake maybe-check-automake
17931maybe-check-automake:
4977bab6 17932
4977bab6 17933check-automake:
8c90b13a
L
17934 @r=`${PWD_COMMAND}`; export r; \
17935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17936 $(SET_LIB_PATH) \
17937 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
17938
17939
4977bab6
ZW
17940.PHONY: install-automake maybe-install-automake
17941maybe-install-automake:
7e2dbcef 17942
4977bab6 17943install-automake: installdirs
8c90b13a
L
17944 @r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17946 $(SET_LIB_PATH) \
17947 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
17948
17949
17950.PHONY: configure-bash maybe-configure-bash
17951maybe-configure-bash:
ade82b16
AO
17952configure-bash:
17953 @test ! -f bash/Makefile || exit 0; \
17954 [ -d bash ] || mkdir bash; \
8c90b13a
L
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
17957 CC="$(CC)"; export CC; \
17958 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17959 CXX="$(CXX)"; export CXX; \
17960 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
17961 AR="$(AR)"; export AR; \
17962 AS="$(AS)"; export AS; \
17963 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17964 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17965 LD="$(LD)"; export LD; \
17966 NM="$(NM)"; export NM; \
17967 RANLIB="$(RANLIB)"; export RANLIB; \
17968 WINDRES="$(WINDRES)"; export WINDRES; \
17969 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17970 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
17971 echo Configuring in bash; \
17972 cd bash || exit 1; \
17973 case $(srcdir) in \
17974 \.) \
17975 srcdiroption="--srcdir=."; \
17976 libsrcdir=".";; \
17977 /* | [A-Za-z]:[\\/]*) \
17978 srcdiroption="--srcdir=$(srcdir)/bash"; \
17979 libsrcdir="$$s/bash";; \
17980 *) \
17981 srcdiroption="--srcdir=../$(srcdir)/bash"; \
17982 libsrcdir="$$s/bash";; \
17983 esac; \
17984 $(SHELL) $${libsrcdir}/configure \
17985 $(HOST_CONFIGARGS) $${srcdiroption} \
17986 || exit 1
17987
17988.PHONY: all-bash maybe-all-bash
17989maybe-all-bash:
17990all-bash: configure-bash
8c90b13a
L
17991 @r=`${PWD_COMMAND}`; export r; \
17992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
17993 $(SET_LIB_PATH) \
17994 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 17995
7e2dbcef
NN
17996.PHONY: check-bash maybe-check-bash
17997maybe-check-bash:
4977bab6 17998
4977bab6 17999check-bash:
8c90b13a
L
18000 @r=`${PWD_COMMAND}`; export r; \
18001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18002 $(SET_LIB_PATH) \
18003 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18004
18005
4977bab6
ZW
18006.PHONY: install-bash maybe-install-bash
18007maybe-install-bash:
7e2dbcef 18008
4977bab6 18009install-bash: installdirs
8c90b13a
L
18010 @r=`${PWD_COMMAND}`; export r; \
18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18012 $(SET_LIB_PATH) \
18013 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18014
18015
18016.PHONY: configure-bfd maybe-configure-bfd
18017maybe-configure-bfd:
ade82b16
AO
18018configure-bfd:
18019 @test ! -f bfd/Makefile || exit 0; \
18020 [ -d bfd ] || mkdir bfd; \
8c90b13a
L
18021 r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18023 CC="$(CC)"; export CC; \
18024 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18025 CXX="$(CXX)"; export CXX; \
18026 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18027 AR="$(AR)"; export AR; \
18028 AS="$(AS)"; export AS; \
18029 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18030 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18031 LD="$(LD)"; export LD; \
18032 NM="$(NM)"; export NM; \
18033 RANLIB="$(RANLIB)"; export RANLIB; \
18034 WINDRES="$(WINDRES)"; export WINDRES; \
18035 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18036 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18037 echo Configuring in bfd; \
18038 cd bfd || exit 1; \
18039 case $(srcdir) in \
18040 \.) \
18041 srcdiroption="--srcdir=."; \
18042 libsrcdir=".";; \
18043 /* | [A-Za-z]:[\\/]*) \
18044 srcdiroption="--srcdir=$(srcdir)/bfd"; \
18045 libsrcdir="$$s/bfd";; \
18046 *) \
18047 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
18048 libsrcdir="$$s/bfd";; \
18049 esac; \
18050 $(SHELL) $${libsrcdir}/configure \
18051 $(HOST_CONFIGARGS) $${srcdiroption} \
18052 || exit 1
18053
18054.PHONY: all-bfd maybe-all-bfd
18055maybe-all-bfd:
18056all-bfd: configure-bfd
8c90b13a
L
18057 @r=`${PWD_COMMAND}`; export r; \
18058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18059 $(SET_LIB_PATH) \
18060 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18061
7e2dbcef
NN
18062.PHONY: check-bfd maybe-check-bfd
18063maybe-check-bfd:
4977bab6 18064
4977bab6 18065check-bfd:
8c90b13a
L
18066 @r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18068 $(SET_LIB_PATH) \
18069 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18070
18071
4977bab6
ZW
18072.PHONY: install-bfd maybe-install-bfd
18073maybe-install-bfd:
7e2dbcef 18074
4977bab6 18075install-bfd: installdirs
8c90b13a
L
18076 @r=`${PWD_COMMAND}`; export r; \
18077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18078 $(SET_LIB_PATH) \
18079 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18080
18081
18082.PHONY: configure-opcodes maybe-configure-opcodes
18083maybe-configure-opcodes:
ade82b16
AO
18084configure-opcodes:
18085 @test ! -f opcodes/Makefile || exit 0; \
18086 [ -d opcodes ] || mkdir opcodes; \
8c90b13a
L
18087 r=`${PWD_COMMAND}`; export r; \
18088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18089 CC="$(CC)"; export CC; \
18090 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18091 CXX="$(CXX)"; export CXX; \
18092 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18093 AR="$(AR)"; export AR; \
18094 AS="$(AS)"; export AS; \
18095 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18096 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18097 LD="$(LD)"; export LD; \
18098 NM="$(NM)"; export NM; \
18099 RANLIB="$(RANLIB)"; export RANLIB; \
18100 WINDRES="$(WINDRES)"; export WINDRES; \
18101 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18102 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18103 echo Configuring in opcodes; \
18104 cd opcodes || exit 1; \
18105 case $(srcdir) in \
18106 \.) \
18107 srcdiroption="--srcdir=."; \
18108 libsrcdir=".";; \
18109 /* | [A-Za-z]:[\\/]*) \
18110 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
18111 libsrcdir="$$s/opcodes";; \
18112 *) \
18113 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
18114 libsrcdir="$$s/opcodes";; \
18115 esac; \
18116 $(SHELL) $${libsrcdir}/configure \
18117 $(HOST_CONFIGARGS) $${srcdiroption} \
18118 || exit 1
18119
18120.PHONY: all-opcodes maybe-all-opcodes
18121maybe-all-opcodes:
18122all-opcodes: configure-opcodes
8c90b13a
L
18123 @r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18125 $(SET_LIB_PATH) \
18126 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18127
7e2dbcef
NN
18128.PHONY: check-opcodes maybe-check-opcodes
18129maybe-check-opcodes:
4977bab6 18130
4977bab6 18131check-opcodes:
8c90b13a
L
18132 @r=`${PWD_COMMAND}`; export r; \
18133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18134 $(SET_LIB_PATH) \
18135 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18136
18137
4977bab6
ZW
18138.PHONY: install-opcodes maybe-install-opcodes
18139maybe-install-opcodes:
7e2dbcef 18140
4977bab6 18141install-opcodes: installdirs
8c90b13a
L
18142 @r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18144 $(SET_LIB_PATH) \
18145 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18146
18147
18148.PHONY: configure-binutils maybe-configure-binutils
18149maybe-configure-binutils:
ade82b16
AO
18150configure-binutils:
18151 @test ! -f binutils/Makefile || exit 0; \
18152 [ -d binutils ] || mkdir binutils; \
8c90b13a
L
18153 r=`${PWD_COMMAND}`; export r; \
18154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18155 CC="$(CC)"; export CC; \
18156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18157 CXX="$(CXX)"; export CXX; \
18158 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18159 AR="$(AR)"; export AR; \
18160 AS="$(AS)"; export AS; \
18161 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18162 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18163 LD="$(LD)"; export LD; \
18164 NM="$(NM)"; export NM; \
18165 RANLIB="$(RANLIB)"; export RANLIB; \
18166 WINDRES="$(WINDRES)"; export WINDRES; \
18167 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18168 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18169 echo Configuring in binutils; \
18170 cd binutils || exit 1; \
18171 case $(srcdir) in \
18172 \.) \
18173 srcdiroption="--srcdir=."; \
18174 libsrcdir=".";; \
18175 /* | [A-Za-z]:[\\/]*) \
18176 srcdiroption="--srcdir=$(srcdir)/binutils"; \
18177 libsrcdir="$$s/binutils";; \
18178 *) \
18179 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
18180 libsrcdir="$$s/binutils";; \
18181 esac; \
18182 $(SHELL) $${libsrcdir}/configure \
18183 $(HOST_CONFIGARGS) $${srcdiroption} \
18184 || exit 1
18185
18186.PHONY: all-binutils maybe-all-binutils
18187maybe-all-binutils:
18188all-binutils: configure-binutils
8c90b13a
L
18189 @r=`${PWD_COMMAND}`; export r; \
18190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18191 $(SET_LIB_PATH) \
18192 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18193
7e2dbcef
NN
18194.PHONY: check-binutils maybe-check-binutils
18195maybe-check-binutils:
4977bab6 18196
4977bab6 18197check-binutils:
8c90b13a
L
18198 @r=`${PWD_COMMAND}`; export r; \
18199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18200 $(SET_LIB_PATH) \
18201 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18202
18203
4977bab6
ZW
18204.PHONY: install-binutils maybe-install-binutils
18205maybe-install-binutils:
7e2dbcef 18206
4977bab6 18207install-binutils: installdirs
8c90b13a
L
18208 @r=`${PWD_COMMAND}`; export r; \
18209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18210 $(SET_LIB_PATH) \
18211 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18212
18213
18214.PHONY: configure-bison maybe-configure-bison
18215maybe-configure-bison:
ade82b16
AO
18216configure-bison:
18217 @test ! -f bison/Makefile || exit 0; \
18218 [ -d bison ] || mkdir bison; \
8c90b13a
L
18219 r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18221 CC="$(CC)"; export CC; \
18222 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18223 CXX="$(CXX)"; export CXX; \
18224 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18225 AR="$(AR)"; export AR; \
18226 AS="$(AS)"; export AS; \
18227 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18228 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18229 LD="$(LD)"; export LD; \
18230 NM="$(NM)"; export NM; \
18231 RANLIB="$(RANLIB)"; export RANLIB; \
18232 WINDRES="$(WINDRES)"; export WINDRES; \
18233 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18234 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18235 echo Configuring in bison; \
18236 cd bison || exit 1; \
18237 case $(srcdir) in \
18238 \.) \
18239 srcdiroption="--srcdir=."; \
18240 libsrcdir=".";; \
18241 /* | [A-Za-z]:[\\/]*) \
18242 srcdiroption="--srcdir=$(srcdir)/bison"; \
18243 libsrcdir="$$s/bison";; \
18244 *) \
18245 srcdiroption="--srcdir=../$(srcdir)/bison"; \
18246 libsrcdir="$$s/bison";; \
18247 esac; \
18248 $(SHELL) $${libsrcdir}/configure \
18249 $(HOST_CONFIGARGS) $${srcdiroption} \
18250 || exit 1
18251
18252.PHONY: all-bison maybe-all-bison
18253maybe-all-bison:
18254all-bison: configure-bison
8c90b13a
L
18255 @r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18257 $(SET_LIB_PATH) \
18258 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18259
7e2dbcef
NN
18260.PHONY: check-bison maybe-check-bison
18261maybe-check-bison:
4977bab6 18262
4977bab6
ZW
18263# This module is only tested in a native toolchain.
18264check-bison:
e89fbdfe 18265 @if [ '$(host)' = '$(target)' ] ; then \
8c90b13a
L
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18268 $(SET_LIB_PATH) \
18269 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4977bab6
ZW
18270 fi
18271
18272
4977bab6
ZW
18273.PHONY: install-bison maybe-install-bison
18274maybe-install-bison:
7e2dbcef 18275
4977bab6 18276install-bison: installdirs
8c90b13a
L
18277 @r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18279 $(SET_LIB_PATH) \
18280 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18281
18282
18283.PHONY: configure-byacc maybe-configure-byacc
18284maybe-configure-byacc:
ade82b16
AO
18285configure-byacc:
18286 @test ! -f byacc/Makefile || exit 0; \
18287 [ -d byacc ] || mkdir byacc; \
8c90b13a
L
18288 r=`${PWD_COMMAND}`; export r; \
18289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18290 CC="$(CC)"; export CC; \
18291 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18292 CXX="$(CXX)"; export CXX; \
18293 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18294 AR="$(AR)"; export AR; \
18295 AS="$(AS)"; export AS; \
18296 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18297 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18298 LD="$(LD)"; export LD; \
18299 NM="$(NM)"; export NM; \
18300 RANLIB="$(RANLIB)"; export RANLIB; \
18301 WINDRES="$(WINDRES)"; export WINDRES; \
18302 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18303 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18304 echo Configuring in byacc; \
18305 cd byacc || exit 1; \
18306 case $(srcdir) in \
18307 \.) \
18308 srcdiroption="--srcdir=."; \
18309 libsrcdir=".";; \
18310 /* | [A-Za-z]:[\\/]*) \
18311 srcdiroption="--srcdir=$(srcdir)/byacc"; \
18312 libsrcdir="$$s/byacc";; \
18313 *) \
18314 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
18315 libsrcdir="$$s/byacc";; \
18316 esac; \
18317 $(SHELL) $${libsrcdir}/configure \
18318 $(HOST_CONFIGARGS) $${srcdiroption} \
18319 || exit 1
18320
18321.PHONY: all-byacc maybe-all-byacc
18322maybe-all-byacc:
18323all-byacc: configure-byacc
8c90b13a
L
18324 @r=`${PWD_COMMAND}`; export r; \
18325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18326 $(SET_LIB_PATH) \
18327 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18328
7e2dbcef
NN
18329.PHONY: check-byacc maybe-check-byacc
18330maybe-check-byacc:
4977bab6 18331
4977bab6
ZW
18332# This module is only tested in a native toolchain.
18333check-byacc:
e89fbdfe 18334 @if [ '$(host)' = '$(target)' ] ; then \
8c90b13a
L
18335 r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18337 $(SET_LIB_PATH) \
18338 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4977bab6
ZW
18339 fi
18340
18341
4977bab6
ZW
18342.PHONY: install-byacc maybe-install-byacc
18343maybe-install-byacc:
7e2dbcef 18344
4977bab6 18345install-byacc: installdirs
8c90b13a
L
18346 @r=`${PWD_COMMAND}`; export r; \
18347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18348 $(SET_LIB_PATH) \
18349 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18350
18351
18352.PHONY: configure-bzip2 maybe-configure-bzip2
18353maybe-configure-bzip2:
ade82b16
AO
18354configure-bzip2:
18355 @test ! -f bzip2/Makefile || exit 0; \
18356 [ -d bzip2 ] || mkdir bzip2; \
8c90b13a
L
18357 r=`${PWD_COMMAND}`; export r; \
18358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18359 CC="$(CC)"; export CC; \
18360 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18361 CXX="$(CXX)"; export CXX; \
18362 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18363 AR="$(AR)"; export AR; \
18364 AS="$(AS)"; export AS; \
18365 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18366 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18367 LD="$(LD)"; export LD; \
18368 NM="$(NM)"; export NM; \
18369 RANLIB="$(RANLIB)"; export RANLIB; \
18370 WINDRES="$(WINDRES)"; export WINDRES; \
18371 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18372 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18373 echo Configuring in bzip2; \
18374 cd bzip2 || exit 1; \
18375 case $(srcdir) in \
18376 \.) \
18377 srcdiroption="--srcdir=."; \
18378 libsrcdir=".";; \
18379 /* | [A-Za-z]:[\\/]*) \
18380 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
18381 libsrcdir="$$s/bzip2";; \
18382 *) \
18383 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
18384 libsrcdir="$$s/bzip2";; \
18385 esac; \
18386 $(SHELL) $${libsrcdir}/configure \
18387 $(HOST_CONFIGARGS) $${srcdiroption} \
18388 || exit 1
18389
18390.PHONY: all-bzip2 maybe-all-bzip2
18391maybe-all-bzip2:
18392all-bzip2: configure-bzip2
8c90b13a
L
18393 @r=`${PWD_COMMAND}`; export r; \
18394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18395 $(SET_LIB_PATH) \
18396 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18397
7e2dbcef
NN
18398.PHONY: check-bzip2 maybe-check-bzip2
18399maybe-check-bzip2:
4977bab6 18400
4977bab6 18401check-bzip2:
8c90b13a
L
18402 @r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18404 $(SET_LIB_PATH) \
18405 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18406
18407
4977bab6
ZW
18408.PHONY: install-bzip2 maybe-install-bzip2
18409maybe-install-bzip2:
7e2dbcef 18410
4977bab6 18411install-bzip2: installdirs
8c90b13a
L
18412 @r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18414 $(SET_LIB_PATH) \
18415 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18416
18417
4977bab6
ZW
18418.PHONY: configure-dejagnu maybe-configure-dejagnu
18419maybe-configure-dejagnu:
ade82b16
AO
18420configure-dejagnu:
18421 @test ! -f dejagnu/Makefile || exit 0; \
18422 [ -d dejagnu ] || mkdir dejagnu; \
8c90b13a
L
18423 r=`${PWD_COMMAND}`; export r; \
18424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18425 CC="$(CC)"; export CC; \
18426 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18427 CXX="$(CXX)"; export CXX; \
18428 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18429 AR="$(AR)"; export AR; \
18430 AS="$(AS)"; export AS; \
18431 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18432 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18433 LD="$(LD)"; export LD; \
18434 NM="$(NM)"; export NM; \
18435 RANLIB="$(RANLIB)"; export RANLIB; \
18436 WINDRES="$(WINDRES)"; export WINDRES; \
18437 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18438 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18439 echo Configuring in dejagnu; \
18440 cd dejagnu || exit 1; \
18441 case $(srcdir) in \
18442 \.) \
18443 srcdiroption="--srcdir=."; \
18444 libsrcdir=".";; \
18445 /* | [A-Za-z]:[\\/]*) \
18446 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
18447 libsrcdir="$$s/dejagnu";; \
18448 *) \
18449 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
18450 libsrcdir="$$s/dejagnu";; \
18451 esac; \
18452 $(SHELL) $${libsrcdir}/configure \
18453 $(HOST_CONFIGARGS) $${srcdiroption} \
18454 || exit 1
18455
18456.PHONY: all-dejagnu maybe-all-dejagnu
18457maybe-all-dejagnu:
18458all-dejagnu: configure-dejagnu
8c90b13a
L
18459 @r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18461 $(SET_LIB_PATH) \
18462 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18463
7e2dbcef
NN
18464.PHONY: check-dejagnu maybe-check-dejagnu
18465maybe-check-dejagnu:
4977bab6 18466
4977bab6 18467check-dejagnu:
8c90b13a
L
18468 @r=`${PWD_COMMAND}`; export r; \
18469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18470 $(SET_LIB_PATH) \
18471 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18472
18473
4977bab6
ZW
18474.PHONY: install-dejagnu maybe-install-dejagnu
18475maybe-install-dejagnu:
7e2dbcef 18476
4977bab6 18477install-dejagnu: installdirs
8c90b13a
L
18478 @r=`${PWD_COMMAND}`; export r; \
18479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18480 $(SET_LIB_PATH) \
18481 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18482
18483
18484.PHONY: configure-diff maybe-configure-diff
18485maybe-configure-diff:
ade82b16
AO
18486configure-diff:
18487 @test ! -f diff/Makefile || exit 0; \
18488 [ -d diff ] || mkdir diff; \
8c90b13a
L
18489 r=`${PWD_COMMAND}`; export r; \
18490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18491 CC="$(CC)"; export CC; \
18492 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18493 CXX="$(CXX)"; export CXX; \
18494 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18495 AR="$(AR)"; export AR; \
18496 AS="$(AS)"; export AS; \
18497 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18498 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18499 LD="$(LD)"; export LD; \
18500 NM="$(NM)"; export NM; \
18501 RANLIB="$(RANLIB)"; export RANLIB; \
18502 WINDRES="$(WINDRES)"; export WINDRES; \
18503 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18504 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18505 echo Configuring in diff; \
18506 cd diff || exit 1; \
18507 case $(srcdir) in \
18508 \.) \
18509 srcdiroption="--srcdir=."; \
18510 libsrcdir=".";; \
18511 /* | [A-Za-z]:[\\/]*) \
18512 srcdiroption="--srcdir=$(srcdir)/diff"; \
18513 libsrcdir="$$s/diff";; \
18514 *) \
18515 srcdiroption="--srcdir=../$(srcdir)/diff"; \
18516 libsrcdir="$$s/diff";; \
18517 esac; \
18518 $(SHELL) $${libsrcdir}/configure \
18519 $(HOST_CONFIGARGS) $${srcdiroption} \
18520 || exit 1
18521
18522.PHONY: all-diff maybe-all-diff
18523maybe-all-diff:
18524all-diff: configure-diff
8c90b13a
L
18525 @r=`${PWD_COMMAND}`; export r; \
18526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18527 $(SET_LIB_PATH) \
18528 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18529
7e2dbcef
NN
18530.PHONY: check-diff maybe-check-diff
18531maybe-check-diff:
4977bab6 18532
4977bab6 18533check-diff:
8c90b13a
L
18534 @r=`${PWD_COMMAND}`; export r; \
18535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18536 $(SET_LIB_PATH) \
18537 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18538
18539
4977bab6
ZW
18540.PHONY: install-diff maybe-install-diff
18541maybe-install-diff:
7e2dbcef 18542
4977bab6 18543install-diff: installdirs
8c90b13a
L
18544 @r=`${PWD_COMMAND}`; export r; \
18545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18546 $(SET_LIB_PATH) \
18547 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18548
18549
18550.PHONY: configure-dosutils maybe-configure-dosutils
18551maybe-configure-dosutils:
ade82b16
AO
18552configure-dosutils:
18553 @test ! -f dosutils/Makefile || exit 0; \
18554 [ -d dosutils ] || mkdir dosutils; \
8c90b13a
L
18555 r=`${PWD_COMMAND}`; export r; \
18556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18557 CC="$(CC)"; export CC; \
18558 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18559 CXX="$(CXX)"; export CXX; \
18560 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18561 AR="$(AR)"; export AR; \
18562 AS="$(AS)"; export AS; \
18563 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18564 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18565 LD="$(LD)"; export LD; \
18566 NM="$(NM)"; export NM; \
18567 RANLIB="$(RANLIB)"; export RANLIB; \
18568 WINDRES="$(WINDRES)"; export WINDRES; \
18569 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18570 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18571 echo Configuring in dosutils; \
18572 cd dosutils || exit 1; \
18573 case $(srcdir) in \
18574 \.) \
18575 srcdiroption="--srcdir=."; \
18576 libsrcdir=".";; \
18577 /* | [A-Za-z]:[\\/]*) \
18578 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
18579 libsrcdir="$$s/dosutils";; \
18580 *) \
18581 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
18582 libsrcdir="$$s/dosutils";; \
18583 esac; \
18584 $(SHELL) $${libsrcdir}/configure \
18585 $(HOST_CONFIGARGS) $${srcdiroption} \
18586 || exit 1
18587
18588.PHONY: all-dosutils maybe-all-dosutils
18589maybe-all-dosutils:
18590all-dosutils: configure-dosutils
8c90b13a
L
18591 @r=`${PWD_COMMAND}`; export r; \
18592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18593 $(SET_LIB_PATH) \
18594 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18595
7e2dbcef
NN
18596.PHONY: check-dosutils maybe-check-dosutils
18597maybe-check-dosutils:
4977bab6 18598
4977bab6
ZW
18599check-dosutils:
18600
18601
4977bab6
ZW
18602.PHONY: install-dosutils maybe-install-dosutils
18603maybe-install-dosutils:
7e2dbcef 18604
4977bab6 18605install-dosutils: installdirs
8c90b13a
L
18606 @r=`${PWD_COMMAND}`; export r; \
18607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18608 $(SET_LIB_PATH) \
18609 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18610
18611
18612.PHONY: configure-etc maybe-configure-etc
18613maybe-configure-etc:
ade82b16
AO
18614configure-etc:
18615 @test ! -f etc/Makefile || exit 0; \
18616 [ -d etc ] || mkdir etc; \
8c90b13a
L
18617 r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18619 CC="$(CC)"; export CC; \
18620 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18621 CXX="$(CXX)"; export CXX; \
18622 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18623 AR="$(AR)"; export AR; \
18624 AS="$(AS)"; export AS; \
18625 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18626 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18627 LD="$(LD)"; export LD; \
18628 NM="$(NM)"; export NM; \
18629 RANLIB="$(RANLIB)"; export RANLIB; \
18630 WINDRES="$(WINDRES)"; export WINDRES; \
18631 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18632 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18633 echo Configuring in etc; \
18634 cd etc || exit 1; \
18635 case $(srcdir) in \
18636 \.) \
18637 srcdiroption="--srcdir=."; \
18638 libsrcdir=".";; \
18639 /* | [A-Za-z]:[\\/]*) \
18640 srcdiroption="--srcdir=$(srcdir)/etc"; \
18641 libsrcdir="$$s/etc";; \
18642 *) \
18643 srcdiroption="--srcdir=../$(srcdir)/etc"; \
18644 libsrcdir="$$s/etc";; \
18645 esac; \
18646 $(SHELL) $${libsrcdir}/configure \
18647 $(HOST_CONFIGARGS) $${srcdiroption} \
18648 || exit 1
18649
18650.PHONY: all-etc maybe-all-etc
18651maybe-all-etc:
18652all-etc: configure-etc
8c90b13a
L
18653 @r=`${PWD_COMMAND}`; export r; \
18654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18655 $(SET_LIB_PATH) \
18656 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18657
7e2dbcef
NN
18658.PHONY: check-etc maybe-check-etc
18659maybe-check-etc:
4977bab6 18660
4977bab6 18661check-etc:
8c90b13a
L
18662 @r=`${PWD_COMMAND}`; export r; \
18663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18664 $(SET_LIB_PATH) \
18665 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18666
18667
4977bab6
ZW
18668.PHONY: install-etc maybe-install-etc
18669maybe-install-etc:
7e2dbcef 18670
4977bab6 18671install-etc: installdirs
8c90b13a
L
18672 @r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18674 $(SET_LIB_PATH) \
18675 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18676
18677
18678.PHONY: configure-fastjar maybe-configure-fastjar
18679maybe-configure-fastjar:
ade82b16
AO
18680configure-fastjar:
18681 @test ! -f fastjar/Makefile || exit 0; \
18682 [ -d fastjar ] || mkdir fastjar; \
8c90b13a
L
18683 r=`${PWD_COMMAND}`; export r; \
18684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18685 CC="$(CC)"; export CC; \
18686 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18687 CXX="$(CXX)"; export CXX; \
18688 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18689 AR="$(AR)"; export AR; \
18690 AS="$(AS)"; export AS; \
18691 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18692 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18693 LD="$(LD)"; export LD; \
18694 NM="$(NM)"; export NM; \
18695 RANLIB="$(RANLIB)"; export RANLIB; \
18696 WINDRES="$(WINDRES)"; export WINDRES; \
18697 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18698 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18699 echo Configuring in fastjar; \
18700 cd fastjar || exit 1; \
18701 case $(srcdir) in \
18702 \.) \
18703 srcdiroption="--srcdir=."; \
18704 libsrcdir=".";; \
18705 /* | [A-Za-z]:[\\/]*) \
18706 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
18707 libsrcdir="$$s/fastjar";; \
18708 *) \
18709 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
18710 libsrcdir="$$s/fastjar";; \
18711 esac; \
18712 $(SHELL) $${libsrcdir}/configure \
18713 $(HOST_CONFIGARGS) $${srcdiroption} \
18714 || exit 1
18715
18716.PHONY: all-fastjar maybe-all-fastjar
18717maybe-all-fastjar:
18718all-fastjar: configure-fastjar
8c90b13a
L
18719 @r=`${PWD_COMMAND}`; export r; \
18720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18721 $(SET_LIB_PATH) \
18722 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18723
7e2dbcef
NN
18724.PHONY: check-fastjar maybe-check-fastjar
18725maybe-check-fastjar:
4977bab6 18726
4977bab6
ZW
18727# This module is only tested in a native toolchain.
18728check-fastjar:
e89fbdfe 18729 @if [ '$(host)' = '$(target)' ] ; then \
8c90b13a
L
18730 r=`${PWD_COMMAND}`; export r; \
18731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18732 $(SET_LIB_PATH) \
18733 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
4977bab6
ZW
18734 fi
18735
18736
4977bab6
ZW
18737.PHONY: install-fastjar maybe-install-fastjar
18738maybe-install-fastjar:
7e2dbcef 18739
4977bab6 18740install-fastjar: installdirs
8c90b13a
L
18741 @r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18743 $(SET_LIB_PATH) \
18744 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18745
18746
18747.PHONY: configure-fileutils maybe-configure-fileutils
18748maybe-configure-fileutils:
ade82b16
AO
18749configure-fileutils:
18750 @test ! -f fileutils/Makefile || exit 0; \
18751 [ -d fileutils ] || mkdir fileutils; \
8c90b13a
L
18752 r=`${PWD_COMMAND}`; export r; \
18753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18754 CC="$(CC)"; export CC; \
18755 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18756 CXX="$(CXX)"; export CXX; \
18757 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18758 AR="$(AR)"; export AR; \
18759 AS="$(AS)"; export AS; \
18760 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18761 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18762 LD="$(LD)"; export LD; \
18763 NM="$(NM)"; export NM; \
18764 RANLIB="$(RANLIB)"; export RANLIB; \
18765 WINDRES="$(WINDRES)"; export WINDRES; \
18766 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18767 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18768 echo Configuring in fileutils; \
18769 cd fileutils || exit 1; \
18770 case $(srcdir) in \
18771 \.) \
18772 srcdiroption="--srcdir=."; \
18773 libsrcdir=".";; \
18774 /* | [A-Za-z]:[\\/]*) \
18775 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
18776 libsrcdir="$$s/fileutils";; \
18777 *) \
18778 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
18779 libsrcdir="$$s/fileutils";; \
18780 esac; \
18781 $(SHELL) $${libsrcdir}/configure \
18782 $(HOST_CONFIGARGS) $${srcdiroption} \
18783 || exit 1
18784
18785.PHONY: all-fileutils maybe-all-fileutils
18786maybe-all-fileutils:
18787all-fileutils: configure-fileutils
8c90b13a
L
18788 @r=`${PWD_COMMAND}`; export r; \
18789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18790 $(SET_LIB_PATH) \
18791 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18792
7e2dbcef
NN
18793.PHONY: check-fileutils maybe-check-fileutils
18794maybe-check-fileutils:
4977bab6 18795
4977bab6 18796check-fileutils:
8c90b13a
L
18797 @r=`${PWD_COMMAND}`; export r; \
18798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18799 $(SET_LIB_PATH) \
18800 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18801
18802
4977bab6
ZW
18803.PHONY: install-fileutils maybe-install-fileutils
18804maybe-install-fileutils:
7e2dbcef 18805
4977bab6 18806install-fileutils: installdirs
8c90b13a
L
18807 @r=`${PWD_COMMAND}`; export r; \
18808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18809 $(SET_LIB_PATH) \
18810 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18811
18812
18813.PHONY: configure-findutils maybe-configure-findutils
18814maybe-configure-findutils:
ade82b16
AO
18815configure-findutils:
18816 @test ! -f findutils/Makefile || exit 0; \
18817 [ -d findutils ] || mkdir findutils; \
8c90b13a
L
18818 r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18820 CC="$(CC)"; export CC; \
18821 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18822 CXX="$(CXX)"; export CXX; \
18823 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18824 AR="$(AR)"; export AR; \
18825 AS="$(AS)"; export AS; \
18826 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18827 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18828 LD="$(LD)"; export LD; \
18829 NM="$(NM)"; export NM; \
18830 RANLIB="$(RANLIB)"; export RANLIB; \
18831 WINDRES="$(WINDRES)"; export WINDRES; \
18832 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18833 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18834 echo Configuring in findutils; \
18835 cd findutils || exit 1; \
18836 case $(srcdir) in \
18837 \.) \
18838 srcdiroption="--srcdir=."; \
18839 libsrcdir=".";; \
18840 /* | [A-Za-z]:[\\/]*) \
18841 srcdiroption="--srcdir=$(srcdir)/findutils"; \
18842 libsrcdir="$$s/findutils";; \
18843 *) \
18844 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
18845 libsrcdir="$$s/findutils";; \
18846 esac; \
18847 $(SHELL) $${libsrcdir}/configure \
18848 $(HOST_CONFIGARGS) $${srcdiroption} \
18849 || exit 1
18850
18851.PHONY: all-findutils maybe-all-findutils
18852maybe-all-findutils:
18853all-findutils: configure-findutils
8c90b13a
L
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18856 $(SET_LIB_PATH) \
18857 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18858
7e2dbcef
NN
18859.PHONY: check-findutils maybe-check-findutils
18860maybe-check-findutils:
4977bab6 18861
4977bab6 18862check-findutils:
8c90b13a
L
18863 @r=`${PWD_COMMAND}`; export r; \
18864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18865 $(SET_LIB_PATH) \
18866 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18867
18868
4977bab6
ZW
18869.PHONY: install-findutils maybe-install-findutils
18870maybe-install-findutils:
7e2dbcef 18871
4977bab6 18872install-findutils: installdirs
8c90b13a
L
18873 @r=`${PWD_COMMAND}`; export r; \
18874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18875 $(SET_LIB_PATH) \
18876 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18877
18878
18879.PHONY: configure-find maybe-configure-find
18880maybe-configure-find:
ade82b16
AO
18881configure-find:
18882 @test ! -f find/Makefile || exit 0; \
18883 [ -d find ] || mkdir find; \
8c90b13a
L
18884 r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18886 CC="$(CC)"; export CC; \
18887 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18888 CXX="$(CXX)"; export CXX; \
18889 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18890 AR="$(AR)"; export AR; \
18891 AS="$(AS)"; export AS; \
18892 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18893 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18894 LD="$(LD)"; export LD; \
18895 NM="$(NM)"; export NM; \
18896 RANLIB="$(RANLIB)"; export RANLIB; \
18897 WINDRES="$(WINDRES)"; export WINDRES; \
18898 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18899 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18900 echo Configuring in find; \
18901 cd find || exit 1; \
18902 case $(srcdir) in \
18903 \.) \
18904 srcdiroption="--srcdir=."; \
18905 libsrcdir=".";; \
18906 /* | [A-Za-z]:[\\/]*) \
18907 srcdiroption="--srcdir=$(srcdir)/find"; \
18908 libsrcdir="$$s/find";; \
18909 *) \
18910 srcdiroption="--srcdir=../$(srcdir)/find"; \
18911 libsrcdir="$$s/find";; \
18912 esac; \
18913 $(SHELL) $${libsrcdir}/configure \
18914 $(HOST_CONFIGARGS) $${srcdiroption} \
18915 || exit 1
18916
18917.PHONY: all-find maybe-all-find
18918maybe-all-find:
18919all-find: configure-find
8c90b13a
L
18920 @r=`${PWD_COMMAND}`; export r; \
18921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18922 $(SET_LIB_PATH) \
18923 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18924
7e2dbcef
NN
18925.PHONY: check-find maybe-check-find
18926maybe-check-find:
4977bab6 18927
4977bab6 18928check-find:
8c90b13a
L
18929 @r=`${PWD_COMMAND}`; export r; \
18930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18931 $(SET_LIB_PATH) \
18932 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
18933
18934
4977bab6
ZW
18935.PHONY: install-find maybe-install-find
18936maybe-install-find:
7e2dbcef 18937
4977bab6 18938install-find: installdirs
8c90b13a
L
18939 @r=`${PWD_COMMAND}`; export r; \
18940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18941 $(SET_LIB_PATH) \
18942 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
18943
18944
18945.PHONY: configure-flex maybe-configure-flex
18946maybe-configure-flex:
ade82b16
AO
18947configure-flex:
18948 @test ! -f flex/Makefile || exit 0; \
18949 [ -d flex ] || mkdir flex; \
8c90b13a
L
18950 r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
18952 CC="$(CC)"; export CC; \
18953 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18954 CXX="$(CXX)"; export CXX; \
18955 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
18956 AR="$(AR)"; export AR; \
18957 AS="$(AS)"; export AS; \
18958 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18959 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18960 LD="$(LD)"; export LD; \
18961 NM="$(NM)"; export NM; \
18962 RANLIB="$(RANLIB)"; export RANLIB; \
18963 WINDRES="$(WINDRES)"; export WINDRES; \
18964 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18965 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
18966 echo Configuring in flex; \
18967 cd flex || exit 1; \
18968 case $(srcdir) in \
18969 \.) \
18970 srcdiroption="--srcdir=."; \
18971 libsrcdir=".";; \
18972 /* | [A-Za-z]:[\\/]*) \
18973 srcdiroption="--srcdir=$(srcdir)/flex"; \
18974 libsrcdir="$$s/flex";; \
18975 *) \
18976 srcdiroption="--srcdir=../$(srcdir)/flex"; \
18977 libsrcdir="$$s/flex";; \
18978 esac; \
18979 $(SHELL) $${libsrcdir}/configure \
18980 $(HOST_CONFIGARGS) $${srcdiroption} \
18981 || exit 1
18982
18983.PHONY: all-flex maybe-all-flex
18984maybe-all-flex:
18985all-flex: configure-flex
8c90b13a
L
18986 @r=`${PWD_COMMAND}`; export r; \
18987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18988 $(SET_LIB_PATH) \
18989 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 18990
7e2dbcef
NN
18991.PHONY: check-flex maybe-check-flex
18992maybe-check-flex:
4977bab6 18993
4977bab6
ZW
18994# This module is only tested in a native toolchain.
18995check-flex:
e89fbdfe 18996 @if [ '$(host)' = '$(target)' ] ; then \
8c90b13a
L
18997 r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
18999 $(SET_LIB_PATH) \
19000 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
4977bab6
ZW
19001 fi
19002
19003
4977bab6
ZW
19004.PHONY: install-flex maybe-install-flex
19005maybe-install-flex:
7e2dbcef 19006
4977bab6 19007install-flex: installdirs
8c90b13a
L
19008 @r=`${PWD_COMMAND}`; export r; \
19009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19010 $(SET_LIB_PATH) \
19011 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19012
19013
19014.PHONY: configure-gas maybe-configure-gas
19015maybe-configure-gas:
ade82b16
AO
19016configure-gas:
19017 @test ! -f gas/Makefile || exit 0; \
19018 [ -d gas ] || mkdir gas; \
8c90b13a
L
19019 r=`${PWD_COMMAND}`; export r; \
19020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19021 CC="$(CC)"; export CC; \
19022 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19023 CXX="$(CXX)"; export CXX; \
19024 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19025 AR="$(AR)"; export AR; \
19026 AS="$(AS)"; export AS; \
19027 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19028 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19029 LD="$(LD)"; export LD; \
19030 NM="$(NM)"; export NM; \
19031 RANLIB="$(RANLIB)"; export RANLIB; \
19032 WINDRES="$(WINDRES)"; export WINDRES; \
19033 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19034 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19035 echo Configuring in gas; \
19036 cd gas || exit 1; \
19037 case $(srcdir) in \
19038 \.) \
19039 srcdiroption="--srcdir=."; \
19040 libsrcdir=".";; \
19041 /* | [A-Za-z]:[\\/]*) \
19042 srcdiroption="--srcdir=$(srcdir)/gas"; \
19043 libsrcdir="$$s/gas";; \
19044 *) \
19045 srcdiroption="--srcdir=../$(srcdir)/gas"; \
19046 libsrcdir="$$s/gas";; \
19047 esac; \
19048 $(SHELL) $${libsrcdir}/configure \
19049 $(HOST_CONFIGARGS) $${srcdiroption} \
19050 || exit 1
19051
19052.PHONY: all-gas maybe-all-gas
19053maybe-all-gas:
19054all-gas: configure-gas
8c90b13a
L
19055 @r=`${PWD_COMMAND}`; export r; \
19056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19057 $(SET_LIB_PATH) \
19058 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19059
7e2dbcef
NN
19060.PHONY: check-gas maybe-check-gas
19061maybe-check-gas:
4977bab6 19062
4977bab6 19063check-gas:
8c90b13a
L
19064 @r=`${PWD_COMMAND}`; export r; \
19065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19066 $(SET_LIB_PATH) \
19067 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19068
19069
4977bab6
ZW
19070.PHONY: install-gas maybe-install-gas
19071maybe-install-gas:
7e2dbcef 19072
4977bab6 19073install-gas: installdirs
8c90b13a
L
19074 @r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19076 $(SET_LIB_PATH) \
19077 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19078
19079
19080.PHONY: configure-gawk maybe-configure-gawk
19081maybe-configure-gawk:
ade82b16
AO
19082configure-gawk:
19083 @test ! -f gawk/Makefile || exit 0; \
19084 [ -d gawk ] || mkdir gawk; \
8c90b13a
L
19085 r=`${PWD_COMMAND}`; export r; \
19086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19087 CC="$(CC)"; export CC; \
19088 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19089 CXX="$(CXX)"; export CXX; \
19090 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19091 AR="$(AR)"; export AR; \
19092 AS="$(AS)"; export AS; \
19093 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19094 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19095 LD="$(LD)"; export LD; \
19096 NM="$(NM)"; export NM; \
19097 RANLIB="$(RANLIB)"; export RANLIB; \
19098 WINDRES="$(WINDRES)"; export WINDRES; \
19099 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19100 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19101 echo Configuring in gawk; \
19102 cd gawk || exit 1; \
19103 case $(srcdir) in \
19104 \.) \
19105 srcdiroption="--srcdir=."; \
19106 libsrcdir=".";; \
19107 /* | [A-Za-z]:[\\/]*) \
19108 srcdiroption="--srcdir=$(srcdir)/gawk"; \
19109 libsrcdir="$$s/gawk";; \
19110 *) \
19111 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
19112 libsrcdir="$$s/gawk";; \
19113 esac; \
19114 $(SHELL) $${libsrcdir}/configure \
19115 $(HOST_CONFIGARGS) $${srcdiroption} \
19116 || exit 1
19117
19118.PHONY: all-gawk maybe-all-gawk
19119maybe-all-gawk:
19120all-gawk: configure-gawk
8c90b13a
L
19121 @r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19123 $(SET_LIB_PATH) \
19124 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19125
7e2dbcef
NN
19126.PHONY: check-gawk maybe-check-gawk
19127maybe-check-gawk:
4977bab6 19128
4977bab6 19129check-gawk:
8c90b13a
L
19130 @r=`${PWD_COMMAND}`; export r; \
19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19132 $(SET_LIB_PATH) \
19133 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19134
19135
4977bab6
ZW
19136.PHONY: install-gawk maybe-install-gawk
19137maybe-install-gawk:
7e2dbcef 19138
4977bab6 19139install-gawk: installdirs
8c90b13a
L
19140 @r=`${PWD_COMMAND}`; export r; \
19141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19142 $(SET_LIB_PATH) \
19143 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19144
19145
19146.PHONY: configure-gettext maybe-configure-gettext
19147maybe-configure-gettext:
ade82b16
AO
19148configure-gettext:
19149 @test ! -f gettext/Makefile || exit 0; \
19150 [ -d gettext ] || mkdir gettext; \
8c90b13a
L
19151 r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19153 CC="$(CC)"; export CC; \
19154 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19155 CXX="$(CXX)"; export CXX; \
19156 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19157 AR="$(AR)"; export AR; \
19158 AS="$(AS)"; export AS; \
19159 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19160 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19161 LD="$(LD)"; export LD; \
19162 NM="$(NM)"; export NM; \
19163 RANLIB="$(RANLIB)"; export RANLIB; \
19164 WINDRES="$(WINDRES)"; export WINDRES; \
19165 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19166 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19167 echo Configuring in gettext; \
19168 cd gettext || exit 1; \
19169 case $(srcdir) in \
19170 \.) \
19171 srcdiroption="--srcdir=."; \
19172 libsrcdir=".";; \
19173 /* | [A-Za-z]:[\\/]*) \
19174 srcdiroption="--srcdir=$(srcdir)/gettext"; \
19175 libsrcdir="$$s/gettext";; \
19176 *) \
19177 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
19178 libsrcdir="$$s/gettext";; \
19179 esac; \
19180 $(SHELL) $${libsrcdir}/configure \
19181 $(HOST_CONFIGARGS) $${srcdiroption} \
19182 || exit 1
19183
19184.PHONY: all-gettext maybe-all-gettext
19185maybe-all-gettext:
19186all-gettext: configure-gettext
8c90b13a
L
19187 @r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19189 $(SET_LIB_PATH) \
19190 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19191
7e2dbcef
NN
19192.PHONY: check-gettext maybe-check-gettext
19193maybe-check-gettext:
4977bab6 19194
4977bab6 19195check-gettext:
8c90b13a
L
19196 @r=`${PWD_COMMAND}`; export r; \
19197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19198 $(SET_LIB_PATH) \
19199 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19200
19201
4977bab6
ZW
19202.PHONY: install-gettext maybe-install-gettext
19203maybe-install-gettext:
7e2dbcef 19204
4977bab6 19205install-gettext: installdirs
8c90b13a
L
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19208 $(SET_LIB_PATH) \
19209 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19210
19211
19212.PHONY: configure-gnuserv maybe-configure-gnuserv
19213maybe-configure-gnuserv:
ade82b16
AO
19214configure-gnuserv:
19215 @test ! -f gnuserv/Makefile || exit 0; \
19216 [ -d gnuserv ] || mkdir gnuserv; \
8c90b13a
L
19217 r=`${PWD_COMMAND}`; export r; \
19218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19219 CC="$(CC)"; export CC; \
19220 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19221 CXX="$(CXX)"; export CXX; \
19222 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19223 AR="$(AR)"; export AR; \
19224 AS="$(AS)"; export AS; \
19225 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19226 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19227 LD="$(LD)"; export LD; \
19228 NM="$(NM)"; export NM; \
19229 RANLIB="$(RANLIB)"; export RANLIB; \
19230 WINDRES="$(WINDRES)"; export WINDRES; \
19231 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19232 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19233 echo Configuring in gnuserv; \
19234 cd gnuserv || exit 1; \
19235 case $(srcdir) in \
19236 \.) \
19237 srcdiroption="--srcdir=."; \
19238 libsrcdir=".";; \
19239 /* | [A-Za-z]:[\\/]*) \
19240 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
19241 libsrcdir="$$s/gnuserv";; \
19242 *) \
19243 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
19244 libsrcdir="$$s/gnuserv";; \
19245 esac; \
19246 $(SHELL) $${libsrcdir}/configure \
19247 $(HOST_CONFIGARGS) $${srcdiroption} \
19248 || exit 1
19249
19250.PHONY: all-gnuserv maybe-all-gnuserv
19251maybe-all-gnuserv:
19252all-gnuserv: configure-gnuserv
8c90b13a
L
19253 @r=`${PWD_COMMAND}`; export r; \
19254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19255 $(SET_LIB_PATH) \
19256 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19257
7e2dbcef
NN
19258.PHONY: check-gnuserv maybe-check-gnuserv
19259maybe-check-gnuserv:
4977bab6 19260
4977bab6 19261check-gnuserv:
8c90b13a
L
19262 @r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19264 $(SET_LIB_PATH) \
19265 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19266
19267
4977bab6
ZW
19268.PHONY: install-gnuserv maybe-install-gnuserv
19269maybe-install-gnuserv:
7e2dbcef 19270
4977bab6 19271install-gnuserv: installdirs
8c90b13a
L
19272 @r=`${PWD_COMMAND}`; export r; \
19273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19274 $(SET_LIB_PATH) \
19275 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19276
19277
19278.PHONY: configure-gprof maybe-configure-gprof
19279maybe-configure-gprof:
ade82b16
AO
19280configure-gprof:
19281 @test ! -f gprof/Makefile || exit 0; \
19282 [ -d gprof ] || mkdir gprof; \
8c90b13a
L
19283 r=`${PWD_COMMAND}`; export r; \
19284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19285 CC="$(CC)"; export CC; \
19286 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19287 CXX="$(CXX)"; export CXX; \
19288 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19289 AR="$(AR)"; export AR; \
19290 AS="$(AS)"; export AS; \
19291 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19292 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19293 LD="$(LD)"; export LD; \
19294 NM="$(NM)"; export NM; \
19295 RANLIB="$(RANLIB)"; export RANLIB; \
19296 WINDRES="$(WINDRES)"; export WINDRES; \
19297 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19298 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19299 echo Configuring in gprof; \
19300 cd gprof || exit 1; \
19301 case $(srcdir) in \
19302 \.) \
19303 srcdiroption="--srcdir=."; \
19304 libsrcdir=".";; \
19305 /* | [A-Za-z]:[\\/]*) \
19306 srcdiroption="--srcdir=$(srcdir)/gprof"; \
19307 libsrcdir="$$s/gprof";; \
19308 *) \
19309 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
19310 libsrcdir="$$s/gprof";; \
19311 esac; \
19312 $(SHELL) $${libsrcdir}/configure \
19313 $(HOST_CONFIGARGS) $${srcdiroption} \
19314 || exit 1
19315
19316.PHONY: all-gprof maybe-all-gprof
19317maybe-all-gprof:
19318all-gprof: configure-gprof
8c90b13a
L
19319 @r=`${PWD_COMMAND}`; export r; \
19320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19321 $(SET_LIB_PATH) \
19322 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19323
7e2dbcef
NN
19324.PHONY: check-gprof maybe-check-gprof
19325maybe-check-gprof:
4977bab6 19326
4977bab6 19327check-gprof:
8c90b13a
L
19328 @r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19330 $(SET_LIB_PATH) \
19331 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19332
19333
4977bab6
ZW
19334.PHONY: install-gprof maybe-install-gprof
19335maybe-install-gprof:
7e2dbcef 19336
4977bab6 19337install-gprof: installdirs
8c90b13a
L
19338 @r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19340 $(SET_LIB_PATH) \
19341 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19342
19343
4977bab6
ZW
19344.PHONY: configure-gzip maybe-configure-gzip
19345maybe-configure-gzip:
ade82b16
AO
19346configure-gzip:
19347 @test ! -f gzip/Makefile || exit 0; \
19348 [ -d gzip ] || mkdir gzip; \
8c90b13a
L
19349 r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19351 CC="$(CC)"; export CC; \
19352 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19353 CXX="$(CXX)"; export CXX; \
19354 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19355 AR="$(AR)"; export AR; \
19356 AS="$(AS)"; export AS; \
19357 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19358 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19359 LD="$(LD)"; export LD; \
19360 NM="$(NM)"; export NM; \
19361 RANLIB="$(RANLIB)"; export RANLIB; \
19362 WINDRES="$(WINDRES)"; export WINDRES; \
19363 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19364 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19365 echo Configuring in gzip; \
19366 cd gzip || exit 1; \
19367 case $(srcdir) in \
19368 \.) \
19369 srcdiroption="--srcdir=."; \
19370 libsrcdir=".";; \
19371 /* | [A-Za-z]:[\\/]*) \
19372 srcdiroption="--srcdir=$(srcdir)/gzip"; \
19373 libsrcdir="$$s/gzip";; \
19374 *) \
19375 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
19376 libsrcdir="$$s/gzip";; \
19377 esac; \
19378 $(SHELL) $${libsrcdir}/configure \
19379 $(HOST_CONFIGARGS) $${srcdiroption} \
19380 || exit 1
19381
19382.PHONY: all-gzip maybe-all-gzip
19383maybe-all-gzip:
19384all-gzip: configure-gzip
8c90b13a
L
19385 @r=`${PWD_COMMAND}`; export r; \
19386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19387 $(SET_LIB_PATH) \
19388 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19389
7e2dbcef
NN
19390.PHONY: check-gzip maybe-check-gzip
19391maybe-check-gzip:
4977bab6 19392
4977bab6 19393check-gzip:
8c90b13a
L
19394 @r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19396 $(SET_LIB_PATH) \
19397 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19398
19399
4977bab6
ZW
19400.PHONY: install-gzip maybe-install-gzip
19401maybe-install-gzip:
7e2dbcef 19402
4977bab6 19403install-gzip: installdirs
8c90b13a
L
19404 @r=`${PWD_COMMAND}`; export r; \
19405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19406 $(SET_LIB_PATH) \
19407 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19408
19409
19410.PHONY: configure-hello maybe-configure-hello
19411maybe-configure-hello:
ade82b16
AO
19412configure-hello:
19413 @test ! -f hello/Makefile || exit 0; \
19414 [ -d hello ] || mkdir hello; \
8c90b13a
L
19415 r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19417 CC="$(CC)"; export CC; \
19418 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19419 CXX="$(CXX)"; export CXX; \
19420 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19421 AR="$(AR)"; export AR; \
19422 AS="$(AS)"; export AS; \
19423 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19424 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19425 LD="$(LD)"; export LD; \
19426 NM="$(NM)"; export NM; \
19427 RANLIB="$(RANLIB)"; export RANLIB; \
19428 WINDRES="$(WINDRES)"; export WINDRES; \
19429 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19430 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19431 echo Configuring in hello; \
19432 cd hello || exit 1; \
19433 case $(srcdir) in \
19434 \.) \
19435 srcdiroption="--srcdir=."; \
19436 libsrcdir=".";; \
19437 /* | [A-Za-z]:[\\/]*) \
19438 srcdiroption="--srcdir=$(srcdir)/hello"; \
19439 libsrcdir="$$s/hello";; \
19440 *) \
19441 srcdiroption="--srcdir=../$(srcdir)/hello"; \
19442 libsrcdir="$$s/hello";; \
19443 esac; \
19444 $(SHELL) $${libsrcdir}/configure \
19445 $(HOST_CONFIGARGS) $${srcdiroption} \
19446 || exit 1
19447
19448.PHONY: all-hello maybe-all-hello
19449maybe-all-hello:
19450all-hello: configure-hello
8c90b13a
L
19451 @r=`${PWD_COMMAND}`; export r; \
19452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19453 $(SET_LIB_PATH) \
19454 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19455
7e2dbcef
NN
19456.PHONY: check-hello maybe-check-hello
19457maybe-check-hello:
4977bab6 19458
4977bab6 19459check-hello:
8c90b13a
L
19460 @r=`${PWD_COMMAND}`; export r; \
19461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19462 $(SET_LIB_PATH) \
19463 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19464
19465
4977bab6
ZW
19466.PHONY: install-hello maybe-install-hello
19467maybe-install-hello:
7e2dbcef 19468
4977bab6 19469install-hello: installdirs
8c90b13a
L
19470 @r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19472 $(SET_LIB_PATH) \
19473 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19474
19475
19476.PHONY: configure-indent maybe-configure-indent
19477maybe-configure-indent:
ade82b16
AO
19478configure-indent:
19479 @test ! -f indent/Makefile || exit 0; \
19480 [ -d indent ] || mkdir indent; \
8c90b13a
L
19481 r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19483 CC="$(CC)"; export CC; \
19484 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19485 CXX="$(CXX)"; export CXX; \
19486 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19487 AR="$(AR)"; export AR; \
19488 AS="$(AS)"; export AS; \
19489 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19490 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19491 LD="$(LD)"; export LD; \
19492 NM="$(NM)"; export NM; \
19493 RANLIB="$(RANLIB)"; export RANLIB; \
19494 WINDRES="$(WINDRES)"; export WINDRES; \
19495 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19496 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19497 echo Configuring in indent; \
19498 cd indent || exit 1; \
19499 case $(srcdir) in \
19500 \.) \
19501 srcdiroption="--srcdir=."; \
19502 libsrcdir=".";; \
19503 /* | [A-Za-z]:[\\/]*) \
19504 srcdiroption="--srcdir=$(srcdir)/indent"; \
19505 libsrcdir="$$s/indent";; \
19506 *) \
19507 srcdiroption="--srcdir=../$(srcdir)/indent"; \
19508 libsrcdir="$$s/indent";; \
19509 esac; \
19510 $(SHELL) $${libsrcdir}/configure \
19511 $(HOST_CONFIGARGS) $${srcdiroption} \
19512 || exit 1
19513
19514.PHONY: all-indent maybe-all-indent
19515maybe-all-indent:
19516all-indent: configure-indent
8c90b13a
L
19517 @r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19519 $(SET_LIB_PATH) \
19520 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19521
7e2dbcef
NN
19522.PHONY: check-indent maybe-check-indent
19523maybe-check-indent:
4977bab6 19524
4977bab6 19525check-indent:
8c90b13a
L
19526 @r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19528 $(SET_LIB_PATH) \
19529 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19530
19531
4977bab6
ZW
19532.PHONY: install-indent maybe-install-indent
19533maybe-install-indent:
7e2dbcef 19534
4977bab6 19535install-indent: installdirs
8c90b13a
L
19536 @r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19538 $(SET_LIB_PATH) \
19539 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19540
19541
19542.PHONY: configure-intl maybe-configure-intl
19543maybe-configure-intl:
ade82b16
AO
19544configure-intl:
19545 @test ! -f intl/Makefile || exit 0; \
19546 [ -d intl ] || mkdir intl; \
8c90b13a
L
19547 r=`${PWD_COMMAND}`; export r; \
19548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19549 CC="$(CC)"; export CC; \
19550 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19551 CXX="$(CXX)"; export CXX; \
19552 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
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; \
4977bab6
ZW
19563 echo Configuring in intl; \
19564 cd intl || exit 1; \
19565 case $(srcdir) in \
19566 \.) \
19567 srcdiroption="--srcdir=."; \
19568 libsrcdir=".";; \
19569 /* | [A-Za-z]:[\\/]*) \
19570 srcdiroption="--srcdir=$(srcdir)/intl"; \
19571 libsrcdir="$$s/intl";; \
19572 *) \
19573 srcdiroption="--srcdir=../$(srcdir)/intl"; \
19574 libsrcdir="$$s/intl";; \
19575 esac; \
19576 $(SHELL) $${libsrcdir}/configure \
19577 $(HOST_CONFIGARGS) $${srcdiroption} \
19578 || exit 1
19579
19580.PHONY: all-intl maybe-all-intl
19581maybe-all-intl:
19582all-intl: configure-intl
8c90b13a
L
19583 @r=`${PWD_COMMAND}`; export r; \
19584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19585 $(SET_LIB_PATH) \
19586 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19587
7e2dbcef
NN
19588.PHONY: check-intl maybe-check-intl
19589maybe-check-intl:
4977bab6 19590
4977bab6 19591check-intl:
8c90b13a
L
19592 @r=`${PWD_COMMAND}`; export r; \
19593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19594 $(SET_LIB_PATH) \
19595 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19596
19597
4977bab6
ZW
19598.PHONY: install-intl maybe-install-intl
19599maybe-install-intl:
7e2dbcef 19600
4977bab6 19601install-intl: installdirs
8c90b13a
L
19602 @r=`${PWD_COMMAND}`; export r; \
19603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19604 $(SET_LIB_PATH) \
19605 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19606
19607
19608.PHONY: configure-tcl maybe-configure-tcl
19609maybe-configure-tcl:
ade82b16
AO
19610configure-tcl:
19611 @test ! -f tcl/Makefile || exit 0; \
19612 [ -d tcl ] || mkdir tcl; \
8c90b13a
L
19613 r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19615 CC="$(CC)"; export CC; \
19616 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19617 CXX="$(CXX)"; export CXX; \
19618 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19619 AR="$(AR)"; export AR; \
19620 AS="$(AS)"; export AS; \
19621 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19622 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19623 LD="$(LD)"; export LD; \
19624 NM="$(NM)"; export NM; \
19625 RANLIB="$(RANLIB)"; export RANLIB; \
19626 WINDRES="$(WINDRES)"; export WINDRES; \
19627 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19628 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19629 echo Configuring in tcl; \
19630 cd tcl || exit 1; \
19631 case $(srcdir) in \
19632 \.) \
19633 srcdiroption="--srcdir=."; \
19634 libsrcdir=".";; \
19635 /* | [A-Za-z]:[\\/]*) \
19636 srcdiroption="--srcdir=$(srcdir)/tcl"; \
19637 libsrcdir="$$s/tcl";; \
19638 *) \
19639 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
19640 libsrcdir="$$s/tcl";; \
19641 esac; \
19642 $(SHELL) $${libsrcdir}/configure \
19643 $(HOST_CONFIGARGS) $${srcdiroption} \
19644 || exit 1
19645
19646.PHONY: all-tcl maybe-all-tcl
19647maybe-all-tcl:
19648all-tcl: configure-tcl
8c90b13a
L
19649 @r=`${PWD_COMMAND}`; export r; \
19650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19651 $(SET_LIB_PATH) \
19652 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19653
7e2dbcef
NN
19654.PHONY: check-tcl maybe-check-tcl
19655maybe-check-tcl:
4977bab6 19656
4977bab6 19657check-tcl:
8c90b13a
L
19658 @r=`${PWD_COMMAND}`; export r; \
19659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19660 $(SET_LIB_PATH) \
19661 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19662
19663
4977bab6
ZW
19664.PHONY: install-tcl maybe-install-tcl
19665maybe-install-tcl:
7e2dbcef 19666
4977bab6 19667install-tcl: installdirs
8c90b13a
L
19668 @r=`${PWD_COMMAND}`; export r; \
19669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19670 $(SET_LIB_PATH) \
19671 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19672
19673
19674.PHONY: configure-itcl maybe-configure-itcl
19675maybe-configure-itcl:
ade82b16
AO
19676configure-itcl:
19677 @test ! -f itcl/Makefile || exit 0; \
19678 [ -d itcl ] || mkdir itcl; \
8c90b13a
L
19679 r=`${PWD_COMMAND}`; export r; \
19680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19681 CC="$(CC)"; export CC; \
19682 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19683 CXX="$(CXX)"; export CXX; \
19684 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19685 AR="$(AR)"; export AR; \
19686 AS="$(AS)"; export AS; \
19687 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19688 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19689 LD="$(LD)"; export LD; \
19690 NM="$(NM)"; export NM; \
19691 RANLIB="$(RANLIB)"; export RANLIB; \
19692 WINDRES="$(WINDRES)"; export WINDRES; \
19693 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19694 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19695 echo Configuring in itcl; \
19696 cd itcl || exit 1; \
19697 case $(srcdir) in \
19698 \.) \
19699 srcdiroption="--srcdir=."; \
19700 libsrcdir=".";; \
19701 /* | [A-Za-z]:[\\/]*) \
19702 srcdiroption="--srcdir=$(srcdir)/itcl"; \
19703 libsrcdir="$$s/itcl";; \
19704 *) \
19705 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
19706 libsrcdir="$$s/itcl";; \
19707 esac; \
19708 $(SHELL) $${libsrcdir}/configure \
19709 $(HOST_CONFIGARGS) $${srcdiroption} \
19710 || exit 1
19711
19712.PHONY: all-itcl maybe-all-itcl
19713maybe-all-itcl:
19714all-itcl: configure-itcl
8c90b13a
L
19715 @r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19717 $(SET_LIB_PATH) \
19718 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19719
7e2dbcef
NN
19720.PHONY: check-itcl maybe-check-itcl
19721maybe-check-itcl:
4977bab6 19722
4977bab6 19723check-itcl:
8c90b13a
L
19724 @r=`${PWD_COMMAND}`; export r; \
19725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19726 $(SET_LIB_PATH) \
19727 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19728
19729
4977bab6
ZW
19730.PHONY: install-itcl maybe-install-itcl
19731maybe-install-itcl:
7e2dbcef 19732
4977bab6 19733install-itcl: installdirs
8c90b13a
L
19734 @r=`${PWD_COMMAND}`; export r; \
19735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19736 $(SET_LIB_PATH) \
19737 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19738
19739
19740.PHONY: configure-ld maybe-configure-ld
19741maybe-configure-ld:
ade82b16
AO
19742configure-ld:
19743 @test ! -f ld/Makefile || exit 0; \
19744 [ -d ld ] || mkdir ld; \
8c90b13a
L
19745 r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19747 CC="$(CC)"; export CC; \
19748 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19749 CXX="$(CXX)"; export CXX; \
19750 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19751 AR="$(AR)"; export AR; \
19752 AS="$(AS)"; export AS; \
19753 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19754 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19755 LD="$(LD)"; export LD; \
19756 NM="$(NM)"; export NM; \
19757 RANLIB="$(RANLIB)"; export RANLIB; \
19758 WINDRES="$(WINDRES)"; export WINDRES; \
19759 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19760 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19761 echo Configuring in ld; \
19762 cd ld || exit 1; \
19763 case $(srcdir) in \
19764 \.) \
19765 srcdiroption="--srcdir=."; \
19766 libsrcdir=".";; \
19767 /* | [A-Za-z]:[\\/]*) \
19768 srcdiroption="--srcdir=$(srcdir)/ld"; \
19769 libsrcdir="$$s/ld";; \
19770 *) \
19771 srcdiroption="--srcdir=../$(srcdir)/ld"; \
19772 libsrcdir="$$s/ld";; \
19773 esac; \
19774 $(SHELL) $${libsrcdir}/configure \
19775 $(HOST_CONFIGARGS) $${srcdiroption} \
19776 || exit 1
19777
19778.PHONY: all-ld maybe-all-ld
19779maybe-all-ld:
19780all-ld: configure-ld
8c90b13a
L
19781 @r=`${PWD_COMMAND}`; export r; \
19782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19783 $(SET_LIB_PATH) \
19784 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19785
7e2dbcef
NN
19786.PHONY: check-ld maybe-check-ld
19787maybe-check-ld:
4977bab6 19788
4977bab6 19789check-ld:
8c90b13a
L
19790 @r=`${PWD_COMMAND}`; export r; \
19791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19792 $(SET_LIB_PATH) \
19793 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19794
19795
4977bab6
ZW
19796.PHONY: install-ld maybe-install-ld
19797maybe-install-ld:
7e2dbcef 19798
4977bab6 19799install-ld: installdirs
8c90b13a
L
19800 @r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19802 $(SET_LIB_PATH) \
19803 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19804
19805
19806.PHONY: configure-libgui maybe-configure-libgui
19807maybe-configure-libgui:
ade82b16
AO
19808configure-libgui:
19809 @test ! -f libgui/Makefile || exit 0; \
19810 [ -d libgui ] || mkdir libgui; \
8c90b13a
L
19811 r=`${PWD_COMMAND}`; export r; \
19812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19813 CC="$(CC)"; export CC; \
19814 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19815 CXX="$(CXX)"; export CXX; \
19816 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19817 AR="$(AR)"; export AR; \
19818 AS="$(AS)"; export AS; \
19819 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19820 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19821 LD="$(LD)"; export LD; \
19822 NM="$(NM)"; export NM; \
19823 RANLIB="$(RANLIB)"; export RANLIB; \
19824 WINDRES="$(WINDRES)"; export WINDRES; \
19825 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19826 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19827 echo Configuring in libgui; \
19828 cd libgui || exit 1; \
19829 case $(srcdir) in \
19830 \.) \
19831 srcdiroption="--srcdir=."; \
19832 libsrcdir=".";; \
19833 /* | [A-Za-z]:[\\/]*) \
19834 srcdiroption="--srcdir=$(srcdir)/libgui"; \
19835 libsrcdir="$$s/libgui";; \
19836 *) \
19837 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
19838 libsrcdir="$$s/libgui";; \
19839 esac; \
19840 $(SHELL) $${libsrcdir}/configure \
19841 $(HOST_CONFIGARGS) $${srcdiroption} \
19842 || exit 1
19843
19844.PHONY: all-libgui maybe-all-libgui
19845maybe-all-libgui:
19846all-libgui: configure-libgui
8c90b13a
L
19847 @r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19849 $(SET_LIB_PATH) \
19850 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19851
7e2dbcef
NN
19852.PHONY: check-libgui maybe-check-libgui
19853maybe-check-libgui:
4977bab6 19854
4977bab6 19855check-libgui:
8c90b13a
L
19856 @r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19858 $(SET_LIB_PATH) \
19859 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19860
19861
4977bab6
ZW
19862.PHONY: install-libgui maybe-install-libgui
19863maybe-install-libgui:
7e2dbcef 19864
4977bab6 19865install-libgui: installdirs
8c90b13a
L
19866 @r=`${PWD_COMMAND}`; export r; \
19867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19868 $(SET_LIB_PATH) \
19869 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19870
19871
19872.PHONY: configure-libiberty maybe-configure-libiberty
19873maybe-configure-libiberty:
ade82b16
AO
19874configure-libiberty:
19875 @test ! -f libiberty/Makefile || exit 0; \
19876 [ -d libiberty ] || mkdir libiberty; \
8c90b13a
L
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19879 CC="$(CC)"; export CC; \
19880 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19881 CXX="$(CXX)"; export CXX; \
19882 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19883 AR="$(AR)"; export AR; \
19884 AS="$(AS)"; export AS; \
19885 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19886 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19887 LD="$(LD)"; export LD; \
19888 NM="$(NM)"; export NM; \
19889 RANLIB="$(RANLIB)"; export RANLIB; \
19890 WINDRES="$(WINDRES)"; export WINDRES; \
19891 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19892 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19893 echo Configuring in libiberty; \
19894 cd libiberty || exit 1; \
19895 case $(srcdir) in \
19896 \.) \
19897 srcdiroption="--srcdir=."; \
19898 libsrcdir=".";; \
19899 /* | [A-Za-z]:[\\/]*) \
19900 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
19901 libsrcdir="$$s/libiberty";; \
19902 *) \
19903 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
19904 libsrcdir="$$s/libiberty";; \
19905 esac; \
19906 $(SHELL) $${libsrcdir}/configure \
19907 $(HOST_CONFIGARGS) $${srcdiroption} \
19908 || exit 1
19909
19910.PHONY: all-libiberty maybe-all-libiberty
19911maybe-all-libiberty:
19912all-libiberty: configure-libiberty
8c90b13a
L
19913 @r=`${PWD_COMMAND}`; export r; \
19914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19915 $(SET_LIB_PATH) \
19916 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19917
7e2dbcef
NN
19918.PHONY: check-libiberty maybe-check-libiberty
19919maybe-check-libiberty:
4977bab6 19920
4977bab6 19921check-libiberty:
8c90b13a
L
19922 @r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19924 $(SET_LIB_PATH) \
19925 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19926
19927
4977bab6
ZW
19928.PHONY: install-libiberty maybe-install-libiberty
19929maybe-install-libiberty:
7e2dbcef 19930
4977bab6 19931install-libiberty: installdirs
8c90b13a
L
19932 @r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19934 $(SET_LIB_PATH) \
19935 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
19936
19937
19938.PHONY: configure-libtool maybe-configure-libtool
19939maybe-configure-libtool:
ade82b16
AO
19940configure-libtool:
19941 @test ! -f libtool/Makefile || exit 0; \
19942 [ -d libtool ] || mkdir libtool; \
8c90b13a
L
19943 r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
19945 CC="$(CC)"; export CC; \
19946 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19947 CXX="$(CXX)"; export CXX; \
19948 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
19949 AR="$(AR)"; export AR; \
19950 AS="$(AS)"; export AS; \
19951 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19952 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19953 LD="$(LD)"; export LD; \
19954 NM="$(NM)"; export NM; \
19955 RANLIB="$(RANLIB)"; export RANLIB; \
19956 WINDRES="$(WINDRES)"; export WINDRES; \
19957 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19958 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
19959 echo Configuring in libtool; \
19960 cd libtool || exit 1; \
19961 case $(srcdir) in \
19962 \.) \
19963 srcdiroption="--srcdir=."; \
19964 libsrcdir=".";; \
19965 /* | [A-Za-z]:[\\/]*) \
19966 srcdiroption="--srcdir=$(srcdir)/libtool"; \
19967 libsrcdir="$$s/libtool";; \
19968 *) \
19969 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
19970 libsrcdir="$$s/libtool";; \
19971 esac; \
19972 $(SHELL) $${libsrcdir}/configure \
19973 $(HOST_CONFIGARGS) $${srcdiroption} \
19974 || exit 1
19975
19976.PHONY: all-libtool maybe-all-libtool
19977maybe-all-libtool:
19978all-libtool: configure-libtool
8c90b13a
L
19979 @r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19981 $(SET_LIB_PATH) \
19982 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 19983
7e2dbcef
NN
19984.PHONY: check-libtool maybe-check-libtool
19985maybe-check-libtool:
4977bab6 19986
4977bab6 19987check-libtool:
8c90b13a
L
19988 @r=`${PWD_COMMAND}`; export r; \
19989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
19990 $(SET_LIB_PATH) \
19991 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
19992
19993
4977bab6
ZW
19994.PHONY: install-libtool maybe-install-libtool
19995maybe-install-libtool:
7e2dbcef 19996
4977bab6 19997install-libtool: installdirs
8c90b13a
L
19998 @r=`${PWD_COMMAND}`; export r; \
19999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20000 $(SET_LIB_PATH) \
20001 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20002
20003
20004.PHONY: configure-m4 maybe-configure-m4
20005maybe-configure-m4:
ade82b16
AO
20006configure-m4:
20007 @test ! -f m4/Makefile || exit 0; \
20008 [ -d m4 ] || mkdir m4; \
8c90b13a
L
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20011 CC="$(CC)"; export CC; \
20012 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20013 CXX="$(CXX)"; export CXX; \
20014 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20015 AR="$(AR)"; export AR; \
20016 AS="$(AS)"; export AS; \
20017 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20018 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20019 LD="$(LD)"; export LD; \
20020 NM="$(NM)"; export NM; \
20021 RANLIB="$(RANLIB)"; export RANLIB; \
20022 WINDRES="$(WINDRES)"; export WINDRES; \
20023 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20024 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20025 echo Configuring in m4; \
20026 cd m4 || exit 1; \
20027 case $(srcdir) in \
20028 \.) \
20029 srcdiroption="--srcdir=."; \
20030 libsrcdir=".";; \
20031 /* | [A-Za-z]:[\\/]*) \
20032 srcdiroption="--srcdir=$(srcdir)/m4"; \
20033 libsrcdir="$$s/m4";; \
20034 *) \
20035 srcdiroption="--srcdir=../$(srcdir)/m4"; \
20036 libsrcdir="$$s/m4";; \
20037 esac; \
20038 $(SHELL) $${libsrcdir}/configure \
20039 $(HOST_CONFIGARGS) $${srcdiroption} \
20040 || exit 1
20041
20042.PHONY: all-m4 maybe-all-m4
20043maybe-all-m4:
20044all-m4: configure-m4
8c90b13a
L
20045 @r=`${PWD_COMMAND}`; export r; \
20046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20047 $(SET_LIB_PATH) \
20048 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20049
7e2dbcef
NN
20050.PHONY: check-m4 maybe-check-m4
20051maybe-check-m4:
4977bab6 20052
4977bab6 20053check-m4:
8c90b13a
L
20054 @r=`${PWD_COMMAND}`; export r; \
20055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20056 $(SET_LIB_PATH) \
20057 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20058
20059
4977bab6
ZW
20060.PHONY: install-m4 maybe-install-m4
20061maybe-install-m4:
7e2dbcef 20062
4977bab6 20063install-m4: installdirs
8c90b13a
L
20064 @r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20066 $(SET_LIB_PATH) \
20067 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20068
20069
20070.PHONY: configure-make maybe-configure-make
20071maybe-configure-make:
ade82b16
AO
20072configure-make:
20073 @test ! -f make/Makefile || exit 0; \
20074 [ -d make ] || mkdir make; \
8c90b13a
L
20075 r=`${PWD_COMMAND}`; export r; \
20076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20077 CC="$(CC)"; export CC; \
20078 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20079 CXX="$(CXX)"; export CXX; \
20080 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20081 AR="$(AR)"; export AR; \
20082 AS="$(AS)"; export AS; \
20083 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20084 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20085 LD="$(LD)"; export LD; \
20086 NM="$(NM)"; export NM; \
20087 RANLIB="$(RANLIB)"; export RANLIB; \
20088 WINDRES="$(WINDRES)"; export WINDRES; \
20089 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20090 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20091 echo Configuring in make; \
20092 cd make || exit 1; \
20093 case $(srcdir) in \
20094 \.) \
20095 srcdiroption="--srcdir=."; \
20096 libsrcdir=".";; \
20097 /* | [A-Za-z]:[\\/]*) \
20098 srcdiroption="--srcdir=$(srcdir)/make"; \
20099 libsrcdir="$$s/make";; \
20100 *) \
20101 srcdiroption="--srcdir=../$(srcdir)/make"; \
20102 libsrcdir="$$s/make";; \
20103 esac; \
20104 $(SHELL) $${libsrcdir}/configure \
20105 $(HOST_CONFIGARGS) $${srcdiroption} \
20106 || exit 1
20107
20108.PHONY: all-make maybe-all-make
20109maybe-all-make:
20110all-make: configure-make
8c90b13a
L
20111 @r=`${PWD_COMMAND}`; export r; \
20112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20113 $(SET_LIB_PATH) \
20114 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20115
7e2dbcef
NN
20116.PHONY: check-make maybe-check-make
20117maybe-check-make:
4977bab6 20118
4977bab6 20119check-make:
8c90b13a
L
20120 @r=`${PWD_COMMAND}`; export r; \
20121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20122 $(SET_LIB_PATH) \
20123 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20124
20125
4977bab6
ZW
20126.PHONY: install-make maybe-install-make
20127maybe-install-make:
7e2dbcef 20128
4977bab6 20129install-make: installdirs
8c90b13a
L
20130 @r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20132 $(SET_LIB_PATH) \
20133 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20134
20135
20136.PHONY: configure-mmalloc maybe-configure-mmalloc
20137maybe-configure-mmalloc:
ade82b16
AO
20138configure-mmalloc:
20139 @test ! -f mmalloc/Makefile || exit 0; \
20140 [ -d mmalloc ] || mkdir mmalloc; \
8c90b13a
L
20141 r=`${PWD_COMMAND}`; export r; \
20142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20143 CC="$(CC)"; export CC; \
20144 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20145 CXX="$(CXX)"; export CXX; \
20146 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20147 AR="$(AR)"; export AR; \
20148 AS="$(AS)"; export AS; \
20149 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20150 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20151 LD="$(LD)"; export LD; \
20152 NM="$(NM)"; export NM; \
20153 RANLIB="$(RANLIB)"; export RANLIB; \
20154 WINDRES="$(WINDRES)"; export WINDRES; \
20155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20157 echo Configuring in mmalloc; \
20158 cd mmalloc || exit 1; \
20159 case $(srcdir) in \
20160 \.) \
20161 srcdiroption="--srcdir=."; \
20162 libsrcdir=".";; \
20163 /* | [A-Za-z]:[\\/]*) \
20164 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
20165 libsrcdir="$$s/mmalloc";; \
20166 *) \
20167 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
20168 libsrcdir="$$s/mmalloc";; \
20169 esac; \
20170 $(SHELL) $${libsrcdir}/configure \
20171 $(HOST_CONFIGARGS) $${srcdiroption} \
20172 || exit 1
20173
20174.PHONY: all-mmalloc maybe-all-mmalloc
20175maybe-all-mmalloc:
20176all-mmalloc: configure-mmalloc
8c90b13a
L
20177 @r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20179 $(SET_LIB_PATH) \
20180 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20181
7e2dbcef
NN
20182.PHONY: check-mmalloc maybe-check-mmalloc
20183maybe-check-mmalloc:
4977bab6 20184
4977bab6
ZW
20185check-mmalloc:
20186
20187
4977bab6
ZW
20188.PHONY: install-mmalloc maybe-install-mmalloc
20189maybe-install-mmalloc:
7e2dbcef 20190
4977bab6 20191install-mmalloc: installdirs
8c90b13a
L
20192 @r=`${PWD_COMMAND}`; export r; \
20193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20194 $(SET_LIB_PATH) \
20195 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20196
20197
20198.PHONY: configure-patch maybe-configure-patch
20199maybe-configure-patch:
ade82b16
AO
20200configure-patch:
20201 @test ! -f patch/Makefile || exit 0; \
20202 [ -d patch ] || mkdir patch; \
8c90b13a
L
20203 r=`${PWD_COMMAND}`; export r; \
20204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20205 CC="$(CC)"; export CC; \
20206 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20207 CXX="$(CXX)"; export CXX; \
20208 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20209 AR="$(AR)"; export AR; \
20210 AS="$(AS)"; export AS; \
20211 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20212 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20213 LD="$(LD)"; export LD; \
20214 NM="$(NM)"; export NM; \
20215 RANLIB="$(RANLIB)"; export RANLIB; \
20216 WINDRES="$(WINDRES)"; export WINDRES; \
20217 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20218 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20219 echo Configuring in patch; \
20220 cd patch || exit 1; \
20221 case $(srcdir) in \
20222 \.) \
20223 srcdiroption="--srcdir=."; \
20224 libsrcdir=".";; \
20225 /* | [A-Za-z]:[\\/]*) \
20226 srcdiroption="--srcdir=$(srcdir)/patch"; \
20227 libsrcdir="$$s/patch";; \
20228 *) \
20229 srcdiroption="--srcdir=../$(srcdir)/patch"; \
20230 libsrcdir="$$s/patch";; \
20231 esac; \
20232 $(SHELL) $${libsrcdir}/configure \
20233 $(HOST_CONFIGARGS) $${srcdiroption} \
20234 || exit 1
20235
20236.PHONY: all-patch maybe-all-patch
20237maybe-all-patch:
20238all-patch: configure-patch
8c90b13a
L
20239 @r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20241 $(SET_LIB_PATH) \
20242 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20243
7e2dbcef
NN
20244.PHONY: check-patch maybe-check-patch
20245maybe-check-patch:
4977bab6 20246
4977bab6 20247check-patch:
8c90b13a
L
20248 @r=`${PWD_COMMAND}`; export r; \
20249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20250 $(SET_LIB_PATH) \
20251 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20252
20253
4977bab6
ZW
20254.PHONY: install-patch maybe-install-patch
20255maybe-install-patch:
7e2dbcef 20256
4977bab6 20257install-patch: installdirs
8c90b13a
L
20258 @r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20260 $(SET_LIB_PATH) \
20261 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20262
20263
20264.PHONY: configure-perl maybe-configure-perl
20265maybe-configure-perl:
ade82b16
AO
20266configure-perl:
20267 @test ! -f perl/Makefile || exit 0; \
20268 [ -d perl ] || mkdir perl; \
8c90b13a
L
20269 r=`${PWD_COMMAND}`; export r; \
20270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20271 CC="$(CC)"; export CC; \
20272 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20273 CXX="$(CXX)"; export CXX; \
20274 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20275 AR="$(AR)"; export AR; \
20276 AS="$(AS)"; export AS; \
20277 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20278 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20279 LD="$(LD)"; export LD; \
20280 NM="$(NM)"; export NM; \
20281 RANLIB="$(RANLIB)"; export RANLIB; \
20282 WINDRES="$(WINDRES)"; export WINDRES; \
20283 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20284 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20285 echo Configuring in perl; \
20286 cd perl || exit 1; \
20287 case $(srcdir) in \
20288 \.) \
20289 srcdiroption="--srcdir=."; \
20290 libsrcdir=".";; \
20291 /* | [A-Za-z]:[\\/]*) \
20292 srcdiroption="--srcdir=$(srcdir)/perl"; \
20293 libsrcdir="$$s/perl";; \
20294 *) \
20295 srcdiroption="--srcdir=../$(srcdir)/perl"; \
20296 libsrcdir="$$s/perl";; \
20297 esac; \
20298 $(SHELL) $${libsrcdir}/configure \
20299 $(HOST_CONFIGARGS) $${srcdiroption} \
20300 || exit 1
20301
20302.PHONY: all-perl maybe-all-perl
20303maybe-all-perl:
20304all-perl: configure-perl
8c90b13a
L
20305 @r=`${PWD_COMMAND}`; export r; \
20306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20307 $(SET_LIB_PATH) \
20308 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20309
7e2dbcef
NN
20310.PHONY: check-perl maybe-check-perl
20311maybe-check-perl:
4977bab6 20312
4977bab6 20313check-perl:
8c90b13a
L
20314 @r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20316 $(SET_LIB_PATH) \
20317 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20318
20319
4977bab6
ZW
20320.PHONY: install-perl maybe-install-perl
20321maybe-install-perl:
7e2dbcef 20322
4977bab6 20323install-perl: installdirs
8c90b13a
L
20324 @r=`${PWD_COMMAND}`; export r; \
20325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20326 $(SET_LIB_PATH) \
20327 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20328
20329
20330.PHONY: configure-prms maybe-configure-prms
20331maybe-configure-prms:
ade82b16
AO
20332configure-prms:
20333 @test ! -f prms/Makefile || exit 0; \
20334 [ -d prms ] || mkdir prms; \
8c90b13a
L
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20337 CC="$(CC)"; export CC; \
20338 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20339 CXX="$(CXX)"; export CXX; \
20340 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20341 AR="$(AR)"; export AR; \
20342 AS="$(AS)"; export AS; \
20343 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20344 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20345 LD="$(LD)"; export LD; \
20346 NM="$(NM)"; export NM; \
20347 RANLIB="$(RANLIB)"; export RANLIB; \
20348 WINDRES="$(WINDRES)"; export WINDRES; \
20349 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20350 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20351 echo Configuring in prms; \
20352 cd prms || exit 1; \
20353 case $(srcdir) in \
20354 \.) \
20355 srcdiroption="--srcdir=."; \
20356 libsrcdir=".";; \
20357 /* | [A-Za-z]:[\\/]*) \
20358 srcdiroption="--srcdir=$(srcdir)/prms"; \
20359 libsrcdir="$$s/prms";; \
20360 *) \
20361 srcdiroption="--srcdir=../$(srcdir)/prms"; \
20362 libsrcdir="$$s/prms";; \
20363 esac; \
20364 $(SHELL) $${libsrcdir}/configure \
20365 $(HOST_CONFIGARGS) $${srcdiroption} \
20366 || exit 1
20367
20368.PHONY: all-prms maybe-all-prms
20369maybe-all-prms:
20370all-prms: configure-prms
8c90b13a
L
20371 @r=`${PWD_COMMAND}`; export r; \
20372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20373 $(SET_LIB_PATH) \
20374 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20375
7e2dbcef
NN
20376.PHONY: check-prms maybe-check-prms
20377maybe-check-prms:
4977bab6 20378
4977bab6 20379check-prms:
8c90b13a
L
20380 @r=`${PWD_COMMAND}`; export r; \
20381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20382 $(SET_LIB_PATH) \
20383 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20384
20385
4977bab6
ZW
20386.PHONY: install-prms maybe-install-prms
20387maybe-install-prms:
7e2dbcef 20388
4977bab6 20389install-prms: installdirs
8c90b13a
L
20390 @r=`${PWD_COMMAND}`; export r; \
20391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20392 $(SET_LIB_PATH) \
20393 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20394
20395
20396.PHONY: configure-rcs maybe-configure-rcs
20397maybe-configure-rcs:
ade82b16
AO
20398configure-rcs:
20399 @test ! -f rcs/Makefile || exit 0; \
20400 [ -d rcs ] || mkdir rcs; \
8c90b13a
L
20401 r=`${PWD_COMMAND}`; export r; \
20402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20403 CC="$(CC)"; export CC; \
20404 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20405 CXX="$(CXX)"; export CXX; \
20406 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20407 AR="$(AR)"; export AR; \
20408 AS="$(AS)"; export AS; \
20409 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20410 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20411 LD="$(LD)"; export LD; \
20412 NM="$(NM)"; export NM; \
20413 RANLIB="$(RANLIB)"; export RANLIB; \
20414 WINDRES="$(WINDRES)"; export WINDRES; \
20415 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20416 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20417 echo Configuring in rcs; \
20418 cd rcs || exit 1; \
20419 case $(srcdir) in \
20420 \.) \
20421 srcdiroption="--srcdir=."; \
20422 libsrcdir=".";; \
20423 /* | [A-Za-z]:[\\/]*) \
20424 srcdiroption="--srcdir=$(srcdir)/rcs"; \
20425 libsrcdir="$$s/rcs";; \
20426 *) \
20427 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
20428 libsrcdir="$$s/rcs";; \
20429 esac; \
20430 $(SHELL) $${libsrcdir}/configure \
20431 $(HOST_CONFIGARGS) $${srcdiroption} \
20432 || exit 1
20433
20434.PHONY: all-rcs maybe-all-rcs
20435maybe-all-rcs:
20436all-rcs: configure-rcs
8c90b13a
L
20437 @r=`${PWD_COMMAND}`; export r; \
20438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20439 $(SET_LIB_PATH) \
20440 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20441
7e2dbcef
NN
20442.PHONY: check-rcs maybe-check-rcs
20443maybe-check-rcs:
4977bab6 20444
4977bab6 20445check-rcs:
8c90b13a
L
20446 @r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20448 $(SET_LIB_PATH) \
20449 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20450
20451
4977bab6
ZW
20452.PHONY: install-rcs maybe-install-rcs
20453maybe-install-rcs:
7e2dbcef 20454
4977bab6 20455install-rcs: installdirs
8c90b13a
L
20456 @r=`${PWD_COMMAND}`; export r; \
20457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20458 $(SET_LIB_PATH) \
20459 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20460
20461
20462.PHONY: configure-readline maybe-configure-readline
20463maybe-configure-readline:
ade82b16
AO
20464configure-readline:
20465 @test ! -f readline/Makefile || exit 0; \
20466 [ -d readline ] || mkdir readline; \
8c90b13a
L
20467 r=`${PWD_COMMAND}`; export r; \
20468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20469 CC="$(CC)"; export CC; \
20470 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20471 CXX="$(CXX)"; export CXX; \
20472 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20473 AR="$(AR)"; export AR; \
20474 AS="$(AS)"; export AS; \
20475 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20476 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20477 LD="$(LD)"; export LD; \
20478 NM="$(NM)"; export NM; \
20479 RANLIB="$(RANLIB)"; export RANLIB; \
20480 WINDRES="$(WINDRES)"; export WINDRES; \
20481 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20482 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20483 echo Configuring in readline; \
20484 cd readline || exit 1; \
20485 case $(srcdir) in \
20486 \.) \
20487 srcdiroption="--srcdir=."; \
20488 libsrcdir=".";; \
20489 /* | [A-Za-z]:[\\/]*) \
20490 srcdiroption="--srcdir=$(srcdir)/readline"; \
20491 libsrcdir="$$s/readline";; \
20492 *) \
20493 srcdiroption="--srcdir=../$(srcdir)/readline"; \
20494 libsrcdir="$$s/readline";; \
20495 esac; \
20496 $(SHELL) $${libsrcdir}/configure \
20497 $(HOST_CONFIGARGS) $${srcdiroption} \
20498 || exit 1
20499
20500.PHONY: all-readline maybe-all-readline
20501maybe-all-readline:
20502all-readline: configure-readline
8c90b13a
L
20503 @r=`${PWD_COMMAND}`; export r; \
20504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20505 $(SET_LIB_PATH) \
20506 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20507
7e2dbcef
NN
20508.PHONY: check-readline maybe-check-readline
20509maybe-check-readline:
4977bab6 20510
4977bab6 20511check-readline:
8c90b13a
L
20512 @r=`${PWD_COMMAND}`; export r; \
20513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20514 $(SET_LIB_PATH) \
20515 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20516
20517
4977bab6
ZW
20518.PHONY: install-readline maybe-install-readline
20519maybe-install-readline:
7e2dbcef 20520
4977bab6 20521install-readline: installdirs
8c90b13a
L
20522 @r=`${PWD_COMMAND}`; export r; \
20523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20524 $(SET_LIB_PATH) \
20525 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20526
20527
20528.PHONY: configure-release maybe-configure-release
20529maybe-configure-release:
ade82b16
AO
20530configure-release:
20531 @test ! -f release/Makefile || exit 0; \
20532 [ -d release ] || mkdir release; \
8c90b13a
L
20533 r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20535 CC="$(CC)"; export CC; \
20536 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20537 CXX="$(CXX)"; export CXX; \
20538 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20539 AR="$(AR)"; export AR; \
20540 AS="$(AS)"; export AS; \
20541 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20542 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20543 LD="$(LD)"; export LD; \
20544 NM="$(NM)"; export NM; \
20545 RANLIB="$(RANLIB)"; export RANLIB; \
20546 WINDRES="$(WINDRES)"; export WINDRES; \
20547 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20548 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20549 echo Configuring in release; \
20550 cd release || exit 1; \
20551 case $(srcdir) in \
20552 \.) \
20553 srcdiroption="--srcdir=."; \
20554 libsrcdir=".";; \
20555 /* | [A-Za-z]:[\\/]*) \
20556 srcdiroption="--srcdir=$(srcdir)/release"; \
20557 libsrcdir="$$s/release";; \
20558 *) \
20559 srcdiroption="--srcdir=../$(srcdir)/release"; \
20560 libsrcdir="$$s/release";; \
20561 esac; \
20562 $(SHELL) $${libsrcdir}/configure \
20563 $(HOST_CONFIGARGS) $${srcdiroption} \
20564 || exit 1
20565
20566.PHONY: all-release maybe-all-release
20567maybe-all-release:
20568all-release: configure-release
8c90b13a
L
20569 @r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20571 $(SET_LIB_PATH) \
20572 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20573
7e2dbcef
NN
20574.PHONY: check-release maybe-check-release
20575maybe-check-release:
4977bab6 20576
4977bab6
ZW
20577check-release:
20578
20579
4977bab6
ZW
20580.PHONY: install-release maybe-install-release
20581maybe-install-release:
7e2dbcef 20582
4977bab6
ZW
20583install-release:
20584
20585
20586.PHONY: configure-recode maybe-configure-recode
20587maybe-configure-recode:
ade82b16
AO
20588configure-recode:
20589 @test ! -f recode/Makefile || exit 0; \
20590 [ -d recode ] || mkdir recode; \
8c90b13a
L
20591 r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20593 CC="$(CC)"; export CC; \
20594 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20595 CXX="$(CXX)"; export CXX; \
20596 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20597 AR="$(AR)"; export AR; \
20598 AS="$(AS)"; export AS; \
20599 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20600 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20601 LD="$(LD)"; export LD; \
20602 NM="$(NM)"; export NM; \
20603 RANLIB="$(RANLIB)"; export RANLIB; \
20604 WINDRES="$(WINDRES)"; export WINDRES; \
20605 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20606 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20607 echo Configuring in recode; \
20608 cd recode || exit 1; \
20609 case $(srcdir) in \
20610 \.) \
20611 srcdiroption="--srcdir=."; \
20612 libsrcdir=".";; \
20613 /* | [A-Za-z]:[\\/]*) \
20614 srcdiroption="--srcdir=$(srcdir)/recode"; \
20615 libsrcdir="$$s/recode";; \
20616 *) \
20617 srcdiroption="--srcdir=../$(srcdir)/recode"; \
20618 libsrcdir="$$s/recode";; \
20619 esac; \
20620 $(SHELL) $${libsrcdir}/configure \
20621 $(HOST_CONFIGARGS) $${srcdiroption} \
20622 || exit 1
20623
20624.PHONY: all-recode maybe-all-recode
20625maybe-all-recode:
20626all-recode: configure-recode
8c90b13a
L
20627 @r=`${PWD_COMMAND}`; export r; \
20628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20629 $(SET_LIB_PATH) \
20630 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20631
7e2dbcef
NN
20632.PHONY: check-recode maybe-check-recode
20633maybe-check-recode:
4977bab6 20634
4977bab6 20635check-recode:
8c90b13a
L
20636 @r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20638 $(SET_LIB_PATH) \
20639 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20640
20641
4977bab6
ZW
20642.PHONY: install-recode maybe-install-recode
20643maybe-install-recode:
7e2dbcef 20644
4977bab6 20645install-recode: installdirs
8c90b13a
L
20646 @r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20648 $(SET_LIB_PATH) \
20649 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20650
20651
20652.PHONY: configure-sed maybe-configure-sed
20653maybe-configure-sed:
ade82b16
AO
20654configure-sed:
20655 @test ! -f sed/Makefile || exit 0; \
20656 [ -d sed ] || mkdir sed; \
8c90b13a
L
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20659 CC="$(CC)"; export CC; \
20660 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20661 CXX="$(CXX)"; export CXX; \
20662 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20663 AR="$(AR)"; export AR; \
20664 AS="$(AS)"; export AS; \
20665 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20666 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20667 LD="$(LD)"; export LD; \
20668 NM="$(NM)"; export NM; \
20669 RANLIB="$(RANLIB)"; export RANLIB; \
20670 WINDRES="$(WINDRES)"; export WINDRES; \
20671 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20672 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20673 echo Configuring in sed; \
20674 cd sed || exit 1; \
20675 case $(srcdir) in \
20676 \.) \
20677 srcdiroption="--srcdir=."; \
20678 libsrcdir=".";; \
20679 /* | [A-Za-z]:[\\/]*) \
20680 srcdiroption="--srcdir=$(srcdir)/sed"; \
20681 libsrcdir="$$s/sed";; \
20682 *) \
20683 srcdiroption="--srcdir=../$(srcdir)/sed"; \
20684 libsrcdir="$$s/sed";; \
20685 esac; \
20686 $(SHELL) $${libsrcdir}/configure \
20687 $(HOST_CONFIGARGS) $${srcdiroption} \
20688 || exit 1
20689
20690.PHONY: all-sed maybe-all-sed
20691maybe-all-sed:
20692all-sed: configure-sed
8c90b13a
L
20693 @r=`${PWD_COMMAND}`; export r; \
20694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20695 $(SET_LIB_PATH) \
20696 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20697
7e2dbcef
NN
20698.PHONY: check-sed maybe-check-sed
20699maybe-check-sed:
4977bab6 20700
4977bab6 20701check-sed:
8c90b13a
L
20702 @r=`${PWD_COMMAND}`; export r; \
20703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20704 $(SET_LIB_PATH) \
20705 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20706
20707
4977bab6
ZW
20708.PHONY: install-sed maybe-install-sed
20709maybe-install-sed:
7e2dbcef 20710
4977bab6 20711install-sed: installdirs
8c90b13a
L
20712 @r=`${PWD_COMMAND}`; export r; \
20713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20714 $(SET_LIB_PATH) \
20715 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20716
20717
20718.PHONY: configure-send-pr maybe-configure-send-pr
20719maybe-configure-send-pr:
ade82b16
AO
20720configure-send-pr:
20721 @test ! -f send-pr/Makefile || exit 0; \
20722 [ -d send-pr ] || mkdir send-pr; \
8c90b13a
L
20723 r=`${PWD_COMMAND}`; export r; \
20724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20725 CC="$(CC)"; export CC; \
20726 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20727 CXX="$(CXX)"; export CXX; \
20728 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20729 AR="$(AR)"; export AR; \
20730 AS="$(AS)"; export AS; \
20731 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20732 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20733 LD="$(LD)"; export LD; \
20734 NM="$(NM)"; export NM; \
20735 RANLIB="$(RANLIB)"; export RANLIB; \
20736 WINDRES="$(WINDRES)"; export WINDRES; \
20737 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20738 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20739 echo Configuring in send-pr; \
20740 cd send-pr || exit 1; \
20741 case $(srcdir) in \
20742 \.) \
20743 srcdiroption="--srcdir=."; \
20744 libsrcdir=".";; \
20745 /* | [A-Za-z]:[\\/]*) \
20746 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
20747 libsrcdir="$$s/send-pr";; \
20748 *) \
20749 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
20750 libsrcdir="$$s/send-pr";; \
20751 esac; \
20752 $(SHELL) $${libsrcdir}/configure \
20753 $(HOST_CONFIGARGS) $${srcdiroption} \
20754 || exit 1
20755
20756.PHONY: all-send-pr maybe-all-send-pr
20757maybe-all-send-pr:
20758all-send-pr: configure-send-pr
8c90b13a
L
20759 @r=`${PWD_COMMAND}`; export r; \
20760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20761 $(SET_LIB_PATH) \
20762 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20763
7e2dbcef
NN
20764.PHONY: check-send-pr maybe-check-send-pr
20765maybe-check-send-pr:
4977bab6 20766
4977bab6 20767check-send-pr:
8c90b13a
L
20768 @r=`${PWD_COMMAND}`; export r; \
20769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20770 $(SET_LIB_PATH) \
20771 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20772
20773
4977bab6
ZW
20774.PHONY: install-send-pr maybe-install-send-pr
20775maybe-install-send-pr:
7e2dbcef 20776
4977bab6 20777install-send-pr: installdirs
8c90b13a
L
20778 @r=`${PWD_COMMAND}`; export r; \
20779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20780 $(SET_LIB_PATH) \
20781 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20782
20783
20784.PHONY: configure-shellutils maybe-configure-shellutils
20785maybe-configure-shellutils:
ade82b16
AO
20786configure-shellutils:
20787 @test ! -f shellutils/Makefile || exit 0; \
20788 [ -d shellutils ] || mkdir shellutils; \
8c90b13a
L
20789 r=`${PWD_COMMAND}`; export r; \
20790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20791 CC="$(CC)"; export CC; \
20792 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20793 CXX="$(CXX)"; export CXX; \
20794 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20795 AR="$(AR)"; export AR; \
20796 AS="$(AS)"; export AS; \
20797 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20798 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20799 LD="$(LD)"; export LD; \
20800 NM="$(NM)"; export NM; \
20801 RANLIB="$(RANLIB)"; export RANLIB; \
20802 WINDRES="$(WINDRES)"; export WINDRES; \
20803 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20804 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20805 echo Configuring in shellutils; \
20806 cd shellutils || exit 1; \
20807 case $(srcdir) in \
20808 \.) \
20809 srcdiroption="--srcdir=."; \
20810 libsrcdir=".";; \
20811 /* | [A-Za-z]:[\\/]*) \
20812 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
20813 libsrcdir="$$s/shellutils";; \
20814 *) \
20815 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
20816 libsrcdir="$$s/shellutils";; \
20817 esac; \
20818 $(SHELL) $${libsrcdir}/configure \
20819 $(HOST_CONFIGARGS) $${srcdiroption} \
20820 || exit 1
20821
20822.PHONY: all-shellutils maybe-all-shellutils
20823maybe-all-shellutils:
20824all-shellutils: configure-shellutils
8c90b13a
L
20825 @r=`${PWD_COMMAND}`; export r; \
20826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20827 $(SET_LIB_PATH) \
20828 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20829
7e2dbcef
NN
20830.PHONY: check-shellutils maybe-check-shellutils
20831maybe-check-shellutils:
4977bab6 20832
4977bab6 20833check-shellutils:
8c90b13a
L
20834 @r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20836 $(SET_LIB_PATH) \
20837 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20838
20839
4977bab6
ZW
20840.PHONY: install-shellutils maybe-install-shellutils
20841maybe-install-shellutils:
7e2dbcef 20842
4977bab6 20843install-shellutils: installdirs
8c90b13a
L
20844 @r=`${PWD_COMMAND}`; export r; \
20845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20846 $(SET_LIB_PATH) \
20847 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20848
20849
20850.PHONY: configure-sid maybe-configure-sid
20851maybe-configure-sid:
ade82b16
AO
20852configure-sid:
20853 @test ! -f sid/Makefile || exit 0; \
20854 [ -d sid ] || mkdir sid; \
8c90b13a
L
20855 r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20857 CC="$(CC)"; export CC; \
20858 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20859 CXX="$(CXX)"; export CXX; \
20860 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20861 AR="$(AR)"; export AR; \
20862 AS="$(AS)"; export AS; \
20863 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20864 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20865 LD="$(LD)"; export LD; \
20866 NM="$(NM)"; export NM; \
20867 RANLIB="$(RANLIB)"; export RANLIB; \
20868 WINDRES="$(WINDRES)"; export WINDRES; \
20869 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20870 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20871 echo Configuring in sid; \
20872 cd sid || exit 1; \
20873 case $(srcdir) in \
20874 \.) \
20875 srcdiroption="--srcdir=."; \
20876 libsrcdir=".";; \
20877 /* | [A-Za-z]:[\\/]*) \
20878 srcdiroption="--srcdir=$(srcdir)/sid"; \
20879 libsrcdir="$$s/sid";; \
20880 *) \
20881 srcdiroption="--srcdir=../$(srcdir)/sid"; \
20882 libsrcdir="$$s/sid";; \
20883 esac; \
20884 $(SHELL) $${libsrcdir}/configure \
20885 $(HOST_CONFIGARGS) $${srcdiroption} \
20886 || exit 1
20887
20888.PHONY: all-sid maybe-all-sid
20889maybe-all-sid:
20890all-sid: configure-sid
8c90b13a
L
20891 @r=`${PWD_COMMAND}`; export r; \
20892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20893 $(SET_LIB_PATH) \
20894 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20895
7e2dbcef
NN
20896.PHONY: check-sid maybe-check-sid
20897maybe-check-sid:
4977bab6 20898
4977bab6 20899check-sid:
8c90b13a
L
20900 @r=`${PWD_COMMAND}`; export r; \
20901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20902 $(SET_LIB_PATH) \
20903 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20904
20905
4977bab6
ZW
20906.PHONY: install-sid maybe-install-sid
20907maybe-install-sid:
7e2dbcef 20908
4977bab6 20909install-sid: installdirs
8c90b13a
L
20910 @r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20912 $(SET_LIB_PATH) \
20913 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20914
20915
20916.PHONY: configure-sim maybe-configure-sim
20917maybe-configure-sim:
ade82b16
AO
20918configure-sim:
20919 @test ! -f sim/Makefile || exit 0; \
20920 [ -d sim ] || mkdir sim; \
8c90b13a
L
20921 r=`${PWD_COMMAND}`; export r; \
20922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20923 CC="$(CC)"; export CC; \
20924 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20925 CXX="$(CXX)"; export CXX; \
20926 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20927 AR="$(AR)"; export AR; \
20928 AS="$(AS)"; export AS; \
20929 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20930 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20931 LD="$(LD)"; export LD; \
20932 NM="$(NM)"; export NM; \
20933 RANLIB="$(RANLIB)"; export RANLIB; \
20934 WINDRES="$(WINDRES)"; export WINDRES; \
20935 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20936 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
20937 echo Configuring in sim; \
20938 cd sim || exit 1; \
20939 case $(srcdir) in \
20940 \.) \
20941 srcdiroption="--srcdir=."; \
20942 libsrcdir=".";; \
20943 /* | [A-Za-z]:[\\/]*) \
20944 srcdiroption="--srcdir=$(srcdir)/sim"; \
20945 libsrcdir="$$s/sim";; \
20946 *) \
20947 srcdiroption="--srcdir=../$(srcdir)/sim"; \
20948 libsrcdir="$$s/sim";; \
20949 esac; \
20950 $(SHELL) $${libsrcdir}/configure \
20951 $(HOST_CONFIGARGS) $${srcdiroption} \
20952 || exit 1
20953
20954.PHONY: all-sim maybe-all-sim
20955maybe-all-sim:
20956all-sim: configure-sim
8c90b13a
L
20957 @r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20959 $(SET_LIB_PATH) \
20960 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 20961
7e2dbcef
NN
20962.PHONY: check-sim maybe-check-sim
20963maybe-check-sim:
4977bab6 20964
4977bab6 20965check-sim:
8c90b13a
L
20966 @r=`${PWD_COMMAND}`; export r; \
20967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20968 $(SET_LIB_PATH) \
20969 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
20970
20971
4977bab6
ZW
20972.PHONY: install-sim maybe-install-sim
20973maybe-install-sim:
7e2dbcef 20974
4977bab6 20975install-sim: installdirs
8c90b13a
L
20976 @r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
20978 $(SET_LIB_PATH) \
20979 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
20980
20981
4977bab6
ZW
20982.PHONY: configure-tar maybe-configure-tar
20983maybe-configure-tar:
ade82b16
AO
20984configure-tar:
20985 @test ! -f tar/Makefile || exit 0; \
20986 [ -d tar ] || mkdir tar; \
8c90b13a
L
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
20989 CC="$(CC)"; export CC; \
20990 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20991 CXX="$(CXX)"; export CXX; \
20992 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
20993 AR="$(AR)"; export AR; \
20994 AS="$(AS)"; export AS; \
20995 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20996 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20997 LD="$(LD)"; export LD; \
20998 NM="$(NM)"; export NM; \
20999 RANLIB="$(RANLIB)"; export RANLIB; \
21000 WINDRES="$(WINDRES)"; export WINDRES; \
21001 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21002 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21003 echo Configuring in tar; \
21004 cd tar || exit 1; \
21005 case $(srcdir) in \
21006 \.) \
21007 srcdiroption="--srcdir=."; \
21008 libsrcdir=".";; \
21009 /* | [A-Za-z]:[\\/]*) \
21010 srcdiroption="--srcdir=$(srcdir)/tar"; \
21011 libsrcdir="$$s/tar";; \
21012 *) \
21013 srcdiroption="--srcdir=../$(srcdir)/tar"; \
21014 libsrcdir="$$s/tar";; \
21015 esac; \
21016 $(SHELL) $${libsrcdir}/configure \
21017 $(HOST_CONFIGARGS) $${srcdiroption} \
21018 || exit 1
21019
21020.PHONY: all-tar maybe-all-tar
21021maybe-all-tar:
21022all-tar: configure-tar
8c90b13a
L
21023 @r=`${PWD_COMMAND}`; export r; \
21024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21025 $(SET_LIB_PATH) \
21026 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21027
7e2dbcef
NN
21028.PHONY: check-tar maybe-check-tar
21029maybe-check-tar:
4977bab6 21030
4977bab6 21031check-tar:
8c90b13a
L
21032 @r=`${PWD_COMMAND}`; export r; \
21033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21034 $(SET_LIB_PATH) \
21035 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21036
21037
4977bab6
ZW
21038.PHONY: install-tar maybe-install-tar
21039maybe-install-tar:
7e2dbcef 21040
4977bab6 21041install-tar: installdirs
8c90b13a
L
21042 @r=`${PWD_COMMAND}`; export r; \
21043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21044 $(SET_LIB_PATH) \
21045 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21046
21047
21048.PHONY: configure-texinfo maybe-configure-texinfo
21049maybe-configure-texinfo:
ade82b16
AO
21050configure-texinfo:
21051 @test ! -f texinfo/Makefile || exit 0; \
21052 [ -d texinfo ] || mkdir texinfo; \
8c90b13a
L
21053 r=`${PWD_COMMAND}`; export r; \
21054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21055 CC="$(CC)"; export CC; \
21056 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21057 CXX="$(CXX)"; export CXX; \
21058 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21059 AR="$(AR)"; export AR; \
21060 AS="$(AS)"; export AS; \
21061 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21062 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21063 LD="$(LD)"; export LD; \
21064 NM="$(NM)"; export NM; \
21065 RANLIB="$(RANLIB)"; export RANLIB; \
21066 WINDRES="$(WINDRES)"; export WINDRES; \
21067 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21068 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21069 echo Configuring in texinfo; \
21070 cd texinfo || exit 1; \
21071 case $(srcdir) in \
21072 \.) \
21073 srcdiroption="--srcdir=."; \
21074 libsrcdir=".";; \
21075 /* | [A-Za-z]:[\\/]*) \
21076 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
21077 libsrcdir="$$s/texinfo";; \
21078 *) \
21079 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
21080 libsrcdir="$$s/texinfo";; \
21081 esac; \
21082 $(SHELL) $${libsrcdir}/configure \
21083 $(HOST_CONFIGARGS) $${srcdiroption} \
21084 || exit 1
21085
21086.PHONY: all-texinfo maybe-all-texinfo
21087maybe-all-texinfo:
21088all-texinfo: configure-texinfo
8c90b13a
L
21089 @r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21091 $(SET_LIB_PATH) \
21092 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21093
7e2dbcef
NN
21094.PHONY: check-texinfo maybe-check-texinfo
21095maybe-check-texinfo:
4977bab6 21096
4977bab6 21097check-texinfo:
8c90b13a
L
21098 @r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21100 $(SET_LIB_PATH) \
21101 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21102
21103
4977bab6
ZW
21104.PHONY: install-texinfo maybe-install-texinfo
21105maybe-install-texinfo:
7e2dbcef 21106
4977bab6
ZW
21107install-texinfo:
21108
21109
21110.PHONY: configure-textutils maybe-configure-textutils
21111maybe-configure-textutils:
ade82b16
AO
21112configure-textutils:
21113 @test ! -f textutils/Makefile || exit 0; \
21114 [ -d textutils ] || mkdir textutils; \
8c90b13a
L
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21117 CC="$(CC)"; export CC; \
21118 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21119 CXX="$(CXX)"; export CXX; \
21120 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21121 AR="$(AR)"; export AR; \
21122 AS="$(AS)"; export AS; \
21123 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21124 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21125 LD="$(LD)"; export LD; \
21126 NM="$(NM)"; export NM; \
21127 RANLIB="$(RANLIB)"; export RANLIB; \
21128 WINDRES="$(WINDRES)"; export WINDRES; \
21129 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21130 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21131 echo Configuring in textutils; \
21132 cd textutils || exit 1; \
21133 case $(srcdir) in \
21134 \.) \
21135 srcdiroption="--srcdir=."; \
21136 libsrcdir=".";; \
21137 /* | [A-Za-z]:[\\/]*) \
21138 srcdiroption="--srcdir=$(srcdir)/textutils"; \
21139 libsrcdir="$$s/textutils";; \
21140 *) \
21141 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
21142 libsrcdir="$$s/textutils";; \
21143 esac; \
21144 $(SHELL) $${libsrcdir}/configure \
21145 $(HOST_CONFIGARGS) $${srcdiroption} \
21146 || exit 1
21147
21148.PHONY: all-textutils maybe-all-textutils
21149maybe-all-textutils:
21150all-textutils: configure-textutils
8c90b13a
L
21151 @r=`${PWD_COMMAND}`; export r; \
21152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21153 $(SET_LIB_PATH) \
21154 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21155
7e2dbcef
NN
21156.PHONY: check-textutils maybe-check-textutils
21157maybe-check-textutils:
4977bab6 21158
4977bab6 21159check-textutils:
8c90b13a
L
21160 @r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21162 $(SET_LIB_PATH) \
21163 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21164
21165
4977bab6
ZW
21166.PHONY: install-textutils maybe-install-textutils
21167maybe-install-textutils:
7e2dbcef 21168
4977bab6 21169install-textutils: installdirs
8c90b13a
L
21170 @r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21172 $(SET_LIB_PATH) \
21173 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21174
21175
21176.PHONY: configure-time maybe-configure-time
21177maybe-configure-time:
ade82b16
AO
21178configure-time:
21179 @test ! -f time/Makefile || exit 0; \
21180 [ -d time ] || mkdir time; \
8c90b13a
L
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21183 CC="$(CC)"; export CC; \
21184 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21185 CXX="$(CXX)"; export CXX; \
21186 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21187 AR="$(AR)"; export AR; \
21188 AS="$(AS)"; export AS; \
21189 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21190 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21191 LD="$(LD)"; export LD; \
21192 NM="$(NM)"; export NM; \
21193 RANLIB="$(RANLIB)"; export RANLIB; \
21194 WINDRES="$(WINDRES)"; export WINDRES; \
21195 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21196 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21197 echo Configuring in time; \
21198 cd time || exit 1; \
21199 case $(srcdir) in \
21200 \.) \
21201 srcdiroption="--srcdir=."; \
21202 libsrcdir=".";; \
21203 /* | [A-Za-z]:[\\/]*) \
21204 srcdiroption="--srcdir=$(srcdir)/time"; \
21205 libsrcdir="$$s/time";; \
21206 *) \
21207 srcdiroption="--srcdir=../$(srcdir)/time"; \
21208 libsrcdir="$$s/time";; \
21209 esac; \
21210 $(SHELL) $${libsrcdir}/configure \
21211 $(HOST_CONFIGARGS) $${srcdiroption} \
21212 || exit 1
21213
21214.PHONY: all-time maybe-all-time
21215maybe-all-time:
21216all-time: configure-time
8c90b13a
L
21217 @r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21219 $(SET_LIB_PATH) \
21220 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21221
7e2dbcef
NN
21222.PHONY: check-time maybe-check-time
21223maybe-check-time:
4977bab6 21224
4977bab6 21225check-time:
8c90b13a
L
21226 @r=`${PWD_COMMAND}`; export r; \
21227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21228 $(SET_LIB_PATH) \
21229 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21230
21231
4977bab6
ZW
21232.PHONY: install-time maybe-install-time
21233maybe-install-time:
7e2dbcef 21234
4977bab6 21235install-time: installdirs
8c90b13a
L
21236 @r=`${PWD_COMMAND}`; export r; \
21237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21238 $(SET_LIB_PATH) \
21239 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21240
21241
21242.PHONY: configure-uudecode maybe-configure-uudecode
21243maybe-configure-uudecode:
ade82b16
AO
21244configure-uudecode:
21245 @test ! -f uudecode/Makefile || exit 0; \
21246 [ -d uudecode ] || mkdir uudecode; \
8c90b13a
L
21247 r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21249 CC="$(CC)"; export CC; \
21250 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21251 CXX="$(CXX)"; export CXX; \
21252 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21253 AR="$(AR)"; export AR; \
21254 AS="$(AS)"; export AS; \
21255 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21256 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21257 LD="$(LD)"; export LD; \
21258 NM="$(NM)"; export NM; \
21259 RANLIB="$(RANLIB)"; export RANLIB; \
21260 WINDRES="$(WINDRES)"; export WINDRES; \
21261 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21262 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21263 echo Configuring in uudecode; \
21264 cd uudecode || exit 1; \
21265 case $(srcdir) in \
21266 \.) \
21267 srcdiroption="--srcdir=."; \
21268 libsrcdir=".";; \
21269 /* | [A-Za-z]:[\\/]*) \
21270 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21271 libsrcdir="$$s/uudecode";; \
21272 *) \
21273 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21274 libsrcdir="$$s/uudecode";; \
21275 esac; \
21276 $(SHELL) $${libsrcdir}/configure \
21277 $(HOST_CONFIGARGS) $${srcdiroption} \
21278 || exit 1
21279
21280.PHONY: all-uudecode maybe-all-uudecode
21281maybe-all-uudecode:
21282all-uudecode: configure-uudecode
8c90b13a
L
21283 @r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21285 $(SET_LIB_PATH) \
21286 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21287
7e2dbcef
NN
21288.PHONY: check-uudecode maybe-check-uudecode
21289maybe-check-uudecode:
4977bab6 21290
4977bab6 21291check-uudecode:
8c90b13a
L
21292 @r=`${PWD_COMMAND}`; export r; \
21293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21294 $(SET_LIB_PATH) \
21295 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21296
21297
4977bab6
ZW
21298.PHONY: install-uudecode maybe-install-uudecode
21299maybe-install-uudecode:
7e2dbcef 21300
4977bab6 21301install-uudecode: installdirs
8c90b13a
L
21302 @r=`${PWD_COMMAND}`; export r; \
21303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21304 $(SET_LIB_PATH) \
21305 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21306
21307
21308.PHONY: configure-wdiff maybe-configure-wdiff
21309maybe-configure-wdiff:
ade82b16
AO
21310configure-wdiff:
21311 @test ! -f wdiff/Makefile || exit 0; \
21312 [ -d wdiff ] || mkdir wdiff; \
8c90b13a
L
21313 r=`${PWD_COMMAND}`; export r; \
21314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21315 CC="$(CC)"; export CC; \
21316 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21317 CXX="$(CXX)"; export CXX; \
21318 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21319 AR="$(AR)"; export AR; \
21320 AS="$(AS)"; export AS; \
21321 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21322 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21323 LD="$(LD)"; export LD; \
21324 NM="$(NM)"; export NM; \
21325 RANLIB="$(RANLIB)"; export RANLIB; \
21326 WINDRES="$(WINDRES)"; export WINDRES; \
21327 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21328 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21329 echo Configuring in wdiff; \
21330 cd wdiff || exit 1; \
21331 case $(srcdir) in \
21332 \.) \
21333 srcdiroption="--srcdir=."; \
21334 libsrcdir=".";; \
21335 /* | [A-Za-z]:[\\/]*) \
21336 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21337 libsrcdir="$$s/wdiff";; \
21338 *) \
21339 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21340 libsrcdir="$$s/wdiff";; \
21341 esac; \
21342 $(SHELL) $${libsrcdir}/configure \
21343 $(HOST_CONFIGARGS) $${srcdiroption} \
21344 || exit 1
21345
21346.PHONY: all-wdiff maybe-all-wdiff
21347maybe-all-wdiff:
21348all-wdiff: configure-wdiff
8c90b13a
L
21349 @r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21351 $(SET_LIB_PATH) \
21352 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21353
7e2dbcef
NN
21354.PHONY: check-wdiff maybe-check-wdiff
21355maybe-check-wdiff:
4977bab6 21356
4977bab6 21357check-wdiff:
8c90b13a
L
21358 @r=`${PWD_COMMAND}`; export r; \
21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21360 $(SET_LIB_PATH) \
21361 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
4977bab6
ZW
21362
21363
4977bab6
ZW
21364.PHONY: install-wdiff maybe-install-wdiff
21365maybe-install-wdiff:
7e2dbcef 21366
4977bab6 21367install-wdiff: installdirs
8c90b13a
L
21368 @r=`${PWD_COMMAND}`; export r; \
21369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21370 $(SET_LIB_PATH) \
21371 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21372
21373
21374.PHONY: configure-zip maybe-configure-zip
21375maybe-configure-zip:
ade82b16
AO
21376configure-zip:
21377 @test ! -f zip/Makefile || exit 0; \
21378 [ -d zip ] || mkdir zip; \
8c90b13a
L
21379 r=`${PWD_COMMAND}`; export r; \
21380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21381 CC="$(CC)"; export CC; \
21382 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21383 CXX="$(CXX)"; export CXX; \
21384 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21385 AR="$(AR)"; export AR; \
21386 AS="$(AS)"; export AS; \
21387 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21388 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21389 LD="$(LD)"; export LD; \
21390 NM="$(NM)"; export NM; \
21391 RANLIB="$(RANLIB)"; export RANLIB; \
21392 WINDRES="$(WINDRES)"; export WINDRES; \
21393 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21394 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21395 echo Configuring in zip; \
21396 cd zip || exit 1; \
21397 case $(srcdir) in \
21398 \.) \
21399 srcdiroption="--srcdir=."; \
21400 libsrcdir=".";; \
21401 /* | [A-Za-z]:[\\/]*) \
21402 srcdiroption="--srcdir=$(srcdir)/zip"; \
21403 libsrcdir="$$s/zip";; \
21404 *) \
21405 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21406 libsrcdir="$$s/zip";; \
21407 esac; \
21408 $(SHELL) $${libsrcdir}/configure \
21409 $(HOST_CONFIGARGS) $${srcdiroption} \
21410 || exit 1
21411
21412.PHONY: all-zip maybe-all-zip
21413maybe-all-zip:
21414all-zip: configure-zip
8c90b13a
L
21415 @r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21417 $(SET_LIB_PATH) \
21418 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21419
7e2dbcef
NN
21420.PHONY: check-zip maybe-check-zip
21421maybe-check-zip:
4977bab6 21422
4977bab6
ZW
21423# This module is only tested in a native toolchain.
21424check-zip:
e89fbdfe 21425 @if [ '$(host)' = '$(target)' ] ; then \
8c90b13a
L
21426 r=`${PWD_COMMAND}`; export r; \
21427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21428 $(SET_LIB_PATH) \
21429 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
4977bab6
ZW
21430 fi
21431
21432
4977bab6
ZW
21433.PHONY: install-zip maybe-install-zip
21434maybe-install-zip:
7e2dbcef 21435
4977bab6 21436install-zip: installdirs
8c90b13a
L
21437 @r=`${PWD_COMMAND}`; export r; \
21438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21439 $(SET_LIB_PATH) \
21440 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21441
21442
21443.PHONY: configure-zlib maybe-configure-zlib
21444maybe-configure-zlib:
ade82b16
AO
21445configure-zlib:
21446 @test ! -f zlib/Makefile || exit 0; \
21447 [ -d zlib ] || mkdir zlib; \
8c90b13a
L
21448 r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21450 CC="$(CC)"; export CC; \
21451 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21452 CXX="$(CXX)"; export CXX; \
21453 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21454 AR="$(AR)"; export AR; \
21455 AS="$(AS)"; export AS; \
21456 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21457 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21458 LD="$(LD)"; export LD; \
21459 NM="$(NM)"; export NM; \
21460 RANLIB="$(RANLIB)"; export RANLIB; \
21461 WINDRES="$(WINDRES)"; export WINDRES; \
21462 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21463 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21464 echo Configuring in zlib; \
21465 cd zlib || exit 1; \
21466 case $(srcdir) in \
21467 \.) \
21468 srcdiroption="--srcdir=."; \
21469 libsrcdir=".";; \
21470 /* | [A-Za-z]:[\\/]*) \
21471 srcdiroption="--srcdir=$(srcdir)/zlib"; \
21472 libsrcdir="$$s/zlib";; \
21473 *) \
21474 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
21475 libsrcdir="$$s/zlib";; \
21476 esac; \
21477 $(SHELL) $${libsrcdir}/configure \
21478 $(HOST_CONFIGARGS) $${srcdiroption} \
21479 || exit 1
21480
21481.PHONY: all-zlib maybe-all-zlib
21482maybe-all-zlib:
21483all-zlib: configure-zlib
8c90b13a
L
21484 @r=`${PWD_COMMAND}`; export r; \
21485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21486 $(SET_LIB_PATH) \
21487 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21488
7e2dbcef
NN
21489.PHONY: check-zlib maybe-check-zlib
21490maybe-check-zlib:
4977bab6 21491
4977bab6
ZW
21492check-zlib:
21493
21494
4977bab6
ZW
21495.PHONY: install-zlib maybe-install-zlib
21496maybe-install-zlib:
7e2dbcef 21497
4977bab6
ZW
21498install-zlib:
21499
21500
21501.PHONY: configure-gdb maybe-configure-gdb
21502maybe-configure-gdb:
ade82b16
AO
21503configure-gdb:
21504 @test ! -f gdb/Makefile || exit 0; \
21505 [ -d gdb ] || mkdir gdb; \
8c90b13a
L
21506 r=`${PWD_COMMAND}`; export r; \
21507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21508 CC="$(CC)"; export CC; \
21509 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21510 CXX="$(CXX)"; export CXX; \
21511 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
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; \
4977bab6
ZW
21522 echo Configuring in gdb; \
21523 cd gdb || exit 1; \
21524 case $(srcdir) in \
21525 \.) \
21526 srcdiroption="--srcdir=."; \
21527 libsrcdir=".";; \
21528 /* | [A-Za-z]:[\\/]*) \
21529 srcdiroption="--srcdir=$(srcdir)/gdb"; \
21530 libsrcdir="$$s/gdb";; \
21531 *) \
21532 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
21533 libsrcdir="$$s/gdb";; \
21534 esac; \
21535 $(SHELL) $${libsrcdir}/configure \
21536 $(HOST_CONFIGARGS) $${srcdiroption} \
21537 || exit 1
21538
21539.PHONY: all-gdb maybe-all-gdb
21540maybe-all-gdb:
21541all-gdb: configure-gdb
8c90b13a
L
21542 @r=`${PWD_COMMAND}`; export r; \
21543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21544 $(SET_LIB_PATH) \
21545 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
4977bab6 21546
7e2dbcef
NN
21547.PHONY: check-gdb maybe-check-gdb
21548maybe-check-gdb:
4977bab6 21549
4977bab6 21550check-gdb:
8c90b13a
L
21551 @r=`${PWD_COMMAND}`; export r; \
21552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21553 $(SET_LIB_PATH) \
21554 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
4977bab6
ZW
21555
21556
4977bab6
ZW
21557.PHONY: install-gdb maybe-install-gdb
21558maybe-install-gdb:
7e2dbcef 21559
4977bab6 21560install-gdb: installdirs
8c90b13a
L
21561 @r=`${PWD_COMMAND}`; export r; \
21562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21563 $(SET_LIB_PATH) \
21564 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
4977bab6
ZW
21565
21566
21567.PHONY: configure-expect maybe-configure-expect
21568maybe-configure-expect:
ade82b16
AO
21569configure-expect:
21570 @test ! -f expect/Makefile || exit 0; \
21571 [ -d expect ] || mkdir expect; \
8c90b13a
L
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21574 CC="$(CC)"; export CC; \
21575 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21576 CXX="$(CXX)"; export CXX; \
21577 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21578 AR="$(AR)"; export AR; \
21579 AS="$(AS)"; export AS; \
21580 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21581 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21582 LD="$(LD)"; export LD; \
21583 NM="$(NM)"; export NM; \
21584 RANLIB="$(RANLIB)"; export RANLIB; \
21585 WINDRES="$(WINDRES)"; export WINDRES; \
21586 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21587 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21588 echo Configuring in expect; \
21589 cd expect || exit 1; \
21590 case $(srcdir) in \
21591 \.) \
21592 srcdiroption="--srcdir=."; \
21593 libsrcdir=".";; \
21594 /* | [A-Za-z]:[\\/]*) \
21595 srcdiroption="--srcdir=$(srcdir)/expect"; \
21596 libsrcdir="$$s/expect";; \
21597 *) \
21598 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21599 libsrcdir="$$s/expect";; \
21600 esac; \
21601 $(SHELL) $${libsrcdir}/configure \
21602 $(HOST_CONFIGARGS) $${srcdiroption} \
21603 || exit 1
21604
21605.PHONY: all-expect maybe-all-expect
21606maybe-all-expect:
21607all-expect: configure-expect
8c90b13a
L
21608 @r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21610 $(SET_LIB_PATH) \
21611 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
4977bab6 21612
7e2dbcef
NN
21613.PHONY: check-expect maybe-check-expect
21614maybe-check-expect:
4977bab6 21615
4977bab6 21616check-expect:
8c90b13a
L
21617 @r=`${PWD_COMMAND}`; export r; \
21618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21619 $(SET_LIB_PATH) \
21620 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
4977bab6
ZW
21621
21622
4977bab6
ZW
21623.PHONY: install-expect maybe-install-expect
21624maybe-install-expect:
7e2dbcef 21625
4977bab6 21626install-expect: installdirs
8c90b13a
L
21627 @r=`${PWD_COMMAND}`; export r; \
21628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21629 $(SET_LIB_PATH) \
21630 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
4977bab6
ZW
21631
21632
21633.PHONY: configure-guile maybe-configure-guile
21634maybe-configure-guile:
ade82b16
AO
21635configure-guile:
21636 @test ! -f guile/Makefile || exit 0; \
21637 [ -d guile ] || mkdir guile; \
8c90b13a
L
21638 r=`${PWD_COMMAND}`; export r; \
21639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21640 CC="$(CC)"; export CC; \
21641 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21642 CXX="$(CXX)"; export CXX; \
21643 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21644 AR="$(AR)"; export AR; \
21645 AS="$(AS)"; export AS; \
21646 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21647 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21648 LD="$(LD)"; export LD; \
21649 NM="$(NM)"; export NM; \
21650 RANLIB="$(RANLIB)"; export RANLIB; \
21651 WINDRES="$(WINDRES)"; export WINDRES; \
21652 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21653 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21654 echo Configuring in guile; \
21655 cd guile || exit 1; \
21656 case $(srcdir) in \
21657 \.) \
21658 srcdiroption="--srcdir=."; \
21659 libsrcdir=".";; \
21660 /* | [A-Za-z]:[\\/]*) \
21661 srcdiroption="--srcdir=$(srcdir)/guile"; \
21662 libsrcdir="$$s/guile";; \
21663 *) \
21664 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21665 libsrcdir="$$s/guile";; \
21666 esac; \
21667 $(SHELL) $${libsrcdir}/configure \
21668 $(HOST_CONFIGARGS) $${srcdiroption} \
21669 || exit 1
21670
21671.PHONY: all-guile maybe-all-guile
21672maybe-all-guile:
21673all-guile: configure-guile
8c90b13a
L
21674 @r=`${PWD_COMMAND}`; export r; \
21675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21676 $(SET_LIB_PATH) \
21677 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
4977bab6 21678
7e2dbcef
NN
21679.PHONY: check-guile maybe-check-guile
21680maybe-check-guile:
4977bab6 21681
4977bab6 21682check-guile:
8c90b13a
L
21683 @r=`${PWD_COMMAND}`; export r; \
21684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21685 $(SET_LIB_PATH) \
21686 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
4977bab6
ZW
21687
21688
4977bab6
ZW
21689.PHONY: install-guile maybe-install-guile
21690maybe-install-guile:
7e2dbcef 21691
4977bab6 21692install-guile: installdirs
8c90b13a
L
21693 @r=`${PWD_COMMAND}`; export r; \
21694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21695 $(SET_LIB_PATH) \
21696 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
4977bab6
ZW
21697
21698
21699.PHONY: configure-tk maybe-configure-tk
21700maybe-configure-tk:
ade82b16
AO
21701configure-tk:
21702 @test ! -f tk/Makefile || exit 0; \
21703 [ -d tk ] || mkdir tk; \
8c90b13a
L
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21706 CC="$(CC)"; export CC; \
21707 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21708 CXX="$(CXX)"; export CXX; \
21709 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21710 AR="$(AR)"; export AR; \
21711 AS="$(AS)"; export AS; \
21712 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21713 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21714 LD="$(LD)"; export LD; \
21715 NM="$(NM)"; export NM; \
21716 RANLIB="$(RANLIB)"; export RANLIB; \
21717 WINDRES="$(WINDRES)"; export WINDRES; \
21718 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21719 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21720 echo Configuring in tk; \
21721 cd tk || exit 1; \
21722 case $(srcdir) in \
21723 \.) \
21724 srcdiroption="--srcdir=."; \
21725 libsrcdir=".";; \
21726 /* | [A-Za-z]:[\\/]*) \
21727 srcdiroption="--srcdir=$(srcdir)/tk"; \
21728 libsrcdir="$$s/tk";; \
21729 *) \
21730 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21731 libsrcdir="$$s/tk";; \
21732 esac; \
21733 $(SHELL) $${libsrcdir}/configure \
21734 $(HOST_CONFIGARGS) $${srcdiroption} \
21735 || exit 1
21736
21737.PHONY: all-tk maybe-all-tk
21738maybe-all-tk:
21739all-tk: configure-tk
8c90b13a
L
21740 @r=`${PWD_COMMAND}`; export r; \
21741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21742 $(SET_LIB_PATH) \
21743 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
4977bab6 21744
7e2dbcef
NN
21745.PHONY: check-tk maybe-check-tk
21746maybe-check-tk:
4977bab6 21747
4977bab6 21748check-tk:
8c90b13a
L
21749 @r=`${PWD_COMMAND}`; export r; \
21750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21751 $(SET_LIB_PATH) \
21752 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
4977bab6
ZW
21753
21754
4977bab6
ZW
21755.PHONY: install-tk maybe-install-tk
21756maybe-install-tk:
7e2dbcef 21757
4977bab6 21758install-tk: installdirs
8c90b13a
L
21759 @r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21761 $(SET_LIB_PATH) \
21762 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
4977bab6
ZW
21763
21764
82c34dcb
MC
21765.PHONY: configure-tix maybe-configure-tix
21766maybe-configure-tix:
21767configure-tix:
21768 @test ! -f tix/Makefile || exit 0; \
21769 [ -d tix ] || mkdir tix; \
8c90b13a
L
21770 r=`${PWD_COMMAND}`; export r; \
21771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
82c34dcb
MC
21772 CC="$(CC)"; export CC; \
21773 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21774 CXX="$(CXX)"; export CXX; \
21775 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
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; \
82c34dcb
MC
21786 echo Configuring in tix; \
21787 cd tix || exit 1; \
21788 case $(srcdir) in \
21789 \.) \
21790 srcdiroption="--srcdir=."; \
21791 libsrcdir=".";; \
21792 /* | [A-Za-z]:[\\/]*) \
21793 srcdiroption="--srcdir=$(srcdir)/tix"; \
21794 libsrcdir="$$s/tix";; \
21795 *) \
21796 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21797 libsrcdir="$$s/tix";; \
21798 esac; \
21799 $(SHELL) $${libsrcdir}/configure \
21800 $(HOST_CONFIGARGS) $${srcdiroption} \
21801 || exit 1
21802
21803.PHONY: all-tix maybe-all-tix
21804maybe-all-tix:
21805all-tix: configure-tix
8c90b13a
L
21806 @r=`${PWD_COMMAND}`; export r; \
21807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
82c34dcb
MC
21808 $(SET_LIB_PATH) \
21809 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21810
7e2dbcef
NN
21811.PHONY: check-tix maybe-check-tix
21812maybe-check-tix:
82c34dcb 21813
82c34dcb 21814check-tix:
8c90b13a
L
21815 @r=`${PWD_COMMAND}`; export r; \
21816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
82c34dcb
MC
21817 $(SET_LIB_PATH) \
21818 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21819
21820
82c34dcb
MC
21821.PHONY: install-tix maybe-install-tix
21822maybe-install-tix:
7e2dbcef 21823
82c34dcb 21824install-tix: installdirs
8c90b13a
L
21825 @r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
82c34dcb
MC
21827 $(SET_LIB_PATH) \
21828 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21829
21830
4977bab6
ZW
21831.PHONY: configure-libtermcap maybe-configure-libtermcap
21832maybe-configure-libtermcap:
ade82b16
AO
21833configure-libtermcap:
21834 @test ! -f libtermcap/Makefile || exit 0; \
21835 [ -d libtermcap ] || mkdir libtermcap; \
8c90b13a
L
21836 r=`${PWD_COMMAND}`; export r; \
21837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21838 CC="$(CC)"; export CC; \
21839 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21840 CXX="$(CXX)"; export CXX; \
21841 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21842 AR="$(AR)"; export AR; \
21843 AS="$(AS)"; export AS; \
21844 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21845 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21846 LD="$(LD)"; export LD; \
21847 NM="$(NM)"; export NM; \
21848 RANLIB="$(RANLIB)"; export RANLIB; \
21849 WINDRES="$(WINDRES)"; export WINDRES; \
21850 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21851 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21852 echo Configuring in libtermcap; \
21853 cd libtermcap || exit 1; \
21854 case $(srcdir) in \
21855 \.) \
21856 srcdiroption="--srcdir=."; \
21857 libsrcdir=".";; \
21858 /* | [A-Za-z]:[\\/]*) \
21859 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21860 libsrcdir="$$s/libtermcap";; \
21861 *) \
21862 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21863 libsrcdir="$$s/libtermcap";; \
21864 esac; \
21865 $(SHELL) $${libsrcdir}/configure \
21866 $(HOST_CONFIGARGS) $${srcdiroption} \
21867 || exit 1
21868
21869.PHONY: all-libtermcap maybe-all-libtermcap
21870maybe-all-libtermcap:
21871all-libtermcap: configure-libtermcap
8c90b13a
L
21872 @r=`${PWD_COMMAND}`; export r; \
21873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21874 $(SET_LIB_PATH) \
21875 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21876
7e2dbcef
NN
21877.PHONY: check-libtermcap maybe-check-libtermcap
21878maybe-check-libtermcap:
4977bab6 21879
4977bab6
ZW
21880check-libtermcap:
21881
21882
4977bab6
ZW
21883.PHONY: install-libtermcap maybe-install-libtermcap
21884maybe-install-libtermcap:
7e2dbcef 21885
4977bab6 21886install-libtermcap: installdirs
8c90b13a
L
21887 @r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21889 $(SET_LIB_PATH) \
21890 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21891
21892
21893.PHONY: configure-utils maybe-configure-utils
21894maybe-configure-utils:
ade82b16
AO
21895configure-utils:
21896 @test ! -f utils/Makefile || exit 0; \
21897 [ -d utils ] || mkdir utils; \
8c90b13a
L
21898 r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
21900 CC="$(CC)"; export CC; \
21901 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21902 CXX="$(CXX)"; export CXX; \
21903 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
f7dae026
NN
21904 AR="$(AR)"; export AR; \
21905 AS="$(AS)"; export AS; \
21906 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21907 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21908 LD="$(LD)"; export LD; \
21909 NM="$(NM)"; export NM; \
21910 RANLIB="$(RANLIB)"; export RANLIB; \
21911 WINDRES="$(WINDRES)"; export WINDRES; \
21912 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21913 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
21914 echo Configuring in utils; \
21915 cd utils || exit 1; \
21916 case $(srcdir) in \
21917 \.) \
21918 srcdiroption="--srcdir=."; \
21919 libsrcdir=".";; \
21920 /* | [A-Za-z]:[\\/]*) \
21921 srcdiroption="--srcdir=$(srcdir)/utils"; \
21922 libsrcdir="$$s/utils";; \
21923 *) \
21924 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21925 libsrcdir="$$s/utils";; \
21926 esac; \
21927 $(SHELL) $${libsrcdir}/configure \
21928 $(HOST_CONFIGARGS) $${srcdiroption} \
21929 || exit 1
21930
21931.PHONY: all-utils maybe-all-utils
21932maybe-all-utils:
21933all-utils: configure-utils
8c90b13a
L
21934 @r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21936 $(SET_LIB_PATH) \
21937 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
4977bab6 21938
7e2dbcef
NN
21939.PHONY: check-utils maybe-check-utils
21940maybe-check-utils:
4977bab6 21941
4977bab6
ZW
21942check-utils:
21943
21944
4977bab6
ZW
21945.PHONY: install-utils maybe-install-utils
21946maybe-install-utils:
7e2dbcef 21947
4977bab6 21948install-utils: installdirs
8c90b13a
L
21949 @r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21951 $(SET_LIB_PATH) \
21952 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
4977bab6
ZW
21953
21954
21955
21956# ---------------------------------------
21957# Modules which run on the target machine
21958# ---------------------------------------
21959
21960.PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21961maybe-configure-target-libstdc++-v3:
4977bab6 21962
88b5521b
NN
21963# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21964$(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
ade82b16 21965 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
3aa83176 21966 mkdir $(TARGET_SUBDIR)/libstdc++-v3; \
ade82b16 21967 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
88b5521b 21968 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
4977bab6 21969
ade82b16
AO
21970configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21971 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
3aa83176
NN
21972 [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \
21973 mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
8c90b13a
L
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
21976 $(SET_LIB_PATH) \
21977 AR="$(AR_FOR_TARGET)"; export AR; \
21978 AS="$(AS_FOR_TARGET)"; export AS; \
21979 CC="$(CC_FOR_TARGET)"; export CC; \
21980 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21981 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21982 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21983 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21984 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21985 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21986 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21987 LD="$(LD_FOR_TARGET)"; export LD; \
21988 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21989 NM="$(NM_FOR_TARGET)"; export NM; \
21990 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21991 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21992 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21993 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21994 case $(srcdir) in \
21995 /* | [A-Za-z]:[\\/]*) \
21996 topdir=$(srcdir) ;; \
21997 *) \
21998 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
21999 .) topdir="../$(srcdir)" ;; \
22000 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22001 esac ;; \
22002 esac; \
22003 if [ "$(srcdir)" = "." ] ; then \
22004 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22005 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
22006 if [ -f Makefile ]; then \
22007 if $(MAKE) distclean; then \
22008 true; \
22009 else \
22010 exit 1; \
22011 fi; \
4977bab6 22012 else \
3aa83176 22013 true; \
4977bab6 22014 fi; \
4977bab6 22015 else \
3aa83176 22016 exit 1; \
4977bab6 22017 fi; \
3aa83176
NN
22018 else \
22019 true; \
22020 fi; \
22021 srcdiroption="--srcdir=."; \
22022 libsrcdir="."; \
22023 else \
22024 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22025 libsrcdir="$$s/libstdc++-v3"; \
22026 fi; \
22027 rm -f no-such-file || : ; \
22028 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22029 $(TARGET_CONFIGARGS) $${srcdiroption} \
22030 --with-target-subdir="$(TARGET_SUBDIR)" \
22031 || exit 1
4977bab6
ZW
22032
22033.PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22034maybe-all-target-libstdc++-v3:
22035all-target-libstdc++-v3: configure-target-libstdc++-v3
8c90b13a
L
22036 @r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22038 $(SET_LIB_PATH) \
22039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22040 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
4977bab6 22041
7e2dbcef
NN
22042.PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22043maybe-check-target-libstdc++-v3:
22044
4977bab6 22045check-target-libstdc++-v3:
8c90b13a
L
22046 @r=`${PWD_COMMAND}`; export r; \
22047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22048 $(SET_LIB_PATH) \
22049 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22050 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
4977bab6
ZW
22051
22052
22053.PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22054maybe-install-target-libstdc++-v3:
7e2dbcef 22055
4977bab6 22056install-target-libstdc++-v3: installdirs
8c90b13a
L
22057 @r=`${PWD_COMMAND}`; export r; \
22058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22059 $(SET_LIB_PATH) \
22060 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22061 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22062
22063
22064.PHONY: configure-target-newlib maybe-configure-target-newlib
22065maybe-configure-target-newlib:
4977bab6 22066
88b5521b
NN
22067# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22068$(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
ade82b16 22069 @[ -d $(TARGET_SUBDIR)/newlib ] || \
3aa83176 22070 mkdir $(TARGET_SUBDIR)/newlib; \
ade82b16 22071 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
88b5521b 22072 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
4977bab6 22073
ade82b16
AO
22074configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22075 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
3aa83176
NN
22076 [ -d $(TARGET_SUBDIR)/newlib ] || \
22077 mkdir $(TARGET_SUBDIR)/newlib;\
8c90b13a
L
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22080 $(SET_LIB_PATH) \
22081 AR="$(AR_FOR_TARGET)"; export AR; \
22082 AS="$(AS_FOR_TARGET)"; export AS; \
22083 CC="$(CC_FOR_TARGET)"; export CC; \
22084 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22085 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22086 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22087 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22088 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22089 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22090 LD="$(LD_FOR_TARGET)"; export LD; \
22091 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22092 NM="$(NM_FOR_TARGET)"; export NM; \
22093 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22094 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22095 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22096 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22097 case $(srcdir) in \
22098 /* | [A-Za-z]:[\\/]*) \
22099 topdir=$(srcdir) ;; \
22100 *) \
22101 case "$(TARGET_SUBDIR)" in \
22102 .) topdir="../$(srcdir)" ;; \
22103 *) topdir="../../$(srcdir)" ;; \
22104 esac ;; \
22105 esac; \
22106 if [ "$(srcdir)" = "." ] ; then \
22107 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22108 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22109 if [ -f Makefile ]; then \
22110 if $(MAKE) distclean; then \
22111 true; \
22112 else \
22113 exit 1; \
22114 fi; \
22115 else \
22116 true; \
22117 fi; \
22118 else \
22119 exit 1; \
4977bab6 22120 fi; \
3aa83176
NN
22121 else \
22122 true; \
22123 fi; \
22124 srcdiroption="--srcdir=."; \
22125 libsrcdir="."; \
22126 else \
22127 srcdiroption="--srcdir=$${topdir}/newlib"; \
22128 libsrcdir="$$s/newlib"; \
22129 fi; \
22130 rm -f no-such-file || : ; \
22131 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22132 $(TARGET_CONFIGARGS) $${srcdiroption} \
22133 --with-target-subdir="$(TARGET_SUBDIR)" \
22134 || exit 1
4977bab6
ZW
22135
22136.PHONY: all-target-newlib maybe-all-target-newlib
22137maybe-all-target-newlib:
22138all-target-newlib: configure-target-newlib
8c90b13a
L
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22141 $(SET_LIB_PATH) \
22142 (cd $(TARGET_SUBDIR)/newlib && \
22143 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22144
7e2dbcef
NN
22145.PHONY: check-target-newlib maybe-check-target-newlib
22146maybe-check-target-newlib:
22147
4977bab6 22148check-target-newlib:
8c90b13a
L
22149 @r=`${PWD_COMMAND}`; export r; \
22150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22151 $(SET_LIB_PATH) \
22152 (cd $(TARGET_SUBDIR)/newlib && \
22153 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22154
22155
22156.PHONY: install-target-newlib maybe-install-target-newlib
22157maybe-install-target-newlib:
7e2dbcef 22158
4977bab6 22159install-target-newlib: installdirs
8c90b13a
L
22160 @r=`${PWD_COMMAND}`; export r; \
22161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22162 $(SET_LIB_PATH) \
22163 (cd $(TARGET_SUBDIR)/newlib && \
22164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22165
22166
22167.PHONY: configure-target-libf2c maybe-configure-target-libf2c
22168maybe-configure-target-libf2c:
4977bab6 22169
88b5521b
NN
22170# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22171$(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
ade82b16 22172 @[ -d $(TARGET_SUBDIR)/libf2c ] || \
3aa83176 22173 mkdir $(TARGET_SUBDIR)/libf2c; \
ade82b16 22174 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
88b5521b 22175 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
4977bab6 22176
ade82b16
AO
22177configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
22178 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
3aa83176
NN
22179 [ -d $(TARGET_SUBDIR)/libf2c ] || \
22180 mkdir $(TARGET_SUBDIR)/libf2c;\
8c90b13a
L
22181 r=`${PWD_COMMAND}`; export r; \
22182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22183 $(SET_LIB_PATH) \
22184 AR="$(AR_FOR_TARGET)"; export AR; \
22185 AS="$(AS_FOR_TARGET)"; export AS; \
22186 CC="$(CC_FOR_TARGET)"; export CC; \
22187 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22188 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22189 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22190 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22191 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22193 LD="$(LD_FOR_TARGET)"; export LD; \
22194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22195 NM="$(NM_FOR_TARGET)"; export NM; \
22196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22198 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
22199 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
22200 case $(srcdir) in \
22201 /* | [A-Za-z]:[\\/]*) \
22202 topdir=$(srcdir) ;; \
22203 *) \
22204 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22205 .) topdir="../$(srcdir)" ;; \
22206 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22207 esac ;; \
22208 esac; \
22209 if [ "$(srcdir)" = "." ] ; then \
22210 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22211 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22212 if [ -f Makefile ]; then \
22213 if $(MAKE) distclean; then \
22214 true; \
22215 else \
22216 exit 1; \
22217 fi; \
4977bab6 22218 else \
3aa83176 22219 true; \
4977bab6 22220 fi; \
4977bab6 22221 else \
3aa83176 22222 exit 1; \
4977bab6 22223 fi; \
3aa83176
NN
22224 else \
22225 true; \
22226 fi; \
22227 srcdiroption="--srcdir=."; \
22228 libsrcdir="."; \
22229 else \
22230 srcdiroption="--srcdir=$${topdir}/libf2c"; \
22231 libsrcdir="$$s/libf2c"; \
22232 fi; \
22233 rm -f no-such-file || : ; \
22234 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22235 $(TARGET_CONFIGARGS) $${srcdiroption} \
22236 --with-target-subdir="$(TARGET_SUBDIR)" \
22237 || exit 1
4977bab6
ZW
22238
22239.PHONY: all-target-libf2c maybe-all-target-libf2c
22240maybe-all-target-libf2c:
22241all-target-libf2c: configure-target-libf2c
8c90b13a
L
22242 @r=`${PWD_COMMAND}`; export r; \
22243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22244 $(SET_LIB_PATH) \
22245 (cd $(TARGET_SUBDIR)/libf2c && \
22246 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22247
7e2dbcef
NN
22248.PHONY: check-target-libf2c maybe-check-target-libf2c
22249maybe-check-target-libf2c:
22250
4977bab6 22251check-target-libf2c:
8c90b13a
L
22252 @r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22254 $(SET_LIB_PATH) \
22255 (cd $(TARGET_SUBDIR)/libf2c && \
22256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22257
22258
22259.PHONY: install-target-libf2c maybe-install-target-libf2c
22260maybe-install-target-libf2c:
7e2dbcef 22261
4977bab6 22262install-target-libf2c: installdirs
8c90b13a
L
22263 @r=`${PWD_COMMAND}`; export r; \
22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22265 $(SET_LIB_PATH) \
22266 (cd $(TARGET_SUBDIR)/libf2c && \
22267 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22268
22269
22270.PHONY: configure-target-libobjc maybe-configure-target-libobjc
22271maybe-configure-target-libobjc:
4977bab6 22272
88b5521b
NN
22273# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22274$(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
ade82b16 22275 @[ -d $(TARGET_SUBDIR)/libobjc ] || \
3aa83176 22276 mkdir $(TARGET_SUBDIR)/libobjc; \
ade82b16 22277 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
88b5521b 22278 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
4977bab6 22279
ade82b16
AO
22280configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
22281 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
3aa83176
NN
22282 [ -d $(TARGET_SUBDIR)/libobjc ] || \
22283 mkdir $(TARGET_SUBDIR)/libobjc;\
8c90b13a
L
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22286 $(SET_LIB_PATH) \
22287 AR="$(AR_FOR_TARGET)"; export AR; \
22288 AS="$(AS_FOR_TARGET)"; export AS; \
22289 CC="$(CC_FOR_TARGET)"; export CC; \
22290 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22291 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22292 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22293 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22294 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22295 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22296 LD="$(LD_FOR_TARGET)"; export LD; \
22297 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22298 NM="$(NM_FOR_TARGET)"; export NM; \
22299 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22300 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22301 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
22302 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
22303 case $(srcdir) in \
22304 /* | [A-Za-z]:[\\/]*) \
22305 topdir=$(srcdir) ;; \
22306 *) \
22307 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22308 .) topdir="../$(srcdir)" ;; \
22309 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22310 esac ;; \
22311 esac; \
22312 if [ "$(srcdir)" = "." ] ; then \
22313 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22314 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22315 if [ -f Makefile ]; then \
22316 if $(MAKE) distclean; then \
22317 true; \
22318 else \
22319 exit 1; \
22320 fi; \
4977bab6 22321 else \
3aa83176 22322 true; \
4977bab6 22323 fi; \
4977bab6 22324 else \
3aa83176 22325 exit 1; \
4977bab6 22326 fi; \
3aa83176
NN
22327 else \
22328 true; \
22329 fi; \
22330 srcdiroption="--srcdir=."; \
22331 libsrcdir="."; \
22332 else \
22333 srcdiroption="--srcdir=$${topdir}/libobjc"; \
22334 libsrcdir="$$s/libobjc"; \
22335 fi; \
22336 rm -f no-such-file || : ; \
22337 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22338 $(TARGET_CONFIGARGS) $${srcdiroption} \
22339 --with-target-subdir="$(TARGET_SUBDIR)" \
22340 || exit 1
4977bab6
ZW
22341
22342.PHONY: all-target-libobjc maybe-all-target-libobjc
22343maybe-all-target-libobjc:
22344all-target-libobjc: configure-target-libobjc
8c90b13a
L
22345 @r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22347 $(SET_LIB_PATH) \
22348 (cd $(TARGET_SUBDIR)/libobjc && \
22349 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22350
7e2dbcef
NN
22351.PHONY: check-target-libobjc maybe-check-target-libobjc
22352maybe-check-target-libobjc:
22353
4977bab6 22354check-target-libobjc:
8c90b13a
L
22355 @r=`${PWD_COMMAND}`; export r; \
22356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22357 $(SET_LIB_PATH) \
22358 (cd $(TARGET_SUBDIR)/libobjc && \
22359 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22360
22361
22362.PHONY: install-target-libobjc maybe-install-target-libobjc
22363maybe-install-target-libobjc:
7e2dbcef 22364
4977bab6 22365install-target-libobjc: installdirs
8c90b13a
L
22366 @r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22368 $(SET_LIB_PATH) \
22369 (cd $(TARGET_SUBDIR)/libobjc && \
22370 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22371
22372
22373.PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
22374maybe-configure-target-libtermcap:
4977bab6 22375
88b5521b
NN
22376# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22377$(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
ade82b16 22378 @[ -d $(TARGET_SUBDIR)/libtermcap ] || \
3aa83176 22379 mkdir $(TARGET_SUBDIR)/libtermcap; \
ade82b16 22380 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
88b5521b 22381 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
4977bab6 22382
ade82b16
AO
22383configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
22384 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
3aa83176
NN
22385 [ -d $(TARGET_SUBDIR)/libtermcap ] || \
22386 mkdir $(TARGET_SUBDIR)/libtermcap;\
8c90b13a
L
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22389 $(SET_LIB_PATH) \
22390 AR="$(AR_FOR_TARGET)"; export AR; \
22391 AS="$(AS_FOR_TARGET)"; export AS; \
22392 CC="$(CC_FOR_TARGET)"; export CC; \
22393 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22394 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22395 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22396 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22397 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22398 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22399 LD="$(LD_FOR_TARGET)"; export LD; \
22400 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22401 NM="$(NM_FOR_TARGET)"; export NM; \
22402 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22403 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22404 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
22405 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
22406 case $(srcdir) in \
22407 /* | [A-Za-z]:[\\/]*) \
22408 topdir=$(srcdir) ;; \
22409 *) \
22410 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22411 .) topdir="../$(srcdir)" ;; \
22412 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22413 esac ;; \
22414 esac; \
22415 if [ "$(srcdir)" = "." ] ; then \
22416 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22417 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
22418 if [ -f Makefile ]; then \
22419 if $(MAKE) distclean; then \
22420 true; \
22421 else \
22422 exit 1; \
22423 fi; \
4977bab6 22424 else \
3aa83176 22425 true; \
4977bab6 22426 fi; \
4977bab6 22427 else \
3aa83176 22428 exit 1; \
4977bab6 22429 fi; \
3aa83176
NN
22430 else \
22431 true; \
22432 fi; \
22433 srcdiroption="--srcdir=."; \
22434 libsrcdir="."; \
22435 else \
22436 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22437 libsrcdir="$$s/libtermcap"; \
22438 fi; \
22439 rm -f no-such-file || : ; \
22440 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22441 $(TARGET_CONFIGARGS) $${srcdiroption} \
22442 --with-target-subdir="$(TARGET_SUBDIR)" \
22443 || exit 1
4977bab6
ZW
22444
22445.PHONY: all-target-libtermcap maybe-all-target-libtermcap
22446maybe-all-target-libtermcap:
22447all-target-libtermcap: configure-target-libtermcap
8c90b13a
L
22448 @r=`${PWD_COMMAND}`; export r; \
22449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22450 $(SET_LIB_PATH) \
22451 (cd $(TARGET_SUBDIR)/libtermcap && \
22452 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22453
7e2dbcef
NN
22454.PHONY: check-target-libtermcap maybe-check-target-libtermcap
22455maybe-check-target-libtermcap:
22456
4977bab6 22457# Dummy target for uncheckable module.
4977bab6
ZW
22458check-target-libtermcap:
22459
22460
22461.PHONY: install-target-libtermcap maybe-install-target-libtermcap
22462maybe-install-target-libtermcap:
7e2dbcef 22463
4977bab6 22464install-target-libtermcap: installdirs
8c90b13a
L
22465 @r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22467 $(SET_LIB_PATH) \
22468 (cd $(TARGET_SUBDIR)/libtermcap && \
22469 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22470
22471
22472.PHONY: configure-target-winsup maybe-configure-target-winsup
22473maybe-configure-target-winsup:
4977bab6 22474
88b5521b
NN
22475# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22476$(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
ade82b16 22477 @[ -d $(TARGET_SUBDIR)/winsup ] || \
3aa83176 22478 mkdir $(TARGET_SUBDIR)/winsup; \
ade82b16 22479 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
88b5521b 22480 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
4977bab6 22481
ade82b16
AO
22482configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
22483 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
3aa83176
NN
22484 [ -d $(TARGET_SUBDIR)/winsup ] || \
22485 mkdir $(TARGET_SUBDIR)/winsup;\
8c90b13a
L
22486 r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22488 $(SET_LIB_PATH) \
22489 AR="$(AR_FOR_TARGET)"; export AR; \
22490 AS="$(AS_FOR_TARGET)"; export AS; \
22491 CC="$(CC_FOR_TARGET)"; export CC; \
22492 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22493 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22494 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22495 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22496 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22497 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22498 LD="$(LD_FOR_TARGET)"; export LD; \
22499 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22500 NM="$(NM_FOR_TARGET)"; export NM; \
22501 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22502 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22503 echo Configuring in $(TARGET_SUBDIR)/winsup; \
22504 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
22505 case $(srcdir) in \
22506 /* | [A-Za-z]:[\\/]*) \
22507 topdir=$(srcdir) ;; \
22508 *) \
22509 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22510 .) topdir="../$(srcdir)" ;; \
22511 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22512 esac ;; \
22513 esac; \
22514 if [ "$(srcdir)" = "." ] ; then \
22515 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22516 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22517 if [ -f Makefile ]; then \
22518 if $(MAKE) distclean; then \
22519 true; \
22520 else \
22521 exit 1; \
22522 fi; \
4977bab6 22523 else \
3aa83176 22524 true; \
4977bab6 22525 fi; \
4977bab6 22526 else \
3aa83176 22527 exit 1; \
4977bab6 22528 fi; \
3aa83176
NN
22529 else \
22530 true; \
22531 fi; \
22532 srcdiroption="--srcdir=."; \
22533 libsrcdir="."; \
22534 else \
22535 srcdiroption="--srcdir=$${topdir}/winsup"; \
22536 libsrcdir="$$s/winsup"; \
22537 fi; \
22538 rm -f no-such-file || : ; \
22539 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22540 $(TARGET_CONFIGARGS) $${srcdiroption} \
22541 --with-target-subdir="$(TARGET_SUBDIR)" \
22542 || exit 1
4977bab6
ZW
22543
22544.PHONY: all-target-winsup maybe-all-target-winsup
22545maybe-all-target-winsup:
22546all-target-winsup: configure-target-winsup
8c90b13a
L
22547 @r=`${PWD_COMMAND}`; export r; \
22548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22549 $(SET_LIB_PATH) \
22550 (cd $(TARGET_SUBDIR)/winsup && \
22551 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22552
7e2dbcef
NN
22553.PHONY: check-target-winsup maybe-check-target-winsup
22554maybe-check-target-winsup:
22555
4977bab6 22556check-target-winsup:
8c90b13a
L
22557 @r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22559 $(SET_LIB_PATH) \
22560 (cd $(TARGET_SUBDIR)/winsup && \
22561 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22562
22563
22564.PHONY: install-target-winsup maybe-install-target-winsup
22565maybe-install-target-winsup:
7e2dbcef 22566
4977bab6 22567install-target-winsup: installdirs
8c90b13a
L
22568 @r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22570 $(SET_LIB_PATH) \
22571 (cd $(TARGET_SUBDIR)/winsup && \
22572 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22573
22574
22575.PHONY: configure-target-libgloss maybe-configure-target-libgloss
22576maybe-configure-target-libgloss:
4977bab6 22577
88b5521b
NN
22578# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22579$(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
ade82b16 22580 @[ -d $(TARGET_SUBDIR)/libgloss ] || \
3aa83176 22581 mkdir $(TARGET_SUBDIR)/libgloss; \
ade82b16 22582 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
88b5521b 22583 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
4977bab6 22584
ade82b16
AO
22585configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
22586 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
3aa83176
NN
22587 [ -d $(TARGET_SUBDIR)/libgloss ] || \
22588 mkdir $(TARGET_SUBDIR)/libgloss;\
8c90b13a
L
22589 r=`${PWD_COMMAND}`; export r; \
22590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22591 $(SET_LIB_PATH) \
22592 AR="$(AR_FOR_TARGET)"; export AR; \
22593 AS="$(AS_FOR_TARGET)"; export AS; \
22594 CC="$(CC_FOR_TARGET)"; export CC; \
22595 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22596 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22597 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22598 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22599 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22600 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22601 LD="$(LD_FOR_TARGET)"; export LD; \
22602 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22603 NM="$(NM_FOR_TARGET)"; export NM; \
22604 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22605 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22606 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
22607 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
22608 case $(srcdir) in \
22609 /* | [A-Za-z]:[\\/]*) \
22610 topdir=$(srcdir) ;; \
22611 *) \
22612 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22613 .) topdir="../$(srcdir)" ;; \
22614 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22615 esac ;; \
22616 esac; \
22617 if [ "$(srcdir)" = "." ] ; then \
22618 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22619 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
22620 if [ -f Makefile ]; then \
22621 if $(MAKE) distclean; then \
22622 true; \
22623 else \
22624 exit 1; \
22625 fi; \
4977bab6 22626 else \
3aa83176 22627 true; \
4977bab6 22628 fi; \
4977bab6 22629 else \
3aa83176 22630 exit 1; \
4977bab6 22631 fi; \
3aa83176
NN
22632 else \
22633 true; \
22634 fi; \
22635 srcdiroption="--srcdir=."; \
22636 libsrcdir="."; \
22637 else \
22638 srcdiroption="--srcdir=$${topdir}/libgloss"; \
22639 libsrcdir="$$s/libgloss"; \
22640 fi; \
22641 rm -f no-such-file || : ; \
22642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22643 $(TARGET_CONFIGARGS) $${srcdiroption} \
22644 --with-target-subdir="$(TARGET_SUBDIR)" \
22645 || exit 1
4977bab6
ZW
22646
22647.PHONY: all-target-libgloss maybe-all-target-libgloss
22648maybe-all-target-libgloss:
22649all-target-libgloss: configure-target-libgloss
8c90b13a
L
22650 @r=`${PWD_COMMAND}`; export r; \
22651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22652 $(SET_LIB_PATH) \
22653 (cd $(TARGET_SUBDIR)/libgloss && \
22654 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22655
7e2dbcef
NN
22656.PHONY: check-target-libgloss maybe-check-target-libgloss
22657maybe-check-target-libgloss:
22658
4977bab6 22659# Dummy target for uncheckable module.
4977bab6
ZW
22660check-target-libgloss:
22661
22662
22663.PHONY: install-target-libgloss maybe-install-target-libgloss
22664maybe-install-target-libgloss:
7e2dbcef 22665
4977bab6 22666install-target-libgloss: installdirs
8c90b13a
L
22667 @r=`${PWD_COMMAND}`; export r; \
22668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22669 $(SET_LIB_PATH) \
22670 (cd $(TARGET_SUBDIR)/libgloss && \
22671 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22672
22673
22674.PHONY: configure-target-libiberty maybe-configure-target-libiberty
22675maybe-configure-target-libiberty:
4977bab6 22676
88b5521b
NN
22677# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22678$(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
ade82b16 22679 @[ -d $(TARGET_SUBDIR)/libiberty ] || \
3aa83176 22680 mkdir $(TARGET_SUBDIR)/libiberty; \
ade82b16 22681 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
88b5521b 22682 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
4977bab6 22683
ade82b16
AO
22684configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
22685 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
3aa83176
NN
22686 [ -d $(TARGET_SUBDIR)/libiberty ] || \
22687 mkdir $(TARGET_SUBDIR)/libiberty;\
8c90b13a
L
22688 r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22690 $(SET_LIB_PATH) \
22691 AR="$(AR_FOR_TARGET)"; export AR; \
22692 AS="$(AS_FOR_TARGET)"; export AS; \
22693 CC="$(CC_FOR_TARGET)"; export CC; \
22694 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22695 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22696 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22698 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22699 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22700 LD="$(LD_FOR_TARGET)"; export LD; \
22701 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22702 NM="$(NM_FOR_TARGET)"; export NM; \
22703 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22704 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22705 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
22706 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
22707 case $(srcdir) in \
22708 /* | [A-Za-z]:[\\/]*) \
22709 topdir=$(srcdir) ;; \
22710 *) \
22711 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22712 .) topdir="../$(srcdir)" ;; \
22713 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22714 esac ;; \
22715 esac; \
22716 if [ "$(srcdir)" = "." ] ; then \
22717 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22718 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
22719 if [ -f Makefile ]; then \
22720 if $(MAKE) distclean; then \
22721 true; \
22722 else \
22723 exit 1; \
22724 fi; \
4977bab6 22725 else \
3aa83176 22726 true; \
4977bab6 22727 fi; \
4977bab6 22728 else \
3aa83176 22729 exit 1; \
4977bab6 22730 fi; \
3aa83176
NN
22731 else \
22732 true; \
22733 fi; \
22734 srcdiroption="--srcdir=."; \
22735 libsrcdir="."; \
22736 else \
22737 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22738 libsrcdir="$$s/libiberty"; \
22739 fi; \
22740 rm -f no-such-file || : ; \
22741 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22742 $(TARGET_CONFIGARGS) $${srcdiroption} \
22743 --with-target-subdir="$(TARGET_SUBDIR)" \
22744 || exit 1
4977bab6
ZW
22745
22746.PHONY: all-target-libiberty maybe-all-target-libiberty
22747maybe-all-target-libiberty:
22748all-target-libiberty: configure-target-libiberty
8c90b13a
L
22749 @r=`${PWD_COMMAND}`; export r; \
22750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22751 $(SET_LIB_PATH) \
22752 (cd $(TARGET_SUBDIR)/libiberty && \
22753 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22754
7e2dbcef
NN
22755.PHONY: check-target-libiberty maybe-check-target-libiberty
22756maybe-check-target-libiberty:
22757
4977bab6 22758check-target-libiberty:
8c90b13a
L
22759 @r=`${PWD_COMMAND}`; export r; \
22760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22761 $(SET_LIB_PATH) \
22762 (cd $(TARGET_SUBDIR)/libiberty && \
22763 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22764
22765
22766.PHONY: install-target-libiberty maybe-install-target-libiberty
22767maybe-install-target-libiberty:
7e2dbcef 22768
4977bab6 22769install-target-libiberty: installdirs
8c90b13a
L
22770 @r=`${PWD_COMMAND}`; export r; \
22771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22772 $(SET_LIB_PATH) \
22773 (cd $(TARGET_SUBDIR)/libiberty && \
22774 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22775
22776
22777.PHONY: configure-target-gperf maybe-configure-target-gperf
22778maybe-configure-target-gperf:
4977bab6 22779
88b5521b
NN
22780# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22781$(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
ade82b16 22782 @[ -d $(TARGET_SUBDIR)/gperf ] || \
3aa83176 22783 mkdir $(TARGET_SUBDIR)/gperf; \
ade82b16 22784 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
88b5521b 22785 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
4977bab6 22786
ade82b16
AO
22787configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
22788 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
3aa83176
NN
22789 [ -d $(TARGET_SUBDIR)/gperf ] || \
22790 mkdir $(TARGET_SUBDIR)/gperf;\
8c90b13a
L
22791 r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22793 $(SET_LIB_PATH) \
22794 AR="$(AR_FOR_TARGET)"; export AR; \
22795 AS="$(AS_FOR_TARGET)"; export AS; \
22796 CC="$(CC_FOR_TARGET)"; export CC; \
22797 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22798 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22799 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22800 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22801 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22802 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22803 LD="$(LD_FOR_TARGET)"; export LD; \
22804 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22805 NM="$(NM_FOR_TARGET)"; export NM; \
22806 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22807 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22808 echo Configuring in $(TARGET_SUBDIR)/gperf; \
22809 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
22810 case $(srcdir) in \
22811 /* | [A-Za-z]:[\\/]*) \
22812 topdir=$(srcdir) ;; \
22813 *) \
22814 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22815 .) topdir="../$(srcdir)" ;; \
22816 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22817 esac ;; \
22818 esac; \
22819 if [ "$(srcdir)" = "." ] ; then \
22820 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22821 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
22822 if [ -f Makefile ]; then \
22823 if $(MAKE) distclean; then \
22824 true; \
22825 else \
22826 exit 1; \
22827 fi; \
4977bab6 22828 else \
3aa83176 22829 true; \
4977bab6 22830 fi; \
4977bab6 22831 else \
3aa83176 22832 exit 1; \
4977bab6 22833 fi; \
3aa83176
NN
22834 else \
22835 true; \
22836 fi; \
22837 srcdiroption="--srcdir=."; \
22838 libsrcdir="."; \
22839 else \
22840 srcdiroption="--srcdir=$${topdir}/gperf"; \
22841 libsrcdir="$$s/gperf"; \
22842 fi; \
22843 rm -f no-such-file || : ; \
22844 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22845 $(TARGET_CONFIGARGS) $${srcdiroption} \
22846 --with-target-subdir="$(TARGET_SUBDIR)" \
22847 || exit 1
4977bab6
ZW
22848
22849.PHONY: all-target-gperf maybe-all-target-gperf
22850maybe-all-target-gperf:
22851all-target-gperf: configure-target-gperf
8c90b13a
L
22852 @r=`${PWD_COMMAND}`; export r; \
22853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22854 $(SET_LIB_PATH) \
22855 (cd $(TARGET_SUBDIR)/gperf && \
22856 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22857
7e2dbcef
NN
22858.PHONY: check-target-gperf maybe-check-target-gperf
22859maybe-check-target-gperf:
22860
4977bab6 22861check-target-gperf:
8c90b13a
L
22862 @r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22864 $(SET_LIB_PATH) \
22865 (cd $(TARGET_SUBDIR)/gperf && \
22866 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
22867
22868
22869.PHONY: install-target-gperf maybe-install-target-gperf
22870maybe-install-target-gperf:
7e2dbcef 22871
4977bab6 22872install-target-gperf: installdirs
8c90b13a
L
22873 @r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22875 $(SET_LIB_PATH) \
22876 (cd $(TARGET_SUBDIR)/gperf && \
22877 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
22878
22879
22880.PHONY: configure-target-examples maybe-configure-target-examples
22881maybe-configure-target-examples:
4977bab6 22882
88b5521b
NN
22883# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22884$(TARGET_SUBDIR)/examples/multilib.out: multilib.out
ade82b16 22885 @[ -d $(TARGET_SUBDIR)/examples ] || \
3aa83176 22886 mkdir $(TARGET_SUBDIR)/examples; \
ade82b16 22887 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
88b5521b 22888 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
4977bab6 22889
ade82b16
AO
22890configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22891 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
3aa83176
NN
22892 [ -d $(TARGET_SUBDIR)/examples ] || \
22893 mkdir $(TARGET_SUBDIR)/examples;\
8c90b13a
L
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22896 $(SET_LIB_PATH) \
22897 AR="$(AR_FOR_TARGET)"; export AR; \
22898 AS="$(AS_FOR_TARGET)"; export AS; \
22899 CC="$(CC_FOR_TARGET)"; export CC; \
22900 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22901 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22902 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22903 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22904 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22905 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22906 LD="$(LD_FOR_TARGET)"; export LD; \
22907 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22908 NM="$(NM_FOR_TARGET)"; export NM; \
22909 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22910 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22911 echo Configuring in $(TARGET_SUBDIR)/examples; \
22912 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22913 case $(srcdir) in \
22914 /* | [A-Za-z]:[\\/]*) \
22915 topdir=$(srcdir) ;; \
22916 *) \
22917 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
22918 .) topdir="../$(srcdir)" ;; \
22919 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
22920 esac ;; \
22921 esac; \
22922 if [ "$(srcdir)" = "." ] ; then \
22923 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22924 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
22925 if [ -f Makefile ]; then \
22926 if $(MAKE) distclean; then \
22927 true; \
22928 else \
22929 exit 1; \
22930 fi; \
4977bab6 22931 else \
3aa83176 22932 true; \
4977bab6 22933 fi; \
4977bab6 22934 else \
3aa83176 22935 exit 1; \
4977bab6 22936 fi; \
3aa83176
NN
22937 else \
22938 true; \
22939 fi; \
22940 srcdiroption="--srcdir=."; \
22941 libsrcdir="."; \
22942 else \
22943 srcdiroption="--srcdir=$${topdir}/examples"; \
22944 libsrcdir="$$s/examples"; \
22945 fi; \
22946 rm -f no-such-file || : ; \
22947 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22948 $(TARGET_CONFIGARGS) $${srcdiroption} \
22949 --with-target-subdir="$(TARGET_SUBDIR)" \
22950 || exit 1
4977bab6
ZW
22951
22952.PHONY: all-target-examples maybe-all-target-examples
22953maybe-all-target-examples:
22954all-target-examples: configure-target-examples
8c90b13a
L
22955 @r=`${PWD_COMMAND}`; export r; \
22956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22957 $(SET_LIB_PATH) \
22958 (cd $(TARGET_SUBDIR)/examples && \
22959 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 22960
7e2dbcef
NN
22961.PHONY: check-target-examples maybe-check-target-examples
22962maybe-check-target-examples:
22963
4977bab6 22964# Dummy target for uncheckable module.
4977bab6
ZW
22965check-target-examples:
22966
22967
22968.PHONY: install-target-examples maybe-install-target-examples
22969maybe-install-target-examples:
7e2dbcef 22970
4977bab6
ZW
22971# Dummy target for uninstallable.
22972install-target-examples:
22973
22974
22975.PHONY: configure-target-libffi maybe-configure-target-libffi
22976maybe-configure-target-libffi:
4977bab6 22977
88b5521b
NN
22978# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22979$(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
ade82b16 22980 @[ -d $(TARGET_SUBDIR)/libffi ] || \
3aa83176 22981 mkdir $(TARGET_SUBDIR)/libffi; \
ade82b16 22982 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
88b5521b 22983 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
4977bab6 22984
ade82b16
AO
22985configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22986 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
3aa83176
NN
22987 [ -d $(TARGET_SUBDIR)/libffi ] || \
22988 mkdir $(TARGET_SUBDIR)/libffi;\
8c90b13a
L
22989 r=`${PWD_COMMAND}`; export r; \
22990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
22991 $(SET_LIB_PATH) \
22992 AR="$(AR_FOR_TARGET)"; export AR; \
22993 AS="$(AS_FOR_TARGET)"; export AS; \
22994 CC="$(CC_FOR_TARGET)"; export CC; \
22995 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22996 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22997 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22999 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23000 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23001 LD="$(LD_FOR_TARGET)"; export LD; \
23002 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23003 NM="$(NM_FOR_TARGET)"; export NM; \
23004 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23005 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23006 echo Configuring in $(TARGET_SUBDIR)/libffi; \
23007 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
23008 case $(srcdir) in \
23009 /* | [A-Za-z]:[\\/]*) \
23010 topdir=$(srcdir) ;; \
23011 *) \
23012 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
23013 .) topdir="../$(srcdir)" ;; \
23014 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23015 esac ;; \
23016 esac; \
23017 if [ "$(srcdir)" = "." ] ; then \
23018 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23019 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
23020 if [ -f Makefile ]; then \
23021 if $(MAKE) distclean; then \
23022 true; \
23023 else \
23024 exit 1; \
23025 fi; \
4977bab6 23026 else \
3aa83176 23027 true; \
4977bab6 23028 fi; \
4977bab6 23029 else \
3aa83176 23030 exit 1; \
4977bab6 23031 fi; \
3aa83176
NN
23032 else \
23033 true; \
23034 fi; \
23035 srcdiroption="--srcdir=."; \
23036 libsrcdir="."; \
23037 else \
23038 srcdiroption="--srcdir=$${topdir}/libffi"; \
23039 libsrcdir="$$s/libffi"; \
23040 fi; \
23041 rm -f no-such-file || : ; \
23042 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23043 $(TARGET_CONFIGARGS) $${srcdiroption} \
23044 --with-target-subdir="$(TARGET_SUBDIR)" \
23045 || exit 1
4977bab6
ZW
23046
23047.PHONY: all-target-libffi maybe-all-target-libffi
23048maybe-all-target-libffi:
23049all-target-libffi: configure-target-libffi
8c90b13a
L
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23052 $(SET_LIB_PATH) \
23053 (cd $(TARGET_SUBDIR)/libffi && \
23054 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 23055
7e2dbcef
NN
23056.PHONY: check-target-libffi maybe-check-target-libffi
23057maybe-check-target-libffi:
23058
4977bab6 23059check-target-libffi:
8c90b13a
L
23060 @r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23062 $(SET_LIB_PATH) \
23063 (cd $(TARGET_SUBDIR)/libffi && \
23064 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
23065
23066
23067.PHONY: install-target-libffi maybe-install-target-libffi
23068maybe-install-target-libffi:
7e2dbcef 23069
89a7012a 23070install-target-libffi: installdirs
8c90b13a
L
23071 @r=`${PWD_COMMAND}`; export r; \
23072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23073 $(SET_LIB_PATH) \
23074 (cd $(TARGET_SUBDIR)/libffi && \
23075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
23076
23077
23078.PHONY: configure-target-libjava maybe-configure-target-libjava
23079maybe-configure-target-libjava:
4977bab6 23080
88b5521b
NN
23081# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23082$(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
ade82b16 23083 @[ -d $(TARGET_SUBDIR)/libjava ] || \
3aa83176 23084 mkdir $(TARGET_SUBDIR)/libjava; \
ade82b16 23085 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
88b5521b 23086 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
4977bab6 23087
ade82b16
AO
23088configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
23089 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
3aa83176
NN
23090 [ -d $(TARGET_SUBDIR)/libjava ] || \
23091 mkdir $(TARGET_SUBDIR)/libjava;\
8c90b13a
L
23092 r=`${PWD_COMMAND}`; export r; \
23093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23094 $(SET_LIB_PATH) \
23095 AR="$(AR_FOR_TARGET)"; export AR; \
23096 AS="$(AS_FOR_TARGET)"; export AS; \
23097 CC="$(CC_FOR_TARGET)"; export CC; \
23098 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23099 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23100 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
23101 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
23102 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23103 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23104 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23105 LD="$(LD_FOR_TARGET)"; export LD; \
23106 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23107 NM="$(NM_FOR_TARGET)"; export NM; \
23108 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23109 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23110 echo Configuring in $(TARGET_SUBDIR)/libjava; \
23111 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
23112 case $(srcdir) in \
23113 /* | [A-Za-z]:[\\/]*) \
23114 topdir=$(srcdir) ;; \
23115 *) \
23116 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
23117 .) topdir="../$(srcdir)" ;; \
23118 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23119 esac ;; \
23120 esac; \
23121 if [ "$(srcdir)" = "." ] ; then \
23122 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23123 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23124 if [ -f Makefile ]; then \
23125 if $(MAKE) distclean; then \
23126 true; \
23127 else \
23128 exit 1; \
23129 fi; \
4977bab6 23130 else \
3aa83176 23131 true; \
4977bab6 23132 fi; \
4977bab6 23133 else \
3aa83176 23134 exit 1; \
4977bab6 23135 fi; \
3aa83176
NN
23136 else \
23137 true; \
23138 fi; \
23139 srcdiroption="--srcdir=."; \
23140 libsrcdir="."; \
23141 else \
23142 srcdiroption="--srcdir=$${topdir}/libjava"; \
23143 libsrcdir="$$s/libjava"; \
23144 fi; \
23145 rm -f no-such-file || : ; \
23146 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23147 $(TARGET_CONFIGARGS) $${srcdiroption} \
23148 --with-target-subdir="$(TARGET_SUBDIR)" \
23149 || exit 1
4977bab6
ZW
23150
23151.PHONY: all-target-libjava maybe-all-target-libjava
23152maybe-all-target-libjava:
23153all-target-libjava: configure-target-libjava
8c90b13a
L
23154 @r=`${PWD_COMMAND}`; export r; \
23155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23156 $(SET_LIB_PATH) \
23157 (cd $(TARGET_SUBDIR)/libjava && \
23158 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
4977bab6 23159
7e2dbcef
NN
23160.PHONY: check-target-libjava maybe-check-target-libjava
23161maybe-check-target-libjava:
23162
4977bab6 23163check-target-libjava:
8c90b13a
L
23164 @r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23166 $(SET_LIB_PATH) \
23167 (cd $(TARGET_SUBDIR)/libjava && \
23168 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
4977bab6
ZW
23169
23170
23171.PHONY: install-target-libjava maybe-install-target-libjava
23172maybe-install-target-libjava:
7e2dbcef 23173
4977bab6 23174install-target-libjava: installdirs
8c90b13a
L
23175 @r=`${PWD_COMMAND}`; export r; \
23176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23177 $(SET_LIB_PATH) \
23178 (cd $(TARGET_SUBDIR)/libjava && \
23179 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
23180
23181
23182.PHONY: configure-target-zlib maybe-configure-target-zlib
23183maybe-configure-target-zlib:
4977bab6 23184
88b5521b
NN
23185# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23186$(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
ade82b16 23187 @[ -d $(TARGET_SUBDIR)/zlib ] || \
3aa83176 23188 mkdir $(TARGET_SUBDIR)/zlib; \
ade82b16 23189 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
88b5521b 23190 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
4977bab6 23191
ade82b16
AO
23192configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
23193 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
3aa83176
NN
23194 [ -d $(TARGET_SUBDIR)/zlib ] || \
23195 mkdir $(TARGET_SUBDIR)/zlib;\
8c90b13a
L
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23198 $(SET_LIB_PATH) \
23199 AR="$(AR_FOR_TARGET)"; export AR; \
23200 AS="$(AS_FOR_TARGET)"; export AS; \
23201 CC="$(CC_FOR_TARGET)"; export CC; \
23202 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23203 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23204 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23205 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23206 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23207 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23208 LD="$(LD_FOR_TARGET)"; export LD; \
23209 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23210 NM="$(NM_FOR_TARGET)"; export NM; \
23211 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23212 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23213 echo Configuring in $(TARGET_SUBDIR)/zlib; \
23214 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
23215 case $(srcdir) in \
23216 /* | [A-Za-z]:[\\/]*) \
23217 topdir=$(srcdir) ;; \
23218 *) \
23219 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
23220 .) topdir="../$(srcdir)" ;; \
23221 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23222 esac ;; \
23223 esac; \
23224 if [ "$(srcdir)" = "." ] ; then \
23225 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23226 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
23227 if [ -f Makefile ]; then \
23228 if $(MAKE) distclean; then \
23229 true; \
23230 else \
23231 exit 1; \
23232 fi; \
4977bab6 23233 else \
3aa83176 23234 true; \
4977bab6 23235 fi; \
4977bab6 23236 else \
3aa83176 23237 exit 1; \
4977bab6 23238 fi; \
3aa83176
NN
23239 else \
23240 true; \
23241 fi; \
23242 srcdiroption="--srcdir=."; \
23243 libsrcdir="."; \
23244 else \
23245 srcdiroption="--srcdir=$${topdir}/zlib"; \
23246 libsrcdir="$$s/zlib"; \
23247 fi; \
23248 rm -f no-such-file || : ; \
23249 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23250 $(TARGET_CONFIGARGS) $${srcdiroption} \
23251 --with-target-subdir="$(TARGET_SUBDIR)" \
23252 || exit 1
4977bab6
ZW
23253
23254.PHONY: all-target-zlib maybe-all-target-zlib
23255maybe-all-target-zlib:
23256all-target-zlib: configure-target-zlib
8c90b13a
L
23257 @r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23259 $(SET_LIB_PATH) \
23260 (cd $(TARGET_SUBDIR)/zlib && \
23261 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 23262
7e2dbcef
NN
23263.PHONY: check-target-zlib maybe-check-target-zlib
23264maybe-check-target-zlib:
23265
4977bab6 23266check-target-zlib:
8c90b13a
L
23267 @r=`${PWD_COMMAND}`; export r; \
23268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23269 $(SET_LIB_PATH) \
23270 (cd $(TARGET_SUBDIR)/zlib && \
23271 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
4977bab6
ZW
23272
23273
23274.PHONY: install-target-zlib maybe-install-target-zlib
23275maybe-install-target-zlib:
7e2dbcef 23276
4977bab6 23277install-target-zlib: installdirs
8c90b13a
L
23278 @r=`${PWD_COMMAND}`; export r; \
23279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23280 $(SET_LIB_PATH) \
23281 (cd $(TARGET_SUBDIR)/zlib && \
23282 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
4977bab6
ZW
23283
23284
23285.PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23286maybe-configure-target-boehm-gc:
4977bab6 23287
88b5521b
NN
23288# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23289$(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
ade82b16 23290 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \
3aa83176 23291 mkdir $(TARGET_SUBDIR)/boehm-gc; \
ade82b16 23292 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
88b5521b 23293 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
4977bab6 23294
ade82b16
AO
23295configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23296 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
3aa83176
NN
23297 [ -d $(TARGET_SUBDIR)/boehm-gc ] || \
23298 mkdir $(TARGET_SUBDIR)/boehm-gc;\
8c90b13a
L
23299 r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23301 $(SET_LIB_PATH) \
23302 AR="$(AR_FOR_TARGET)"; export AR; \
23303 AS="$(AS_FOR_TARGET)"; export AS; \
23304 CC="$(CC_FOR_TARGET)"; export CC; \
23305 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23306 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23307 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23308 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23309 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23310 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23311 LD="$(LD_FOR_TARGET)"; export LD; \
23312 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23313 NM="$(NM_FOR_TARGET)"; export NM; \
23314 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23315 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23316 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23317 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23318 case $(srcdir) in \
23319 /* | [A-Za-z]:[\\/]*) \
23320 topdir=$(srcdir) ;; \
23321 *) \
23322 case "$(TARGET_SUBDIR)" in \
4977bab6
ZW
23323 .) topdir="../$(srcdir)" ;; \
23324 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23325 esac ;; \
23326 esac; \
23327 if [ "$(srcdir)" = "." ] ; then \
23328 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23329 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23330 if [ -f Makefile ]; then \
23331 if $(MAKE) distclean; then \
23332 true; \
23333 else \
23334 exit 1; \
23335 fi; \
4977bab6 23336 else \
3aa83176 23337 true; \
4977bab6 23338 fi; \
4977bab6 23339 else \
3aa83176 23340 exit 1; \
4977bab6 23341 fi; \
3aa83176
NN
23342 else \
23343 true; \
23344 fi; \
23345 srcdiroption="--srcdir=."; \
23346 libsrcdir="."; \
23347 else \
23348 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23349 libsrcdir="$$s/boehm-gc"; \
23350 fi; \
23351 rm -f no-such-file || : ; \
23352 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23353 $(TARGET_CONFIGARGS) $${srcdiroption} \
23354 --with-target-subdir="$(TARGET_SUBDIR)" \
23355 || exit 1
4977bab6
ZW
23356
23357.PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23358maybe-all-target-boehm-gc:
23359all-target-boehm-gc: configure-target-boehm-gc
8c90b13a
L
23360 @r=`${PWD_COMMAND}`; export r; \
23361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23362 $(SET_LIB_PATH) \
23363 (cd $(TARGET_SUBDIR)/boehm-gc && \
23364 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
4977bab6 23365
7e2dbcef
NN
23366.PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23367maybe-check-target-boehm-gc:
23368
4977bab6 23369check-target-boehm-gc:
8c90b13a
L
23370 @r=`${PWD_COMMAND}`; export r; \
23371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23372 $(SET_LIB_PATH) \
23373 (cd $(TARGET_SUBDIR)/boehm-gc && \
23374 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6599da04 23375
4977bab6
ZW
23376
23377.PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23378maybe-install-target-boehm-gc:
7e2dbcef 23379
4977bab6 23380install-target-boehm-gc: installdirs
8c90b13a
L
23381 @r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23383 $(SET_LIB_PATH) \
23384 (cd $(TARGET_SUBDIR)/boehm-gc && \
23385 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
e490616e 23386
4977bab6
ZW
23387
23388.PHONY: configure-target-qthreads maybe-configure-target-qthreads
23389maybe-configure-target-qthreads:
4977bab6 23390
88b5521b
NN
23391# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23392$(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
ade82b16 23393 @[ -d $(TARGET_SUBDIR)/qthreads ] || \
3aa83176 23394 mkdir $(TARGET_SUBDIR)/qthreads; \
ade82b16 23395 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
88b5521b 23396 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
4977bab6 23397
ade82b16
AO
23398configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23399 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
3aa83176
NN
23400 [ -d $(TARGET_SUBDIR)/qthreads ] || \
23401 mkdir $(TARGET_SUBDIR)/qthreads;\
8c90b13a
L
23402 r=`${PWD_COMMAND}`; export r; \
23403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23404 $(SET_LIB_PATH) \
23405 AR="$(AR_FOR_TARGET)"; export AR; \
23406 AS="$(AS_FOR_TARGET)"; export AS; \
23407 CC="$(CC_FOR_TARGET)"; export CC; \
23408 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23409 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23410 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23411 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23412 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23413 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23414 LD="$(LD_FOR_TARGET)"; export LD; \
23415 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23416 NM="$(NM_FOR_TARGET)"; export NM; \
23417 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23418 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23419 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23420 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23421 case $(srcdir) in \
23422 /* | [A-Za-z]:[\\/]*) \
23423 topdir=$(srcdir) ;; \
23424 *) \
23425 case "$(TARGET_SUBDIR)" in \
e490616e
ZW
23426 .) topdir="../$(srcdir)" ;; \
23427 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23428 esac ;; \
23429 esac; \
23430 if [ "$(srcdir)" = "." ] ; then \
23431 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23432 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23433 if [ -f Makefile ]; then \
23434 if $(MAKE) distclean; then \
23435 true; \
23436 else \
23437 exit 1; \
23438 fi; \
e490616e 23439 else \
3aa83176 23440 true; \
e490616e 23441 fi; \
e490616e 23442 else \
3aa83176 23443 exit 1; \
e490616e 23444 fi; \
3aa83176
NN
23445 else \
23446 true; \
23447 fi; \
23448 srcdiroption="--srcdir=."; \
23449 libsrcdir="."; \
23450 else \
23451 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23452 libsrcdir="$$s/qthreads"; \
23453 fi; \
23454 rm -f no-such-file || : ; \
23455 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23456 $(TARGET_CONFIGARGS) $${srcdiroption} \
23457 --with-target-subdir="$(TARGET_SUBDIR)" \
23458 || exit 1
4977bab6
ZW
23459
23460.PHONY: all-target-qthreads maybe-all-target-qthreads
23461maybe-all-target-qthreads:
23462all-target-qthreads: configure-target-qthreads
8c90b13a
L
23463 @r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23465 $(SET_LIB_PATH) \
23466 (cd $(TARGET_SUBDIR)/qthreads && \
23467 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6599da04 23468
7e2dbcef
NN
23469.PHONY: check-target-qthreads maybe-check-target-qthreads
23470maybe-check-target-qthreads:
23471
4977bab6 23472check-target-qthreads:
8c90b13a
L
23473 @r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23475 $(SET_LIB_PATH) \
23476 (cd $(TARGET_SUBDIR)/qthreads && \
23477 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6599da04 23478
4977bab6
ZW
23479
23480.PHONY: install-target-qthreads maybe-install-target-qthreads
23481maybe-install-target-qthreads:
7e2dbcef 23482
4977bab6 23483install-target-qthreads: installdirs
8c90b13a
L
23484 @r=`${PWD_COMMAND}`; export r; \
23485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23486 $(SET_LIB_PATH) \
23487 (cd $(TARGET_SUBDIR)/qthreads && \
23488 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6599da04 23489
4977bab6
ZW
23490
23491.PHONY: configure-target-rda maybe-configure-target-rda
23492maybe-configure-target-rda:
4977bab6 23493
88b5521b
NN
23494# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23495$(TARGET_SUBDIR)/rda/multilib.out: multilib.out
ade82b16 23496 @[ -d $(TARGET_SUBDIR)/rda ] || \
3aa83176 23497 mkdir $(TARGET_SUBDIR)/rda; \
ade82b16 23498 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
88b5521b 23499 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
4977bab6 23500
ade82b16
AO
23501configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23502 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
3aa83176
NN
23503 [ -d $(TARGET_SUBDIR)/rda ] || \
23504 mkdir $(TARGET_SUBDIR)/rda;\
8c90b13a
L
23505 r=`${PWD_COMMAND}`; export r; \
23506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23507 $(SET_LIB_PATH) \
23508 AR="$(AR_FOR_TARGET)"; export AR; \
23509 AS="$(AS_FOR_TARGET)"; export AS; \
23510 CC="$(CC_FOR_TARGET)"; export CC; \
23511 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23512 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23513 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23515 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23516 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23517 LD="$(LD_FOR_TARGET)"; export LD; \
23518 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23519 NM="$(NM_FOR_TARGET)"; export NM; \
23520 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23521 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23522 echo Configuring in $(TARGET_SUBDIR)/rda; \
23523 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23524 case $(srcdir) in \
23525 /* | [A-Za-z]:[\\/]*) \
23526 topdir=$(srcdir) ;; \
23527 *) \
23528 case "$(TARGET_SUBDIR)" in \
6599da04
JM
23529 .) topdir="../$(srcdir)" ;; \
23530 *) topdir="../../$(srcdir)" ;; \
3aa83176
NN
23531 esac ;; \
23532 esac; \
23533 if [ "$(srcdir)" = "." ] ; then \
23534 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23535 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
23536 if [ -f Makefile ]; then \
23537 if $(MAKE) distclean; then \
23538 true; \
23539 else \
23540 exit 1; \
23541 fi; \
6599da04 23542 else \
3aa83176 23543 true; \
6599da04 23544 fi; \
6599da04 23545 else \
3aa83176 23546 exit 1; \
71205e0b 23547 fi; \
3aa83176
NN
23548 else \
23549 true; \
23550 fi; \
23551 srcdiroption="--srcdir=."; \
23552 libsrcdir="."; \
23553 else \
23554 srcdiroption="--srcdir=$${topdir}/rda"; \
23555 libsrcdir="$$s/rda"; \
23556 fi; \
23557 rm -f no-such-file || : ; \
23558 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23559 $(TARGET_CONFIGARGS) $${srcdiroption} \
23560 --with-target-subdir="$(TARGET_SUBDIR)" \
23561 || exit 1
4977bab6
ZW
23562
23563.PHONY: all-target-rda maybe-all-target-rda
23564maybe-all-target-rda:
23565all-target-rda: configure-target-rda
8c90b13a
L
23566 @r=`${PWD_COMMAND}`; export r; \
23567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23568 $(SET_LIB_PATH) \
23569 (cd $(TARGET_SUBDIR)/rda && \
23570 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6599da04 23571
7e2dbcef
NN
23572.PHONY: check-target-rda maybe-check-target-rda
23573maybe-check-target-rda:
23574
4977bab6 23575check-target-rda:
8c90b13a
L
23576 @r=`${PWD_COMMAND}`; export r; \
23577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23578 $(SET_LIB_PATH) \
23579 (cd $(TARGET_SUBDIR)/rda && \
23580 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6599da04 23581
6599da04 23582
4977bab6
ZW
23583.PHONY: install-target-rda maybe-install-target-rda
23584maybe-install-target-rda:
7e2dbcef 23585
4977bab6 23586install-target-rda: installdirs
8c90b13a
L
23587 @r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3aa83176
NN
23589 $(SET_LIB_PATH) \
23590 (cd $(TARGET_SUBDIR)/rda && \
23591 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6599da04 23592
6599da04 23593
4977bab6
ZW
23594
23595# ----------
23596# GCC module
23597# ----------
23598
23599# Unfortunately, while gcc _should_ be a host module,
23600# libgcc is a target module, and gen* programs are
23601# build modules. So GCC is a sort of hybrid.
6599da04
JM
23602
23603# gcc is the only module which uses GCC_FLAGS_TO_PASS.
4977bab6
ZW
23604.PHONY: configure-gcc maybe-configure-gcc
23605maybe-configure-gcc:
ade82b16
AO
23606configure-gcc:
23607 @test ! -f gcc/Makefile || exit 0; \
23608 [ -d gcc ] || mkdir gcc; \
8c90b13a
L
23609 r=`${PWD_COMMAND}`; export r; \
23610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977bab6
ZW
23611 CC="$(CC)"; export CC; \
23612 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23613 CXX="$(CXX)"; export CXX; \
23614 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3dfabf63 23615 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
f7dae026
NN
23616 AR="$(AR)"; export AR; \
23617 AS="$(AS)"; export AS; \
23618 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23619 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23620 LD="$(LD)"; export LD; \
23621 NM="$(NM)"; export NM; \
23622 RANLIB="$(RANLIB)"; export RANLIB; \
23623 WINDRES="$(WINDRES)"; export WINDRES; \
23624 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23625 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4977bab6
ZW
23626 echo Configuring in gcc; \
23627 cd gcc || exit 1; \
23628 case $(srcdir) in \
23629 \.) \
23630 srcdiroption="--srcdir=."; \
23631 libsrcdir=".";; \
23632 /* | [A-Za-z]:[\\/]*) \
23633 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23634 libsrcdir="$$s/gcc";; \
23635 *) \
23636 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23637 libsrcdir="$$s/gcc";; \
23638 esac; \
23639 $(SHELL) $${libsrcdir}/configure \
23640 $(HOST_CONFIGARGS) $${srcdiroption} \
23641 || exit 1
23642
5ecf91d1
JM
23643# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23644# causes trouble. This wart will be fixed eventually by moving
4977bab6
ZW
23645# the bootstrap behavior to this file.
23646.PHONY: all-gcc maybe-all-gcc
23647maybe-all-gcc:
23648all-gcc: configure-gcc
5ecf91d1 23649 @if [ -f gcc/stage_last ] ; then \
8c90b13a
L
23650 r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5ecf91d1 23652 $(SET_LIB_PATH) \
88b5521b 23653 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
4977bab6 23654 else \
8c90b13a
L
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599da04 23657 $(SET_LIB_PATH) \
88b5521b 23658 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
6599da04
JM
23659 fi
23660
ec20b1b9
JL
23661# Building GCC uses some tools for rebuilding "source" files
23662# like texinfo, bison/byacc, etc. So we must depend on those.
23663#
23664# While building GCC, it may be necessary to run various target
23665# programs like the assembler, linker, etc. So we depend on
23666# those too.
23667#
23668# In theory, on an SMP all those dependencies can be resolved
23669# in parallel.
23670#
1ca4c6e1
PE
23671GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23672.PHONY: $(GCC_STRAP_TARGETS)
23673$(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
8c90b13a
L
23674 @r=`${PWD_COMMAND}`; export r; \
23675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
ec20b1b9 23676 $(SET_LIB_PATH) \
339c9b00 23677 echo "Bootstrapping the compiler"; \
3a4fee66 23678 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
8c90b13a
L
23679 @r=`${PWD_COMMAND}`; export r; \
23680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
cc71c0ca 23681 case "$@" in \
f0983958 23682 *bootstrap4-lean ) \
3aa83176
NN
23683 msg="Comparing stage3 and stage4 of the compiler"; \
23684 compare=compare3-lean ;; \
23685 *bootstrap4 ) \
23686 msg="Comparing stage3 and stage4 of the compiler"; \
23687 compare=compare3 ;; \
23688 *-lean ) \
23689 msg="Comparing stage2 and stage3 of the compiler"; \
23690 compare=compare-lean ;; \
23691 * ) \
23692 msg="Comparing stage2 and stage3 of the compiler"; \
23693 compare=compare ;; \
cc71c0ca 23694 esac; \
ec20b1b9 23695 $(SET_LIB_PATH) \
cc71c0ca 23696 echo "$$msg"; \
3a4fee66 23697 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
8c90b13a
L
23698 @r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
f6b58262
JW
23700 $(SET_LIB_PATH) \
23701 echo "Building runtime libraries"; \
a3406c06 23702 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
b1e3ddfd 23703
8f231b5d 23704profiledbootstrap: all-bootstrap configure-gcc
8c90b13a
L
23705 @r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8f231b5d
JH
23707 $(SET_LIB_PATH) \
23708 echo "Bootstrapping the compiler"; \
23709 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
8c90b13a
L
23710 @r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
8f231b5d
JH
23712 $(SET_LIB_PATH) \
23713 echo "Building runtime libraries and training compiler"; \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
8c90b13a
L
23715 @r=`${PWD_COMMAND}`; export r; \
23716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8f231b5d
JH
23717 $(SET_LIB_PATH) \
23718 echo "Building feedback based compiler"; \
23719 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23720
09f97c1e
JL
23721.PHONY: cross
23722cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
8c90b13a
L
23723 @r=`${PWD_COMMAND}`; export r; \
23724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
09f97c1e
JL
23725 $(SET_LIB_PATH) \
23726 echo "Building the C and C++ compiler"; \
3a4fee66 23727 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
8c90b13a
L
23728 @r=`${PWD_COMMAND}`; export r; \
23729 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
f6b58262
JW
23730 $(SET_LIB_PATH) \
23731 echo "Building runtime libraries"; \
a3406c06
AO
23732 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23733 LANGUAGES="c c++" all
09f97c1e 23734
afc2b62d 23735.PHONY: check-gcc maybe-check-gcc
862fced8 23736maybe-check-gcc:
6599da04
JM
23737check-gcc:
23738 @if [ -f ./gcc/Makefile ] ; then \
8c90b13a
L
23739 r=`${PWD_COMMAND}`; export r; \
23740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599da04 23741 $(SET_LIB_PATH) \
88b5521b 23742 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
6599da04
JM
23743 else \
23744 true; \
23745 fi
23746
0edcfdcb
JM
23747.PHONY: check-gcc-c++
23748check-gcc-c++:
f04885d3 23749 @if [ -f ./gcc/Makefile ] ; then \
8c90b13a
L
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
f04885d3 23752 $(SET_LIB_PATH) \
88b5521b 23753 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
f04885d3
BK
23754 else \
23755 true; \
0edcfdcb
JM
23756 fi
23757
23758.PHONY: check-c++
30db8e17 23759check-c++:
bf1d3e81 23760 $(MAKE) check-target-libstdc++-v3 check-gcc-c++
3d55d2f8 23761
4977bab6
ZW
23762.PHONY: install-gcc maybe-install-gcc
23763maybe-install-gcc:
6599da04
JM
23764install-gcc:
23765 @if [ -f ./gcc/Makefile ] ; then \
8c90b13a
L
23766 r=`${PWD_COMMAND}`; export r; \
23767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599da04 23768 $(SET_LIB_PATH) \
88b5521b 23769 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
6599da04
JM
23770 else \
23771 true; \
23772 fi
23773
4977bab6
ZW
23774# Install the gcc headers files, but not the fixed include files,
23775# which Cygnus is not allowed to distribute. This rule is very
23776# dependent on the workings of the gcc Makefile.in.
23777.PHONY: gcc-no-fixedincludes
23778gcc-no-fixedincludes:
23779 @if [ -f ./gcc/Makefile ]; then \
23780 rm -rf gcc/tmp-include; \
23781 mv gcc/include gcc/tmp-include 2>/dev/null; \
23782 mkdir gcc/include; \
23783 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23784 touch gcc/stmp-fixinc gcc/include/fixed; \
23785 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
8c90b13a
L
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
6599da04 23788 $(SET_LIB_PATH) \
88b5521b 23789 (cd ./gcc && \
4977bab6
ZW
23790 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23791 rm -rf gcc/include; \
23792 mv gcc/tmp-include gcc/include 2>/dev/null; \
23793 else true; fi
6599da04 23794
4977bab6
ZW
23795# --------------------------------------
23796# Dependencies between different modules
23797# --------------------------------------
23798
23799# There are two types of dependencies here: 'hard' dependencies, where one
23800# module simply won't build without the other; and 'soft' dependencies, where
23801# if the depended-on module is missing, the depending module will do without
23802# or find a substitute somewhere (perhaps installed). Soft dependencies
23803# are specified by depending on a 'maybe-' target. If you're not sure,
23804# it's safer to use a soft dependency.
23805
23806# Host modules specific to gcc.
23807# GCC needs to identify certain tools.
56694dd9
ZW
23808# GCC also needs the information exported by the intl configure script.
23809configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
6eb95e99 23810all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
4977bab6
ZW
23811# This is a slightly kludgy method of getting dependencies on
23812# all-build-libiberty correct; it would be better to build it every time.
23813all-gcc: maybe-all-build-libiberty
21607eb4 23814all-bootstrap: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
4977bab6
ZW
23815
23816# Host modules specific to gdb.
23817# GDB needs to know that the simulator is being built.
2c30ab71 23818configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
0dffceed 23819GDB_TK = @GDB_TK@
4977bab6
ZW
23820all-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)
23821install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
79308c5d 23822configure-libgui: maybe-configure-tcl maybe-configure-tk
4977bab6
ZW
23823all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
23824
23825# Host modules specific to binutils.
23826configure-bfd: configure-libiberty
23827all-bfd: maybe-all-libiberty maybe-all-intl
23828all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
f5e0c73c
NN
23829# We put install-opcodes before install-binutils because the installed
23830# binutils might be on PATH, and they might need the shared opcodes
23831# library.
4977bab6 23832install-binutils: maybe-install-opcodes
c3969745
AS
23833# libopcodes depends on libbfd
23834install-opcodes: maybe-install-bfd
4977bab6
ZW
23835all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23836all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23837all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23838all-opcodes: maybe-all-bfd maybe-all-libiberty
23839
23840# Other host modules in the 'src' repository.
23841all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
23842configure-expect: maybe-configure-tcl maybe-configure-tk
23843all-expect: maybe-all-tcl maybe-all-tk
23844configure-itcl: maybe-configure-tcl maybe-configure-tk
23845all-itcl: maybe-all-tcl maybe-all-tk
f5e0c73c
NN
23846# We put install-tcl before install-itcl because itcl wants to run a
23847# program on installation which uses the Tcl libraries.
4977bab6 23848install-itcl: maybe-install-tcl
ba49f6f1 23849all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
4977bab6
ZW
23850install-sid: maybe-install-tcl maybe-install-tk
23851all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23852configure-tk: maybe-configure-tcl
23853all-tk: maybe-all-tcl
23854configure-tix: maybe-configure-tcl maybe-configure-tk
23855all-tix: maybe-all-tcl maybe-all-tk
23856all-texinfo: maybe-all-libiberty
23857
23858# Other host modules. Warning, these are not well tested.
23859all-autoconf: maybe-all-m4 maybe-all-texinfo
23860all-automake: maybe-all-m4 maybe-all-texinfo
23861all-bison: maybe-all-texinfo
23862all-diff: maybe-all-libiberty
23863all-fastjar: maybe-all-zlib maybe-all-libiberty
23864all-fileutils: maybe-all-libiberty
23865all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
4977bab6
ZW
23866all-gzip: maybe-all-libiberty
23867all-hello: maybe-all-libiberty
23868all-m4: maybe-all-libiberty maybe-all-texinfo
23869all-make: maybe-all-libiberty
23870all-patch: maybe-all-libiberty
23871all-prms: maybe-all-libiberty
23872all-recode: maybe-all-libiberty
23873all-sed: maybe-all-libiberty
23874all-send-pr: maybe-all-prms
4977bab6
ZW
23875all-tar: maybe-all-libiberty
23876all-uudecode: maybe-all-libiberty
23877
23878ALL_GCC = maybe-all-gcc
23879ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
23880ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
23881
23882# Target modules specific to gcc.
23883configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
23884configure-target-fastjar: maybe-configure-target-zlib
23885all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
23886configure-target-libf2c: $(ALL_GCC_C)
23887all-target-libf2c: maybe-all-target-libiberty
23888configure-target-libffi: $(ALL_GCC_C)
23889configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
23890all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
23891configure-target-libobjc: $(ALL_GCC_C)
23892all-target-libobjc: maybe-all-target-libiberty
23893configure-target-libstdc++-v3: $(ALL_GCC_C)
23894all-target-libstdc++-v3: maybe-all-target-libiberty
23895configure-target-zlib: $(ALL_GCC_C)
6599da04 23896
4977bab6
ZW
23897# Target modules in the 'src' repository.
23898configure-target-examples: $(ALL_GCC_C)
23899configure-target-libgloss: $(ALL_GCC)
23900all-target-libgloss: maybe-configure-target-newlib
2eb98e5d 23901configure-target-libiberty: $(ALL_GCC)
4977bab6
ZW
23902configure-target-libtermcap: $(ALL_GCC_C)
23903configure-target-newlib: $(ALL_GCC)
23904configure-target-rda: $(ALL_GCC_C)
23905configure-target-winsup: $(ALL_GCC_C)
23906all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
6599da04 23907
4977bab6
ZW
23908# Other target modules. Warning, these are not well tested.
23909configure-target-gperf: $(ALL_GCC_CXX)
23910all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
23911configure-target-qthreads: $(ALL_GCC_C)
6599da04 23912
4977bab6
ZW
23913# Dependencies of maybe-foo on foo. These are used because, for example,
23914# all-gcc only depends on all-gas if gas is present and being configured.
23915@maybe_dependencies@
6599da04 23916
4977bab6
ZW
23917# Serialization dependencies. Host configures don't work well in parallel to
23918# each other, due to contention over config.cache. Target configures and
23919# build configures are similar.
23920@serialization_dependencies@
6599da04 23921
4977bab6
ZW
23922# --------------------------------
23923# Regenerating top level configury
23924# --------------------------------
6599da04 23925
88b5521b
NN
23926# Multilib.out tells target dirs what multilibs they should build.
23927# There is really only one copy. We use the 'timestamp' method to
23928# work around various timestamp bugs on some systems.
23929# We use move-if-change so that it's only considered updated when it
23930# actually changes, because it has to depend on a phony target.
ade82b16 23931multilib.out: maybe-all-gcc
8c90b13a 23932 @r=`${PWD_COMMAND}`; export r; \
88b5521b
NN
23933 echo "Checking multilib configuration..."; \
23934 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
23935 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
88b5521b 23936
6f950405 23937# Rebuilding Makefile.in, using autogen.
e245b0ea 23938AUTOGEN = autogen
ee03dc5e 23939$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
e245b0ea 23940 cd $(srcdir) && $(AUTOGEN) Makefile.def
6f950405 23941
671aa708 23942# Rebuilding Makefile.
e245b0ea
AO
23943Makefile: $(srcdir)/Makefile.in config.status
23944 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
23945
23946config.status: configure $(gcc_version_trigger)
671aa708 23947 $(SHELL) ./config.status --recheck
6599da04 23948
671aa708 23949# Rebuilding configure.
e245b0ea 23950AUTOCONF = autoconf
ee03dc5e 23951$(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
e245b0ea 23952 cd $(srcdir) && $(AUTOCONF)
6599da04 23953
93c834b7
NN
23954# ------------------------------
23955# Special directives to GNU Make
23956# ------------------------------
23957
93c834b7
NN
23958# Don't pass command-line variables to submakes.
23959.NOEXPORT:
23960MAKEOVERRIDES=
23961
6599da04 23962# end of Makefile.in
This page took 2.797175 seconds and 5 git commands to generate.