2006-01-31 Paul Brook <paul@codesourcery.com>
[binutils.git] / Makefile.in
blob78972f03b28141670cdd8e255a1fd89d79a7c6ab
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system. We need to pass
137 # some to the GCC configure because of its hybrid host/target nature.
138 HOST_EXPORTS = \
139 $(BASE_EXPORTS) \
140 CC="$(CC)"; export CC; \
141 CFLAGS="$(CFLAGS)"; export CFLAGS; \
142 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
143 CXX="$(CXX)"; export CXX; \
144 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
145 AR="$(AR)"; export AR; \
146 AS="$(AS)"; export AS; \
147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
149 LD="$(LD)"; export LD; \
150 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
151 NM="$(NM)"; export NM; \
152 RANLIB="$(RANLIB)"; export RANLIB; \
153 WINDRES="$(WINDRES)"; export WINDRES; \
154 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
155 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
156 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
157 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
158 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
159 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
160 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
161 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
162 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
163 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
164 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
165 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
166 @if gcc-bootstrap
167 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
168 @endif gcc-bootstrap
169 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
171 # Similar, for later GCC stages.
172 POSTSTAGE1_HOST_EXPORTS = \
173 $(HOST_EXPORTS) \
174 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
175 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
176 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
177 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
178 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
179 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
375 # This is the list of directories that may be needed in RPATH_ENVVAR
376 # so that programs built for the host machine work.
377 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
379 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
380 @if gcc
381 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
382 @endif gcc
385 @if bfd
386 HOST_LIB_PATH_bfd = \
387 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
388 @endif bfd
390 @if opcodes
391 HOST_LIB_PATH_opcodes = \
392 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
393 @endif opcodes
396 # Flags to pass down to all sub-makes.
397 BASE_FLAGS_TO_PASS = \
398 "DESTDIR=$(DESTDIR)" \
399 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
400 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
401 "bindir=$(bindir)" \
402 "datadir=$(datadir)" \
403 "exec_prefix=$(exec_prefix)" \
404 "includedir=$(includedir)" \
405 "infodir=$(infodir)" \
406 "libdir=$(libdir)" \
407 "libexecdir=$(libexecdir)" \
408 "lispdir=$(lispdir)" \
409 "localstatedir=$(localstatedir)" \
410 "mandir=$(mandir)" \
411 "oldincludedir=$(oldincludedir)" \
412 "prefix=$(prefix)" \
413 "sbindir=$(sbindir)" \
414 "sharedstatedir=$(sharedstatedir)" \
415 "sysconfdir=$(sysconfdir)" \
416 "tooldir=$(tooldir)" \
417 "build_tooldir=$(build_tooldir)" \
418 "target_alias=$(target_alias)" \
419 "BISON=$(BISON)" \
420 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
421 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
422 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
423 "EXPECT=$(EXPECT)" \
424 "FLEX=$(FLEX)" \
425 "INSTALL=$(INSTALL)" \
426 "INSTALL_DATA=$(INSTALL_DATA)" \
427 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
428 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
429 "LEX=$(LEX)" \
430 "M4=$(M4)" \
431 "MAKE=$(MAKE)" \
432 "RUNTEST=$(RUNTEST)" \
433 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
434 "SHELL=$(SHELL)" \
435 "YACC=$(YACC)" \
436 "AR_FLAGS=$(AR_FLAGS)" \
437 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
438 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
439 "CFLAGS=$(CFLAGS)" \
440 "CXXFLAGS=$(CXXFLAGS)" \
441 "LDFLAGS=$(LDFLAGS)" \
442 "LIBCFLAGS=$(LIBCFLAGS)" \
443 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
444 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
445 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
446 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
447 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
448 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
449 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
450 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
451 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
452 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
453 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
454 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
455 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
456 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
457 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
458 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
459 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
460 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
461 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
462 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
463 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
464 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
465 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
466 "LEAN=$(LEAN)" \
467 "CONFIG_SHELL=$(SHELL)" \
468 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
470 # We leave this in just in case, but it is not needed anymore.
471 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
473 # Flags to pass down to most sub-makes, in which we're building with
474 # the host environment.
475 EXTRA_HOST_FLAGS = \
476 'AR=$(AR)' \
477 'AS=$(AS)' \
478 'CC=$(CC)' \
479 'CXX=$(CXX)' \
480 'DLLTOOL=$(DLLTOOL)' \
481 'LD=$(LD)' \
482 'LIPO=$(LIPO)' \
483 'NM=$(NM)' \
484 'OBJDUMP=$(OBJDUMP)' \
485 'RANLIB=$(RANLIB)' \
486 'STRIP=$(STRIP)' \
487 'WINDRES=$(WINDRES)'
489 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
491 # Flags that are concerned with the location of the X11 include files
492 # and library files
494 # NOTE: until the top-level is getting the values via autoconf, it only
495 # causes problems to have this top-level Makefile overriding the autoconf-set
496 # values in child directories. Only variables that don't conflict with
497 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
499 X11_FLAGS_TO_PASS = \
500 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
501 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
503 # Flags to pass down to makes which are built with the target environment.
504 # The double $ decreases the length of the command line; those variables
505 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
506 # COMPILER_ prefixed variables are not passed down so we expand them here.
507 EXTRA_TARGET_FLAGS = \
508 'AR=$$(AR_FOR_TARGET)' \
509 'AS=$(COMPILER_AS_FOR_TARGET)' \
510 'CC=$$(CC_FOR_TARGET)' \
511 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
512 'CXX=$$(CXX_FOR_TARGET)' \
513 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
514 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
515 'LD=$(COMPILER_LD_FOR_TARGET)' \
516 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
517 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
518 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
519 'NM=$(COMPILER_NM_FOR_TARGET)' \
520 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
521 'RANLIB=$$(RANLIB_FOR_TARGET)' \
522 'WINDRES=$$(WINDRES_FOR_TARGET)'
524 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
526 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
527 # unfortunately needs the native compiler and the target ar and
528 # ranlib.
529 # If any variables are added here, they must be added to do-*, below.
530 # The BUILD_* variables are a special case, which are used for the gcc
531 # cross-building scheme.
532 EXTRA_GCC_FLAGS = \
533 'BUILD_PREFIX=$(BUILD_PREFIX)' \
534 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
535 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
536 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
537 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
538 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
539 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
540 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
541 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
542 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
544 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
546 .PHONY: configure-host
547 configure-host: \
548 maybe-configure-ash \
549 maybe-configure-autoconf \
550 maybe-configure-automake \
551 maybe-configure-bash \
552 maybe-configure-bfd \
553 maybe-configure-opcodes \
554 maybe-configure-binutils \
555 maybe-configure-bison \
556 maybe-configure-byacc \
557 maybe-configure-bzip2 \
558 maybe-configure-dejagnu \
559 maybe-configure-diff \
560 maybe-configure-dosutils \
561 maybe-configure-etc \
562 maybe-configure-fastjar \
563 maybe-configure-fileutils \
564 maybe-configure-findutils \
565 maybe-configure-find \
566 maybe-configure-fixincludes \
567 maybe-configure-flex \
568 maybe-configure-gas \
569 maybe-configure-gcc \
570 maybe-configure-gawk \
571 maybe-configure-gettext \
572 maybe-configure-gnuserv \
573 maybe-configure-gprof \
574 maybe-configure-gzip \
575 maybe-configure-hello \
576 maybe-configure-indent \
577 maybe-configure-intl \
578 maybe-configure-tcl \
579 maybe-configure-itcl \
580 maybe-configure-ld \
581 maybe-configure-libcpp \
582 maybe-configure-libdecnumber \
583 maybe-configure-libgui \
584 maybe-configure-libiberty \
585 maybe-configure-libtool \
586 maybe-configure-m4 \
587 maybe-configure-make \
588 maybe-configure-mmalloc \
589 maybe-configure-patch \
590 maybe-configure-perl \
591 maybe-configure-prms \
592 maybe-configure-rcs \
593 maybe-configure-readline \
594 maybe-configure-release \
595 maybe-configure-recode \
596 maybe-configure-sed \
597 maybe-configure-send-pr \
598 maybe-configure-shellutils \
599 maybe-configure-sid \
600 maybe-configure-sim \
601 maybe-configure-tar \
602 maybe-configure-texinfo \
603 maybe-configure-textutils \
604 maybe-configure-time \
605 maybe-configure-uudecode \
606 maybe-configure-wdiff \
607 maybe-configure-zip \
608 maybe-configure-zlib \
609 maybe-configure-gdb \
610 maybe-configure-expect \
611 maybe-configure-guile \
612 maybe-configure-tk \
613 maybe-configure-libtermcap \
614 maybe-configure-utils \
615 maybe-configure-gnattools
616 .PHONY: configure-target
617 configure-target: \
618 maybe-configure-target-libstdc++-v3 \
619 maybe-configure-target-libmudflap \
620 maybe-configure-target-libssp \
621 maybe-configure-target-newlib \
622 maybe-configure-target-libgfortran \
623 maybe-configure-target-libobjc \
624 maybe-configure-target-libtermcap \
625 maybe-configure-target-winsup \
626 maybe-configure-target-libgloss \
627 maybe-configure-target-libiberty \
628 maybe-configure-target-gperf \
629 maybe-configure-target-examples \
630 maybe-configure-target-libffi \
631 maybe-configure-target-libjava \
632 maybe-configure-target-zlib \
633 maybe-configure-target-boehm-gc \
634 maybe-configure-target-qthreads \
635 maybe-configure-target-rda \
636 maybe-configure-target-libada
638 # The target built for a native non-bootstrap build.
639 .PHONY: all
640 all:
641 @if gcc-bootstrap
642 [ -f stage_final ] || echo stage3 > stage_final
643 @r=`${PWD_COMMAND}`; export r; \
644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
646 @endif gcc-bootstrap
647 @: $(MAKE); $(unstage)
648 @r=`${PWD_COMMAND}`; export r; \
649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
650 if [ -f stage_last ]; then \
651 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
652 else \
653 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
656 .PHONY: all-build
657 all-build: \
658 maybe-all-build-libiberty \
659 maybe-all-build-bison \
660 maybe-all-build-byacc \
661 maybe-all-build-flex \
662 maybe-all-build-m4 \
663 maybe-all-build-texinfo \
664 maybe-all-build-fixincludes
665 .PHONY: all-host
666 all-host: \
667 maybe-all-ash \
668 maybe-all-autoconf \
669 maybe-all-automake \
670 maybe-all-bash \
671 maybe-all-bfd \
672 maybe-all-opcodes \
673 maybe-all-binutils \
674 maybe-all-bison \
675 maybe-all-byacc \
676 maybe-all-bzip2 \
677 maybe-all-dejagnu \
678 maybe-all-diff \
679 maybe-all-dosutils \
680 maybe-all-etc \
681 maybe-all-fastjar \
682 maybe-all-fileutils \
683 maybe-all-findutils \
684 maybe-all-find \
685 maybe-all-fixincludes \
686 maybe-all-flex \
687 maybe-all-gas \
688 maybe-all-gcc \
689 maybe-all-gawk \
690 maybe-all-gettext \
691 maybe-all-gnuserv \
692 maybe-all-gprof \
693 maybe-all-gzip \
694 maybe-all-hello \
695 maybe-all-indent \
696 maybe-all-intl \
697 maybe-all-tcl \
698 maybe-all-itcl \
699 maybe-all-ld \
700 maybe-all-libcpp \
701 maybe-all-libdecnumber \
702 maybe-all-libgui \
703 maybe-all-libiberty \
704 maybe-all-libtool \
705 maybe-all-m4 \
706 maybe-all-make \
707 maybe-all-mmalloc \
708 maybe-all-patch \
709 maybe-all-perl \
710 maybe-all-prms \
711 maybe-all-rcs \
712 maybe-all-readline \
713 maybe-all-release \
714 maybe-all-recode \
715 maybe-all-sed \
716 maybe-all-send-pr \
717 maybe-all-shellutils \
718 maybe-all-sid \
719 maybe-all-sim \
720 maybe-all-tar \
721 maybe-all-texinfo \
722 maybe-all-textutils \
723 maybe-all-time \
724 maybe-all-uudecode \
725 maybe-all-wdiff \
726 maybe-all-zip \
727 maybe-all-zlib \
728 maybe-all-gdb \
729 maybe-all-expect \
730 maybe-all-guile \
731 maybe-all-tk \
732 maybe-all-libtermcap \
733 maybe-all-utils \
734 maybe-all-gnattools
735 .PHONY: all-target
736 all-target: \
737 maybe-all-target-libstdc++-v3 \
738 maybe-all-target-libmudflap \
739 maybe-all-target-libssp \
740 maybe-all-target-newlib \
741 maybe-all-target-libgfortran \
742 maybe-all-target-libobjc \
743 maybe-all-target-libtermcap \
744 maybe-all-target-winsup \
745 maybe-all-target-libgloss \
746 maybe-all-target-libiberty \
747 maybe-all-target-gperf \
748 maybe-all-target-examples \
749 maybe-all-target-libffi \
750 maybe-all-target-libjava \
751 maybe-all-target-zlib \
752 maybe-all-target-boehm-gc \
753 maybe-all-target-qthreads \
754 maybe-all-target-rda \
755 maybe-all-target-libada
757 # Do a target for all the subdirectories. A ``make do-X'' will do a
758 # ``make X'' in all subdirectories (because, in general, there is a
759 # dependency (below) of X upon do-X, a ``make X'' will also do this,
760 # but it may do additional work as well).
762 .PHONY: do-info
763 do-info:
764 @: $(MAKE); $(unstage)
765 @r=`${PWD_COMMAND}`; export r; \
766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
767 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
768 info-target
771 .PHONY: info-host
772 info-host: \
773 maybe-info-ash \
774 maybe-info-autoconf \
775 maybe-info-automake \
776 maybe-info-bash \
777 maybe-info-bfd \
778 maybe-info-opcodes \
779 maybe-info-binutils \
780 maybe-info-bison \
781 maybe-info-byacc \
782 maybe-info-bzip2 \
783 maybe-info-dejagnu \
784 maybe-info-diff \
785 maybe-info-dosutils \
786 maybe-info-etc \
787 maybe-info-fastjar \
788 maybe-info-fileutils \
789 maybe-info-findutils \
790 maybe-info-find \
791 maybe-info-fixincludes \
792 maybe-info-flex \
793 maybe-info-gas \
794 maybe-info-gcc \
795 maybe-info-gawk \
796 maybe-info-gettext \
797 maybe-info-gnuserv \
798 maybe-info-gprof \
799 maybe-info-gzip \
800 maybe-info-hello \
801 maybe-info-indent \
802 maybe-info-intl \
803 maybe-info-tcl \
804 maybe-info-itcl \
805 maybe-info-ld \
806 maybe-info-libcpp \
807 maybe-info-libdecnumber \
808 maybe-info-libgui \
809 maybe-info-libiberty \
810 maybe-info-libtool \
811 maybe-info-m4 \
812 maybe-info-make \
813 maybe-info-mmalloc \
814 maybe-info-patch \
815 maybe-info-perl \
816 maybe-info-prms \
817 maybe-info-rcs \
818 maybe-info-readline \
819 maybe-info-release \
820 maybe-info-recode \
821 maybe-info-sed \
822 maybe-info-send-pr \
823 maybe-info-shellutils \
824 maybe-info-sid \
825 maybe-info-sim \
826 maybe-info-tar \
827 maybe-info-texinfo \
828 maybe-info-textutils \
829 maybe-info-time \
830 maybe-info-uudecode \
831 maybe-info-wdiff \
832 maybe-info-zip \
833 maybe-info-zlib \
834 maybe-info-gdb \
835 maybe-info-expect \
836 maybe-info-guile \
837 maybe-info-tk \
838 maybe-info-libtermcap \
839 maybe-info-utils \
840 maybe-info-gnattools
842 .PHONY: info-target
843 info-target: \
844 maybe-info-target-libstdc++-v3 \
845 maybe-info-target-libmudflap \
846 maybe-info-target-libssp \
847 maybe-info-target-newlib \
848 maybe-info-target-libgfortran \
849 maybe-info-target-libobjc \
850 maybe-info-target-libtermcap \
851 maybe-info-target-winsup \
852 maybe-info-target-libgloss \
853 maybe-info-target-libiberty \
854 maybe-info-target-gperf \
855 maybe-info-target-examples \
856 maybe-info-target-libffi \
857 maybe-info-target-libjava \
858 maybe-info-target-zlib \
859 maybe-info-target-boehm-gc \
860 maybe-info-target-qthreads \
861 maybe-info-target-rda \
862 maybe-info-target-libada
864 .PHONY: do-dvi
865 do-dvi:
866 @: $(MAKE); $(unstage)
867 @r=`${PWD_COMMAND}`; export r; \
868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
869 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
870 dvi-target
873 .PHONY: dvi-host
874 dvi-host: \
875 maybe-dvi-ash \
876 maybe-dvi-autoconf \
877 maybe-dvi-automake \
878 maybe-dvi-bash \
879 maybe-dvi-bfd \
880 maybe-dvi-opcodes \
881 maybe-dvi-binutils \
882 maybe-dvi-bison \
883 maybe-dvi-byacc \
884 maybe-dvi-bzip2 \
885 maybe-dvi-dejagnu \
886 maybe-dvi-diff \
887 maybe-dvi-dosutils \
888 maybe-dvi-etc \
889 maybe-dvi-fastjar \
890 maybe-dvi-fileutils \
891 maybe-dvi-findutils \
892 maybe-dvi-find \
893 maybe-dvi-fixincludes \
894 maybe-dvi-flex \
895 maybe-dvi-gas \
896 maybe-dvi-gcc \
897 maybe-dvi-gawk \
898 maybe-dvi-gettext \
899 maybe-dvi-gnuserv \
900 maybe-dvi-gprof \
901 maybe-dvi-gzip \
902 maybe-dvi-hello \
903 maybe-dvi-indent \
904 maybe-dvi-intl \
905 maybe-dvi-tcl \
906 maybe-dvi-itcl \
907 maybe-dvi-ld \
908 maybe-dvi-libcpp \
909 maybe-dvi-libdecnumber \
910 maybe-dvi-libgui \
911 maybe-dvi-libiberty \
912 maybe-dvi-libtool \
913 maybe-dvi-m4 \
914 maybe-dvi-make \
915 maybe-dvi-mmalloc \
916 maybe-dvi-patch \
917 maybe-dvi-perl \
918 maybe-dvi-prms \
919 maybe-dvi-rcs \
920 maybe-dvi-readline \
921 maybe-dvi-release \
922 maybe-dvi-recode \
923 maybe-dvi-sed \
924 maybe-dvi-send-pr \
925 maybe-dvi-shellutils \
926 maybe-dvi-sid \
927 maybe-dvi-sim \
928 maybe-dvi-tar \
929 maybe-dvi-texinfo \
930 maybe-dvi-textutils \
931 maybe-dvi-time \
932 maybe-dvi-uudecode \
933 maybe-dvi-wdiff \
934 maybe-dvi-zip \
935 maybe-dvi-zlib \
936 maybe-dvi-gdb \
937 maybe-dvi-expect \
938 maybe-dvi-guile \
939 maybe-dvi-tk \
940 maybe-dvi-libtermcap \
941 maybe-dvi-utils \
942 maybe-dvi-gnattools
944 .PHONY: dvi-target
945 dvi-target: \
946 maybe-dvi-target-libstdc++-v3 \
947 maybe-dvi-target-libmudflap \
948 maybe-dvi-target-libssp \
949 maybe-dvi-target-newlib \
950 maybe-dvi-target-libgfortran \
951 maybe-dvi-target-libobjc \
952 maybe-dvi-target-libtermcap \
953 maybe-dvi-target-winsup \
954 maybe-dvi-target-libgloss \
955 maybe-dvi-target-libiberty \
956 maybe-dvi-target-gperf \
957 maybe-dvi-target-examples \
958 maybe-dvi-target-libffi \
959 maybe-dvi-target-libjava \
960 maybe-dvi-target-zlib \
961 maybe-dvi-target-boehm-gc \
962 maybe-dvi-target-qthreads \
963 maybe-dvi-target-rda \
964 maybe-dvi-target-libada
966 .PHONY: do-html
967 do-html:
968 @: $(MAKE); $(unstage)
969 @r=`${PWD_COMMAND}`; export r; \
970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
972 html-target
975 .PHONY: html-host
976 html-host: \
977 maybe-html-ash \
978 maybe-html-autoconf \
979 maybe-html-automake \
980 maybe-html-bash \
981 maybe-html-bfd \
982 maybe-html-opcodes \
983 maybe-html-binutils \
984 maybe-html-bison \
985 maybe-html-byacc \
986 maybe-html-bzip2 \
987 maybe-html-dejagnu \
988 maybe-html-diff \
989 maybe-html-dosutils \
990 maybe-html-etc \
991 maybe-html-fastjar \
992 maybe-html-fileutils \
993 maybe-html-findutils \
994 maybe-html-find \
995 maybe-html-fixincludes \
996 maybe-html-flex \
997 maybe-html-gas \
998 maybe-html-gcc \
999 maybe-html-gawk \
1000 maybe-html-gettext \
1001 maybe-html-gnuserv \
1002 maybe-html-gprof \
1003 maybe-html-gzip \
1004 maybe-html-hello \
1005 maybe-html-indent \
1006 maybe-html-intl \
1007 maybe-html-tcl \
1008 maybe-html-itcl \
1009 maybe-html-ld \
1010 maybe-html-libcpp \
1011 maybe-html-libdecnumber \
1012 maybe-html-libgui \
1013 maybe-html-libiberty \
1014 maybe-html-libtool \
1015 maybe-html-m4 \
1016 maybe-html-make \
1017 maybe-html-mmalloc \
1018 maybe-html-patch \
1019 maybe-html-perl \
1020 maybe-html-prms \
1021 maybe-html-rcs \
1022 maybe-html-readline \
1023 maybe-html-release \
1024 maybe-html-recode \
1025 maybe-html-sed \
1026 maybe-html-send-pr \
1027 maybe-html-shellutils \
1028 maybe-html-sid \
1029 maybe-html-sim \
1030 maybe-html-tar \
1031 maybe-html-texinfo \
1032 maybe-html-textutils \
1033 maybe-html-time \
1034 maybe-html-uudecode \
1035 maybe-html-wdiff \
1036 maybe-html-zip \
1037 maybe-html-zlib \
1038 maybe-html-gdb \
1039 maybe-html-expect \
1040 maybe-html-guile \
1041 maybe-html-tk \
1042 maybe-html-libtermcap \
1043 maybe-html-utils \
1044 maybe-html-gnattools
1046 .PHONY: html-target
1047 html-target: \
1048 maybe-html-target-libstdc++-v3 \
1049 maybe-html-target-libmudflap \
1050 maybe-html-target-libssp \
1051 maybe-html-target-newlib \
1052 maybe-html-target-libgfortran \
1053 maybe-html-target-libobjc \
1054 maybe-html-target-libtermcap \
1055 maybe-html-target-winsup \
1056 maybe-html-target-libgloss \
1057 maybe-html-target-libiberty \
1058 maybe-html-target-gperf \
1059 maybe-html-target-examples \
1060 maybe-html-target-libffi \
1061 maybe-html-target-libjava \
1062 maybe-html-target-zlib \
1063 maybe-html-target-boehm-gc \
1064 maybe-html-target-qthreads \
1065 maybe-html-target-rda \
1066 maybe-html-target-libada
1068 .PHONY: do-TAGS
1069 do-TAGS:
1070 @: $(MAKE); $(unstage)
1071 @r=`${PWD_COMMAND}`; export r; \
1072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1073 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1074 TAGS-target
1077 .PHONY: TAGS-host
1078 TAGS-host: \
1079 maybe-TAGS-ash \
1080 maybe-TAGS-autoconf \
1081 maybe-TAGS-automake \
1082 maybe-TAGS-bash \
1083 maybe-TAGS-bfd \
1084 maybe-TAGS-opcodes \
1085 maybe-TAGS-binutils \
1086 maybe-TAGS-bison \
1087 maybe-TAGS-byacc \
1088 maybe-TAGS-bzip2 \
1089 maybe-TAGS-dejagnu \
1090 maybe-TAGS-diff \
1091 maybe-TAGS-dosutils \
1092 maybe-TAGS-etc \
1093 maybe-TAGS-fastjar \
1094 maybe-TAGS-fileutils \
1095 maybe-TAGS-findutils \
1096 maybe-TAGS-find \
1097 maybe-TAGS-fixincludes \
1098 maybe-TAGS-flex \
1099 maybe-TAGS-gas \
1100 maybe-TAGS-gcc \
1101 maybe-TAGS-gawk \
1102 maybe-TAGS-gettext \
1103 maybe-TAGS-gnuserv \
1104 maybe-TAGS-gprof \
1105 maybe-TAGS-gzip \
1106 maybe-TAGS-hello \
1107 maybe-TAGS-indent \
1108 maybe-TAGS-intl \
1109 maybe-TAGS-tcl \
1110 maybe-TAGS-itcl \
1111 maybe-TAGS-ld \
1112 maybe-TAGS-libcpp \
1113 maybe-TAGS-libdecnumber \
1114 maybe-TAGS-libgui \
1115 maybe-TAGS-libiberty \
1116 maybe-TAGS-libtool \
1117 maybe-TAGS-m4 \
1118 maybe-TAGS-make \
1119 maybe-TAGS-mmalloc \
1120 maybe-TAGS-patch \
1121 maybe-TAGS-perl \
1122 maybe-TAGS-prms \
1123 maybe-TAGS-rcs \
1124 maybe-TAGS-readline \
1125 maybe-TAGS-release \
1126 maybe-TAGS-recode \
1127 maybe-TAGS-sed \
1128 maybe-TAGS-send-pr \
1129 maybe-TAGS-shellutils \
1130 maybe-TAGS-sid \
1131 maybe-TAGS-sim \
1132 maybe-TAGS-tar \
1133 maybe-TAGS-texinfo \
1134 maybe-TAGS-textutils \
1135 maybe-TAGS-time \
1136 maybe-TAGS-uudecode \
1137 maybe-TAGS-wdiff \
1138 maybe-TAGS-zip \
1139 maybe-TAGS-zlib \
1140 maybe-TAGS-gdb \
1141 maybe-TAGS-expect \
1142 maybe-TAGS-guile \
1143 maybe-TAGS-tk \
1144 maybe-TAGS-libtermcap \
1145 maybe-TAGS-utils \
1146 maybe-TAGS-gnattools
1148 .PHONY: TAGS-target
1149 TAGS-target: \
1150 maybe-TAGS-target-libstdc++-v3 \
1151 maybe-TAGS-target-libmudflap \
1152 maybe-TAGS-target-libssp \
1153 maybe-TAGS-target-newlib \
1154 maybe-TAGS-target-libgfortran \
1155 maybe-TAGS-target-libobjc \
1156 maybe-TAGS-target-libtermcap \
1157 maybe-TAGS-target-winsup \
1158 maybe-TAGS-target-libgloss \
1159 maybe-TAGS-target-libiberty \
1160 maybe-TAGS-target-gperf \
1161 maybe-TAGS-target-examples \
1162 maybe-TAGS-target-libffi \
1163 maybe-TAGS-target-libjava \
1164 maybe-TAGS-target-zlib \
1165 maybe-TAGS-target-boehm-gc \
1166 maybe-TAGS-target-qthreads \
1167 maybe-TAGS-target-rda \
1168 maybe-TAGS-target-libada
1170 .PHONY: do-install-info
1171 do-install-info:
1172 @: $(MAKE); $(unstage)
1173 @r=`${PWD_COMMAND}`; export r; \
1174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1175 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1176 install-info-target
1179 .PHONY: install-info-host
1180 install-info-host: \
1181 maybe-install-info-ash \
1182 maybe-install-info-autoconf \
1183 maybe-install-info-automake \
1184 maybe-install-info-bash \
1185 maybe-install-info-bfd \
1186 maybe-install-info-opcodes \
1187 maybe-install-info-binutils \
1188 maybe-install-info-bison \
1189 maybe-install-info-byacc \
1190 maybe-install-info-bzip2 \
1191 maybe-install-info-dejagnu \
1192 maybe-install-info-diff \
1193 maybe-install-info-dosutils \
1194 maybe-install-info-etc \
1195 maybe-install-info-fastjar \
1196 maybe-install-info-fileutils \
1197 maybe-install-info-findutils \
1198 maybe-install-info-find \
1199 maybe-install-info-fixincludes \
1200 maybe-install-info-flex \
1201 maybe-install-info-gas \
1202 maybe-install-info-gcc \
1203 maybe-install-info-gawk \
1204 maybe-install-info-gettext \
1205 maybe-install-info-gnuserv \
1206 maybe-install-info-gprof \
1207 maybe-install-info-gzip \
1208 maybe-install-info-hello \
1209 maybe-install-info-indent \
1210 maybe-install-info-intl \
1211 maybe-install-info-tcl \
1212 maybe-install-info-itcl \
1213 maybe-install-info-ld \
1214 maybe-install-info-libcpp \
1215 maybe-install-info-libdecnumber \
1216 maybe-install-info-libgui \
1217 maybe-install-info-libiberty \
1218 maybe-install-info-libtool \
1219 maybe-install-info-m4 \
1220 maybe-install-info-make \
1221 maybe-install-info-mmalloc \
1222 maybe-install-info-patch \
1223 maybe-install-info-perl \
1224 maybe-install-info-prms \
1225 maybe-install-info-rcs \
1226 maybe-install-info-readline \
1227 maybe-install-info-release \
1228 maybe-install-info-recode \
1229 maybe-install-info-sed \
1230 maybe-install-info-send-pr \
1231 maybe-install-info-shellutils \
1232 maybe-install-info-sid \
1233 maybe-install-info-sim \
1234 maybe-install-info-tar \
1235 maybe-install-info-texinfo \
1236 maybe-install-info-textutils \
1237 maybe-install-info-time \
1238 maybe-install-info-uudecode \
1239 maybe-install-info-wdiff \
1240 maybe-install-info-zip \
1241 maybe-install-info-zlib \
1242 maybe-install-info-gdb \
1243 maybe-install-info-expect \
1244 maybe-install-info-guile \
1245 maybe-install-info-tk \
1246 maybe-install-info-libtermcap \
1247 maybe-install-info-utils \
1248 maybe-install-info-gnattools
1250 .PHONY: install-info-target
1251 install-info-target: \
1252 maybe-install-info-target-libstdc++-v3 \
1253 maybe-install-info-target-libmudflap \
1254 maybe-install-info-target-libssp \
1255 maybe-install-info-target-newlib \
1256 maybe-install-info-target-libgfortran \
1257 maybe-install-info-target-libobjc \
1258 maybe-install-info-target-libtermcap \
1259 maybe-install-info-target-winsup \
1260 maybe-install-info-target-libgloss \
1261 maybe-install-info-target-libiberty \
1262 maybe-install-info-target-gperf \
1263 maybe-install-info-target-examples \
1264 maybe-install-info-target-libffi \
1265 maybe-install-info-target-libjava \
1266 maybe-install-info-target-zlib \
1267 maybe-install-info-target-boehm-gc \
1268 maybe-install-info-target-qthreads \
1269 maybe-install-info-target-rda \
1270 maybe-install-info-target-libada
1272 .PHONY: do-installcheck
1273 do-installcheck:
1274 @: $(MAKE); $(unstage)
1275 @r=`${PWD_COMMAND}`; export r; \
1276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1278 installcheck-target
1281 .PHONY: installcheck-host
1282 installcheck-host: \
1283 maybe-installcheck-ash \
1284 maybe-installcheck-autoconf \
1285 maybe-installcheck-automake \
1286 maybe-installcheck-bash \
1287 maybe-installcheck-bfd \
1288 maybe-installcheck-opcodes \
1289 maybe-installcheck-binutils \
1290 maybe-installcheck-bison \
1291 maybe-installcheck-byacc \
1292 maybe-installcheck-bzip2 \
1293 maybe-installcheck-dejagnu \
1294 maybe-installcheck-diff \
1295 maybe-installcheck-dosutils \
1296 maybe-installcheck-etc \
1297 maybe-installcheck-fastjar \
1298 maybe-installcheck-fileutils \
1299 maybe-installcheck-findutils \
1300 maybe-installcheck-find \
1301 maybe-installcheck-fixincludes \
1302 maybe-installcheck-flex \
1303 maybe-installcheck-gas \
1304 maybe-installcheck-gcc \
1305 maybe-installcheck-gawk \
1306 maybe-installcheck-gettext \
1307 maybe-installcheck-gnuserv \
1308 maybe-installcheck-gprof \
1309 maybe-installcheck-gzip \
1310 maybe-installcheck-hello \
1311 maybe-installcheck-indent \
1312 maybe-installcheck-intl \
1313 maybe-installcheck-tcl \
1314 maybe-installcheck-itcl \
1315 maybe-installcheck-ld \
1316 maybe-installcheck-libcpp \
1317 maybe-installcheck-libdecnumber \
1318 maybe-installcheck-libgui \
1319 maybe-installcheck-libiberty \
1320 maybe-installcheck-libtool \
1321 maybe-installcheck-m4 \
1322 maybe-installcheck-make \
1323 maybe-installcheck-mmalloc \
1324 maybe-installcheck-patch \
1325 maybe-installcheck-perl \
1326 maybe-installcheck-prms \
1327 maybe-installcheck-rcs \
1328 maybe-installcheck-readline \
1329 maybe-installcheck-release \
1330 maybe-installcheck-recode \
1331 maybe-installcheck-sed \
1332 maybe-installcheck-send-pr \
1333 maybe-installcheck-shellutils \
1334 maybe-installcheck-sid \
1335 maybe-installcheck-sim \
1336 maybe-installcheck-tar \
1337 maybe-installcheck-texinfo \
1338 maybe-installcheck-textutils \
1339 maybe-installcheck-time \
1340 maybe-installcheck-uudecode \
1341 maybe-installcheck-wdiff \
1342 maybe-installcheck-zip \
1343 maybe-installcheck-zlib \
1344 maybe-installcheck-gdb \
1345 maybe-installcheck-expect \
1346 maybe-installcheck-guile \
1347 maybe-installcheck-tk \
1348 maybe-installcheck-libtermcap \
1349 maybe-installcheck-utils \
1350 maybe-installcheck-gnattools
1352 .PHONY: installcheck-target
1353 installcheck-target: \
1354 maybe-installcheck-target-libstdc++-v3 \
1355 maybe-installcheck-target-libmudflap \
1356 maybe-installcheck-target-libssp \
1357 maybe-installcheck-target-newlib \
1358 maybe-installcheck-target-libgfortran \
1359 maybe-installcheck-target-libobjc \
1360 maybe-installcheck-target-libtermcap \
1361 maybe-installcheck-target-winsup \
1362 maybe-installcheck-target-libgloss \
1363 maybe-installcheck-target-libiberty \
1364 maybe-installcheck-target-gperf \
1365 maybe-installcheck-target-examples \
1366 maybe-installcheck-target-libffi \
1367 maybe-installcheck-target-libjava \
1368 maybe-installcheck-target-zlib \
1369 maybe-installcheck-target-boehm-gc \
1370 maybe-installcheck-target-qthreads \
1371 maybe-installcheck-target-rda \
1372 maybe-installcheck-target-libada
1374 .PHONY: do-mostlyclean
1375 do-mostlyclean:
1376 @: $(MAKE); $(unstage)
1377 @r=`${PWD_COMMAND}`; export r; \
1378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1379 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1380 mostlyclean-target
1383 .PHONY: mostlyclean-host
1384 mostlyclean-host: \
1385 maybe-mostlyclean-ash \
1386 maybe-mostlyclean-autoconf \
1387 maybe-mostlyclean-automake \
1388 maybe-mostlyclean-bash \
1389 maybe-mostlyclean-bfd \
1390 maybe-mostlyclean-opcodes \
1391 maybe-mostlyclean-binutils \
1392 maybe-mostlyclean-bison \
1393 maybe-mostlyclean-byacc \
1394 maybe-mostlyclean-bzip2 \
1395 maybe-mostlyclean-dejagnu \
1396 maybe-mostlyclean-diff \
1397 maybe-mostlyclean-dosutils \
1398 maybe-mostlyclean-etc \
1399 maybe-mostlyclean-fastjar \
1400 maybe-mostlyclean-fileutils \
1401 maybe-mostlyclean-findutils \
1402 maybe-mostlyclean-find \
1403 maybe-mostlyclean-fixincludes \
1404 maybe-mostlyclean-flex \
1405 maybe-mostlyclean-gas \
1406 maybe-mostlyclean-gcc \
1407 maybe-mostlyclean-gawk \
1408 maybe-mostlyclean-gettext \
1409 maybe-mostlyclean-gnuserv \
1410 maybe-mostlyclean-gprof \
1411 maybe-mostlyclean-gzip \
1412 maybe-mostlyclean-hello \
1413 maybe-mostlyclean-indent \
1414 maybe-mostlyclean-intl \
1415 maybe-mostlyclean-tcl \
1416 maybe-mostlyclean-itcl \
1417 maybe-mostlyclean-ld \
1418 maybe-mostlyclean-libcpp \
1419 maybe-mostlyclean-libdecnumber \
1420 maybe-mostlyclean-libgui \
1421 maybe-mostlyclean-libiberty \
1422 maybe-mostlyclean-libtool \
1423 maybe-mostlyclean-m4 \
1424 maybe-mostlyclean-make \
1425 maybe-mostlyclean-mmalloc \
1426 maybe-mostlyclean-patch \
1427 maybe-mostlyclean-perl \
1428 maybe-mostlyclean-prms \
1429 maybe-mostlyclean-rcs \
1430 maybe-mostlyclean-readline \
1431 maybe-mostlyclean-release \
1432 maybe-mostlyclean-recode \
1433 maybe-mostlyclean-sed \
1434 maybe-mostlyclean-send-pr \
1435 maybe-mostlyclean-shellutils \
1436 maybe-mostlyclean-sid \
1437 maybe-mostlyclean-sim \
1438 maybe-mostlyclean-tar \
1439 maybe-mostlyclean-texinfo \
1440 maybe-mostlyclean-textutils \
1441 maybe-mostlyclean-time \
1442 maybe-mostlyclean-uudecode \
1443 maybe-mostlyclean-wdiff \
1444 maybe-mostlyclean-zip \
1445 maybe-mostlyclean-zlib \
1446 maybe-mostlyclean-gdb \
1447 maybe-mostlyclean-expect \
1448 maybe-mostlyclean-guile \
1449 maybe-mostlyclean-tk \
1450 maybe-mostlyclean-libtermcap \
1451 maybe-mostlyclean-utils \
1452 maybe-mostlyclean-gnattools
1454 .PHONY: mostlyclean-target
1455 mostlyclean-target: \
1456 maybe-mostlyclean-target-libstdc++-v3 \
1457 maybe-mostlyclean-target-libmudflap \
1458 maybe-mostlyclean-target-libssp \
1459 maybe-mostlyclean-target-newlib \
1460 maybe-mostlyclean-target-libgfortran \
1461 maybe-mostlyclean-target-libobjc \
1462 maybe-mostlyclean-target-libtermcap \
1463 maybe-mostlyclean-target-winsup \
1464 maybe-mostlyclean-target-libgloss \
1465 maybe-mostlyclean-target-libiberty \
1466 maybe-mostlyclean-target-gperf \
1467 maybe-mostlyclean-target-examples \
1468 maybe-mostlyclean-target-libffi \
1469 maybe-mostlyclean-target-libjava \
1470 maybe-mostlyclean-target-zlib \
1471 maybe-mostlyclean-target-boehm-gc \
1472 maybe-mostlyclean-target-qthreads \
1473 maybe-mostlyclean-target-rda \
1474 maybe-mostlyclean-target-libada
1476 .PHONY: do-clean
1477 do-clean:
1478 @: $(MAKE); $(unstage)
1479 @r=`${PWD_COMMAND}`; export r; \
1480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1481 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1482 clean-target
1485 .PHONY: clean-host
1486 clean-host: \
1487 maybe-clean-ash \
1488 maybe-clean-autoconf \
1489 maybe-clean-automake \
1490 maybe-clean-bash \
1491 maybe-clean-bfd \
1492 maybe-clean-opcodes \
1493 maybe-clean-binutils \
1494 maybe-clean-bison \
1495 maybe-clean-byacc \
1496 maybe-clean-bzip2 \
1497 maybe-clean-dejagnu \
1498 maybe-clean-diff \
1499 maybe-clean-dosutils \
1500 maybe-clean-etc \
1501 maybe-clean-fastjar \
1502 maybe-clean-fileutils \
1503 maybe-clean-findutils \
1504 maybe-clean-find \
1505 maybe-clean-fixincludes \
1506 maybe-clean-flex \
1507 maybe-clean-gas \
1508 maybe-clean-gcc \
1509 maybe-clean-gawk \
1510 maybe-clean-gettext \
1511 maybe-clean-gnuserv \
1512 maybe-clean-gprof \
1513 maybe-clean-gzip \
1514 maybe-clean-hello \
1515 maybe-clean-indent \
1516 maybe-clean-intl \
1517 maybe-clean-tcl \
1518 maybe-clean-itcl \
1519 maybe-clean-ld \
1520 maybe-clean-libcpp \
1521 maybe-clean-libdecnumber \
1522 maybe-clean-libgui \
1523 maybe-clean-libiberty \
1524 maybe-clean-libtool \
1525 maybe-clean-m4 \
1526 maybe-clean-make \
1527 maybe-clean-mmalloc \
1528 maybe-clean-patch \
1529 maybe-clean-perl \
1530 maybe-clean-prms \
1531 maybe-clean-rcs \
1532 maybe-clean-readline \
1533 maybe-clean-release \
1534 maybe-clean-recode \
1535 maybe-clean-sed \
1536 maybe-clean-send-pr \
1537 maybe-clean-shellutils \
1538 maybe-clean-sid \
1539 maybe-clean-sim \
1540 maybe-clean-tar \
1541 maybe-clean-texinfo \
1542 maybe-clean-textutils \
1543 maybe-clean-time \
1544 maybe-clean-uudecode \
1545 maybe-clean-wdiff \
1546 maybe-clean-zip \
1547 maybe-clean-zlib \
1548 maybe-clean-gdb \
1549 maybe-clean-expect \
1550 maybe-clean-guile \
1551 maybe-clean-tk \
1552 maybe-clean-libtermcap \
1553 maybe-clean-utils \
1554 maybe-clean-gnattools
1556 .PHONY: clean-target
1557 clean-target: \
1558 maybe-clean-target-libstdc++-v3 \
1559 maybe-clean-target-libmudflap \
1560 maybe-clean-target-libssp \
1561 maybe-clean-target-newlib \
1562 maybe-clean-target-libgfortran \
1563 maybe-clean-target-libobjc \
1564 maybe-clean-target-libtermcap \
1565 maybe-clean-target-winsup \
1566 maybe-clean-target-libgloss \
1567 maybe-clean-target-libiberty \
1568 maybe-clean-target-gperf \
1569 maybe-clean-target-examples \
1570 maybe-clean-target-libffi \
1571 maybe-clean-target-libjava \
1572 maybe-clean-target-zlib \
1573 maybe-clean-target-boehm-gc \
1574 maybe-clean-target-qthreads \
1575 maybe-clean-target-rda \
1576 maybe-clean-target-libada
1578 .PHONY: do-distclean
1579 do-distclean:
1580 @: $(MAKE); $(unstage)
1581 @r=`${PWD_COMMAND}`; export r; \
1582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1583 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1584 distclean-target
1587 .PHONY: distclean-host
1588 distclean-host: \
1589 maybe-distclean-ash \
1590 maybe-distclean-autoconf \
1591 maybe-distclean-automake \
1592 maybe-distclean-bash \
1593 maybe-distclean-bfd \
1594 maybe-distclean-opcodes \
1595 maybe-distclean-binutils \
1596 maybe-distclean-bison \
1597 maybe-distclean-byacc \
1598 maybe-distclean-bzip2 \
1599 maybe-distclean-dejagnu \
1600 maybe-distclean-diff \
1601 maybe-distclean-dosutils \
1602 maybe-distclean-etc \
1603 maybe-distclean-fastjar \
1604 maybe-distclean-fileutils \
1605 maybe-distclean-findutils \
1606 maybe-distclean-find \
1607 maybe-distclean-fixincludes \
1608 maybe-distclean-flex \
1609 maybe-distclean-gas \
1610 maybe-distclean-gcc \
1611 maybe-distclean-gawk \
1612 maybe-distclean-gettext \
1613 maybe-distclean-gnuserv \
1614 maybe-distclean-gprof \
1615 maybe-distclean-gzip \
1616 maybe-distclean-hello \
1617 maybe-distclean-indent \
1618 maybe-distclean-intl \
1619 maybe-distclean-tcl \
1620 maybe-distclean-itcl \
1621 maybe-distclean-ld \
1622 maybe-distclean-libcpp \
1623 maybe-distclean-libdecnumber \
1624 maybe-distclean-libgui \
1625 maybe-distclean-libiberty \
1626 maybe-distclean-libtool \
1627 maybe-distclean-m4 \
1628 maybe-distclean-make \
1629 maybe-distclean-mmalloc \
1630 maybe-distclean-patch \
1631 maybe-distclean-perl \
1632 maybe-distclean-prms \
1633 maybe-distclean-rcs \
1634 maybe-distclean-readline \
1635 maybe-distclean-release \
1636 maybe-distclean-recode \
1637 maybe-distclean-sed \
1638 maybe-distclean-send-pr \
1639 maybe-distclean-shellutils \
1640 maybe-distclean-sid \
1641 maybe-distclean-sim \
1642 maybe-distclean-tar \
1643 maybe-distclean-texinfo \
1644 maybe-distclean-textutils \
1645 maybe-distclean-time \
1646 maybe-distclean-uudecode \
1647 maybe-distclean-wdiff \
1648 maybe-distclean-zip \
1649 maybe-distclean-zlib \
1650 maybe-distclean-gdb \
1651 maybe-distclean-expect \
1652 maybe-distclean-guile \
1653 maybe-distclean-tk \
1654 maybe-distclean-libtermcap \
1655 maybe-distclean-utils \
1656 maybe-distclean-gnattools
1658 .PHONY: distclean-target
1659 distclean-target: \
1660 maybe-distclean-target-libstdc++-v3 \
1661 maybe-distclean-target-libmudflap \
1662 maybe-distclean-target-libssp \
1663 maybe-distclean-target-newlib \
1664 maybe-distclean-target-libgfortran \
1665 maybe-distclean-target-libobjc \
1666 maybe-distclean-target-libtermcap \
1667 maybe-distclean-target-winsup \
1668 maybe-distclean-target-libgloss \
1669 maybe-distclean-target-libiberty \
1670 maybe-distclean-target-gperf \
1671 maybe-distclean-target-examples \
1672 maybe-distclean-target-libffi \
1673 maybe-distclean-target-libjava \
1674 maybe-distclean-target-zlib \
1675 maybe-distclean-target-boehm-gc \
1676 maybe-distclean-target-qthreads \
1677 maybe-distclean-target-rda \
1678 maybe-distclean-target-libada
1680 .PHONY: do-maintainer-clean
1681 do-maintainer-clean:
1682 @: $(MAKE); $(unstage)
1683 @r=`${PWD_COMMAND}`; export r; \
1684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1685 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1686 maintainer-clean-target
1689 .PHONY: maintainer-clean-host
1690 maintainer-clean-host: \
1691 maybe-maintainer-clean-ash \
1692 maybe-maintainer-clean-autoconf \
1693 maybe-maintainer-clean-automake \
1694 maybe-maintainer-clean-bash \
1695 maybe-maintainer-clean-bfd \
1696 maybe-maintainer-clean-opcodes \
1697 maybe-maintainer-clean-binutils \
1698 maybe-maintainer-clean-bison \
1699 maybe-maintainer-clean-byacc \
1700 maybe-maintainer-clean-bzip2 \
1701 maybe-maintainer-clean-dejagnu \
1702 maybe-maintainer-clean-diff \
1703 maybe-maintainer-clean-dosutils \
1704 maybe-maintainer-clean-etc \
1705 maybe-maintainer-clean-fastjar \
1706 maybe-maintainer-clean-fileutils \
1707 maybe-maintainer-clean-findutils \
1708 maybe-maintainer-clean-find \
1709 maybe-maintainer-clean-fixincludes \
1710 maybe-maintainer-clean-flex \
1711 maybe-maintainer-clean-gas \
1712 maybe-maintainer-clean-gcc \
1713 maybe-maintainer-clean-gawk \
1714 maybe-maintainer-clean-gettext \
1715 maybe-maintainer-clean-gnuserv \
1716 maybe-maintainer-clean-gprof \
1717 maybe-maintainer-clean-gzip \
1718 maybe-maintainer-clean-hello \
1719 maybe-maintainer-clean-indent \
1720 maybe-maintainer-clean-intl \
1721 maybe-maintainer-clean-tcl \
1722 maybe-maintainer-clean-itcl \
1723 maybe-maintainer-clean-ld \
1724 maybe-maintainer-clean-libcpp \
1725 maybe-maintainer-clean-libdecnumber \
1726 maybe-maintainer-clean-libgui \
1727 maybe-maintainer-clean-libiberty \
1728 maybe-maintainer-clean-libtool \
1729 maybe-maintainer-clean-m4 \
1730 maybe-maintainer-clean-make \
1731 maybe-maintainer-clean-mmalloc \
1732 maybe-maintainer-clean-patch \
1733 maybe-maintainer-clean-perl \
1734 maybe-maintainer-clean-prms \
1735 maybe-maintainer-clean-rcs \
1736 maybe-maintainer-clean-readline \
1737 maybe-maintainer-clean-release \
1738 maybe-maintainer-clean-recode \
1739 maybe-maintainer-clean-sed \
1740 maybe-maintainer-clean-send-pr \
1741 maybe-maintainer-clean-shellutils \
1742 maybe-maintainer-clean-sid \
1743 maybe-maintainer-clean-sim \
1744 maybe-maintainer-clean-tar \
1745 maybe-maintainer-clean-texinfo \
1746 maybe-maintainer-clean-textutils \
1747 maybe-maintainer-clean-time \
1748 maybe-maintainer-clean-uudecode \
1749 maybe-maintainer-clean-wdiff \
1750 maybe-maintainer-clean-zip \
1751 maybe-maintainer-clean-zlib \
1752 maybe-maintainer-clean-gdb \
1753 maybe-maintainer-clean-expect \
1754 maybe-maintainer-clean-guile \
1755 maybe-maintainer-clean-tk \
1756 maybe-maintainer-clean-libtermcap \
1757 maybe-maintainer-clean-utils \
1758 maybe-maintainer-clean-gnattools
1760 .PHONY: maintainer-clean-target
1761 maintainer-clean-target: \
1762 maybe-maintainer-clean-target-libstdc++-v3 \
1763 maybe-maintainer-clean-target-libmudflap \
1764 maybe-maintainer-clean-target-libssp \
1765 maybe-maintainer-clean-target-newlib \
1766 maybe-maintainer-clean-target-libgfortran \
1767 maybe-maintainer-clean-target-libobjc \
1768 maybe-maintainer-clean-target-libtermcap \
1769 maybe-maintainer-clean-target-winsup \
1770 maybe-maintainer-clean-target-libgloss \
1771 maybe-maintainer-clean-target-libiberty \
1772 maybe-maintainer-clean-target-gperf \
1773 maybe-maintainer-clean-target-examples \
1774 maybe-maintainer-clean-target-libffi \
1775 maybe-maintainer-clean-target-libjava \
1776 maybe-maintainer-clean-target-zlib \
1777 maybe-maintainer-clean-target-boehm-gc \
1778 maybe-maintainer-clean-target-qthreads \
1779 maybe-maintainer-clean-target-rda \
1780 maybe-maintainer-clean-target-libada
1783 # Here are the targets which correspond to the do-X targets.
1785 .PHONY: info installcheck dvi html install-info
1786 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1787 .PHONY: local-clean local-distclean local-maintainer-clean
1788 info: do-info
1789 installcheck: do-installcheck
1790 dvi: do-dvi
1791 html: do-html
1793 # Make sure makeinfo is built before we do a `make info', if we're
1794 # in fact building texinfo.
1795 do-info: maybe-all-texinfo
1797 install-info: do-install-info dir.info
1798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1799 if [ -f dir.info ] ; then \
1800 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1801 else true ; fi
1803 local-clean:
1804 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1806 local-distclean:
1807 -rm -f Makefile config.status config.cache mh-frag mt-frag
1808 -rm -f maybedep.tmp serdep.tmp
1809 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1810 rm -rf $(TARGET_SUBDIR); \
1811 else true; fi
1812 -rm -rf $(BUILD_SUBDIR)
1813 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1814 rm -rf $(HOST_SUBDIR); \
1815 else true; fi
1816 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1817 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1818 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1819 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1820 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1822 local-maintainer-clean:
1823 @echo "This command is intended for maintainers to use;"
1824 @echo "it deletes files that may require special tools to rebuild."
1826 clean: do-clean local-clean
1827 mostlyclean: do-mostlyclean local-clean
1828 distclean: do-distclean local-clean local-distclean
1829 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1830 maintainer-clean: local-distclean
1831 realclean: maintainer-clean
1833 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1834 clean-target: clean-target-libgcc
1835 clean-target-libgcc:
1836 test ! -d gcc || (cd gcc && $(MAKE) $@)
1838 # Check target.
1840 .PHONY: check do-check
1841 check: do-check
1843 # Only include modules actually being configured and built.
1844 .PHONY: check-host
1845 check-host: \
1846 maybe-check-ash \
1847 maybe-check-autoconf \
1848 maybe-check-automake \
1849 maybe-check-bash \
1850 maybe-check-bfd \
1851 maybe-check-opcodes \
1852 maybe-check-binutils \
1853 maybe-check-bison \
1854 maybe-check-byacc \
1855 maybe-check-bzip2 \
1856 maybe-check-dejagnu \
1857 maybe-check-diff \
1858 maybe-check-dosutils \
1859 maybe-check-etc \
1860 maybe-check-fastjar \
1861 maybe-check-fileutils \
1862 maybe-check-findutils \
1863 maybe-check-find \
1864 maybe-check-fixincludes \
1865 maybe-check-flex \
1866 maybe-check-gas \
1867 maybe-check-gcc \
1868 maybe-check-gawk \
1869 maybe-check-gettext \
1870 maybe-check-gnuserv \
1871 maybe-check-gprof \
1872 maybe-check-gzip \
1873 maybe-check-hello \
1874 maybe-check-indent \
1875 maybe-check-intl \
1876 maybe-check-tcl \
1877 maybe-check-itcl \
1878 maybe-check-ld \
1879 maybe-check-libcpp \
1880 maybe-check-libdecnumber \
1881 maybe-check-libgui \
1882 maybe-check-libiberty \
1883 maybe-check-libtool \
1884 maybe-check-m4 \
1885 maybe-check-make \
1886 maybe-check-mmalloc \
1887 maybe-check-patch \
1888 maybe-check-perl \
1889 maybe-check-prms \
1890 maybe-check-rcs \
1891 maybe-check-readline \
1892 maybe-check-release \
1893 maybe-check-recode \
1894 maybe-check-sed \
1895 maybe-check-send-pr \
1896 maybe-check-shellutils \
1897 maybe-check-sid \
1898 maybe-check-sim \
1899 maybe-check-tar \
1900 maybe-check-texinfo \
1901 maybe-check-textutils \
1902 maybe-check-time \
1903 maybe-check-uudecode \
1904 maybe-check-wdiff \
1905 maybe-check-zip \
1906 maybe-check-zlib \
1907 maybe-check-gdb \
1908 maybe-check-expect \
1909 maybe-check-guile \
1910 maybe-check-tk \
1911 maybe-check-libtermcap \
1912 maybe-check-utils \
1913 maybe-check-gnattools
1915 .PHONY: check-target
1916 check-target: \
1917 maybe-check-target-libstdc++-v3 \
1918 maybe-check-target-libmudflap \
1919 maybe-check-target-libssp \
1920 maybe-check-target-newlib \
1921 maybe-check-target-libgfortran \
1922 maybe-check-target-libobjc \
1923 maybe-check-target-libtermcap \
1924 maybe-check-target-winsup \
1925 maybe-check-target-libgloss \
1926 maybe-check-target-libiberty \
1927 maybe-check-target-gperf \
1928 maybe-check-target-examples \
1929 maybe-check-target-libffi \
1930 maybe-check-target-libjava \
1931 maybe-check-target-zlib \
1932 maybe-check-target-boehm-gc \
1933 maybe-check-target-qthreads \
1934 maybe-check-target-rda \
1935 maybe-check-target-libada
1937 do-check:
1938 @: $(MAKE); $(unstage)
1939 @r=`${PWD_COMMAND}`; export r; \
1940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1941 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1943 # Automated reporting of test results.
1945 warning.log: build.log
1946 $(srcdir)/contrib/warn_summary build.log > $@
1948 mail-report.log:
1949 if test x'$(BOOT_CFLAGS)' != x''; then \
1950 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1951 fi; \
1952 $(srcdir)/contrib/test_summary -t >$@
1953 chmod +x $@
1954 echo If you really want to send e-mail, run ./$@ now
1956 mail-report-with-warnings.log: warning.log
1957 if test x'$(BOOT_CFLAGS)' != x''; then \
1958 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1959 fi; \
1960 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1961 chmod +x $@
1962 echo If you really want to send e-mail, run ./$@ now
1964 # Installation targets.
1966 .PHONY: install uninstall
1967 install:
1968 @: $(MAKE); $(unstage)
1969 @r=`${PWD_COMMAND}`; export r; \
1970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
1973 .PHONY: install-host-nogcc
1974 install-host-nogcc: \
1975 maybe-install-ash \
1976 maybe-install-autoconf \
1977 maybe-install-automake \
1978 maybe-install-bash \
1979 maybe-install-bfd \
1980 maybe-install-opcodes \
1981 maybe-install-binutils \
1982 maybe-install-bison \
1983 maybe-install-byacc \
1984 maybe-install-bzip2 \
1985 maybe-install-dejagnu \
1986 maybe-install-diff \
1987 maybe-install-dosutils \
1988 maybe-install-etc \
1989 maybe-install-fastjar \
1990 maybe-install-fileutils \
1991 maybe-install-findutils \
1992 maybe-install-find \
1993 maybe-install-fixincludes \
1994 maybe-install-flex \
1995 maybe-install-gas \
1996 maybe-install-gawk \
1997 maybe-install-gettext \
1998 maybe-install-gnuserv \
1999 maybe-install-gprof \
2000 maybe-install-gzip \
2001 maybe-install-hello \
2002 maybe-install-indent \
2003 maybe-install-intl \
2004 maybe-install-tcl \
2005 maybe-install-itcl \
2006 maybe-install-ld \
2007 maybe-install-libcpp \
2008 maybe-install-libdecnumber \
2009 maybe-install-libgui \
2010 maybe-install-libiberty \
2011 maybe-install-libtool \
2012 maybe-install-m4 \
2013 maybe-install-make \
2014 maybe-install-mmalloc \
2015 maybe-install-patch \
2016 maybe-install-perl \
2017 maybe-install-prms \
2018 maybe-install-rcs \
2019 maybe-install-readline \
2020 maybe-install-release \
2021 maybe-install-recode \
2022 maybe-install-sed \
2023 maybe-install-send-pr \
2024 maybe-install-shellutils \
2025 maybe-install-sid \
2026 maybe-install-sim \
2027 maybe-install-tar \
2028 maybe-install-texinfo \
2029 maybe-install-textutils \
2030 maybe-install-time \
2031 maybe-install-uudecode \
2032 maybe-install-wdiff \
2033 maybe-install-zip \
2034 maybe-install-zlib \
2035 maybe-install-gdb \
2036 maybe-install-expect \
2037 maybe-install-guile \
2038 maybe-install-tk \
2039 maybe-install-libtermcap \
2040 maybe-install-utils \
2041 maybe-install-gnattools
2043 .PHONY: install-host
2044 install-host: \
2045 maybe-install-ash \
2046 maybe-install-autoconf \
2047 maybe-install-automake \
2048 maybe-install-bash \
2049 maybe-install-bfd \
2050 maybe-install-opcodes \
2051 maybe-install-binutils \
2052 maybe-install-bison \
2053 maybe-install-byacc \
2054 maybe-install-bzip2 \
2055 maybe-install-dejagnu \
2056 maybe-install-diff \
2057 maybe-install-dosutils \
2058 maybe-install-etc \
2059 maybe-install-fastjar \
2060 maybe-install-fileutils \
2061 maybe-install-findutils \
2062 maybe-install-find \
2063 maybe-install-fixincludes \
2064 maybe-install-flex \
2065 maybe-install-gas \
2066 maybe-install-gcc \
2067 maybe-install-gawk \
2068 maybe-install-gettext \
2069 maybe-install-gnuserv \
2070 maybe-install-gprof \
2071 maybe-install-gzip \
2072 maybe-install-hello \
2073 maybe-install-indent \
2074 maybe-install-intl \
2075 maybe-install-tcl \
2076 maybe-install-itcl \
2077 maybe-install-ld \
2078 maybe-install-libcpp \
2079 maybe-install-libdecnumber \
2080 maybe-install-libgui \
2081 maybe-install-libiberty \
2082 maybe-install-libtool \
2083 maybe-install-m4 \
2084 maybe-install-make \
2085 maybe-install-mmalloc \
2086 maybe-install-patch \
2087 maybe-install-perl \
2088 maybe-install-prms \
2089 maybe-install-rcs \
2090 maybe-install-readline \
2091 maybe-install-release \
2092 maybe-install-recode \
2093 maybe-install-sed \
2094 maybe-install-send-pr \
2095 maybe-install-shellutils \
2096 maybe-install-sid \
2097 maybe-install-sim \
2098 maybe-install-tar \
2099 maybe-install-texinfo \
2100 maybe-install-textutils \
2101 maybe-install-time \
2102 maybe-install-uudecode \
2103 maybe-install-wdiff \
2104 maybe-install-zip \
2105 maybe-install-zlib \
2106 maybe-install-gdb \
2107 maybe-install-expect \
2108 maybe-install-guile \
2109 maybe-install-tk \
2110 maybe-install-libtermcap \
2111 maybe-install-utils \
2112 maybe-install-gnattools
2114 .PHONY: install-target
2115 install-target: \
2116 maybe-install-target-libstdc++-v3 \
2117 maybe-install-target-libmudflap \
2118 maybe-install-target-libssp \
2119 maybe-install-target-newlib \
2120 maybe-install-target-libgfortran \
2121 maybe-install-target-libobjc \
2122 maybe-install-target-libtermcap \
2123 maybe-install-target-winsup \
2124 maybe-install-target-libgloss \
2125 maybe-install-target-libiberty \
2126 maybe-install-target-gperf \
2127 maybe-install-target-examples \
2128 maybe-install-target-libffi \
2129 maybe-install-target-libjava \
2130 maybe-install-target-zlib \
2131 maybe-install-target-boehm-gc \
2132 maybe-install-target-qthreads \
2133 maybe-install-target-rda \
2134 maybe-install-target-libada
2136 uninstall:
2137 @echo "the uninstall target is not supported in this tree"
2139 .PHONY: install.all
2140 install.all: install-no-fixedincludes
2141 @if [ -f ./gcc/Makefile ] ; then \
2142 r=`${PWD_COMMAND}` ; export r ; \
2143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2144 $(HOST_EXPORTS) \
2145 (cd ./gcc && \
2146 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2147 else \
2148 true ; \
2151 # install-no-fixedincludes is used because Cygnus can not distribute
2152 # the fixed header files.
2153 .PHONY: install-no-fixedincludes
2154 install-no-fixedincludes: installdirs install-host-nogcc \
2155 install-target gcc-no-fixedincludes
2157 ### other supporting targets
2159 MAKEDIRS= \
2160 $(DESTDIR)$(prefix) \
2161 $(DESTDIR)$(exec_prefix)
2162 .PHONY: installdirs
2163 installdirs: mkinstalldirs
2164 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2166 dir.info: do-install-info
2167 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2168 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2169 mv -f dir.info.new dir.info ; \
2170 else true ; \
2173 dist:
2174 @echo "Building a full distribution of this tree isn't done"
2175 @echo "via 'make dist'. Check out the etc/ subdirectory"
2177 etags tags: TAGS
2179 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2180 # ability to use several tags files at once, so there is probably no need
2181 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2182 # (if we felt like it) have this Makefile write a piece of elisp which
2183 # the user could load to tell emacs19 where all the TAGS files we just
2184 # built are.
2185 TAGS: do-TAGS
2187 # ------------------------------------
2188 # Macros for configure and all targets
2189 # ------------------------------------
2195 # --------------------------------------
2196 # Modules which run on the build machine
2197 # --------------------------------------
2200 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2201 maybe-configure-build-libiberty:
2202 @if build-libiberty
2203 maybe-configure-build-libiberty: configure-build-libiberty
2204 configure-build-libiberty:
2205 @: $(MAKE); $(unstage)
2206 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2207 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2208 r=`${PWD_COMMAND}`; export r; \
2209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2210 $(BUILD_EXPORTS) \
2211 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2212 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2213 case $(srcdir) in \
2214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2215 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2217 esac; \
2218 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2219 libsrcdir="$$s/libiberty"; \
2220 rm -f no-such-file || : ; \
2221 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2222 $(BUILD_CONFIGARGS) $${srcdiroption} \
2223 || exit 1
2224 @endif build-libiberty
2230 .PHONY: all-build-libiberty maybe-all-build-libiberty
2231 maybe-all-build-libiberty:
2232 @if build-libiberty
2233 TARGET-build-libiberty=all
2234 maybe-all-build-libiberty: all-build-libiberty
2235 all-build-libiberty: configure-build-libiberty
2236 @: $(MAKE); $(unstage)
2237 @r=`${PWD_COMMAND}`; export r; \
2238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2239 $(BUILD_EXPORTS) \
2240 (cd $(BUILD_SUBDIR)/libiberty && \
2241 $(MAKE) $(TARGET-build-libiberty))
2242 @endif build-libiberty
2248 .PHONY: configure-build-bison maybe-configure-build-bison
2249 maybe-configure-build-bison:
2250 @if build-bison
2251 maybe-configure-build-bison: configure-build-bison
2252 configure-build-bison:
2253 @: $(MAKE); $(unstage)
2254 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2255 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2256 r=`${PWD_COMMAND}`; export r; \
2257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2258 $(BUILD_EXPORTS) \
2259 echo Configuring in $(BUILD_SUBDIR)/bison; \
2260 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2261 case $(srcdir) in \
2262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2263 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2265 esac; \
2266 srcdiroption="--srcdir=$${topdir}/bison"; \
2267 libsrcdir="$$s/bison"; \
2268 rm -f no-such-file || : ; \
2269 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2270 $(BUILD_CONFIGARGS) $${srcdiroption} \
2271 || exit 1
2272 @endif build-bison
2278 .PHONY: all-build-bison maybe-all-build-bison
2279 maybe-all-build-bison:
2280 @if build-bison
2281 TARGET-build-bison=all
2282 maybe-all-build-bison: all-build-bison
2283 all-build-bison: configure-build-bison
2284 @: $(MAKE); $(unstage)
2285 @r=`${PWD_COMMAND}`; export r; \
2286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2287 $(BUILD_EXPORTS) \
2288 (cd $(BUILD_SUBDIR)/bison && \
2289 $(MAKE) $(TARGET-build-bison))
2290 @endif build-bison
2296 .PHONY: configure-build-byacc maybe-configure-build-byacc
2297 maybe-configure-build-byacc:
2298 @if build-byacc
2299 maybe-configure-build-byacc: configure-build-byacc
2300 configure-build-byacc:
2301 @: $(MAKE); $(unstage)
2302 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2303 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2304 r=`${PWD_COMMAND}`; export r; \
2305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2306 $(BUILD_EXPORTS) \
2307 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2308 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2309 case $(srcdir) in \
2310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2311 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2313 esac; \
2314 srcdiroption="--srcdir=$${topdir}/byacc"; \
2315 libsrcdir="$$s/byacc"; \
2316 rm -f no-such-file || : ; \
2317 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2318 $(BUILD_CONFIGARGS) $${srcdiroption} \
2319 || exit 1
2320 @endif build-byacc
2326 .PHONY: all-build-byacc maybe-all-build-byacc
2327 maybe-all-build-byacc:
2328 @if build-byacc
2329 TARGET-build-byacc=all
2330 maybe-all-build-byacc: all-build-byacc
2331 all-build-byacc: configure-build-byacc
2332 @: $(MAKE); $(unstage)
2333 @r=`${PWD_COMMAND}`; export r; \
2334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2335 $(BUILD_EXPORTS) \
2336 (cd $(BUILD_SUBDIR)/byacc && \
2337 $(MAKE) $(TARGET-build-byacc))
2338 @endif build-byacc
2344 .PHONY: configure-build-flex maybe-configure-build-flex
2345 maybe-configure-build-flex:
2346 @if build-flex
2347 maybe-configure-build-flex: configure-build-flex
2348 configure-build-flex:
2349 @: $(MAKE); $(unstage)
2350 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2351 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2352 r=`${PWD_COMMAND}`; export r; \
2353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2354 $(BUILD_EXPORTS) \
2355 echo Configuring in $(BUILD_SUBDIR)/flex; \
2356 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2357 case $(srcdir) in \
2358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2359 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2361 esac; \
2362 srcdiroption="--srcdir=$${topdir}/flex"; \
2363 libsrcdir="$$s/flex"; \
2364 rm -f no-such-file || : ; \
2365 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2366 $(BUILD_CONFIGARGS) $${srcdiroption} \
2367 || exit 1
2368 @endif build-flex
2374 .PHONY: all-build-flex maybe-all-build-flex
2375 maybe-all-build-flex:
2376 @if build-flex
2377 TARGET-build-flex=all
2378 maybe-all-build-flex: all-build-flex
2379 all-build-flex: configure-build-flex
2380 @: $(MAKE); $(unstage)
2381 @r=`${PWD_COMMAND}`; export r; \
2382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2383 $(BUILD_EXPORTS) \
2384 (cd $(BUILD_SUBDIR)/flex && \
2385 $(MAKE) $(TARGET-build-flex))
2386 @endif build-flex
2392 .PHONY: configure-build-m4 maybe-configure-build-m4
2393 maybe-configure-build-m4:
2394 @if build-m4
2395 maybe-configure-build-m4: configure-build-m4
2396 configure-build-m4:
2397 @: $(MAKE); $(unstage)
2398 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2399 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2400 r=`${PWD_COMMAND}`; export r; \
2401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2402 $(BUILD_EXPORTS) \
2403 echo Configuring in $(BUILD_SUBDIR)/m4; \
2404 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2405 case $(srcdir) in \
2406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2407 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2409 esac; \
2410 srcdiroption="--srcdir=$${topdir}/m4"; \
2411 libsrcdir="$$s/m4"; \
2412 rm -f no-such-file || : ; \
2413 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2414 $(BUILD_CONFIGARGS) $${srcdiroption} \
2415 || exit 1
2416 @endif build-m4
2422 .PHONY: all-build-m4 maybe-all-build-m4
2423 maybe-all-build-m4:
2424 @if build-m4
2425 TARGET-build-m4=all
2426 maybe-all-build-m4: all-build-m4
2427 all-build-m4: configure-build-m4
2428 @: $(MAKE); $(unstage)
2429 @r=`${PWD_COMMAND}`; export r; \
2430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2431 $(BUILD_EXPORTS) \
2432 (cd $(BUILD_SUBDIR)/m4 && \
2433 $(MAKE) $(TARGET-build-m4))
2434 @endif build-m4
2440 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2441 maybe-configure-build-texinfo:
2442 @if build-texinfo
2443 maybe-configure-build-texinfo: configure-build-texinfo
2444 configure-build-texinfo:
2445 @: $(MAKE); $(unstage)
2446 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2447 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2448 r=`${PWD_COMMAND}`; export r; \
2449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 $(BUILD_EXPORTS) \
2451 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2452 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2453 case $(srcdir) in \
2454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2455 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2457 esac; \
2458 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2459 libsrcdir="$$s/texinfo"; \
2460 rm -f no-such-file || : ; \
2461 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2462 $(BUILD_CONFIGARGS) $${srcdiroption} \
2463 || exit 1
2464 @endif build-texinfo
2470 .PHONY: all-build-texinfo maybe-all-build-texinfo
2471 maybe-all-build-texinfo:
2472 @if build-texinfo
2473 TARGET-build-texinfo=all
2474 maybe-all-build-texinfo: all-build-texinfo
2475 all-build-texinfo: configure-build-texinfo
2476 @: $(MAKE); $(unstage)
2477 @r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479 $(BUILD_EXPORTS) \
2480 (cd $(BUILD_SUBDIR)/texinfo && \
2481 $(MAKE) $(TARGET-build-texinfo))
2482 @endif build-texinfo
2488 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2489 maybe-configure-build-fixincludes:
2490 @if build-fixincludes
2491 maybe-configure-build-fixincludes: configure-build-fixincludes
2492 configure-build-fixincludes:
2493 @: $(MAKE); $(unstage)
2494 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2495 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2496 r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(BUILD_EXPORTS) \
2499 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2500 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2501 case $(srcdir) in \
2502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2503 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2505 esac; \
2506 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2507 libsrcdir="$$s/fixincludes"; \
2508 rm -f no-such-file || : ; \
2509 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2510 $(BUILD_CONFIGARGS) $${srcdiroption} \
2511 || exit 1
2512 @endif build-fixincludes
2518 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2519 maybe-all-build-fixincludes:
2520 @if build-fixincludes
2521 TARGET-build-fixincludes=all
2522 maybe-all-build-fixincludes: all-build-fixincludes
2523 all-build-fixincludes: configure-build-fixincludes
2524 @: $(MAKE); $(unstage)
2525 @r=`${PWD_COMMAND}`; export r; \
2526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2527 $(BUILD_EXPORTS) \
2528 (cd $(BUILD_SUBDIR)/fixincludes && \
2529 $(MAKE) $(TARGET-build-fixincludes))
2530 @endif build-fixincludes
2536 # --------------------------------------
2537 # Modules which run on the host machine
2538 # --------------------------------------
2541 .PHONY: configure-ash maybe-configure-ash
2542 maybe-configure-ash:
2543 @if ash
2544 maybe-configure-ash: configure-ash
2545 configure-ash:
2546 @: $(MAKE); $(unstage)
2547 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2549 r=`${PWD_COMMAND}`; export r; \
2550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2551 $(HOST_EXPORTS) \
2552 echo Configuring in $(HOST_SUBDIR)/ash; \
2553 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2554 case $(srcdir) in \
2555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2556 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2558 esac; \
2559 srcdiroption="--srcdir=$${topdir}/ash"; \
2560 libsrcdir="$$s/ash"; \
2561 $(SHELL) $${libsrcdir}/configure \
2562 $(HOST_CONFIGARGS) $${srcdiroption} \
2563 || exit 1
2564 @endif ash
2570 .PHONY: all-ash maybe-all-ash
2571 maybe-all-ash:
2572 @if ash
2573 TARGET-ash=all
2574 maybe-all-ash: all-ash
2575 all-ash: configure-ash
2576 @: $(MAKE); $(unstage)
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(HOST_EXPORTS) \
2580 (cd $(HOST_SUBDIR)/ash && \
2581 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2582 @endif ash
2587 .PHONY: check-ash maybe-check-ash
2588 maybe-check-ash:
2589 @if ash
2590 maybe-check-ash: check-ash
2592 check-ash:
2593 @: $(MAKE); $(unstage)
2594 @r=`${PWD_COMMAND}`; export r; \
2595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2596 $(HOST_EXPORTS) \
2597 (cd $(HOST_SUBDIR)/ash && \
2598 $(MAKE) $(FLAGS_TO_PASS) check)
2600 @endif ash
2602 .PHONY: install-ash maybe-install-ash
2603 maybe-install-ash:
2604 @if ash
2605 maybe-install-ash: install-ash
2607 install-ash: installdirs
2608 @: $(MAKE); $(unstage)
2609 @r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611 $(HOST_EXPORTS) \
2612 (cd $(HOST_SUBDIR)/ash && \
2613 $(MAKE) $(FLAGS_TO_PASS) install)
2615 @endif ash
2617 # Other targets (info, dvi, etc.)
2619 .PHONY: maybe-info-ash info-ash
2620 maybe-info-ash:
2621 @if ash
2622 maybe-info-ash: info-ash
2624 info-ash: \
2625 configure-ash
2626 @: $(MAKE); $(unstage)
2627 @[ -f ./ash/Makefile ] || exit 0; \
2628 r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(HOST_EXPORTS) \
2631 for flag in $(EXTRA_HOST_FLAGS) ; do \
2632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2633 done; \
2634 echo "Doing info in ash" ; \
2635 (cd $(HOST_SUBDIR)/ash && \
2636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2638 "RANLIB=$${RANLIB}" \
2639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2640 info) \
2641 || exit 1
2643 @endif ash
2645 .PHONY: maybe-dvi-ash dvi-ash
2646 maybe-dvi-ash:
2647 @if ash
2648 maybe-dvi-ash: dvi-ash
2650 dvi-ash: \
2651 configure-ash
2652 @: $(MAKE); $(unstage)
2653 @[ -f ./ash/Makefile ] || exit 0; \
2654 r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2656 $(HOST_EXPORTS) \
2657 for flag in $(EXTRA_HOST_FLAGS) ; do \
2658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2659 done; \
2660 echo "Doing dvi in ash" ; \
2661 (cd $(HOST_SUBDIR)/ash && \
2662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2664 "RANLIB=$${RANLIB}" \
2665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2666 dvi) \
2667 || exit 1
2669 @endif ash
2671 .PHONY: maybe-html-ash html-ash
2672 maybe-html-ash:
2673 @if ash
2674 maybe-html-ash: html-ash
2676 html-ash: \
2677 configure-ash
2678 @: $(MAKE); $(unstage)
2679 @[ -f ./ash/Makefile ] || exit 0; \
2680 r=`${PWD_COMMAND}`; export r; \
2681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2682 $(HOST_EXPORTS) \
2683 for flag in $(EXTRA_HOST_FLAGS) ; do \
2684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2685 done; \
2686 echo "Doing html in ash" ; \
2687 (cd $(HOST_SUBDIR)/ash && \
2688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2690 "RANLIB=$${RANLIB}" \
2691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2692 html) \
2693 || exit 1
2695 @endif ash
2697 .PHONY: maybe-TAGS-ash TAGS-ash
2698 maybe-TAGS-ash:
2699 @if ash
2700 maybe-TAGS-ash: TAGS-ash
2702 TAGS-ash: \
2703 configure-ash
2704 @: $(MAKE); $(unstage)
2705 @[ -f ./ash/Makefile ] || exit 0; \
2706 r=`${PWD_COMMAND}`; export r; \
2707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2708 $(HOST_EXPORTS) \
2709 for flag in $(EXTRA_HOST_FLAGS) ; do \
2710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2711 done; \
2712 echo "Doing TAGS in ash" ; \
2713 (cd $(HOST_SUBDIR)/ash && \
2714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2716 "RANLIB=$${RANLIB}" \
2717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2718 TAGS) \
2719 || exit 1
2721 @endif ash
2723 .PHONY: maybe-install-info-ash install-info-ash
2724 maybe-install-info-ash:
2725 @if ash
2726 maybe-install-info-ash: install-info-ash
2728 install-info-ash: \
2729 configure-ash \
2730 info-ash
2731 @: $(MAKE); $(unstage)
2732 @[ -f ./ash/Makefile ] || exit 0; \
2733 r=`${PWD_COMMAND}`; export r; \
2734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2735 $(HOST_EXPORTS) \
2736 for flag in $(EXTRA_HOST_FLAGS) ; do \
2737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2738 done; \
2739 echo "Doing install-info in ash" ; \
2740 (cd $(HOST_SUBDIR)/ash && \
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 install-info) \
2746 || exit 1
2748 @endif ash
2750 .PHONY: maybe-installcheck-ash installcheck-ash
2751 maybe-installcheck-ash:
2752 @if ash
2753 maybe-installcheck-ash: installcheck-ash
2755 installcheck-ash: \
2756 configure-ash
2757 @: $(MAKE); $(unstage)
2758 @[ -f ./ash/Makefile ] || exit 0; \
2759 r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 $(HOST_EXPORTS) \
2762 for flag in $(EXTRA_HOST_FLAGS) ; do \
2763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764 done; \
2765 echo "Doing installcheck in ash" ; \
2766 (cd $(HOST_SUBDIR)/ash && \
2767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2769 "RANLIB=$${RANLIB}" \
2770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2771 installcheck) \
2772 || exit 1
2774 @endif ash
2776 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2777 maybe-mostlyclean-ash:
2778 @if ash
2779 maybe-mostlyclean-ash: mostlyclean-ash
2781 mostlyclean-ash:
2782 @: $(MAKE); $(unstage)
2783 @[ -f ./ash/Makefile ] || exit 0; \
2784 r=`${PWD_COMMAND}`; export r; \
2785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 $(HOST_EXPORTS) \
2787 for flag in $(EXTRA_HOST_FLAGS) ; do \
2788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2789 done; \
2790 echo "Doing mostlyclean in ash" ; \
2791 (cd $(HOST_SUBDIR)/ash && \
2792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2794 "RANLIB=$${RANLIB}" \
2795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2796 mostlyclean) \
2797 || exit 1
2799 @endif ash
2801 .PHONY: maybe-clean-ash clean-ash
2802 maybe-clean-ash:
2803 @if ash
2804 maybe-clean-ash: clean-ash
2806 clean-ash:
2807 @: $(MAKE); $(unstage)
2808 @[ -f ./ash/Makefile ] || exit 0; \
2809 r=`${PWD_COMMAND}`; export r; \
2810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2811 $(HOST_EXPORTS) \
2812 for flag in $(EXTRA_HOST_FLAGS) ; do \
2813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2814 done; \
2815 echo "Doing clean in ash" ; \
2816 (cd $(HOST_SUBDIR)/ash && \
2817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2819 "RANLIB=$${RANLIB}" \
2820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2821 clean) \
2822 || exit 1
2824 @endif ash
2826 .PHONY: maybe-distclean-ash distclean-ash
2827 maybe-distclean-ash:
2828 @if ash
2829 maybe-distclean-ash: distclean-ash
2831 distclean-ash:
2832 @: $(MAKE); $(unstage)
2833 @[ -f ./ash/Makefile ] || exit 0; \
2834 r=`${PWD_COMMAND}`; export r; \
2835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2836 $(HOST_EXPORTS) \
2837 for flag in $(EXTRA_HOST_FLAGS) ; do \
2838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2839 done; \
2840 echo "Doing distclean in ash" ; \
2841 (cd $(HOST_SUBDIR)/ash && \
2842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2844 "RANLIB=$${RANLIB}" \
2845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2846 distclean) \
2847 || exit 1
2849 @endif ash
2851 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2852 maybe-maintainer-clean-ash:
2853 @if ash
2854 maybe-maintainer-clean-ash: maintainer-clean-ash
2856 maintainer-clean-ash:
2857 @: $(MAKE); $(unstage)
2858 @[ -f ./ash/Makefile ] || exit 0; \
2859 r=`${PWD_COMMAND}`; export r; \
2860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2861 $(HOST_EXPORTS) \
2862 for flag in $(EXTRA_HOST_FLAGS) ; do \
2863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2864 done; \
2865 echo "Doing maintainer-clean in ash" ; \
2866 (cd $(HOST_SUBDIR)/ash && \
2867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2869 "RANLIB=$${RANLIB}" \
2870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2871 maintainer-clean) \
2872 || exit 1
2874 @endif ash
2878 .PHONY: configure-autoconf maybe-configure-autoconf
2879 maybe-configure-autoconf:
2880 @if autoconf
2881 maybe-configure-autoconf: configure-autoconf
2882 configure-autoconf:
2883 @: $(MAKE); $(unstage)
2884 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2886 r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2888 $(HOST_EXPORTS) \
2889 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2890 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2891 case $(srcdir) in \
2892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2893 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2895 esac; \
2896 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2897 libsrcdir="$$s/autoconf"; \
2898 $(SHELL) $${libsrcdir}/configure \
2899 $(HOST_CONFIGARGS) $${srcdiroption} \
2900 || exit 1
2901 @endif autoconf
2907 .PHONY: all-autoconf maybe-all-autoconf
2908 maybe-all-autoconf:
2909 @if autoconf
2910 TARGET-autoconf=all
2911 maybe-all-autoconf: all-autoconf
2912 all-autoconf: configure-autoconf
2913 @: $(MAKE); $(unstage)
2914 @r=`${PWD_COMMAND}`; export r; \
2915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2916 $(HOST_EXPORTS) \
2917 (cd $(HOST_SUBDIR)/autoconf && \
2918 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2919 @endif autoconf
2924 .PHONY: check-autoconf maybe-check-autoconf
2925 maybe-check-autoconf:
2926 @if autoconf
2927 maybe-check-autoconf: check-autoconf
2929 check-autoconf:
2930 @: $(MAKE); $(unstage)
2931 @r=`${PWD_COMMAND}`; export r; \
2932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2933 $(HOST_EXPORTS) \
2934 (cd $(HOST_SUBDIR)/autoconf && \
2935 $(MAKE) $(FLAGS_TO_PASS) check)
2937 @endif autoconf
2939 .PHONY: install-autoconf maybe-install-autoconf
2940 maybe-install-autoconf:
2941 @if autoconf
2942 maybe-install-autoconf: install-autoconf
2944 install-autoconf: installdirs
2945 @: $(MAKE); $(unstage)
2946 @r=`${PWD_COMMAND}`; export r; \
2947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2948 $(HOST_EXPORTS) \
2949 (cd $(HOST_SUBDIR)/autoconf && \
2950 $(MAKE) $(FLAGS_TO_PASS) install)
2952 @endif autoconf
2954 # Other targets (info, dvi, etc.)
2956 .PHONY: maybe-info-autoconf info-autoconf
2957 maybe-info-autoconf:
2958 @if autoconf
2959 maybe-info-autoconf: info-autoconf
2961 info-autoconf: \
2962 configure-autoconf
2963 @: $(MAKE); $(unstage)
2964 @[ -f ./autoconf/Makefile ] || exit 0; \
2965 r=`${PWD_COMMAND}`; export r; \
2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2967 $(HOST_EXPORTS) \
2968 for flag in $(EXTRA_HOST_FLAGS) ; do \
2969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2970 done; \
2971 echo "Doing info in autoconf" ; \
2972 (cd $(HOST_SUBDIR)/autoconf && \
2973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2975 "RANLIB=$${RANLIB}" \
2976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2977 info) \
2978 || exit 1
2980 @endif autoconf
2982 .PHONY: maybe-dvi-autoconf dvi-autoconf
2983 maybe-dvi-autoconf:
2984 @if autoconf
2985 maybe-dvi-autoconf: dvi-autoconf
2987 dvi-autoconf: \
2988 configure-autoconf
2989 @: $(MAKE); $(unstage)
2990 @[ -f ./autoconf/Makefile ] || exit 0; \
2991 r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 $(HOST_EXPORTS) \
2994 for flag in $(EXTRA_HOST_FLAGS) ; do \
2995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2996 done; \
2997 echo "Doing dvi in autoconf" ; \
2998 (cd $(HOST_SUBDIR)/autoconf && \
2999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3001 "RANLIB=$${RANLIB}" \
3002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3003 dvi) \
3004 || exit 1
3006 @endif autoconf
3008 .PHONY: maybe-html-autoconf html-autoconf
3009 maybe-html-autoconf:
3010 @if autoconf
3011 maybe-html-autoconf: html-autoconf
3013 html-autoconf: \
3014 configure-autoconf
3015 @: $(MAKE); $(unstage)
3016 @[ -f ./autoconf/Makefile ] || exit 0; \
3017 r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 $(HOST_EXPORTS) \
3020 for flag in $(EXTRA_HOST_FLAGS) ; do \
3021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3022 done; \
3023 echo "Doing html in autoconf" ; \
3024 (cd $(HOST_SUBDIR)/autoconf && \
3025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3027 "RANLIB=$${RANLIB}" \
3028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3029 html) \
3030 || exit 1
3032 @endif autoconf
3034 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3035 maybe-TAGS-autoconf:
3036 @if autoconf
3037 maybe-TAGS-autoconf: TAGS-autoconf
3039 TAGS-autoconf: \
3040 configure-autoconf
3041 @: $(MAKE); $(unstage)
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3045 $(HOST_EXPORTS) \
3046 for flag in $(EXTRA_HOST_FLAGS) ; do \
3047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3048 done; \
3049 echo "Doing TAGS in autoconf" ; \
3050 (cd $(HOST_SUBDIR)/autoconf && \
3051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3053 "RANLIB=$${RANLIB}" \
3054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3055 TAGS) \
3056 || exit 1
3058 @endif autoconf
3060 .PHONY: maybe-install-info-autoconf install-info-autoconf
3061 maybe-install-info-autoconf:
3062 @if autoconf
3063 maybe-install-info-autoconf: install-info-autoconf
3065 install-info-autoconf: \
3066 configure-autoconf \
3067 info-autoconf
3068 @: $(MAKE); $(unstage)
3069 @[ -f ./autoconf/Makefile ] || exit 0; \
3070 r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 $(HOST_EXPORTS) \
3073 for flag in $(EXTRA_HOST_FLAGS) ; do \
3074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3075 done; \
3076 echo "Doing install-info in autoconf" ; \
3077 (cd $(HOST_SUBDIR)/autoconf && \
3078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3080 "RANLIB=$${RANLIB}" \
3081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3082 install-info) \
3083 || exit 1
3085 @endif autoconf
3087 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3088 maybe-installcheck-autoconf:
3089 @if autoconf
3090 maybe-installcheck-autoconf: installcheck-autoconf
3092 installcheck-autoconf: \
3093 configure-autoconf
3094 @: $(MAKE); $(unstage)
3095 @[ -f ./autoconf/Makefile ] || exit 0; \
3096 r=`${PWD_COMMAND}`; export r; \
3097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3098 $(HOST_EXPORTS) \
3099 for flag in $(EXTRA_HOST_FLAGS) ; do \
3100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3101 done; \
3102 echo "Doing installcheck in autoconf" ; \
3103 (cd $(HOST_SUBDIR)/autoconf && \
3104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3106 "RANLIB=$${RANLIB}" \
3107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3108 installcheck) \
3109 || exit 1
3111 @endif autoconf
3113 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3114 maybe-mostlyclean-autoconf:
3115 @if autoconf
3116 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3118 mostlyclean-autoconf:
3119 @: $(MAKE); $(unstage)
3120 @[ -f ./autoconf/Makefile ] || exit 0; \
3121 r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123 $(HOST_EXPORTS) \
3124 for flag in $(EXTRA_HOST_FLAGS) ; do \
3125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3126 done; \
3127 echo "Doing mostlyclean in autoconf" ; \
3128 (cd $(HOST_SUBDIR)/autoconf && \
3129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3131 "RANLIB=$${RANLIB}" \
3132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3133 mostlyclean) \
3134 || exit 1
3136 @endif autoconf
3138 .PHONY: maybe-clean-autoconf clean-autoconf
3139 maybe-clean-autoconf:
3140 @if autoconf
3141 maybe-clean-autoconf: clean-autoconf
3143 clean-autoconf:
3144 @: $(MAKE); $(unstage)
3145 @[ -f ./autoconf/Makefile ] || exit 0; \
3146 r=`${PWD_COMMAND}`; export r; \
3147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3148 $(HOST_EXPORTS) \
3149 for flag in $(EXTRA_HOST_FLAGS) ; do \
3150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3151 done; \
3152 echo "Doing clean in autoconf" ; \
3153 (cd $(HOST_SUBDIR)/autoconf && \
3154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3156 "RANLIB=$${RANLIB}" \
3157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3158 clean) \
3159 || exit 1
3161 @endif autoconf
3163 .PHONY: maybe-distclean-autoconf distclean-autoconf
3164 maybe-distclean-autoconf:
3165 @if autoconf
3166 maybe-distclean-autoconf: distclean-autoconf
3168 distclean-autoconf:
3169 @: $(MAKE); $(unstage)
3170 @[ -f ./autoconf/Makefile ] || exit 0; \
3171 r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3173 $(HOST_EXPORTS) \
3174 for flag in $(EXTRA_HOST_FLAGS) ; do \
3175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3176 done; \
3177 echo "Doing distclean in autoconf" ; \
3178 (cd $(HOST_SUBDIR)/autoconf && \
3179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3181 "RANLIB=$${RANLIB}" \
3182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3183 distclean) \
3184 || exit 1
3186 @endif autoconf
3188 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3189 maybe-maintainer-clean-autoconf:
3190 @if autoconf
3191 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3193 maintainer-clean-autoconf:
3194 @: $(MAKE); $(unstage)
3195 @[ -f ./autoconf/Makefile ] || exit 0; \
3196 r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3198 $(HOST_EXPORTS) \
3199 for flag in $(EXTRA_HOST_FLAGS) ; do \
3200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3201 done; \
3202 echo "Doing maintainer-clean in autoconf" ; \
3203 (cd $(HOST_SUBDIR)/autoconf && \
3204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3206 "RANLIB=$${RANLIB}" \
3207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3208 maintainer-clean) \
3209 || exit 1
3211 @endif autoconf
3215 .PHONY: configure-automake maybe-configure-automake
3216 maybe-configure-automake:
3217 @if automake
3218 maybe-configure-automake: configure-automake
3219 configure-automake:
3220 @: $(MAKE); $(unstage)
3221 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3223 r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 $(HOST_EXPORTS) \
3226 echo Configuring in $(HOST_SUBDIR)/automake; \
3227 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3228 case $(srcdir) in \
3229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3230 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3232 esac; \
3233 srcdiroption="--srcdir=$${topdir}/automake"; \
3234 libsrcdir="$$s/automake"; \
3235 $(SHELL) $${libsrcdir}/configure \
3236 $(HOST_CONFIGARGS) $${srcdiroption} \
3237 || exit 1
3238 @endif automake
3244 .PHONY: all-automake maybe-all-automake
3245 maybe-all-automake:
3246 @if automake
3247 TARGET-automake=all
3248 maybe-all-automake: all-automake
3249 all-automake: configure-automake
3250 @: $(MAKE); $(unstage)
3251 @r=`${PWD_COMMAND}`; export r; \
3252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253 $(HOST_EXPORTS) \
3254 (cd $(HOST_SUBDIR)/automake && \
3255 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3256 @endif automake
3261 .PHONY: check-automake maybe-check-automake
3262 maybe-check-automake:
3263 @if automake
3264 maybe-check-automake: check-automake
3266 check-automake:
3267 @: $(MAKE); $(unstage)
3268 @r=`${PWD_COMMAND}`; export r; \
3269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270 $(HOST_EXPORTS) \
3271 (cd $(HOST_SUBDIR)/automake && \
3272 $(MAKE) $(FLAGS_TO_PASS) check)
3274 @endif automake
3276 .PHONY: install-automake maybe-install-automake
3277 maybe-install-automake:
3278 @if automake
3279 maybe-install-automake: install-automake
3281 install-automake: installdirs
3282 @: $(MAKE); $(unstage)
3283 @r=`${PWD_COMMAND}`; export r; \
3284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3285 $(HOST_EXPORTS) \
3286 (cd $(HOST_SUBDIR)/automake && \
3287 $(MAKE) $(FLAGS_TO_PASS) install)
3289 @endif automake
3291 # Other targets (info, dvi, etc.)
3293 .PHONY: maybe-info-automake info-automake
3294 maybe-info-automake:
3295 @if automake
3296 maybe-info-automake: info-automake
3298 info-automake: \
3299 configure-automake
3300 @: $(MAKE); $(unstage)
3301 @[ -f ./automake/Makefile ] || exit 0; \
3302 r=`${PWD_COMMAND}`; export r; \
3303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3304 $(HOST_EXPORTS) \
3305 for flag in $(EXTRA_HOST_FLAGS) ; do \
3306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3307 done; \
3308 echo "Doing info in automake" ; \
3309 (cd $(HOST_SUBDIR)/automake && \
3310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3312 "RANLIB=$${RANLIB}" \
3313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3314 info) \
3315 || exit 1
3317 @endif automake
3319 .PHONY: maybe-dvi-automake dvi-automake
3320 maybe-dvi-automake:
3321 @if automake
3322 maybe-dvi-automake: dvi-automake
3324 dvi-automake: \
3325 configure-automake
3326 @: $(MAKE); $(unstage)
3327 @[ -f ./automake/Makefile ] || exit 0; \
3328 r=`${PWD_COMMAND}`; export r; \
3329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3330 $(HOST_EXPORTS) \
3331 for flag in $(EXTRA_HOST_FLAGS) ; do \
3332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3333 done; \
3334 echo "Doing dvi in automake" ; \
3335 (cd $(HOST_SUBDIR)/automake && \
3336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3338 "RANLIB=$${RANLIB}" \
3339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3340 dvi) \
3341 || exit 1
3343 @endif automake
3345 .PHONY: maybe-html-automake html-automake
3346 maybe-html-automake:
3347 @if automake
3348 maybe-html-automake: html-automake
3350 html-automake: \
3351 configure-automake
3352 @: $(MAKE); $(unstage)
3353 @[ -f ./automake/Makefile ] || exit 0; \
3354 r=`${PWD_COMMAND}`; export r; \
3355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 $(HOST_EXPORTS) \
3357 for flag in $(EXTRA_HOST_FLAGS) ; do \
3358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3359 done; \
3360 echo "Doing html in automake" ; \
3361 (cd $(HOST_SUBDIR)/automake && \
3362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3364 "RANLIB=$${RANLIB}" \
3365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3366 html) \
3367 || exit 1
3369 @endif automake
3371 .PHONY: maybe-TAGS-automake TAGS-automake
3372 maybe-TAGS-automake:
3373 @if automake
3374 maybe-TAGS-automake: TAGS-automake
3376 TAGS-automake: \
3377 configure-automake
3378 @: $(MAKE); $(unstage)
3379 @[ -f ./automake/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(HOST_EXPORTS) \
3383 for flag in $(EXTRA_HOST_FLAGS) ; do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3385 done; \
3386 echo "Doing TAGS in automake" ; \
3387 (cd $(HOST_SUBDIR)/automake && \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 TAGS) \
3393 || exit 1
3395 @endif automake
3397 .PHONY: maybe-install-info-automake install-info-automake
3398 maybe-install-info-automake:
3399 @if automake
3400 maybe-install-info-automake: install-info-automake
3402 install-info-automake: \
3403 configure-automake \
3404 info-automake
3405 @: $(MAKE); $(unstage)
3406 @[ -f ./automake/Makefile ] || exit 0; \
3407 r=`${PWD_COMMAND}`; export r; \
3408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3409 $(HOST_EXPORTS) \
3410 for flag in $(EXTRA_HOST_FLAGS) ; do \
3411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3412 done; \
3413 echo "Doing install-info in automake" ; \
3414 (cd $(HOST_SUBDIR)/automake && \
3415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3417 "RANLIB=$${RANLIB}" \
3418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3419 install-info) \
3420 || exit 1
3422 @endif automake
3424 .PHONY: maybe-installcheck-automake installcheck-automake
3425 maybe-installcheck-automake:
3426 @if automake
3427 maybe-installcheck-automake: installcheck-automake
3429 installcheck-automake: \
3430 configure-automake
3431 @: $(MAKE); $(unstage)
3432 @[ -f ./automake/Makefile ] || exit 0; \
3433 r=`${PWD_COMMAND}`; export r; \
3434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3435 $(HOST_EXPORTS) \
3436 for flag in $(EXTRA_HOST_FLAGS) ; do \
3437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3438 done; \
3439 echo "Doing installcheck in automake" ; \
3440 (cd $(HOST_SUBDIR)/automake && \
3441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3443 "RANLIB=$${RANLIB}" \
3444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3445 installcheck) \
3446 || exit 1
3448 @endif automake
3450 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3451 maybe-mostlyclean-automake:
3452 @if automake
3453 maybe-mostlyclean-automake: mostlyclean-automake
3455 mostlyclean-automake:
3456 @: $(MAKE); $(unstage)
3457 @[ -f ./automake/Makefile ] || exit 0; \
3458 r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 $(HOST_EXPORTS) \
3461 for flag in $(EXTRA_HOST_FLAGS) ; do \
3462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3463 done; \
3464 echo "Doing mostlyclean in automake" ; \
3465 (cd $(HOST_SUBDIR)/automake && \
3466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3468 "RANLIB=$${RANLIB}" \
3469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3470 mostlyclean) \
3471 || exit 1
3473 @endif automake
3475 .PHONY: maybe-clean-automake clean-automake
3476 maybe-clean-automake:
3477 @if automake
3478 maybe-clean-automake: clean-automake
3480 clean-automake:
3481 @: $(MAKE); $(unstage)
3482 @[ -f ./automake/Makefile ] || exit 0; \
3483 r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(HOST_EXPORTS) \
3486 for flag in $(EXTRA_HOST_FLAGS) ; do \
3487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 done; \
3489 echo "Doing clean in automake" ; \
3490 (cd $(HOST_SUBDIR)/automake && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3493 "RANLIB=$${RANLIB}" \
3494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3495 clean) \
3496 || exit 1
3498 @endif automake
3500 .PHONY: maybe-distclean-automake distclean-automake
3501 maybe-distclean-automake:
3502 @if automake
3503 maybe-distclean-automake: distclean-automake
3505 distclean-automake:
3506 @: $(MAKE); $(unstage)
3507 @[ -f ./automake/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 $(HOST_EXPORTS) \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 done; \
3514 echo "Doing distclean in automake" ; \
3515 (cd $(HOST_SUBDIR)/automake && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3520 distclean) \
3521 || exit 1
3523 @endif automake
3525 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3526 maybe-maintainer-clean-automake:
3527 @if automake
3528 maybe-maintainer-clean-automake: maintainer-clean-automake
3530 maintainer-clean-automake:
3531 @: $(MAKE); $(unstage)
3532 @[ -f ./automake/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing maintainer-clean in automake" ; \
3540 (cd $(HOST_SUBDIR)/automake && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3545 maintainer-clean) \
3546 || exit 1
3548 @endif automake
3552 .PHONY: configure-bash maybe-configure-bash
3553 maybe-configure-bash:
3554 @if bash
3555 maybe-configure-bash: configure-bash
3556 configure-bash:
3557 @: $(MAKE); $(unstage)
3558 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3560 r=`${PWD_COMMAND}`; export r; \
3561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3562 $(HOST_EXPORTS) \
3563 echo Configuring in $(HOST_SUBDIR)/bash; \
3564 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3565 case $(srcdir) in \
3566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3567 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3569 esac; \
3570 srcdiroption="--srcdir=$${topdir}/bash"; \
3571 libsrcdir="$$s/bash"; \
3572 $(SHELL) $${libsrcdir}/configure \
3573 $(HOST_CONFIGARGS) $${srcdiroption} \
3574 || exit 1
3575 @endif bash
3581 .PHONY: all-bash maybe-all-bash
3582 maybe-all-bash:
3583 @if bash
3584 TARGET-bash=all
3585 maybe-all-bash: all-bash
3586 all-bash: configure-bash
3587 @: $(MAKE); $(unstage)
3588 @r=`${PWD_COMMAND}`; export r; \
3589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 $(HOST_EXPORTS) \
3591 (cd $(HOST_SUBDIR)/bash && \
3592 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3593 @endif bash
3598 .PHONY: check-bash maybe-check-bash
3599 maybe-check-bash:
3600 @if bash
3601 maybe-check-bash: check-bash
3603 check-bash:
3604 @: $(MAKE); $(unstage)
3605 @r=`${PWD_COMMAND}`; export r; \
3606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3607 $(HOST_EXPORTS) \
3608 (cd $(HOST_SUBDIR)/bash && \
3609 $(MAKE) $(FLAGS_TO_PASS) check)
3611 @endif bash
3613 .PHONY: install-bash maybe-install-bash
3614 maybe-install-bash:
3615 @if bash
3616 maybe-install-bash: install-bash
3618 install-bash: installdirs
3619 @: $(MAKE); $(unstage)
3620 @r=`${PWD_COMMAND}`; export r; \
3621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3622 $(HOST_EXPORTS) \
3623 (cd $(HOST_SUBDIR)/bash && \
3624 $(MAKE) $(FLAGS_TO_PASS) install)
3626 @endif bash
3628 # Other targets (info, dvi, etc.)
3630 .PHONY: maybe-info-bash info-bash
3631 maybe-info-bash:
3632 @if bash
3633 maybe-info-bash: info-bash
3635 info-bash: \
3636 configure-bash
3637 @: $(MAKE); $(unstage)
3638 @[ -f ./bash/Makefile ] || exit 0; \
3639 r=`${PWD_COMMAND}`; export r; \
3640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 $(HOST_EXPORTS) \
3642 for flag in $(EXTRA_HOST_FLAGS) ; do \
3643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3644 done; \
3645 echo "Doing info in bash" ; \
3646 (cd $(HOST_SUBDIR)/bash && \
3647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3649 "RANLIB=$${RANLIB}" \
3650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3651 info) \
3652 || exit 1
3654 @endif bash
3656 .PHONY: maybe-dvi-bash dvi-bash
3657 maybe-dvi-bash:
3658 @if bash
3659 maybe-dvi-bash: dvi-bash
3661 dvi-bash: \
3662 configure-bash
3663 @: $(MAKE); $(unstage)
3664 @[ -f ./bash/Makefile ] || exit 0; \
3665 r=`${PWD_COMMAND}`; export r; \
3666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 $(HOST_EXPORTS) \
3668 for flag in $(EXTRA_HOST_FLAGS) ; do \
3669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3670 done; \
3671 echo "Doing dvi in bash" ; \
3672 (cd $(HOST_SUBDIR)/bash && \
3673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3675 "RANLIB=$${RANLIB}" \
3676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3677 dvi) \
3678 || exit 1
3680 @endif bash
3682 .PHONY: maybe-html-bash html-bash
3683 maybe-html-bash:
3684 @if bash
3685 maybe-html-bash: html-bash
3687 html-bash: \
3688 configure-bash
3689 @: $(MAKE); $(unstage)
3690 @[ -f ./bash/Makefile ] || exit 0; \
3691 r=`${PWD_COMMAND}`; export r; \
3692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3693 $(HOST_EXPORTS) \
3694 for flag in $(EXTRA_HOST_FLAGS) ; do \
3695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3696 done; \
3697 echo "Doing html in bash" ; \
3698 (cd $(HOST_SUBDIR)/bash && \
3699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3701 "RANLIB=$${RANLIB}" \
3702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3703 html) \
3704 || exit 1
3706 @endif bash
3708 .PHONY: maybe-TAGS-bash TAGS-bash
3709 maybe-TAGS-bash:
3710 @if bash
3711 maybe-TAGS-bash: TAGS-bash
3713 TAGS-bash: \
3714 configure-bash
3715 @: $(MAKE); $(unstage)
3716 @[ -f ./bash/Makefile ] || exit 0; \
3717 r=`${PWD_COMMAND}`; export r; \
3718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3719 $(HOST_EXPORTS) \
3720 for flag in $(EXTRA_HOST_FLAGS) ; do \
3721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3722 done; \
3723 echo "Doing TAGS in bash" ; \
3724 (cd $(HOST_SUBDIR)/bash && \
3725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3727 "RANLIB=$${RANLIB}" \
3728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3729 TAGS) \
3730 || exit 1
3732 @endif bash
3734 .PHONY: maybe-install-info-bash install-info-bash
3735 maybe-install-info-bash:
3736 @if bash
3737 maybe-install-info-bash: install-info-bash
3739 install-info-bash: \
3740 configure-bash \
3741 info-bash
3742 @: $(MAKE); $(unstage)
3743 @[ -f ./bash/Makefile ] || exit 0; \
3744 r=`${PWD_COMMAND}`; export r; \
3745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3746 $(HOST_EXPORTS) \
3747 for flag in $(EXTRA_HOST_FLAGS) ; do \
3748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3749 done; \
3750 echo "Doing install-info in bash" ; \
3751 (cd $(HOST_SUBDIR)/bash && \
3752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3754 "RANLIB=$${RANLIB}" \
3755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3756 install-info) \
3757 || exit 1
3759 @endif bash
3761 .PHONY: maybe-installcheck-bash installcheck-bash
3762 maybe-installcheck-bash:
3763 @if bash
3764 maybe-installcheck-bash: installcheck-bash
3766 installcheck-bash: \
3767 configure-bash
3768 @: $(MAKE); $(unstage)
3769 @[ -f ./bash/Makefile ] || exit 0; \
3770 r=`${PWD_COMMAND}`; export r; \
3771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3772 $(HOST_EXPORTS) \
3773 for flag in $(EXTRA_HOST_FLAGS) ; do \
3774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3775 done; \
3776 echo "Doing installcheck in bash" ; \
3777 (cd $(HOST_SUBDIR)/bash && \
3778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3780 "RANLIB=$${RANLIB}" \
3781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3782 installcheck) \
3783 || exit 1
3785 @endif bash
3787 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3788 maybe-mostlyclean-bash:
3789 @if bash
3790 maybe-mostlyclean-bash: mostlyclean-bash
3792 mostlyclean-bash:
3793 @: $(MAKE); $(unstage)
3794 @[ -f ./bash/Makefile ] || exit 0; \
3795 r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3797 $(HOST_EXPORTS) \
3798 for flag in $(EXTRA_HOST_FLAGS) ; do \
3799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3800 done; \
3801 echo "Doing mostlyclean in bash" ; \
3802 (cd $(HOST_SUBDIR)/bash && \
3803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3805 "RANLIB=$${RANLIB}" \
3806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3807 mostlyclean) \
3808 || exit 1
3810 @endif bash
3812 .PHONY: maybe-clean-bash clean-bash
3813 maybe-clean-bash:
3814 @if bash
3815 maybe-clean-bash: clean-bash
3817 clean-bash:
3818 @: $(MAKE); $(unstage)
3819 @[ -f ./bash/Makefile ] || exit 0; \
3820 r=`${PWD_COMMAND}`; export r; \
3821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3822 $(HOST_EXPORTS) \
3823 for flag in $(EXTRA_HOST_FLAGS) ; do \
3824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3825 done; \
3826 echo "Doing clean in bash" ; \
3827 (cd $(HOST_SUBDIR)/bash && \
3828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3830 "RANLIB=$${RANLIB}" \
3831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3832 clean) \
3833 || exit 1
3835 @endif bash
3837 .PHONY: maybe-distclean-bash distclean-bash
3838 maybe-distclean-bash:
3839 @if bash
3840 maybe-distclean-bash: distclean-bash
3842 distclean-bash:
3843 @: $(MAKE); $(unstage)
3844 @[ -f ./bash/Makefile ] || exit 0; \
3845 r=`${PWD_COMMAND}`; export r; \
3846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3847 $(HOST_EXPORTS) \
3848 for flag in $(EXTRA_HOST_FLAGS) ; do \
3849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3850 done; \
3851 echo "Doing distclean in bash" ; \
3852 (cd $(HOST_SUBDIR)/bash && \
3853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3855 "RANLIB=$${RANLIB}" \
3856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3857 distclean) \
3858 || exit 1
3860 @endif bash
3862 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3863 maybe-maintainer-clean-bash:
3864 @if bash
3865 maybe-maintainer-clean-bash: maintainer-clean-bash
3867 maintainer-clean-bash:
3868 @: $(MAKE); $(unstage)
3869 @[ -f ./bash/Makefile ] || exit 0; \
3870 r=`${PWD_COMMAND}`; export r; \
3871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3872 $(HOST_EXPORTS) \
3873 for flag in $(EXTRA_HOST_FLAGS) ; do \
3874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3875 done; \
3876 echo "Doing maintainer-clean in bash" ; \
3877 (cd $(HOST_SUBDIR)/bash && \
3878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3880 "RANLIB=$${RANLIB}" \
3881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3882 maintainer-clean) \
3883 || exit 1
3885 @endif bash
3889 .PHONY: configure-bfd maybe-configure-bfd
3890 maybe-configure-bfd:
3891 @if bfd
3892 maybe-configure-bfd: configure-bfd
3893 configure-bfd:
3894 @test -f stage_last && exit 0; \
3895 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3897 r=`${PWD_COMMAND}`; export r; \
3898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3899 $(HOST_EXPORTS) \
3900 echo Configuring in $(HOST_SUBDIR)/bfd; \
3901 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3902 case $(srcdir) in \
3903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3904 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3906 esac; \
3907 srcdiroption="--srcdir=$${topdir}/bfd"; \
3908 libsrcdir="$$s/bfd"; \
3909 $(SHELL) $${libsrcdir}/configure \
3910 $(HOST_CONFIGARGS) $${srcdiroption} \
3911 || exit 1
3912 @endif bfd
3916 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3917 maybe-configure-stage1-bfd:
3918 @if bfd-bootstrap
3919 maybe-configure-stage1-bfd: configure-stage1-bfd
3920 configure-stage1-bfd:
3921 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3923 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3924 $(HOST_EXPORTS) \
3925 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3927 cd $(HOST_SUBDIR)/bfd || exit 1; \
3928 case $(srcdir) in \
3929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3930 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3932 esac; \
3933 srcdiroption="--srcdir=$${topdir}/bfd"; \
3934 libsrcdir="$$s/bfd"; \
3935 $(SHELL) $${libsrcdir}/configure \
3936 $(HOST_CONFIGARGS) $${srcdiroption} \
3937 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3938 @endif bfd-bootstrap
3940 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3941 maybe-configure-stage2-bfd:
3942 @if bfd-bootstrap
3943 maybe-configure-stage2-bfd: configure-stage2-bfd
3944 configure-stage2-bfd:
3945 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3947 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3948 $(HOST_EXPORTS) \
3949 $(POSTSTAGE1_HOST_EXPORTS) \
3950 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3952 cd $(HOST_SUBDIR)/bfd || exit 1; \
3953 case $(srcdir) in \
3954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3955 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3957 esac; \
3958 srcdiroption="--srcdir=$${topdir}/bfd"; \
3959 libsrcdir="$$s/bfd"; \
3960 $(SHELL) $${libsrcdir}/configure \
3961 $(HOST_CONFIGARGS) $${srcdiroption} \
3962 @stage2_werror_flag@
3963 @endif bfd-bootstrap
3965 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3966 maybe-configure-stage3-bfd:
3967 @if bfd-bootstrap
3968 maybe-configure-stage3-bfd: configure-stage3-bfd
3969 configure-stage3-bfd:
3970 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
3971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3972 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3973 $(HOST_EXPORTS) \
3974 $(POSTSTAGE1_HOST_EXPORTS) \
3975 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3977 cd $(HOST_SUBDIR)/bfd || exit 1; \
3978 case $(srcdir) in \
3979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3980 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3982 esac; \
3983 srcdiroption="--srcdir=$${topdir}/bfd"; \
3984 libsrcdir="$$s/bfd"; \
3985 $(SHELL) $${libsrcdir}/configure \
3986 $(HOST_CONFIGARGS) $${srcdiroption} \
3987 @stage2_werror_flag@
3988 @endif bfd-bootstrap
3990 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3991 maybe-configure-stage4-bfd:
3992 @if bfd-bootstrap
3993 maybe-configure-stage4-bfd: configure-stage4-bfd
3994 configure-stage4-bfd:
3995 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
3996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3997 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3998 $(HOST_EXPORTS) \
3999 $(POSTSTAGE1_HOST_EXPORTS) \
4000 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4002 cd $(HOST_SUBDIR)/bfd || exit 1; \
4003 case $(srcdir) in \
4004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4005 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4007 esac; \
4008 srcdiroption="--srcdir=$${topdir}/bfd"; \
4009 libsrcdir="$$s/bfd"; \
4010 $(SHELL) $${libsrcdir}/configure \
4011 $(HOST_CONFIGARGS) $${srcdiroption} \
4012 @stage2_werror_flag@
4013 @endif bfd-bootstrap
4015 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4016 maybe-configure-stageprofile-bfd:
4017 @if bfd-bootstrap
4018 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4019 configure-stageprofile-bfd:
4020 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4022 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4023 $(HOST_EXPORTS) \
4024 $(POSTSTAGE1_HOST_EXPORTS) \
4025 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4027 cd $(HOST_SUBDIR)/bfd || exit 1; \
4028 case $(srcdir) in \
4029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4030 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4032 esac; \
4033 srcdiroption="--srcdir=$${topdir}/bfd"; \
4034 libsrcdir="$$s/bfd"; \
4035 $(SHELL) $${libsrcdir}/configure \
4036 $(HOST_CONFIGARGS) $${srcdiroption} \
4037 @stage2_werror_flag@
4038 @endif bfd-bootstrap
4040 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4041 maybe-configure-stagefeedback-bfd:
4042 @if bfd-bootstrap
4043 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4044 configure-stagefeedback-bfd:
4045 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4047 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4048 $(HOST_EXPORTS) \
4049 $(POSTSTAGE1_HOST_EXPORTS) \
4050 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4052 cd $(HOST_SUBDIR)/bfd || exit 1; \
4053 case $(srcdir) in \
4054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4055 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4057 esac; \
4058 srcdiroption="--srcdir=$${topdir}/bfd"; \
4059 libsrcdir="$$s/bfd"; \
4060 $(SHELL) $${libsrcdir}/configure \
4061 $(HOST_CONFIGARGS) $${srcdiroption} \
4062 @stage2_werror_flag@
4063 @endif bfd-bootstrap
4069 .PHONY: all-bfd maybe-all-bfd
4070 maybe-all-bfd:
4071 @if bfd
4072 TARGET-bfd=all
4073 maybe-all-bfd: all-bfd
4074 all-bfd: configure-bfd
4075 @test -f stage_last && exit 0; \
4076 r=`${PWD_COMMAND}`; export r; \
4077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4078 $(HOST_EXPORTS) \
4079 (cd $(HOST_SUBDIR)/bfd && \
4080 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4081 @endif bfd
4085 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4086 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4087 maybe-all-stage1-bfd:
4088 maybe-clean-stage1-bfd:
4089 @if bfd-bootstrap
4090 maybe-all-stage1-bfd: all-stage1-bfd
4091 all-stage1: all-stage1-bfd
4092 TARGET-stage1-bfd = $(TARGET-bfd)
4093 all-stage1-bfd: configure-stage1-bfd
4094 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4095 @r=`${PWD_COMMAND}`; export r; \
4096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4097 $(HOST_EXPORTS) \
4098 cd $(HOST_SUBDIR)/bfd && \
4099 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4100 $(TARGET-stage1-bfd)
4102 maybe-clean-stage1-bfd: clean-stage1-bfd
4103 clean-stage1: clean-stage1-bfd
4104 clean-stage1-bfd:
4105 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4106 || exit 0 ; \
4107 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4108 cd $(HOST_SUBDIR)/bfd && \
4109 $(MAKE) $(FLAGS_TO_PASS) \
4110 CFLAGS="$(STAGE1_CFLAGS)" clean
4111 @endif bfd-bootstrap
4114 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4115 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4116 maybe-all-stage2-bfd:
4117 maybe-clean-stage2-bfd:
4118 @if bfd-bootstrap
4119 maybe-all-stage2-bfd: all-stage2-bfd
4120 all-stage2: all-stage2-bfd
4121 TARGET-stage2-bfd = $(TARGET-bfd)
4122 all-stage2-bfd: configure-stage2-bfd
4123 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4124 @r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126 $(HOST_EXPORTS) \
4127 $(POSTSTAGE1_HOST_EXPORTS) \
4128 cd $(HOST_SUBDIR)/bfd && \
4129 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4130 $(TARGET-stage2-bfd)
4132 maybe-clean-stage2-bfd: clean-stage2-bfd
4133 clean-stage2: clean-stage2-bfd
4134 clean-stage2-bfd:
4135 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4136 || exit 0 ; \
4137 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4138 cd $(HOST_SUBDIR)/bfd && \
4139 $(MAKE) $(FLAGS_TO_PASS) \
4140 $(POSTSTAGE1_FLAGS_TO_PASS) \
4141 clean
4142 @endif bfd-bootstrap
4145 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4146 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4147 maybe-all-stage3-bfd:
4148 maybe-clean-stage3-bfd:
4149 @if bfd-bootstrap
4150 maybe-all-stage3-bfd: all-stage3-bfd
4151 all-stage3: all-stage3-bfd
4152 TARGET-stage3-bfd = $(TARGET-bfd)
4153 all-stage3-bfd: configure-stage3-bfd
4154 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4155 @r=`${PWD_COMMAND}`; export r; \
4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4157 $(HOST_EXPORTS) \
4158 $(POSTSTAGE1_HOST_EXPORTS) \
4159 cd $(HOST_SUBDIR)/bfd && \
4160 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4161 $(TARGET-stage3-bfd)
4163 maybe-clean-stage3-bfd: clean-stage3-bfd
4164 clean-stage3: clean-stage3-bfd
4165 clean-stage3-bfd:
4166 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4167 || exit 0 ; \
4168 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4169 cd $(HOST_SUBDIR)/bfd && \
4170 $(MAKE) $(FLAGS_TO_PASS) \
4171 $(POSTSTAGE1_FLAGS_TO_PASS) \
4172 clean
4173 @endif bfd-bootstrap
4176 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4177 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4178 maybe-all-stage4-bfd:
4179 maybe-clean-stage4-bfd:
4180 @if bfd-bootstrap
4181 maybe-all-stage4-bfd: all-stage4-bfd
4182 all-stage4: all-stage4-bfd
4183 TARGET-stage4-bfd = $(TARGET-bfd)
4184 all-stage4-bfd: configure-stage4-bfd
4185 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4186 @r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 $(HOST_EXPORTS) \
4189 $(POSTSTAGE1_HOST_EXPORTS) \
4190 cd $(HOST_SUBDIR)/bfd && \
4191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4192 $(TARGET-stage4-bfd)
4194 maybe-clean-stage4-bfd: clean-stage4-bfd
4195 clean-stage4: clean-stage4-bfd
4196 clean-stage4-bfd:
4197 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4198 || exit 0 ; \
4199 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4200 cd $(HOST_SUBDIR)/bfd && \
4201 $(MAKE) $(FLAGS_TO_PASS) \
4202 $(POSTSTAGE1_FLAGS_TO_PASS) \
4203 clean
4204 @endif bfd-bootstrap
4207 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4208 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4209 maybe-all-stageprofile-bfd:
4210 maybe-clean-stageprofile-bfd:
4211 @if bfd-bootstrap
4212 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4213 all-stageprofile: all-stageprofile-bfd
4214 TARGET-stageprofile-bfd = $(TARGET-bfd)
4215 all-stageprofile-bfd: configure-stageprofile-bfd
4216 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4217 @r=`${PWD_COMMAND}`; export r; \
4218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4219 $(HOST_EXPORTS) \
4220 $(POSTSTAGE1_HOST_EXPORTS) \
4221 cd $(HOST_SUBDIR)/bfd && \
4222 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4223 $(TARGET-stageprofile-bfd)
4225 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4226 clean-stageprofile: clean-stageprofile-bfd
4227 clean-stageprofile-bfd:
4228 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4229 || exit 0 ; \
4230 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4231 cd $(HOST_SUBDIR)/bfd && \
4232 $(MAKE) $(FLAGS_TO_PASS) \
4233 $(POSTSTAGE1_FLAGS_TO_PASS) \
4234 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4235 @endif bfd-bootstrap
4238 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4239 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4240 maybe-all-stagefeedback-bfd:
4241 maybe-clean-stagefeedback-bfd:
4242 @if bfd-bootstrap
4243 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4244 all-stagefeedback: all-stagefeedback-bfd
4245 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4246 all-stagefeedback-bfd: configure-stagefeedback-bfd
4247 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4248 @r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 $(HOST_EXPORTS) \
4251 $(POSTSTAGE1_HOST_EXPORTS) \
4252 cd $(HOST_SUBDIR)/bfd && \
4253 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4254 $(TARGET-stagefeedback-bfd)
4256 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4257 clean-stagefeedback: clean-stagefeedback-bfd
4258 clean-stagefeedback-bfd:
4259 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4260 || exit 0 ; \
4261 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4262 cd $(HOST_SUBDIR)/bfd && \
4263 $(MAKE) $(FLAGS_TO_PASS) \
4264 $(POSTSTAGE1_FLAGS_TO_PASS) \
4265 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4266 @endif bfd-bootstrap
4272 .PHONY: check-bfd maybe-check-bfd
4273 maybe-check-bfd:
4274 @if bfd
4275 maybe-check-bfd: check-bfd
4277 check-bfd:
4278 @: $(MAKE); $(unstage)
4279 @r=`${PWD_COMMAND}`; export r; \
4280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4281 $(HOST_EXPORTS) \
4282 (cd $(HOST_SUBDIR)/bfd && \
4283 $(MAKE) $(FLAGS_TO_PASS) check)
4285 @endif bfd
4287 .PHONY: install-bfd maybe-install-bfd
4288 maybe-install-bfd:
4289 @if bfd
4290 maybe-install-bfd: install-bfd
4292 install-bfd: installdirs
4293 @: $(MAKE); $(unstage)
4294 @r=`${PWD_COMMAND}`; export r; \
4295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4296 $(HOST_EXPORTS) \
4297 (cd $(HOST_SUBDIR)/bfd && \
4298 $(MAKE) $(FLAGS_TO_PASS) install)
4300 @endif bfd
4302 # Other targets (info, dvi, etc.)
4304 .PHONY: maybe-info-bfd info-bfd
4305 maybe-info-bfd:
4306 @if bfd
4307 maybe-info-bfd: info-bfd
4309 info-bfd: \
4310 configure-bfd
4311 @[ -f ./bfd/Makefile ] || exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(HOST_EXPORTS) \
4315 for flag in $(EXTRA_HOST_FLAGS) ; do \
4316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4317 done; \
4318 echo "Doing info in bfd" ; \
4319 (cd $(HOST_SUBDIR)/bfd && \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4322 "RANLIB=$${RANLIB}" \
4323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4324 info) \
4325 || exit 1
4327 @endif bfd
4329 .PHONY: maybe-dvi-bfd dvi-bfd
4330 maybe-dvi-bfd:
4331 @if bfd
4332 maybe-dvi-bfd: dvi-bfd
4334 dvi-bfd: \
4335 configure-bfd
4336 @[ -f ./bfd/Makefile ] || exit 0; \
4337 r=`${PWD_COMMAND}`; export r; \
4338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4339 $(HOST_EXPORTS) \
4340 for flag in $(EXTRA_HOST_FLAGS) ; do \
4341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4342 done; \
4343 echo "Doing dvi in bfd" ; \
4344 (cd $(HOST_SUBDIR)/bfd && \
4345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4347 "RANLIB=$${RANLIB}" \
4348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4349 dvi) \
4350 || exit 1
4352 @endif bfd
4354 .PHONY: maybe-html-bfd html-bfd
4355 maybe-html-bfd:
4356 @if bfd
4357 maybe-html-bfd: html-bfd
4359 html-bfd: \
4360 configure-bfd
4361 @[ -f ./bfd/Makefile ] || exit 0; \
4362 r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(HOST_EXPORTS) \
4365 for flag in $(EXTRA_HOST_FLAGS) ; do \
4366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4367 done; \
4368 echo "Doing html in bfd" ; \
4369 (cd $(HOST_SUBDIR)/bfd && \
4370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4372 "RANLIB=$${RANLIB}" \
4373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4374 html) \
4375 || exit 1
4377 @endif bfd
4379 .PHONY: maybe-TAGS-bfd TAGS-bfd
4380 maybe-TAGS-bfd:
4381 @if bfd
4382 maybe-TAGS-bfd: TAGS-bfd
4384 TAGS-bfd: \
4385 configure-bfd
4386 @[ -f ./bfd/Makefile ] || exit 0; \
4387 r=`${PWD_COMMAND}`; export r; \
4388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 $(HOST_EXPORTS) \
4390 for flag in $(EXTRA_HOST_FLAGS) ; do \
4391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4392 done; \
4393 echo "Doing TAGS in bfd" ; \
4394 (cd $(HOST_SUBDIR)/bfd && \
4395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4397 "RANLIB=$${RANLIB}" \
4398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4399 TAGS) \
4400 || exit 1
4402 @endif bfd
4404 .PHONY: maybe-install-info-bfd install-info-bfd
4405 maybe-install-info-bfd:
4406 @if bfd
4407 maybe-install-info-bfd: install-info-bfd
4409 install-info-bfd: \
4410 configure-bfd \
4411 info-bfd
4412 @[ -f ./bfd/Makefile ] || exit 0; \
4413 r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(HOST_EXPORTS) \
4416 for flag in $(EXTRA_HOST_FLAGS) ; do \
4417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4418 done; \
4419 echo "Doing install-info in bfd" ; \
4420 (cd $(HOST_SUBDIR)/bfd && \
4421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4423 "RANLIB=$${RANLIB}" \
4424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4425 install-info) \
4426 || exit 1
4428 @endif bfd
4430 .PHONY: maybe-installcheck-bfd installcheck-bfd
4431 maybe-installcheck-bfd:
4432 @if bfd
4433 maybe-installcheck-bfd: installcheck-bfd
4435 installcheck-bfd: \
4436 configure-bfd
4437 @[ -f ./bfd/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing installcheck in bfd" ; \
4445 (cd $(HOST_SUBDIR)/bfd && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 installcheck) \
4451 || exit 1
4453 @endif bfd
4455 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4456 maybe-mostlyclean-bfd:
4457 @if bfd
4458 maybe-mostlyclean-bfd: mostlyclean-bfd
4460 mostlyclean-bfd:
4461 @[ -f ./bfd/Makefile ] || exit 0; \
4462 r=`${PWD_COMMAND}`; export r; \
4463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4464 $(HOST_EXPORTS) \
4465 for flag in $(EXTRA_HOST_FLAGS) ; do \
4466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4467 done; \
4468 echo "Doing mostlyclean in bfd" ; \
4469 (cd $(HOST_SUBDIR)/bfd && \
4470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4472 "RANLIB=$${RANLIB}" \
4473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4474 mostlyclean) \
4475 || exit 1
4477 @endif bfd
4479 .PHONY: maybe-clean-bfd clean-bfd
4480 maybe-clean-bfd:
4481 @if bfd
4482 maybe-clean-bfd: clean-bfd
4484 clean-bfd:
4485 @[ -f ./bfd/Makefile ] || exit 0; \
4486 r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 $(HOST_EXPORTS) \
4489 for flag in $(EXTRA_HOST_FLAGS) ; do \
4490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4491 done; \
4492 echo "Doing clean in bfd" ; \
4493 (cd $(HOST_SUBDIR)/bfd && \
4494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4496 "RANLIB=$${RANLIB}" \
4497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4498 clean) \
4499 || exit 1
4501 @endif bfd
4503 .PHONY: maybe-distclean-bfd distclean-bfd
4504 maybe-distclean-bfd:
4505 @if bfd
4506 maybe-distclean-bfd: distclean-bfd
4508 distclean-bfd:
4509 @[ -f ./bfd/Makefile ] || exit 0; \
4510 r=`${PWD_COMMAND}`; export r; \
4511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4512 $(HOST_EXPORTS) \
4513 for flag in $(EXTRA_HOST_FLAGS) ; do \
4514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4515 done; \
4516 echo "Doing distclean in bfd" ; \
4517 (cd $(HOST_SUBDIR)/bfd && \
4518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4520 "RANLIB=$${RANLIB}" \
4521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4522 distclean) \
4523 || exit 1
4525 @endif bfd
4527 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4528 maybe-maintainer-clean-bfd:
4529 @if bfd
4530 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4532 maintainer-clean-bfd:
4533 @[ -f ./bfd/Makefile ] || exit 0; \
4534 r=`${PWD_COMMAND}`; export r; \
4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4536 $(HOST_EXPORTS) \
4537 for flag in $(EXTRA_HOST_FLAGS) ; do \
4538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4539 done; \
4540 echo "Doing maintainer-clean in bfd" ; \
4541 (cd $(HOST_SUBDIR)/bfd && \
4542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4544 "RANLIB=$${RANLIB}" \
4545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4546 maintainer-clean) \
4547 || exit 1
4549 @endif bfd
4553 .PHONY: configure-opcodes maybe-configure-opcodes
4554 maybe-configure-opcodes:
4555 @if opcodes
4556 maybe-configure-opcodes: configure-opcodes
4557 configure-opcodes:
4558 @test -f stage_last && exit 0; \
4559 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4561 r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 $(HOST_EXPORTS) \
4564 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4565 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4566 case $(srcdir) in \
4567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4568 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4570 esac; \
4571 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4572 libsrcdir="$$s/opcodes"; \
4573 $(SHELL) $${libsrcdir}/configure \
4574 $(HOST_CONFIGARGS) $${srcdiroption} \
4575 || exit 1
4576 @endif opcodes
4580 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4581 maybe-configure-stage1-opcodes:
4582 @if opcodes-bootstrap
4583 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4584 configure-stage1-opcodes:
4585 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4587 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4588 $(HOST_EXPORTS) \
4589 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4591 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4592 case $(srcdir) in \
4593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4594 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4596 esac; \
4597 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4598 libsrcdir="$$s/opcodes"; \
4599 $(SHELL) $${libsrcdir}/configure \
4600 $(HOST_CONFIGARGS) $${srcdiroption} \
4601 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4602 @endif opcodes-bootstrap
4604 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4605 maybe-configure-stage2-opcodes:
4606 @if opcodes-bootstrap
4607 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4608 configure-stage2-opcodes:
4609 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4610 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4611 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4612 $(HOST_EXPORTS) \
4613 $(POSTSTAGE1_HOST_EXPORTS) \
4614 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4616 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4617 case $(srcdir) in \
4618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4619 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4621 esac; \
4622 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4623 libsrcdir="$$s/opcodes"; \
4624 $(SHELL) $${libsrcdir}/configure \
4625 $(HOST_CONFIGARGS) $${srcdiroption} \
4626 @stage2_werror_flag@
4627 @endif opcodes-bootstrap
4629 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4630 maybe-configure-stage3-opcodes:
4631 @if opcodes-bootstrap
4632 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4633 configure-stage3-opcodes:
4634 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4636 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4637 $(HOST_EXPORTS) \
4638 $(POSTSTAGE1_HOST_EXPORTS) \
4639 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4641 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4642 case $(srcdir) in \
4643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4644 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4646 esac; \
4647 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4648 libsrcdir="$$s/opcodes"; \
4649 $(SHELL) $${libsrcdir}/configure \
4650 $(HOST_CONFIGARGS) $${srcdiroption} \
4651 @stage2_werror_flag@
4652 @endif opcodes-bootstrap
4654 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4655 maybe-configure-stage4-opcodes:
4656 @if opcodes-bootstrap
4657 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4658 configure-stage4-opcodes:
4659 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4661 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4662 $(HOST_EXPORTS) \
4663 $(POSTSTAGE1_HOST_EXPORTS) \
4664 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4666 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4667 case $(srcdir) in \
4668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4669 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4671 esac; \
4672 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4673 libsrcdir="$$s/opcodes"; \
4674 $(SHELL) $${libsrcdir}/configure \
4675 $(HOST_CONFIGARGS) $${srcdiroption} \
4676 @stage2_werror_flag@
4677 @endif opcodes-bootstrap
4679 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4680 maybe-configure-stageprofile-opcodes:
4681 @if opcodes-bootstrap
4682 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4683 configure-stageprofile-opcodes:
4684 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4686 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4687 $(HOST_EXPORTS) \
4688 $(POSTSTAGE1_HOST_EXPORTS) \
4689 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4691 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4692 case $(srcdir) in \
4693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4694 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4696 esac; \
4697 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4698 libsrcdir="$$s/opcodes"; \
4699 $(SHELL) $${libsrcdir}/configure \
4700 $(HOST_CONFIGARGS) $${srcdiroption} \
4701 @stage2_werror_flag@
4702 @endif opcodes-bootstrap
4704 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4705 maybe-configure-stagefeedback-opcodes:
4706 @if opcodes-bootstrap
4707 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4708 configure-stagefeedback-opcodes:
4709 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4711 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4712 $(HOST_EXPORTS) \
4713 $(POSTSTAGE1_HOST_EXPORTS) \
4714 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4716 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4717 case $(srcdir) in \
4718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4719 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4721 esac; \
4722 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4723 libsrcdir="$$s/opcodes"; \
4724 $(SHELL) $${libsrcdir}/configure \
4725 $(HOST_CONFIGARGS) $${srcdiroption} \
4726 @stage2_werror_flag@
4727 @endif opcodes-bootstrap
4733 .PHONY: all-opcodes maybe-all-opcodes
4734 maybe-all-opcodes:
4735 @if opcodes
4736 TARGET-opcodes=all
4737 maybe-all-opcodes: all-opcodes
4738 all-opcodes: configure-opcodes
4739 @test -f stage_last && exit 0; \
4740 r=`${PWD_COMMAND}`; export r; \
4741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4742 $(HOST_EXPORTS) \
4743 (cd $(HOST_SUBDIR)/opcodes && \
4744 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4745 @endif opcodes
4749 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4750 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4751 maybe-all-stage1-opcodes:
4752 maybe-clean-stage1-opcodes:
4753 @if opcodes-bootstrap
4754 maybe-all-stage1-opcodes: all-stage1-opcodes
4755 all-stage1: all-stage1-opcodes
4756 TARGET-stage1-opcodes = $(TARGET-opcodes)
4757 all-stage1-opcodes: configure-stage1-opcodes
4758 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4759 @r=`${PWD_COMMAND}`; export r; \
4760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4761 $(HOST_EXPORTS) \
4762 cd $(HOST_SUBDIR)/opcodes && \
4763 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4764 $(TARGET-stage1-opcodes)
4766 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4767 clean-stage1: clean-stage1-opcodes
4768 clean-stage1-opcodes:
4769 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4770 || exit 0 ; \
4771 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4772 cd $(HOST_SUBDIR)/opcodes && \
4773 $(MAKE) $(FLAGS_TO_PASS) \
4774 CFLAGS="$(STAGE1_CFLAGS)" clean
4775 @endif opcodes-bootstrap
4778 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4779 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4780 maybe-all-stage2-opcodes:
4781 maybe-clean-stage2-opcodes:
4782 @if opcodes-bootstrap
4783 maybe-all-stage2-opcodes: all-stage2-opcodes
4784 all-stage2: all-stage2-opcodes
4785 TARGET-stage2-opcodes = $(TARGET-opcodes)
4786 all-stage2-opcodes: configure-stage2-opcodes
4787 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4788 @r=`${PWD_COMMAND}`; export r; \
4789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4790 $(HOST_EXPORTS) \
4791 $(POSTSTAGE1_HOST_EXPORTS) \
4792 cd $(HOST_SUBDIR)/opcodes && \
4793 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4794 $(TARGET-stage2-opcodes)
4796 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4797 clean-stage2: clean-stage2-opcodes
4798 clean-stage2-opcodes:
4799 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4800 || exit 0 ; \
4801 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4802 cd $(HOST_SUBDIR)/opcodes && \
4803 $(MAKE) $(FLAGS_TO_PASS) \
4804 $(POSTSTAGE1_FLAGS_TO_PASS) \
4805 clean
4806 @endif opcodes-bootstrap
4809 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4810 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4811 maybe-all-stage3-opcodes:
4812 maybe-clean-stage3-opcodes:
4813 @if opcodes-bootstrap
4814 maybe-all-stage3-opcodes: all-stage3-opcodes
4815 all-stage3: all-stage3-opcodes
4816 TARGET-stage3-opcodes = $(TARGET-opcodes)
4817 all-stage3-opcodes: configure-stage3-opcodes
4818 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4819 @r=`${PWD_COMMAND}`; export r; \
4820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4821 $(HOST_EXPORTS) \
4822 $(POSTSTAGE1_HOST_EXPORTS) \
4823 cd $(HOST_SUBDIR)/opcodes && \
4824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4825 $(TARGET-stage3-opcodes)
4827 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4828 clean-stage3: clean-stage3-opcodes
4829 clean-stage3-opcodes:
4830 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4831 || exit 0 ; \
4832 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4833 cd $(HOST_SUBDIR)/opcodes && \
4834 $(MAKE) $(FLAGS_TO_PASS) \
4835 $(POSTSTAGE1_FLAGS_TO_PASS) \
4836 clean
4837 @endif opcodes-bootstrap
4840 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4841 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4842 maybe-all-stage4-opcodes:
4843 maybe-clean-stage4-opcodes:
4844 @if opcodes-bootstrap
4845 maybe-all-stage4-opcodes: all-stage4-opcodes
4846 all-stage4: all-stage4-opcodes
4847 TARGET-stage4-opcodes = $(TARGET-opcodes)
4848 all-stage4-opcodes: configure-stage4-opcodes
4849 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4850 @r=`${PWD_COMMAND}`; export r; \
4851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4852 $(HOST_EXPORTS) \
4853 $(POSTSTAGE1_HOST_EXPORTS) \
4854 cd $(HOST_SUBDIR)/opcodes && \
4855 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4856 $(TARGET-stage4-opcodes)
4858 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4859 clean-stage4: clean-stage4-opcodes
4860 clean-stage4-opcodes:
4861 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4862 || exit 0 ; \
4863 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4864 cd $(HOST_SUBDIR)/opcodes && \
4865 $(MAKE) $(FLAGS_TO_PASS) \
4866 $(POSTSTAGE1_FLAGS_TO_PASS) \
4867 clean
4868 @endif opcodes-bootstrap
4871 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4872 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4873 maybe-all-stageprofile-opcodes:
4874 maybe-clean-stageprofile-opcodes:
4875 @if opcodes-bootstrap
4876 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4877 all-stageprofile: all-stageprofile-opcodes
4878 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4879 all-stageprofile-opcodes: configure-stageprofile-opcodes
4880 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4881 @r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 $(HOST_EXPORTS) \
4884 $(POSTSTAGE1_HOST_EXPORTS) \
4885 cd $(HOST_SUBDIR)/opcodes && \
4886 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4887 $(TARGET-stageprofile-opcodes)
4889 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4890 clean-stageprofile: clean-stageprofile-opcodes
4891 clean-stageprofile-opcodes:
4892 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4893 || exit 0 ; \
4894 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4895 cd $(HOST_SUBDIR)/opcodes && \
4896 $(MAKE) $(FLAGS_TO_PASS) \
4897 $(POSTSTAGE1_FLAGS_TO_PASS) \
4898 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4899 @endif opcodes-bootstrap
4902 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4903 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4904 maybe-all-stagefeedback-opcodes:
4905 maybe-clean-stagefeedback-opcodes:
4906 @if opcodes-bootstrap
4907 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4908 all-stagefeedback: all-stagefeedback-opcodes
4909 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4910 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4911 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4912 @r=`${PWD_COMMAND}`; export r; \
4913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914 $(HOST_EXPORTS) \
4915 $(POSTSTAGE1_HOST_EXPORTS) \
4916 cd $(HOST_SUBDIR)/opcodes && \
4917 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4918 $(TARGET-stagefeedback-opcodes)
4920 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4921 clean-stagefeedback: clean-stagefeedback-opcodes
4922 clean-stagefeedback-opcodes:
4923 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4924 || exit 0 ; \
4925 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4926 cd $(HOST_SUBDIR)/opcodes && \
4927 $(MAKE) $(FLAGS_TO_PASS) \
4928 $(POSTSTAGE1_FLAGS_TO_PASS) \
4929 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4930 @endif opcodes-bootstrap
4936 .PHONY: check-opcodes maybe-check-opcodes
4937 maybe-check-opcodes:
4938 @if opcodes
4939 maybe-check-opcodes: check-opcodes
4941 check-opcodes:
4942 @: $(MAKE); $(unstage)
4943 @r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 $(HOST_EXPORTS) \
4946 (cd $(HOST_SUBDIR)/opcodes && \
4947 $(MAKE) $(FLAGS_TO_PASS) check)
4949 @endif opcodes
4951 .PHONY: install-opcodes maybe-install-opcodes
4952 maybe-install-opcodes:
4953 @if opcodes
4954 maybe-install-opcodes: install-opcodes
4956 install-opcodes: installdirs
4957 @: $(MAKE); $(unstage)
4958 @r=`${PWD_COMMAND}`; export r; \
4959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 $(HOST_EXPORTS) \
4961 (cd $(HOST_SUBDIR)/opcodes && \
4962 $(MAKE) $(FLAGS_TO_PASS) install)
4964 @endif opcodes
4966 # Other targets (info, dvi, etc.)
4968 .PHONY: maybe-info-opcodes info-opcodes
4969 maybe-info-opcodes:
4970 @if opcodes
4971 maybe-info-opcodes: info-opcodes
4973 info-opcodes: \
4974 configure-opcodes
4975 @[ -f ./opcodes/Makefile ] || exit 0; \
4976 r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 $(HOST_EXPORTS) \
4979 for flag in $(EXTRA_HOST_FLAGS) ; do \
4980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4981 done; \
4982 echo "Doing info in opcodes" ; \
4983 (cd $(HOST_SUBDIR)/opcodes && \
4984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4986 "RANLIB=$${RANLIB}" \
4987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4988 info) \
4989 || exit 1
4991 @endif opcodes
4993 .PHONY: maybe-dvi-opcodes dvi-opcodes
4994 maybe-dvi-opcodes:
4995 @if opcodes
4996 maybe-dvi-opcodes: dvi-opcodes
4998 dvi-opcodes: \
4999 configure-opcodes
5000 @[ -f ./opcodes/Makefile ] || exit 0; \
5001 r=`${PWD_COMMAND}`; export r; \
5002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5003 $(HOST_EXPORTS) \
5004 for flag in $(EXTRA_HOST_FLAGS) ; do \
5005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5006 done; \
5007 echo "Doing dvi in opcodes" ; \
5008 (cd $(HOST_SUBDIR)/opcodes && \
5009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5011 "RANLIB=$${RANLIB}" \
5012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5013 dvi) \
5014 || exit 1
5016 @endif opcodes
5018 .PHONY: maybe-html-opcodes html-opcodes
5019 maybe-html-opcodes:
5020 @if opcodes
5021 maybe-html-opcodes: html-opcodes
5023 html-opcodes: \
5024 configure-opcodes
5025 @[ -f ./opcodes/Makefile ] || exit 0; \
5026 r=`${PWD_COMMAND}`; export r; \
5027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 $(HOST_EXPORTS) \
5029 for flag in $(EXTRA_HOST_FLAGS) ; do \
5030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5031 done; \
5032 echo "Doing html in opcodes" ; \
5033 (cd $(HOST_SUBDIR)/opcodes && \
5034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5036 "RANLIB=$${RANLIB}" \
5037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5038 html) \
5039 || exit 1
5041 @endif opcodes
5043 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5044 maybe-TAGS-opcodes:
5045 @if opcodes
5046 maybe-TAGS-opcodes: TAGS-opcodes
5048 TAGS-opcodes: \
5049 configure-opcodes
5050 @[ -f ./opcodes/Makefile ] || exit 0; \
5051 r=`${PWD_COMMAND}`; export r; \
5052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5053 $(HOST_EXPORTS) \
5054 for flag in $(EXTRA_HOST_FLAGS) ; do \
5055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5056 done; \
5057 echo "Doing TAGS in opcodes" ; \
5058 (cd $(HOST_SUBDIR)/opcodes && \
5059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5061 "RANLIB=$${RANLIB}" \
5062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5063 TAGS) \
5064 || exit 1
5066 @endif opcodes
5068 .PHONY: maybe-install-info-opcodes install-info-opcodes
5069 maybe-install-info-opcodes:
5070 @if opcodes
5071 maybe-install-info-opcodes: install-info-opcodes
5073 install-info-opcodes: \
5074 configure-opcodes \
5075 info-opcodes
5076 @[ -f ./opcodes/Makefile ] || exit 0; \
5077 r=`${PWD_COMMAND}`; export r; \
5078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079 $(HOST_EXPORTS) \
5080 for flag in $(EXTRA_HOST_FLAGS) ; do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082 done; \
5083 echo "Doing install-info in opcodes" ; \
5084 (cd $(HOST_SUBDIR)/opcodes && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089 install-info) \
5090 || exit 1
5092 @endif opcodes
5094 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5095 maybe-installcheck-opcodes:
5096 @if opcodes
5097 maybe-installcheck-opcodes: installcheck-opcodes
5099 installcheck-opcodes: \
5100 configure-opcodes
5101 @[ -f ./opcodes/Makefile ] || exit 0; \
5102 r=`${PWD_COMMAND}`; export r; \
5103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5104 $(HOST_EXPORTS) \
5105 for flag in $(EXTRA_HOST_FLAGS) ; do \
5106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5107 done; \
5108 echo "Doing installcheck in opcodes" ; \
5109 (cd $(HOST_SUBDIR)/opcodes && \
5110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5112 "RANLIB=$${RANLIB}" \
5113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5114 installcheck) \
5115 || exit 1
5117 @endif opcodes
5119 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5120 maybe-mostlyclean-opcodes:
5121 @if opcodes
5122 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5124 mostlyclean-opcodes:
5125 @[ -f ./opcodes/Makefile ] || exit 0; \
5126 r=`${PWD_COMMAND}`; export r; \
5127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5128 $(HOST_EXPORTS) \
5129 for flag in $(EXTRA_HOST_FLAGS) ; do \
5130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5131 done; \
5132 echo "Doing mostlyclean in opcodes" ; \
5133 (cd $(HOST_SUBDIR)/opcodes && \
5134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5136 "RANLIB=$${RANLIB}" \
5137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5138 mostlyclean) \
5139 || exit 1
5141 @endif opcodes
5143 .PHONY: maybe-clean-opcodes clean-opcodes
5144 maybe-clean-opcodes:
5145 @if opcodes
5146 maybe-clean-opcodes: clean-opcodes
5148 clean-opcodes:
5149 @[ -f ./opcodes/Makefile ] || exit 0; \
5150 r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 for flag in $(EXTRA_HOST_FLAGS) ; do \
5154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 done; \
5156 echo "Doing clean in opcodes" ; \
5157 (cd $(HOST_SUBDIR)/opcodes && \
5158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5160 "RANLIB=$${RANLIB}" \
5161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5162 clean) \
5163 || exit 1
5165 @endif opcodes
5167 .PHONY: maybe-distclean-opcodes distclean-opcodes
5168 maybe-distclean-opcodes:
5169 @if opcodes
5170 maybe-distclean-opcodes: distclean-opcodes
5172 distclean-opcodes:
5173 @[ -f ./opcodes/Makefile ] || exit 0; \
5174 r=`${PWD_COMMAND}`; export r; \
5175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5176 $(HOST_EXPORTS) \
5177 for flag in $(EXTRA_HOST_FLAGS) ; do \
5178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5179 done; \
5180 echo "Doing distclean in opcodes" ; \
5181 (cd $(HOST_SUBDIR)/opcodes && \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5184 "RANLIB=$${RANLIB}" \
5185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5186 distclean) \
5187 || exit 1
5189 @endif opcodes
5191 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5192 maybe-maintainer-clean-opcodes:
5193 @if opcodes
5194 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5196 maintainer-clean-opcodes:
5197 @[ -f ./opcodes/Makefile ] || exit 0; \
5198 r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing maintainer-clean in opcodes" ; \
5205 (cd $(HOST_SUBDIR)/opcodes && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5210 maintainer-clean) \
5211 || exit 1
5213 @endif opcodes
5217 .PHONY: configure-binutils maybe-configure-binutils
5218 maybe-configure-binutils:
5219 @if binutils
5220 maybe-configure-binutils: configure-binutils
5221 configure-binutils:
5222 @test -f stage_last && exit 0; \
5223 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5225 r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227 $(HOST_EXPORTS) \
5228 echo Configuring in $(HOST_SUBDIR)/binutils; \
5229 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5230 case $(srcdir) in \
5231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5232 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5234 esac; \
5235 srcdiroption="--srcdir=$${topdir}/binutils"; \
5236 libsrcdir="$$s/binutils"; \
5237 $(SHELL) $${libsrcdir}/configure \
5238 $(HOST_CONFIGARGS) $${srcdiroption} \
5239 || exit 1
5240 @endif binutils
5244 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5245 maybe-configure-stage1-binutils:
5246 @if binutils-bootstrap
5247 maybe-configure-stage1-binutils: configure-stage1-binutils
5248 configure-stage1-binutils:
5249 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5250 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5251 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5252 $(HOST_EXPORTS) \
5253 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5255 cd $(HOST_SUBDIR)/binutils || exit 1; \
5256 case $(srcdir) in \
5257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5258 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5260 esac; \
5261 srcdiroption="--srcdir=$${topdir}/binutils"; \
5262 libsrcdir="$$s/binutils"; \
5263 $(SHELL) $${libsrcdir}/configure \
5264 $(HOST_CONFIGARGS) $${srcdiroption} \
5265 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5266 @endif binutils-bootstrap
5268 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5269 maybe-configure-stage2-binutils:
5270 @if binutils-bootstrap
5271 maybe-configure-stage2-binutils: configure-stage2-binutils
5272 configure-stage2-binutils:
5273 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5275 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5276 $(HOST_EXPORTS) \
5277 $(POSTSTAGE1_HOST_EXPORTS) \
5278 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5280 cd $(HOST_SUBDIR)/binutils || exit 1; \
5281 case $(srcdir) in \
5282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5283 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5285 esac; \
5286 srcdiroption="--srcdir=$${topdir}/binutils"; \
5287 libsrcdir="$$s/binutils"; \
5288 $(SHELL) $${libsrcdir}/configure \
5289 $(HOST_CONFIGARGS) $${srcdiroption} \
5290 @stage2_werror_flag@
5291 @endif binutils-bootstrap
5293 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5294 maybe-configure-stage3-binutils:
5295 @if binutils-bootstrap
5296 maybe-configure-stage3-binutils: configure-stage3-binutils
5297 configure-stage3-binutils:
5298 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5300 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5301 $(HOST_EXPORTS) \
5302 $(POSTSTAGE1_HOST_EXPORTS) \
5303 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5305 cd $(HOST_SUBDIR)/binutils || exit 1; \
5306 case $(srcdir) in \
5307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5308 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5310 esac; \
5311 srcdiroption="--srcdir=$${topdir}/binutils"; \
5312 libsrcdir="$$s/binutils"; \
5313 $(SHELL) $${libsrcdir}/configure \
5314 $(HOST_CONFIGARGS) $${srcdiroption} \
5315 @stage2_werror_flag@
5316 @endif binutils-bootstrap
5318 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5319 maybe-configure-stage4-binutils:
5320 @if binutils-bootstrap
5321 maybe-configure-stage4-binutils: configure-stage4-binutils
5322 configure-stage4-binutils:
5323 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5325 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5326 $(HOST_EXPORTS) \
5327 $(POSTSTAGE1_HOST_EXPORTS) \
5328 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5330 cd $(HOST_SUBDIR)/binutils || exit 1; \
5331 case $(srcdir) in \
5332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5333 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5335 esac; \
5336 srcdiroption="--srcdir=$${topdir}/binutils"; \
5337 libsrcdir="$$s/binutils"; \
5338 $(SHELL) $${libsrcdir}/configure \
5339 $(HOST_CONFIGARGS) $${srcdiroption} \
5340 @stage2_werror_flag@
5341 @endif binutils-bootstrap
5343 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5344 maybe-configure-stageprofile-binutils:
5345 @if binutils-bootstrap
5346 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5347 configure-stageprofile-binutils:
5348 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5350 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5351 $(HOST_EXPORTS) \
5352 $(POSTSTAGE1_HOST_EXPORTS) \
5353 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5355 cd $(HOST_SUBDIR)/binutils || exit 1; \
5356 case $(srcdir) in \
5357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5358 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5360 esac; \
5361 srcdiroption="--srcdir=$${topdir}/binutils"; \
5362 libsrcdir="$$s/binutils"; \
5363 $(SHELL) $${libsrcdir}/configure \
5364 $(HOST_CONFIGARGS) $${srcdiroption} \
5365 @stage2_werror_flag@
5366 @endif binutils-bootstrap
5368 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5369 maybe-configure-stagefeedback-binutils:
5370 @if binutils-bootstrap
5371 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5372 configure-stagefeedback-binutils:
5373 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5375 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5376 $(HOST_EXPORTS) \
5377 $(POSTSTAGE1_HOST_EXPORTS) \
5378 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5380 cd $(HOST_SUBDIR)/binutils || exit 1; \
5381 case $(srcdir) in \
5382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5383 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5385 esac; \
5386 srcdiroption="--srcdir=$${topdir}/binutils"; \
5387 libsrcdir="$$s/binutils"; \
5388 $(SHELL) $${libsrcdir}/configure \
5389 $(HOST_CONFIGARGS) $${srcdiroption} \
5390 @stage2_werror_flag@
5391 @endif binutils-bootstrap
5397 .PHONY: all-binutils maybe-all-binutils
5398 maybe-all-binutils:
5399 @if binutils
5400 TARGET-binutils=all
5401 maybe-all-binutils: all-binutils
5402 all-binutils: configure-binutils
5403 @test -f stage_last && exit 0; \
5404 r=`${PWD_COMMAND}`; export r; \
5405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5406 $(HOST_EXPORTS) \
5407 (cd $(HOST_SUBDIR)/binutils && \
5408 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5409 @endif binutils
5413 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5414 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5415 maybe-all-stage1-binutils:
5416 maybe-clean-stage1-binutils:
5417 @if binutils-bootstrap
5418 maybe-all-stage1-binutils: all-stage1-binutils
5419 all-stage1: all-stage1-binutils
5420 TARGET-stage1-binutils = $(TARGET-binutils)
5421 all-stage1-binutils: configure-stage1-binutils
5422 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5423 @r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5425 $(HOST_EXPORTS) \
5426 cd $(HOST_SUBDIR)/binutils && \
5427 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5428 $(TARGET-stage1-binutils)
5430 maybe-clean-stage1-binutils: clean-stage1-binutils
5431 clean-stage1: clean-stage1-binutils
5432 clean-stage1-binutils:
5433 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5434 || exit 0 ; \
5435 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5436 cd $(HOST_SUBDIR)/binutils && \
5437 $(MAKE) $(FLAGS_TO_PASS) \
5438 CFLAGS="$(STAGE1_CFLAGS)" clean
5439 @endif binutils-bootstrap
5442 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5443 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5444 maybe-all-stage2-binutils:
5445 maybe-clean-stage2-binutils:
5446 @if binutils-bootstrap
5447 maybe-all-stage2-binutils: all-stage2-binutils
5448 all-stage2: all-stage2-binutils
5449 TARGET-stage2-binutils = $(TARGET-binutils)
5450 all-stage2-binutils: configure-stage2-binutils
5451 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5452 @r=`${PWD_COMMAND}`; export r; \
5453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5454 $(HOST_EXPORTS) \
5455 $(POSTSTAGE1_HOST_EXPORTS) \
5456 cd $(HOST_SUBDIR)/binutils && \
5457 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5458 $(TARGET-stage2-binutils)
5460 maybe-clean-stage2-binutils: clean-stage2-binutils
5461 clean-stage2: clean-stage2-binutils
5462 clean-stage2-binutils:
5463 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5464 || exit 0 ; \
5465 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5466 cd $(HOST_SUBDIR)/binutils && \
5467 $(MAKE) $(FLAGS_TO_PASS) \
5468 $(POSTSTAGE1_FLAGS_TO_PASS) \
5469 clean
5470 @endif binutils-bootstrap
5473 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5474 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5475 maybe-all-stage3-binutils:
5476 maybe-clean-stage3-binutils:
5477 @if binutils-bootstrap
5478 maybe-all-stage3-binutils: all-stage3-binutils
5479 all-stage3: all-stage3-binutils
5480 TARGET-stage3-binutils = $(TARGET-binutils)
5481 all-stage3-binutils: configure-stage3-binutils
5482 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5483 @r=`${PWD_COMMAND}`; export r; \
5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5485 $(HOST_EXPORTS) \
5486 $(POSTSTAGE1_HOST_EXPORTS) \
5487 cd $(HOST_SUBDIR)/binutils && \
5488 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5489 $(TARGET-stage3-binutils)
5491 maybe-clean-stage3-binutils: clean-stage3-binutils
5492 clean-stage3: clean-stage3-binutils
5493 clean-stage3-binutils:
5494 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5495 || exit 0 ; \
5496 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5497 cd $(HOST_SUBDIR)/binutils && \
5498 $(MAKE) $(FLAGS_TO_PASS) \
5499 $(POSTSTAGE1_FLAGS_TO_PASS) \
5500 clean
5501 @endif binutils-bootstrap
5504 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5505 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5506 maybe-all-stage4-binutils:
5507 maybe-clean-stage4-binutils:
5508 @if binutils-bootstrap
5509 maybe-all-stage4-binutils: all-stage4-binutils
5510 all-stage4: all-stage4-binutils
5511 TARGET-stage4-binutils = $(TARGET-binutils)
5512 all-stage4-binutils: configure-stage4-binutils
5513 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5514 @r=`${PWD_COMMAND}`; export r; \
5515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5516 $(HOST_EXPORTS) \
5517 $(POSTSTAGE1_HOST_EXPORTS) \
5518 cd $(HOST_SUBDIR)/binutils && \
5519 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5520 $(TARGET-stage4-binutils)
5522 maybe-clean-stage4-binutils: clean-stage4-binutils
5523 clean-stage4: clean-stage4-binutils
5524 clean-stage4-binutils:
5525 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5526 || exit 0 ; \
5527 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5528 cd $(HOST_SUBDIR)/binutils && \
5529 $(MAKE) $(FLAGS_TO_PASS) \
5530 $(POSTSTAGE1_FLAGS_TO_PASS) \
5531 clean
5532 @endif binutils-bootstrap
5535 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5536 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5537 maybe-all-stageprofile-binutils:
5538 maybe-clean-stageprofile-binutils:
5539 @if binutils-bootstrap
5540 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5541 all-stageprofile: all-stageprofile-binutils
5542 TARGET-stageprofile-binutils = $(TARGET-binutils)
5543 all-stageprofile-binutils: configure-stageprofile-binutils
5544 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5545 @r=`${PWD_COMMAND}`; export r; \
5546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5547 $(HOST_EXPORTS) \
5548 $(POSTSTAGE1_HOST_EXPORTS) \
5549 cd $(HOST_SUBDIR)/binutils && \
5550 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5551 $(TARGET-stageprofile-binutils)
5553 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5554 clean-stageprofile: clean-stageprofile-binutils
5555 clean-stageprofile-binutils:
5556 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5557 || exit 0 ; \
5558 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5559 cd $(HOST_SUBDIR)/binutils && \
5560 $(MAKE) $(FLAGS_TO_PASS) \
5561 $(POSTSTAGE1_FLAGS_TO_PASS) \
5562 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5563 @endif binutils-bootstrap
5566 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5567 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5568 maybe-all-stagefeedback-binutils:
5569 maybe-clean-stagefeedback-binutils:
5570 @if binutils-bootstrap
5571 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5572 all-stagefeedback: all-stagefeedback-binutils
5573 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5574 all-stagefeedback-binutils: configure-stagefeedback-binutils
5575 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5576 @r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5578 $(HOST_EXPORTS) \
5579 $(POSTSTAGE1_HOST_EXPORTS) \
5580 cd $(HOST_SUBDIR)/binutils && \
5581 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5582 $(TARGET-stagefeedback-binutils)
5584 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5585 clean-stagefeedback: clean-stagefeedback-binutils
5586 clean-stagefeedback-binutils:
5587 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5588 || exit 0 ; \
5589 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5590 cd $(HOST_SUBDIR)/binutils && \
5591 $(MAKE) $(FLAGS_TO_PASS) \
5592 $(POSTSTAGE1_FLAGS_TO_PASS) \
5593 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5594 @endif binutils-bootstrap
5600 .PHONY: check-binutils maybe-check-binutils
5601 maybe-check-binutils:
5602 @if binutils
5603 maybe-check-binutils: check-binutils
5605 check-binutils:
5606 @: $(MAKE); $(unstage)
5607 @r=`${PWD_COMMAND}`; export r; \
5608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5609 $(HOST_EXPORTS) \
5610 (cd $(HOST_SUBDIR)/binutils && \
5611 $(MAKE) $(FLAGS_TO_PASS) check)
5613 @endif binutils
5615 .PHONY: install-binutils maybe-install-binutils
5616 maybe-install-binutils:
5617 @if binutils
5618 maybe-install-binutils: install-binutils
5620 install-binutils: installdirs
5621 @: $(MAKE); $(unstage)
5622 @r=`${PWD_COMMAND}`; export r; \
5623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 $(HOST_EXPORTS) \
5625 (cd $(HOST_SUBDIR)/binutils && \
5626 $(MAKE) $(FLAGS_TO_PASS) install)
5628 @endif binutils
5630 # Other targets (info, dvi, etc.)
5632 .PHONY: maybe-info-binutils info-binutils
5633 maybe-info-binutils:
5634 @if binutils
5635 maybe-info-binutils: info-binutils
5637 info-binutils: \
5638 configure-binutils
5639 @[ -f ./binutils/Makefile ] || exit 0; \
5640 r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 $(HOST_EXPORTS) \
5643 for flag in $(EXTRA_HOST_FLAGS) ; do \
5644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5645 done; \
5646 echo "Doing info in binutils" ; \
5647 (cd $(HOST_SUBDIR)/binutils && \
5648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5650 "RANLIB=$${RANLIB}" \
5651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5652 info) \
5653 || exit 1
5655 @endif binutils
5657 .PHONY: maybe-dvi-binutils dvi-binutils
5658 maybe-dvi-binutils:
5659 @if binutils
5660 maybe-dvi-binutils: dvi-binutils
5662 dvi-binutils: \
5663 configure-binutils
5664 @[ -f ./binutils/Makefile ] || exit 0; \
5665 r=`${PWD_COMMAND}`; export r; \
5666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5667 $(HOST_EXPORTS) \
5668 for flag in $(EXTRA_HOST_FLAGS) ; do \
5669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5670 done; \
5671 echo "Doing dvi in binutils" ; \
5672 (cd $(HOST_SUBDIR)/binutils && \
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 dvi) \
5678 || exit 1
5680 @endif binutils
5682 .PHONY: maybe-html-binutils html-binutils
5683 maybe-html-binutils:
5684 @if binutils
5685 maybe-html-binutils: html-binutils
5687 html-binutils: \
5688 configure-binutils
5689 @[ -f ./binutils/Makefile ] || exit 0; \
5690 r=`${PWD_COMMAND}`; export r; \
5691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 $(HOST_EXPORTS) \
5693 for flag in $(EXTRA_HOST_FLAGS) ; do \
5694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5695 done; \
5696 echo "Doing html in binutils" ; \
5697 (cd $(HOST_SUBDIR)/binutils && \
5698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5700 "RANLIB=$${RANLIB}" \
5701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5702 html) \
5703 || exit 1
5705 @endif binutils
5707 .PHONY: maybe-TAGS-binutils TAGS-binutils
5708 maybe-TAGS-binutils:
5709 @if binutils
5710 maybe-TAGS-binutils: TAGS-binutils
5712 TAGS-binutils: \
5713 configure-binutils
5714 @[ -f ./binutils/Makefile ] || exit 0; \
5715 r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 $(HOST_EXPORTS) \
5718 for flag in $(EXTRA_HOST_FLAGS) ; do \
5719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5720 done; \
5721 echo "Doing TAGS in binutils" ; \
5722 (cd $(HOST_SUBDIR)/binutils && \
5723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5725 "RANLIB=$${RANLIB}" \
5726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5727 TAGS) \
5728 || exit 1
5730 @endif binutils
5732 .PHONY: maybe-install-info-binutils install-info-binutils
5733 maybe-install-info-binutils:
5734 @if binutils
5735 maybe-install-info-binutils: install-info-binutils
5737 install-info-binutils: \
5738 configure-binutils \
5739 info-binutils
5740 @[ -f ./binutils/Makefile ] || exit 0; \
5741 r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 for flag in $(EXTRA_HOST_FLAGS) ; do \
5745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746 done; \
5747 echo "Doing install-info in binutils" ; \
5748 (cd $(HOST_SUBDIR)/binutils && \
5749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751 "RANLIB=$${RANLIB}" \
5752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5753 install-info) \
5754 || exit 1
5756 @endif binutils
5758 .PHONY: maybe-installcheck-binutils installcheck-binutils
5759 maybe-installcheck-binutils:
5760 @if binutils
5761 maybe-installcheck-binutils: installcheck-binutils
5763 installcheck-binutils: \
5764 configure-binutils
5765 @[ -f ./binutils/Makefile ] || exit 0; \
5766 r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 $(HOST_EXPORTS) \
5769 for flag in $(EXTRA_HOST_FLAGS) ; do \
5770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5771 done; \
5772 echo "Doing installcheck in binutils" ; \
5773 (cd $(HOST_SUBDIR)/binutils && \
5774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5776 "RANLIB=$${RANLIB}" \
5777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5778 installcheck) \
5779 || exit 1
5781 @endif binutils
5783 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5784 maybe-mostlyclean-binutils:
5785 @if binutils
5786 maybe-mostlyclean-binutils: mostlyclean-binutils
5788 mostlyclean-binutils:
5789 @[ -f ./binutils/Makefile ] || exit 0; \
5790 r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792 $(HOST_EXPORTS) \
5793 for flag in $(EXTRA_HOST_FLAGS) ; do \
5794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5795 done; \
5796 echo "Doing mostlyclean in binutils" ; \
5797 (cd $(HOST_SUBDIR)/binutils && \
5798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5800 "RANLIB=$${RANLIB}" \
5801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5802 mostlyclean) \
5803 || exit 1
5805 @endif binutils
5807 .PHONY: maybe-clean-binutils clean-binutils
5808 maybe-clean-binutils:
5809 @if binutils
5810 maybe-clean-binutils: clean-binutils
5812 clean-binutils:
5813 @[ -f ./binutils/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 $(HOST_EXPORTS) \
5817 for flag in $(EXTRA_HOST_FLAGS) ; do \
5818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5819 done; \
5820 echo "Doing clean in binutils" ; \
5821 (cd $(HOST_SUBDIR)/binutils && \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5824 "RANLIB=$${RANLIB}" \
5825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5826 clean) \
5827 || exit 1
5829 @endif binutils
5831 .PHONY: maybe-distclean-binutils distclean-binutils
5832 maybe-distclean-binutils:
5833 @if binutils
5834 maybe-distclean-binutils: distclean-binutils
5836 distclean-binutils:
5837 @[ -f ./binutils/Makefile ] || exit 0; \
5838 r=`${PWD_COMMAND}`; export r; \
5839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5840 $(HOST_EXPORTS) \
5841 for flag in $(EXTRA_HOST_FLAGS) ; do \
5842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5843 done; \
5844 echo "Doing distclean in binutils" ; \
5845 (cd $(HOST_SUBDIR)/binutils && \
5846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5848 "RANLIB=$${RANLIB}" \
5849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5850 distclean) \
5851 || exit 1
5853 @endif binutils
5855 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5856 maybe-maintainer-clean-binutils:
5857 @if binutils
5858 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5860 maintainer-clean-binutils:
5861 @[ -f ./binutils/Makefile ] || exit 0; \
5862 r=`${PWD_COMMAND}`; export r; \
5863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5864 $(HOST_EXPORTS) \
5865 for flag in $(EXTRA_HOST_FLAGS) ; do \
5866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5867 done; \
5868 echo "Doing maintainer-clean in binutils" ; \
5869 (cd $(HOST_SUBDIR)/binutils && \
5870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5872 "RANLIB=$${RANLIB}" \
5873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5874 maintainer-clean) \
5875 || exit 1
5877 @endif binutils
5881 .PHONY: configure-bison maybe-configure-bison
5882 maybe-configure-bison:
5883 @if bison
5884 maybe-configure-bison: configure-bison
5885 configure-bison:
5886 @: $(MAKE); $(unstage)
5887 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5889 r=`${PWD_COMMAND}`; export r; \
5890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5891 $(HOST_EXPORTS) \
5892 echo Configuring in $(HOST_SUBDIR)/bison; \
5893 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5894 case $(srcdir) in \
5895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5896 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5898 esac; \
5899 srcdiroption="--srcdir=$${topdir}/bison"; \
5900 libsrcdir="$$s/bison"; \
5901 $(SHELL) $${libsrcdir}/configure \
5902 $(HOST_CONFIGARGS) $${srcdiroption} \
5903 || exit 1
5904 @endif bison
5910 .PHONY: all-bison maybe-all-bison
5911 maybe-all-bison:
5912 @if bison
5913 TARGET-bison=all
5914 maybe-all-bison: all-bison
5915 all-bison: configure-bison
5916 @: $(MAKE); $(unstage)
5917 @r=`${PWD_COMMAND}`; export r; \
5918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5919 $(HOST_EXPORTS) \
5920 (cd $(HOST_SUBDIR)/bison && \
5921 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5922 @endif bison
5927 .PHONY: check-bison maybe-check-bison
5928 maybe-check-bison:
5929 @if bison
5930 maybe-check-bison: check-bison
5932 # This module is only tested in a native toolchain.
5933 check-bison:
5934 @: $(MAKE); $(unstage)
5935 @if [ '$(host)' = '$(target)' ] ; then \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 (cd $(HOST_SUBDIR)/bison && \
5940 $(MAKE) $(FLAGS_TO_PASS) check); \
5943 @endif bison
5945 .PHONY: install-bison maybe-install-bison
5946 maybe-install-bison:
5947 @if bison
5948 maybe-install-bison: install-bison
5950 install-bison: installdirs
5951 @: $(MAKE); $(unstage)
5952 @r=`${PWD_COMMAND}`; export r; \
5953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5954 $(HOST_EXPORTS) \
5955 (cd $(HOST_SUBDIR)/bison && \
5956 $(MAKE) $(FLAGS_TO_PASS) install)
5958 @endif bison
5960 # Other targets (info, dvi, etc.)
5962 .PHONY: maybe-info-bison info-bison
5963 maybe-info-bison:
5964 @if bison
5965 maybe-info-bison: info-bison
5967 info-bison: \
5968 configure-bison
5969 @: $(MAKE); $(unstage)
5970 @[ -f ./bison/Makefile ] || exit 0; \
5971 r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 $(HOST_EXPORTS) \
5974 for flag in $(EXTRA_HOST_FLAGS) ; do \
5975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5976 done; \
5977 echo "Doing info in bison" ; \
5978 (cd $(HOST_SUBDIR)/bison && \
5979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5981 "RANLIB=$${RANLIB}" \
5982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5983 info) \
5984 || exit 1
5986 @endif bison
5988 .PHONY: maybe-dvi-bison dvi-bison
5989 maybe-dvi-bison:
5990 @if bison
5991 maybe-dvi-bison: dvi-bison
5993 dvi-bison: \
5994 configure-bison
5995 @: $(MAKE); $(unstage)
5996 @[ -f ./bison/Makefile ] || exit 0; \
5997 r=`${PWD_COMMAND}`; export r; \
5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999 $(HOST_EXPORTS) \
6000 for flag in $(EXTRA_HOST_FLAGS) ; do \
6001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6002 done; \
6003 echo "Doing dvi in bison" ; \
6004 (cd $(HOST_SUBDIR)/bison && \
6005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6007 "RANLIB=$${RANLIB}" \
6008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6009 dvi) \
6010 || exit 1
6012 @endif bison
6014 .PHONY: maybe-html-bison html-bison
6015 maybe-html-bison:
6016 @if bison
6017 maybe-html-bison: html-bison
6019 html-bison: \
6020 configure-bison
6021 @: $(MAKE); $(unstage)
6022 @[ -f ./bison/Makefile ] || exit 0; \
6023 r=`${PWD_COMMAND}`; export r; \
6024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 $(HOST_EXPORTS) \
6026 for flag in $(EXTRA_HOST_FLAGS) ; do \
6027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 done; \
6029 echo "Doing html in bison" ; \
6030 (cd $(HOST_SUBDIR)/bison && \
6031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6033 "RANLIB=$${RANLIB}" \
6034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6035 html) \
6036 || exit 1
6038 @endif bison
6040 .PHONY: maybe-TAGS-bison TAGS-bison
6041 maybe-TAGS-bison:
6042 @if bison
6043 maybe-TAGS-bison: TAGS-bison
6045 TAGS-bison: \
6046 configure-bison
6047 @: $(MAKE); $(unstage)
6048 @[ -f ./bison/Makefile ] || exit 0; \
6049 r=`${PWD_COMMAND}`; export r; \
6050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6051 $(HOST_EXPORTS) \
6052 for flag in $(EXTRA_HOST_FLAGS) ; do \
6053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6054 done; \
6055 echo "Doing TAGS in bison" ; \
6056 (cd $(HOST_SUBDIR)/bison && \
6057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6059 "RANLIB=$${RANLIB}" \
6060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6061 TAGS) \
6062 || exit 1
6064 @endif bison
6066 .PHONY: maybe-install-info-bison install-info-bison
6067 maybe-install-info-bison:
6068 @if bison
6069 maybe-install-info-bison: install-info-bison
6071 install-info-bison: \
6072 configure-bison \
6073 info-bison
6074 @: $(MAKE); $(unstage)
6075 @[ -f ./bison/Makefile ] || exit 0; \
6076 r=`${PWD_COMMAND}`; export r; \
6077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6078 $(HOST_EXPORTS) \
6079 for flag in $(EXTRA_HOST_FLAGS) ; do \
6080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6081 done; \
6082 echo "Doing install-info in bison" ; \
6083 (cd $(HOST_SUBDIR)/bison && \
6084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6086 "RANLIB=$${RANLIB}" \
6087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6088 install-info) \
6089 || exit 1
6091 @endif bison
6093 .PHONY: maybe-installcheck-bison installcheck-bison
6094 maybe-installcheck-bison:
6095 @if bison
6096 maybe-installcheck-bison: installcheck-bison
6098 installcheck-bison: \
6099 configure-bison
6100 @: $(MAKE); $(unstage)
6101 @[ -f ./bison/Makefile ] || exit 0; \
6102 r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6104 $(HOST_EXPORTS) \
6105 for flag in $(EXTRA_HOST_FLAGS) ; do \
6106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6107 done; \
6108 echo "Doing installcheck in bison" ; \
6109 (cd $(HOST_SUBDIR)/bison && \
6110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6112 "RANLIB=$${RANLIB}" \
6113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6114 installcheck) \
6115 || exit 1
6117 @endif bison
6119 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6120 maybe-mostlyclean-bison:
6121 @if bison
6122 maybe-mostlyclean-bison: mostlyclean-bison
6124 mostlyclean-bison:
6125 @: $(MAKE); $(unstage)
6126 @[ -f ./bison/Makefile ] || exit 0; \
6127 r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 $(HOST_EXPORTS) \
6130 for flag in $(EXTRA_HOST_FLAGS) ; do \
6131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6132 done; \
6133 echo "Doing mostlyclean in bison" ; \
6134 (cd $(HOST_SUBDIR)/bison && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6137 "RANLIB=$${RANLIB}" \
6138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6139 mostlyclean) \
6140 || exit 1
6142 @endif bison
6144 .PHONY: maybe-clean-bison clean-bison
6145 maybe-clean-bison:
6146 @if bison
6147 maybe-clean-bison: clean-bison
6149 clean-bison:
6150 @: $(MAKE); $(unstage)
6151 @[ -f ./bison/Makefile ] || exit 0; \
6152 r=`${PWD_COMMAND}`; export r; \
6153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6154 $(HOST_EXPORTS) \
6155 for flag in $(EXTRA_HOST_FLAGS) ; do \
6156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6157 done; \
6158 echo "Doing clean in bison" ; \
6159 (cd $(HOST_SUBDIR)/bison && \
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 clean) \
6165 || exit 1
6167 @endif bison
6169 .PHONY: maybe-distclean-bison distclean-bison
6170 maybe-distclean-bison:
6171 @if bison
6172 maybe-distclean-bison: distclean-bison
6174 distclean-bison:
6175 @: $(MAKE); $(unstage)
6176 @[ -f ./bison/Makefile ] || exit 0; \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6179 $(HOST_EXPORTS) \
6180 for flag in $(EXTRA_HOST_FLAGS) ; do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6182 done; \
6183 echo "Doing distclean in bison" ; \
6184 (cd $(HOST_SUBDIR)/bison && \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189 distclean) \
6190 || exit 1
6192 @endif bison
6194 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6195 maybe-maintainer-clean-bison:
6196 @if bison
6197 maybe-maintainer-clean-bison: maintainer-clean-bison
6199 maintainer-clean-bison:
6200 @: $(MAKE); $(unstage)
6201 @[ -f ./bison/Makefile ] || exit 0; \
6202 r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(HOST_EXPORTS) \
6205 for flag in $(EXTRA_HOST_FLAGS) ; do \
6206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 done; \
6208 echo "Doing maintainer-clean in bison" ; \
6209 (cd $(HOST_SUBDIR)/bison && \
6210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6212 "RANLIB=$${RANLIB}" \
6213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6214 maintainer-clean) \
6215 || exit 1
6217 @endif bison
6221 .PHONY: configure-byacc maybe-configure-byacc
6222 maybe-configure-byacc:
6223 @if byacc
6224 maybe-configure-byacc: configure-byacc
6225 configure-byacc:
6226 @: $(MAKE); $(unstage)
6227 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6229 r=`${PWD_COMMAND}`; export r; \
6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6231 $(HOST_EXPORTS) \
6232 echo Configuring in $(HOST_SUBDIR)/byacc; \
6233 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6234 case $(srcdir) in \
6235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6236 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6238 esac; \
6239 srcdiroption="--srcdir=$${topdir}/byacc"; \
6240 libsrcdir="$$s/byacc"; \
6241 $(SHELL) $${libsrcdir}/configure \
6242 $(HOST_CONFIGARGS) $${srcdiroption} \
6243 || exit 1
6244 @endif byacc
6250 .PHONY: all-byacc maybe-all-byacc
6251 maybe-all-byacc:
6252 @if byacc
6253 TARGET-byacc=all
6254 maybe-all-byacc: all-byacc
6255 all-byacc: configure-byacc
6256 @: $(MAKE); $(unstage)
6257 @r=`${PWD_COMMAND}`; export r; \
6258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6259 $(HOST_EXPORTS) \
6260 (cd $(HOST_SUBDIR)/byacc && \
6261 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6262 @endif byacc
6267 .PHONY: check-byacc maybe-check-byacc
6268 maybe-check-byacc:
6269 @if byacc
6270 maybe-check-byacc: check-byacc
6272 # This module is only tested in a native toolchain.
6273 check-byacc:
6274 @: $(MAKE); $(unstage)
6275 @if [ '$(host)' = '$(target)' ] ; then \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 (cd $(HOST_SUBDIR)/byacc && \
6280 $(MAKE) $(FLAGS_TO_PASS) check); \
6283 @endif byacc
6285 .PHONY: install-byacc maybe-install-byacc
6286 maybe-install-byacc:
6287 @if byacc
6288 maybe-install-byacc: install-byacc
6290 install-byacc: installdirs
6291 @: $(MAKE); $(unstage)
6292 @r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(HOST_EXPORTS) \
6295 (cd $(HOST_SUBDIR)/byacc && \
6296 $(MAKE) $(FLAGS_TO_PASS) install)
6298 @endif byacc
6300 # Other targets (info, dvi, etc.)
6302 .PHONY: maybe-info-byacc info-byacc
6303 maybe-info-byacc:
6304 @if byacc
6305 maybe-info-byacc: info-byacc
6307 info-byacc: \
6308 configure-byacc
6309 @: $(MAKE); $(unstage)
6310 @[ -f ./byacc/Makefile ] || exit 0; \
6311 r=`${PWD_COMMAND}`; export r; \
6312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6313 $(HOST_EXPORTS) \
6314 for flag in $(EXTRA_HOST_FLAGS) ; do \
6315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6316 done; \
6317 echo "Doing info in byacc" ; \
6318 (cd $(HOST_SUBDIR)/byacc && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 info) \
6324 || exit 1
6326 @endif byacc
6328 .PHONY: maybe-dvi-byacc dvi-byacc
6329 maybe-dvi-byacc:
6330 @if byacc
6331 maybe-dvi-byacc: dvi-byacc
6333 dvi-byacc: \
6334 configure-byacc
6335 @: $(MAKE); $(unstage)
6336 @[ -f ./byacc/Makefile ] || exit 0; \
6337 r=`${PWD_COMMAND}`; export r; \
6338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6339 $(HOST_EXPORTS) \
6340 for flag in $(EXTRA_HOST_FLAGS) ; do \
6341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6342 done; \
6343 echo "Doing dvi in byacc" ; \
6344 (cd $(HOST_SUBDIR)/byacc && \
6345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6347 "RANLIB=$${RANLIB}" \
6348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6349 dvi) \
6350 || exit 1
6352 @endif byacc
6354 .PHONY: maybe-html-byacc html-byacc
6355 maybe-html-byacc:
6356 @if byacc
6357 maybe-html-byacc: html-byacc
6359 html-byacc: \
6360 configure-byacc
6361 @: $(MAKE); $(unstage)
6362 @[ -f ./byacc/Makefile ] || exit 0; \
6363 r=`${PWD_COMMAND}`; export r; \
6364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6365 $(HOST_EXPORTS) \
6366 for flag in $(EXTRA_HOST_FLAGS) ; do \
6367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6368 done; \
6369 echo "Doing html in byacc" ; \
6370 (cd $(HOST_SUBDIR)/byacc && \
6371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6373 "RANLIB=$${RANLIB}" \
6374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6375 html) \
6376 || exit 1
6378 @endif byacc
6380 .PHONY: maybe-TAGS-byacc TAGS-byacc
6381 maybe-TAGS-byacc:
6382 @if byacc
6383 maybe-TAGS-byacc: TAGS-byacc
6385 TAGS-byacc: \
6386 configure-byacc
6387 @: $(MAKE); $(unstage)
6388 @[ -f ./byacc/Makefile ] || exit 0; \
6389 r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 $(HOST_EXPORTS) \
6392 for flag in $(EXTRA_HOST_FLAGS) ; do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6394 done; \
6395 echo "Doing TAGS in byacc" ; \
6396 (cd $(HOST_SUBDIR)/byacc && \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6401 TAGS) \
6402 || exit 1
6404 @endif byacc
6406 .PHONY: maybe-install-info-byacc install-info-byacc
6407 maybe-install-info-byacc:
6408 @if byacc
6409 maybe-install-info-byacc: install-info-byacc
6411 install-info-byacc: \
6412 configure-byacc \
6413 info-byacc
6414 @: $(MAKE); $(unstage)
6415 @[ -f ./byacc/Makefile ] || exit 0; \
6416 r=`${PWD_COMMAND}`; export r; \
6417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6418 $(HOST_EXPORTS) \
6419 for flag in $(EXTRA_HOST_FLAGS) ; do \
6420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6421 done; \
6422 echo "Doing install-info in byacc" ; \
6423 (cd $(HOST_SUBDIR)/byacc && \
6424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6426 "RANLIB=$${RANLIB}" \
6427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6428 install-info) \
6429 || exit 1
6431 @endif byacc
6433 .PHONY: maybe-installcheck-byacc installcheck-byacc
6434 maybe-installcheck-byacc:
6435 @if byacc
6436 maybe-installcheck-byacc: installcheck-byacc
6438 installcheck-byacc: \
6439 configure-byacc
6440 @: $(MAKE); $(unstage)
6441 @[ -f ./byacc/Makefile ] || exit 0; \
6442 r=`${PWD_COMMAND}`; export r; \
6443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6444 $(HOST_EXPORTS) \
6445 for flag in $(EXTRA_HOST_FLAGS) ; do \
6446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6447 done; \
6448 echo "Doing installcheck in byacc" ; \
6449 (cd $(HOST_SUBDIR)/byacc && \
6450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6452 "RANLIB=$${RANLIB}" \
6453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6454 installcheck) \
6455 || exit 1
6457 @endif byacc
6459 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6460 maybe-mostlyclean-byacc:
6461 @if byacc
6462 maybe-mostlyclean-byacc: mostlyclean-byacc
6464 mostlyclean-byacc:
6465 @: $(MAKE); $(unstage)
6466 @[ -f ./byacc/Makefile ] || exit 0; \
6467 r=`${PWD_COMMAND}`; export r; \
6468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6469 $(HOST_EXPORTS) \
6470 for flag in $(EXTRA_HOST_FLAGS) ; do \
6471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6472 done; \
6473 echo "Doing mostlyclean in byacc" ; \
6474 (cd $(HOST_SUBDIR)/byacc && \
6475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6477 "RANLIB=$${RANLIB}" \
6478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6479 mostlyclean) \
6480 || exit 1
6482 @endif byacc
6484 .PHONY: maybe-clean-byacc clean-byacc
6485 maybe-clean-byacc:
6486 @if byacc
6487 maybe-clean-byacc: clean-byacc
6489 clean-byacc:
6490 @: $(MAKE); $(unstage)
6491 @[ -f ./byacc/Makefile ] || exit 0; \
6492 r=`${PWD_COMMAND}`; export r; \
6493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6494 $(HOST_EXPORTS) \
6495 for flag in $(EXTRA_HOST_FLAGS) ; do \
6496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6497 done; \
6498 echo "Doing clean in byacc" ; \
6499 (cd $(HOST_SUBDIR)/byacc && \
6500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6502 "RANLIB=$${RANLIB}" \
6503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6504 clean) \
6505 || exit 1
6507 @endif byacc
6509 .PHONY: maybe-distclean-byacc distclean-byacc
6510 maybe-distclean-byacc:
6511 @if byacc
6512 maybe-distclean-byacc: distclean-byacc
6514 distclean-byacc:
6515 @: $(MAKE); $(unstage)
6516 @[ -f ./byacc/Makefile ] || exit 0; \
6517 r=`${PWD_COMMAND}`; export r; \
6518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 $(HOST_EXPORTS) \
6520 for flag in $(EXTRA_HOST_FLAGS) ; do \
6521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6522 done; \
6523 echo "Doing distclean in byacc" ; \
6524 (cd $(HOST_SUBDIR)/byacc && \
6525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6527 "RANLIB=$${RANLIB}" \
6528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6529 distclean) \
6530 || exit 1
6532 @endif byacc
6534 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6535 maybe-maintainer-clean-byacc:
6536 @if byacc
6537 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6539 maintainer-clean-byacc:
6540 @: $(MAKE); $(unstage)
6541 @[ -f ./byacc/Makefile ] || exit 0; \
6542 r=`${PWD_COMMAND}`; export r; \
6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 $(HOST_EXPORTS) \
6545 for flag in $(EXTRA_HOST_FLAGS) ; do \
6546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6547 done; \
6548 echo "Doing maintainer-clean in byacc" ; \
6549 (cd $(HOST_SUBDIR)/byacc && \
6550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6552 "RANLIB=$${RANLIB}" \
6553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6554 maintainer-clean) \
6555 || exit 1
6557 @endif byacc
6561 .PHONY: configure-bzip2 maybe-configure-bzip2
6562 maybe-configure-bzip2:
6563 @if bzip2
6564 maybe-configure-bzip2: configure-bzip2
6565 configure-bzip2:
6566 @: $(MAKE); $(unstage)
6567 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6569 r=`${PWD_COMMAND}`; export r; \
6570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6571 $(HOST_EXPORTS) \
6572 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6573 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6574 case $(srcdir) in \
6575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6576 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6578 esac; \
6579 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6580 libsrcdir="$$s/bzip2"; \
6581 $(SHELL) $${libsrcdir}/configure \
6582 $(HOST_CONFIGARGS) $${srcdiroption} \
6583 || exit 1
6584 @endif bzip2
6590 .PHONY: all-bzip2 maybe-all-bzip2
6591 maybe-all-bzip2:
6592 @if bzip2
6593 TARGET-bzip2=all
6594 maybe-all-bzip2: all-bzip2
6595 all-bzip2: configure-bzip2
6596 @: $(MAKE); $(unstage)
6597 @r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 (cd $(HOST_SUBDIR)/bzip2 && \
6601 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6602 @endif bzip2
6607 .PHONY: check-bzip2 maybe-check-bzip2
6608 maybe-check-bzip2:
6609 @if bzip2
6610 maybe-check-bzip2: check-bzip2
6612 check-bzip2:
6613 @: $(MAKE); $(unstage)
6614 @r=`${PWD_COMMAND}`; export r; \
6615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6616 $(HOST_EXPORTS) \
6617 (cd $(HOST_SUBDIR)/bzip2 && \
6618 $(MAKE) $(FLAGS_TO_PASS) check)
6620 @endif bzip2
6622 .PHONY: install-bzip2 maybe-install-bzip2
6623 maybe-install-bzip2:
6624 @if bzip2
6625 maybe-install-bzip2: install-bzip2
6627 install-bzip2: installdirs
6628 @: $(MAKE); $(unstage)
6629 @r=`${PWD_COMMAND}`; export r; \
6630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6631 $(HOST_EXPORTS) \
6632 (cd $(HOST_SUBDIR)/bzip2 && \
6633 $(MAKE) $(FLAGS_TO_PASS) install)
6635 @endif bzip2
6637 # Other targets (info, dvi, etc.)
6639 .PHONY: maybe-info-bzip2 info-bzip2
6640 maybe-info-bzip2:
6641 @if bzip2
6642 maybe-info-bzip2: info-bzip2
6644 info-bzip2: \
6645 configure-bzip2
6646 @: $(MAKE); $(unstage)
6647 @[ -f ./bzip2/Makefile ] || exit 0; \
6648 r=`${PWD_COMMAND}`; export r; \
6649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6650 $(HOST_EXPORTS) \
6651 for flag in $(EXTRA_HOST_FLAGS) ; do \
6652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6653 done; \
6654 echo "Doing info in bzip2" ; \
6655 (cd $(HOST_SUBDIR)/bzip2 && \
6656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6658 "RANLIB=$${RANLIB}" \
6659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6660 info) \
6661 || exit 1
6663 @endif bzip2
6665 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6666 maybe-dvi-bzip2:
6667 @if bzip2
6668 maybe-dvi-bzip2: dvi-bzip2
6670 dvi-bzip2: \
6671 configure-bzip2
6672 @: $(MAKE); $(unstage)
6673 @[ -f ./bzip2/Makefile ] || exit 0; \
6674 r=`${PWD_COMMAND}`; export r; \
6675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6676 $(HOST_EXPORTS) \
6677 for flag in $(EXTRA_HOST_FLAGS) ; do \
6678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6679 done; \
6680 echo "Doing dvi in bzip2" ; \
6681 (cd $(HOST_SUBDIR)/bzip2 && \
6682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6684 "RANLIB=$${RANLIB}" \
6685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6686 dvi) \
6687 || exit 1
6689 @endif bzip2
6691 .PHONY: maybe-html-bzip2 html-bzip2
6692 maybe-html-bzip2:
6693 @if bzip2
6694 maybe-html-bzip2: html-bzip2
6696 html-bzip2: \
6697 configure-bzip2
6698 @: $(MAKE); $(unstage)
6699 @[ -f ./bzip2/Makefile ] || exit 0; \
6700 r=`${PWD_COMMAND}`; export r; \
6701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 $(HOST_EXPORTS) \
6703 for flag in $(EXTRA_HOST_FLAGS) ; do \
6704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6705 done; \
6706 echo "Doing html in bzip2" ; \
6707 (cd $(HOST_SUBDIR)/bzip2 && \
6708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6710 "RANLIB=$${RANLIB}" \
6711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6712 html) \
6713 || exit 1
6715 @endif bzip2
6717 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6718 maybe-TAGS-bzip2:
6719 @if bzip2
6720 maybe-TAGS-bzip2: TAGS-bzip2
6722 TAGS-bzip2: \
6723 configure-bzip2
6724 @: $(MAKE); $(unstage)
6725 @[ -f ./bzip2/Makefile ] || exit 0; \
6726 r=`${PWD_COMMAND}`; export r; \
6727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6728 $(HOST_EXPORTS) \
6729 for flag in $(EXTRA_HOST_FLAGS) ; do \
6730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6731 done; \
6732 echo "Doing TAGS in bzip2" ; \
6733 (cd $(HOST_SUBDIR)/bzip2 && \
6734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6736 "RANLIB=$${RANLIB}" \
6737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6738 TAGS) \
6739 || exit 1
6741 @endif bzip2
6743 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6744 maybe-install-info-bzip2:
6745 @if bzip2
6746 maybe-install-info-bzip2: install-info-bzip2
6748 install-info-bzip2: \
6749 configure-bzip2 \
6750 info-bzip2
6751 @: $(MAKE); $(unstage)
6752 @[ -f ./bzip2/Makefile ] || exit 0; \
6753 r=`${PWD_COMMAND}`; export r; \
6754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 $(HOST_EXPORTS) \
6756 for flag in $(EXTRA_HOST_FLAGS) ; do \
6757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6758 done; \
6759 echo "Doing install-info in bzip2" ; \
6760 (cd $(HOST_SUBDIR)/bzip2 && \
6761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6763 "RANLIB=$${RANLIB}" \
6764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6765 install-info) \
6766 || exit 1
6768 @endif bzip2
6770 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6771 maybe-installcheck-bzip2:
6772 @if bzip2
6773 maybe-installcheck-bzip2: installcheck-bzip2
6775 installcheck-bzip2: \
6776 configure-bzip2
6777 @: $(MAKE); $(unstage)
6778 @[ -f ./bzip2/Makefile ] || exit 0; \
6779 r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(HOST_EXPORTS) \
6782 for flag in $(EXTRA_HOST_FLAGS) ; do \
6783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6784 done; \
6785 echo "Doing installcheck in bzip2" ; \
6786 (cd $(HOST_SUBDIR)/bzip2 && \
6787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6789 "RANLIB=$${RANLIB}" \
6790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6791 installcheck) \
6792 || exit 1
6794 @endif bzip2
6796 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6797 maybe-mostlyclean-bzip2:
6798 @if bzip2
6799 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6801 mostlyclean-bzip2:
6802 @: $(MAKE); $(unstage)
6803 @[ -f ./bzip2/Makefile ] || exit 0; \
6804 r=`${PWD_COMMAND}`; export r; \
6805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 $(HOST_EXPORTS) \
6807 for flag in $(EXTRA_HOST_FLAGS) ; do \
6808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6809 done; \
6810 echo "Doing mostlyclean in bzip2" ; \
6811 (cd $(HOST_SUBDIR)/bzip2 && \
6812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6814 "RANLIB=$${RANLIB}" \
6815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6816 mostlyclean) \
6817 || exit 1
6819 @endif bzip2
6821 .PHONY: maybe-clean-bzip2 clean-bzip2
6822 maybe-clean-bzip2:
6823 @if bzip2
6824 maybe-clean-bzip2: clean-bzip2
6826 clean-bzip2:
6827 @: $(MAKE); $(unstage)
6828 @[ -f ./bzip2/Makefile ] || exit 0; \
6829 r=`${PWD_COMMAND}`; export r; \
6830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6831 $(HOST_EXPORTS) \
6832 for flag in $(EXTRA_HOST_FLAGS) ; do \
6833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6834 done; \
6835 echo "Doing clean in bzip2" ; \
6836 (cd $(HOST_SUBDIR)/bzip2 && \
6837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6839 "RANLIB=$${RANLIB}" \
6840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6841 clean) \
6842 || exit 1
6844 @endif bzip2
6846 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6847 maybe-distclean-bzip2:
6848 @if bzip2
6849 maybe-distclean-bzip2: distclean-bzip2
6851 distclean-bzip2:
6852 @: $(MAKE); $(unstage)
6853 @[ -f ./bzip2/Makefile ] || exit 0; \
6854 r=`${PWD_COMMAND}`; export r; \
6855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856 $(HOST_EXPORTS) \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 done; \
6860 echo "Doing distclean in bzip2" ; \
6861 (cd $(HOST_SUBDIR)/bzip2 && \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6866 distclean) \
6867 || exit 1
6869 @endif bzip2
6871 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6872 maybe-maintainer-clean-bzip2:
6873 @if bzip2
6874 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6876 maintainer-clean-bzip2:
6877 @: $(MAKE); $(unstage)
6878 @[ -f ./bzip2/Makefile ] || exit 0; \
6879 r=`${PWD_COMMAND}`; export r; \
6880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6881 $(HOST_EXPORTS) \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 done; \
6885 echo "Doing maintainer-clean in bzip2" ; \
6886 (cd $(HOST_SUBDIR)/bzip2 && \
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 maintainer-clean) \
6892 || exit 1
6894 @endif bzip2
6898 .PHONY: configure-dejagnu maybe-configure-dejagnu
6899 maybe-configure-dejagnu:
6900 @if dejagnu
6901 maybe-configure-dejagnu: configure-dejagnu
6902 configure-dejagnu:
6903 @: $(MAKE); $(unstage)
6904 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6906 r=`${PWD_COMMAND}`; export r; \
6907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6908 $(HOST_EXPORTS) \
6909 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6910 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6911 case $(srcdir) in \
6912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6913 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6915 esac; \
6916 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6917 libsrcdir="$$s/dejagnu"; \
6918 $(SHELL) $${libsrcdir}/configure \
6919 $(HOST_CONFIGARGS) $${srcdiroption} \
6920 || exit 1
6921 @endif dejagnu
6927 .PHONY: all-dejagnu maybe-all-dejagnu
6928 maybe-all-dejagnu:
6929 @if dejagnu
6930 TARGET-dejagnu=all
6931 maybe-all-dejagnu: all-dejagnu
6932 all-dejagnu: configure-dejagnu
6933 @: $(MAKE); $(unstage)
6934 @r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(HOST_EXPORTS) \
6937 (cd $(HOST_SUBDIR)/dejagnu && \
6938 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6939 @endif dejagnu
6944 .PHONY: check-dejagnu maybe-check-dejagnu
6945 maybe-check-dejagnu:
6946 @if dejagnu
6947 maybe-check-dejagnu: check-dejagnu
6949 check-dejagnu:
6950 @: $(MAKE); $(unstage)
6951 @r=`${PWD_COMMAND}`; export r; \
6952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6953 $(HOST_EXPORTS) \
6954 (cd $(HOST_SUBDIR)/dejagnu && \
6955 $(MAKE) $(FLAGS_TO_PASS) check)
6957 @endif dejagnu
6959 .PHONY: install-dejagnu maybe-install-dejagnu
6960 maybe-install-dejagnu:
6961 @if dejagnu
6962 maybe-install-dejagnu: install-dejagnu
6964 install-dejagnu: installdirs
6965 @: $(MAKE); $(unstage)
6966 @r=`${PWD_COMMAND}`; export r; \
6967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6968 $(HOST_EXPORTS) \
6969 (cd $(HOST_SUBDIR)/dejagnu && \
6970 $(MAKE) $(FLAGS_TO_PASS) install)
6972 @endif dejagnu
6974 # Other targets (info, dvi, etc.)
6976 .PHONY: maybe-info-dejagnu info-dejagnu
6977 maybe-info-dejagnu:
6978 @if dejagnu
6979 maybe-info-dejagnu: info-dejagnu
6981 info-dejagnu: \
6982 configure-dejagnu
6983 @: $(MAKE); $(unstage)
6984 @[ -f ./dejagnu/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(HOST_EXPORTS) \
6988 for flag in $(EXTRA_HOST_FLAGS) ; do \
6989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6990 done; \
6991 echo "Doing info in dejagnu" ; \
6992 (cd $(HOST_SUBDIR)/dejagnu && \
6993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6995 "RANLIB=$${RANLIB}" \
6996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6997 info) \
6998 || exit 1
7000 @endif dejagnu
7002 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7003 maybe-dvi-dejagnu:
7004 @if dejagnu
7005 maybe-dvi-dejagnu: dvi-dejagnu
7007 dvi-dejagnu: \
7008 configure-dejagnu
7009 @: $(MAKE); $(unstage)
7010 @[ -f ./dejagnu/Makefile ] || exit 0; \
7011 r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 for flag in $(EXTRA_HOST_FLAGS) ; do \
7015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7016 done; \
7017 echo "Doing dvi in dejagnu" ; \
7018 (cd $(HOST_SUBDIR)/dejagnu && \
7019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7021 "RANLIB=$${RANLIB}" \
7022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 dvi) \
7024 || exit 1
7026 @endif dejagnu
7028 .PHONY: maybe-html-dejagnu html-dejagnu
7029 maybe-html-dejagnu:
7030 @if dejagnu
7031 maybe-html-dejagnu: html-dejagnu
7033 html-dejagnu: \
7034 configure-dejagnu
7035 @: $(MAKE); $(unstage)
7036 @[ -f ./dejagnu/Makefile ] || exit 0; \
7037 r=`${PWD_COMMAND}`; export r; \
7038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 $(HOST_EXPORTS) \
7040 for flag in $(EXTRA_HOST_FLAGS) ; do \
7041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7042 done; \
7043 echo "Doing html in dejagnu" ; \
7044 (cd $(HOST_SUBDIR)/dejagnu && \
7045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7047 "RANLIB=$${RANLIB}" \
7048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7049 html) \
7050 || exit 1
7052 @endif dejagnu
7054 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7055 maybe-TAGS-dejagnu:
7056 @if dejagnu
7057 maybe-TAGS-dejagnu: TAGS-dejagnu
7059 TAGS-dejagnu: \
7060 configure-dejagnu
7061 @: $(MAKE); $(unstage)
7062 @[ -f ./dejagnu/Makefile ] || exit 0; \
7063 r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7065 $(HOST_EXPORTS) \
7066 for flag in $(EXTRA_HOST_FLAGS) ; do \
7067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7068 done; \
7069 echo "Doing TAGS in dejagnu" ; \
7070 (cd $(HOST_SUBDIR)/dejagnu && \
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 TAGS) \
7076 || exit 1
7078 @endif dejagnu
7080 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7081 maybe-install-info-dejagnu:
7082 @if dejagnu
7083 maybe-install-info-dejagnu: install-info-dejagnu
7085 install-info-dejagnu: \
7086 configure-dejagnu \
7087 info-dejagnu
7088 @: $(MAKE); $(unstage)
7089 @[ -f ./dejagnu/Makefile ] || exit 0; \
7090 r=`${PWD_COMMAND}`; export r; \
7091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7092 $(HOST_EXPORTS) \
7093 for flag in $(EXTRA_HOST_FLAGS) ; do \
7094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7095 done; \
7096 echo "Doing install-info in dejagnu" ; \
7097 (cd $(HOST_SUBDIR)/dejagnu && \
7098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7100 "RANLIB=$${RANLIB}" \
7101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7102 install-info) \
7103 || exit 1
7105 @endif dejagnu
7107 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7108 maybe-installcheck-dejagnu:
7109 @if dejagnu
7110 maybe-installcheck-dejagnu: installcheck-dejagnu
7112 installcheck-dejagnu: \
7113 configure-dejagnu
7114 @: $(MAKE); $(unstage)
7115 @[ -f ./dejagnu/Makefile ] || exit 0; \
7116 r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 for flag in $(EXTRA_HOST_FLAGS) ; do \
7120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7121 done; \
7122 echo "Doing installcheck in dejagnu" ; \
7123 (cd $(HOST_SUBDIR)/dejagnu && \
7124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7126 "RANLIB=$${RANLIB}" \
7127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7128 installcheck) \
7129 || exit 1
7131 @endif dejagnu
7133 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7134 maybe-mostlyclean-dejagnu:
7135 @if dejagnu
7136 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7138 mostlyclean-dejagnu:
7139 @: $(MAKE); $(unstage)
7140 @[ -f ./dejagnu/Makefile ] || exit 0; \
7141 r=`${PWD_COMMAND}`; export r; \
7142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7143 $(HOST_EXPORTS) \
7144 for flag in $(EXTRA_HOST_FLAGS) ; do \
7145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7146 done; \
7147 echo "Doing mostlyclean in dejagnu" ; \
7148 (cd $(HOST_SUBDIR)/dejagnu && \
7149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7151 "RANLIB=$${RANLIB}" \
7152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7153 mostlyclean) \
7154 || exit 1
7156 @endif dejagnu
7158 .PHONY: maybe-clean-dejagnu clean-dejagnu
7159 maybe-clean-dejagnu:
7160 @if dejagnu
7161 maybe-clean-dejagnu: clean-dejagnu
7163 clean-dejagnu:
7164 @: $(MAKE); $(unstage)
7165 @[ -f ./dejagnu/Makefile ] || exit 0; \
7166 r=`${PWD_COMMAND}`; export r; \
7167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7168 $(HOST_EXPORTS) \
7169 for flag in $(EXTRA_HOST_FLAGS) ; do \
7170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7171 done; \
7172 echo "Doing clean in dejagnu" ; \
7173 (cd $(HOST_SUBDIR)/dejagnu && \
7174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7176 "RANLIB=$${RANLIB}" \
7177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7178 clean) \
7179 || exit 1
7181 @endif dejagnu
7183 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7184 maybe-distclean-dejagnu:
7185 @if dejagnu
7186 maybe-distclean-dejagnu: distclean-dejagnu
7188 distclean-dejagnu:
7189 @: $(MAKE); $(unstage)
7190 @[ -f ./dejagnu/Makefile ] || exit 0; \
7191 r=`${PWD_COMMAND}`; export r; \
7192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7193 $(HOST_EXPORTS) \
7194 for flag in $(EXTRA_HOST_FLAGS) ; do \
7195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7196 done; \
7197 echo "Doing distclean in dejagnu" ; \
7198 (cd $(HOST_SUBDIR)/dejagnu && \
7199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7201 "RANLIB=$${RANLIB}" \
7202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7203 distclean) \
7204 || exit 1
7206 @endif dejagnu
7208 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7209 maybe-maintainer-clean-dejagnu:
7210 @if dejagnu
7211 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7213 maintainer-clean-dejagnu:
7214 @: $(MAKE); $(unstage)
7215 @[ -f ./dejagnu/Makefile ] || exit 0; \
7216 r=`${PWD_COMMAND}`; export r; \
7217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7218 $(HOST_EXPORTS) \
7219 for flag in $(EXTRA_HOST_FLAGS) ; do \
7220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7221 done; \
7222 echo "Doing maintainer-clean in dejagnu" ; \
7223 (cd $(HOST_SUBDIR)/dejagnu && \
7224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7226 "RANLIB=$${RANLIB}" \
7227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7228 maintainer-clean) \
7229 || exit 1
7231 @endif dejagnu
7235 .PHONY: configure-diff maybe-configure-diff
7236 maybe-configure-diff:
7237 @if diff
7238 maybe-configure-diff: configure-diff
7239 configure-diff:
7240 @: $(MAKE); $(unstage)
7241 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7243 r=`${PWD_COMMAND}`; export r; \
7244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7245 $(HOST_EXPORTS) \
7246 echo Configuring in $(HOST_SUBDIR)/diff; \
7247 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7248 case $(srcdir) in \
7249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7250 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7252 esac; \
7253 srcdiroption="--srcdir=$${topdir}/diff"; \
7254 libsrcdir="$$s/diff"; \
7255 $(SHELL) $${libsrcdir}/configure \
7256 $(HOST_CONFIGARGS) $${srcdiroption} \
7257 || exit 1
7258 @endif diff
7264 .PHONY: all-diff maybe-all-diff
7265 maybe-all-diff:
7266 @if diff
7267 TARGET-diff=all
7268 maybe-all-diff: all-diff
7269 all-diff: configure-diff
7270 @: $(MAKE); $(unstage)
7271 @r=`${PWD_COMMAND}`; export r; \
7272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7273 $(HOST_EXPORTS) \
7274 (cd $(HOST_SUBDIR)/diff && \
7275 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7276 @endif diff
7281 .PHONY: check-diff maybe-check-diff
7282 maybe-check-diff:
7283 @if diff
7284 maybe-check-diff: check-diff
7286 check-diff:
7287 @: $(MAKE); $(unstage)
7288 @r=`${PWD_COMMAND}`; export r; \
7289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7290 $(HOST_EXPORTS) \
7291 (cd $(HOST_SUBDIR)/diff && \
7292 $(MAKE) $(FLAGS_TO_PASS) check)
7294 @endif diff
7296 .PHONY: install-diff maybe-install-diff
7297 maybe-install-diff:
7298 @if diff
7299 maybe-install-diff: install-diff
7301 install-diff: installdirs
7302 @: $(MAKE); $(unstage)
7303 @r=`${PWD_COMMAND}`; export r; \
7304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7305 $(HOST_EXPORTS) \
7306 (cd $(HOST_SUBDIR)/diff && \
7307 $(MAKE) $(FLAGS_TO_PASS) install)
7309 @endif diff
7311 # Other targets (info, dvi, etc.)
7313 .PHONY: maybe-info-diff info-diff
7314 maybe-info-diff:
7315 @if diff
7316 maybe-info-diff: info-diff
7318 info-diff: \
7319 configure-diff
7320 @: $(MAKE); $(unstage)
7321 @[ -f ./diff/Makefile ] || exit 0; \
7322 r=`${PWD_COMMAND}`; export r; \
7323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7324 $(HOST_EXPORTS) \
7325 for flag in $(EXTRA_HOST_FLAGS) ; do \
7326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7327 done; \
7328 echo "Doing info in diff" ; \
7329 (cd $(HOST_SUBDIR)/diff && \
7330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7332 "RANLIB=$${RANLIB}" \
7333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7334 info) \
7335 || exit 1
7337 @endif diff
7339 .PHONY: maybe-dvi-diff dvi-diff
7340 maybe-dvi-diff:
7341 @if diff
7342 maybe-dvi-diff: dvi-diff
7344 dvi-diff: \
7345 configure-diff
7346 @: $(MAKE); $(unstage)
7347 @[ -f ./diff/Makefile ] || exit 0; \
7348 r=`${PWD_COMMAND}`; export r; \
7349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7350 $(HOST_EXPORTS) \
7351 for flag in $(EXTRA_HOST_FLAGS) ; do \
7352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7353 done; \
7354 echo "Doing dvi in diff" ; \
7355 (cd $(HOST_SUBDIR)/diff && \
7356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7358 "RANLIB=$${RANLIB}" \
7359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7360 dvi) \
7361 || exit 1
7363 @endif diff
7365 .PHONY: maybe-html-diff html-diff
7366 maybe-html-diff:
7367 @if diff
7368 maybe-html-diff: html-diff
7370 html-diff: \
7371 configure-diff
7372 @: $(MAKE); $(unstage)
7373 @[ -f ./diff/Makefile ] || exit 0; \
7374 r=`${PWD_COMMAND}`; export r; \
7375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376 $(HOST_EXPORTS) \
7377 for flag in $(EXTRA_HOST_FLAGS) ; do \
7378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7379 done; \
7380 echo "Doing html in diff" ; \
7381 (cd $(HOST_SUBDIR)/diff && \
7382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7384 "RANLIB=$${RANLIB}" \
7385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7386 html) \
7387 || exit 1
7389 @endif diff
7391 .PHONY: maybe-TAGS-diff TAGS-diff
7392 maybe-TAGS-diff:
7393 @if diff
7394 maybe-TAGS-diff: TAGS-diff
7396 TAGS-diff: \
7397 configure-diff
7398 @: $(MAKE); $(unstage)
7399 @[ -f ./diff/Makefile ] || exit 0; \
7400 r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 $(HOST_EXPORTS) \
7403 for flag in $(EXTRA_HOST_FLAGS) ; do \
7404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7405 done; \
7406 echo "Doing TAGS in diff" ; \
7407 (cd $(HOST_SUBDIR)/diff && \
7408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7410 "RANLIB=$${RANLIB}" \
7411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7412 TAGS) \
7413 || exit 1
7415 @endif diff
7417 .PHONY: maybe-install-info-diff install-info-diff
7418 maybe-install-info-diff:
7419 @if diff
7420 maybe-install-info-diff: install-info-diff
7422 install-info-diff: \
7423 configure-diff \
7424 info-diff
7425 @: $(MAKE); $(unstage)
7426 @[ -f ./diff/Makefile ] || exit 0; \
7427 r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 $(HOST_EXPORTS) \
7430 for flag in $(EXTRA_HOST_FLAGS) ; do \
7431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7432 done; \
7433 echo "Doing install-info in diff" ; \
7434 (cd $(HOST_SUBDIR)/diff && \
7435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7437 "RANLIB=$${RANLIB}" \
7438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7439 install-info) \
7440 || exit 1
7442 @endif diff
7444 .PHONY: maybe-installcheck-diff installcheck-diff
7445 maybe-installcheck-diff:
7446 @if diff
7447 maybe-installcheck-diff: installcheck-diff
7449 installcheck-diff: \
7450 configure-diff
7451 @: $(MAKE); $(unstage)
7452 @[ -f ./diff/Makefile ] || exit 0; \
7453 r=`${PWD_COMMAND}`; export r; \
7454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 $(HOST_EXPORTS) \
7456 for flag in $(EXTRA_HOST_FLAGS) ; do \
7457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7458 done; \
7459 echo "Doing installcheck in diff" ; \
7460 (cd $(HOST_SUBDIR)/diff && \
7461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7463 "RANLIB=$${RANLIB}" \
7464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7465 installcheck) \
7466 || exit 1
7468 @endif diff
7470 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7471 maybe-mostlyclean-diff:
7472 @if diff
7473 maybe-mostlyclean-diff: mostlyclean-diff
7475 mostlyclean-diff:
7476 @: $(MAKE); $(unstage)
7477 @[ -f ./diff/Makefile ] || exit 0; \
7478 r=`${PWD_COMMAND}`; export r; \
7479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 $(HOST_EXPORTS) \
7481 for flag in $(EXTRA_HOST_FLAGS) ; do \
7482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483 done; \
7484 echo "Doing mostlyclean in diff" ; \
7485 (cd $(HOST_SUBDIR)/diff && \
7486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7488 "RANLIB=$${RANLIB}" \
7489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7490 mostlyclean) \
7491 || exit 1
7493 @endif diff
7495 .PHONY: maybe-clean-diff clean-diff
7496 maybe-clean-diff:
7497 @if diff
7498 maybe-clean-diff: clean-diff
7500 clean-diff:
7501 @: $(MAKE); $(unstage)
7502 @[ -f ./diff/Makefile ] || exit 0; \
7503 r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 $(HOST_EXPORTS) \
7506 for flag in $(EXTRA_HOST_FLAGS) ; do \
7507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7508 done; \
7509 echo "Doing clean in diff" ; \
7510 (cd $(HOST_SUBDIR)/diff && \
7511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7513 "RANLIB=$${RANLIB}" \
7514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7515 clean) \
7516 || exit 1
7518 @endif diff
7520 .PHONY: maybe-distclean-diff distclean-diff
7521 maybe-distclean-diff:
7522 @if diff
7523 maybe-distclean-diff: distclean-diff
7525 distclean-diff:
7526 @: $(MAKE); $(unstage)
7527 @[ -f ./diff/Makefile ] || exit 0; \
7528 r=`${PWD_COMMAND}`; export r; \
7529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7530 $(HOST_EXPORTS) \
7531 for flag in $(EXTRA_HOST_FLAGS) ; do \
7532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7533 done; \
7534 echo "Doing distclean in diff" ; \
7535 (cd $(HOST_SUBDIR)/diff && \
7536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7538 "RANLIB=$${RANLIB}" \
7539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7540 distclean) \
7541 || exit 1
7543 @endif diff
7545 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7546 maybe-maintainer-clean-diff:
7547 @if diff
7548 maybe-maintainer-clean-diff: maintainer-clean-diff
7550 maintainer-clean-diff:
7551 @: $(MAKE); $(unstage)
7552 @[ -f ./diff/Makefile ] || exit 0; \
7553 r=`${PWD_COMMAND}`; export r; \
7554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7555 $(HOST_EXPORTS) \
7556 for flag in $(EXTRA_HOST_FLAGS) ; do \
7557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7558 done; \
7559 echo "Doing maintainer-clean in diff" ; \
7560 (cd $(HOST_SUBDIR)/diff && \
7561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7563 "RANLIB=$${RANLIB}" \
7564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7565 maintainer-clean) \
7566 || exit 1
7568 @endif diff
7572 .PHONY: configure-dosutils maybe-configure-dosutils
7573 maybe-configure-dosutils:
7574 @if dosutils
7575 maybe-configure-dosutils: configure-dosutils
7576 configure-dosutils:
7577 @: $(MAKE); $(unstage)
7578 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7580 r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7582 $(HOST_EXPORTS) \
7583 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7584 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7585 case $(srcdir) in \
7586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7587 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7589 esac; \
7590 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7591 libsrcdir="$$s/dosutils"; \
7592 $(SHELL) $${libsrcdir}/configure \
7593 $(HOST_CONFIGARGS) $${srcdiroption} \
7594 || exit 1
7595 @endif dosutils
7601 .PHONY: all-dosutils maybe-all-dosutils
7602 maybe-all-dosutils:
7603 @if dosutils
7604 TARGET-dosutils=all
7605 maybe-all-dosutils: all-dosutils
7606 all-dosutils: configure-dosutils
7607 @: $(MAKE); $(unstage)
7608 @r=`${PWD_COMMAND}`; export r; \
7609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7610 $(HOST_EXPORTS) \
7611 (cd $(HOST_SUBDIR)/dosutils && \
7612 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7613 @endif dosutils
7618 .PHONY: check-dosutils maybe-check-dosutils
7619 maybe-check-dosutils:
7620 @if dosutils
7621 maybe-check-dosutils: check-dosutils
7623 check-dosutils:
7625 @endif dosutils
7627 .PHONY: install-dosutils maybe-install-dosutils
7628 maybe-install-dosutils:
7629 @if dosutils
7630 maybe-install-dosutils: install-dosutils
7632 install-dosutils: installdirs
7633 @: $(MAKE); $(unstage)
7634 @r=`${PWD_COMMAND}`; export r; \
7635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 $(HOST_EXPORTS) \
7637 (cd $(HOST_SUBDIR)/dosutils && \
7638 $(MAKE) $(FLAGS_TO_PASS) install)
7640 @endif dosutils
7642 # Other targets (info, dvi, etc.)
7644 .PHONY: maybe-info-dosutils info-dosutils
7645 maybe-info-dosutils:
7646 @if dosutils
7647 maybe-info-dosutils: info-dosutils
7649 info-dosutils: \
7650 configure-dosutils
7651 @: $(MAKE); $(unstage)
7652 @[ -f ./dosutils/Makefile ] || exit 0; \
7653 r=`${PWD_COMMAND}`; export r; \
7654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7655 $(HOST_EXPORTS) \
7656 for flag in $(EXTRA_HOST_FLAGS) ; do \
7657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7658 done; \
7659 echo "Doing info in dosutils" ; \
7660 (cd $(HOST_SUBDIR)/dosutils && \
7661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7663 "RANLIB=$${RANLIB}" \
7664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7665 info) \
7666 || exit 1
7668 @endif dosutils
7670 .PHONY: maybe-dvi-dosutils dvi-dosutils
7671 maybe-dvi-dosutils:
7672 @if dosutils
7673 maybe-dvi-dosutils: dvi-dosutils
7675 dvi-dosutils: \
7676 configure-dosutils
7677 @: $(MAKE); $(unstage)
7678 @[ -f ./dosutils/Makefile ] || exit 0; \
7679 r=`${PWD_COMMAND}`; export r; \
7680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7681 $(HOST_EXPORTS) \
7682 for flag in $(EXTRA_HOST_FLAGS) ; do \
7683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7684 done; \
7685 echo "Doing dvi in dosutils" ; \
7686 (cd $(HOST_SUBDIR)/dosutils && \
7687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7689 "RANLIB=$${RANLIB}" \
7690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7691 dvi) \
7692 || exit 1
7694 @endif dosutils
7696 .PHONY: maybe-html-dosutils html-dosutils
7697 maybe-html-dosutils:
7698 @if dosutils
7699 maybe-html-dosutils: html-dosutils
7701 html-dosutils: \
7702 configure-dosutils
7703 @: $(MAKE); $(unstage)
7704 @[ -f ./dosutils/Makefile ] || exit 0; \
7705 r=`${PWD_COMMAND}`; export r; \
7706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7707 $(HOST_EXPORTS) \
7708 for flag in $(EXTRA_HOST_FLAGS) ; do \
7709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7710 done; \
7711 echo "Doing html in dosutils" ; \
7712 (cd $(HOST_SUBDIR)/dosutils && \
7713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7715 "RANLIB=$${RANLIB}" \
7716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7717 html) \
7718 || exit 1
7720 @endif dosutils
7722 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7723 maybe-TAGS-dosutils:
7724 @if dosutils
7725 maybe-TAGS-dosutils: TAGS-dosutils
7727 TAGS-dosutils: \
7728 configure-dosutils
7729 @: $(MAKE); $(unstage)
7730 @[ -f ./dosutils/Makefile ] || exit 0; \
7731 r=`${PWD_COMMAND}`; export r; \
7732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 $(HOST_EXPORTS) \
7734 for flag in $(EXTRA_HOST_FLAGS) ; do \
7735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7736 done; \
7737 echo "Doing TAGS in dosutils" ; \
7738 (cd $(HOST_SUBDIR)/dosutils && \
7739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7741 "RANLIB=$${RANLIB}" \
7742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7743 TAGS) \
7744 || exit 1
7746 @endif dosutils
7748 .PHONY: maybe-install-info-dosutils install-info-dosutils
7749 maybe-install-info-dosutils:
7750 @if dosutils
7751 maybe-install-info-dosutils: install-info-dosutils
7753 install-info-dosutils: \
7754 configure-dosutils \
7755 info-dosutils
7756 @: $(MAKE); $(unstage)
7757 @[ -f ./dosutils/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 $(HOST_EXPORTS) \
7761 for flag in $(EXTRA_HOST_FLAGS) ; do \
7762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 done; \
7764 echo "Doing install-info in dosutils" ; \
7765 (cd $(HOST_SUBDIR)/dosutils && \
7766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7768 "RANLIB=$${RANLIB}" \
7769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7770 install-info) \
7771 || exit 1
7773 @endif dosutils
7775 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7776 maybe-installcheck-dosutils:
7777 @if dosutils
7778 maybe-installcheck-dosutils: installcheck-dosutils
7780 installcheck-dosutils: \
7781 configure-dosutils
7782 @: $(MAKE); $(unstage)
7783 @[ -f ./dosutils/Makefile ] || exit 0; \
7784 r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786 $(HOST_EXPORTS) \
7787 for flag in $(EXTRA_HOST_FLAGS) ; do \
7788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7789 done; \
7790 echo "Doing installcheck in dosutils" ; \
7791 (cd $(HOST_SUBDIR)/dosutils && \
7792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7794 "RANLIB=$${RANLIB}" \
7795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7796 installcheck) \
7797 || exit 1
7799 @endif dosutils
7801 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7802 maybe-mostlyclean-dosutils:
7803 @if dosutils
7804 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7806 mostlyclean-dosutils:
7807 @: $(MAKE); $(unstage)
7808 @[ -f ./dosutils/Makefile ] || exit 0; \
7809 r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 $(HOST_EXPORTS) \
7812 for flag in $(EXTRA_HOST_FLAGS) ; do \
7813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7814 done; \
7815 echo "Doing mostlyclean in dosutils" ; \
7816 (cd $(HOST_SUBDIR)/dosutils && \
7817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7819 "RANLIB=$${RANLIB}" \
7820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7821 mostlyclean) \
7822 || exit 1
7824 @endif dosutils
7826 .PHONY: maybe-clean-dosutils clean-dosutils
7827 maybe-clean-dosutils:
7828 @if dosutils
7829 maybe-clean-dosutils: clean-dosutils
7831 clean-dosutils:
7832 @: $(MAKE); $(unstage)
7833 @[ -f ./dosutils/Makefile ] || exit 0; \
7834 r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 $(HOST_EXPORTS) \
7837 for flag in $(EXTRA_HOST_FLAGS) ; do \
7838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7839 done; \
7840 echo "Doing clean in dosutils" ; \
7841 (cd $(HOST_SUBDIR)/dosutils && \
7842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7844 "RANLIB=$${RANLIB}" \
7845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7846 clean) \
7847 || exit 1
7849 @endif dosutils
7851 .PHONY: maybe-distclean-dosutils distclean-dosutils
7852 maybe-distclean-dosutils:
7853 @if dosutils
7854 maybe-distclean-dosutils: distclean-dosutils
7856 distclean-dosutils:
7857 @: $(MAKE); $(unstage)
7858 @[ -f ./dosutils/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing distclean in dosutils" ; \
7866 (cd $(HOST_SUBDIR)/dosutils && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7871 distclean) \
7872 || exit 1
7874 @endif dosutils
7876 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7877 maybe-maintainer-clean-dosutils:
7878 @if dosutils
7879 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7881 maintainer-clean-dosutils:
7882 @: $(MAKE); $(unstage)
7883 @[ -f ./dosutils/Makefile ] || exit 0; \
7884 r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing maintainer-clean in dosutils" ; \
7891 (cd $(HOST_SUBDIR)/dosutils && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7896 maintainer-clean) \
7897 || exit 1
7899 @endif dosutils
7903 .PHONY: configure-etc maybe-configure-etc
7904 maybe-configure-etc:
7905 @if etc
7906 maybe-configure-etc: configure-etc
7907 configure-etc:
7908 @: $(MAKE); $(unstage)
7909 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7911 r=`${PWD_COMMAND}`; export r; \
7912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 $(HOST_EXPORTS) \
7914 echo Configuring in $(HOST_SUBDIR)/etc; \
7915 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7916 case $(srcdir) in \
7917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7918 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7920 esac; \
7921 srcdiroption="--srcdir=$${topdir}/etc"; \
7922 libsrcdir="$$s/etc"; \
7923 $(SHELL) $${libsrcdir}/configure \
7924 $(HOST_CONFIGARGS) $${srcdiroption} \
7925 || exit 1
7926 @endif etc
7932 .PHONY: all-etc maybe-all-etc
7933 maybe-all-etc:
7934 @if etc
7935 TARGET-etc=all
7936 maybe-all-etc: all-etc
7937 all-etc: configure-etc
7938 @: $(MAKE); $(unstage)
7939 @r=`${PWD_COMMAND}`; export r; \
7940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 $(HOST_EXPORTS) \
7942 (cd $(HOST_SUBDIR)/etc && \
7943 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7944 @endif etc
7949 .PHONY: check-etc maybe-check-etc
7950 maybe-check-etc:
7951 @if etc
7952 maybe-check-etc: check-etc
7954 check-etc:
7955 @: $(MAKE); $(unstage)
7956 @r=`${PWD_COMMAND}`; export r; \
7957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7958 $(HOST_EXPORTS) \
7959 (cd $(HOST_SUBDIR)/etc && \
7960 $(MAKE) $(FLAGS_TO_PASS) check)
7962 @endif etc
7964 .PHONY: install-etc maybe-install-etc
7965 maybe-install-etc:
7966 @if etc
7967 maybe-install-etc: install-etc
7969 install-etc: installdirs
7970 @: $(MAKE); $(unstage)
7971 @r=`${PWD_COMMAND}`; export r; \
7972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7973 $(HOST_EXPORTS) \
7974 (cd $(HOST_SUBDIR)/etc && \
7975 $(MAKE) $(FLAGS_TO_PASS) install)
7977 @endif etc
7979 # Other targets (info, dvi, etc.)
7981 .PHONY: maybe-info-etc info-etc
7982 maybe-info-etc:
7983 @if etc
7984 maybe-info-etc: info-etc
7986 info-etc: \
7987 configure-etc
7988 @: $(MAKE); $(unstage)
7989 @[ -f ./etc/Makefile ] || exit 0; \
7990 r=`${PWD_COMMAND}`; export r; \
7991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 $(HOST_EXPORTS) \
7993 for flag in $(EXTRA_HOST_FLAGS) ; do \
7994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7995 done; \
7996 echo "Doing info in etc" ; \
7997 (cd $(HOST_SUBDIR)/etc && \
7998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8000 "RANLIB=$${RANLIB}" \
8001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8002 info) \
8003 || exit 1
8005 @endif etc
8007 .PHONY: maybe-dvi-etc dvi-etc
8008 maybe-dvi-etc:
8009 @if etc
8010 maybe-dvi-etc: dvi-etc
8012 dvi-etc: \
8013 configure-etc
8014 @: $(MAKE); $(unstage)
8015 @[ -f ./etc/Makefile ] || exit 0; \
8016 r=`${PWD_COMMAND}`; export r; \
8017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8018 $(HOST_EXPORTS) \
8019 for flag in $(EXTRA_HOST_FLAGS) ; do \
8020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8021 done; \
8022 echo "Doing dvi in etc" ; \
8023 (cd $(HOST_SUBDIR)/etc && \
8024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8026 "RANLIB=$${RANLIB}" \
8027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8028 dvi) \
8029 || exit 1
8031 @endif etc
8033 .PHONY: maybe-html-etc html-etc
8034 maybe-html-etc:
8035 @if etc
8036 maybe-html-etc: html-etc
8038 html-etc: \
8039 configure-etc
8040 @: $(MAKE); $(unstage)
8041 @[ -f ./etc/Makefile ] || exit 0; \
8042 r=`${PWD_COMMAND}`; export r; \
8043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8044 $(HOST_EXPORTS) \
8045 for flag in $(EXTRA_HOST_FLAGS) ; do \
8046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8047 done; \
8048 echo "Doing html in etc" ; \
8049 (cd $(HOST_SUBDIR)/etc && \
8050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8052 "RANLIB=$${RANLIB}" \
8053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8054 html) \
8055 || exit 1
8057 @endif etc
8059 .PHONY: maybe-TAGS-etc TAGS-etc
8060 maybe-TAGS-etc:
8061 @if etc
8062 maybe-TAGS-etc: TAGS-etc
8064 TAGS-etc: \
8065 configure-etc
8066 @: $(MAKE); $(unstage)
8067 @[ -f ./etc/Makefile ] || exit 0; \
8068 r=`${PWD_COMMAND}`; export r; \
8069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8070 $(HOST_EXPORTS) \
8071 for flag in $(EXTRA_HOST_FLAGS) ; do \
8072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8073 done; \
8074 echo "Doing TAGS in etc" ; \
8075 (cd $(HOST_SUBDIR)/etc && \
8076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8078 "RANLIB=$${RANLIB}" \
8079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8080 TAGS) \
8081 || exit 1
8083 @endif etc
8085 .PHONY: maybe-install-info-etc install-info-etc
8086 maybe-install-info-etc:
8087 @if etc
8088 maybe-install-info-etc: install-info-etc
8090 install-info-etc: \
8091 configure-etc \
8092 info-etc
8093 @: $(MAKE); $(unstage)
8094 @[ -f ./etc/Makefile ] || exit 0; \
8095 r=`${PWD_COMMAND}`; export r; \
8096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8097 $(HOST_EXPORTS) \
8098 for flag in $(EXTRA_HOST_FLAGS) ; do \
8099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8100 done; \
8101 echo "Doing install-info in etc" ; \
8102 (cd $(HOST_SUBDIR)/etc && \
8103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8105 "RANLIB=$${RANLIB}" \
8106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8107 install-info) \
8108 || exit 1
8110 @endif etc
8112 .PHONY: maybe-installcheck-etc installcheck-etc
8113 maybe-installcheck-etc:
8114 @if etc
8115 maybe-installcheck-etc: installcheck-etc
8117 installcheck-etc: \
8118 configure-etc
8119 @: $(MAKE); $(unstage)
8120 @[ -f ./etc/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS) ; do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing installcheck in etc" ; \
8128 (cd $(HOST_SUBDIR)/etc && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8133 installcheck) \
8134 || exit 1
8136 @endif etc
8138 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8139 maybe-mostlyclean-etc:
8140 @if etc
8141 maybe-mostlyclean-etc: mostlyclean-etc
8143 mostlyclean-etc:
8144 @: $(MAKE); $(unstage)
8145 @[ -f ./etc/Makefile ] || exit 0; \
8146 r=`${PWD_COMMAND}`; export r; \
8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing mostlyclean in etc" ; \
8153 (cd $(HOST_SUBDIR)/etc && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8158 mostlyclean) \
8159 || exit 1
8161 @endif etc
8163 .PHONY: maybe-clean-etc clean-etc
8164 maybe-clean-etc:
8165 @if etc
8166 maybe-clean-etc: clean-etc
8168 clean-etc:
8169 @: $(MAKE); $(unstage)
8170 @[ -f ./etc/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(HOST_EXPORTS) \
8174 for flag in $(EXTRA_HOST_FLAGS) ; do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 echo "Doing clean in etc" ; \
8178 (cd $(HOST_SUBDIR)/etc && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8183 clean) \
8184 || exit 1
8186 @endif etc
8188 .PHONY: maybe-distclean-etc distclean-etc
8189 maybe-distclean-etc:
8190 @if etc
8191 maybe-distclean-etc: distclean-etc
8193 distclean-etc:
8194 @: $(MAKE); $(unstage)
8195 @[ -f ./etc/Makefile ] || exit 0; \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8198 $(HOST_EXPORTS) \
8199 for flag in $(EXTRA_HOST_FLAGS) ; do \
8200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8201 done; \
8202 echo "Doing distclean in etc" ; \
8203 (cd $(HOST_SUBDIR)/etc && \
8204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8206 "RANLIB=$${RANLIB}" \
8207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8208 distclean) \
8209 || exit 1
8211 @endif etc
8213 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8214 maybe-maintainer-clean-etc:
8215 @if etc
8216 maybe-maintainer-clean-etc: maintainer-clean-etc
8218 maintainer-clean-etc:
8219 @: $(MAKE); $(unstage)
8220 @[ -f ./etc/Makefile ] || exit 0; \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 for flag in $(EXTRA_HOST_FLAGS) ; do \
8225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8226 done; \
8227 echo "Doing maintainer-clean in etc" ; \
8228 (cd $(HOST_SUBDIR)/etc && \
8229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8231 "RANLIB=$${RANLIB}" \
8232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8233 maintainer-clean) \
8234 || exit 1
8236 @endif etc
8240 .PHONY: configure-fastjar maybe-configure-fastjar
8241 maybe-configure-fastjar:
8242 @if fastjar
8243 maybe-configure-fastjar: configure-fastjar
8244 configure-fastjar:
8245 @: $(MAKE); $(unstage)
8246 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8248 r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(HOST_EXPORTS) \
8251 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8252 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8253 case $(srcdir) in \
8254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8255 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8257 esac; \
8258 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8259 libsrcdir="$$s/fastjar"; \
8260 $(SHELL) $${libsrcdir}/configure \
8261 $(HOST_CONFIGARGS) $${srcdiroption} \
8262 || exit 1
8263 @endif fastjar
8269 .PHONY: all-fastjar maybe-all-fastjar
8270 maybe-all-fastjar:
8271 @if fastjar
8272 TARGET-fastjar=all
8273 maybe-all-fastjar: all-fastjar
8274 all-fastjar: configure-fastjar
8275 @: $(MAKE); $(unstage)
8276 @r=`${PWD_COMMAND}`; export r; \
8277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8278 $(HOST_EXPORTS) \
8279 (cd $(HOST_SUBDIR)/fastjar && \
8280 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8281 @endif fastjar
8286 .PHONY: check-fastjar maybe-check-fastjar
8287 maybe-check-fastjar:
8288 @if fastjar
8289 maybe-check-fastjar: check-fastjar
8291 # This module is only tested in a native toolchain.
8292 check-fastjar:
8293 @: $(MAKE); $(unstage)
8294 @if [ '$(host)' = '$(target)' ] ; then \
8295 r=`${PWD_COMMAND}`; export r; \
8296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 $(HOST_EXPORTS) \
8298 (cd $(HOST_SUBDIR)/fastjar && \
8299 $(MAKE) $(FLAGS_TO_PASS) check); \
8302 @endif fastjar
8304 .PHONY: install-fastjar maybe-install-fastjar
8305 maybe-install-fastjar:
8306 @if fastjar
8307 maybe-install-fastjar: install-fastjar
8309 install-fastjar: installdirs
8310 @: $(MAKE); $(unstage)
8311 @r=`${PWD_COMMAND}`; export r; \
8312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 $(HOST_EXPORTS) \
8314 (cd $(HOST_SUBDIR)/fastjar && \
8315 $(MAKE) $(FLAGS_TO_PASS) install)
8317 @endif fastjar
8319 # Other targets (info, dvi, etc.)
8321 .PHONY: maybe-info-fastjar info-fastjar
8322 maybe-info-fastjar:
8323 @if fastjar
8324 maybe-info-fastjar: info-fastjar
8326 info-fastjar: \
8327 configure-fastjar
8328 @: $(MAKE); $(unstage)
8329 @[ -f ./fastjar/Makefile ] || exit 0; \
8330 r=`${PWD_COMMAND}`; export r; \
8331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8332 $(HOST_EXPORTS) \
8333 for flag in $(EXTRA_HOST_FLAGS) ; do \
8334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8335 done; \
8336 echo "Doing info in fastjar" ; \
8337 (cd $(HOST_SUBDIR)/fastjar && \
8338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8340 "RANLIB=$${RANLIB}" \
8341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8342 info) \
8343 || exit 1
8345 @endif fastjar
8347 .PHONY: maybe-dvi-fastjar dvi-fastjar
8348 maybe-dvi-fastjar:
8349 @if fastjar
8350 maybe-dvi-fastjar: dvi-fastjar
8352 dvi-fastjar: \
8353 configure-fastjar
8354 @: $(MAKE); $(unstage)
8355 @[ -f ./fastjar/Makefile ] || exit 0; \
8356 r=`${PWD_COMMAND}`; export r; \
8357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 $(HOST_EXPORTS) \
8359 for flag in $(EXTRA_HOST_FLAGS) ; do \
8360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8361 done; \
8362 echo "Doing dvi in fastjar" ; \
8363 (cd $(HOST_SUBDIR)/fastjar && \
8364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8366 "RANLIB=$${RANLIB}" \
8367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8368 dvi) \
8369 || exit 1
8371 @endif fastjar
8373 .PHONY: maybe-html-fastjar html-fastjar
8374 maybe-html-fastjar:
8375 @if fastjar
8376 maybe-html-fastjar: html-fastjar
8378 html-fastjar: \
8379 configure-fastjar
8380 @: $(MAKE); $(unstage)
8381 @[ -f ./fastjar/Makefile ] || exit 0; \
8382 r=`${PWD_COMMAND}`; export r; \
8383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8384 $(HOST_EXPORTS) \
8385 for flag in $(EXTRA_HOST_FLAGS) ; do \
8386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8387 done; \
8388 echo "Doing html in fastjar" ; \
8389 (cd $(HOST_SUBDIR)/fastjar && \
8390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8392 "RANLIB=$${RANLIB}" \
8393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8394 html) \
8395 || exit 1
8397 @endif fastjar
8399 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8400 maybe-TAGS-fastjar:
8401 @if fastjar
8402 maybe-TAGS-fastjar: TAGS-fastjar
8404 TAGS-fastjar: \
8405 configure-fastjar
8406 @: $(MAKE); $(unstage)
8407 @[ -f ./fastjar/Makefile ] || exit 0; \
8408 r=`${PWD_COMMAND}`; export r; \
8409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8410 $(HOST_EXPORTS) \
8411 for flag in $(EXTRA_HOST_FLAGS) ; do \
8412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8413 done; \
8414 echo "Doing TAGS in fastjar" ; \
8415 (cd $(HOST_SUBDIR)/fastjar && \
8416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8418 "RANLIB=$${RANLIB}" \
8419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8420 TAGS) \
8421 || exit 1
8423 @endif fastjar
8425 .PHONY: maybe-install-info-fastjar install-info-fastjar
8426 maybe-install-info-fastjar:
8427 @if fastjar
8428 maybe-install-info-fastjar: install-info-fastjar
8430 install-info-fastjar: \
8431 configure-fastjar \
8432 info-fastjar
8433 @: $(MAKE); $(unstage)
8434 @[ -f ./fastjar/Makefile ] || exit 0; \
8435 r=`${PWD_COMMAND}`; export r; \
8436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8437 $(HOST_EXPORTS) \
8438 for flag in $(EXTRA_HOST_FLAGS) ; do \
8439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8440 done; \
8441 echo "Doing install-info in fastjar" ; \
8442 (cd $(HOST_SUBDIR)/fastjar && \
8443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8445 "RANLIB=$${RANLIB}" \
8446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8447 install-info) \
8448 || exit 1
8450 @endif fastjar
8452 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8453 maybe-installcheck-fastjar:
8454 @if fastjar
8455 maybe-installcheck-fastjar: installcheck-fastjar
8457 installcheck-fastjar: \
8458 configure-fastjar
8459 @: $(MAKE); $(unstage)
8460 @[ -f ./fastjar/Makefile ] || exit 0; \
8461 r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing installcheck in fastjar" ; \
8468 (cd $(HOST_SUBDIR)/fastjar && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 installcheck) \
8474 || exit 1
8476 @endif fastjar
8478 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8479 maybe-mostlyclean-fastjar:
8480 @if fastjar
8481 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8483 mostlyclean-fastjar:
8484 @: $(MAKE); $(unstage)
8485 @[ -f ./fastjar/Makefile ] || exit 0; \
8486 r=`${PWD_COMMAND}`; export r; \
8487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8488 $(HOST_EXPORTS) \
8489 for flag in $(EXTRA_HOST_FLAGS) ; do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing mostlyclean in fastjar" ; \
8493 (cd $(HOST_SUBDIR)/fastjar && \
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 mostlyclean) \
8499 || exit 1
8501 @endif fastjar
8503 .PHONY: maybe-clean-fastjar clean-fastjar
8504 maybe-clean-fastjar:
8505 @if fastjar
8506 maybe-clean-fastjar: clean-fastjar
8508 clean-fastjar:
8509 @: $(MAKE); $(unstage)
8510 @[ -f ./fastjar/Makefile ] || exit 0; \
8511 r=`${PWD_COMMAND}`; export r; \
8512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8513 $(HOST_EXPORTS) \
8514 for flag in $(EXTRA_HOST_FLAGS) ; do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing clean in fastjar" ; \
8518 (cd $(HOST_SUBDIR)/fastjar && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 clean) \
8524 || exit 1
8526 @endif fastjar
8528 .PHONY: maybe-distclean-fastjar distclean-fastjar
8529 maybe-distclean-fastjar:
8530 @if fastjar
8531 maybe-distclean-fastjar: distclean-fastjar
8533 distclean-fastjar:
8534 @: $(MAKE); $(unstage)
8535 @[ -f ./fastjar/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing distclean in fastjar" ; \
8543 (cd $(HOST_SUBDIR)/fastjar && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 distclean) \
8549 || exit 1
8551 @endif fastjar
8553 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8554 maybe-maintainer-clean-fastjar:
8555 @if fastjar
8556 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8558 maintainer-clean-fastjar:
8559 @: $(MAKE); $(unstage)
8560 @[ -f ./fastjar/Makefile ] || exit 0; \
8561 r=`${PWD_COMMAND}`; export r; \
8562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8563 $(HOST_EXPORTS) \
8564 for flag in $(EXTRA_HOST_FLAGS) ; do \
8565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8566 done; \
8567 echo "Doing maintainer-clean in fastjar" ; \
8568 (cd $(HOST_SUBDIR)/fastjar && \
8569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8571 "RANLIB=$${RANLIB}" \
8572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8573 maintainer-clean) \
8574 || exit 1
8576 @endif fastjar
8580 .PHONY: configure-fileutils maybe-configure-fileutils
8581 maybe-configure-fileutils:
8582 @if fileutils
8583 maybe-configure-fileutils: configure-fileutils
8584 configure-fileutils:
8585 @: $(MAKE); $(unstage)
8586 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8588 r=`${PWD_COMMAND}`; export r; \
8589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8590 $(HOST_EXPORTS) \
8591 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8592 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8593 case $(srcdir) in \
8594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8595 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8597 esac; \
8598 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8599 libsrcdir="$$s/fileutils"; \
8600 $(SHELL) $${libsrcdir}/configure \
8601 $(HOST_CONFIGARGS) $${srcdiroption} \
8602 || exit 1
8603 @endif fileutils
8609 .PHONY: all-fileutils maybe-all-fileutils
8610 maybe-all-fileutils:
8611 @if fileutils
8612 TARGET-fileutils=all
8613 maybe-all-fileutils: all-fileutils
8614 all-fileutils: configure-fileutils
8615 @: $(MAKE); $(unstage)
8616 @r=`${PWD_COMMAND}`; export r; \
8617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8618 $(HOST_EXPORTS) \
8619 (cd $(HOST_SUBDIR)/fileutils && \
8620 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8621 @endif fileutils
8626 .PHONY: check-fileutils maybe-check-fileutils
8627 maybe-check-fileutils:
8628 @if fileutils
8629 maybe-check-fileutils: check-fileutils
8631 check-fileutils:
8632 @: $(MAKE); $(unstage)
8633 @r=`${PWD_COMMAND}`; export r; \
8634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8635 $(HOST_EXPORTS) \
8636 (cd $(HOST_SUBDIR)/fileutils && \
8637 $(MAKE) $(FLAGS_TO_PASS) check)
8639 @endif fileutils
8641 .PHONY: install-fileutils maybe-install-fileutils
8642 maybe-install-fileutils:
8643 @if fileutils
8644 maybe-install-fileutils: install-fileutils
8646 install-fileutils: installdirs
8647 @: $(MAKE); $(unstage)
8648 @r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 $(HOST_EXPORTS) \
8651 (cd $(HOST_SUBDIR)/fileutils && \
8652 $(MAKE) $(FLAGS_TO_PASS) install)
8654 @endif fileutils
8656 # Other targets (info, dvi, etc.)
8658 .PHONY: maybe-info-fileutils info-fileutils
8659 maybe-info-fileutils:
8660 @if fileutils
8661 maybe-info-fileutils: info-fileutils
8663 info-fileutils: \
8664 configure-fileutils
8665 @: $(MAKE); $(unstage)
8666 @[ -f ./fileutils/Makefile ] || exit 0; \
8667 r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 $(HOST_EXPORTS) \
8670 for flag in $(EXTRA_HOST_FLAGS) ; do \
8671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8672 done; \
8673 echo "Doing info in fileutils" ; \
8674 (cd $(HOST_SUBDIR)/fileutils && \
8675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8677 "RANLIB=$${RANLIB}" \
8678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 info) \
8680 || exit 1
8682 @endif fileutils
8684 .PHONY: maybe-dvi-fileutils dvi-fileutils
8685 maybe-dvi-fileutils:
8686 @if fileutils
8687 maybe-dvi-fileutils: dvi-fileutils
8689 dvi-fileutils: \
8690 configure-fileutils
8691 @: $(MAKE); $(unstage)
8692 @[ -f ./fileutils/Makefile ] || exit 0; \
8693 r=`${PWD_COMMAND}`; export r; \
8694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8695 $(HOST_EXPORTS) \
8696 for flag in $(EXTRA_HOST_FLAGS) ; do \
8697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8698 done; \
8699 echo "Doing dvi in fileutils" ; \
8700 (cd $(HOST_SUBDIR)/fileutils && \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703 "RANLIB=$${RANLIB}" \
8704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8705 dvi) \
8706 || exit 1
8708 @endif fileutils
8710 .PHONY: maybe-html-fileutils html-fileutils
8711 maybe-html-fileutils:
8712 @if fileutils
8713 maybe-html-fileutils: html-fileutils
8715 html-fileutils: \
8716 configure-fileutils
8717 @: $(MAKE); $(unstage)
8718 @[ -f ./fileutils/Makefile ] || exit 0; \
8719 r=`${PWD_COMMAND}`; export r; \
8720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8721 $(HOST_EXPORTS) \
8722 for flag in $(EXTRA_HOST_FLAGS) ; do \
8723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8724 done; \
8725 echo "Doing html in fileutils" ; \
8726 (cd $(HOST_SUBDIR)/fileutils && \
8727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8729 "RANLIB=$${RANLIB}" \
8730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8731 html) \
8732 || exit 1
8734 @endif fileutils
8736 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8737 maybe-TAGS-fileutils:
8738 @if fileutils
8739 maybe-TAGS-fileutils: TAGS-fileutils
8741 TAGS-fileutils: \
8742 configure-fileutils
8743 @: $(MAKE); $(unstage)
8744 @[ -f ./fileutils/Makefile ] || exit 0; \
8745 r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(HOST_EXPORTS) \
8748 for flag in $(EXTRA_HOST_FLAGS) ; do \
8749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8750 done; \
8751 echo "Doing TAGS in fileutils" ; \
8752 (cd $(HOST_SUBDIR)/fileutils && \
8753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8755 "RANLIB=$${RANLIB}" \
8756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8757 TAGS) \
8758 || exit 1
8760 @endif fileutils
8762 .PHONY: maybe-install-info-fileutils install-info-fileutils
8763 maybe-install-info-fileutils:
8764 @if fileutils
8765 maybe-install-info-fileutils: install-info-fileutils
8767 install-info-fileutils: \
8768 configure-fileutils \
8769 info-fileutils
8770 @: $(MAKE); $(unstage)
8771 @[ -f ./fileutils/Makefile ] || exit 0; \
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774 $(HOST_EXPORTS) \
8775 for flag in $(EXTRA_HOST_FLAGS) ; do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777 done; \
8778 echo "Doing install-info in fileutils" ; \
8779 (cd $(HOST_SUBDIR)/fileutils && \
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 install-info) \
8785 || exit 1
8787 @endif fileutils
8789 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8790 maybe-installcheck-fileutils:
8791 @if fileutils
8792 maybe-installcheck-fileutils: installcheck-fileutils
8794 installcheck-fileutils: \
8795 configure-fileutils
8796 @: $(MAKE); $(unstage)
8797 @[ -f ./fileutils/Makefile ] || exit 0; \
8798 r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8800 $(HOST_EXPORTS) \
8801 for flag in $(EXTRA_HOST_FLAGS) ; do \
8802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8803 done; \
8804 echo "Doing installcheck in fileutils" ; \
8805 (cd $(HOST_SUBDIR)/fileutils && \
8806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808 "RANLIB=$${RANLIB}" \
8809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8810 installcheck) \
8811 || exit 1
8813 @endif fileutils
8815 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8816 maybe-mostlyclean-fileutils:
8817 @if fileutils
8818 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8820 mostlyclean-fileutils:
8821 @: $(MAKE); $(unstage)
8822 @[ -f ./fileutils/Makefile ] || exit 0; \
8823 r=`${PWD_COMMAND}`; export r; \
8824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8825 $(HOST_EXPORTS) \
8826 for flag in $(EXTRA_HOST_FLAGS) ; do \
8827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8828 done; \
8829 echo "Doing mostlyclean in fileutils" ; \
8830 (cd $(HOST_SUBDIR)/fileutils && \
8831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8833 "RANLIB=$${RANLIB}" \
8834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8835 mostlyclean) \
8836 || exit 1
8838 @endif fileutils
8840 .PHONY: maybe-clean-fileutils clean-fileutils
8841 maybe-clean-fileutils:
8842 @if fileutils
8843 maybe-clean-fileutils: clean-fileutils
8845 clean-fileutils:
8846 @: $(MAKE); $(unstage)
8847 @[ -f ./fileutils/Makefile ] || exit 0; \
8848 r=`${PWD_COMMAND}`; export r; \
8849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8850 $(HOST_EXPORTS) \
8851 for flag in $(EXTRA_HOST_FLAGS) ; do \
8852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8853 done; \
8854 echo "Doing clean in fileutils" ; \
8855 (cd $(HOST_SUBDIR)/fileutils && \
8856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8858 "RANLIB=$${RANLIB}" \
8859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8860 clean) \
8861 || exit 1
8863 @endif fileutils
8865 .PHONY: maybe-distclean-fileutils distclean-fileutils
8866 maybe-distclean-fileutils:
8867 @if fileutils
8868 maybe-distclean-fileutils: distclean-fileutils
8870 distclean-fileutils:
8871 @: $(MAKE); $(unstage)
8872 @[ -f ./fileutils/Makefile ] || exit 0; \
8873 r=`${PWD_COMMAND}`; export r; \
8874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8875 $(HOST_EXPORTS) \
8876 for flag in $(EXTRA_HOST_FLAGS) ; do \
8877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8878 done; \
8879 echo "Doing distclean in fileutils" ; \
8880 (cd $(HOST_SUBDIR)/fileutils && \
8881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8883 "RANLIB=$${RANLIB}" \
8884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8885 distclean) \
8886 || exit 1
8888 @endif fileutils
8890 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8891 maybe-maintainer-clean-fileutils:
8892 @if fileutils
8893 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8895 maintainer-clean-fileutils:
8896 @: $(MAKE); $(unstage)
8897 @[ -f ./fileutils/Makefile ] || exit 0; \
8898 r=`${PWD_COMMAND}`; export r; \
8899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8900 $(HOST_EXPORTS) \
8901 for flag in $(EXTRA_HOST_FLAGS) ; do \
8902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8903 done; \
8904 echo "Doing maintainer-clean in fileutils" ; \
8905 (cd $(HOST_SUBDIR)/fileutils && \
8906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908 "RANLIB=$${RANLIB}" \
8909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8910 maintainer-clean) \
8911 || exit 1
8913 @endif fileutils
8917 .PHONY: configure-findutils maybe-configure-findutils
8918 maybe-configure-findutils:
8919 @if findutils
8920 maybe-configure-findutils: configure-findutils
8921 configure-findutils:
8922 @: $(MAKE); $(unstage)
8923 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8925 r=`${PWD_COMMAND}`; export r; \
8926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8927 $(HOST_EXPORTS) \
8928 echo Configuring in $(HOST_SUBDIR)/findutils; \
8929 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8930 case $(srcdir) in \
8931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8932 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8934 esac; \
8935 srcdiroption="--srcdir=$${topdir}/findutils"; \
8936 libsrcdir="$$s/findutils"; \
8937 $(SHELL) $${libsrcdir}/configure \
8938 $(HOST_CONFIGARGS) $${srcdiroption} \
8939 || exit 1
8940 @endif findutils
8946 .PHONY: all-findutils maybe-all-findutils
8947 maybe-all-findutils:
8948 @if findutils
8949 TARGET-findutils=all
8950 maybe-all-findutils: all-findutils
8951 all-findutils: configure-findutils
8952 @: $(MAKE); $(unstage)
8953 @r=`${PWD_COMMAND}`; export r; \
8954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8955 $(HOST_EXPORTS) \
8956 (cd $(HOST_SUBDIR)/findutils && \
8957 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8958 @endif findutils
8963 .PHONY: check-findutils maybe-check-findutils
8964 maybe-check-findutils:
8965 @if findutils
8966 maybe-check-findutils: check-findutils
8968 check-findutils:
8969 @: $(MAKE); $(unstage)
8970 @r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8972 $(HOST_EXPORTS) \
8973 (cd $(HOST_SUBDIR)/findutils && \
8974 $(MAKE) $(FLAGS_TO_PASS) check)
8976 @endif findutils
8978 .PHONY: install-findutils maybe-install-findutils
8979 maybe-install-findutils:
8980 @if findutils
8981 maybe-install-findutils: install-findutils
8983 install-findutils: installdirs
8984 @: $(MAKE); $(unstage)
8985 @r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 $(HOST_EXPORTS) \
8988 (cd $(HOST_SUBDIR)/findutils && \
8989 $(MAKE) $(FLAGS_TO_PASS) install)
8991 @endif findutils
8993 # Other targets (info, dvi, etc.)
8995 .PHONY: maybe-info-findutils info-findutils
8996 maybe-info-findutils:
8997 @if findutils
8998 maybe-info-findutils: info-findutils
9000 info-findutils: \
9001 configure-findutils
9002 @: $(MAKE); $(unstage)
9003 @[ -f ./findutils/Makefile ] || exit 0; \
9004 r=`${PWD_COMMAND}`; export r; \
9005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9006 $(HOST_EXPORTS) \
9007 for flag in $(EXTRA_HOST_FLAGS) ; do \
9008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9009 done; \
9010 echo "Doing info in findutils" ; \
9011 (cd $(HOST_SUBDIR)/findutils && \
9012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9014 "RANLIB=$${RANLIB}" \
9015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9016 info) \
9017 || exit 1
9019 @endif findutils
9021 .PHONY: maybe-dvi-findutils dvi-findutils
9022 maybe-dvi-findutils:
9023 @if findutils
9024 maybe-dvi-findutils: dvi-findutils
9026 dvi-findutils: \
9027 configure-findutils
9028 @: $(MAKE); $(unstage)
9029 @[ -f ./findutils/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(HOST_EXPORTS) \
9033 for flag in $(EXTRA_HOST_FLAGS) ; do \
9034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9035 done; \
9036 echo "Doing dvi in findutils" ; \
9037 (cd $(HOST_SUBDIR)/findutils && \
9038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9040 "RANLIB=$${RANLIB}" \
9041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9042 dvi) \
9043 || exit 1
9045 @endif findutils
9047 .PHONY: maybe-html-findutils html-findutils
9048 maybe-html-findutils:
9049 @if findutils
9050 maybe-html-findutils: html-findutils
9052 html-findutils: \
9053 configure-findutils
9054 @: $(MAKE); $(unstage)
9055 @[ -f ./findutils/Makefile ] || exit 0; \
9056 r=`${PWD_COMMAND}`; export r; \
9057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9058 $(HOST_EXPORTS) \
9059 for flag in $(EXTRA_HOST_FLAGS) ; do \
9060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9061 done; \
9062 echo "Doing html in findutils" ; \
9063 (cd $(HOST_SUBDIR)/findutils && \
9064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9066 "RANLIB=$${RANLIB}" \
9067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9068 html) \
9069 || exit 1
9071 @endif findutils
9073 .PHONY: maybe-TAGS-findutils TAGS-findutils
9074 maybe-TAGS-findutils:
9075 @if findutils
9076 maybe-TAGS-findutils: TAGS-findutils
9078 TAGS-findutils: \
9079 configure-findutils
9080 @: $(MAKE); $(unstage)
9081 @[ -f ./findutils/Makefile ] || exit 0; \
9082 r=`${PWD_COMMAND}`; export r; \
9083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9084 $(HOST_EXPORTS) \
9085 for flag in $(EXTRA_HOST_FLAGS) ; do \
9086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9087 done; \
9088 echo "Doing TAGS in findutils" ; \
9089 (cd $(HOST_SUBDIR)/findutils && \
9090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9092 "RANLIB=$${RANLIB}" \
9093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9094 TAGS) \
9095 || exit 1
9097 @endif findutils
9099 .PHONY: maybe-install-info-findutils install-info-findutils
9100 maybe-install-info-findutils:
9101 @if findutils
9102 maybe-install-info-findutils: install-info-findutils
9104 install-info-findutils: \
9105 configure-findutils \
9106 info-findutils
9107 @: $(MAKE); $(unstage)
9108 @[ -f ./findutils/Makefile ] || exit 0; \
9109 r=`${PWD_COMMAND}`; export r; \
9110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9111 $(HOST_EXPORTS) \
9112 for flag in $(EXTRA_HOST_FLAGS) ; do \
9113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9114 done; \
9115 echo "Doing install-info in findutils" ; \
9116 (cd $(HOST_SUBDIR)/findutils && \
9117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9119 "RANLIB=$${RANLIB}" \
9120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9121 install-info) \
9122 || exit 1
9124 @endif findutils
9126 .PHONY: maybe-installcheck-findutils installcheck-findutils
9127 maybe-installcheck-findutils:
9128 @if findutils
9129 maybe-installcheck-findutils: installcheck-findutils
9131 installcheck-findutils: \
9132 configure-findutils
9133 @: $(MAKE); $(unstage)
9134 @[ -f ./findutils/Makefile ] || exit 0; \
9135 r=`${PWD_COMMAND}`; export r; \
9136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9137 $(HOST_EXPORTS) \
9138 for flag in $(EXTRA_HOST_FLAGS) ; do \
9139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9140 done; \
9141 echo "Doing installcheck in findutils" ; \
9142 (cd $(HOST_SUBDIR)/findutils && \
9143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9145 "RANLIB=$${RANLIB}" \
9146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9147 installcheck) \
9148 || exit 1
9150 @endif findutils
9152 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9153 maybe-mostlyclean-findutils:
9154 @if findutils
9155 maybe-mostlyclean-findutils: mostlyclean-findutils
9157 mostlyclean-findutils:
9158 @: $(MAKE); $(unstage)
9159 @[ -f ./findutils/Makefile ] || exit 0; \
9160 r=`${PWD_COMMAND}`; export r; \
9161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9162 $(HOST_EXPORTS) \
9163 for flag in $(EXTRA_HOST_FLAGS) ; do \
9164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9165 done; \
9166 echo "Doing mostlyclean in findutils" ; \
9167 (cd $(HOST_SUBDIR)/findutils && \
9168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9170 "RANLIB=$${RANLIB}" \
9171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9172 mostlyclean) \
9173 || exit 1
9175 @endif findutils
9177 .PHONY: maybe-clean-findutils clean-findutils
9178 maybe-clean-findutils:
9179 @if findutils
9180 maybe-clean-findutils: clean-findutils
9182 clean-findutils:
9183 @: $(MAKE); $(unstage)
9184 @[ -f ./findutils/Makefile ] || exit 0; \
9185 r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 $(HOST_EXPORTS) \
9188 for flag in $(EXTRA_HOST_FLAGS) ; do \
9189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9190 done; \
9191 echo "Doing clean in findutils" ; \
9192 (cd $(HOST_SUBDIR)/findutils && \
9193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9195 "RANLIB=$${RANLIB}" \
9196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9197 clean) \
9198 || exit 1
9200 @endif findutils
9202 .PHONY: maybe-distclean-findutils distclean-findutils
9203 maybe-distclean-findutils:
9204 @if findutils
9205 maybe-distclean-findutils: distclean-findutils
9207 distclean-findutils:
9208 @: $(MAKE); $(unstage)
9209 @[ -f ./findutils/Makefile ] || exit 0; \
9210 r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 $(HOST_EXPORTS) \
9213 for flag in $(EXTRA_HOST_FLAGS) ; do \
9214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 done; \
9216 echo "Doing distclean in findutils" ; \
9217 (cd $(HOST_SUBDIR)/findutils && \
9218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9220 "RANLIB=$${RANLIB}" \
9221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9222 distclean) \
9223 || exit 1
9225 @endif findutils
9227 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9228 maybe-maintainer-clean-findutils:
9229 @if findutils
9230 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9232 maintainer-clean-findutils:
9233 @: $(MAKE); $(unstage)
9234 @[ -f ./findutils/Makefile ] || exit 0; \
9235 r=`${PWD_COMMAND}`; export r; \
9236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 $(HOST_EXPORTS) \
9238 for flag in $(EXTRA_HOST_FLAGS) ; do \
9239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 done; \
9241 echo "Doing maintainer-clean in findutils" ; \
9242 (cd $(HOST_SUBDIR)/findutils && \
9243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9245 "RANLIB=$${RANLIB}" \
9246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9247 maintainer-clean) \
9248 || exit 1
9250 @endif findutils
9254 .PHONY: configure-find maybe-configure-find
9255 maybe-configure-find:
9256 @if find
9257 maybe-configure-find: configure-find
9258 configure-find:
9259 @: $(MAKE); $(unstage)
9260 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9262 r=`${PWD_COMMAND}`; export r; \
9263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9264 $(HOST_EXPORTS) \
9265 echo Configuring in $(HOST_SUBDIR)/find; \
9266 cd "$(HOST_SUBDIR)/find" || exit 1; \
9267 case $(srcdir) in \
9268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9269 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9271 esac; \
9272 srcdiroption="--srcdir=$${topdir}/find"; \
9273 libsrcdir="$$s/find"; \
9274 $(SHELL) $${libsrcdir}/configure \
9275 $(HOST_CONFIGARGS) $${srcdiroption} \
9276 || exit 1
9277 @endif find
9283 .PHONY: all-find maybe-all-find
9284 maybe-all-find:
9285 @if find
9286 TARGET-find=all
9287 maybe-all-find: all-find
9288 all-find: configure-find
9289 @: $(MAKE); $(unstage)
9290 @r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(HOST_EXPORTS) \
9293 (cd $(HOST_SUBDIR)/find && \
9294 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9295 @endif find
9300 .PHONY: check-find maybe-check-find
9301 maybe-check-find:
9302 @if find
9303 maybe-check-find: check-find
9305 check-find:
9306 @: $(MAKE); $(unstage)
9307 @r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9309 $(HOST_EXPORTS) \
9310 (cd $(HOST_SUBDIR)/find && \
9311 $(MAKE) $(FLAGS_TO_PASS) check)
9313 @endif find
9315 .PHONY: install-find maybe-install-find
9316 maybe-install-find:
9317 @if find
9318 maybe-install-find: install-find
9320 install-find: installdirs
9321 @: $(MAKE); $(unstage)
9322 @r=`${PWD_COMMAND}`; export r; \
9323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9324 $(HOST_EXPORTS) \
9325 (cd $(HOST_SUBDIR)/find && \
9326 $(MAKE) $(FLAGS_TO_PASS) install)
9328 @endif find
9330 # Other targets (info, dvi, etc.)
9332 .PHONY: maybe-info-find info-find
9333 maybe-info-find:
9334 @if find
9335 maybe-info-find: info-find
9337 info-find: \
9338 configure-find
9339 @: $(MAKE); $(unstage)
9340 @[ -f ./find/Makefile ] || exit 0; \
9341 r=`${PWD_COMMAND}`; export r; \
9342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9343 $(HOST_EXPORTS) \
9344 for flag in $(EXTRA_HOST_FLAGS) ; do \
9345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9346 done; \
9347 echo "Doing info in find" ; \
9348 (cd $(HOST_SUBDIR)/find && \
9349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9351 "RANLIB=$${RANLIB}" \
9352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9353 info) \
9354 || exit 1
9356 @endif find
9358 .PHONY: maybe-dvi-find dvi-find
9359 maybe-dvi-find:
9360 @if find
9361 maybe-dvi-find: dvi-find
9363 dvi-find: \
9364 configure-find
9365 @: $(MAKE); $(unstage)
9366 @[ -f ./find/Makefile ] || exit 0; \
9367 r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 $(HOST_EXPORTS) \
9370 for flag in $(EXTRA_HOST_FLAGS) ; do \
9371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9372 done; \
9373 echo "Doing dvi in find" ; \
9374 (cd $(HOST_SUBDIR)/find && \
9375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9377 "RANLIB=$${RANLIB}" \
9378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9379 dvi) \
9380 || exit 1
9382 @endif find
9384 .PHONY: maybe-html-find html-find
9385 maybe-html-find:
9386 @if find
9387 maybe-html-find: html-find
9389 html-find: \
9390 configure-find
9391 @: $(MAKE); $(unstage)
9392 @[ -f ./find/Makefile ] || exit 0; \
9393 r=`${PWD_COMMAND}`; export r; \
9394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9395 $(HOST_EXPORTS) \
9396 for flag in $(EXTRA_HOST_FLAGS) ; do \
9397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9398 done; \
9399 echo "Doing html in find" ; \
9400 (cd $(HOST_SUBDIR)/find && \
9401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9403 "RANLIB=$${RANLIB}" \
9404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9405 html) \
9406 || exit 1
9408 @endif find
9410 .PHONY: maybe-TAGS-find TAGS-find
9411 maybe-TAGS-find:
9412 @if find
9413 maybe-TAGS-find: TAGS-find
9415 TAGS-find: \
9416 configure-find
9417 @: $(MAKE); $(unstage)
9418 @[ -f ./find/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9421 $(HOST_EXPORTS) \
9422 for flag in $(EXTRA_HOST_FLAGS) ; do \
9423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9424 done; \
9425 echo "Doing TAGS in find" ; \
9426 (cd $(HOST_SUBDIR)/find && \
9427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9429 "RANLIB=$${RANLIB}" \
9430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9431 TAGS) \
9432 || exit 1
9434 @endif find
9436 .PHONY: maybe-install-info-find install-info-find
9437 maybe-install-info-find:
9438 @if find
9439 maybe-install-info-find: install-info-find
9441 install-info-find: \
9442 configure-find \
9443 info-find
9444 @: $(MAKE); $(unstage)
9445 @[ -f ./find/Makefile ] || exit 0; \
9446 r=`${PWD_COMMAND}`; export r; \
9447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9448 $(HOST_EXPORTS) \
9449 for flag in $(EXTRA_HOST_FLAGS) ; do \
9450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 done; \
9452 echo "Doing install-info in find" ; \
9453 (cd $(HOST_SUBDIR)/find && \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9456 "RANLIB=$${RANLIB}" \
9457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9458 install-info) \
9459 || exit 1
9461 @endif find
9463 .PHONY: maybe-installcheck-find installcheck-find
9464 maybe-installcheck-find:
9465 @if find
9466 maybe-installcheck-find: installcheck-find
9468 installcheck-find: \
9469 configure-find
9470 @: $(MAKE); $(unstage)
9471 @[ -f ./find/Makefile ] || exit 0; \
9472 r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(HOST_EXPORTS) \
9475 for flag in $(EXTRA_HOST_FLAGS) ; do \
9476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9477 done; \
9478 echo "Doing installcheck in find" ; \
9479 (cd $(HOST_SUBDIR)/find && \
9480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9482 "RANLIB=$${RANLIB}" \
9483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9484 installcheck) \
9485 || exit 1
9487 @endif find
9489 .PHONY: maybe-mostlyclean-find mostlyclean-find
9490 maybe-mostlyclean-find:
9491 @if find
9492 maybe-mostlyclean-find: mostlyclean-find
9494 mostlyclean-find:
9495 @: $(MAKE); $(unstage)
9496 @[ -f ./find/Makefile ] || exit 0; \
9497 r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 $(HOST_EXPORTS) \
9500 for flag in $(EXTRA_HOST_FLAGS) ; do \
9501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9502 done; \
9503 echo "Doing mostlyclean in find" ; \
9504 (cd $(HOST_SUBDIR)/find && \
9505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9507 "RANLIB=$${RANLIB}" \
9508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9509 mostlyclean) \
9510 || exit 1
9512 @endif find
9514 .PHONY: maybe-clean-find clean-find
9515 maybe-clean-find:
9516 @if find
9517 maybe-clean-find: clean-find
9519 clean-find:
9520 @: $(MAKE); $(unstage)
9521 @[ -f ./find/Makefile ] || exit 0; \
9522 r=`${PWD_COMMAND}`; export r; \
9523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9524 $(HOST_EXPORTS) \
9525 for flag in $(EXTRA_HOST_FLAGS) ; do \
9526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9527 done; \
9528 echo "Doing clean in find" ; \
9529 (cd $(HOST_SUBDIR)/find && \
9530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9532 "RANLIB=$${RANLIB}" \
9533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9534 clean) \
9535 || exit 1
9537 @endif find
9539 .PHONY: maybe-distclean-find distclean-find
9540 maybe-distclean-find:
9541 @if find
9542 maybe-distclean-find: distclean-find
9544 distclean-find:
9545 @: $(MAKE); $(unstage)
9546 @[ -f ./find/Makefile ] || exit 0; \
9547 r=`${PWD_COMMAND}`; export r; \
9548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9549 $(HOST_EXPORTS) \
9550 for flag in $(EXTRA_HOST_FLAGS) ; do \
9551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9552 done; \
9553 echo "Doing distclean in find" ; \
9554 (cd $(HOST_SUBDIR)/find && \
9555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9557 "RANLIB=$${RANLIB}" \
9558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9559 distclean) \
9560 || exit 1
9562 @endif find
9564 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9565 maybe-maintainer-clean-find:
9566 @if find
9567 maybe-maintainer-clean-find: maintainer-clean-find
9569 maintainer-clean-find:
9570 @: $(MAKE); $(unstage)
9571 @[ -f ./find/Makefile ] || exit 0; \
9572 r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9574 $(HOST_EXPORTS) \
9575 for flag in $(EXTRA_HOST_FLAGS) ; do \
9576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9577 done; \
9578 echo "Doing maintainer-clean in find" ; \
9579 (cd $(HOST_SUBDIR)/find && \
9580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9582 "RANLIB=$${RANLIB}" \
9583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9584 maintainer-clean) \
9585 || exit 1
9587 @endif find
9591 .PHONY: configure-fixincludes maybe-configure-fixincludes
9592 maybe-configure-fixincludes:
9593 @if fixincludes
9594 maybe-configure-fixincludes: configure-fixincludes
9595 configure-fixincludes:
9596 @: $(MAKE); $(unstage)
9597 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9599 r=`${PWD_COMMAND}`; export r; \
9600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 $(HOST_EXPORTS) \
9602 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9603 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9604 case $(srcdir) in \
9605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9606 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9608 esac; \
9609 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9610 libsrcdir="$$s/fixincludes"; \
9611 $(SHELL) $${libsrcdir}/configure \
9612 $(HOST_CONFIGARGS) $${srcdiroption} \
9613 || exit 1
9614 @endif fixincludes
9620 .PHONY: all-fixincludes maybe-all-fixincludes
9621 maybe-all-fixincludes:
9622 @if fixincludes
9623 TARGET-fixincludes=all
9624 maybe-all-fixincludes: all-fixincludes
9625 all-fixincludes: configure-fixincludes
9626 @: $(MAKE); $(unstage)
9627 @r=`${PWD_COMMAND}`; export r; \
9628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9629 $(HOST_EXPORTS) \
9630 (cd $(HOST_SUBDIR)/fixincludes && \
9631 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9632 @endif fixincludes
9637 .PHONY: check-fixincludes maybe-check-fixincludes
9638 maybe-check-fixincludes:
9639 @if fixincludes
9640 maybe-check-fixincludes: check-fixincludes
9642 check-fixincludes:
9643 @: $(MAKE); $(unstage)
9644 @r=`${PWD_COMMAND}`; export r; \
9645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9646 $(HOST_EXPORTS) \
9647 (cd $(HOST_SUBDIR)/fixincludes && \
9648 $(MAKE) $(FLAGS_TO_PASS) check)
9650 @endif fixincludes
9652 .PHONY: install-fixincludes maybe-install-fixincludes
9653 maybe-install-fixincludes:
9654 @if fixincludes
9655 maybe-install-fixincludes: install-fixincludes
9657 install-fixincludes: installdirs
9658 @: $(MAKE); $(unstage)
9659 @r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(HOST_EXPORTS) \
9662 (cd $(HOST_SUBDIR)/fixincludes && \
9663 $(MAKE) $(FLAGS_TO_PASS) install)
9665 @endif fixincludes
9667 # Other targets (info, dvi, etc.)
9669 .PHONY: maybe-info-fixincludes info-fixincludes
9670 maybe-info-fixincludes:
9671 @if fixincludes
9672 maybe-info-fixincludes: info-fixincludes
9674 # fixincludes doesn't support info.
9675 info-fixincludes:
9677 @endif fixincludes
9679 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9680 maybe-dvi-fixincludes:
9681 @if fixincludes
9682 maybe-dvi-fixincludes: dvi-fixincludes
9684 # fixincludes doesn't support dvi.
9685 dvi-fixincludes:
9687 @endif fixincludes
9689 .PHONY: maybe-html-fixincludes html-fixincludes
9690 maybe-html-fixincludes:
9691 @if fixincludes
9692 maybe-html-fixincludes: html-fixincludes
9694 html-fixincludes: \
9695 configure-fixincludes
9696 @: $(MAKE); $(unstage)
9697 @[ -f ./fixincludes/Makefile ] || exit 0; \
9698 r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 $(HOST_EXPORTS) \
9701 for flag in $(EXTRA_HOST_FLAGS) ; do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 done; \
9704 echo "Doing html in fixincludes" ; \
9705 (cd $(HOST_SUBDIR)/fixincludes && \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9710 html) \
9711 || exit 1
9713 @endif fixincludes
9715 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9716 maybe-TAGS-fixincludes:
9717 @if fixincludes
9718 maybe-TAGS-fixincludes: TAGS-fixincludes
9720 # fixincludes doesn't support TAGS.
9721 TAGS-fixincludes:
9723 @endif fixincludes
9725 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9726 maybe-install-info-fixincludes:
9727 @if fixincludes
9728 maybe-install-info-fixincludes: install-info-fixincludes
9730 # fixincludes doesn't support install-info.
9731 install-info-fixincludes:
9733 @endif fixincludes
9735 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9736 maybe-installcheck-fixincludes:
9737 @if fixincludes
9738 maybe-installcheck-fixincludes: installcheck-fixincludes
9740 # fixincludes doesn't support installcheck.
9741 installcheck-fixincludes:
9743 @endif fixincludes
9745 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9746 maybe-mostlyclean-fixincludes:
9747 @if fixincludes
9748 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9750 mostlyclean-fixincludes:
9751 @: $(MAKE); $(unstage)
9752 @[ -f ./fixincludes/Makefile ] || exit 0; \
9753 r=`${PWD_COMMAND}`; export r; \
9754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9755 $(HOST_EXPORTS) \
9756 for flag in $(EXTRA_HOST_FLAGS) ; do \
9757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9758 done; \
9759 echo "Doing mostlyclean in fixincludes" ; \
9760 (cd $(HOST_SUBDIR)/fixincludes && \
9761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9763 "RANLIB=$${RANLIB}" \
9764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9765 mostlyclean) \
9766 || exit 1
9768 @endif fixincludes
9770 .PHONY: maybe-clean-fixincludes clean-fixincludes
9771 maybe-clean-fixincludes:
9772 @if fixincludes
9773 maybe-clean-fixincludes: clean-fixincludes
9775 clean-fixincludes:
9776 @: $(MAKE); $(unstage)
9777 @[ -f ./fixincludes/Makefile ] || exit 0; \
9778 r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 for flag in $(EXTRA_HOST_FLAGS) ; do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 done; \
9784 echo "Doing clean in fixincludes" ; \
9785 (cd $(HOST_SUBDIR)/fixincludes && \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9790 clean) \
9791 || exit 1
9793 @endif fixincludes
9795 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9796 maybe-distclean-fixincludes:
9797 @if fixincludes
9798 maybe-distclean-fixincludes: distclean-fixincludes
9800 distclean-fixincludes:
9801 @: $(MAKE); $(unstage)
9802 @[ -f ./fixincludes/Makefile ] || exit 0; \
9803 r=`${PWD_COMMAND}`; export r; \
9804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 $(HOST_EXPORTS) \
9806 for flag in $(EXTRA_HOST_FLAGS) ; do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 done; \
9809 echo "Doing distclean in fixincludes" ; \
9810 (cd $(HOST_SUBDIR)/fixincludes && \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9815 distclean) \
9816 || exit 1
9818 @endif fixincludes
9820 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9821 maybe-maintainer-clean-fixincludes:
9822 @if fixincludes
9823 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9825 maintainer-clean-fixincludes:
9826 @: $(MAKE); $(unstage)
9827 @[ -f ./fixincludes/Makefile ] || exit 0; \
9828 r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 $(HOST_EXPORTS) \
9831 for flag in $(EXTRA_HOST_FLAGS) ; do \
9832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9833 done; \
9834 echo "Doing maintainer-clean in fixincludes" ; \
9835 (cd $(HOST_SUBDIR)/fixincludes && \
9836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9838 "RANLIB=$${RANLIB}" \
9839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9840 maintainer-clean) \
9841 || exit 1
9843 @endif fixincludes
9847 .PHONY: configure-flex maybe-configure-flex
9848 maybe-configure-flex:
9849 @if flex
9850 maybe-configure-flex: configure-flex
9851 configure-flex:
9852 @: $(MAKE); $(unstage)
9853 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9855 r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(HOST_EXPORTS) \
9858 echo Configuring in $(HOST_SUBDIR)/flex; \
9859 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9860 case $(srcdir) in \
9861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9862 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9864 esac; \
9865 srcdiroption="--srcdir=$${topdir}/flex"; \
9866 libsrcdir="$$s/flex"; \
9867 $(SHELL) $${libsrcdir}/configure \
9868 $(HOST_CONFIGARGS) $${srcdiroption} \
9869 || exit 1
9870 @endif flex
9876 .PHONY: all-flex maybe-all-flex
9877 maybe-all-flex:
9878 @if flex
9879 TARGET-flex=all
9880 maybe-all-flex: all-flex
9881 all-flex: configure-flex
9882 @: $(MAKE); $(unstage)
9883 @r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9885 $(HOST_EXPORTS) \
9886 (cd $(HOST_SUBDIR)/flex && \
9887 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9888 @endif flex
9893 .PHONY: check-flex maybe-check-flex
9894 maybe-check-flex:
9895 @if flex
9896 maybe-check-flex: check-flex
9898 # This module is only tested in a native toolchain.
9899 check-flex:
9900 @: $(MAKE); $(unstage)
9901 @if [ '$(host)' = '$(target)' ] ; then \
9902 r=`${PWD_COMMAND}`; export r; \
9903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 $(HOST_EXPORTS) \
9905 (cd $(HOST_SUBDIR)/flex && \
9906 $(MAKE) $(FLAGS_TO_PASS) check); \
9909 @endif flex
9911 .PHONY: install-flex maybe-install-flex
9912 maybe-install-flex:
9913 @if flex
9914 maybe-install-flex: install-flex
9916 install-flex: installdirs
9917 @: $(MAKE); $(unstage)
9918 @r=`${PWD_COMMAND}`; export r; \
9919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 $(HOST_EXPORTS) \
9921 (cd $(HOST_SUBDIR)/flex && \
9922 $(MAKE) $(FLAGS_TO_PASS) install)
9924 @endif flex
9926 # Other targets (info, dvi, etc.)
9928 .PHONY: maybe-info-flex info-flex
9929 maybe-info-flex:
9930 @if flex
9931 maybe-info-flex: info-flex
9933 info-flex: \
9934 configure-flex
9935 @: $(MAKE); $(unstage)
9936 @[ -f ./flex/Makefile ] || exit 0; \
9937 r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939 $(HOST_EXPORTS) \
9940 for flag in $(EXTRA_HOST_FLAGS) ; do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942 done; \
9943 echo "Doing info in flex" ; \
9944 (cd $(HOST_SUBDIR)/flex && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9949 info) \
9950 || exit 1
9952 @endif flex
9954 .PHONY: maybe-dvi-flex dvi-flex
9955 maybe-dvi-flex:
9956 @if flex
9957 maybe-dvi-flex: dvi-flex
9959 dvi-flex: \
9960 configure-flex
9961 @: $(MAKE); $(unstage)
9962 @[ -f ./flex/Makefile ] || exit 0; \
9963 r=`${PWD_COMMAND}`; export r; \
9964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9965 $(HOST_EXPORTS) \
9966 for flag in $(EXTRA_HOST_FLAGS) ; do \
9967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9968 done; \
9969 echo "Doing dvi in flex" ; \
9970 (cd $(HOST_SUBDIR)/flex && \
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 dvi) \
9976 || exit 1
9978 @endif flex
9980 .PHONY: maybe-html-flex html-flex
9981 maybe-html-flex:
9982 @if flex
9983 maybe-html-flex: html-flex
9985 html-flex: \
9986 configure-flex
9987 @: $(MAKE); $(unstage)
9988 @[ -f ./flex/Makefile ] || exit 0; \
9989 r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 for flag in $(EXTRA_HOST_FLAGS) ; do \
9993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 done; \
9995 echo "Doing html in flex" ; \
9996 (cd $(HOST_SUBDIR)/flex && \
9997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9999 "RANLIB=$${RANLIB}" \
10000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10001 html) \
10002 || exit 1
10004 @endif flex
10006 .PHONY: maybe-TAGS-flex TAGS-flex
10007 maybe-TAGS-flex:
10008 @if flex
10009 maybe-TAGS-flex: TAGS-flex
10011 TAGS-flex: \
10012 configure-flex
10013 @: $(MAKE); $(unstage)
10014 @[ -f ./flex/Makefile ] || exit 0; \
10015 r=`${PWD_COMMAND}`; export r; \
10016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 $(HOST_EXPORTS) \
10018 for flag in $(EXTRA_HOST_FLAGS) ; do \
10019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10020 done; \
10021 echo "Doing TAGS in flex" ; \
10022 (cd $(HOST_SUBDIR)/flex && \
10023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10025 "RANLIB=$${RANLIB}" \
10026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10027 TAGS) \
10028 || exit 1
10030 @endif flex
10032 .PHONY: maybe-install-info-flex install-info-flex
10033 maybe-install-info-flex:
10034 @if flex
10035 maybe-install-info-flex: install-info-flex
10037 install-info-flex: \
10038 configure-flex \
10039 info-flex
10040 @: $(MAKE); $(unstage)
10041 @[ -f ./flex/Makefile ] || exit 0; \
10042 r=`${PWD_COMMAND}`; export r; \
10043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10044 $(HOST_EXPORTS) \
10045 for flag in $(EXTRA_HOST_FLAGS) ; do \
10046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10047 done; \
10048 echo "Doing install-info in flex" ; \
10049 (cd $(HOST_SUBDIR)/flex && \
10050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10052 "RANLIB=$${RANLIB}" \
10053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10054 install-info) \
10055 || exit 1
10057 @endif flex
10059 .PHONY: maybe-installcheck-flex installcheck-flex
10060 maybe-installcheck-flex:
10061 @if flex
10062 maybe-installcheck-flex: installcheck-flex
10064 installcheck-flex: \
10065 configure-flex
10066 @: $(MAKE); $(unstage)
10067 @[ -f ./flex/Makefile ] || exit 0; \
10068 r=`${PWD_COMMAND}`; export r; \
10069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10070 $(HOST_EXPORTS) \
10071 for flag in $(EXTRA_HOST_FLAGS) ; do \
10072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10073 done; \
10074 echo "Doing installcheck in flex" ; \
10075 (cd $(HOST_SUBDIR)/flex && \
10076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10078 "RANLIB=$${RANLIB}" \
10079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10080 installcheck) \
10081 || exit 1
10083 @endif flex
10085 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10086 maybe-mostlyclean-flex:
10087 @if flex
10088 maybe-mostlyclean-flex: mostlyclean-flex
10090 mostlyclean-flex:
10091 @: $(MAKE); $(unstage)
10092 @[ -f ./flex/Makefile ] || exit 0; \
10093 r=`${PWD_COMMAND}`; export r; \
10094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10095 $(HOST_EXPORTS) \
10096 for flag in $(EXTRA_HOST_FLAGS) ; do \
10097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10098 done; \
10099 echo "Doing mostlyclean in flex" ; \
10100 (cd $(HOST_SUBDIR)/flex && \
10101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10103 "RANLIB=$${RANLIB}" \
10104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10105 mostlyclean) \
10106 || exit 1
10108 @endif flex
10110 .PHONY: maybe-clean-flex clean-flex
10111 maybe-clean-flex:
10112 @if flex
10113 maybe-clean-flex: clean-flex
10115 clean-flex:
10116 @: $(MAKE); $(unstage)
10117 @[ -f ./flex/Makefile ] || exit 0; \
10118 r=`${PWD_COMMAND}`; export r; \
10119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10120 $(HOST_EXPORTS) \
10121 for flag in $(EXTRA_HOST_FLAGS) ; do \
10122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10123 done; \
10124 echo "Doing clean in flex" ; \
10125 (cd $(HOST_SUBDIR)/flex && \
10126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10128 "RANLIB=$${RANLIB}" \
10129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10130 clean) \
10131 || exit 1
10133 @endif flex
10135 .PHONY: maybe-distclean-flex distclean-flex
10136 maybe-distclean-flex:
10137 @if flex
10138 maybe-distclean-flex: distclean-flex
10140 distclean-flex:
10141 @: $(MAKE); $(unstage)
10142 @[ -f ./flex/Makefile ] || exit 0; \
10143 r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(HOST_EXPORTS) \
10146 for flag in $(EXTRA_HOST_FLAGS) ; do \
10147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10148 done; \
10149 echo "Doing distclean in flex" ; \
10150 (cd $(HOST_SUBDIR)/flex && \
10151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10153 "RANLIB=$${RANLIB}" \
10154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10155 distclean) \
10156 || exit 1
10158 @endif flex
10160 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10161 maybe-maintainer-clean-flex:
10162 @if flex
10163 maybe-maintainer-clean-flex: maintainer-clean-flex
10165 maintainer-clean-flex:
10166 @: $(MAKE); $(unstage)
10167 @[ -f ./flex/Makefile ] || exit 0; \
10168 r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 $(HOST_EXPORTS) \
10171 for flag in $(EXTRA_HOST_FLAGS) ; do \
10172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10173 done; \
10174 echo "Doing maintainer-clean in flex" ; \
10175 (cd $(HOST_SUBDIR)/flex && \
10176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10178 "RANLIB=$${RANLIB}" \
10179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10180 maintainer-clean) \
10181 || exit 1
10183 @endif flex
10187 .PHONY: configure-gas maybe-configure-gas
10188 maybe-configure-gas:
10189 @if gas
10190 maybe-configure-gas: configure-gas
10191 configure-gas:
10192 @test -f stage_last && exit 0; \
10193 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 echo Configuring in $(HOST_SUBDIR)/gas; \
10199 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10200 case $(srcdir) in \
10201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10202 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10204 esac; \
10205 srcdiroption="--srcdir=$${topdir}/gas"; \
10206 libsrcdir="$$s/gas"; \
10207 $(SHELL) $${libsrcdir}/configure \
10208 $(HOST_CONFIGARGS) $${srcdiroption} \
10209 || exit 1
10210 @endif gas
10214 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10215 maybe-configure-stage1-gas:
10216 @if gas-bootstrap
10217 maybe-configure-stage1-gas: configure-stage1-gas
10218 configure-stage1-gas:
10219 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10221 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10222 $(HOST_EXPORTS) \
10223 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10225 cd $(HOST_SUBDIR)/gas || exit 1; \
10226 case $(srcdir) in \
10227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10228 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10230 esac; \
10231 srcdiroption="--srcdir=$${topdir}/gas"; \
10232 libsrcdir="$$s/gas"; \
10233 $(SHELL) $${libsrcdir}/configure \
10234 $(HOST_CONFIGARGS) $${srcdiroption} \
10235 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10236 @endif gas-bootstrap
10238 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10239 maybe-configure-stage2-gas:
10240 @if gas-bootstrap
10241 maybe-configure-stage2-gas: configure-stage2-gas
10242 configure-stage2-gas:
10243 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10244 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10245 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10246 $(HOST_EXPORTS) \
10247 $(POSTSTAGE1_HOST_EXPORTS) \
10248 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10250 cd $(HOST_SUBDIR)/gas || exit 1; \
10251 case $(srcdir) in \
10252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10253 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10255 esac; \
10256 srcdiroption="--srcdir=$${topdir}/gas"; \
10257 libsrcdir="$$s/gas"; \
10258 $(SHELL) $${libsrcdir}/configure \
10259 $(HOST_CONFIGARGS) $${srcdiroption} \
10260 @stage2_werror_flag@
10261 @endif gas-bootstrap
10263 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10264 maybe-configure-stage3-gas:
10265 @if gas-bootstrap
10266 maybe-configure-stage3-gas: configure-stage3-gas
10267 configure-stage3-gas:
10268 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10270 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10271 $(HOST_EXPORTS) \
10272 $(POSTSTAGE1_HOST_EXPORTS) \
10273 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10275 cd $(HOST_SUBDIR)/gas || exit 1; \
10276 case $(srcdir) in \
10277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10278 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10280 esac; \
10281 srcdiroption="--srcdir=$${topdir}/gas"; \
10282 libsrcdir="$$s/gas"; \
10283 $(SHELL) $${libsrcdir}/configure \
10284 $(HOST_CONFIGARGS) $${srcdiroption} \
10285 @stage2_werror_flag@
10286 @endif gas-bootstrap
10288 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10289 maybe-configure-stage4-gas:
10290 @if gas-bootstrap
10291 maybe-configure-stage4-gas: configure-stage4-gas
10292 configure-stage4-gas:
10293 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10295 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10296 $(HOST_EXPORTS) \
10297 $(POSTSTAGE1_HOST_EXPORTS) \
10298 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10300 cd $(HOST_SUBDIR)/gas || exit 1; \
10301 case $(srcdir) in \
10302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10303 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10305 esac; \
10306 srcdiroption="--srcdir=$${topdir}/gas"; \
10307 libsrcdir="$$s/gas"; \
10308 $(SHELL) $${libsrcdir}/configure \
10309 $(HOST_CONFIGARGS) $${srcdiroption} \
10310 @stage2_werror_flag@
10311 @endif gas-bootstrap
10313 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10314 maybe-configure-stageprofile-gas:
10315 @if gas-bootstrap
10316 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10317 configure-stageprofile-gas:
10318 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10319 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10320 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10321 $(HOST_EXPORTS) \
10322 $(POSTSTAGE1_HOST_EXPORTS) \
10323 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10325 cd $(HOST_SUBDIR)/gas || exit 1; \
10326 case $(srcdir) in \
10327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10328 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10330 esac; \
10331 srcdiroption="--srcdir=$${topdir}/gas"; \
10332 libsrcdir="$$s/gas"; \
10333 $(SHELL) $${libsrcdir}/configure \
10334 $(HOST_CONFIGARGS) $${srcdiroption} \
10335 @stage2_werror_flag@
10336 @endif gas-bootstrap
10338 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10339 maybe-configure-stagefeedback-gas:
10340 @if gas-bootstrap
10341 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10342 configure-stagefeedback-gas:
10343 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10345 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10346 $(HOST_EXPORTS) \
10347 $(POSTSTAGE1_HOST_EXPORTS) \
10348 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10350 cd $(HOST_SUBDIR)/gas || exit 1; \
10351 case $(srcdir) in \
10352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10353 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10355 esac; \
10356 srcdiroption="--srcdir=$${topdir}/gas"; \
10357 libsrcdir="$$s/gas"; \
10358 $(SHELL) $${libsrcdir}/configure \
10359 $(HOST_CONFIGARGS) $${srcdiroption} \
10360 @stage2_werror_flag@
10361 @endif gas-bootstrap
10367 .PHONY: all-gas maybe-all-gas
10368 maybe-all-gas:
10369 @if gas
10370 TARGET-gas=all
10371 maybe-all-gas: all-gas
10372 all-gas: configure-gas
10373 @test -f stage_last && exit 0; \
10374 r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10376 $(HOST_EXPORTS) \
10377 (cd $(HOST_SUBDIR)/gas && \
10378 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10379 @endif gas
10383 .PHONY: all-stage1-gas maybe-all-stage1-gas
10384 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10385 maybe-all-stage1-gas:
10386 maybe-clean-stage1-gas:
10387 @if gas-bootstrap
10388 maybe-all-stage1-gas: all-stage1-gas
10389 all-stage1: all-stage1-gas
10390 TARGET-stage1-gas = $(TARGET-gas)
10391 all-stage1-gas: configure-stage1-gas
10392 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10393 @r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 $(HOST_EXPORTS) \
10396 cd $(HOST_SUBDIR)/gas && \
10397 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10398 $(TARGET-stage1-gas)
10400 maybe-clean-stage1-gas: clean-stage1-gas
10401 clean-stage1: clean-stage1-gas
10402 clean-stage1-gas:
10403 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10404 || exit 0 ; \
10405 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10406 cd $(HOST_SUBDIR)/gas && \
10407 $(MAKE) $(FLAGS_TO_PASS) \
10408 CFLAGS="$(STAGE1_CFLAGS)" clean
10409 @endif gas-bootstrap
10412 .PHONY: all-stage2-gas maybe-all-stage2-gas
10413 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10414 maybe-all-stage2-gas:
10415 maybe-clean-stage2-gas:
10416 @if gas-bootstrap
10417 maybe-all-stage2-gas: all-stage2-gas
10418 all-stage2: all-stage2-gas
10419 TARGET-stage2-gas = $(TARGET-gas)
10420 all-stage2-gas: configure-stage2-gas
10421 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10422 @r=`${PWD_COMMAND}`; export r; \
10423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10424 $(HOST_EXPORTS) \
10425 $(POSTSTAGE1_HOST_EXPORTS) \
10426 cd $(HOST_SUBDIR)/gas && \
10427 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10428 $(TARGET-stage2-gas)
10430 maybe-clean-stage2-gas: clean-stage2-gas
10431 clean-stage2: clean-stage2-gas
10432 clean-stage2-gas:
10433 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10434 || exit 0 ; \
10435 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10436 cd $(HOST_SUBDIR)/gas && \
10437 $(MAKE) $(FLAGS_TO_PASS) \
10438 $(POSTSTAGE1_FLAGS_TO_PASS) \
10439 clean
10440 @endif gas-bootstrap
10443 .PHONY: all-stage3-gas maybe-all-stage3-gas
10444 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10445 maybe-all-stage3-gas:
10446 maybe-clean-stage3-gas:
10447 @if gas-bootstrap
10448 maybe-all-stage3-gas: all-stage3-gas
10449 all-stage3: all-stage3-gas
10450 TARGET-stage3-gas = $(TARGET-gas)
10451 all-stage3-gas: configure-stage3-gas
10452 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10453 @r=`${PWD_COMMAND}`; export r; \
10454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10455 $(HOST_EXPORTS) \
10456 $(POSTSTAGE1_HOST_EXPORTS) \
10457 cd $(HOST_SUBDIR)/gas && \
10458 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10459 $(TARGET-stage3-gas)
10461 maybe-clean-stage3-gas: clean-stage3-gas
10462 clean-stage3: clean-stage3-gas
10463 clean-stage3-gas:
10464 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10465 || exit 0 ; \
10466 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10467 cd $(HOST_SUBDIR)/gas && \
10468 $(MAKE) $(FLAGS_TO_PASS) \
10469 $(POSTSTAGE1_FLAGS_TO_PASS) \
10470 clean
10471 @endif gas-bootstrap
10474 .PHONY: all-stage4-gas maybe-all-stage4-gas
10475 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10476 maybe-all-stage4-gas:
10477 maybe-clean-stage4-gas:
10478 @if gas-bootstrap
10479 maybe-all-stage4-gas: all-stage4-gas
10480 all-stage4: all-stage4-gas
10481 TARGET-stage4-gas = $(TARGET-gas)
10482 all-stage4-gas: configure-stage4-gas
10483 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10484 @r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486 $(HOST_EXPORTS) \
10487 $(POSTSTAGE1_HOST_EXPORTS) \
10488 cd $(HOST_SUBDIR)/gas && \
10489 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10490 $(TARGET-stage4-gas)
10492 maybe-clean-stage4-gas: clean-stage4-gas
10493 clean-stage4: clean-stage4-gas
10494 clean-stage4-gas:
10495 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10496 || exit 0 ; \
10497 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10498 cd $(HOST_SUBDIR)/gas && \
10499 $(MAKE) $(FLAGS_TO_PASS) \
10500 $(POSTSTAGE1_FLAGS_TO_PASS) \
10501 clean
10502 @endif gas-bootstrap
10505 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10506 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10507 maybe-all-stageprofile-gas:
10508 maybe-clean-stageprofile-gas:
10509 @if gas-bootstrap
10510 maybe-all-stageprofile-gas: all-stageprofile-gas
10511 all-stageprofile: all-stageprofile-gas
10512 TARGET-stageprofile-gas = $(TARGET-gas)
10513 all-stageprofile-gas: configure-stageprofile-gas
10514 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 $(HOST_EXPORTS) \
10518 $(POSTSTAGE1_HOST_EXPORTS) \
10519 cd $(HOST_SUBDIR)/gas && \
10520 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10521 $(TARGET-stageprofile-gas)
10523 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10524 clean-stageprofile: clean-stageprofile-gas
10525 clean-stageprofile-gas:
10526 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10527 || exit 0 ; \
10528 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10529 cd $(HOST_SUBDIR)/gas && \
10530 $(MAKE) $(FLAGS_TO_PASS) \
10531 $(POSTSTAGE1_FLAGS_TO_PASS) \
10532 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10533 @endif gas-bootstrap
10536 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10537 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10538 maybe-all-stagefeedback-gas:
10539 maybe-clean-stagefeedback-gas:
10540 @if gas-bootstrap
10541 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10542 all-stagefeedback: all-stagefeedback-gas
10543 TARGET-stagefeedback-gas = $(TARGET-gas)
10544 all-stagefeedback-gas: configure-stagefeedback-gas
10545 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10546 @r=`${PWD_COMMAND}`; export r; \
10547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10548 $(HOST_EXPORTS) \
10549 $(POSTSTAGE1_HOST_EXPORTS) \
10550 cd $(HOST_SUBDIR)/gas && \
10551 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10552 $(TARGET-stagefeedback-gas)
10554 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10555 clean-stagefeedback: clean-stagefeedback-gas
10556 clean-stagefeedback-gas:
10557 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10558 || exit 0 ; \
10559 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10560 cd $(HOST_SUBDIR)/gas && \
10561 $(MAKE) $(FLAGS_TO_PASS) \
10562 $(POSTSTAGE1_FLAGS_TO_PASS) \
10563 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10564 @endif gas-bootstrap
10570 .PHONY: check-gas maybe-check-gas
10571 maybe-check-gas:
10572 @if gas
10573 maybe-check-gas: check-gas
10575 check-gas:
10576 @: $(MAKE); $(unstage)
10577 @r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10579 $(HOST_EXPORTS) \
10580 (cd $(HOST_SUBDIR)/gas && \
10581 $(MAKE) $(FLAGS_TO_PASS) check)
10583 @endif gas
10585 .PHONY: install-gas maybe-install-gas
10586 maybe-install-gas:
10587 @if gas
10588 maybe-install-gas: install-gas
10590 install-gas: installdirs
10591 @: $(MAKE); $(unstage)
10592 @r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 $(HOST_EXPORTS) \
10595 (cd $(HOST_SUBDIR)/gas && \
10596 $(MAKE) $(FLAGS_TO_PASS) install)
10598 @endif gas
10600 # Other targets (info, dvi, etc.)
10602 .PHONY: maybe-info-gas info-gas
10603 maybe-info-gas:
10604 @if gas
10605 maybe-info-gas: info-gas
10607 info-gas: \
10608 configure-gas
10609 @[ -f ./gas/Makefile ] || exit 0; \
10610 r=`${PWD_COMMAND}`; export r; \
10611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10612 $(HOST_EXPORTS) \
10613 for flag in $(EXTRA_HOST_FLAGS) ; do \
10614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10615 done; \
10616 echo "Doing info in gas" ; \
10617 (cd $(HOST_SUBDIR)/gas && \
10618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10620 "RANLIB=$${RANLIB}" \
10621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10622 info) \
10623 || exit 1
10625 @endif gas
10627 .PHONY: maybe-dvi-gas dvi-gas
10628 maybe-dvi-gas:
10629 @if gas
10630 maybe-dvi-gas: dvi-gas
10632 dvi-gas: \
10633 configure-gas
10634 @[ -f ./gas/Makefile ] || exit 0; \
10635 r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(HOST_EXPORTS) \
10638 for flag in $(EXTRA_HOST_FLAGS) ; do \
10639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10640 done; \
10641 echo "Doing dvi in gas" ; \
10642 (cd $(HOST_SUBDIR)/gas && \
10643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10645 "RANLIB=$${RANLIB}" \
10646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10647 dvi) \
10648 || exit 1
10650 @endif gas
10652 .PHONY: maybe-html-gas html-gas
10653 maybe-html-gas:
10654 @if gas
10655 maybe-html-gas: html-gas
10657 html-gas: \
10658 configure-gas
10659 @[ -f ./gas/Makefile ] || exit 0; \
10660 r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 $(HOST_EXPORTS) \
10663 for flag in $(EXTRA_HOST_FLAGS) ; do \
10664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10665 done; \
10666 echo "Doing html in gas" ; \
10667 (cd $(HOST_SUBDIR)/gas && \
10668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10670 "RANLIB=$${RANLIB}" \
10671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10672 html) \
10673 || exit 1
10675 @endif gas
10677 .PHONY: maybe-TAGS-gas TAGS-gas
10678 maybe-TAGS-gas:
10679 @if gas
10680 maybe-TAGS-gas: TAGS-gas
10682 TAGS-gas: \
10683 configure-gas
10684 @[ -f ./gas/Makefile ] || exit 0; \
10685 r=`${PWD_COMMAND}`; export r; \
10686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10687 $(HOST_EXPORTS) \
10688 for flag in $(EXTRA_HOST_FLAGS) ; do \
10689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10690 done; \
10691 echo "Doing TAGS in gas" ; \
10692 (cd $(HOST_SUBDIR)/gas && \
10693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10695 "RANLIB=$${RANLIB}" \
10696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10697 TAGS) \
10698 || exit 1
10700 @endif gas
10702 .PHONY: maybe-install-info-gas install-info-gas
10703 maybe-install-info-gas:
10704 @if gas
10705 maybe-install-info-gas: install-info-gas
10707 install-info-gas: \
10708 configure-gas \
10709 info-gas
10710 @[ -f ./gas/Makefile ] || exit 0; \
10711 r=`${PWD_COMMAND}`; export r; \
10712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10713 $(HOST_EXPORTS) \
10714 for flag in $(EXTRA_HOST_FLAGS) ; do \
10715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10716 done; \
10717 echo "Doing install-info in gas" ; \
10718 (cd $(HOST_SUBDIR)/gas && \
10719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10721 "RANLIB=$${RANLIB}" \
10722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10723 install-info) \
10724 || exit 1
10726 @endif gas
10728 .PHONY: maybe-installcheck-gas installcheck-gas
10729 maybe-installcheck-gas:
10730 @if gas
10731 maybe-installcheck-gas: installcheck-gas
10733 installcheck-gas: \
10734 configure-gas
10735 @[ -f ./gas/Makefile ] || exit 0; \
10736 r=`${PWD_COMMAND}`; export r; \
10737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10738 $(HOST_EXPORTS) \
10739 for flag in $(EXTRA_HOST_FLAGS) ; do \
10740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10741 done; \
10742 echo "Doing installcheck in gas" ; \
10743 (cd $(HOST_SUBDIR)/gas && \
10744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10746 "RANLIB=$${RANLIB}" \
10747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10748 installcheck) \
10749 || exit 1
10751 @endif gas
10753 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10754 maybe-mostlyclean-gas:
10755 @if gas
10756 maybe-mostlyclean-gas: mostlyclean-gas
10758 mostlyclean-gas:
10759 @[ -f ./gas/Makefile ] || exit 0; \
10760 r=`${PWD_COMMAND}`; export r; \
10761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10762 $(HOST_EXPORTS) \
10763 for flag in $(EXTRA_HOST_FLAGS) ; do \
10764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10765 done; \
10766 echo "Doing mostlyclean in gas" ; \
10767 (cd $(HOST_SUBDIR)/gas && \
10768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10770 "RANLIB=$${RANLIB}" \
10771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10772 mostlyclean) \
10773 || exit 1
10775 @endif gas
10777 .PHONY: maybe-clean-gas clean-gas
10778 maybe-clean-gas:
10779 @if gas
10780 maybe-clean-gas: clean-gas
10782 clean-gas:
10783 @[ -f ./gas/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 for flag in $(EXTRA_HOST_FLAGS) ; do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789 done; \
10790 echo "Doing clean in gas" ; \
10791 (cd $(HOST_SUBDIR)/gas && \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10796 clean) \
10797 || exit 1
10799 @endif gas
10801 .PHONY: maybe-distclean-gas distclean-gas
10802 maybe-distclean-gas:
10803 @if gas
10804 maybe-distclean-gas: distclean-gas
10806 distclean-gas:
10807 @[ -f ./gas/Makefile ] || exit 0; \
10808 r=`${PWD_COMMAND}`; export r; \
10809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10810 $(HOST_EXPORTS) \
10811 for flag in $(EXTRA_HOST_FLAGS) ; do \
10812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10813 done; \
10814 echo "Doing distclean in gas" ; \
10815 (cd $(HOST_SUBDIR)/gas && \
10816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10818 "RANLIB=$${RANLIB}" \
10819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10820 distclean) \
10821 || exit 1
10823 @endif gas
10825 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10826 maybe-maintainer-clean-gas:
10827 @if gas
10828 maybe-maintainer-clean-gas: maintainer-clean-gas
10830 maintainer-clean-gas:
10831 @[ -f ./gas/Makefile ] || exit 0; \
10832 r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 $(HOST_EXPORTS) \
10835 for flag in $(EXTRA_HOST_FLAGS) ; do \
10836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10837 done; \
10838 echo "Doing maintainer-clean in gas" ; \
10839 (cd $(HOST_SUBDIR)/gas && \
10840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10842 "RANLIB=$${RANLIB}" \
10843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10844 maintainer-clean) \
10845 || exit 1
10847 @endif gas
10851 .PHONY: configure-gcc maybe-configure-gcc
10852 maybe-configure-gcc:
10853 @if gcc
10854 maybe-configure-gcc: configure-gcc
10855 configure-gcc:
10856 @test -f stage_last && exit 0; \
10857 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10859 r=`${PWD_COMMAND}`; export r; \
10860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10861 $(HOST_EXPORTS) \
10862 echo Configuring in $(HOST_SUBDIR)/gcc; \
10863 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10864 case $(srcdir) in \
10865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10866 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10868 esac; \
10869 srcdiroption="--srcdir=$${topdir}/gcc"; \
10870 libsrcdir="$$s/gcc"; \
10871 $(SHELL) $${libsrcdir}/configure \
10872 $(HOST_CONFIGARGS) $${srcdiroption} \
10873 || exit 1
10874 @endif gcc
10878 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10879 maybe-configure-stage1-gcc:
10880 @if gcc-bootstrap
10881 maybe-configure-stage1-gcc: configure-stage1-gcc
10882 configure-stage1-gcc:
10883 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10885 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10886 $(HOST_EXPORTS) \
10887 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10889 cd $(HOST_SUBDIR)/gcc || exit 1; \
10890 case $(srcdir) in \
10891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10892 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10894 esac; \
10895 srcdiroption="--srcdir=$${topdir}/gcc"; \
10896 libsrcdir="$$s/gcc"; \
10897 $(SHELL) $${libsrcdir}/configure \
10898 $(HOST_CONFIGARGS) $${srcdiroption} \
10899 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10900 @endif gcc-bootstrap
10902 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10903 maybe-configure-stage2-gcc:
10904 @if gcc-bootstrap
10905 maybe-configure-stage2-gcc: configure-stage2-gcc
10906 configure-stage2-gcc:
10907 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10909 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10910 $(HOST_EXPORTS) \
10911 $(POSTSTAGE1_HOST_EXPORTS) \
10912 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10914 cd $(HOST_SUBDIR)/gcc || exit 1; \
10915 case $(srcdir) in \
10916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10917 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10919 esac; \
10920 srcdiroption="--srcdir=$${topdir}/gcc"; \
10921 libsrcdir="$$s/gcc"; \
10922 $(SHELL) $${libsrcdir}/configure \
10923 $(HOST_CONFIGARGS) $${srcdiroption} \
10924 @stage2_werror_flag@
10925 @endif gcc-bootstrap
10927 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10928 maybe-configure-stage3-gcc:
10929 @if gcc-bootstrap
10930 maybe-configure-stage3-gcc: configure-stage3-gcc
10931 configure-stage3-gcc:
10932 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10934 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10935 $(HOST_EXPORTS) \
10936 $(POSTSTAGE1_HOST_EXPORTS) \
10937 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10939 cd $(HOST_SUBDIR)/gcc || exit 1; \
10940 case $(srcdir) in \
10941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10942 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10944 esac; \
10945 srcdiroption="--srcdir=$${topdir}/gcc"; \
10946 libsrcdir="$$s/gcc"; \
10947 $(SHELL) $${libsrcdir}/configure \
10948 $(HOST_CONFIGARGS) $${srcdiroption} \
10949 @stage2_werror_flag@
10950 @endif gcc-bootstrap
10952 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10953 maybe-configure-stage4-gcc:
10954 @if gcc-bootstrap
10955 maybe-configure-stage4-gcc: configure-stage4-gcc
10956 configure-stage4-gcc:
10957 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10959 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10960 $(HOST_EXPORTS) \
10961 $(POSTSTAGE1_HOST_EXPORTS) \
10962 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10964 cd $(HOST_SUBDIR)/gcc || exit 1; \
10965 case $(srcdir) in \
10966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10967 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10969 esac; \
10970 srcdiroption="--srcdir=$${topdir}/gcc"; \
10971 libsrcdir="$$s/gcc"; \
10972 $(SHELL) $${libsrcdir}/configure \
10973 $(HOST_CONFIGARGS) $${srcdiroption} \
10974 @stage2_werror_flag@
10975 @endif gcc-bootstrap
10977 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10978 maybe-configure-stageprofile-gcc:
10979 @if gcc-bootstrap
10980 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10981 configure-stageprofile-gcc:
10982 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10984 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10985 $(HOST_EXPORTS) \
10986 $(POSTSTAGE1_HOST_EXPORTS) \
10987 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10989 cd $(HOST_SUBDIR)/gcc || exit 1; \
10990 case $(srcdir) in \
10991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10992 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10994 esac; \
10995 srcdiroption="--srcdir=$${topdir}/gcc"; \
10996 libsrcdir="$$s/gcc"; \
10997 $(SHELL) $${libsrcdir}/configure \
10998 $(HOST_CONFIGARGS) $${srcdiroption} \
10999 @stage2_werror_flag@
11000 @endif gcc-bootstrap
11002 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11003 maybe-configure-stagefeedback-gcc:
11004 @if gcc-bootstrap
11005 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11006 configure-stagefeedback-gcc:
11007 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11009 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11010 $(HOST_EXPORTS) \
11011 $(POSTSTAGE1_HOST_EXPORTS) \
11012 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11014 cd $(HOST_SUBDIR)/gcc || exit 1; \
11015 case $(srcdir) in \
11016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11017 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11019 esac; \
11020 srcdiroption="--srcdir=$${topdir}/gcc"; \
11021 libsrcdir="$$s/gcc"; \
11022 $(SHELL) $${libsrcdir}/configure \
11023 $(HOST_CONFIGARGS) $${srcdiroption} \
11024 @stage2_werror_flag@
11025 @endif gcc-bootstrap
11031 .PHONY: all-gcc maybe-all-gcc
11032 maybe-all-gcc:
11033 @if gcc
11034 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11035 maybe-all-gcc: all-gcc
11036 all-gcc: configure-gcc
11037 @test -f stage_last && exit 0; \
11038 r=`${PWD_COMMAND}`; export r; \
11039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11040 $(HOST_EXPORTS) \
11041 (cd $(HOST_SUBDIR)/gcc && \
11042 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11043 @endif gcc
11047 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11048 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11049 maybe-all-stage1-gcc:
11050 maybe-clean-stage1-gcc:
11051 @if gcc-bootstrap
11052 maybe-all-stage1-gcc: all-stage1-gcc
11053 all-stage1: all-stage1-gcc
11054 TARGET-stage1-gcc = $(TARGET-gcc)
11055 all-stage1-gcc: configure-stage1-gcc
11056 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11057 @r=`${PWD_COMMAND}`; export r; \
11058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11059 $(HOST_EXPORTS) \
11060 cd $(HOST_SUBDIR)/gcc && \
11061 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11062 $(TARGET-stage1-gcc)
11064 maybe-clean-stage1-gcc: clean-stage1-gcc
11065 clean-stage1: clean-stage1-gcc
11066 clean-stage1-gcc:
11067 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11068 || exit 0 ; \
11069 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11070 cd $(HOST_SUBDIR)/gcc && \
11071 $(MAKE) $(FLAGS_TO_PASS) \
11072 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11073 @endif gcc-bootstrap
11076 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11077 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11078 maybe-all-stage2-gcc:
11079 maybe-clean-stage2-gcc:
11080 @if gcc-bootstrap
11081 maybe-all-stage2-gcc: all-stage2-gcc
11082 all-stage2: all-stage2-gcc
11083 TARGET-stage2-gcc = $(TARGET-gcc)
11084 all-stage2-gcc: configure-stage2-gcc
11085 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11086 @r=`${PWD_COMMAND}`; export r; \
11087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11088 $(HOST_EXPORTS) \
11089 $(POSTSTAGE1_HOST_EXPORTS) \
11090 cd $(HOST_SUBDIR)/gcc && \
11091 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11092 $(TARGET-stage2-gcc)
11094 maybe-clean-stage2-gcc: clean-stage2-gcc
11095 clean-stage2: clean-stage2-gcc
11096 clean-stage2-gcc:
11097 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11098 || exit 0 ; \
11099 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11100 cd $(HOST_SUBDIR)/gcc && \
11101 $(MAKE) $(FLAGS_TO_PASS) \
11102 $(POSTSTAGE1_FLAGS_TO_PASS) \
11103 $(EXTRA_GCC_FLAGS) clean
11104 @endif gcc-bootstrap
11107 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11108 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11109 maybe-all-stage3-gcc:
11110 maybe-clean-stage3-gcc:
11111 @if gcc-bootstrap
11112 maybe-all-stage3-gcc: all-stage3-gcc
11113 all-stage3: all-stage3-gcc
11114 TARGET-stage3-gcc = $(TARGET-gcc)
11115 all-stage3-gcc: configure-stage3-gcc
11116 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11117 @r=`${PWD_COMMAND}`; export r; \
11118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119 $(HOST_EXPORTS) \
11120 $(POSTSTAGE1_HOST_EXPORTS) \
11121 cd $(HOST_SUBDIR)/gcc && \
11122 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11123 $(TARGET-stage3-gcc)
11125 maybe-clean-stage3-gcc: clean-stage3-gcc
11126 clean-stage3: clean-stage3-gcc
11127 clean-stage3-gcc:
11128 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11129 || exit 0 ; \
11130 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11131 cd $(HOST_SUBDIR)/gcc && \
11132 $(MAKE) $(FLAGS_TO_PASS) \
11133 $(POSTSTAGE1_FLAGS_TO_PASS) \
11134 $(EXTRA_GCC_FLAGS) clean
11135 @endif gcc-bootstrap
11138 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11139 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11140 maybe-all-stage4-gcc:
11141 maybe-clean-stage4-gcc:
11142 @if gcc-bootstrap
11143 maybe-all-stage4-gcc: all-stage4-gcc
11144 all-stage4: all-stage4-gcc
11145 TARGET-stage4-gcc = $(TARGET-gcc)
11146 all-stage4-gcc: configure-stage4-gcc
11147 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11148 @r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11150 $(HOST_EXPORTS) \
11151 $(POSTSTAGE1_HOST_EXPORTS) \
11152 cd $(HOST_SUBDIR)/gcc && \
11153 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11154 $(TARGET-stage4-gcc)
11156 maybe-clean-stage4-gcc: clean-stage4-gcc
11157 clean-stage4: clean-stage4-gcc
11158 clean-stage4-gcc:
11159 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11160 || exit 0 ; \
11161 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11162 cd $(HOST_SUBDIR)/gcc && \
11163 $(MAKE) $(FLAGS_TO_PASS) \
11164 $(POSTSTAGE1_FLAGS_TO_PASS) \
11165 $(EXTRA_GCC_FLAGS) clean
11166 @endif gcc-bootstrap
11169 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11170 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11171 maybe-all-stageprofile-gcc:
11172 maybe-clean-stageprofile-gcc:
11173 @if gcc-bootstrap
11174 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11175 all-stageprofile: all-stageprofile-gcc
11176 TARGET-stageprofile-gcc = $(TARGET-gcc)
11177 all-stageprofile-gcc: configure-stageprofile-gcc
11178 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11179 @r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(HOST_EXPORTS) \
11182 $(POSTSTAGE1_HOST_EXPORTS) \
11183 cd $(HOST_SUBDIR)/gcc && \
11184 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11185 $(TARGET-stageprofile-gcc)
11187 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11188 clean-stageprofile: clean-stageprofile-gcc
11189 clean-stageprofile-gcc:
11190 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11191 || exit 0 ; \
11192 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11193 cd $(HOST_SUBDIR)/gcc && \
11194 $(MAKE) $(FLAGS_TO_PASS) \
11195 $(POSTSTAGE1_FLAGS_TO_PASS) \
11196 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11197 @endif gcc-bootstrap
11200 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11201 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11202 maybe-all-stagefeedback-gcc:
11203 maybe-clean-stagefeedback-gcc:
11204 @if gcc-bootstrap
11205 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11206 all-stagefeedback: all-stagefeedback-gcc
11207 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11208 all-stagefeedback-gcc: configure-stagefeedback-gcc
11209 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11210 @r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11212 $(HOST_EXPORTS) \
11213 $(POSTSTAGE1_HOST_EXPORTS) \
11214 cd $(HOST_SUBDIR)/gcc && \
11215 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11216 $(TARGET-stagefeedback-gcc)
11218 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11219 clean-stagefeedback: clean-stagefeedback-gcc
11220 clean-stagefeedback-gcc:
11221 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11222 || exit 0 ; \
11223 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11224 cd $(HOST_SUBDIR)/gcc && \
11225 $(MAKE) $(FLAGS_TO_PASS) \
11226 $(POSTSTAGE1_FLAGS_TO_PASS) \
11227 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11228 @endif gcc-bootstrap
11234 .PHONY: check-gcc maybe-check-gcc
11235 maybe-check-gcc:
11236 @if gcc
11237 maybe-check-gcc: check-gcc
11239 check-gcc:
11240 @: $(MAKE); $(unstage)
11241 @r=`${PWD_COMMAND}`; export r; \
11242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11243 $(HOST_EXPORTS) \
11244 (cd $(HOST_SUBDIR)/gcc && \
11245 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11247 @endif gcc
11249 .PHONY: install-gcc maybe-install-gcc
11250 maybe-install-gcc:
11251 @if gcc
11252 maybe-install-gcc: install-gcc
11254 install-gcc: installdirs
11255 @: $(MAKE); $(unstage)
11256 @r=`${PWD_COMMAND}`; export r; \
11257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11258 $(HOST_EXPORTS) \
11259 (cd $(HOST_SUBDIR)/gcc && \
11260 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11262 @endif gcc
11264 # Other targets (info, dvi, etc.)
11266 .PHONY: maybe-info-gcc info-gcc
11267 maybe-info-gcc:
11268 @if gcc
11269 maybe-info-gcc: info-gcc
11271 info-gcc: \
11272 configure-gcc
11273 @[ -f ./gcc/Makefile ] || exit 0; \
11274 r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 $(HOST_EXPORTS) \
11277 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11279 done; \
11280 echo "Doing info in gcc" ; \
11281 (cd $(HOST_SUBDIR)/gcc && \
11282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11284 "RANLIB=$${RANLIB}" \
11285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11286 info) \
11287 || exit 1
11289 @endif gcc
11291 .PHONY: maybe-dvi-gcc dvi-gcc
11292 maybe-dvi-gcc:
11293 @if gcc
11294 maybe-dvi-gcc: dvi-gcc
11296 dvi-gcc: \
11297 configure-gcc
11298 @[ -f ./gcc/Makefile ] || exit 0; \
11299 r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11301 $(HOST_EXPORTS) \
11302 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11304 done; \
11305 echo "Doing dvi in gcc" ; \
11306 (cd $(HOST_SUBDIR)/gcc && \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 dvi) \
11312 || exit 1
11314 @endif gcc
11316 .PHONY: maybe-html-gcc html-gcc
11317 maybe-html-gcc:
11318 @if gcc
11319 maybe-html-gcc: html-gcc
11321 html-gcc: \
11322 configure-gcc
11323 @[ -f ./gcc/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(HOST_EXPORTS) \
11327 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11329 done; \
11330 echo "Doing html in gcc" ; \
11331 (cd $(HOST_SUBDIR)/gcc && \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11334 "RANLIB=$${RANLIB}" \
11335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11336 html) \
11337 || exit 1
11339 @endif gcc
11341 .PHONY: maybe-TAGS-gcc TAGS-gcc
11342 maybe-TAGS-gcc:
11343 @if gcc
11344 maybe-TAGS-gcc: TAGS-gcc
11346 TAGS-gcc: \
11347 configure-gcc
11348 @[ -f ./gcc/Makefile ] || exit 0; \
11349 r=`${PWD_COMMAND}`; export r; \
11350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11351 $(HOST_EXPORTS) \
11352 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11354 done; \
11355 echo "Doing TAGS in gcc" ; \
11356 (cd $(HOST_SUBDIR)/gcc && \
11357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11359 "RANLIB=$${RANLIB}" \
11360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11361 TAGS) \
11362 || exit 1
11364 @endif gcc
11366 .PHONY: maybe-install-info-gcc install-info-gcc
11367 maybe-install-info-gcc:
11368 @if gcc
11369 maybe-install-info-gcc: install-info-gcc
11371 install-info-gcc: \
11372 configure-gcc \
11373 info-gcc
11374 @[ -f ./gcc/Makefile ] || exit 0; \
11375 r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 $(HOST_EXPORTS) \
11378 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11380 done; \
11381 echo "Doing install-info in gcc" ; \
11382 (cd $(HOST_SUBDIR)/gcc && \
11383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11385 "RANLIB=$${RANLIB}" \
11386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11387 install-info) \
11388 || exit 1
11390 @endif gcc
11392 .PHONY: maybe-installcheck-gcc installcheck-gcc
11393 maybe-installcheck-gcc:
11394 @if gcc
11395 maybe-installcheck-gcc: installcheck-gcc
11397 installcheck-gcc: \
11398 configure-gcc
11399 @[ -f ./gcc/Makefile ] || exit 0; \
11400 r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(HOST_EXPORTS) \
11403 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11405 done; \
11406 echo "Doing installcheck in gcc" ; \
11407 (cd $(HOST_SUBDIR)/gcc && \
11408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11410 "RANLIB=$${RANLIB}" \
11411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11412 installcheck) \
11413 || exit 1
11415 @endif gcc
11417 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11418 maybe-mostlyclean-gcc:
11419 @if gcc
11420 maybe-mostlyclean-gcc: mostlyclean-gcc
11422 mostlyclean-gcc:
11423 @[ -f ./gcc/Makefile ] || exit 0; \
11424 r=`${PWD_COMMAND}`; export r; \
11425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11426 $(HOST_EXPORTS) \
11427 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11429 done; \
11430 echo "Doing mostlyclean in gcc" ; \
11431 (cd $(HOST_SUBDIR)/gcc && \
11432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11434 "RANLIB=$${RANLIB}" \
11435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11436 mostlyclean) \
11437 || exit 1
11439 @endif gcc
11441 .PHONY: maybe-clean-gcc clean-gcc
11442 maybe-clean-gcc:
11443 @if gcc
11444 maybe-clean-gcc: clean-gcc
11446 clean-gcc:
11447 @[ -f ./gcc/Makefile ] || exit 0; \
11448 r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11450 $(HOST_EXPORTS) \
11451 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11453 done; \
11454 echo "Doing clean in gcc" ; \
11455 (cd $(HOST_SUBDIR)/gcc && \
11456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11458 "RANLIB=$${RANLIB}" \
11459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11460 clean) \
11461 || exit 1
11463 @endif gcc
11465 .PHONY: maybe-distclean-gcc distclean-gcc
11466 maybe-distclean-gcc:
11467 @if gcc
11468 maybe-distclean-gcc: distclean-gcc
11470 distclean-gcc:
11471 @[ -f ./gcc/Makefile ] || exit 0; \
11472 r=`${PWD_COMMAND}`; export r; \
11473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11474 $(HOST_EXPORTS) \
11475 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11477 done; \
11478 echo "Doing distclean in gcc" ; \
11479 (cd $(HOST_SUBDIR)/gcc && \
11480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11482 "RANLIB=$${RANLIB}" \
11483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11484 distclean) \
11485 || exit 1
11487 @endif gcc
11489 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11490 maybe-maintainer-clean-gcc:
11491 @if gcc
11492 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11494 maintainer-clean-gcc:
11495 @[ -f ./gcc/Makefile ] || exit 0; \
11496 r=`${PWD_COMMAND}`; export r; \
11497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11498 $(HOST_EXPORTS) \
11499 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11501 done; \
11502 echo "Doing maintainer-clean in gcc" ; \
11503 (cd $(HOST_SUBDIR)/gcc && \
11504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11506 "RANLIB=$${RANLIB}" \
11507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11508 maintainer-clean) \
11509 || exit 1
11511 @endif gcc
11515 .PHONY: configure-gawk maybe-configure-gawk
11516 maybe-configure-gawk:
11517 @if gawk
11518 maybe-configure-gawk: configure-gawk
11519 configure-gawk:
11520 @: $(MAKE); $(unstage)
11521 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11523 r=`${PWD_COMMAND}`; export r; \
11524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11525 $(HOST_EXPORTS) \
11526 echo Configuring in $(HOST_SUBDIR)/gawk; \
11527 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11528 case $(srcdir) in \
11529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11530 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11532 esac; \
11533 srcdiroption="--srcdir=$${topdir}/gawk"; \
11534 libsrcdir="$$s/gawk"; \
11535 $(SHELL) $${libsrcdir}/configure \
11536 $(HOST_CONFIGARGS) $${srcdiroption} \
11537 || exit 1
11538 @endif gawk
11544 .PHONY: all-gawk maybe-all-gawk
11545 maybe-all-gawk:
11546 @if gawk
11547 TARGET-gawk=all
11548 maybe-all-gawk: all-gawk
11549 all-gawk: configure-gawk
11550 @: $(MAKE); $(unstage)
11551 @r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(HOST_EXPORTS) \
11554 (cd $(HOST_SUBDIR)/gawk && \
11555 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11556 @endif gawk
11561 .PHONY: check-gawk maybe-check-gawk
11562 maybe-check-gawk:
11563 @if gawk
11564 maybe-check-gawk: check-gawk
11566 check-gawk:
11567 @: $(MAKE); $(unstage)
11568 @r=`${PWD_COMMAND}`; export r; \
11569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11570 $(HOST_EXPORTS) \
11571 (cd $(HOST_SUBDIR)/gawk && \
11572 $(MAKE) $(FLAGS_TO_PASS) check)
11574 @endif gawk
11576 .PHONY: install-gawk maybe-install-gawk
11577 maybe-install-gawk:
11578 @if gawk
11579 maybe-install-gawk: install-gawk
11581 install-gawk: installdirs
11582 @: $(MAKE); $(unstage)
11583 @r=`${PWD_COMMAND}`; export r; \
11584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11585 $(HOST_EXPORTS) \
11586 (cd $(HOST_SUBDIR)/gawk && \
11587 $(MAKE) $(FLAGS_TO_PASS) install)
11589 @endif gawk
11591 # Other targets (info, dvi, etc.)
11593 .PHONY: maybe-info-gawk info-gawk
11594 maybe-info-gawk:
11595 @if gawk
11596 maybe-info-gawk: info-gawk
11598 info-gawk: \
11599 configure-gawk
11600 @: $(MAKE); $(unstage)
11601 @[ -f ./gawk/Makefile ] || exit 0; \
11602 r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 $(HOST_EXPORTS) \
11605 for flag in $(EXTRA_HOST_FLAGS) ; do \
11606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11607 done; \
11608 echo "Doing info in gawk" ; \
11609 (cd $(HOST_SUBDIR)/gawk && \
11610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11612 "RANLIB=$${RANLIB}" \
11613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11614 info) \
11615 || exit 1
11617 @endif gawk
11619 .PHONY: maybe-dvi-gawk dvi-gawk
11620 maybe-dvi-gawk:
11621 @if gawk
11622 maybe-dvi-gawk: dvi-gawk
11624 dvi-gawk: \
11625 configure-gawk
11626 @: $(MAKE); $(unstage)
11627 @[ -f ./gawk/Makefile ] || exit 0; \
11628 r=`${PWD_COMMAND}`; export r; \
11629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11630 $(HOST_EXPORTS) \
11631 for flag in $(EXTRA_HOST_FLAGS) ; do \
11632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11633 done; \
11634 echo "Doing dvi in gawk" ; \
11635 (cd $(HOST_SUBDIR)/gawk && \
11636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11638 "RANLIB=$${RANLIB}" \
11639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11640 dvi) \
11641 || exit 1
11643 @endif gawk
11645 .PHONY: maybe-html-gawk html-gawk
11646 maybe-html-gawk:
11647 @if gawk
11648 maybe-html-gawk: html-gawk
11650 html-gawk: \
11651 configure-gawk
11652 @: $(MAKE); $(unstage)
11653 @[ -f ./gawk/Makefile ] || exit 0; \
11654 r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(HOST_EXPORTS) \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11659 done; \
11660 echo "Doing html in gawk" ; \
11661 (cd $(HOST_SUBDIR)/gawk && \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11666 html) \
11667 || exit 1
11669 @endif gawk
11671 .PHONY: maybe-TAGS-gawk TAGS-gawk
11672 maybe-TAGS-gawk:
11673 @if gawk
11674 maybe-TAGS-gawk: TAGS-gawk
11676 TAGS-gawk: \
11677 configure-gawk
11678 @: $(MAKE); $(unstage)
11679 @[ -f ./gawk/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing TAGS in gawk" ; \
11687 (cd $(HOST_SUBDIR)/gawk && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692 TAGS) \
11693 || exit 1
11695 @endif gawk
11697 .PHONY: maybe-install-info-gawk install-info-gawk
11698 maybe-install-info-gawk:
11699 @if gawk
11700 maybe-install-info-gawk: install-info-gawk
11702 install-info-gawk: \
11703 configure-gawk \
11704 info-gawk
11705 @: $(MAKE); $(unstage)
11706 @[ -f ./gawk/Makefile ] || exit 0; \
11707 r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 $(HOST_EXPORTS) \
11710 for flag in $(EXTRA_HOST_FLAGS) ; do \
11711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 done; \
11713 echo "Doing install-info in gawk" ; \
11714 (cd $(HOST_SUBDIR)/gawk && \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11717 "RANLIB=$${RANLIB}" \
11718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11719 install-info) \
11720 || exit 1
11722 @endif gawk
11724 .PHONY: maybe-installcheck-gawk installcheck-gawk
11725 maybe-installcheck-gawk:
11726 @if gawk
11727 maybe-installcheck-gawk: installcheck-gawk
11729 installcheck-gawk: \
11730 configure-gawk
11731 @: $(MAKE); $(unstage)
11732 @[ -f ./gawk/Makefile ] || exit 0; \
11733 r=`${PWD_COMMAND}`; export r; \
11734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 $(HOST_EXPORTS) \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 done; \
11739 echo "Doing installcheck in gawk" ; \
11740 (cd $(HOST_SUBDIR)/gawk && \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11745 installcheck) \
11746 || exit 1
11748 @endif gawk
11750 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11751 maybe-mostlyclean-gawk:
11752 @if gawk
11753 maybe-mostlyclean-gawk: mostlyclean-gawk
11755 mostlyclean-gawk:
11756 @: $(MAKE); $(unstage)
11757 @[ -f ./gawk/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760 $(HOST_EXPORTS) \
11761 for flag in $(EXTRA_HOST_FLAGS) ; do \
11762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11763 done; \
11764 echo "Doing mostlyclean in gawk" ; \
11765 (cd $(HOST_SUBDIR)/gawk && \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11768 "RANLIB=$${RANLIB}" \
11769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11770 mostlyclean) \
11771 || exit 1
11773 @endif gawk
11775 .PHONY: maybe-clean-gawk clean-gawk
11776 maybe-clean-gawk:
11777 @if gawk
11778 maybe-clean-gawk: clean-gawk
11780 clean-gawk:
11781 @: $(MAKE); $(unstage)
11782 @[ -f ./gawk/Makefile ] || exit 0; \
11783 r=`${PWD_COMMAND}`; export r; \
11784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11785 $(HOST_EXPORTS) \
11786 for flag in $(EXTRA_HOST_FLAGS) ; do \
11787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11788 done; \
11789 echo "Doing clean in gawk" ; \
11790 (cd $(HOST_SUBDIR)/gawk && \
11791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11793 "RANLIB=$${RANLIB}" \
11794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11795 clean) \
11796 || exit 1
11798 @endif gawk
11800 .PHONY: maybe-distclean-gawk distclean-gawk
11801 maybe-distclean-gawk:
11802 @if gawk
11803 maybe-distclean-gawk: distclean-gawk
11805 distclean-gawk:
11806 @: $(MAKE); $(unstage)
11807 @[ -f ./gawk/Makefile ] || exit 0; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 $(HOST_EXPORTS) \
11811 for flag in $(EXTRA_HOST_FLAGS) ; do \
11812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11813 done; \
11814 echo "Doing distclean in gawk" ; \
11815 (cd $(HOST_SUBDIR)/gawk && \
11816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11818 "RANLIB=$${RANLIB}" \
11819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11820 distclean) \
11821 || exit 1
11823 @endif gawk
11825 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11826 maybe-maintainer-clean-gawk:
11827 @if gawk
11828 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11830 maintainer-clean-gawk:
11831 @: $(MAKE); $(unstage)
11832 @[ -f ./gawk/Makefile ] || exit 0; \
11833 r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 $(HOST_EXPORTS) \
11836 for flag in $(EXTRA_HOST_FLAGS) ; do \
11837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11838 done; \
11839 echo "Doing maintainer-clean in gawk" ; \
11840 (cd $(HOST_SUBDIR)/gawk && \
11841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11843 "RANLIB=$${RANLIB}" \
11844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11845 maintainer-clean) \
11846 || exit 1
11848 @endif gawk
11852 .PHONY: configure-gettext maybe-configure-gettext
11853 maybe-configure-gettext:
11854 @if gettext
11855 maybe-configure-gettext: configure-gettext
11856 configure-gettext:
11857 @: $(MAKE); $(unstage)
11858 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11860 r=`${PWD_COMMAND}`; export r; \
11861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 $(HOST_EXPORTS) \
11863 echo Configuring in $(HOST_SUBDIR)/gettext; \
11864 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11865 case $(srcdir) in \
11866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11867 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11869 esac; \
11870 srcdiroption="--srcdir=$${topdir}/gettext"; \
11871 libsrcdir="$$s/gettext"; \
11872 $(SHELL) $${libsrcdir}/configure \
11873 $(HOST_CONFIGARGS) $${srcdiroption} \
11874 || exit 1
11875 @endif gettext
11881 .PHONY: all-gettext maybe-all-gettext
11882 maybe-all-gettext:
11883 @if gettext
11884 TARGET-gettext=all
11885 maybe-all-gettext: all-gettext
11886 all-gettext: configure-gettext
11887 @: $(MAKE); $(unstage)
11888 @r=`${PWD_COMMAND}`; export r; \
11889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11890 $(HOST_EXPORTS) \
11891 (cd $(HOST_SUBDIR)/gettext && \
11892 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11893 @endif gettext
11898 .PHONY: check-gettext maybe-check-gettext
11899 maybe-check-gettext:
11900 @if gettext
11901 maybe-check-gettext: check-gettext
11903 check-gettext:
11904 @: $(MAKE); $(unstage)
11905 @r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(HOST_EXPORTS) \
11908 (cd $(HOST_SUBDIR)/gettext && \
11909 $(MAKE) $(FLAGS_TO_PASS) check)
11911 @endif gettext
11913 .PHONY: install-gettext maybe-install-gettext
11914 maybe-install-gettext:
11915 @if gettext
11916 maybe-install-gettext: install-gettext
11918 install-gettext: installdirs
11919 @: $(MAKE); $(unstage)
11920 @r=`${PWD_COMMAND}`; export r; \
11921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11922 $(HOST_EXPORTS) \
11923 (cd $(HOST_SUBDIR)/gettext && \
11924 $(MAKE) $(FLAGS_TO_PASS) install)
11926 @endif gettext
11928 # Other targets (info, dvi, etc.)
11930 .PHONY: maybe-info-gettext info-gettext
11931 maybe-info-gettext:
11932 @if gettext
11933 maybe-info-gettext: info-gettext
11935 info-gettext: \
11936 configure-gettext
11937 @: $(MAKE); $(unstage)
11938 @[ -f ./gettext/Makefile ] || exit 0; \
11939 r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941 $(HOST_EXPORTS) \
11942 for flag in $(EXTRA_HOST_FLAGS) ; do \
11943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11944 done; \
11945 echo "Doing info in gettext" ; \
11946 (cd $(HOST_SUBDIR)/gettext && \
11947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11949 "RANLIB=$${RANLIB}" \
11950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11951 info) \
11952 || exit 1
11954 @endif gettext
11956 .PHONY: maybe-dvi-gettext dvi-gettext
11957 maybe-dvi-gettext:
11958 @if gettext
11959 maybe-dvi-gettext: dvi-gettext
11961 dvi-gettext: \
11962 configure-gettext
11963 @: $(MAKE); $(unstage)
11964 @[ -f ./gettext/Makefile ] || exit 0; \
11965 r=`${PWD_COMMAND}`; export r; \
11966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11967 $(HOST_EXPORTS) \
11968 for flag in $(EXTRA_HOST_FLAGS) ; do \
11969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11970 done; \
11971 echo "Doing dvi in gettext" ; \
11972 (cd $(HOST_SUBDIR)/gettext && \
11973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11975 "RANLIB=$${RANLIB}" \
11976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11977 dvi) \
11978 || exit 1
11980 @endif gettext
11982 .PHONY: maybe-html-gettext html-gettext
11983 maybe-html-gettext:
11984 @if gettext
11985 maybe-html-gettext: html-gettext
11987 html-gettext: \
11988 configure-gettext
11989 @: $(MAKE); $(unstage)
11990 @[ -f ./gettext/Makefile ] || exit 0; \
11991 r=`${PWD_COMMAND}`; export r; \
11992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11993 $(HOST_EXPORTS) \
11994 for flag in $(EXTRA_HOST_FLAGS) ; do \
11995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11996 done; \
11997 echo "Doing html in gettext" ; \
11998 (cd $(HOST_SUBDIR)/gettext && \
11999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12001 "RANLIB=$${RANLIB}" \
12002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12003 html) \
12004 || exit 1
12006 @endif gettext
12008 .PHONY: maybe-TAGS-gettext TAGS-gettext
12009 maybe-TAGS-gettext:
12010 @if gettext
12011 maybe-TAGS-gettext: TAGS-gettext
12013 TAGS-gettext: \
12014 configure-gettext
12015 @: $(MAKE); $(unstage)
12016 @[ -f ./gettext/Makefile ] || exit 0; \
12017 r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 $(HOST_EXPORTS) \
12020 for flag in $(EXTRA_HOST_FLAGS) ; do \
12021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12022 done; \
12023 echo "Doing TAGS in gettext" ; \
12024 (cd $(HOST_SUBDIR)/gettext && \
12025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12027 "RANLIB=$${RANLIB}" \
12028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12029 TAGS) \
12030 || exit 1
12032 @endif gettext
12034 .PHONY: maybe-install-info-gettext install-info-gettext
12035 maybe-install-info-gettext:
12036 @if gettext
12037 maybe-install-info-gettext: install-info-gettext
12039 install-info-gettext: \
12040 configure-gettext \
12041 info-gettext
12042 @: $(MAKE); $(unstage)
12043 @[ -f ./gettext/Makefile ] || exit 0; \
12044 r=`${PWD_COMMAND}`; export r; \
12045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12046 $(HOST_EXPORTS) \
12047 for flag in $(EXTRA_HOST_FLAGS) ; do \
12048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12049 done; \
12050 echo "Doing install-info in gettext" ; \
12051 (cd $(HOST_SUBDIR)/gettext && \
12052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12054 "RANLIB=$${RANLIB}" \
12055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12056 install-info) \
12057 || exit 1
12059 @endif gettext
12061 .PHONY: maybe-installcheck-gettext installcheck-gettext
12062 maybe-installcheck-gettext:
12063 @if gettext
12064 maybe-installcheck-gettext: installcheck-gettext
12066 installcheck-gettext: \
12067 configure-gettext
12068 @: $(MAKE); $(unstage)
12069 @[ -f ./gettext/Makefile ] || exit 0; \
12070 r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 $(HOST_EXPORTS) \
12073 for flag in $(EXTRA_HOST_FLAGS) ; do \
12074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12075 done; \
12076 echo "Doing installcheck in gettext" ; \
12077 (cd $(HOST_SUBDIR)/gettext && \
12078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12080 "RANLIB=$${RANLIB}" \
12081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12082 installcheck) \
12083 || exit 1
12085 @endif gettext
12087 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12088 maybe-mostlyclean-gettext:
12089 @if gettext
12090 maybe-mostlyclean-gettext: mostlyclean-gettext
12092 mostlyclean-gettext:
12093 @: $(MAKE); $(unstage)
12094 @[ -f ./gettext/Makefile ] || exit 0; \
12095 r=`${PWD_COMMAND}`; export r; \
12096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12097 $(HOST_EXPORTS) \
12098 for flag in $(EXTRA_HOST_FLAGS) ; do \
12099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12100 done; \
12101 echo "Doing mostlyclean in gettext" ; \
12102 (cd $(HOST_SUBDIR)/gettext && \
12103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12105 "RANLIB=$${RANLIB}" \
12106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12107 mostlyclean) \
12108 || exit 1
12110 @endif gettext
12112 .PHONY: maybe-clean-gettext clean-gettext
12113 maybe-clean-gettext:
12114 @if gettext
12115 maybe-clean-gettext: clean-gettext
12117 clean-gettext:
12118 @: $(MAKE); $(unstage)
12119 @[ -f ./gettext/Makefile ] || exit 0; \
12120 r=`${PWD_COMMAND}`; export r; \
12121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12122 $(HOST_EXPORTS) \
12123 for flag in $(EXTRA_HOST_FLAGS) ; do \
12124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12125 done; \
12126 echo "Doing clean in gettext" ; \
12127 (cd $(HOST_SUBDIR)/gettext && \
12128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12130 "RANLIB=$${RANLIB}" \
12131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12132 clean) \
12133 || exit 1
12135 @endif gettext
12137 .PHONY: maybe-distclean-gettext distclean-gettext
12138 maybe-distclean-gettext:
12139 @if gettext
12140 maybe-distclean-gettext: distclean-gettext
12142 distclean-gettext:
12143 @: $(MAKE); $(unstage)
12144 @[ -f ./gettext/Makefile ] || exit 0; \
12145 r=`${PWD_COMMAND}`; export r; \
12146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12147 $(HOST_EXPORTS) \
12148 for flag in $(EXTRA_HOST_FLAGS) ; do \
12149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12150 done; \
12151 echo "Doing distclean in gettext" ; \
12152 (cd $(HOST_SUBDIR)/gettext && \
12153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12155 "RANLIB=$${RANLIB}" \
12156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12157 distclean) \
12158 || exit 1
12160 @endif gettext
12162 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12163 maybe-maintainer-clean-gettext:
12164 @if gettext
12165 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12167 maintainer-clean-gettext:
12168 @: $(MAKE); $(unstage)
12169 @[ -f ./gettext/Makefile ] || exit 0; \
12170 r=`${PWD_COMMAND}`; export r; \
12171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12172 $(HOST_EXPORTS) \
12173 for flag in $(EXTRA_HOST_FLAGS) ; do \
12174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12175 done; \
12176 echo "Doing maintainer-clean in gettext" ; \
12177 (cd $(HOST_SUBDIR)/gettext && \
12178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12180 "RANLIB=$${RANLIB}" \
12181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12182 maintainer-clean) \
12183 || exit 1
12185 @endif gettext
12189 .PHONY: configure-gnuserv maybe-configure-gnuserv
12190 maybe-configure-gnuserv:
12191 @if gnuserv
12192 maybe-configure-gnuserv: configure-gnuserv
12193 configure-gnuserv:
12194 @: $(MAKE); $(unstage)
12195 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12197 r=`${PWD_COMMAND}`; export r; \
12198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12199 $(HOST_EXPORTS) \
12200 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12201 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12202 case $(srcdir) in \
12203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12204 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12206 esac; \
12207 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12208 libsrcdir="$$s/gnuserv"; \
12209 $(SHELL) $${libsrcdir}/configure \
12210 $(HOST_CONFIGARGS) $${srcdiroption} \
12211 || exit 1
12212 @endif gnuserv
12218 .PHONY: all-gnuserv maybe-all-gnuserv
12219 maybe-all-gnuserv:
12220 @if gnuserv
12221 TARGET-gnuserv=all
12222 maybe-all-gnuserv: all-gnuserv
12223 all-gnuserv: configure-gnuserv
12224 @: $(MAKE); $(unstage)
12225 @r=`${PWD_COMMAND}`; export r; \
12226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12227 $(HOST_EXPORTS) \
12228 (cd $(HOST_SUBDIR)/gnuserv && \
12229 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12230 @endif gnuserv
12235 .PHONY: check-gnuserv maybe-check-gnuserv
12236 maybe-check-gnuserv:
12237 @if gnuserv
12238 maybe-check-gnuserv: check-gnuserv
12240 check-gnuserv:
12241 @: $(MAKE); $(unstage)
12242 @r=`${PWD_COMMAND}`; export r; \
12243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12244 $(HOST_EXPORTS) \
12245 (cd $(HOST_SUBDIR)/gnuserv && \
12246 $(MAKE) $(FLAGS_TO_PASS) check)
12248 @endif gnuserv
12250 .PHONY: install-gnuserv maybe-install-gnuserv
12251 maybe-install-gnuserv:
12252 @if gnuserv
12253 maybe-install-gnuserv: install-gnuserv
12255 install-gnuserv: installdirs
12256 @: $(MAKE); $(unstage)
12257 @r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259 $(HOST_EXPORTS) \
12260 (cd $(HOST_SUBDIR)/gnuserv && \
12261 $(MAKE) $(FLAGS_TO_PASS) install)
12263 @endif gnuserv
12265 # Other targets (info, dvi, etc.)
12267 .PHONY: maybe-info-gnuserv info-gnuserv
12268 maybe-info-gnuserv:
12269 @if gnuserv
12270 maybe-info-gnuserv: info-gnuserv
12272 info-gnuserv: \
12273 configure-gnuserv
12274 @: $(MAKE); $(unstage)
12275 @[ -f ./gnuserv/Makefile ] || exit 0; \
12276 r=`${PWD_COMMAND}`; export r; \
12277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12278 $(HOST_EXPORTS) \
12279 for flag in $(EXTRA_HOST_FLAGS) ; do \
12280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12281 done; \
12282 echo "Doing info in gnuserv" ; \
12283 (cd $(HOST_SUBDIR)/gnuserv && \
12284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286 "RANLIB=$${RANLIB}" \
12287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288 info) \
12289 || exit 1
12291 @endif gnuserv
12293 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12294 maybe-dvi-gnuserv:
12295 @if gnuserv
12296 maybe-dvi-gnuserv: dvi-gnuserv
12298 dvi-gnuserv: \
12299 configure-gnuserv
12300 @: $(MAKE); $(unstage)
12301 @[ -f ./gnuserv/Makefile ] || exit 0; \
12302 r=`${PWD_COMMAND}`; export r; \
12303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12304 $(HOST_EXPORTS) \
12305 for flag in $(EXTRA_HOST_FLAGS) ; do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing dvi in gnuserv" ; \
12309 (cd $(HOST_SUBDIR)/gnuserv && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 dvi) \
12315 || exit 1
12317 @endif gnuserv
12319 .PHONY: maybe-html-gnuserv html-gnuserv
12320 maybe-html-gnuserv:
12321 @if gnuserv
12322 maybe-html-gnuserv: html-gnuserv
12324 html-gnuserv: \
12325 configure-gnuserv
12326 @: $(MAKE); $(unstage)
12327 @[ -f ./gnuserv/Makefile ] || exit 0; \
12328 r=`${PWD_COMMAND}`; export r; \
12329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12330 $(HOST_EXPORTS) \
12331 for flag in $(EXTRA_HOST_FLAGS) ; do \
12332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12333 done; \
12334 echo "Doing html in gnuserv" ; \
12335 (cd $(HOST_SUBDIR)/gnuserv && \
12336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12338 "RANLIB=$${RANLIB}" \
12339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12340 html) \
12341 || exit 1
12343 @endif gnuserv
12345 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12346 maybe-TAGS-gnuserv:
12347 @if gnuserv
12348 maybe-TAGS-gnuserv: TAGS-gnuserv
12350 TAGS-gnuserv: \
12351 configure-gnuserv
12352 @: $(MAKE); $(unstage)
12353 @[ -f ./gnuserv/Makefile ] || exit 0; \
12354 r=`${PWD_COMMAND}`; export r; \
12355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12356 $(HOST_EXPORTS) \
12357 for flag in $(EXTRA_HOST_FLAGS) ; do \
12358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12359 done; \
12360 echo "Doing TAGS in gnuserv" ; \
12361 (cd $(HOST_SUBDIR)/gnuserv && \
12362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12364 "RANLIB=$${RANLIB}" \
12365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12366 TAGS) \
12367 || exit 1
12369 @endif gnuserv
12371 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12372 maybe-install-info-gnuserv:
12373 @if gnuserv
12374 maybe-install-info-gnuserv: install-info-gnuserv
12376 install-info-gnuserv: \
12377 configure-gnuserv \
12378 info-gnuserv
12379 @: $(MAKE); $(unstage)
12380 @[ -f ./gnuserv/Makefile ] || exit 0; \
12381 r=`${PWD_COMMAND}`; export r; \
12382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12383 $(HOST_EXPORTS) \
12384 for flag in $(EXTRA_HOST_FLAGS) ; do \
12385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12386 done; \
12387 echo "Doing install-info in gnuserv" ; \
12388 (cd $(HOST_SUBDIR)/gnuserv && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12391 "RANLIB=$${RANLIB}" \
12392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12393 install-info) \
12394 || exit 1
12396 @endif gnuserv
12398 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12399 maybe-installcheck-gnuserv:
12400 @if gnuserv
12401 maybe-installcheck-gnuserv: installcheck-gnuserv
12403 installcheck-gnuserv: \
12404 configure-gnuserv
12405 @: $(MAKE); $(unstage)
12406 @[ -f ./gnuserv/Makefile ] || exit 0; \
12407 r=`${PWD_COMMAND}`; export r; \
12408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 $(HOST_EXPORTS) \
12410 for flag in $(EXTRA_HOST_FLAGS) ; do \
12411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12412 done; \
12413 echo "Doing installcheck in gnuserv" ; \
12414 (cd $(HOST_SUBDIR)/gnuserv && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12417 "RANLIB=$${RANLIB}" \
12418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12419 installcheck) \
12420 || exit 1
12422 @endif gnuserv
12424 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12425 maybe-mostlyclean-gnuserv:
12426 @if gnuserv
12427 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12429 mostlyclean-gnuserv:
12430 @: $(MAKE); $(unstage)
12431 @[ -f ./gnuserv/Makefile ] || exit 0; \
12432 r=`${PWD_COMMAND}`; export r; \
12433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12434 $(HOST_EXPORTS) \
12435 for flag in $(EXTRA_HOST_FLAGS) ; do \
12436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12437 done; \
12438 echo "Doing mostlyclean in gnuserv" ; \
12439 (cd $(HOST_SUBDIR)/gnuserv && \
12440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12442 "RANLIB=$${RANLIB}" \
12443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12444 mostlyclean) \
12445 || exit 1
12447 @endif gnuserv
12449 .PHONY: maybe-clean-gnuserv clean-gnuserv
12450 maybe-clean-gnuserv:
12451 @if gnuserv
12452 maybe-clean-gnuserv: clean-gnuserv
12454 clean-gnuserv:
12455 @: $(MAKE); $(unstage)
12456 @[ -f ./gnuserv/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing clean in gnuserv" ; \
12464 (cd $(HOST_SUBDIR)/gnuserv && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12469 clean) \
12470 || exit 1
12472 @endif gnuserv
12474 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12475 maybe-distclean-gnuserv:
12476 @if gnuserv
12477 maybe-distclean-gnuserv: distclean-gnuserv
12479 distclean-gnuserv:
12480 @: $(MAKE); $(unstage)
12481 @[ -f ./gnuserv/Makefile ] || exit 0; \
12482 r=`${PWD_COMMAND}`; export r; \
12483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12484 $(HOST_EXPORTS) \
12485 for flag in $(EXTRA_HOST_FLAGS) ; do \
12486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12487 done; \
12488 echo "Doing distclean in gnuserv" ; \
12489 (cd $(HOST_SUBDIR)/gnuserv && \
12490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12492 "RANLIB=$${RANLIB}" \
12493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12494 distclean) \
12495 || exit 1
12497 @endif gnuserv
12499 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12500 maybe-maintainer-clean-gnuserv:
12501 @if gnuserv
12502 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12504 maintainer-clean-gnuserv:
12505 @: $(MAKE); $(unstage)
12506 @[ -f ./gnuserv/Makefile ] || exit 0; \
12507 r=`${PWD_COMMAND}`; export r; \
12508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12509 $(HOST_EXPORTS) \
12510 for flag in $(EXTRA_HOST_FLAGS) ; do \
12511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12512 done; \
12513 echo "Doing maintainer-clean in gnuserv" ; \
12514 (cd $(HOST_SUBDIR)/gnuserv && \
12515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12517 "RANLIB=$${RANLIB}" \
12518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12519 maintainer-clean) \
12520 || exit 1
12522 @endif gnuserv
12526 .PHONY: configure-gprof maybe-configure-gprof
12527 maybe-configure-gprof:
12528 @if gprof
12529 maybe-configure-gprof: configure-gprof
12530 configure-gprof:
12531 @: $(MAKE); $(unstage)
12532 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12534 r=`${PWD_COMMAND}`; export r; \
12535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12536 $(HOST_EXPORTS) \
12537 echo Configuring in $(HOST_SUBDIR)/gprof; \
12538 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12539 case $(srcdir) in \
12540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12541 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12543 esac; \
12544 srcdiroption="--srcdir=$${topdir}/gprof"; \
12545 libsrcdir="$$s/gprof"; \
12546 $(SHELL) $${libsrcdir}/configure \
12547 $(HOST_CONFIGARGS) $${srcdiroption} \
12548 || exit 1
12549 @endif gprof
12555 .PHONY: all-gprof maybe-all-gprof
12556 maybe-all-gprof:
12557 @if gprof
12558 TARGET-gprof=all
12559 maybe-all-gprof: all-gprof
12560 all-gprof: configure-gprof
12561 @: $(MAKE); $(unstage)
12562 @r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564 $(HOST_EXPORTS) \
12565 (cd $(HOST_SUBDIR)/gprof && \
12566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12567 @endif gprof
12572 .PHONY: check-gprof maybe-check-gprof
12573 maybe-check-gprof:
12574 @if gprof
12575 maybe-check-gprof: check-gprof
12577 check-gprof:
12578 @: $(MAKE); $(unstage)
12579 @r=`${PWD_COMMAND}`; export r; \
12580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12581 $(HOST_EXPORTS) \
12582 (cd $(HOST_SUBDIR)/gprof && \
12583 $(MAKE) $(FLAGS_TO_PASS) check)
12585 @endif gprof
12587 .PHONY: install-gprof maybe-install-gprof
12588 maybe-install-gprof:
12589 @if gprof
12590 maybe-install-gprof: install-gprof
12592 install-gprof: installdirs
12593 @: $(MAKE); $(unstage)
12594 @r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(HOST_EXPORTS) \
12597 (cd $(HOST_SUBDIR)/gprof && \
12598 $(MAKE) $(FLAGS_TO_PASS) install)
12600 @endif gprof
12602 # Other targets (info, dvi, etc.)
12604 .PHONY: maybe-info-gprof info-gprof
12605 maybe-info-gprof:
12606 @if gprof
12607 maybe-info-gprof: info-gprof
12609 info-gprof: \
12610 configure-gprof
12611 @: $(MAKE); $(unstage)
12612 @[ -f ./gprof/Makefile ] || exit 0; \
12613 r=`${PWD_COMMAND}`; export r; \
12614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12615 $(HOST_EXPORTS) \
12616 for flag in $(EXTRA_HOST_FLAGS) ; do \
12617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12618 done; \
12619 echo "Doing info in gprof" ; \
12620 (cd $(HOST_SUBDIR)/gprof && \
12621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12623 "RANLIB=$${RANLIB}" \
12624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12625 info) \
12626 || exit 1
12628 @endif gprof
12630 .PHONY: maybe-dvi-gprof dvi-gprof
12631 maybe-dvi-gprof:
12632 @if gprof
12633 maybe-dvi-gprof: dvi-gprof
12635 dvi-gprof: \
12636 configure-gprof
12637 @: $(MAKE); $(unstage)
12638 @[ -f ./gprof/Makefile ] || exit 0; \
12639 r=`${PWD_COMMAND}`; export r; \
12640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12641 $(HOST_EXPORTS) \
12642 for flag in $(EXTRA_HOST_FLAGS) ; do \
12643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12644 done; \
12645 echo "Doing dvi in gprof" ; \
12646 (cd $(HOST_SUBDIR)/gprof && \
12647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12649 "RANLIB=$${RANLIB}" \
12650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12651 dvi) \
12652 || exit 1
12654 @endif gprof
12656 .PHONY: maybe-html-gprof html-gprof
12657 maybe-html-gprof:
12658 @if gprof
12659 maybe-html-gprof: html-gprof
12661 html-gprof: \
12662 configure-gprof
12663 @: $(MAKE); $(unstage)
12664 @[ -f ./gprof/Makefile ] || exit 0; \
12665 r=`${PWD_COMMAND}`; export r; \
12666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12667 $(HOST_EXPORTS) \
12668 for flag in $(EXTRA_HOST_FLAGS) ; do \
12669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12670 done; \
12671 echo "Doing html in gprof" ; \
12672 (cd $(HOST_SUBDIR)/gprof && \
12673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12675 "RANLIB=$${RANLIB}" \
12676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12677 html) \
12678 || exit 1
12680 @endif gprof
12682 .PHONY: maybe-TAGS-gprof TAGS-gprof
12683 maybe-TAGS-gprof:
12684 @if gprof
12685 maybe-TAGS-gprof: TAGS-gprof
12687 TAGS-gprof: \
12688 configure-gprof
12689 @: $(MAKE); $(unstage)
12690 @[ -f ./gprof/Makefile ] || exit 0; \
12691 r=`${PWD_COMMAND}`; export r; \
12692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12693 $(HOST_EXPORTS) \
12694 for flag in $(EXTRA_HOST_FLAGS) ; do \
12695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12696 done; \
12697 echo "Doing TAGS in gprof" ; \
12698 (cd $(HOST_SUBDIR)/gprof && \
12699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12701 "RANLIB=$${RANLIB}" \
12702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12703 TAGS) \
12704 || exit 1
12706 @endif gprof
12708 .PHONY: maybe-install-info-gprof install-info-gprof
12709 maybe-install-info-gprof:
12710 @if gprof
12711 maybe-install-info-gprof: install-info-gprof
12713 install-info-gprof: \
12714 configure-gprof \
12715 info-gprof
12716 @: $(MAKE); $(unstage)
12717 @[ -f ./gprof/Makefile ] || exit 0; \
12718 r=`${PWD_COMMAND}`; export r; \
12719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12720 $(HOST_EXPORTS) \
12721 for flag in $(EXTRA_HOST_FLAGS) ; do \
12722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12723 done; \
12724 echo "Doing install-info in gprof" ; \
12725 (cd $(HOST_SUBDIR)/gprof && \
12726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12728 "RANLIB=$${RANLIB}" \
12729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12730 install-info) \
12731 || exit 1
12733 @endif gprof
12735 .PHONY: maybe-installcheck-gprof installcheck-gprof
12736 maybe-installcheck-gprof:
12737 @if gprof
12738 maybe-installcheck-gprof: installcheck-gprof
12740 installcheck-gprof: \
12741 configure-gprof
12742 @: $(MAKE); $(unstage)
12743 @[ -f ./gprof/Makefile ] || exit 0; \
12744 r=`${PWD_COMMAND}`; export r; \
12745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12746 $(HOST_EXPORTS) \
12747 for flag in $(EXTRA_HOST_FLAGS) ; do \
12748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12749 done; \
12750 echo "Doing installcheck in gprof" ; \
12751 (cd $(HOST_SUBDIR)/gprof && \
12752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12754 "RANLIB=$${RANLIB}" \
12755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12756 installcheck) \
12757 || exit 1
12759 @endif gprof
12761 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12762 maybe-mostlyclean-gprof:
12763 @if gprof
12764 maybe-mostlyclean-gprof: mostlyclean-gprof
12766 mostlyclean-gprof:
12767 @: $(MAKE); $(unstage)
12768 @[ -f ./gprof/Makefile ] || exit 0; \
12769 r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12771 $(HOST_EXPORTS) \
12772 for flag in $(EXTRA_HOST_FLAGS) ; do \
12773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12774 done; \
12775 echo "Doing mostlyclean in gprof" ; \
12776 (cd $(HOST_SUBDIR)/gprof && \
12777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779 "RANLIB=$${RANLIB}" \
12780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12781 mostlyclean) \
12782 || exit 1
12784 @endif gprof
12786 .PHONY: maybe-clean-gprof clean-gprof
12787 maybe-clean-gprof:
12788 @if gprof
12789 maybe-clean-gprof: clean-gprof
12791 clean-gprof:
12792 @: $(MAKE); $(unstage)
12793 @[ -f ./gprof/Makefile ] || exit 0; \
12794 r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 $(HOST_EXPORTS) \
12797 for flag in $(EXTRA_HOST_FLAGS) ; do \
12798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12799 done; \
12800 echo "Doing clean in gprof" ; \
12801 (cd $(HOST_SUBDIR)/gprof && \
12802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12804 "RANLIB=$${RANLIB}" \
12805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12806 clean) \
12807 || exit 1
12809 @endif gprof
12811 .PHONY: maybe-distclean-gprof distclean-gprof
12812 maybe-distclean-gprof:
12813 @if gprof
12814 maybe-distclean-gprof: distclean-gprof
12816 distclean-gprof:
12817 @: $(MAKE); $(unstage)
12818 @[ -f ./gprof/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 $(HOST_EXPORTS) \
12822 for flag in $(EXTRA_HOST_FLAGS) ; do \
12823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12824 done; \
12825 echo "Doing distclean in gprof" ; \
12826 (cd $(HOST_SUBDIR)/gprof && \
12827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12829 "RANLIB=$${RANLIB}" \
12830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12831 distclean) \
12832 || exit 1
12834 @endif gprof
12836 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12837 maybe-maintainer-clean-gprof:
12838 @if gprof
12839 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12841 maintainer-clean-gprof:
12842 @: $(MAKE); $(unstage)
12843 @[ -f ./gprof/Makefile ] || exit 0; \
12844 r=`${PWD_COMMAND}`; export r; \
12845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12846 $(HOST_EXPORTS) \
12847 for flag in $(EXTRA_HOST_FLAGS) ; do \
12848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12849 done; \
12850 echo "Doing maintainer-clean in gprof" ; \
12851 (cd $(HOST_SUBDIR)/gprof && \
12852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12854 "RANLIB=$${RANLIB}" \
12855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12856 maintainer-clean) \
12857 || exit 1
12859 @endif gprof
12863 .PHONY: configure-gzip maybe-configure-gzip
12864 maybe-configure-gzip:
12865 @if gzip
12866 maybe-configure-gzip: configure-gzip
12867 configure-gzip:
12868 @: $(MAKE); $(unstage)
12869 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12871 r=`${PWD_COMMAND}`; export r; \
12872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12873 $(HOST_EXPORTS) \
12874 echo Configuring in $(HOST_SUBDIR)/gzip; \
12875 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12876 case $(srcdir) in \
12877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12878 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12880 esac; \
12881 srcdiroption="--srcdir=$${topdir}/gzip"; \
12882 libsrcdir="$$s/gzip"; \
12883 $(SHELL) $${libsrcdir}/configure \
12884 $(HOST_CONFIGARGS) $${srcdiroption} \
12885 || exit 1
12886 @endif gzip
12892 .PHONY: all-gzip maybe-all-gzip
12893 maybe-all-gzip:
12894 @if gzip
12895 TARGET-gzip=all
12896 maybe-all-gzip: all-gzip
12897 all-gzip: configure-gzip
12898 @: $(MAKE); $(unstage)
12899 @r=`${PWD_COMMAND}`; export r; \
12900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12901 $(HOST_EXPORTS) \
12902 (cd $(HOST_SUBDIR)/gzip && \
12903 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12904 @endif gzip
12909 .PHONY: check-gzip maybe-check-gzip
12910 maybe-check-gzip:
12911 @if gzip
12912 maybe-check-gzip: check-gzip
12914 check-gzip:
12915 @: $(MAKE); $(unstage)
12916 @r=`${PWD_COMMAND}`; export r; \
12917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12918 $(HOST_EXPORTS) \
12919 (cd $(HOST_SUBDIR)/gzip && \
12920 $(MAKE) $(FLAGS_TO_PASS) check)
12922 @endif gzip
12924 .PHONY: install-gzip maybe-install-gzip
12925 maybe-install-gzip:
12926 @if gzip
12927 maybe-install-gzip: install-gzip
12929 install-gzip: installdirs
12930 @: $(MAKE); $(unstage)
12931 @r=`${PWD_COMMAND}`; export r; \
12932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12933 $(HOST_EXPORTS) \
12934 (cd $(HOST_SUBDIR)/gzip && \
12935 $(MAKE) $(FLAGS_TO_PASS) install)
12937 @endif gzip
12939 # Other targets (info, dvi, etc.)
12941 .PHONY: maybe-info-gzip info-gzip
12942 maybe-info-gzip:
12943 @if gzip
12944 maybe-info-gzip: info-gzip
12946 info-gzip: \
12947 configure-gzip
12948 @: $(MAKE); $(unstage)
12949 @[ -f ./gzip/Makefile ] || exit 0; \
12950 r=`${PWD_COMMAND}`; export r; \
12951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12952 $(HOST_EXPORTS) \
12953 for flag in $(EXTRA_HOST_FLAGS) ; do \
12954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12955 done; \
12956 echo "Doing info in gzip" ; \
12957 (cd $(HOST_SUBDIR)/gzip && \
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 info) \
12963 || exit 1
12965 @endif gzip
12967 .PHONY: maybe-dvi-gzip dvi-gzip
12968 maybe-dvi-gzip:
12969 @if gzip
12970 maybe-dvi-gzip: dvi-gzip
12972 dvi-gzip: \
12973 configure-gzip
12974 @: $(MAKE); $(unstage)
12975 @[ -f ./gzip/Makefile ] || exit 0; \
12976 r=`${PWD_COMMAND}`; export r; \
12977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12978 $(HOST_EXPORTS) \
12979 for flag in $(EXTRA_HOST_FLAGS) ; do \
12980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12981 done; \
12982 echo "Doing dvi in gzip" ; \
12983 (cd $(HOST_SUBDIR)/gzip && \
12984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12986 "RANLIB=$${RANLIB}" \
12987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12988 dvi) \
12989 || exit 1
12991 @endif gzip
12993 .PHONY: maybe-html-gzip html-gzip
12994 maybe-html-gzip:
12995 @if gzip
12996 maybe-html-gzip: html-gzip
12998 html-gzip: \
12999 configure-gzip
13000 @: $(MAKE); $(unstage)
13001 @[ -f ./gzip/Makefile ] || exit 0; \
13002 r=`${PWD_COMMAND}`; export r; \
13003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13004 $(HOST_EXPORTS) \
13005 for flag in $(EXTRA_HOST_FLAGS) ; do \
13006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13007 done; \
13008 echo "Doing html in gzip" ; \
13009 (cd $(HOST_SUBDIR)/gzip && \
13010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13012 "RANLIB=$${RANLIB}" \
13013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13014 html) \
13015 || exit 1
13017 @endif gzip
13019 .PHONY: maybe-TAGS-gzip TAGS-gzip
13020 maybe-TAGS-gzip:
13021 @if gzip
13022 maybe-TAGS-gzip: TAGS-gzip
13024 TAGS-gzip: \
13025 configure-gzip
13026 @: $(MAKE); $(unstage)
13027 @[ -f ./gzip/Makefile ] || exit 0; \
13028 r=`${PWD_COMMAND}`; export r; \
13029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13030 $(HOST_EXPORTS) \
13031 for flag in $(EXTRA_HOST_FLAGS) ; do \
13032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13033 done; \
13034 echo "Doing TAGS in gzip" ; \
13035 (cd $(HOST_SUBDIR)/gzip && \
13036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13038 "RANLIB=$${RANLIB}" \
13039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13040 TAGS) \
13041 || exit 1
13043 @endif gzip
13045 .PHONY: maybe-install-info-gzip install-info-gzip
13046 maybe-install-info-gzip:
13047 @if gzip
13048 maybe-install-info-gzip: install-info-gzip
13050 install-info-gzip: \
13051 configure-gzip \
13052 info-gzip
13053 @: $(MAKE); $(unstage)
13054 @[ -f ./gzip/Makefile ] || exit 0; \
13055 r=`${PWD_COMMAND}`; export r; \
13056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13057 $(HOST_EXPORTS) \
13058 for flag in $(EXTRA_HOST_FLAGS) ; do \
13059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13060 done; \
13061 echo "Doing install-info in gzip" ; \
13062 (cd $(HOST_SUBDIR)/gzip && \
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 install-info) \
13068 || exit 1
13070 @endif gzip
13072 .PHONY: maybe-installcheck-gzip installcheck-gzip
13073 maybe-installcheck-gzip:
13074 @if gzip
13075 maybe-installcheck-gzip: installcheck-gzip
13077 installcheck-gzip: \
13078 configure-gzip
13079 @: $(MAKE); $(unstage)
13080 @[ -f ./gzip/Makefile ] || exit 0; \
13081 r=`${PWD_COMMAND}`; export r; \
13082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13083 $(HOST_EXPORTS) \
13084 for flag in $(EXTRA_HOST_FLAGS) ; do \
13085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13086 done; \
13087 echo "Doing installcheck in gzip" ; \
13088 (cd $(HOST_SUBDIR)/gzip && \
13089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13091 "RANLIB=$${RANLIB}" \
13092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13093 installcheck) \
13094 || exit 1
13096 @endif gzip
13098 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13099 maybe-mostlyclean-gzip:
13100 @if gzip
13101 maybe-mostlyclean-gzip: mostlyclean-gzip
13103 mostlyclean-gzip:
13104 @: $(MAKE); $(unstage)
13105 @[ -f ./gzip/Makefile ] || exit 0; \
13106 r=`${PWD_COMMAND}`; export r; \
13107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13108 $(HOST_EXPORTS) \
13109 for flag in $(EXTRA_HOST_FLAGS) ; do \
13110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13111 done; \
13112 echo "Doing mostlyclean in gzip" ; \
13113 (cd $(HOST_SUBDIR)/gzip && \
13114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13116 "RANLIB=$${RANLIB}" \
13117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13118 mostlyclean) \
13119 || exit 1
13121 @endif gzip
13123 .PHONY: maybe-clean-gzip clean-gzip
13124 maybe-clean-gzip:
13125 @if gzip
13126 maybe-clean-gzip: clean-gzip
13128 clean-gzip:
13129 @: $(MAKE); $(unstage)
13130 @[ -f ./gzip/Makefile ] || exit 0; \
13131 r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 $(HOST_EXPORTS) \
13134 for flag in $(EXTRA_HOST_FLAGS) ; do \
13135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13136 done; \
13137 echo "Doing clean in gzip" ; \
13138 (cd $(HOST_SUBDIR)/gzip && \
13139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13141 "RANLIB=$${RANLIB}" \
13142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13143 clean) \
13144 || exit 1
13146 @endif gzip
13148 .PHONY: maybe-distclean-gzip distclean-gzip
13149 maybe-distclean-gzip:
13150 @if gzip
13151 maybe-distclean-gzip: distclean-gzip
13153 distclean-gzip:
13154 @: $(MAKE); $(unstage)
13155 @[ -f ./gzip/Makefile ] || exit 0; \
13156 r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 $(HOST_EXPORTS) \
13159 for flag in $(EXTRA_HOST_FLAGS) ; do \
13160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13161 done; \
13162 echo "Doing distclean in gzip" ; \
13163 (cd $(HOST_SUBDIR)/gzip && \
13164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13166 "RANLIB=$${RANLIB}" \
13167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13168 distclean) \
13169 || exit 1
13171 @endif gzip
13173 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13174 maybe-maintainer-clean-gzip:
13175 @if gzip
13176 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13178 maintainer-clean-gzip:
13179 @: $(MAKE); $(unstage)
13180 @[ -f ./gzip/Makefile ] || exit 0; \
13181 r=`${PWD_COMMAND}`; export r; \
13182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13183 $(HOST_EXPORTS) \
13184 for flag in $(EXTRA_HOST_FLAGS) ; do \
13185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13186 done; \
13187 echo "Doing maintainer-clean in gzip" ; \
13188 (cd $(HOST_SUBDIR)/gzip && \
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 maintainer-clean) \
13194 || exit 1
13196 @endif gzip
13200 .PHONY: configure-hello maybe-configure-hello
13201 maybe-configure-hello:
13202 @if hello
13203 maybe-configure-hello: configure-hello
13204 configure-hello:
13205 @: $(MAKE); $(unstage)
13206 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13208 r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 $(HOST_EXPORTS) \
13211 echo Configuring in $(HOST_SUBDIR)/hello; \
13212 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13213 case $(srcdir) in \
13214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13215 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13217 esac; \
13218 srcdiroption="--srcdir=$${topdir}/hello"; \
13219 libsrcdir="$$s/hello"; \
13220 $(SHELL) $${libsrcdir}/configure \
13221 $(HOST_CONFIGARGS) $${srcdiroption} \
13222 || exit 1
13223 @endif hello
13229 .PHONY: all-hello maybe-all-hello
13230 maybe-all-hello:
13231 @if hello
13232 TARGET-hello=all
13233 maybe-all-hello: all-hello
13234 all-hello: configure-hello
13235 @: $(MAKE); $(unstage)
13236 @r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(HOST_EXPORTS) \
13239 (cd $(HOST_SUBDIR)/hello && \
13240 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13241 @endif hello
13246 .PHONY: check-hello maybe-check-hello
13247 maybe-check-hello:
13248 @if hello
13249 maybe-check-hello: check-hello
13251 check-hello:
13252 @: $(MAKE); $(unstage)
13253 @r=`${PWD_COMMAND}`; export r; \
13254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13255 $(HOST_EXPORTS) \
13256 (cd $(HOST_SUBDIR)/hello && \
13257 $(MAKE) $(FLAGS_TO_PASS) check)
13259 @endif hello
13261 .PHONY: install-hello maybe-install-hello
13262 maybe-install-hello:
13263 @if hello
13264 maybe-install-hello: install-hello
13266 install-hello: installdirs
13267 @: $(MAKE); $(unstage)
13268 @r=`${PWD_COMMAND}`; export r; \
13269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13270 $(HOST_EXPORTS) \
13271 (cd $(HOST_SUBDIR)/hello && \
13272 $(MAKE) $(FLAGS_TO_PASS) install)
13274 @endif hello
13276 # Other targets (info, dvi, etc.)
13278 .PHONY: maybe-info-hello info-hello
13279 maybe-info-hello:
13280 @if hello
13281 maybe-info-hello: info-hello
13283 info-hello: \
13284 configure-hello
13285 @: $(MAKE); $(unstage)
13286 @[ -f ./hello/Makefile ] || exit 0; \
13287 r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 $(HOST_EXPORTS) \
13290 for flag in $(EXTRA_HOST_FLAGS) ; do \
13291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13292 done; \
13293 echo "Doing info in hello" ; \
13294 (cd $(HOST_SUBDIR)/hello && \
13295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13297 "RANLIB=$${RANLIB}" \
13298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13299 info) \
13300 || exit 1
13302 @endif hello
13304 .PHONY: maybe-dvi-hello dvi-hello
13305 maybe-dvi-hello:
13306 @if hello
13307 maybe-dvi-hello: dvi-hello
13309 dvi-hello: \
13310 configure-hello
13311 @: $(MAKE); $(unstage)
13312 @[ -f ./hello/Makefile ] || exit 0; \
13313 r=`${PWD_COMMAND}`; export r; \
13314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13315 $(HOST_EXPORTS) \
13316 for flag in $(EXTRA_HOST_FLAGS) ; do \
13317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13318 done; \
13319 echo "Doing dvi in hello" ; \
13320 (cd $(HOST_SUBDIR)/hello && \
13321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13323 "RANLIB=$${RANLIB}" \
13324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13325 dvi) \
13326 || exit 1
13328 @endif hello
13330 .PHONY: maybe-html-hello html-hello
13331 maybe-html-hello:
13332 @if hello
13333 maybe-html-hello: html-hello
13335 html-hello: \
13336 configure-hello
13337 @: $(MAKE); $(unstage)
13338 @[ -f ./hello/Makefile ] || exit 0; \
13339 r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 $(HOST_EXPORTS) \
13342 for flag in $(EXTRA_HOST_FLAGS) ; do \
13343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13344 done; \
13345 echo "Doing html in hello" ; \
13346 (cd $(HOST_SUBDIR)/hello && \
13347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13349 "RANLIB=$${RANLIB}" \
13350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13351 html) \
13352 || exit 1
13354 @endif hello
13356 .PHONY: maybe-TAGS-hello TAGS-hello
13357 maybe-TAGS-hello:
13358 @if hello
13359 maybe-TAGS-hello: TAGS-hello
13361 TAGS-hello: \
13362 configure-hello
13363 @: $(MAKE); $(unstage)
13364 @[ -f ./hello/Makefile ] || exit 0; \
13365 r=`${PWD_COMMAND}`; export r; \
13366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13367 $(HOST_EXPORTS) \
13368 for flag in $(EXTRA_HOST_FLAGS) ; do \
13369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13370 done; \
13371 echo "Doing TAGS in hello" ; \
13372 (cd $(HOST_SUBDIR)/hello && \
13373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13375 "RANLIB=$${RANLIB}" \
13376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13377 TAGS) \
13378 || exit 1
13380 @endif hello
13382 .PHONY: maybe-install-info-hello install-info-hello
13383 maybe-install-info-hello:
13384 @if hello
13385 maybe-install-info-hello: install-info-hello
13387 install-info-hello: \
13388 configure-hello \
13389 info-hello
13390 @: $(MAKE); $(unstage)
13391 @[ -f ./hello/Makefile ] || exit 0; \
13392 r=`${PWD_COMMAND}`; export r; \
13393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13394 $(HOST_EXPORTS) \
13395 for flag in $(EXTRA_HOST_FLAGS) ; do \
13396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13397 done; \
13398 echo "Doing install-info in hello" ; \
13399 (cd $(HOST_SUBDIR)/hello && \
13400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13402 "RANLIB=$${RANLIB}" \
13403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13404 install-info) \
13405 || exit 1
13407 @endif hello
13409 .PHONY: maybe-installcheck-hello installcheck-hello
13410 maybe-installcheck-hello:
13411 @if hello
13412 maybe-installcheck-hello: installcheck-hello
13414 installcheck-hello: \
13415 configure-hello
13416 @: $(MAKE); $(unstage)
13417 @[ -f ./hello/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing installcheck in hello" ; \
13425 (cd $(HOST_SUBDIR)/hello && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13430 installcheck) \
13431 || exit 1
13433 @endif hello
13435 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13436 maybe-mostlyclean-hello:
13437 @if hello
13438 maybe-mostlyclean-hello: mostlyclean-hello
13440 mostlyclean-hello:
13441 @: $(MAKE); $(unstage)
13442 @[ -f ./hello/Makefile ] || exit 0; \
13443 r=`${PWD_COMMAND}`; export r; \
13444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13445 $(HOST_EXPORTS) \
13446 for flag in $(EXTRA_HOST_FLAGS) ; do \
13447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13448 done; \
13449 echo "Doing mostlyclean in hello" ; \
13450 (cd $(HOST_SUBDIR)/hello && \
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 mostlyclean) \
13456 || exit 1
13458 @endif hello
13460 .PHONY: maybe-clean-hello clean-hello
13461 maybe-clean-hello:
13462 @if hello
13463 maybe-clean-hello: clean-hello
13465 clean-hello:
13466 @: $(MAKE); $(unstage)
13467 @[ -f ./hello/Makefile ] || exit 0; \
13468 r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 $(HOST_EXPORTS) \
13471 for flag in $(EXTRA_HOST_FLAGS) ; do \
13472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13473 done; \
13474 echo "Doing clean in hello" ; \
13475 (cd $(HOST_SUBDIR)/hello && \
13476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13478 "RANLIB=$${RANLIB}" \
13479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13480 clean) \
13481 || exit 1
13483 @endif hello
13485 .PHONY: maybe-distclean-hello distclean-hello
13486 maybe-distclean-hello:
13487 @if hello
13488 maybe-distclean-hello: distclean-hello
13490 distclean-hello:
13491 @: $(MAKE); $(unstage)
13492 @[ -f ./hello/Makefile ] || exit 0; \
13493 r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 $(HOST_EXPORTS) \
13496 for flag in $(EXTRA_HOST_FLAGS) ; do \
13497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13498 done; \
13499 echo "Doing distclean in hello" ; \
13500 (cd $(HOST_SUBDIR)/hello && \
13501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13503 "RANLIB=$${RANLIB}" \
13504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13505 distclean) \
13506 || exit 1
13508 @endif hello
13510 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13511 maybe-maintainer-clean-hello:
13512 @if hello
13513 maybe-maintainer-clean-hello: maintainer-clean-hello
13515 maintainer-clean-hello:
13516 @: $(MAKE); $(unstage)
13517 @[ -f ./hello/Makefile ] || exit 0; \
13518 r=`${PWD_COMMAND}`; export r; \
13519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13520 $(HOST_EXPORTS) \
13521 for flag in $(EXTRA_HOST_FLAGS) ; do \
13522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13523 done; \
13524 echo "Doing maintainer-clean in hello" ; \
13525 (cd $(HOST_SUBDIR)/hello && \
13526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13528 "RANLIB=$${RANLIB}" \
13529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13530 maintainer-clean) \
13531 || exit 1
13533 @endif hello
13537 .PHONY: configure-indent maybe-configure-indent
13538 maybe-configure-indent:
13539 @if indent
13540 maybe-configure-indent: configure-indent
13541 configure-indent:
13542 @: $(MAKE); $(unstage)
13543 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13545 r=`${PWD_COMMAND}`; export r; \
13546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13547 $(HOST_EXPORTS) \
13548 echo Configuring in $(HOST_SUBDIR)/indent; \
13549 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13550 case $(srcdir) in \
13551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13552 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13554 esac; \
13555 srcdiroption="--srcdir=$${topdir}/indent"; \
13556 libsrcdir="$$s/indent"; \
13557 $(SHELL) $${libsrcdir}/configure \
13558 $(HOST_CONFIGARGS) $${srcdiroption} \
13559 || exit 1
13560 @endif indent
13566 .PHONY: all-indent maybe-all-indent
13567 maybe-all-indent:
13568 @if indent
13569 TARGET-indent=all
13570 maybe-all-indent: all-indent
13571 all-indent: configure-indent
13572 @: $(MAKE); $(unstage)
13573 @r=`${PWD_COMMAND}`; export r; \
13574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13575 $(HOST_EXPORTS) \
13576 (cd $(HOST_SUBDIR)/indent && \
13577 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13578 @endif indent
13583 .PHONY: check-indent maybe-check-indent
13584 maybe-check-indent:
13585 @if indent
13586 maybe-check-indent: check-indent
13588 check-indent:
13589 @: $(MAKE); $(unstage)
13590 @r=`${PWD_COMMAND}`; export r; \
13591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13592 $(HOST_EXPORTS) \
13593 (cd $(HOST_SUBDIR)/indent && \
13594 $(MAKE) $(FLAGS_TO_PASS) check)
13596 @endif indent
13598 .PHONY: install-indent maybe-install-indent
13599 maybe-install-indent:
13600 @if indent
13601 maybe-install-indent: install-indent
13603 install-indent: installdirs
13604 @: $(MAKE); $(unstage)
13605 @r=`${PWD_COMMAND}`; export r; \
13606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13607 $(HOST_EXPORTS) \
13608 (cd $(HOST_SUBDIR)/indent && \
13609 $(MAKE) $(FLAGS_TO_PASS) install)
13611 @endif indent
13613 # Other targets (info, dvi, etc.)
13615 .PHONY: maybe-info-indent info-indent
13616 maybe-info-indent:
13617 @if indent
13618 maybe-info-indent: info-indent
13620 info-indent: \
13621 configure-indent
13622 @: $(MAKE); $(unstage)
13623 @[ -f ./indent/Makefile ] || exit 0; \
13624 r=`${PWD_COMMAND}`; export r; \
13625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13626 $(HOST_EXPORTS) \
13627 for flag in $(EXTRA_HOST_FLAGS) ; do \
13628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13629 done; \
13630 echo "Doing info in indent" ; \
13631 (cd $(HOST_SUBDIR)/indent && \
13632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13634 "RANLIB=$${RANLIB}" \
13635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13636 info) \
13637 || exit 1
13639 @endif indent
13641 .PHONY: maybe-dvi-indent dvi-indent
13642 maybe-dvi-indent:
13643 @if indent
13644 maybe-dvi-indent: dvi-indent
13646 dvi-indent: \
13647 configure-indent
13648 @: $(MAKE); $(unstage)
13649 @[ -f ./indent/Makefile ] || exit 0; \
13650 r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 $(HOST_EXPORTS) \
13653 for flag in $(EXTRA_HOST_FLAGS) ; do \
13654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13655 done; \
13656 echo "Doing dvi in indent" ; \
13657 (cd $(HOST_SUBDIR)/indent && \
13658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13660 "RANLIB=$${RANLIB}" \
13661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13662 dvi) \
13663 || exit 1
13665 @endif indent
13667 .PHONY: maybe-html-indent html-indent
13668 maybe-html-indent:
13669 @if indent
13670 maybe-html-indent: html-indent
13672 html-indent: \
13673 configure-indent
13674 @: $(MAKE); $(unstage)
13675 @[ -f ./indent/Makefile ] || exit 0; \
13676 r=`${PWD_COMMAND}`; export r; \
13677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13678 $(HOST_EXPORTS) \
13679 for flag in $(EXTRA_HOST_FLAGS) ; do \
13680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13681 done; \
13682 echo "Doing html in indent" ; \
13683 (cd $(HOST_SUBDIR)/indent && \
13684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13686 "RANLIB=$${RANLIB}" \
13687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13688 html) \
13689 || exit 1
13691 @endif indent
13693 .PHONY: maybe-TAGS-indent TAGS-indent
13694 maybe-TAGS-indent:
13695 @if indent
13696 maybe-TAGS-indent: TAGS-indent
13698 TAGS-indent: \
13699 configure-indent
13700 @: $(MAKE); $(unstage)
13701 @[ -f ./indent/Makefile ] || exit 0; \
13702 r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704 $(HOST_EXPORTS) \
13705 for flag in $(EXTRA_HOST_FLAGS) ; do \
13706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13707 done; \
13708 echo "Doing TAGS in indent" ; \
13709 (cd $(HOST_SUBDIR)/indent && \
13710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13712 "RANLIB=$${RANLIB}" \
13713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13714 TAGS) \
13715 || exit 1
13717 @endif indent
13719 .PHONY: maybe-install-info-indent install-info-indent
13720 maybe-install-info-indent:
13721 @if indent
13722 maybe-install-info-indent: install-info-indent
13724 install-info-indent: \
13725 configure-indent \
13726 info-indent
13727 @: $(MAKE); $(unstage)
13728 @[ -f ./indent/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing install-info in indent" ; \
13736 (cd $(HOST_SUBDIR)/indent && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13741 install-info) \
13742 || exit 1
13744 @endif indent
13746 .PHONY: maybe-installcheck-indent installcheck-indent
13747 maybe-installcheck-indent:
13748 @if indent
13749 maybe-installcheck-indent: installcheck-indent
13751 installcheck-indent: \
13752 configure-indent
13753 @: $(MAKE); $(unstage)
13754 @[ -f ./indent/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(HOST_EXPORTS) \
13758 for flag in $(EXTRA_HOST_FLAGS) ; do \
13759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760 done; \
13761 echo "Doing installcheck in indent" ; \
13762 (cd $(HOST_SUBDIR)/indent && \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765 "RANLIB=$${RANLIB}" \
13766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767 installcheck) \
13768 || exit 1
13770 @endif indent
13772 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13773 maybe-mostlyclean-indent:
13774 @if indent
13775 maybe-mostlyclean-indent: mostlyclean-indent
13777 mostlyclean-indent:
13778 @: $(MAKE); $(unstage)
13779 @[ -f ./indent/Makefile ] || exit 0; \
13780 r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 $(HOST_EXPORTS) \
13783 for flag in $(EXTRA_HOST_FLAGS) ; do \
13784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13785 done; \
13786 echo "Doing mostlyclean in indent" ; \
13787 (cd $(HOST_SUBDIR)/indent && \
13788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13790 "RANLIB=$${RANLIB}" \
13791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13792 mostlyclean) \
13793 || exit 1
13795 @endif indent
13797 .PHONY: maybe-clean-indent clean-indent
13798 maybe-clean-indent:
13799 @if indent
13800 maybe-clean-indent: clean-indent
13802 clean-indent:
13803 @: $(MAKE); $(unstage)
13804 @[ -f ./indent/Makefile ] || exit 0; \
13805 r=`${PWD_COMMAND}`; export r; \
13806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13807 $(HOST_EXPORTS) \
13808 for flag in $(EXTRA_HOST_FLAGS) ; do \
13809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13810 done; \
13811 echo "Doing clean in indent" ; \
13812 (cd $(HOST_SUBDIR)/indent && \
13813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13815 "RANLIB=$${RANLIB}" \
13816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13817 clean) \
13818 || exit 1
13820 @endif indent
13822 .PHONY: maybe-distclean-indent distclean-indent
13823 maybe-distclean-indent:
13824 @if indent
13825 maybe-distclean-indent: distclean-indent
13827 distclean-indent:
13828 @: $(MAKE); $(unstage)
13829 @[ -f ./indent/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 for flag in $(EXTRA_HOST_FLAGS) ; do \
13834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 done; \
13836 echo "Doing distclean in indent" ; \
13837 (cd $(HOST_SUBDIR)/indent && \
13838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13840 "RANLIB=$${RANLIB}" \
13841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13842 distclean) \
13843 || exit 1
13845 @endif indent
13847 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13848 maybe-maintainer-clean-indent:
13849 @if indent
13850 maybe-maintainer-clean-indent: maintainer-clean-indent
13852 maintainer-clean-indent:
13853 @: $(MAKE); $(unstage)
13854 @[ -f ./indent/Makefile ] || exit 0; \
13855 r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 $(HOST_EXPORTS) \
13858 for flag in $(EXTRA_HOST_FLAGS) ; do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 done; \
13861 echo "Doing maintainer-clean in indent" ; \
13862 (cd $(HOST_SUBDIR)/indent && \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13867 maintainer-clean) \
13868 || exit 1
13870 @endif indent
13874 .PHONY: configure-intl maybe-configure-intl
13875 maybe-configure-intl:
13876 @if intl
13877 maybe-configure-intl: configure-intl
13878 configure-intl:
13879 @test -f stage_last && exit 0; \
13880 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13882 r=`${PWD_COMMAND}`; export r; \
13883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13884 $(HOST_EXPORTS) \
13885 echo Configuring in $(HOST_SUBDIR)/intl; \
13886 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13887 case $(srcdir) in \
13888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13889 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13891 esac; \
13892 srcdiroption="--srcdir=$${topdir}/intl"; \
13893 libsrcdir="$$s/intl"; \
13894 $(SHELL) $${libsrcdir}/configure \
13895 $(HOST_CONFIGARGS) $${srcdiroption} \
13896 || exit 1
13897 @endif intl
13901 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13902 maybe-configure-stage1-intl:
13903 @if intl-bootstrap
13904 maybe-configure-stage1-intl: configure-stage1-intl
13905 configure-stage1-intl:
13906 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13908 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13909 $(HOST_EXPORTS) \
13910 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13912 cd $(HOST_SUBDIR)/intl || exit 1; \
13913 case $(srcdir) in \
13914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13915 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13917 esac; \
13918 srcdiroption="--srcdir=$${topdir}/intl"; \
13919 libsrcdir="$$s/intl"; \
13920 $(SHELL) $${libsrcdir}/configure \
13921 $(HOST_CONFIGARGS) $${srcdiroption} \
13922 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13923 @endif intl-bootstrap
13925 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13926 maybe-configure-stage2-intl:
13927 @if intl-bootstrap
13928 maybe-configure-stage2-intl: configure-stage2-intl
13929 configure-stage2-intl:
13930 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13932 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13933 $(HOST_EXPORTS) \
13934 $(POSTSTAGE1_HOST_EXPORTS) \
13935 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13937 cd $(HOST_SUBDIR)/intl || exit 1; \
13938 case $(srcdir) in \
13939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13940 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13942 esac; \
13943 srcdiroption="--srcdir=$${topdir}/intl"; \
13944 libsrcdir="$$s/intl"; \
13945 $(SHELL) $${libsrcdir}/configure \
13946 $(HOST_CONFIGARGS) $${srcdiroption} \
13947 @stage2_werror_flag@
13948 @endif intl-bootstrap
13950 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13951 maybe-configure-stage3-intl:
13952 @if intl-bootstrap
13953 maybe-configure-stage3-intl: configure-stage3-intl
13954 configure-stage3-intl:
13955 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13957 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13958 $(HOST_EXPORTS) \
13959 $(POSTSTAGE1_HOST_EXPORTS) \
13960 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13962 cd $(HOST_SUBDIR)/intl || exit 1; \
13963 case $(srcdir) in \
13964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13965 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13967 esac; \
13968 srcdiroption="--srcdir=$${topdir}/intl"; \
13969 libsrcdir="$$s/intl"; \
13970 $(SHELL) $${libsrcdir}/configure \
13971 $(HOST_CONFIGARGS) $${srcdiroption} \
13972 @stage2_werror_flag@
13973 @endif intl-bootstrap
13975 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13976 maybe-configure-stage4-intl:
13977 @if intl-bootstrap
13978 maybe-configure-stage4-intl: configure-stage4-intl
13979 configure-stage4-intl:
13980 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
13981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13982 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13983 $(HOST_EXPORTS) \
13984 $(POSTSTAGE1_HOST_EXPORTS) \
13985 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13987 cd $(HOST_SUBDIR)/intl || exit 1; \
13988 case $(srcdir) in \
13989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13990 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13992 esac; \
13993 srcdiroption="--srcdir=$${topdir}/intl"; \
13994 libsrcdir="$$s/intl"; \
13995 $(SHELL) $${libsrcdir}/configure \
13996 $(HOST_CONFIGARGS) $${srcdiroption} \
13997 @stage2_werror_flag@
13998 @endif intl-bootstrap
14000 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14001 maybe-configure-stageprofile-intl:
14002 @if intl-bootstrap
14003 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14004 configure-stageprofile-intl:
14005 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14007 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14008 $(HOST_EXPORTS) \
14009 $(POSTSTAGE1_HOST_EXPORTS) \
14010 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14012 cd $(HOST_SUBDIR)/intl || exit 1; \
14013 case $(srcdir) in \
14014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14015 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14017 esac; \
14018 srcdiroption="--srcdir=$${topdir}/intl"; \
14019 libsrcdir="$$s/intl"; \
14020 $(SHELL) $${libsrcdir}/configure \
14021 $(HOST_CONFIGARGS) $${srcdiroption} \
14022 @stage2_werror_flag@
14023 @endif intl-bootstrap
14025 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14026 maybe-configure-stagefeedback-intl:
14027 @if intl-bootstrap
14028 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14029 configure-stagefeedback-intl:
14030 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14032 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14033 $(HOST_EXPORTS) \
14034 $(POSTSTAGE1_HOST_EXPORTS) \
14035 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14037 cd $(HOST_SUBDIR)/intl || exit 1; \
14038 case $(srcdir) in \
14039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14040 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14042 esac; \
14043 srcdiroption="--srcdir=$${topdir}/intl"; \
14044 libsrcdir="$$s/intl"; \
14045 $(SHELL) $${libsrcdir}/configure \
14046 $(HOST_CONFIGARGS) $${srcdiroption} \
14047 @stage2_werror_flag@
14048 @endif intl-bootstrap
14054 .PHONY: all-intl maybe-all-intl
14055 maybe-all-intl:
14056 @if intl
14057 TARGET-intl=all
14058 maybe-all-intl: all-intl
14059 all-intl: configure-intl
14060 @test -f stage_last && exit 0; \
14061 r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 $(HOST_EXPORTS) \
14064 (cd $(HOST_SUBDIR)/intl && \
14065 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14066 @endif intl
14070 .PHONY: all-stage1-intl maybe-all-stage1-intl
14071 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14072 maybe-all-stage1-intl:
14073 maybe-clean-stage1-intl:
14074 @if intl-bootstrap
14075 maybe-all-stage1-intl: all-stage1-intl
14076 all-stage1: all-stage1-intl
14077 TARGET-stage1-intl = $(TARGET-intl)
14078 all-stage1-intl: configure-stage1-intl
14079 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14080 @r=`${PWD_COMMAND}`; export r; \
14081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14082 $(HOST_EXPORTS) \
14083 cd $(HOST_SUBDIR)/intl && \
14084 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14085 $(TARGET-stage1-intl)
14087 maybe-clean-stage1-intl: clean-stage1-intl
14088 clean-stage1: clean-stage1-intl
14089 clean-stage1-intl:
14090 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14091 || exit 0 ; \
14092 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14093 cd $(HOST_SUBDIR)/intl && \
14094 $(MAKE) $(FLAGS_TO_PASS) \
14095 CFLAGS="$(STAGE1_CFLAGS)" clean
14096 @endif intl-bootstrap
14099 .PHONY: all-stage2-intl maybe-all-stage2-intl
14100 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14101 maybe-all-stage2-intl:
14102 maybe-clean-stage2-intl:
14103 @if intl-bootstrap
14104 maybe-all-stage2-intl: all-stage2-intl
14105 all-stage2: all-stage2-intl
14106 TARGET-stage2-intl = $(TARGET-intl)
14107 all-stage2-intl: configure-stage2-intl
14108 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14109 @r=`${PWD_COMMAND}`; export r; \
14110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14111 $(HOST_EXPORTS) \
14112 $(POSTSTAGE1_HOST_EXPORTS) \
14113 cd $(HOST_SUBDIR)/intl && \
14114 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14115 $(TARGET-stage2-intl)
14117 maybe-clean-stage2-intl: clean-stage2-intl
14118 clean-stage2: clean-stage2-intl
14119 clean-stage2-intl:
14120 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14121 || exit 0 ; \
14122 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14123 cd $(HOST_SUBDIR)/intl && \
14124 $(MAKE) $(FLAGS_TO_PASS) \
14125 $(POSTSTAGE1_FLAGS_TO_PASS) \
14126 clean
14127 @endif intl-bootstrap
14130 .PHONY: all-stage3-intl maybe-all-stage3-intl
14131 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14132 maybe-all-stage3-intl:
14133 maybe-clean-stage3-intl:
14134 @if intl-bootstrap
14135 maybe-all-stage3-intl: all-stage3-intl
14136 all-stage3: all-stage3-intl
14137 TARGET-stage3-intl = $(TARGET-intl)
14138 all-stage3-intl: configure-stage3-intl
14139 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14140 @r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(HOST_EXPORTS) \
14143 $(POSTSTAGE1_HOST_EXPORTS) \
14144 cd $(HOST_SUBDIR)/intl && \
14145 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14146 $(TARGET-stage3-intl)
14148 maybe-clean-stage3-intl: clean-stage3-intl
14149 clean-stage3: clean-stage3-intl
14150 clean-stage3-intl:
14151 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14152 || exit 0 ; \
14153 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14154 cd $(HOST_SUBDIR)/intl && \
14155 $(MAKE) $(FLAGS_TO_PASS) \
14156 $(POSTSTAGE1_FLAGS_TO_PASS) \
14157 clean
14158 @endif intl-bootstrap
14161 .PHONY: all-stage4-intl maybe-all-stage4-intl
14162 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14163 maybe-all-stage4-intl:
14164 maybe-clean-stage4-intl:
14165 @if intl-bootstrap
14166 maybe-all-stage4-intl: all-stage4-intl
14167 all-stage4: all-stage4-intl
14168 TARGET-stage4-intl = $(TARGET-intl)
14169 all-stage4-intl: configure-stage4-intl
14170 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14171 @r=`${PWD_COMMAND}`; export r; \
14172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14173 $(HOST_EXPORTS) \
14174 $(POSTSTAGE1_HOST_EXPORTS) \
14175 cd $(HOST_SUBDIR)/intl && \
14176 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14177 $(TARGET-stage4-intl)
14179 maybe-clean-stage4-intl: clean-stage4-intl
14180 clean-stage4: clean-stage4-intl
14181 clean-stage4-intl:
14182 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14183 || exit 0 ; \
14184 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14185 cd $(HOST_SUBDIR)/intl && \
14186 $(MAKE) $(FLAGS_TO_PASS) \
14187 $(POSTSTAGE1_FLAGS_TO_PASS) \
14188 clean
14189 @endif intl-bootstrap
14192 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14193 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14194 maybe-all-stageprofile-intl:
14195 maybe-clean-stageprofile-intl:
14196 @if intl-bootstrap
14197 maybe-all-stageprofile-intl: all-stageprofile-intl
14198 all-stageprofile: all-stageprofile-intl
14199 TARGET-stageprofile-intl = $(TARGET-intl)
14200 all-stageprofile-intl: configure-stageprofile-intl
14201 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14202 @r=`${PWD_COMMAND}`; export r; \
14203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14204 $(HOST_EXPORTS) \
14205 $(POSTSTAGE1_HOST_EXPORTS) \
14206 cd $(HOST_SUBDIR)/intl && \
14207 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14208 $(TARGET-stageprofile-intl)
14210 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14211 clean-stageprofile: clean-stageprofile-intl
14212 clean-stageprofile-intl:
14213 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14214 || exit 0 ; \
14215 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14216 cd $(HOST_SUBDIR)/intl && \
14217 $(MAKE) $(FLAGS_TO_PASS) \
14218 $(POSTSTAGE1_FLAGS_TO_PASS) \
14219 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14220 @endif intl-bootstrap
14223 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14224 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14225 maybe-all-stagefeedback-intl:
14226 maybe-clean-stagefeedback-intl:
14227 @if intl-bootstrap
14228 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14229 all-stagefeedback: all-stagefeedback-intl
14230 TARGET-stagefeedback-intl = $(TARGET-intl)
14231 all-stagefeedback-intl: configure-stagefeedback-intl
14232 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14233 @r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 $(HOST_EXPORTS) \
14236 $(POSTSTAGE1_HOST_EXPORTS) \
14237 cd $(HOST_SUBDIR)/intl && \
14238 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14239 $(TARGET-stagefeedback-intl)
14241 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14242 clean-stagefeedback: clean-stagefeedback-intl
14243 clean-stagefeedback-intl:
14244 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14245 || exit 0 ; \
14246 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14247 cd $(HOST_SUBDIR)/intl && \
14248 $(MAKE) $(FLAGS_TO_PASS) \
14249 $(POSTSTAGE1_FLAGS_TO_PASS) \
14250 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14251 @endif intl-bootstrap
14257 .PHONY: check-intl maybe-check-intl
14258 maybe-check-intl:
14259 @if intl
14260 maybe-check-intl: check-intl
14262 check-intl:
14263 @: $(MAKE); $(unstage)
14264 @r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 $(HOST_EXPORTS) \
14267 (cd $(HOST_SUBDIR)/intl && \
14268 $(MAKE) $(FLAGS_TO_PASS) check)
14270 @endif intl
14272 .PHONY: install-intl maybe-install-intl
14273 maybe-install-intl:
14274 @if intl
14275 maybe-install-intl: install-intl
14277 install-intl: installdirs
14278 @: $(MAKE); $(unstage)
14279 @r=`${PWD_COMMAND}`; export r; \
14280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14281 $(HOST_EXPORTS) \
14282 (cd $(HOST_SUBDIR)/intl && \
14283 $(MAKE) $(FLAGS_TO_PASS) install)
14285 @endif intl
14287 # Other targets (info, dvi, etc.)
14289 .PHONY: maybe-info-intl info-intl
14290 maybe-info-intl:
14291 @if intl
14292 maybe-info-intl: info-intl
14294 info-intl: \
14295 configure-intl
14296 @[ -f ./intl/Makefile ] || exit 0; \
14297 r=`${PWD_COMMAND}`; export r; \
14298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14299 $(HOST_EXPORTS) \
14300 for flag in $(EXTRA_HOST_FLAGS) ; do \
14301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14302 done; \
14303 echo "Doing info in intl" ; \
14304 (cd $(HOST_SUBDIR)/intl && \
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 info) \
14310 || exit 1
14312 @endif intl
14314 .PHONY: maybe-dvi-intl dvi-intl
14315 maybe-dvi-intl:
14316 @if intl
14317 maybe-dvi-intl: dvi-intl
14319 dvi-intl: \
14320 configure-intl
14321 @[ -f ./intl/Makefile ] || exit 0; \
14322 r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 $(HOST_EXPORTS) \
14325 for flag in $(EXTRA_HOST_FLAGS) ; do \
14326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14327 done; \
14328 echo "Doing dvi in intl" ; \
14329 (cd $(HOST_SUBDIR)/intl && \
14330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14332 "RANLIB=$${RANLIB}" \
14333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14334 dvi) \
14335 || exit 1
14337 @endif intl
14339 .PHONY: maybe-html-intl html-intl
14340 maybe-html-intl:
14341 @if intl
14342 maybe-html-intl: html-intl
14344 html-intl: \
14345 configure-intl
14346 @[ -f ./intl/Makefile ] || exit 0; \
14347 r=`${PWD_COMMAND}`; export r; \
14348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14349 $(HOST_EXPORTS) \
14350 for flag in $(EXTRA_HOST_FLAGS) ; do \
14351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14352 done; \
14353 echo "Doing html in intl" ; \
14354 (cd $(HOST_SUBDIR)/intl && \
14355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14357 "RANLIB=$${RANLIB}" \
14358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14359 html) \
14360 || exit 1
14362 @endif intl
14364 .PHONY: maybe-TAGS-intl TAGS-intl
14365 maybe-TAGS-intl:
14366 @if intl
14367 maybe-TAGS-intl: TAGS-intl
14369 TAGS-intl: \
14370 configure-intl
14371 @[ -f ./intl/Makefile ] || exit 0; \
14372 r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374 $(HOST_EXPORTS) \
14375 for flag in $(EXTRA_HOST_FLAGS) ; do \
14376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14377 done; \
14378 echo "Doing TAGS in intl" ; \
14379 (cd $(HOST_SUBDIR)/intl && \
14380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14382 "RANLIB=$${RANLIB}" \
14383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14384 TAGS) \
14385 || exit 1
14387 @endif intl
14389 .PHONY: maybe-install-info-intl install-info-intl
14390 maybe-install-info-intl:
14391 @if intl
14392 maybe-install-info-intl: install-info-intl
14394 install-info-intl: \
14395 configure-intl \
14396 info-intl
14397 @[ -f ./intl/Makefile ] || exit 0; \
14398 r=`${PWD_COMMAND}`; export r; \
14399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14400 $(HOST_EXPORTS) \
14401 for flag in $(EXTRA_HOST_FLAGS) ; do \
14402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14403 done; \
14404 echo "Doing install-info in intl" ; \
14405 (cd $(HOST_SUBDIR)/intl && \
14406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14408 "RANLIB=$${RANLIB}" \
14409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14410 install-info) \
14411 || exit 1
14413 @endif intl
14415 .PHONY: maybe-installcheck-intl installcheck-intl
14416 maybe-installcheck-intl:
14417 @if intl
14418 maybe-installcheck-intl: installcheck-intl
14420 installcheck-intl: \
14421 configure-intl
14422 @[ -f ./intl/Makefile ] || exit 0; \
14423 r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 $(HOST_EXPORTS) \
14426 for flag in $(EXTRA_HOST_FLAGS) ; do \
14427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14428 done; \
14429 echo "Doing installcheck in intl" ; \
14430 (cd $(HOST_SUBDIR)/intl && \
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 installcheck) \
14436 || exit 1
14438 @endif intl
14440 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14441 maybe-mostlyclean-intl:
14442 @if intl
14443 maybe-mostlyclean-intl: mostlyclean-intl
14445 mostlyclean-intl:
14446 @[ -f ./intl/Makefile ] || exit 0; \
14447 r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 $(HOST_EXPORTS) \
14450 for flag in $(EXTRA_HOST_FLAGS) ; do \
14451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14452 done; \
14453 echo "Doing mostlyclean in intl" ; \
14454 (cd $(HOST_SUBDIR)/intl && \
14455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457 "RANLIB=$${RANLIB}" \
14458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14459 mostlyclean) \
14460 || exit 1
14462 @endif intl
14464 .PHONY: maybe-clean-intl clean-intl
14465 maybe-clean-intl:
14466 @if intl
14467 maybe-clean-intl: clean-intl
14469 clean-intl:
14470 @[ -f ./intl/Makefile ] || exit 0; \
14471 r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14473 $(HOST_EXPORTS) \
14474 for flag in $(EXTRA_HOST_FLAGS) ; do \
14475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14476 done; \
14477 echo "Doing clean in intl" ; \
14478 (cd $(HOST_SUBDIR)/intl && \
14479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14481 "RANLIB=$${RANLIB}" \
14482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14483 clean) \
14484 || exit 1
14486 @endif intl
14488 .PHONY: maybe-distclean-intl distclean-intl
14489 maybe-distclean-intl:
14490 @if intl
14491 maybe-distclean-intl: distclean-intl
14493 distclean-intl:
14494 @[ -f ./intl/Makefile ] || exit 0; \
14495 r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) ; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing distclean in intl" ; \
14502 (cd $(HOST_SUBDIR)/intl && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14507 distclean) \
14508 || exit 1
14510 @endif intl
14512 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14513 maybe-maintainer-clean-intl:
14514 @if intl
14515 maybe-maintainer-clean-intl: maintainer-clean-intl
14517 maintainer-clean-intl:
14518 @[ -f ./intl/Makefile ] || exit 0; \
14519 r=`${PWD_COMMAND}`; export r; \
14520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14521 $(HOST_EXPORTS) \
14522 for flag in $(EXTRA_HOST_FLAGS) ; do \
14523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14524 done; \
14525 echo "Doing maintainer-clean in intl" ; \
14526 (cd $(HOST_SUBDIR)/intl && \
14527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14529 "RANLIB=$${RANLIB}" \
14530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14531 maintainer-clean) \
14532 || exit 1
14534 @endif intl
14538 .PHONY: configure-tcl maybe-configure-tcl
14539 maybe-configure-tcl:
14540 @if tcl
14541 maybe-configure-tcl: configure-tcl
14542 configure-tcl:
14543 @: $(MAKE); $(unstage)
14544 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14546 r=`${PWD_COMMAND}`; export r; \
14547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14548 $(HOST_EXPORTS) \
14549 echo Configuring in $(HOST_SUBDIR)/tcl; \
14550 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14551 case $(srcdir) in \
14552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14553 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14555 esac; \
14556 srcdiroption="--srcdir=$${topdir}/tcl"; \
14557 libsrcdir="$$s/tcl"; \
14558 $(SHELL) $${libsrcdir}/configure \
14559 $(HOST_CONFIGARGS) $${srcdiroption} \
14560 || exit 1
14561 @endif tcl
14567 .PHONY: all-tcl maybe-all-tcl
14568 maybe-all-tcl:
14569 @if tcl
14570 TARGET-tcl=all
14571 maybe-all-tcl: all-tcl
14572 all-tcl: configure-tcl
14573 @: $(MAKE); $(unstage)
14574 @r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 (cd $(HOST_SUBDIR)/tcl && \
14578 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14579 @endif tcl
14584 .PHONY: check-tcl maybe-check-tcl
14585 maybe-check-tcl:
14586 @if tcl
14587 maybe-check-tcl: check-tcl
14589 check-tcl:
14590 @: $(MAKE); $(unstage)
14591 @r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 $(HOST_EXPORTS) \
14594 (cd $(HOST_SUBDIR)/tcl && \
14595 $(MAKE) $(FLAGS_TO_PASS) check)
14597 @endif tcl
14599 .PHONY: install-tcl maybe-install-tcl
14600 maybe-install-tcl:
14601 @if tcl
14602 maybe-install-tcl: install-tcl
14604 install-tcl: installdirs
14605 @: $(MAKE); $(unstage)
14606 @r=`${PWD_COMMAND}`; export r; \
14607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14608 $(HOST_EXPORTS) \
14609 (cd $(HOST_SUBDIR)/tcl && \
14610 $(MAKE) $(FLAGS_TO_PASS) install)
14612 @endif tcl
14614 # Other targets (info, dvi, etc.)
14616 .PHONY: maybe-info-tcl info-tcl
14617 maybe-info-tcl:
14618 @if tcl
14619 maybe-info-tcl: info-tcl
14621 info-tcl: \
14622 configure-tcl
14623 @: $(MAKE); $(unstage)
14624 @[ -f ./tcl/Makefile ] || exit 0; \
14625 r=`${PWD_COMMAND}`; export r; \
14626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14627 $(HOST_EXPORTS) \
14628 for flag in $(EXTRA_HOST_FLAGS) ; do \
14629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14630 done; \
14631 echo "Doing info in tcl" ; \
14632 (cd $(HOST_SUBDIR)/tcl && \
14633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14635 "RANLIB=$${RANLIB}" \
14636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14637 info) \
14638 || exit 1
14640 @endif tcl
14642 .PHONY: maybe-dvi-tcl dvi-tcl
14643 maybe-dvi-tcl:
14644 @if tcl
14645 maybe-dvi-tcl: dvi-tcl
14647 dvi-tcl: \
14648 configure-tcl
14649 @: $(MAKE); $(unstage)
14650 @[ -f ./tcl/Makefile ] || exit 0; \
14651 r=`${PWD_COMMAND}`; export r; \
14652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 $(HOST_EXPORTS) \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 done; \
14657 echo "Doing dvi in tcl" ; \
14658 (cd $(HOST_SUBDIR)/tcl && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 dvi) \
14664 || exit 1
14666 @endif tcl
14668 .PHONY: maybe-html-tcl html-tcl
14669 maybe-html-tcl:
14670 @if tcl
14671 maybe-html-tcl: html-tcl
14673 html-tcl: \
14674 configure-tcl
14675 @: $(MAKE); $(unstage)
14676 @[ -f ./tcl/Makefile ] || exit 0; \
14677 r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 $(HOST_EXPORTS) \
14680 for flag in $(EXTRA_HOST_FLAGS) ; do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing html in tcl" ; \
14684 (cd $(HOST_SUBDIR)/tcl && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 html) \
14690 || exit 1
14692 @endif tcl
14694 .PHONY: maybe-TAGS-tcl TAGS-tcl
14695 maybe-TAGS-tcl:
14696 @if tcl
14697 maybe-TAGS-tcl: TAGS-tcl
14699 TAGS-tcl: \
14700 configure-tcl
14701 @: $(MAKE); $(unstage)
14702 @[ -f ./tcl/Makefile ] || exit 0; \
14703 r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 $(HOST_EXPORTS) \
14706 for flag in $(EXTRA_HOST_FLAGS) ; do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 done; \
14709 echo "Doing TAGS in tcl" ; \
14710 (cd $(HOST_SUBDIR)/tcl && \
14711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14713 "RANLIB=$${RANLIB}" \
14714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14715 TAGS) \
14716 || exit 1
14718 @endif tcl
14720 .PHONY: maybe-install-info-tcl install-info-tcl
14721 maybe-install-info-tcl:
14722 @if tcl
14723 maybe-install-info-tcl: install-info-tcl
14725 install-info-tcl: \
14726 configure-tcl \
14727 info-tcl
14728 @: $(MAKE); $(unstage)
14729 @[ -f ./tcl/Makefile ] || exit 0; \
14730 r=`${PWD_COMMAND}`; export r; \
14731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 $(HOST_EXPORTS) \
14733 for flag in $(EXTRA_HOST_FLAGS) ; do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14735 done; \
14736 echo "Doing install-info in tcl" ; \
14737 (cd $(HOST_SUBDIR)/tcl && \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14742 install-info) \
14743 || exit 1
14745 @endif tcl
14747 .PHONY: maybe-installcheck-tcl installcheck-tcl
14748 maybe-installcheck-tcl:
14749 @if tcl
14750 maybe-installcheck-tcl: installcheck-tcl
14752 installcheck-tcl: \
14753 configure-tcl
14754 @: $(MAKE); $(unstage)
14755 @[ -f ./tcl/Makefile ] || exit 0; \
14756 r=`${PWD_COMMAND}`; export r; \
14757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14758 $(HOST_EXPORTS) \
14759 for flag in $(EXTRA_HOST_FLAGS) ; do \
14760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14761 done; \
14762 echo "Doing installcheck in tcl" ; \
14763 (cd $(HOST_SUBDIR)/tcl && \
14764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14766 "RANLIB=$${RANLIB}" \
14767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14768 installcheck) \
14769 || exit 1
14771 @endif tcl
14773 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14774 maybe-mostlyclean-tcl:
14775 @if tcl
14776 maybe-mostlyclean-tcl: mostlyclean-tcl
14778 # tcl doesn't support mostlyclean.
14779 mostlyclean-tcl:
14781 @endif tcl
14783 .PHONY: maybe-clean-tcl clean-tcl
14784 maybe-clean-tcl:
14785 @if tcl
14786 maybe-clean-tcl: clean-tcl
14788 clean-tcl:
14789 @: $(MAKE); $(unstage)
14790 @[ -f ./tcl/Makefile ] || exit 0; \
14791 r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS) ; do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing clean in tcl" ; \
14798 (cd $(HOST_SUBDIR)/tcl && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14803 clean) \
14804 || exit 1
14806 @endif tcl
14808 .PHONY: maybe-distclean-tcl distclean-tcl
14809 maybe-distclean-tcl:
14810 @if tcl
14811 maybe-distclean-tcl: distclean-tcl
14813 distclean-tcl:
14814 @: $(MAKE); $(unstage)
14815 @[ -f ./tcl/Makefile ] || exit 0; \
14816 r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS) ; do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing distclean in tcl" ; \
14823 (cd $(HOST_SUBDIR)/tcl && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14828 distclean) \
14829 || exit 1
14831 @endif tcl
14833 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14834 maybe-maintainer-clean-tcl:
14835 @if tcl
14836 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14838 maintainer-clean-tcl:
14839 @: $(MAKE); $(unstage)
14840 @[ -f ./tcl/Makefile ] || exit 0; \
14841 r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(HOST_EXPORTS) \
14844 for flag in $(EXTRA_HOST_FLAGS) ; do \
14845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14846 done; \
14847 echo "Doing maintainer-clean in tcl" ; \
14848 (cd $(HOST_SUBDIR)/tcl && \
14849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14851 "RANLIB=$${RANLIB}" \
14852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14853 maintainer-clean) \
14854 || exit 1
14856 @endif tcl
14860 .PHONY: configure-itcl maybe-configure-itcl
14861 maybe-configure-itcl:
14862 @if itcl
14863 maybe-configure-itcl: configure-itcl
14864 configure-itcl:
14865 @: $(MAKE); $(unstage)
14866 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14868 r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 $(HOST_EXPORTS) \
14871 echo Configuring in $(HOST_SUBDIR)/itcl; \
14872 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14873 case $(srcdir) in \
14874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14875 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14877 esac; \
14878 srcdiroption="--srcdir=$${topdir}/itcl"; \
14879 libsrcdir="$$s/itcl"; \
14880 $(SHELL) $${libsrcdir}/configure \
14881 $(HOST_CONFIGARGS) $${srcdiroption} \
14882 || exit 1
14883 @endif itcl
14889 .PHONY: all-itcl maybe-all-itcl
14890 maybe-all-itcl:
14891 @if itcl
14892 TARGET-itcl=all
14893 maybe-all-itcl: all-itcl
14894 all-itcl: configure-itcl
14895 @: $(MAKE); $(unstage)
14896 @r=`${PWD_COMMAND}`; export r; \
14897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14898 $(HOST_EXPORTS) \
14899 (cd $(HOST_SUBDIR)/itcl && \
14900 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14901 @endif itcl
14906 .PHONY: check-itcl maybe-check-itcl
14907 maybe-check-itcl:
14908 @if itcl
14909 maybe-check-itcl: check-itcl
14911 check-itcl:
14912 @: $(MAKE); $(unstage)
14913 @r=`${PWD_COMMAND}`; export r; \
14914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14915 $(HOST_EXPORTS) \
14916 (cd $(HOST_SUBDIR)/itcl && \
14917 $(MAKE) $(FLAGS_TO_PASS) check)
14919 @endif itcl
14921 .PHONY: install-itcl maybe-install-itcl
14922 maybe-install-itcl:
14923 @if itcl
14924 maybe-install-itcl: install-itcl
14926 install-itcl: installdirs
14927 @: $(MAKE); $(unstage)
14928 @r=`${PWD_COMMAND}`; export r; \
14929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930 $(HOST_EXPORTS) \
14931 (cd $(HOST_SUBDIR)/itcl && \
14932 $(MAKE) $(FLAGS_TO_PASS) install)
14934 @endif itcl
14936 # Other targets (info, dvi, etc.)
14938 .PHONY: maybe-info-itcl info-itcl
14939 maybe-info-itcl:
14940 @if itcl
14941 maybe-info-itcl: info-itcl
14943 info-itcl: \
14944 configure-itcl
14945 @: $(MAKE); $(unstage)
14946 @[ -f ./itcl/Makefile ] || exit 0; \
14947 r=`${PWD_COMMAND}`; export r; \
14948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14949 $(HOST_EXPORTS) \
14950 for flag in $(EXTRA_HOST_FLAGS) ; do \
14951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14952 done; \
14953 echo "Doing info in itcl" ; \
14954 (cd $(HOST_SUBDIR)/itcl && \
14955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14957 "RANLIB=$${RANLIB}" \
14958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14959 info) \
14960 || exit 1
14962 @endif itcl
14964 .PHONY: maybe-dvi-itcl dvi-itcl
14965 maybe-dvi-itcl:
14966 @if itcl
14967 maybe-dvi-itcl: dvi-itcl
14969 dvi-itcl: \
14970 configure-itcl
14971 @: $(MAKE); $(unstage)
14972 @[ -f ./itcl/Makefile ] || exit 0; \
14973 r=`${PWD_COMMAND}`; export r; \
14974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14975 $(HOST_EXPORTS) \
14976 for flag in $(EXTRA_HOST_FLAGS) ; do \
14977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14978 done; \
14979 echo "Doing dvi in itcl" ; \
14980 (cd $(HOST_SUBDIR)/itcl && \
14981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14983 "RANLIB=$${RANLIB}" \
14984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14985 dvi) \
14986 || exit 1
14988 @endif itcl
14990 .PHONY: maybe-html-itcl html-itcl
14991 maybe-html-itcl:
14992 @if itcl
14993 maybe-html-itcl: html-itcl
14995 html-itcl: \
14996 configure-itcl
14997 @: $(MAKE); $(unstage)
14998 @[ -f ./itcl/Makefile ] || exit 0; \
14999 r=`${PWD_COMMAND}`; export r; \
15000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15001 $(HOST_EXPORTS) \
15002 for flag in $(EXTRA_HOST_FLAGS) ; do \
15003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15004 done; \
15005 echo "Doing html in itcl" ; \
15006 (cd $(HOST_SUBDIR)/itcl && \
15007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15009 "RANLIB=$${RANLIB}" \
15010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15011 html) \
15012 || exit 1
15014 @endif itcl
15016 .PHONY: maybe-TAGS-itcl TAGS-itcl
15017 maybe-TAGS-itcl:
15018 @if itcl
15019 maybe-TAGS-itcl: TAGS-itcl
15021 TAGS-itcl: \
15022 configure-itcl
15023 @: $(MAKE); $(unstage)
15024 @[ -f ./itcl/Makefile ] || exit 0; \
15025 r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15027 $(HOST_EXPORTS) \
15028 for flag in $(EXTRA_HOST_FLAGS) ; do \
15029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15030 done; \
15031 echo "Doing TAGS in itcl" ; \
15032 (cd $(HOST_SUBDIR)/itcl && \
15033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15035 "RANLIB=$${RANLIB}" \
15036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15037 TAGS) \
15038 || exit 1
15040 @endif itcl
15042 .PHONY: maybe-install-info-itcl install-info-itcl
15043 maybe-install-info-itcl:
15044 @if itcl
15045 maybe-install-info-itcl: install-info-itcl
15047 install-info-itcl: \
15048 configure-itcl \
15049 info-itcl
15050 @: $(MAKE); $(unstage)
15051 @[ -f ./itcl/Makefile ] || exit 0; \
15052 r=`${PWD_COMMAND}`; export r; \
15053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15054 $(HOST_EXPORTS) \
15055 for flag in $(EXTRA_HOST_FLAGS) ; do \
15056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15057 done; \
15058 echo "Doing install-info in itcl" ; \
15059 (cd $(HOST_SUBDIR)/itcl && \
15060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15062 "RANLIB=$${RANLIB}" \
15063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15064 install-info) \
15065 || exit 1
15067 @endif itcl
15069 .PHONY: maybe-installcheck-itcl installcheck-itcl
15070 maybe-installcheck-itcl:
15071 @if itcl
15072 maybe-installcheck-itcl: installcheck-itcl
15074 installcheck-itcl: \
15075 configure-itcl
15076 @: $(MAKE); $(unstage)
15077 @[ -f ./itcl/Makefile ] || exit 0; \
15078 r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 $(HOST_EXPORTS) \
15081 for flag in $(EXTRA_HOST_FLAGS) ; do \
15082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15083 done; \
15084 echo "Doing installcheck in itcl" ; \
15085 (cd $(HOST_SUBDIR)/itcl && \
15086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15088 "RANLIB=$${RANLIB}" \
15089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15090 installcheck) \
15091 || exit 1
15093 @endif itcl
15095 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15096 maybe-mostlyclean-itcl:
15097 @if itcl
15098 maybe-mostlyclean-itcl: mostlyclean-itcl
15100 mostlyclean-itcl:
15101 @: $(MAKE); $(unstage)
15102 @[ -f ./itcl/Makefile ] || exit 0; \
15103 r=`${PWD_COMMAND}`; export r; \
15104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15105 $(HOST_EXPORTS) \
15106 for flag in $(EXTRA_HOST_FLAGS) ; do \
15107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15108 done; \
15109 echo "Doing mostlyclean in itcl" ; \
15110 (cd $(HOST_SUBDIR)/itcl && \
15111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15113 "RANLIB=$${RANLIB}" \
15114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15115 mostlyclean) \
15116 || exit 1
15118 @endif itcl
15120 .PHONY: maybe-clean-itcl clean-itcl
15121 maybe-clean-itcl:
15122 @if itcl
15123 maybe-clean-itcl: clean-itcl
15125 clean-itcl:
15126 @: $(MAKE); $(unstage)
15127 @[ -f ./itcl/Makefile ] || exit 0; \
15128 r=`${PWD_COMMAND}`; export r; \
15129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15130 $(HOST_EXPORTS) \
15131 for flag in $(EXTRA_HOST_FLAGS) ; do \
15132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15133 done; \
15134 echo "Doing clean in itcl" ; \
15135 (cd $(HOST_SUBDIR)/itcl && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15138 "RANLIB=$${RANLIB}" \
15139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15140 clean) \
15141 || exit 1
15143 @endif itcl
15145 .PHONY: maybe-distclean-itcl distclean-itcl
15146 maybe-distclean-itcl:
15147 @if itcl
15148 maybe-distclean-itcl: distclean-itcl
15150 distclean-itcl:
15151 @: $(MAKE); $(unstage)
15152 @[ -f ./itcl/Makefile ] || exit 0; \
15153 r=`${PWD_COMMAND}`; export r; \
15154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15155 $(HOST_EXPORTS) \
15156 for flag in $(EXTRA_HOST_FLAGS) ; do \
15157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15158 done; \
15159 echo "Doing distclean in itcl" ; \
15160 (cd $(HOST_SUBDIR)/itcl && \
15161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15163 "RANLIB=$${RANLIB}" \
15164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15165 distclean) \
15166 || exit 1
15168 @endif itcl
15170 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15171 maybe-maintainer-clean-itcl:
15172 @if itcl
15173 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15175 maintainer-clean-itcl:
15176 @: $(MAKE); $(unstage)
15177 @[ -f ./itcl/Makefile ] || exit 0; \
15178 r=`${PWD_COMMAND}`; export r; \
15179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15180 $(HOST_EXPORTS) \
15181 for flag in $(EXTRA_HOST_FLAGS) ; do \
15182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15183 done; \
15184 echo "Doing maintainer-clean in itcl" ; \
15185 (cd $(HOST_SUBDIR)/itcl && \
15186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15188 "RANLIB=$${RANLIB}" \
15189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15190 maintainer-clean) \
15191 || exit 1
15193 @endif itcl
15197 .PHONY: configure-ld maybe-configure-ld
15198 maybe-configure-ld:
15199 @if ld
15200 maybe-configure-ld: configure-ld
15201 configure-ld:
15202 @test -f stage_last && exit 0; \
15203 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15205 r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 $(HOST_EXPORTS) \
15208 echo Configuring in $(HOST_SUBDIR)/ld; \
15209 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15210 case $(srcdir) in \
15211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15212 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15214 esac; \
15215 srcdiroption="--srcdir=$${topdir}/ld"; \
15216 libsrcdir="$$s/ld"; \
15217 $(SHELL) $${libsrcdir}/configure \
15218 $(HOST_CONFIGARGS) $${srcdiroption} \
15219 || exit 1
15220 @endif ld
15224 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15225 maybe-configure-stage1-ld:
15226 @if ld-bootstrap
15227 maybe-configure-stage1-ld: configure-stage1-ld
15228 configure-stage1-ld:
15229 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15230 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15231 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15232 $(HOST_EXPORTS) \
15233 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15235 cd $(HOST_SUBDIR)/ld || exit 1; \
15236 case $(srcdir) in \
15237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15238 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15240 esac; \
15241 srcdiroption="--srcdir=$${topdir}/ld"; \
15242 libsrcdir="$$s/ld"; \
15243 $(SHELL) $${libsrcdir}/configure \
15244 $(HOST_CONFIGARGS) $${srcdiroption} \
15245 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15246 @endif ld-bootstrap
15248 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15249 maybe-configure-stage2-ld:
15250 @if ld-bootstrap
15251 maybe-configure-stage2-ld: configure-stage2-ld
15252 configure-stage2-ld:
15253 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15255 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15256 $(HOST_EXPORTS) \
15257 $(POSTSTAGE1_HOST_EXPORTS) \
15258 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15260 cd $(HOST_SUBDIR)/ld || exit 1; \
15261 case $(srcdir) in \
15262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15263 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15265 esac; \
15266 srcdiroption="--srcdir=$${topdir}/ld"; \
15267 libsrcdir="$$s/ld"; \
15268 $(SHELL) $${libsrcdir}/configure \
15269 $(HOST_CONFIGARGS) $${srcdiroption} \
15270 @stage2_werror_flag@
15271 @endif ld-bootstrap
15273 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15274 maybe-configure-stage3-ld:
15275 @if ld-bootstrap
15276 maybe-configure-stage3-ld: configure-stage3-ld
15277 configure-stage3-ld:
15278 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15280 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15281 $(HOST_EXPORTS) \
15282 $(POSTSTAGE1_HOST_EXPORTS) \
15283 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15285 cd $(HOST_SUBDIR)/ld || exit 1; \
15286 case $(srcdir) in \
15287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15288 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15290 esac; \
15291 srcdiroption="--srcdir=$${topdir}/ld"; \
15292 libsrcdir="$$s/ld"; \
15293 $(SHELL) $${libsrcdir}/configure \
15294 $(HOST_CONFIGARGS) $${srcdiroption} \
15295 @stage2_werror_flag@
15296 @endif ld-bootstrap
15298 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15299 maybe-configure-stage4-ld:
15300 @if ld-bootstrap
15301 maybe-configure-stage4-ld: configure-stage4-ld
15302 configure-stage4-ld:
15303 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15305 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15306 $(HOST_EXPORTS) \
15307 $(POSTSTAGE1_HOST_EXPORTS) \
15308 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15310 cd $(HOST_SUBDIR)/ld || exit 1; \
15311 case $(srcdir) in \
15312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15313 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15315 esac; \
15316 srcdiroption="--srcdir=$${topdir}/ld"; \
15317 libsrcdir="$$s/ld"; \
15318 $(SHELL) $${libsrcdir}/configure \
15319 $(HOST_CONFIGARGS) $${srcdiroption} \
15320 @stage2_werror_flag@
15321 @endif ld-bootstrap
15323 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15324 maybe-configure-stageprofile-ld:
15325 @if ld-bootstrap
15326 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15327 configure-stageprofile-ld:
15328 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15330 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15331 $(HOST_EXPORTS) \
15332 $(POSTSTAGE1_HOST_EXPORTS) \
15333 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15335 cd $(HOST_SUBDIR)/ld || exit 1; \
15336 case $(srcdir) in \
15337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15338 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15340 esac; \
15341 srcdiroption="--srcdir=$${topdir}/ld"; \
15342 libsrcdir="$$s/ld"; \
15343 $(SHELL) $${libsrcdir}/configure \
15344 $(HOST_CONFIGARGS) $${srcdiroption} \
15345 @stage2_werror_flag@
15346 @endif ld-bootstrap
15348 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15349 maybe-configure-stagefeedback-ld:
15350 @if ld-bootstrap
15351 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15352 configure-stagefeedback-ld:
15353 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15354 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15355 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15356 $(HOST_EXPORTS) \
15357 $(POSTSTAGE1_HOST_EXPORTS) \
15358 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15360 cd $(HOST_SUBDIR)/ld || exit 1; \
15361 case $(srcdir) in \
15362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15363 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15365 esac; \
15366 srcdiroption="--srcdir=$${topdir}/ld"; \
15367 libsrcdir="$$s/ld"; \
15368 $(SHELL) $${libsrcdir}/configure \
15369 $(HOST_CONFIGARGS) $${srcdiroption} \
15370 @stage2_werror_flag@
15371 @endif ld-bootstrap
15377 .PHONY: all-ld maybe-all-ld
15378 maybe-all-ld:
15379 @if ld
15380 TARGET-ld=all
15381 maybe-all-ld: all-ld
15382 all-ld: configure-ld
15383 @test -f stage_last && exit 0; \
15384 r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 $(HOST_EXPORTS) \
15387 (cd $(HOST_SUBDIR)/ld && \
15388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15389 @endif ld
15393 .PHONY: all-stage1-ld maybe-all-stage1-ld
15394 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15395 maybe-all-stage1-ld:
15396 maybe-clean-stage1-ld:
15397 @if ld-bootstrap
15398 maybe-all-stage1-ld: all-stage1-ld
15399 all-stage1: all-stage1-ld
15400 TARGET-stage1-ld = $(TARGET-ld)
15401 all-stage1-ld: configure-stage1-ld
15402 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15403 @r=`${PWD_COMMAND}`; export r; \
15404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15405 $(HOST_EXPORTS) \
15406 cd $(HOST_SUBDIR)/ld && \
15407 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15408 $(TARGET-stage1-ld)
15410 maybe-clean-stage1-ld: clean-stage1-ld
15411 clean-stage1: clean-stage1-ld
15412 clean-stage1-ld:
15413 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15414 || exit 0 ; \
15415 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15416 cd $(HOST_SUBDIR)/ld && \
15417 $(MAKE) $(FLAGS_TO_PASS) \
15418 CFLAGS="$(STAGE1_CFLAGS)" clean
15419 @endif ld-bootstrap
15422 .PHONY: all-stage2-ld maybe-all-stage2-ld
15423 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15424 maybe-all-stage2-ld:
15425 maybe-clean-stage2-ld:
15426 @if ld-bootstrap
15427 maybe-all-stage2-ld: all-stage2-ld
15428 all-stage2: all-stage2-ld
15429 TARGET-stage2-ld = $(TARGET-ld)
15430 all-stage2-ld: configure-stage2-ld
15431 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15432 @r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(HOST_EXPORTS) \
15435 $(POSTSTAGE1_HOST_EXPORTS) \
15436 cd $(HOST_SUBDIR)/ld && \
15437 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15438 $(TARGET-stage2-ld)
15440 maybe-clean-stage2-ld: clean-stage2-ld
15441 clean-stage2: clean-stage2-ld
15442 clean-stage2-ld:
15443 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15444 || exit 0 ; \
15445 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15446 cd $(HOST_SUBDIR)/ld && \
15447 $(MAKE) $(FLAGS_TO_PASS) \
15448 $(POSTSTAGE1_FLAGS_TO_PASS) \
15449 clean
15450 @endif ld-bootstrap
15453 .PHONY: all-stage3-ld maybe-all-stage3-ld
15454 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15455 maybe-all-stage3-ld:
15456 maybe-clean-stage3-ld:
15457 @if ld-bootstrap
15458 maybe-all-stage3-ld: all-stage3-ld
15459 all-stage3: all-stage3-ld
15460 TARGET-stage3-ld = $(TARGET-ld)
15461 all-stage3-ld: configure-stage3-ld
15462 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15463 @r=`${PWD_COMMAND}`; export r; \
15464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15465 $(HOST_EXPORTS) \
15466 $(POSTSTAGE1_HOST_EXPORTS) \
15467 cd $(HOST_SUBDIR)/ld && \
15468 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15469 $(TARGET-stage3-ld)
15471 maybe-clean-stage3-ld: clean-stage3-ld
15472 clean-stage3: clean-stage3-ld
15473 clean-stage3-ld:
15474 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15475 || exit 0 ; \
15476 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15477 cd $(HOST_SUBDIR)/ld && \
15478 $(MAKE) $(FLAGS_TO_PASS) \
15479 $(POSTSTAGE1_FLAGS_TO_PASS) \
15480 clean
15481 @endif ld-bootstrap
15484 .PHONY: all-stage4-ld maybe-all-stage4-ld
15485 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15486 maybe-all-stage4-ld:
15487 maybe-clean-stage4-ld:
15488 @if ld-bootstrap
15489 maybe-all-stage4-ld: all-stage4-ld
15490 all-stage4: all-stage4-ld
15491 TARGET-stage4-ld = $(TARGET-ld)
15492 all-stage4-ld: configure-stage4-ld
15493 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15494 @r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(HOST_EXPORTS) \
15497 $(POSTSTAGE1_HOST_EXPORTS) \
15498 cd $(HOST_SUBDIR)/ld && \
15499 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15500 $(TARGET-stage4-ld)
15502 maybe-clean-stage4-ld: clean-stage4-ld
15503 clean-stage4: clean-stage4-ld
15504 clean-stage4-ld:
15505 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15506 || exit 0 ; \
15507 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15508 cd $(HOST_SUBDIR)/ld && \
15509 $(MAKE) $(FLAGS_TO_PASS) \
15510 $(POSTSTAGE1_FLAGS_TO_PASS) \
15511 clean
15512 @endif ld-bootstrap
15515 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15516 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15517 maybe-all-stageprofile-ld:
15518 maybe-clean-stageprofile-ld:
15519 @if ld-bootstrap
15520 maybe-all-stageprofile-ld: all-stageprofile-ld
15521 all-stageprofile: all-stageprofile-ld
15522 TARGET-stageprofile-ld = $(TARGET-ld)
15523 all-stageprofile-ld: configure-stageprofile-ld
15524 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15525 @r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 $(HOST_EXPORTS) \
15528 $(POSTSTAGE1_HOST_EXPORTS) \
15529 cd $(HOST_SUBDIR)/ld && \
15530 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15531 $(TARGET-stageprofile-ld)
15533 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15534 clean-stageprofile: clean-stageprofile-ld
15535 clean-stageprofile-ld:
15536 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15537 || exit 0 ; \
15538 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15539 cd $(HOST_SUBDIR)/ld && \
15540 $(MAKE) $(FLAGS_TO_PASS) \
15541 $(POSTSTAGE1_FLAGS_TO_PASS) \
15542 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15543 @endif ld-bootstrap
15546 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15547 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15548 maybe-all-stagefeedback-ld:
15549 maybe-clean-stagefeedback-ld:
15550 @if ld-bootstrap
15551 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15552 all-stagefeedback: all-stagefeedback-ld
15553 TARGET-stagefeedback-ld = $(TARGET-ld)
15554 all-stagefeedback-ld: configure-stagefeedback-ld
15555 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15556 @r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 $(POSTSTAGE1_HOST_EXPORTS) \
15560 cd $(HOST_SUBDIR)/ld && \
15561 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15562 $(TARGET-stagefeedback-ld)
15564 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15565 clean-stagefeedback: clean-stagefeedback-ld
15566 clean-stagefeedback-ld:
15567 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15568 || exit 0 ; \
15569 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15570 cd $(HOST_SUBDIR)/ld && \
15571 $(MAKE) $(FLAGS_TO_PASS) \
15572 $(POSTSTAGE1_FLAGS_TO_PASS) \
15573 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15574 @endif ld-bootstrap
15580 .PHONY: check-ld maybe-check-ld
15581 maybe-check-ld:
15582 @if ld
15583 maybe-check-ld: check-ld
15585 check-ld:
15586 @: $(MAKE); $(unstage)
15587 @r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 $(HOST_EXPORTS) \
15590 (cd $(HOST_SUBDIR)/ld && \
15591 $(MAKE) $(FLAGS_TO_PASS) check)
15593 @endif ld
15595 .PHONY: install-ld maybe-install-ld
15596 maybe-install-ld:
15597 @if ld
15598 maybe-install-ld: install-ld
15600 install-ld: installdirs
15601 @: $(MAKE); $(unstage)
15602 @r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(HOST_EXPORTS) \
15605 (cd $(HOST_SUBDIR)/ld && \
15606 $(MAKE) $(FLAGS_TO_PASS) install)
15608 @endif ld
15610 # Other targets (info, dvi, etc.)
15612 .PHONY: maybe-info-ld info-ld
15613 maybe-info-ld:
15614 @if ld
15615 maybe-info-ld: info-ld
15617 info-ld: \
15618 configure-ld
15619 @[ -f ./ld/Makefile ] || exit 0; \
15620 r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 $(HOST_EXPORTS) \
15623 for flag in $(EXTRA_HOST_FLAGS) ; do \
15624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15625 done; \
15626 echo "Doing info in ld" ; \
15627 (cd $(HOST_SUBDIR)/ld && \
15628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15630 "RANLIB=$${RANLIB}" \
15631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15632 info) \
15633 || exit 1
15635 @endif ld
15637 .PHONY: maybe-dvi-ld dvi-ld
15638 maybe-dvi-ld:
15639 @if ld
15640 maybe-dvi-ld: dvi-ld
15642 dvi-ld: \
15643 configure-ld
15644 @[ -f ./ld/Makefile ] || exit 0; \
15645 r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 $(HOST_EXPORTS) \
15648 for flag in $(EXTRA_HOST_FLAGS) ; do \
15649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15650 done; \
15651 echo "Doing dvi in ld" ; \
15652 (cd $(HOST_SUBDIR)/ld && \
15653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15655 "RANLIB=$${RANLIB}" \
15656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15657 dvi) \
15658 || exit 1
15660 @endif ld
15662 .PHONY: maybe-html-ld html-ld
15663 maybe-html-ld:
15664 @if ld
15665 maybe-html-ld: html-ld
15667 html-ld: \
15668 configure-ld
15669 @[ -f ./ld/Makefile ] || exit 0; \
15670 r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 $(HOST_EXPORTS) \
15673 for flag in $(EXTRA_HOST_FLAGS) ; do \
15674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15675 done; \
15676 echo "Doing html in ld" ; \
15677 (cd $(HOST_SUBDIR)/ld && \
15678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15680 "RANLIB=$${RANLIB}" \
15681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15682 html) \
15683 || exit 1
15685 @endif ld
15687 .PHONY: maybe-TAGS-ld TAGS-ld
15688 maybe-TAGS-ld:
15689 @if ld
15690 maybe-TAGS-ld: TAGS-ld
15692 TAGS-ld: \
15693 configure-ld
15694 @[ -f ./ld/Makefile ] || exit 0; \
15695 r=`${PWD_COMMAND}`; export r; \
15696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15697 $(HOST_EXPORTS) \
15698 for flag in $(EXTRA_HOST_FLAGS) ; do \
15699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15700 done; \
15701 echo "Doing TAGS in ld" ; \
15702 (cd $(HOST_SUBDIR)/ld && \
15703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15705 "RANLIB=$${RANLIB}" \
15706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15707 TAGS) \
15708 || exit 1
15710 @endif ld
15712 .PHONY: maybe-install-info-ld install-info-ld
15713 maybe-install-info-ld:
15714 @if ld
15715 maybe-install-info-ld: install-info-ld
15717 install-info-ld: \
15718 configure-ld \
15719 info-ld
15720 @[ -f ./ld/Makefile ] || exit 0; \
15721 r=`${PWD_COMMAND}`; export r; \
15722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15723 $(HOST_EXPORTS) \
15724 for flag in $(EXTRA_HOST_FLAGS) ; do \
15725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15726 done; \
15727 echo "Doing install-info in ld" ; \
15728 (cd $(HOST_SUBDIR)/ld && \
15729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15731 "RANLIB=$${RANLIB}" \
15732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15733 install-info) \
15734 || exit 1
15736 @endif ld
15738 .PHONY: maybe-installcheck-ld installcheck-ld
15739 maybe-installcheck-ld:
15740 @if ld
15741 maybe-installcheck-ld: installcheck-ld
15743 installcheck-ld: \
15744 configure-ld
15745 @[ -f ./ld/Makefile ] || exit 0; \
15746 r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 $(HOST_EXPORTS) \
15749 for flag in $(EXTRA_HOST_FLAGS) ; do \
15750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15751 done; \
15752 echo "Doing installcheck in ld" ; \
15753 (cd $(HOST_SUBDIR)/ld && \
15754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15756 "RANLIB=$${RANLIB}" \
15757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15758 installcheck) \
15759 || exit 1
15761 @endif ld
15763 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15764 maybe-mostlyclean-ld:
15765 @if ld
15766 maybe-mostlyclean-ld: mostlyclean-ld
15768 mostlyclean-ld:
15769 @[ -f ./ld/Makefile ] || exit 0; \
15770 r=`${PWD_COMMAND}`; export r; \
15771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15772 $(HOST_EXPORTS) \
15773 for flag in $(EXTRA_HOST_FLAGS) ; do \
15774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15775 done; \
15776 echo "Doing mostlyclean in ld" ; \
15777 (cd $(HOST_SUBDIR)/ld && \
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 mostlyclean) \
15783 || exit 1
15785 @endif ld
15787 .PHONY: maybe-clean-ld clean-ld
15788 maybe-clean-ld:
15789 @if ld
15790 maybe-clean-ld: clean-ld
15792 clean-ld:
15793 @[ -f ./ld/Makefile ] || exit 0; \
15794 r=`${PWD_COMMAND}`; export r; \
15795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15796 $(HOST_EXPORTS) \
15797 for flag in $(EXTRA_HOST_FLAGS) ; do \
15798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15799 done; \
15800 echo "Doing clean in ld" ; \
15801 (cd $(HOST_SUBDIR)/ld && \
15802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15804 "RANLIB=$${RANLIB}" \
15805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15806 clean) \
15807 || exit 1
15809 @endif ld
15811 .PHONY: maybe-distclean-ld distclean-ld
15812 maybe-distclean-ld:
15813 @if ld
15814 maybe-distclean-ld: distclean-ld
15816 distclean-ld:
15817 @[ -f ./ld/Makefile ] || exit 0; \
15818 r=`${PWD_COMMAND}`; export r; \
15819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 $(HOST_EXPORTS) \
15821 for flag in $(EXTRA_HOST_FLAGS) ; do \
15822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15823 done; \
15824 echo "Doing distclean in ld" ; \
15825 (cd $(HOST_SUBDIR)/ld && \
15826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15828 "RANLIB=$${RANLIB}" \
15829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15830 distclean) \
15831 || exit 1
15833 @endif ld
15835 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15836 maybe-maintainer-clean-ld:
15837 @if ld
15838 maybe-maintainer-clean-ld: maintainer-clean-ld
15840 maintainer-clean-ld:
15841 @[ -f ./ld/Makefile ] || exit 0; \
15842 r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844 $(HOST_EXPORTS) \
15845 for flag in $(EXTRA_HOST_FLAGS) ; do \
15846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15847 done; \
15848 echo "Doing maintainer-clean in ld" ; \
15849 (cd $(HOST_SUBDIR)/ld && \
15850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15852 "RANLIB=$${RANLIB}" \
15853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15854 maintainer-clean) \
15855 || exit 1
15857 @endif ld
15861 .PHONY: configure-libcpp maybe-configure-libcpp
15862 maybe-configure-libcpp:
15863 @if libcpp
15864 maybe-configure-libcpp: configure-libcpp
15865 configure-libcpp:
15866 @test -f stage_last && exit 0; \
15867 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15869 r=`${PWD_COMMAND}`; export r; \
15870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15871 $(HOST_EXPORTS) \
15872 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15873 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15874 case $(srcdir) in \
15875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15876 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15878 esac; \
15879 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15880 libsrcdir="$$s/libcpp"; \
15881 $(SHELL) $${libsrcdir}/configure \
15882 $(HOST_CONFIGARGS) $${srcdiroption} \
15883 || exit 1
15884 @endif libcpp
15888 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15889 maybe-configure-stage1-libcpp:
15890 @if libcpp-bootstrap
15891 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15892 configure-stage1-libcpp:
15893 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15895 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15896 $(HOST_EXPORTS) \
15897 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15899 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15900 case $(srcdir) in \
15901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15902 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15904 esac; \
15905 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15906 libsrcdir="$$s/libcpp"; \
15907 $(SHELL) $${libsrcdir}/configure \
15908 $(HOST_CONFIGARGS) $${srcdiroption} \
15909 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15910 @endif libcpp-bootstrap
15912 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15913 maybe-configure-stage2-libcpp:
15914 @if libcpp-bootstrap
15915 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15916 configure-stage2-libcpp:
15917 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15919 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15920 $(HOST_EXPORTS) \
15921 $(POSTSTAGE1_HOST_EXPORTS) \
15922 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15924 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15925 case $(srcdir) in \
15926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15927 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15929 esac; \
15930 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15931 libsrcdir="$$s/libcpp"; \
15932 $(SHELL) $${libsrcdir}/configure \
15933 $(HOST_CONFIGARGS) $${srcdiroption} \
15934 @stage2_werror_flag@
15935 @endif libcpp-bootstrap
15937 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15938 maybe-configure-stage3-libcpp:
15939 @if libcpp-bootstrap
15940 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15941 configure-stage3-libcpp:
15942 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15944 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15945 $(HOST_EXPORTS) \
15946 $(POSTSTAGE1_HOST_EXPORTS) \
15947 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15949 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15950 case $(srcdir) in \
15951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15952 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15954 esac; \
15955 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15956 libsrcdir="$$s/libcpp"; \
15957 $(SHELL) $${libsrcdir}/configure \
15958 $(HOST_CONFIGARGS) $${srcdiroption} \
15959 @stage2_werror_flag@
15960 @endif libcpp-bootstrap
15962 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15963 maybe-configure-stage4-libcpp:
15964 @if libcpp-bootstrap
15965 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15966 configure-stage4-libcpp:
15967 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15969 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15970 $(HOST_EXPORTS) \
15971 $(POSTSTAGE1_HOST_EXPORTS) \
15972 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15974 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15975 case $(srcdir) in \
15976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15977 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15979 esac; \
15980 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15981 libsrcdir="$$s/libcpp"; \
15982 $(SHELL) $${libsrcdir}/configure \
15983 $(HOST_CONFIGARGS) $${srcdiroption} \
15984 @stage2_werror_flag@
15985 @endif libcpp-bootstrap
15987 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15988 maybe-configure-stageprofile-libcpp:
15989 @if libcpp-bootstrap
15990 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15991 configure-stageprofile-libcpp:
15992 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15994 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15995 $(HOST_EXPORTS) \
15996 $(POSTSTAGE1_HOST_EXPORTS) \
15997 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15999 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16000 case $(srcdir) in \
16001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16002 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16004 esac; \
16005 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16006 libsrcdir="$$s/libcpp"; \
16007 $(SHELL) $${libsrcdir}/configure \
16008 $(HOST_CONFIGARGS) $${srcdiroption} \
16009 @stage2_werror_flag@
16010 @endif libcpp-bootstrap
16012 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16013 maybe-configure-stagefeedback-libcpp:
16014 @if libcpp-bootstrap
16015 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16016 configure-stagefeedback-libcpp:
16017 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16019 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16020 $(HOST_EXPORTS) \
16021 $(POSTSTAGE1_HOST_EXPORTS) \
16022 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16024 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16025 case $(srcdir) in \
16026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16027 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16029 esac; \
16030 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16031 libsrcdir="$$s/libcpp"; \
16032 $(SHELL) $${libsrcdir}/configure \
16033 $(HOST_CONFIGARGS) $${srcdiroption} \
16034 @stage2_werror_flag@
16035 @endif libcpp-bootstrap
16041 .PHONY: all-libcpp maybe-all-libcpp
16042 maybe-all-libcpp:
16043 @if libcpp
16044 TARGET-libcpp=all
16045 maybe-all-libcpp: all-libcpp
16046 all-libcpp: configure-libcpp
16047 @test -f stage_last && exit 0; \
16048 r=`${PWD_COMMAND}`; export r; \
16049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16050 $(HOST_EXPORTS) \
16051 (cd $(HOST_SUBDIR)/libcpp && \
16052 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16053 @endif libcpp
16057 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16058 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16059 maybe-all-stage1-libcpp:
16060 maybe-clean-stage1-libcpp:
16061 @if libcpp-bootstrap
16062 maybe-all-stage1-libcpp: all-stage1-libcpp
16063 all-stage1: all-stage1-libcpp
16064 TARGET-stage1-libcpp = $(TARGET-libcpp)
16065 all-stage1-libcpp: configure-stage1-libcpp
16066 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16067 @r=`${PWD_COMMAND}`; export r; \
16068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16069 $(HOST_EXPORTS) \
16070 cd $(HOST_SUBDIR)/libcpp && \
16071 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16072 $(TARGET-stage1-libcpp)
16074 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16075 clean-stage1: clean-stage1-libcpp
16076 clean-stage1-libcpp:
16077 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16078 || exit 0 ; \
16079 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16080 cd $(HOST_SUBDIR)/libcpp && \
16081 $(MAKE) $(FLAGS_TO_PASS) \
16082 CFLAGS="$(STAGE1_CFLAGS)" clean
16083 @endif libcpp-bootstrap
16086 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16087 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16088 maybe-all-stage2-libcpp:
16089 maybe-clean-stage2-libcpp:
16090 @if libcpp-bootstrap
16091 maybe-all-stage2-libcpp: all-stage2-libcpp
16092 all-stage2: all-stage2-libcpp
16093 TARGET-stage2-libcpp = $(TARGET-libcpp)
16094 all-stage2-libcpp: configure-stage2-libcpp
16095 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16096 @r=`${PWD_COMMAND}`; export r; \
16097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098 $(HOST_EXPORTS) \
16099 $(POSTSTAGE1_HOST_EXPORTS) \
16100 cd $(HOST_SUBDIR)/libcpp && \
16101 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16102 $(TARGET-stage2-libcpp)
16104 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16105 clean-stage2: clean-stage2-libcpp
16106 clean-stage2-libcpp:
16107 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16108 || exit 0 ; \
16109 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16110 cd $(HOST_SUBDIR)/libcpp && \
16111 $(MAKE) $(FLAGS_TO_PASS) \
16112 $(POSTSTAGE1_FLAGS_TO_PASS) \
16113 clean
16114 @endif libcpp-bootstrap
16117 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16118 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16119 maybe-all-stage3-libcpp:
16120 maybe-clean-stage3-libcpp:
16121 @if libcpp-bootstrap
16122 maybe-all-stage3-libcpp: all-stage3-libcpp
16123 all-stage3: all-stage3-libcpp
16124 TARGET-stage3-libcpp = $(TARGET-libcpp)
16125 all-stage3-libcpp: configure-stage3-libcpp
16126 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(HOST_EXPORTS) \
16130 $(POSTSTAGE1_HOST_EXPORTS) \
16131 cd $(HOST_SUBDIR)/libcpp && \
16132 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16133 $(TARGET-stage3-libcpp)
16135 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16136 clean-stage3: clean-stage3-libcpp
16137 clean-stage3-libcpp:
16138 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16139 || exit 0 ; \
16140 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16141 cd $(HOST_SUBDIR)/libcpp && \
16142 $(MAKE) $(FLAGS_TO_PASS) \
16143 $(POSTSTAGE1_FLAGS_TO_PASS) \
16144 clean
16145 @endif libcpp-bootstrap
16148 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16149 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16150 maybe-all-stage4-libcpp:
16151 maybe-clean-stage4-libcpp:
16152 @if libcpp-bootstrap
16153 maybe-all-stage4-libcpp: all-stage4-libcpp
16154 all-stage4: all-stage4-libcpp
16155 TARGET-stage4-libcpp = $(TARGET-libcpp)
16156 all-stage4-libcpp: configure-stage4-libcpp
16157 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16158 @r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(HOST_EXPORTS) \
16161 $(POSTSTAGE1_HOST_EXPORTS) \
16162 cd $(HOST_SUBDIR)/libcpp && \
16163 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16164 $(TARGET-stage4-libcpp)
16166 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16167 clean-stage4: clean-stage4-libcpp
16168 clean-stage4-libcpp:
16169 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16170 || exit 0 ; \
16171 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16172 cd $(HOST_SUBDIR)/libcpp && \
16173 $(MAKE) $(FLAGS_TO_PASS) \
16174 $(POSTSTAGE1_FLAGS_TO_PASS) \
16175 clean
16176 @endif libcpp-bootstrap
16179 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16180 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16181 maybe-all-stageprofile-libcpp:
16182 maybe-clean-stageprofile-libcpp:
16183 @if libcpp-bootstrap
16184 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16185 all-stageprofile: all-stageprofile-libcpp
16186 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16187 all-stageprofile-libcpp: configure-stageprofile-libcpp
16188 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16189 @r=`${PWD_COMMAND}`; export r; \
16190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16191 $(HOST_EXPORTS) \
16192 $(POSTSTAGE1_HOST_EXPORTS) \
16193 cd $(HOST_SUBDIR)/libcpp && \
16194 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16195 $(TARGET-stageprofile-libcpp)
16197 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16198 clean-stageprofile: clean-stageprofile-libcpp
16199 clean-stageprofile-libcpp:
16200 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16201 || exit 0 ; \
16202 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16203 cd $(HOST_SUBDIR)/libcpp && \
16204 $(MAKE) $(FLAGS_TO_PASS) \
16205 $(POSTSTAGE1_FLAGS_TO_PASS) \
16206 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16207 @endif libcpp-bootstrap
16210 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16211 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16212 maybe-all-stagefeedback-libcpp:
16213 maybe-clean-stagefeedback-libcpp:
16214 @if libcpp-bootstrap
16215 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16216 all-stagefeedback: all-stagefeedback-libcpp
16217 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16218 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16219 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16220 @r=`${PWD_COMMAND}`; export r; \
16221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16222 $(HOST_EXPORTS) \
16223 $(POSTSTAGE1_HOST_EXPORTS) \
16224 cd $(HOST_SUBDIR)/libcpp && \
16225 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16226 $(TARGET-stagefeedback-libcpp)
16228 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16229 clean-stagefeedback: clean-stagefeedback-libcpp
16230 clean-stagefeedback-libcpp:
16231 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16232 || exit 0 ; \
16233 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16234 cd $(HOST_SUBDIR)/libcpp && \
16235 $(MAKE) $(FLAGS_TO_PASS) \
16236 $(POSTSTAGE1_FLAGS_TO_PASS) \
16237 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16238 @endif libcpp-bootstrap
16244 .PHONY: check-libcpp maybe-check-libcpp
16245 maybe-check-libcpp:
16246 @if libcpp
16247 maybe-check-libcpp: check-libcpp
16249 check-libcpp:
16250 @: $(MAKE); $(unstage)
16251 @r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 $(HOST_EXPORTS) \
16254 (cd $(HOST_SUBDIR)/libcpp && \
16255 $(MAKE) $(FLAGS_TO_PASS) check)
16257 @endif libcpp
16259 .PHONY: install-libcpp maybe-install-libcpp
16260 maybe-install-libcpp:
16261 @if libcpp
16262 maybe-install-libcpp: install-libcpp
16264 install-libcpp: installdirs
16265 @: $(MAKE); $(unstage)
16266 @r=`${PWD_COMMAND}`; export r; \
16267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16268 $(HOST_EXPORTS) \
16269 (cd $(HOST_SUBDIR)/libcpp && \
16270 $(MAKE) $(FLAGS_TO_PASS) install)
16272 @endif libcpp
16274 # Other targets (info, dvi, etc.)
16276 .PHONY: maybe-info-libcpp info-libcpp
16277 maybe-info-libcpp:
16278 @if libcpp
16279 maybe-info-libcpp: info-libcpp
16281 info-libcpp: \
16282 configure-libcpp
16283 @[ -f ./libcpp/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 for flag in $(EXTRA_HOST_FLAGS) ; do \
16288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16289 done; \
16290 echo "Doing info in libcpp" ; \
16291 (cd $(HOST_SUBDIR)/libcpp && \
16292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16294 "RANLIB=$${RANLIB}" \
16295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16296 info) \
16297 || exit 1
16299 @endif libcpp
16301 .PHONY: maybe-dvi-libcpp dvi-libcpp
16302 maybe-dvi-libcpp:
16303 @if libcpp
16304 maybe-dvi-libcpp: dvi-libcpp
16306 dvi-libcpp: \
16307 configure-libcpp
16308 @[ -f ./libcpp/Makefile ] || exit 0; \
16309 r=`${PWD_COMMAND}`; export r; \
16310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16311 $(HOST_EXPORTS) \
16312 for flag in $(EXTRA_HOST_FLAGS) ; do \
16313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16314 done; \
16315 echo "Doing dvi in libcpp" ; \
16316 (cd $(HOST_SUBDIR)/libcpp && \
16317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16319 "RANLIB=$${RANLIB}" \
16320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16321 dvi) \
16322 || exit 1
16324 @endif libcpp
16326 .PHONY: maybe-html-libcpp html-libcpp
16327 maybe-html-libcpp:
16328 @if libcpp
16329 maybe-html-libcpp: html-libcpp
16331 html-libcpp: \
16332 configure-libcpp
16333 @[ -f ./libcpp/Makefile ] || exit 0; \
16334 r=`${PWD_COMMAND}`; export r; \
16335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16336 $(HOST_EXPORTS) \
16337 for flag in $(EXTRA_HOST_FLAGS) ; do \
16338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16339 done; \
16340 echo "Doing html in libcpp" ; \
16341 (cd $(HOST_SUBDIR)/libcpp && \
16342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16344 "RANLIB=$${RANLIB}" \
16345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16346 html) \
16347 || exit 1
16349 @endif libcpp
16351 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16352 maybe-TAGS-libcpp:
16353 @if libcpp
16354 maybe-TAGS-libcpp: TAGS-libcpp
16356 TAGS-libcpp: \
16357 configure-libcpp
16358 @[ -f ./libcpp/Makefile ] || exit 0; \
16359 r=`${PWD_COMMAND}`; export r; \
16360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16361 $(HOST_EXPORTS) \
16362 for flag in $(EXTRA_HOST_FLAGS) ; do \
16363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16364 done; \
16365 echo "Doing TAGS in libcpp" ; \
16366 (cd $(HOST_SUBDIR)/libcpp && \
16367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16369 "RANLIB=$${RANLIB}" \
16370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16371 TAGS) \
16372 || exit 1
16374 @endif libcpp
16376 .PHONY: maybe-install-info-libcpp install-info-libcpp
16377 maybe-install-info-libcpp:
16378 @if libcpp
16379 maybe-install-info-libcpp: install-info-libcpp
16381 install-info-libcpp: \
16382 configure-libcpp \
16383 info-libcpp
16384 @[ -f ./libcpp/Makefile ] || exit 0; \
16385 r=`${PWD_COMMAND}`; export r; \
16386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16387 $(HOST_EXPORTS) \
16388 for flag in $(EXTRA_HOST_FLAGS) ; do \
16389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16390 done; \
16391 echo "Doing install-info in libcpp" ; \
16392 (cd $(HOST_SUBDIR)/libcpp && \
16393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16395 "RANLIB=$${RANLIB}" \
16396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16397 install-info) \
16398 || exit 1
16400 @endif libcpp
16402 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16403 maybe-installcheck-libcpp:
16404 @if libcpp
16405 maybe-installcheck-libcpp: installcheck-libcpp
16407 installcheck-libcpp: \
16408 configure-libcpp
16409 @[ -f ./libcpp/Makefile ] || exit 0; \
16410 r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412 $(HOST_EXPORTS) \
16413 for flag in $(EXTRA_HOST_FLAGS) ; do \
16414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16415 done; \
16416 echo "Doing installcheck in libcpp" ; \
16417 (cd $(HOST_SUBDIR)/libcpp && \
16418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16420 "RANLIB=$${RANLIB}" \
16421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16422 installcheck) \
16423 || exit 1
16425 @endif libcpp
16427 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16428 maybe-mostlyclean-libcpp:
16429 @if libcpp
16430 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16432 mostlyclean-libcpp:
16433 @[ -f ./libcpp/Makefile ] || exit 0; \
16434 r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 $(HOST_EXPORTS) \
16437 for flag in $(EXTRA_HOST_FLAGS) ; do \
16438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16439 done; \
16440 echo "Doing mostlyclean in libcpp" ; \
16441 (cd $(HOST_SUBDIR)/libcpp && \
16442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16444 "RANLIB=$${RANLIB}" \
16445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16446 mostlyclean) \
16447 || exit 1
16449 @endif libcpp
16451 .PHONY: maybe-clean-libcpp clean-libcpp
16452 maybe-clean-libcpp:
16453 @if libcpp
16454 maybe-clean-libcpp: clean-libcpp
16456 clean-libcpp:
16457 @[ -f ./libcpp/Makefile ] || exit 0; \
16458 r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 $(HOST_EXPORTS) \
16461 for flag in $(EXTRA_HOST_FLAGS) ; do \
16462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16463 done; \
16464 echo "Doing clean in libcpp" ; \
16465 (cd $(HOST_SUBDIR)/libcpp && \
16466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16468 "RANLIB=$${RANLIB}" \
16469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16470 clean) \
16471 || exit 1
16473 @endif libcpp
16475 .PHONY: maybe-distclean-libcpp distclean-libcpp
16476 maybe-distclean-libcpp:
16477 @if libcpp
16478 maybe-distclean-libcpp: distclean-libcpp
16480 distclean-libcpp:
16481 @[ -f ./libcpp/Makefile ] || exit 0; \
16482 r=`${PWD_COMMAND}`; export r; \
16483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16484 $(HOST_EXPORTS) \
16485 for flag in $(EXTRA_HOST_FLAGS) ; do \
16486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16487 done; \
16488 echo "Doing distclean in libcpp" ; \
16489 (cd $(HOST_SUBDIR)/libcpp && \
16490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16492 "RANLIB=$${RANLIB}" \
16493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16494 distclean) \
16495 || exit 1
16497 @endif libcpp
16499 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16500 maybe-maintainer-clean-libcpp:
16501 @if libcpp
16502 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16504 maintainer-clean-libcpp:
16505 @[ -f ./libcpp/Makefile ] || exit 0; \
16506 r=`${PWD_COMMAND}`; export r; \
16507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16508 $(HOST_EXPORTS) \
16509 for flag in $(EXTRA_HOST_FLAGS) ; do \
16510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16511 done; \
16512 echo "Doing maintainer-clean in libcpp" ; \
16513 (cd $(HOST_SUBDIR)/libcpp && \
16514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16516 "RANLIB=$${RANLIB}" \
16517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16518 maintainer-clean) \
16519 || exit 1
16521 @endif libcpp
16525 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16526 maybe-configure-libdecnumber:
16527 @if libdecnumber
16528 maybe-configure-libdecnumber: configure-libdecnumber
16529 configure-libdecnumber:
16530 @test -f stage_last && exit 0; \
16531 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16533 r=`${PWD_COMMAND}`; export r; \
16534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535 $(HOST_EXPORTS) \
16536 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16537 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16538 case $(srcdir) in \
16539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16540 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16542 esac; \
16543 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16544 libsrcdir="$$s/libdecnumber"; \
16545 $(SHELL) $${libsrcdir}/configure \
16546 $(HOST_CONFIGARGS) $${srcdiroption} \
16547 || exit 1
16548 @endif libdecnumber
16552 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16553 maybe-configure-stage1-libdecnumber:
16554 @if libdecnumber-bootstrap
16555 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16556 configure-stage1-libdecnumber:
16557 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16559 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16560 $(HOST_EXPORTS) \
16561 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16563 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16564 case $(srcdir) in \
16565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16566 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16568 esac; \
16569 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16570 libsrcdir="$$s/libdecnumber"; \
16571 $(SHELL) $${libsrcdir}/configure \
16572 $(HOST_CONFIGARGS) $${srcdiroption} \
16573 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16574 @endif libdecnumber-bootstrap
16576 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16577 maybe-configure-stage2-libdecnumber:
16578 @if libdecnumber-bootstrap
16579 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16580 configure-stage2-libdecnumber:
16581 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16583 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16584 $(HOST_EXPORTS) \
16585 $(POSTSTAGE1_HOST_EXPORTS) \
16586 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16588 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16589 case $(srcdir) in \
16590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16591 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16593 esac; \
16594 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16595 libsrcdir="$$s/libdecnumber"; \
16596 $(SHELL) $${libsrcdir}/configure \
16597 $(HOST_CONFIGARGS) $${srcdiroption} \
16598 @stage2_werror_flag@
16599 @endif libdecnumber-bootstrap
16601 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16602 maybe-configure-stage3-libdecnumber:
16603 @if libdecnumber-bootstrap
16604 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16605 configure-stage3-libdecnumber:
16606 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16608 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16609 $(HOST_EXPORTS) \
16610 $(POSTSTAGE1_HOST_EXPORTS) \
16611 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16613 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16614 case $(srcdir) in \
16615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16616 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16618 esac; \
16619 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16620 libsrcdir="$$s/libdecnumber"; \
16621 $(SHELL) $${libsrcdir}/configure \
16622 $(HOST_CONFIGARGS) $${srcdiroption} \
16623 @stage2_werror_flag@
16624 @endif libdecnumber-bootstrap
16626 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16627 maybe-configure-stage4-libdecnumber:
16628 @if libdecnumber-bootstrap
16629 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16630 configure-stage4-libdecnumber:
16631 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16633 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16634 $(HOST_EXPORTS) \
16635 $(POSTSTAGE1_HOST_EXPORTS) \
16636 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16638 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16639 case $(srcdir) in \
16640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16641 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16643 esac; \
16644 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16645 libsrcdir="$$s/libdecnumber"; \
16646 $(SHELL) $${libsrcdir}/configure \
16647 $(HOST_CONFIGARGS) $${srcdiroption} \
16648 @stage2_werror_flag@
16649 @endif libdecnumber-bootstrap
16651 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16652 maybe-configure-stageprofile-libdecnumber:
16653 @if libdecnumber-bootstrap
16654 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16655 configure-stageprofile-libdecnumber:
16656 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16658 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16659 $(HOST_EXPORTS) \
16660 $(POSTSTAGE1_HOST_EXPORTS) \
16661 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16663 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16664 case $(srcdir) in \
16665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16666 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16668 esac; \
16669 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16670 libsrcdir="$$s/libdecnumber"; \
16671 $(SHELL) $${libsrcdir}/configure \
16672 $(HOST_CONFIGARGS) $${srcdiroption} \
16673 @stage2_werror_flag@
16674 @endif libdecnumber-bootstrap
16676 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16677 maybe-configure-stagefeedback-libdecnumber:
16678 @if libdecnumber-bootstrap
16679 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16680 configure-stagefeedback-libdecnumber:
16681 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16683 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16684 $(HOST_EXPORTS) \
16685 $(POSTSTAGE1_HOST_EXPORTS) \
16686 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16688 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16689 case $(srcdir) in \
16690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16691 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16693 esac; \
16694 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16695 libsrcdir="$$s/libdecnumber"; \
16696 $(SHELL) $${libsrcdir}/configure \
16697 $(HOST_CONFIGARGS) $${srcdiroption} \
16698 @stage2_werror_flag@
16699 @endif libdecnumber-bootstrap
16705 .PHONY: all-libdecnumber maybe-all-libdecnumber
16706 maybe-all-libdecnumber:
16707 @if libdecnumber
16708 TARGET-libdecnumber=all
16709 maybe-all-libdecnumber: all-libdecnumber
16710 all-libdecnumber: configure-libdecnumber
16711 @test -f stage_last && exit 0; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(HOST_EXPORTS) \
16715 (cd $(HOST_SUBDIR)/libdecnumber && \
16716 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16717 @endif libdecnumber
16721 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16722 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16723 maybe-all-stage1-libdecnumber:
16724 maybe-clean-stage1-libdecnumber:
16725 @if libdecnumber-bootstrap
16726 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16727 all-stage1: all-stage1-libdecnumber
16728 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16729 all-stage1-libdecnumber: configure-stage1-libdecnumber
16730 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16731 @r=`${PWD_COMMAND}`; export r; \
16732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16733 $(HOST_EXPORTS) \
16734 cd $(HOST_SUBDIR)/libdecnumber && \
16735 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16736 $(TARGET-stage1-libdecnumber)
16738 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16739 clean-stage1: clean-stage1-libdecnumber
16740 clean-stage1-libdecnumber:
16741 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16742 || exit 0 ; \
16743 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16744 cd $(HOST_SUBDIR)/libdecnumber && \
16745 $(MAKE) $(FLAGS_TO_PASS) \
16746 CFLAGS="$(STAGE1_CFLAGS)" clean
16747 @endif libdecnumber-bootstrap
16750 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16751 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16752 maybe-all-stage2-libdecnumber:
16753 maybe-clean-stage2-libdecnumber:
16754 @if libdecnumber-bootstrap
16755 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16756 all-stage2: all-stage2-libdecnumber
16757 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16758 all-stage2-libdecnumber: configure-stage2-libdecnumber
16759 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16760 @r=`${PWD_COMMAND}`; export r; \
16761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16762 $(HOST_EXPORTS) \
16763 $(POSTSTAGE1_HOST_EXPORTS) \
16764 cd $(HOST_SUBDIR)/libdecnumber && \
16765 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16766 $(TARGET-stage2-libdecnumber)
16768 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16769 clean-stage2: clean-stage2-libdecnumber
16770 clean-stage2-libdecnumber:
16771 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16772 || exit 0 ; \
16773 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16774 cd $(HOST_SUBDIR)/libdecnumber && \
16775 $(MAKE) $(FLAGS_TO_PASS) \
16776 $(POSTSTAGE1_FLAGS_TO_PASS) \
16777 clean
16778 @endif libdecnumber-bootstrap
16781 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16782 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16783 maybe-all-stage3-libdecnumber:
16784 maybe-clean-stage3-libdecnumber:
16785 @if libdecnumber-bootstrap
16786 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16787 all-stage3: all-stage3-libdecnumber
16788 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16789 all-stage3-libdecnumber: configure-stage3-libdecnumber
16790 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16791 @r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 $(HOST_EXPORTS) \
16794 $(POSTSTAGE1_HOST_EXPORTS) \
16795 cd $(HOST_SUBDIR)/libdecnumber && \
16796 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16797 $(TARGET-stage3-libdecnumber)
16799 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16800 clean-stage3: clean-stage3-libdecnumber
16801 clean-stage3-libdecnumber:
16802 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16803 || exit 0 ; \
16804 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16805 cd $(HOST_SUBDIR)/libdecnumber && \
16806 $(MAKE) $(FLAGS_TO_PASS) \
16807 $(POSTSTAGE1_FLAGS_TO_PASS) \
16808 clean
16809 @endif libdecnumber-bootstrap
16812 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16813 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16814 maybe-all-stage4-libdecnumber:
16815 maybe-clean-stage4-libdecnumber:
16816 @if libdecnumber-bootstrap
16817 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16818 all-stage4: all-stage4-libdecnumber
16819 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16820 all-stage4-libdecnumber: configure-stage4-libdecnumber
16821 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16822 @r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(HOST_EXPORTS) \
16825 $(POSTSTAGE1_HOST_EXPORTS) \
16826 cd $(HOST_SUBDIR)/libdecnumber && \
16827 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16828 $(TARGET-stage4-libdecnumber)
16830 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16831 clean-stage4: clean-stage4-libdecnumber
16832 clean-stage4-libdecnumber:
16833 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16834 || exit 0 ; \
16835 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16836 cd $(HOST_SUBDIR)/libdecnumber && \
16837 $(MAKE) $(FLAGS_TO_PASS) \
16838 $(POSTSTAGE1_FLAGS_TO_PASS) \
16839 clean
16840 @endif libdecnumber-bootstrap
16843 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16844 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16845 maybe-all-stageprofile-libdecnumber:
16846 maybe-clean-stageprofile-libdecnumber:
16847 @if libdecnumber-bootstrap
16848 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16849 all-stageprofile: all-stageprofile-libdecnumber
16850 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16851 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16852 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16853 @r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 $(HOST_EXPORTS) \
16856 $(POSTSTAGE1_HOST_EXPORTS) \
16857 cd $(HOST_SUBDIR)/libdecnumber && \
16858 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16859 $(TARGET-stageprofile-libdecnumber)
16861 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16862 clean-stageprofile: clean-stageprofile-libdecnumber
16863 clean-stageprofile-libdecnumber:
16864 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16865 || exit 0 ; \
16866 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16867 cd $(HOST_SUBDIR)/libdecnumber && \
16868 $(MAKE) $(FLAGS_TO_PASS) \
16869 $(POSTSTAGE1_FLAGS_TO_PASS) \
16870 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16871 @endif libdecnumber-bootstrap
16874 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16875 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16876 maybe-all-stagefeedback-libdecnumber:
16877 maybe-clean-stagefeedback-libdecnumber:
16878 @if libdecnumber-bootstrap
16879 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16880 all-stagefeedback: all-stagefeedback-libdecnumber
16881 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16882 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16883 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16884 @r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 $(HOST_EXPORTS) \
16887 $(POSTSTAGE1_HOST_EXPORTS) \
16888 cd $(HOST_SUBDIR)/libdecnumber && \
16889 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16890 $(TARGET-stagefeedback-libdecnumber)
16892 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16893 clean-stagefeedback: clean-stagefeedback-libdecnumber
16894 clean-stagefeedback-libdecnumber:
16895 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16896 || exit 0 ; \
16897 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16898 cd $(HOST_SUBDIR)/libdecnumber && \
16899 $(MAKE) $(FLAGS_TO_PASS) \
16900 $(POSTSTAGE1_FLAGS_TO_PASS) \
16901 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16902 @endif libdecnumber-bootstrap
16908 .PHONY: check-libdecnumber maybe-check-libdecnumber
16909 maybe-check-libdecnumber:
16910 @if libdecnumber
16911 maybe-check-libdecnumber: check-libdecnumber
16913 check-libdecnumber:
16914 @: $(MAKE); $(unstage)
16915 @r=`${PWD_COMMAND}`; export r; \
16916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16917 $(HOST_EXPORTS) \
16918 (cd $(HOST_SUBDIR)/libdecnumber && \
16919 $(MAKE) $(FLAGS_TO_PASS) check)
16921 @endif libdecnumber
16923 .PHONY: install-libdecnumber maybe-install-libdecnumber
16924 maybe-install-libdecnumber:
16925 @if libdecnumber
16926 maybe-install-libdecnumber: install-libdecnumber
16928 install-libdecnumber: installdirs
16929 @: $(MAKE); $(unstage)
16930 @r=`${PWD_COMMAND}`; export r; \
16931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16932 $(HOST_EXPORTS) \
16933 (cd $(HOST_SUBDIR)/libdecnumber && \
16934 $(MAKE) $(FLAGS_TO_PASS) install)
16936 @endif libdecnumber
16938 # Other targets (info, dvi, etc.)
16940 .PHONY: maybe-info-libdecnumber info-libdecnumber
16941 maybe-info-libdecnumber:
16942 @if libdecnumber
16943 maybe-info-libdecnumber: info-libdecnumber
16945 info-libdecnumber: \
16946 configure-libdecnumber
16947 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 for flag in $(EXTRA_HOST_FLAGS) ; do \
16952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16953 done; \
16954 echo "Doing info in libdecnumber" ; \
16955 (cd $(HOST_SUBDIR)/libdecnumber && \
16956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16958 "RANLIB=$${RANLIB}" \
16959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16960 info) \
16961 || exit 1
16963 @endif libdecnumber
16965 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
16966 maybe-dvi-libdecnumber:
16967 @if libdecnumber
16968 maybe-dvi-libdecnumber: dvi-libdecnumber
16970 dvi-libdecnumber: \
16971 configure-libdecnumber
16972 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16973 r=`${PWD_COMMAND}`; export r; \
16974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16975 $(HOST_EXPORTS) \
16976 for flag in $(EXTRA_HOST_FLAGS) ; do \
16977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16978 done; \
16979 echo "Doing dvi in libdecnumber" ; \
16980 (cd $(HOST_SUBDIR)/libdecnumber && \
16981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16983 "RANLIB=$${RANLIB}" \
16984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16985 dvi) \
16986 || exit 1
16988 @endif libdecnumber
16990 .PHONY: maybe-html-libdecnumber html-libdecnumber
16991 maybe-html-libdecnumber:
16992 @if libdecnumber
16993 maybe-html-libdecnumber: html-libdecnumber
16995 html-libdecnumber: \
16996 configure-libdecnumber
16997 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16998 r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 $(HOST_EXPORTS) \
17001 for flag in $(EXTRA_HOST_FLAGS) ; do \
17002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17003 done; \
17004 echo "Doing html in libdecnumber" ; \
17005 (cd $(HOST_SUBDIR)/libdecnumber && \
17006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17008 "RANLIB=$${RANLIB}" \
17009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17010 html) \
17011 || exit 1
17013 @endif libdecnumber
17015 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17016 maybe-TAGS-libdecnumber:
17017 @if libdecnumber
17018 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17020 TAGS-libdecnumber: \
17021 configure-libdecnumber
17022 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17023 r=`${PWD_COMMAND}`; export r; \
17024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17025 $(HOST_EXPORTS) \
17026 for flag in $(EXTRA_HOST_FLAGS) ; do \
17027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17028 done; \
17029 echo "Doing TAGS in libdecnumber" ; \
17030 (cd $(HOST_SUBDIR)/libdecnumber && \
17031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17033 "RANLIB=$${RANLIB}" \
17034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17035 TAGS) \
17036 || exit 1
17038 @endif libdecnumber
17040 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17041 maybe-install-info-libdecnumber:
17042 @if libdecnumber
17043 maybe-install-info-libdecnumber: install-info-libdecnumber
17045 install-info-libdecnumber: \
17046 configure-libdecnumber \
17047 info-libdecnumber
17048 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17049 r=`${PWD_COMMAND}`; export r; \
17050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17051 $(HOST_EXPORTS) \
17052 for flag in $(EXTRA_HOST_FLAGS) ; do \
17053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17054 done; \
17055 echo "Doing install-info in libdecnumber" ; \
17056 (cd $(HOST_SUBDIR)/libdecnumber && \
17057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17059 "RANLIB=$${RANLIB}" \
17060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17061 install-info) \
17062 || exit 1
17064 @endif libdecnumber
17066 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17067 maybe-installcheck-libdecnumber:
17068 @if libdecnumber
17069 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17071 installcheck-libdecnumber: \
17072 configure-libdecnumber
17073 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17074 r=`${PWD_COMMAND}`; export r; \
17075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 $(HOST_EXPORTS) \
17077 for flag in $(EXTRA_HOST_FLAGS) ; do \
17078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17079 done; \
17080 echo "Doing installcheck in libdecnumber" ; \
17081 (cd $(HOST_SUBDIR)/libdecnumber && \
17082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17084 "RANLIB=$${RANLIB}" \
17085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17086 installcheck) \
17087 || exit 1
17089 @endif libdecnumber
17091 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17092 maybe-mostlyclean-libdecnumber:
17093 @if libdecnumber
17094 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17096 mostlyclean-libdecnumber:
17097 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17098 r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 $(HOST_EXPORTS) \
17101 for flag in $(EXTRA_HOST_FLAGS) ; do \
17102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17103 done; \
17104 echo "Doing mostlyclean in libdecnumber" ; \
17105 (cd $(HOST_SUBDIR)/libdecnumber && \
17106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108 "RANLIB=$${RANLIB}" \
17109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110 mostlyclean) \
17111 || exit 1
17113 @endif libdecnumber
17115 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17116 maybe-clean-libdecnumber:
17117 @if libdecnumber
17118 maybe-clean-libdecnumber: clean-libdecnumber
17120 clean-libdecnumber:
17121 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17122 r=`${PWD_COMMAND}`; export r; \
17123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17124 $(HOST_EXPORTS) \
17125 for flag in $(EXTRA_HOST_FLAGS) ; do \
17126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17127 done; \
17128 echo "Doing clean in libdecnumber" ; \
17129 (cd $(HOST_SUBDIR)/libdecnumber && \
17130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17132 "RANLIB=$${RANLIB}" \
17133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17134 clean) \
17135 || exit 1
17137 @endif libdecnumber
17139 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17140 maybe-distclean-libdecnumber:
17141 @if libdecnumber
17142 maybe-distclean-libdecnumber: distclean-libdecnumber
17144 distclean-libdecnumber:
17145 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17146 r=`${PWD_COMMAND}`; export r; \
17147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17148 $(HOST_EXPORTS) \
17149 for flag in $(EXTRA_HOST_FLAGS) ; do \
17150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17151 done; \
17152 echo "Doing distclean in libdecnumber" ; \
17153 (cd $(HOST_SUBDIR)/libdecnumber && \
17154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17156 "RANLIB=$${RANLIB}" \
17157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17158 distclean) \
17159 || exit 1
17161 @endif libdecnumber
17163 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17164 maybe-maintainer-clean-libdecnumber:
17165 @if libdecnumber
17166 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17168 maintainer-clean-libdecnumber:
17169 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17170 r=`${PWD_COMMAND}`; export r; \
17171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17172 $(HOST_EXPORTS) \
17173 for flag in $(EXTRA_HOST_FLAGS) ; do \
17174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17175 done; \
17176 echo "Doing maintainer-clean in libdecnumber" ; \
17177 (cd $(HOST_SUBDIR)/libdecnumber && \
17178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17180 "RANLIB=$${RANLIB}" \
17181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17182 maintainer-clean) \
17183 || exit 1
17185 @endif libdecnumber
17189 .PHONY: configure-libgui maybe-configure-libgui
17190 maybe-configure-libgui:
17191 @if libgui
17192 maybe-configure-libgui: configure-libgui
17193 configure-libgui:
17194 @: $(MAKE); $(unstage)
17195 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17197 r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 $(HOST_EXPORTS) \
17200 echo Configuring in $(HOST_SUBDIR)/libgui; \
17201 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17202 case $(srcdir) in \
17203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17204 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17206 esac; \
17207 srcdiroption="--srcdir=$${topdir}/libgui"; \
17208 libsrcdir="$$s/libgui"; \
17209 $(SHELL) $${libsrcdir}/configure \
17210 $(HOST_CONFIGARGS) $${srcdiroption} \
17211 || exit 1
17212 @endif libgui
17218 .PHONY: all-libgui maybe-all-libgui
17219 maybe-all-libgui:
17220 @if libgui
17221 TARGET-libgui=all
17222 maybe-all-libgui: all-libgui
17223 all-libgui: configure-libgui
17224 @: $(MAKE); $(unstage)
17225 @r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 $(HOST_EXPORTS) \
17228 (cd $(HOST_SUBDIR)/libgui && \
17229 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17230 @endif libgui
17235 .PHONY: check-libgui maybe-check-libgui
17236 maybe-check-libgui:
17237 @if libgui
17238 maybe-check-libgui: check-libgui
17240 check-libgui:
17241 @: $(MAKE); $(unstage)
17242 @r=`${PWD_COMMAND}`; export r; \
17243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17244 $(HOST_EXPORTS) \
17245 (cd $(HOST_SUBDIR)/libgui && \
17246 $(MAKE) $(FLAGS_TO_PASS) check)
17248 @endif libgui
17250 .PHONY: install-libgui maybe-install-libgui
17251 maybe-install-libgui:
17252 @if libgui
17253 maybe-install-libgui: install-libgui
17255 install-libgui: installdirs
17256 @: $(MAKE); $(unstage)
17257 @r=`${PWD_COMMAND}`; export r; \
17258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17259 $(HOST_EXPORTS) \
17260 (cd $(HOST_SUBDIR)/libgui && \
17261 $(MAKE) $(FLAGS_TO_PASS) install)
17263 @endif libgui
17265 # Other targets (info, dvi, etc.)
17267 .PHONY: maybe-info-libgui info-libgui
17268 maybe-info-libgui:
17269 @if libgui
17270 maybe-info-libgui: info-libgui
17272 info-libgui: \
17273 configure-libgui
17274 @: $(MAKE); $(unstage)
17275 @[ -f ./libgui/Makefile ] || exit 0; \
17276 r=`${PWD_COMMAND}`; export r; \
17277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17278 $(HOST_EXPORTS) \
17279 for flag in $(EXTRA_HOST_FLAGS) ; do \
17280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17281 done; \
17282 echo "Doing info in libgui" ; \
17283 (cd $(HOST_SUBDIR)/libgui && \
17284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17286 "RANLIB=$${RANLIB}" \
17287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17288 info) \
17289 || exit 1
17291 @endif libgui
17293 .PHONY: maybe-dvi-libgui dvi-libgui
17294 maybe-dvi-libgui:
17295 @if libgui
17296 maybe-dvi-libgui: dvi-libgui
17298 dvi-libgui: \
17299 configure-libgui
17300 @: $(MAKE); $(unstage)
17301 @[ -f ./libgui/Makefile ] || exit 0; \
17302 r=`${PWD_COMMAND}`; export r; \
17303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17304 $(HOST_EXPORTS) \
17305 for flag in $(EXTRA_HOST_FLAGS) ; do \
17306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17307 done; \
17308 echo "Doing dvi in libgui" ; \
17309 (cd $(HOST_SUBDIR)/libgui && \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17312 "RANLIB=$${RANLIB}" \
17313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17314 dvi) \
17315 || exit 1
17317 @endif libgui
17319 .PHONY: maybe-html-libgui html-libgui
17320 maybe-html-libgui:
17321 @if libgui
17322 maybe-html-libgui: html-libgui
17324 html-libgui: \
17325 configure-libgui
17326 @: $(MAKE); $(unstage)
17327 @[ -f ./libgui/Makefile ] || exit 0; \
17328 r=`${PWD_COMMAND}`; export r; \
17329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17330 $(HOST_EXPORTS) \
17331 for flag in $(EXTRA_HOST_FLAGS) ; do \
17332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17333 done; \
17334 echo "Doing html in libgui" ; \
17335 (cd $(HOST_SUBDIR)/libgui && \
17336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17338 "RANLIB=$${RANLIB}" \
17339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17340 html) \
17341 || exit 1
17343 @endif libgui
17345 .PHONY: maybe-TAGS-libgui TAGS-libgui
17346 maybe-TAGS-libgui:
17347 @if libgui
17348 maybe-TAGS-libgui: TAGS-libgui
17350 TAGS-libgui: \
17351 configure-libgui
17352 @: $(MAKE); $(unstage)
17353 @[ -f ./libgui/Makefile ] || exit 0; \
17354 r=`${PWD_COMMAND}`; export r; \
17355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17356 $(HOST_EXPORTS) \
17357 for flag in $(EXTRA_HOST_FLAGS) ; do \
17358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17359 done; \
17360 echo "Doing TAGS in libgui" ; \
17361 (cd $(HOST_SUBDIR)/libgui && \
17362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17364 "RANLIB=$${RANLIB}" \
17365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17366 TAGS) \
17367 || exit 1
17369 @endif libgui
17371 .PHONY: maybe-install-info-libgui install-info-libgui
17372 maybe-install-info-libgui:
17373 @if libgui
17374 maybe-install-info-libgui: install-info-libgui
17376 install-info-libgui: \
17377 configure-libgui \
17378 info-libgui
17379 @: $(MAKE); $(unstage)
17380 @[ -f ./libgui/Makefile ] || exit 0; \
17381 r=`${PWD_COMMAND}`; export r; \
17382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 $(HOST_EXPORTS) \
17384 for flag in $(EXTRA_HOST_FLAGS) ; do \
17385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386 done; \
17387 echo "Doing install-info in libgui" ; \
17388 (cd $(HOST_SUBDIR)/libgui && \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17391 "RANLIB=$${RANLIB}" \
17392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17393 install-info) \
17394 || exit 1
17396 @endif libgui
17398 .PHONY: maybe-installcheck-libgui installcheck-libgui
17399 maybe-installcheck-libgui:
17400 @if libgui
17401 maybe-installcheck-libgui: installcheck-libgui
17403 installcheck-libgui: \
17404 configure-libgui
17405 @: $(MAKE); $(unstage)
17406 @[ -f ./libgui/Makefile ] || exit 0; \
17407 r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 $(HOST_EXPORTS) \
17410 for flag in $(EXTRA_HOST_FLAGS) ; do \
17411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17412 done; \
17413 echo "Doing installcheck in libgui" ; \
17414 (cd $(HOST_SUBDIR)/libgui && \
17415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17417 "RANLIB=$${RANLIB}" \
17418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17419 installcheck) \
17420 || exit 1
17422 @endif libgui
17424 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17425 maybe-mostlyclean-libgui:
17426 @if libgui
17427 maybe-mostlyclean-libgui: mostlyclean-libgui
17429 mostlyclean-libgui:
17430 @: $(MAKE); $(unstage)
17431 @[ -f ./libgui/Makefile ] || exit 0; \
17432 r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 $(HOST_EXPORTS) \
17435 for flag in $(EXTRA_HOST_FLAGS) ; do \
17436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17437 done; \
17438 echo "Doing mostlyclean in libgui" ; \
17439 (cd $(HOST_SUBDIR)/libgui && \
17440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17442 "RANLIB=$${RANLIB}" \
17443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17444 mostlyclean) \
17445 || exit 1
17447 @endif libgui
17449 .PHONY: maybe-clean-libgui clean-libgui
17450 maybe-clean-libgui:
17451 @if libgui
17452 maybe-clean-libgui: clean-libgui
17454 clean-libgui:
17455 @: $(MAKE); $(unstage)
17456 @[ -f ./libgui/Makefile ] || exit 0; \
17457 r=`${PWD_COMMAND}`; export r; \
17458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17459 $(HOST_EXPORTS) \
17460 for flag in $(EXTRA_HOST_FLAGS) ; do \
17461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17462 done; \
17463 echo "Doing clean in libgui" ; \
17464 (cd $(HOST_SUBDIR)/libgui && \
17465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17467 "RANLIB=$${RANLIB}" \
17468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17469 clean) \
17470 || exit 1
17472 @endif libgui
17474 .PHONY: maybe-distclean-libgui distclean-libgui
17475 maybe-distclean-libgui:
17476 @if libgui
17477 maybe-distclean-libgui: distclean-libgui
17479 distclean-libgui:
17480 @: $(MAKE); $(unstage)
17481 @[ -f ./libgui/Makefile ] || exit 0; \
17482 r=`${PWD_COMMAND}`; export r; \
17483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17484 $(HOST_EXPORTS) \
17485 for flag in $(EXTRA_HOST_FLAGS) ; do \
17486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17487 done; \
17488 echo "Doing distclean in libgui" ; \
17489 (cd $(HOST_SUBDIR)/libgui && \
17490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17492 "RANLIB=$${RANLIB}" \
17493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17494 distclean) \
17495 || exit 1
17497 @endif libgui
17499 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17500 maybe-maintainer-clean-libgui:
17501 @if libgui
17502 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17504 maintainer-clean-libgui:
17505 @: $(MAKE); $(unstage)
17506 @[ -f ./libgui/Makefile ] || exit 0; \
17507 r=`${PWD_COMMAND}`; export r; \
17508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17509 $(HOST_EXPORTS) \
17510 for flag in $(EXTRA_HOST_FLAGS) ; do \
17511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17512 done; \
17513 echo "Doing maintainer-clean in libgui" ; \
17514 (cd $(HOST_SUBDIR)/libgui && \
17515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17517 "RANLIB=$${RANLIB}" \
17518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17519 maintainer-clean) \
17520 || exit 1
17522 @endif libgui
17526 .PHONY: configure-libiberty maybe-configure-libiberty
17527 maybe-configure-libiberty:
17528 @if libiberty
17529 maybe-configure-libiberty: configure-libiberty
17530 configure-libiberty:
17531 @test -f stage_last && exit 0; \
17532 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17534 r=`${PWD_COMMAND}`; export r; \
17535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17536 $(HOST_EXPORTS) \
17537 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17538 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17539 case $(srcdir) in \
17540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17541 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17543 esac; \
17544 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17545 libsrcdir="$$s/libiberty"; \
17546 $(SHELL) $${libsrcdir}/configure \
17547 $(HOST_CONFIGARGS) $${srcdiroption} \
17548 || exit 1
17549 @endif libiberty
17553 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17554 maybe-configure-stage1-libiberty:
17555 @if libiberty-bootstrap
17556 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17557 configure-stage1-libiberty:
17558 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17560 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17561 $(HOST_EXPORTS) \
17562 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17564 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17565 case $(srcdir) in \
17566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17567 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17569 esac; \
17570 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17571 libsrcdir="$$s/libiberty"; \
17572 $(SHELL) $${libsrcdir}/configure \
17573 $(HOST_CONFIGARGS) $${srcdiroption} \
17574 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17575 @endif libiberty-bootstrap
17577 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17578 maybe-configure-stage2-libiberty:
17579 @if libiberty-bootstrap
17580 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17581 configure-stage2-libiberty:
17582 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17584 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17585 $(HOST_EXPORTS) \
17586 $(POSTSTAGE1_HOST_EXPORTS) \
17587 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17589 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17590 case $(srcdir) in \
17591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17592 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17594 esac; \
17595 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17596 libsrcdir="$$s/libiberty"; \
17597 $(SHELL) $${libsrcdir}/configure \
17598 $(HOST_CONFIGARGS) $${srcdiroption} \
17599 @stage2_werror_flag@
17600 @endif libiberty-bootstrap
17602 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17603 maybe-configure-stage3-libiberty:
17604 @if libiberty-bootstrap
17605 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17606 configure-stage3-libiberty:
17607 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17609 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17610 $(HOST_EXPORTS) \
17611 $(POSTSTAGE1_HOST_EXPORTS) \
17612 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17614 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17615 case $(srcdir) in \
17616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17617 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17619 esac; \
17620 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17621 libsrcdir="$$s/libiberty"; \
17622 $(SHELL) $${libsrcdir}/configure \
17623 $(HOST_CONFIGARGS) $${srcdiroption} \
17624 @stage2_werror_flag@
17625 @endif libiberty-bootstrap
17627 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17628 maybe-configure-stage4-libiberty:
17629 @if libiberty-bootstrap
17630 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17631 configure-stage4-libiberty:
17632 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17634 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17635 $(HOST_EXPORTS) \
17636 $(POSTSTAGE1_HOST_EXPORTS) \
17637 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17639 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17640 case $(srcdir) in \
17641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17642 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17644 esac; \
17645 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17646 libsrcdir="$$s/libiberty"; \
17647 $(SHELL) $${libsrcdir}/configure \
17648 $(HOST_CONFIGARGS) $${srcdiroption} \
17649 @stage2_werror_flag@
17650 @endif libiberty-bootstrap
17652 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17653 maybe-configure-stageprofile-libiberty:
17654 @if libiberty-bootstrap
17655 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17656 configure-stageprofile-libiberty:
17657 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17659 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17660 $(HOST_EXPORTS) \
17661 $(POSTSTAGE1_HOST_EXPORTS) \
17662 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17664 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17665 case $(srcdir) in \
17666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17667 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17669 esac; \
17670 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17671 libsrcdir="$$s/libiberty"; \
17672 $(SHELL) $${libsrcdir}/configure \
17673 $(HOST_CONFIGARGS) $${srcdiroption} \
17674 @stage2_werror_flag@
17675 @endif libiberty-bootstrap
17677 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17678 maybe-configure-stagefeedback-libiberty:
17679 @if libiberty-bootstrap
17680 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17681 configure-stagefeedback-libiberty:
17682 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17684 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17685 $(HOST_EXPORTS) \
17686 $(POSTSTAGE1_HOST_EXPORTS) \
17687 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17689 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17690 case $(srcdir) in \
17691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17692 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17694 esac; \
17695 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17696 libsrcdir="$$s/libiberty"; \
17697 $(SHELL) $${libsrcdir}/configure \
17698 $(HOST_CONFIGARGS) $${srcdiroption} \
17699 @stage2_werror_flag@
17700 @endif libiberty-bootstrap
17706 .PHONY: all-libiberty maybe-all-libiberty
17707 maybe-all-libiberty:
17708 @if libiberty
17709 TARGET-libiberty=all
17710 maybe-all-libiberty: all-libiberty
17711 all-libiberty: configure-libiberty
17712 @test -f stage_last && exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 $(HOST_EXPORTS) \
17716 (cd $(HOST_SUBDIR)/libiberty && \
17717 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17718 @endif libiberty
17722 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17723 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17724 maybe-all-stage1-libiberty:
17725 maybe-clean-stage1-libiberty:
17726 @if libiberty-bootstrap
17727 maybe-all-stage1-libiberty: all-stage1-libiberty
17728 all-stage1: all-stage1-libiberty
17729 TARGET-stage1-libiberty = $(TARGET-libiberty)
17730 all-stage1-libiberty: configure-stage1-libiberty
17731 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17732 @r=`${PWD_COMMAND}`; export r; \
17733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17734 $(HOST_EXPORTS) \
17735 cd $(HOST_SUBDIR)/libiberty && \
17736 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17737 $(TARGET-stage1-libiberty)
17739 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17740 clean-stage1: clean-stage1-libiberty
17741 clean-stage1-libiberty:
17742 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17743 || exit 0 ; \
17744 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17745 cd $(HOST_SUBDIR)/libiberty && \
17746 $(MAKE) $(FLAGS_TO_PASS) \
17747 CFLAGS="$(STAGE1_CFLAGS)" clean
17748 @endif libiberty-bootstrap
17751 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17752 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17753 maybe-all-stage2-libiberty:
17754 maybe-clean-stage2-libiberty:
17755 @if libiberty-bootstrap
17756 maybe-all-stage2-libiberty: all-stage2-libiberty
17757 all-stage2: all-stage2-libiberty
17758 TARGET-stage2-libiberty = $(TARGET-libiberty)
17759 all-stage2-libiberty: configure-stage2-libiberty
17760 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17761 @r=`${PWD_COMMAND}`; export r; \
17762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17763 $(HOST_EXPORTS) \
17764 $(POSTSTAGE1_HOST_EXPORTS) \
17765 cd $(HOST_SUBDIR)/libiberty && \
17766 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17767 $(TARGET-stage2-libiberty)
17769 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17770 clean-stage2: clean-stage2-libiberty
17771 clean-stage2-libiberty:
17772 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17773 || exit 0 ; \
17774 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17775 cd $(HOST_SUBDIR)/libiberty && \
17776 $(MAKE) $(FLAGS_TO_PASS) \
17777 $(POSTSTAGE1_FLAGS_TO_PASS) \
17778 clean
17779 @endif libiberty-bootstrap
17782 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17783 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17784 maybe-all-stage3-libiberty:
17785 maybe-clean-stage3-libiberty:
17786 @if libiberty-bootstrap
17787 maybe-all-stage3-libiberty: all-stage3-libiberty
17788 all-stage3: all-stage3-libiberty
17789 TARGET-stage3-libiberty = $(TARGET-libiberty)
17790 all-stage3-libiberty: configure-stage3-libiberty
17791 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17792 @r=`${PWD_COMMAND}`; export r; \
17793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 $(HOST_EXPORTS) \
17795 $(POSTSTAGE1_HOST_EXPORTS) \
17796 cd $(HOST_SUBDIR)/libiberty && \
17797 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17798 $(TARGET-stage3-libiberty)
17800 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17801 clean-stage3: clean-stage3-libiberty
17802 clean-stage3-libiberty:
17803 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17804 || exit 0 ; \
17805 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17806 cd $(HOST_SUBDIR)/libiberty && \
17807 $(MAKE) $(FLAGS_TO_PASS) \
17808 $(POSTSTAGE1_FLAGS_TO_PASS) \
17809 clean
17810 @endif libiberty-bootstrap
17813 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17814 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17815 maybe-all-stage4-libiberty:
17816 maybe-clean-stage4-libiberty:
17817 @if libiberty-bootstrap
17818 maybe-all-stage4-libiberty: all-stage4-libiberty
17819 all-stage4: all-stage4-libiberty
17820 TARGET-stage4-libiberty = $(TARGET-libiberty)
17821 all-stage4-libiberty: configure-stage4-libiberty
17822 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17823 @r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 $(HOST_EXPORTS) \
17826 $(POSTSTAGE1_HOST_EXPORTS) \
17827 cd $(HOST_SUBDIR)/libiberty && \
17828 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17829 $(TARGET-stage4-libiberty)
17831 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17832 clean-stage4: clean-stage4-libiberty
17833 clean-stage4-libiberty:
17834 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17835 || exit 0 ; \
17836 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17837 cd $(HOST_SUBDIR)/libiberty && \
17838 $(MAKE) $(FLAGS_TO_PASS) \
17839 $(POSTSTAGE1_FLAGS_TO_PASS) \
17840 clean
17841 @endif libiberty-bootstrap
17844 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17845 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17846 maybe-all-stageprofile-libiberty:
17847 maybe-clean-stageprofile-libiberty:
17848 @if libiberty-bootstrap
17849 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17850 all-stageprofile: all-stageprofile-libiberty
17851 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17852 all-stageprofile-libiberty: configure-stageprofile-libiberty
17853 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17854 @r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 $(HOST_EXPORTS) \
17857 $(POSTSTAGE1_HOST_EXPORTS) \
17858 cd $(HOST_SUBDIR)/libiberty && \
17859 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17860 $(TARGET-stageprofile-libiberty)
17862 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17863 clean-stageprofile: clean-stageprofile-libiberty
17864 clean-stageprofile-libiberty:
17865 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17866 || exit 0 ; \
17867 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17868 cd $(HOST_SUBDIR)/libiberty && \
17869 $(MAKE) $(FLAGS_TO_PASS) \
17870 $(POSTSTAGE1_FLAGS_TO_PASS) \
17871 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17872 @endif libiberty-bootstrap
17875 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17876 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17877 maybe-all-stagefeedback-libiberty:
17878 maybe-clean-stagefeedback-libiberty:
17879 @if libiberty-bootstrap
17880 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17881 all-stagefeedback: all-stagefeedback-libiberty
17882 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17883 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17884 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17885 @r=`${PWD_COMMAND}`; export r; \
17886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 $(HOST_EXPORTS) \
17888 $(POSTSTAGE1_HOST_EXPORTS) \
17889 cd $(HOST_SUBDIR)/libiberty && \
17890 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17891 $(TARGET-stagefeedback-libiberty)
17893 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17894 clean-stagefeedback: clean-stagefeedback-libiberty
17895 clean-stagefeedback-libiberty:
17896 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17897 || exit 0 ; \
17898 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17899 cd $(HOST_SUBDIR)/libiberty && \
17900 $(MAKE) $(FLAGS_TO_PASS) \
17901 $(POSTSTAGE1_FLAGS_TO_PASS) \
17902 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17903 @endif libiberty-bootstrap
17909 .PHONY: check-libiberty maybe-check-libiberty
17910 maybe-check-libiberty:
17911 @if libiberty
17912 maybe-check-libiberty: check-libiberty
17914 check-libiberty:
17915 @: $(MAKE); $(unstage)
17916 @r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 $(HOST_EXPORTS) \
17919 (cd $(HOST_SUBDIR)/libiberty && \
17920 $(MAKE) $(FLAGS_TO_PASS) check)
17922 @endif libiberty
17924 .PHONY: install-libiberty maybe-install-libiberty
17925 maybe-install-libiberty:
17926 @if libiberty
17927 maybe-install-libiberty: install-libiberty
17929 install-libiberty: installdirs
17930 @: $(MAKE); $(unstage)
17931 @r=`${PWD_COMMAND}`; export r; \
17932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17933 $(HOST_EXPORTS) \
17934 (cd $(HOST_SUBDIR)/libiberty && \
17935 $(MAKE) $(FLAGS_TO_PASS) install)
17937 @endif libiberty
17939 # Other targets (info, dvi, etc.)
17941 .PHONY: maybe-info-libiberty info-libiberty
17942 maybe-info-libiberty:
17943 @if libiberty
17944 maybe-info-libiberty: info-libiberty
17946 info-libiberty: \
17947 configure-libiberty
17948 @[ -f ./libiberty/Makefile ] || exit 0; \
17949 r=`${PWD_COMMAND}`; export r; \
17950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17951 $(HOST_EXPORTS) \
17952 for flag in $(EXTRA_HOST_FLAGS) ; do \
17953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17954 done; \
17955 echo "Doing info in libiberty" ; \
17956 (cd $(HOST_SUBDIR)/libiberty && \
17957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17959 "RANLIB=$${RANLIB}" \
17960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17961 info) \
17962 || exit 1
17964 @endif libiberty
17966 .PHONY: maybe-dvi-libiberty dvi-libiberty
17967 maybe-dvi-libiberty:
17968 @if libiberty
17969 maybe-dvi-libiberty: dvi-libiberty
17971 dvi-libiberty: \
17972 configure-libiberty
17973 @[ -f ./libiberty/Makefile ] || exit 0; \
17974 r=`${PWD_COMMAND}`; export r; \
17975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17976 $(HOST_EXPORTS) \
17977 for flag in $(EXTRA_HOST_FLAGS) ; do \
17978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17979 done; \
17980 echo "Doing dvi in libiberty" ; \
17981 (cd $(HOST_SUBDIR)/libiberty && \
17982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17984 "RANLIB=$${RANLIB}" \
17985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17986 dvi) \
17987 || exit 1
17989 @endif libiberty
17991 .PHONY: maybe-html-libiberty html-libiberty
17992 maybe-html-libiberty:
17993 @if libiberty
17994 maybe-html-libiberty: html-libiberty
17996 html-libiberty: \
17997 configure-libiberty
17998 @[ -f ./libiberty/Makefile ] || exit 0; \
17999 r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(HOST_EXPORTS) \
18002 for flag in $(EXTRA_HOST_FLAGS) ; do \
18003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18004 done; \
18005 echo "Doing html in libiberty" ; \
18006 (cd $(HOST_SUBDIR)/libiberty && \
18007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18009 "RANLIB=$${RANLIB}" \
18010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18011 html) \
18012 || exit 1
18014 @endif libiberty
18016 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18017 maybe-TAGS-libiberty:
18018 @if libiberty
18019 maybe-TAGS-libiberty: TAGS-libiberty
18021 TAGS-libiberty: \
18022 configure-libiberty
18023 @[ -f ./libiberty/Makefile ] || exit 0; \
18024 r=`${PWD_COMMAND}`; export r; \
18025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18026 $(HOST_EXPORTS) \
18027 for flag in $(EXTRA_HOST_FLAGS) ; do \
18028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18029 done; \
18030 echo "Doing TAGS in libiberty" ; \
18031 (cd $(HOST_SUBDIR)/libiberty && \
18032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18034 "RANLIB=$${RANLIB}" \
18035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18036 TAGS) \
18037 || exit 1
18039 @endif libiberty
18041 .PHONY: maybe-install-info-libiberty install-info-libiberty
18042 maybe-install-info-libiberty:
18043 @if libiberty
18044 maybe-install-info-libiberty: install-info-libiberty
18046 install-info-libiberty: \
18047 configure-libiberty \
18048 info-libiberty
18049 @[ -f ./libiberty/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing install-info in libiberty" ; \
18057 (cd $(HOST_SUBDIR)/libiberty && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062 install-info) \
18063 || exit 1
18065 @endif libiberty
18067 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18068 maybe-installcheck-libiberty:
18069 @if libiberty
18070 maybe-installcheck-libiberty: installcheck-libiberty
18072 installcheck-libiberty: \
18073 configure-libiberty
18074 @[ -f ./libiberty/Makefile ] || exit 0; \
18075 r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 $(HOST_EXPORTS) \
18078 for flag in $(EXTRA_HOST_FLAGS) ; do \
18079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18080 done; \
18081 echo "Doing installcheck in libiberty" ; \
18082 (cd $(HOST_SUBDIR)/libiberty && \
18083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18085 "RANLIB=$${RANLIB}" \
18086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18087 installcheck) \
18088 || exit 1
18090 @endif libiberty
18092 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18093 maybe-mostlyclean-libiberty:
18094 @if libiberty
18095 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18097 mostlyclean-libiberty:
18098 @[ -f ./libiberty/Makefile ] || exit 0; \
18099 r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 $(HOST_EXPORTS) \
18102 for flag in $(EXTRA_HOST_FLAGS) ; do \
18103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18104 done; \
18105 echo "Doing mostlyclean in libiberty" ; \
18106 (cd $(HOST_SUBDIR)/libiberty && \
18107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18109 "RANLIB=$${RANLIB}" \
18110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18111 mostlyclean) \
18112 || exit 1
18114 @endif libiberty
18116 .PHONY: maybe-clean-libiberty clean-libiberty
18117 maybe-clean-libiberty:
18118 @if libiberty
18119 maybe-clean-libiberty: clean-libiberty
18121 clean-libiberty:
18122 @[ -f ./libiberty/Makefile ] || exit 0; \
18123 r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 $(HOST_EXPORTS) \
18126 for flag in $(EXTRA_HOST_FLAGS) ; do \
18127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18128 done; \
18129 echo "Doing clean in libiberty" ; \
18130 (cd $(HOST_SUBDIR)/libiberty && \
18131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18133 "RANLIB=$${RANLIB}" \
18134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18135 clean) \
18136 || exit 1
18138 @endif libiberty
18140 .PHONY: maybe-distclean-libiberty distclean-libiberty
18141 maybe-distclean-libiberty:
18142 @if libiberty
18143 maybe-distclean-libiberty: distclean-libiberty
18145 distclean-libiberty:
18146 @[ -f ./libiberty/Makefile ] || exit 0; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149 $(HOST_EXPORTS) \
18150 for flag in $(EXTRA_HOST_FLAGS) ; do \
18151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18152 done; \
18153 echo "Doing distclean in libiberty" ; \
18154 (cd $(HOST_SUBDIR)/libiberty && \
18155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157 "RANLIB=$${RANLIB}" \
18158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18159 distclean) \
18160 || exit 1
18162 @endif libiberty
18164 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18165 maybe-maintainer-clean-libiberty:
18166 @if libiberty
18167 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18169 maintainer-clean-libiberty:
18170 @[ -f ./libiberty/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing maintainer-clean in libiberty" ; \
18178 (cd $(HOST_SUBDIR)/libiberty && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18183 maintainer-clean) \
18184 || exit 1
18186 @endif libiberty
18190 .PHONY: configure-libtool maybe-configure-libtool
18191 maybe-configure-libtool:
18192 @if libtool
18193 maybe-configure-libtool: configure-libtool
18194 configure-libtool:
18195 @: $(MAKE); $(unstage)
18196 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18198 r=`${PWD_COMMAND}`; export r; \
18199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18200 $(HOST_EXPORTS) \
18201 echo Configuring in $(HOST_SUBDIR)/libtool; \
18202 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18203 case $(srcdir) in \
18204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18205 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18207 esac; \
18208 srcdiroption="--srcdir=$${topdir}/libtool"; \
18209 libsrcdir="$$s/libtool"; \
18210 $(SHELL) $${libsrcdir}/configure \
18211 $(HOST_CONFIGARGS) $${srcdiroption} \
18212 || exit 1
18213 @endif libtool
18219 .PHONY: all-libtool maybe-all-libtool
18220 maybe-all-libtool:
18221 @if libtool
18222 TARGET-libtool=all
18223 maybe-all-libtool: all-libtool
18224 all-libtool: configure-libtool
18225 @: $(MAKE); $(unstage)
18226 @r=`${PWD_COMMAND}`; export r; \
18227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18228 $(HOST_EXPORTS) \
18229 (cd $(HOST_SUBDIR)/libtool && \
18230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18231 @endif libtool
18236 .PHONY: check-libtool maybe-check-libtool
18237 maybe-check-libtool:
18238 @if libtool
18239 maybe-check-libtool: check-libtool
18241 check-libtool:
18242 @: $(MAKE); $(unstage)
18243 @r=`${PWD_COMMAND}`; export r; \
18244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18245 $(HOST_EXPORTS) \
18246 (cd $(HOST_SUBDIR)/libtool && \
18247 $(MAKE) $(FLAGS_TO_PASS) check)
18249 @endif libtool
18251 .PHONY: install-libtool maybe-install-libtool
18252 maybe-install-libtool:
18253 @if libtool
18254 maybe-install-libtool: install-libtool
18256 install-libtool: installdirs
18257 @: $(MAKE); $(unstage)
18258 @r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(HOST_EXPORTS) \
18261 (cd $(HOST_SUBDIR)/libtool && \
18262 $(MAKE) $(FLAGS_TO_PASS) install)
18264 @endif libtool
18266 # Other targets (info, dvi, etc.)
18268 .PHONY: maybe-info-libtool info-libtool
18269 maybe-info-libtool:
18270 @if libtool
18271 maybe-info-libtool: info-libtool
18273 info-libtool: \
18274 configure-libtool
18275 @: $(MAKE); $(unstage)
18276 @[ -f ./libtool/Makefile ] || exit 0; \
18277 r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(HOST_EXPORTS) \
18280 for flag in $(EXTRA_HOST_FLAGS) ; do \
18281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18282 done; \
18283 echo "Doing info in libtool" ; \
18284 (cd $(HOST_SUBDIR)/libtool && \
18285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18287 "RANLIB=$${RANLIB}" \
18288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18289 info) \
18290 || exit 1
18292 @endif libtool
18294 .PHONY: maybe-dvi-libtool dvi-libtool
18295 maybe-dvi-libtool:
18296 @if libtool
18297 maybe-dvi-libtool: dvi-libtool
18299 dvi-libtool: \
18300 configure-libtool
18301 @: $(MAKE); $(unstage)
18302 @[ -f ./libtool/Makefile ] || exit 0; \
18303 r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 $(HOST_EXPORTS) \
18306 for flag in $(EXTRA_HOST_FLAGS) ; do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 done; \
18309 echo "Doing dvi in libtool" ; \
18310 (cd $(HOST_SUBDIR)/libtool && \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18315 dvi) \
18316 || exit 1
18318 @endif libtool
18320 .PHONY: maybe-html-libtool html-libtool
18321 maybe-html-libtool:
18322 @if libtool
18323 maybe-html-libtool: html-libtool
18325 html-libtool: \
18326 configure-libtool
18327 @: $(MAKE); $(unstage)
18328 @[ -f ./libtool/Makefile ] || exit 0; \
18329 r=`${PWD_COMMAND}`; export r; \
18330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 $(HOST_EXPORTS) \
18332 for flag in $(EXTRA_HOST_FLAGS) ; do \
18333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18334 done; \
18335 echo "Doing html in libtool" ; \
18336 (cd $(HOST_SUBDIR)/libtool && \
18337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18339 "RANLIB=$${RANLIB}" \
18340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18341 html) \
18342 || exit 1
18344 @endif libtool
18346 .PHONY: maybe-TAGS-libtool TAGS-libtool
18347 maybe-TAGS-libtool:
18348 @if libtool
18349 maybe-TAGS-libtool: TAGS-libtool
18351 TAGS-libtool: \
18352 configure-libtool
18353 @: $(MAKE); $(unstage)
18354 @[ -f ./libtool/Makefile ] || exit 0; \
18355 r=`${PWD_COMMAND}`; export r; \
18356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18357 $(HOST_EXPORTS) \
18358 for flag in $(EXTRA_HOST_FLAGS) ; do \
18359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18360 done; \
18361 echo "Doing TAGS in libtool" ; \
18362 (cd $(HOST_SUBDIR)/libtool && \
18363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18365 "RANLIB=$${RANLIB}" \
18366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18367 TAGS) \
18368 || exit 1
18370 @endif libtool
18372 .PHONY: maybe-install-info-libtool install-info-libtool
18373 maybe-install-info-libtool:
18374 @if libtool
18375 maybe-install-info-libtool: install-info-libtool
18377 install-info-libtool: \
18378 configure-libtool \
18379 info-libtool
18380 @: $(MAKE); $(unstage)
18381 @[ -f ./libtool/Makefile ] || exit 0; \
18382 r=`${PWD_COMMAND}`; export r; \
18383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18384 $(HOST_EXPORTS) \
18385 for flag in $(EXTRA_HOST_FLAGS) ; do \
18386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18387 done; \
18388 echo "Doing install-info in libtool" ; \
18389 (cd $(HOST_SUBDIR)/libtool && \
18390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18392 "RANLIB=$${RANLIB}" \
18393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18394 install-info) \
18395 || exit 1
18397 @endif libtool
18399 .PHONY: maybe-installcheck-libtool installcheck-libtool
18400 maybe-installcheck-libtool:
18401 @if libtool
18402 maybe-installcheck-libtool: installcheck-libtool
18404 installcheck-libtool: \
18405 configure-libtool
18406 @: $(MAKE); $(unstage)
18407 @[ -f ./libtool/Makefile ] || exit 0; \
18408 r=`${PWD_COMMAND}`; export r; \
18409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18410 $(HOST_EXPORTS) \
18411 for flag in $(EXTRA_HOST_FLAGS) ; do \
18412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18413 done; \
18414 echo "Doing installcheck in libtool" ; \
18415 (cd $(HOST_SUBDIR)/libtool && \
18416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18418 "RANLIB=$${RANLIB}" \
18419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18420 installcheck) \
18421 || exit 1
18423 @endif libtool
18425 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18426 maybe-mostlyclean-libtool:
18427 @if libtool
18428 maybe-mostlyclean-libtool: mostlyclean-libtool
18430 mostlyclean-libtool:
18431 @: $(MAKE); $(unstage)
18432 @[ -f ./libtool/Makefile ] || exit 0; \
18433 r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 $(HOST_EXPORTS) \
18436 for flag in $(EXTRA_HOST_FLAGS) ; do \
18437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18438 done; \
18439 echo "Doing mostlyclean in libtool" ; \
18440 (cd $(HOST_SUBDIR)/libtool && \
18441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18443 "RANLIB=$${RANLIB}" \
18444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18445 mostlyclean) \
18446 || exit 1
18448 @endif libtool
18450 .PHONY: maybe-clean-libtool clean-libtool
18451 maybe-clean-libtool:
18452 @if libtool
18453 maybe-clean-libtool: clean-libtool
18455 clean-libtool:
18456 @: $(MAKE); $(unstage)
18457 @[ -f ./libtool/Makefile ] || exit 0; \
18458 r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 $(HOST_EXPORTS) \
18461 for flag in $(EXTRA_HOST_FLAGS) ; do \
18462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18463 done; \
18464 echo "Doing clean in libtool" ; \
18465 (cd $(HOST_SUBDIR)/libtool && \
18466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18468 "RANLIB=$${RANLIB}" \
18469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18470 clean) \
18471 || exit 1
18473 @endif libtool
18475 .PHONY: maybe-distclean-libtool distclean-libtool
18476 maybe-distclean-libtool:
18477 @if libtool
18478 maybe-distclean-libtool: distclean-libtool
18480 distclean-libtool:
18481 @: $(MAKE); $(unstage)
18482 @[ -f ./libtool/Makefile ] || exit 0; \
18483 r=`${PWD_COMMAND}`; export r; \
18484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18485 $(HOST_EXPORTS) \
18486 for flag in $(EXTRA_HOST_FLAGS) ; do \
18487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18488 done; \
18489 echo "Doing distclean in libtool" ; \
18490 (cd $(HOST_SUBDIR)/libtool && \
18491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18493 "RANLIB=$${RANLIB}" \
18494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18495 distclean) \
18496 || exit 1
18498 @endif libtool
18500 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18501 maybe-maintainer-clean-libtool:
18502 @if libtool
18503 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18505 maintainer-clean-libtool:
18506 @: $(MAKE); $(unstage)
18507 @[ -f ./libtool/Makefile ] || exit 0; \
18508 r=`${PWD_COMMAND}`; export r; \
18509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 $(HOST_EXPORTS) \
18511 for flag in $(EXTRA_HOST_FLAGS) ; do \
18512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18513 done; \
18514 echo "Doing maintainer-clean in libtool" ; \
18515 (cd $(HOST_SUBDIR)/libtool && \
18516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18518 "RANLIB=$${RANLIB}" \
18519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18520 maintainer-clean) \
18521 || exit 1
18523 @endif libtool
18527 .PHONY: configure-m4 maybe-configure-m4
18528 maybe-configure-m4:
18529 @if m4
18530 maybe-configure-m4: configure-m4
18531 configure-m4:
18532 @: $(MAKE); $(unstage)
18533 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18535 r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 echo Configuring in $(HOST_SUBDIR)/m4; \
18539 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18540 case $(srcdir) in \
18541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18542 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18544 esac; \
18545 srcdiroption="--srcdir=$${topdir}/m4"; \
18546 libsrcdir="$$s/m4"; \
18547 $(SHELL) $${libsrcdir}/configure \
18548 $(HOST_CONFIGARGS) $${srcdiroption} \
18549 || exit 1
18550 @endif m4
18556 .PHONY: all-m4 maybe-all-m4
18557 maybe-all-m4:
18558 @if m4
18559 TARGET-m4=all
18560 maybe-all-m4: all-m4
18561 all-m4: configure-m4
18562 @: $(MAKE); $(unstage)
18563 @r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 $(HOST_EXPORTS) \
18566 (cd $(HOST_SUBDIR)/m4 && \
18567 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18568 @endif m4
18573 .PHONY: check-m4 maybe-check-m4
18574 maybe-check-m4:
18575 @if m4
18576 maybe-check-m4: check-m4
18578 check-m4:
18579 @: $(MAKE); $(unstage)
18580 @r=`${PWD_COMMAND}`; export r; \
18581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18582 $(HOST_EXPORTS) \
18583 (cd $(HOST_SUBDIR)/m4 && \
18584 $(MAKE) $(FLAGS_TO_PASS) check)
18586 @endif m4
18588 .PHONY: install-m4 maybe-install-m4
18589 maybe-install-m4:
18590 @if m4
18591 maybe-install-m4: install-m4
18593 install-m4: installdirs
18594 @: $(MAKE); $(unstage)
18595 @r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(HOST_EXPORTS) \
18598 (cd $(HOST_SUBDIR)/m4 && \
18599 $(MAKE) $(FLAGS_TO_PASS) install)
18601 @endif m4
18603 # Other targets (info, dvi, etc.)
18605 .PHONY: maybe-info-m4 info-m4
18606 maybe-info-m4:
18607 @if m4
18608 maybe-info-m4: info-m4
18610 info-m4: \
18611 configure-m4
18612 @: $(MAKE); $(unstage)
18613 @[ -f ./m4/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing info in m4" ; \
18621 (cd $(HOST_SUBDIR)/m4 && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18626 info) \
18627 || exit 1
18629 @endif m4
18631 .PHONY: maybe-dvi-m4 dvi-m4
18632 maybe-dvi-m4:
18633 @if m4
18634 maybe-dvi-m4: dvi-m4
18636 dvi-m4: \
18637 configure-m4
18638 @: $(MAKE); $(unstage)
18639 @[ -f ./m4/Makefile ] || exit 0; \
18640 r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18642 $(HOST_EXPORTS) \
18643 for flag in $(EXTRA_HOST_FLAGS) ; do \
18644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18645 done; \
18646 echo "Doing dvi in m4" ; \
18647 (cd $(HOST_SUBDIR)/m4 && \
18648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18650 "RANLIB=$${RANLIB}" \
18651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18652 dvi) \
18653 || exit 1
18655 @endif m4
18657 .PHONY: maybe-html-m4 html-m4
18658 maybe-html-m4:
18659 @if m4
18660 maybe-html-m4: html-m4
18662 html-m4: \
18663 configure-m4
18664 @: $(MAKE); $(unstage)
18665 @[ -f ./m4/Makefile ] || exit 0; \
18666 r=`${PWD_COMMAND}`; export r; \
18667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 $(HOST_EXPORTS) \
18669 for flag in $(EXTRA_HOST_FLAGS) ; do \
18670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18671 done; \
18672 echo "Doing html in m4" ; \
18673 (cd $(HOST_SUBDIR)/m4 && \
18674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18676 "RANLIB=$${RANLIB}" \
18677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18678 html) \
18679 || exit 1
18681 @endif m4
18683 .PHONY: maybe-TAGS-m4 TAGS-m4
18684 maybe-TAGS-m4:
18685 @if m4
18686 maybe-TAGS-m4: TAGS-m4
18688 TAGS-m4: \
18689 configure-m4
18690 @: $(MAKE); $(unstage)
18691 @[ -f ./m4/Makefile ] || exit 0; \
18692 r=`${PWD_COMMAND}`; export r; \
18693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 $(HOST_EXPORTS) \
18695 for flag in $(EXTRA_HOST_FLAGS) ; do \
18696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 done; \
18698 echo "Doing TAGS in m4" ; \
18699 (cd $(HOST_SUBDIR)/m4 && \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18702 "RANLIB=$${RANLIB}" \
18703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18704 TAGS) \
18705 || exit 1
18707 @endif m4
18709 .PHONY: maybe-install-info-m4 install-info-m4
18710 maybe-install-info-m4:
18711 @if m4
18712 maybe-install-info-m4: install-info-m4
18714 install-info-m4: \
18715 configure-m4 \
18716 info-m4
18717 @: $(MAKE); $(unstage)
18718 @[ -f ./m4/Makefile ] || exit 0; \
18719 r=`${PWD_COMMAND}`; export r; \
18720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18721 $(HOST_EXPORTS) \
18722 for flag in $(EXTRA_HOST_FLAGS) ; do \
18723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18724 done; \
18725 echo "Doing install-info in m4" ; \
18726 (cd $(HOST_SUBDIR)/m4 && \
18727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18729 "RANLIB=$${RANLIB}" \
18730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18731 install-info) \
18732 || exit 1
18734 @endif m4
18736 .PHONY: maybe-installcheck-m4 installcheck-m4
18737 maybe-installcheck-m4:
18738 @if m4
18739 maybe-installcheck-m4: installcheck-m4
18741 installcheck-m4: \
18742 configure-m4
18743 @: $(MAKE); $(unstage)
18744 @[ -f ./m4/Makefile ] || exit 0; \
18745 r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 $(HOST_EXPORTS) \
18748 for flag in $(EXTRA_HOST_FLAGS) ; do \
18749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18750 done; \
18751 echo "Doing installcheck in m4" ; \
18752 (cd $(HOST_SUBDIR)/m4 && \
18753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18755 "RANLIB=$${RANLIB}" \
18756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18757 installcheck) \
18758 || exit 1
18760 @endif m4
18762 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18763 maybe-mostlyclean-m4:
18764 @if m4
18765 maybe-mostlyclean-m4: mostlyclean-m4
18767 mostlyclean-m4:
18768 @: $(MAKE); $(unstage)
18769 @[ -f ./m4/Makefile ] || exit 0; \
18770 r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 $(HOST_EXPORTS) \
18773 for flag in $(EXTRA_HOST_FLAGS) ; do \
18774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18775 done; \
18776 echo "Doing mostlyclean in m4" ; \
18777 (cd $(HOST_SUBDIR)/m4 && \
18778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18780 "RANLIB=$${RANLIB}" \
18781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18782 mostlyclean) \
18783 || exit 1
18785 @endif m4
18787 .PHONY: maybe-clean-m4 clean-m4
18788 maybe-clean-m4:
18789 @if m4
18790 maybe-clean-m4: clean-m4
18792 clean-m4:
18793 @: $(MAKE); $(unstage)
18794 @[ -f ./m4/Makefile ] || exit 0; \
18795 r=`${PWD_COMMAND}`; export r; \
18796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 $(HOST_EXPORTS) \
18798 for flag in $(EXTRA_HOST_FLAGS) ; do \
18799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18800 done; \
18801 echo "Doing clean in m4" ; \
18802 (cd $(HOST_SUBDIR)/m4 && \
18803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18805 "RANLIB=$${RANLIB}" \
18806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18807 clean) \
18808 || exit 1
18810 @endif m4
18812 .PHONY: maybe-distclean-m4 distclean-m4
18813 maybe-distclean-m4:
18814 @if m4
18815 maybe-distclean-m4: distclean-m4
18817 distclean-m4:
18818 @: $(MAKE); $(unstage)
18819 @[ -f ./m4/Makefile ] || exit 0; \
18820 r=`${PWD_COMMAND}`; export r; \
18821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18822 $(HOST_EXPORTS) \
18823 for flag in $(EXTRA_HOST_FLAGS) ; do \
18824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18825 done; \
18826 echo "Doing distclean in m4" ; \
18827 (cd $(HOST_SUBDIR)/m4 && \
18828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18830 "RANLIB=$${RANLIB}" \
18831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18832 distclean) \
18833 || exit 1
18835 @endif m4
18837 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18838 maybe-maintainer-clean-m4:
18839 @if m4
18840 maybe-maintainer-clean-m4: maintainer-clean-m4
18842 maintainer-clean-m4:
18843 @: $(MAKE); $(unstage)
18844 @[ -f ./m4/Makefile ] || exit 0; \
18845 r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847 $(HOST_EXPORTS) \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18850 done; \
18851 echo "Doing maintainer-clean in m4" ; \
18852 (cd $(HOST_SUBDIR)/m4 && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18857 maintainer-clean) \
18858 || exit 1
18860 @endif m4
18864 .PHONY: configure-make maybe-configure-make
18865 maybe-configure-make:
18866 @if make
18867 maybe-configure-make: configure-make
18868 configure-make:
18869 @: $(MAKE); $(unstage)
18870 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18872 r=`${PWD_COMMAND}`; export r; \
18873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18874 $(HOST_EXPORTS) \
18875 echo Configuring in $(HOST_SUBDIR)/make; \
18876 cd "$(HOST_SUBDIR)/make" || exit 1; \
18877 case $(srcdir) in \
18878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18879 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18881 esac; \
18882 srcdiroption="--srcdir=$${topdir}/make"; \
18883 libsrcdir="$$s/make"; \
18884 $(SHELL) $${libsrcdir}/configure \
18885 $(HOST_CONFIGARGS) $${srcdiroption} \
18886 || exit 1
18887 @endif make
18893 .PHONY: all-make maybe-all-make
18894 maybe-all-make:
18895 @if make
18896 TARGET-make=all
18897 maybe-all-make: all-make
18898 all-make: configure-make
18899 @: $(MAKE); $(unstage)
18900 @r=`${PWD_COMMAND}`; export r; \
18901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18902 $(HOST_EXPORTS) \
18903 (cd $(HOST_SUBDIR)/make && \
18904 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18905 @endif make
18910 .PHONY: check-make maybe-check-make
18911 maybe-check-make:
18912 @if make
18913 maybe-check-make: check-make
18915 check-make:
18916 @: $(MAKE); $(unstage)
18917 @r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 (cd $(HOST_SUBDIR)/make && \
18921 $(MAKE) $(FLAGS_TO_PASS) check)
18923 @endif make
18925 .PHONY: install-make maybe-install-make
18926 maybe-install-make:
18927 @if make
18928 maybe-install-make: install-make
18930 install-make: installdirs
18931 @: $(MAKE); $(unstage)
18932 @r=`${PWD_COMMAND}`; export r; \
18933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18934 $(HOST_EXPORTS) \
18935 (cd $(HOST_SUBDIR)/make && \
18936 $(MAKE) $(FLAGS_TO_PASS) install)
18938 @endif make
18940 # Other targets (info, dvi, etc.)
18942 .PHONY: maybe-info-make info-make
18943 maybe-info-make:
18944 @if make
18945 maybe-info-make: info-make
18947 info-make: \
18948 configure-make
18949 @: $(MAKE); $(unstage)
18950 @[ -f ./make/Makefile ] || exit 0; \
18951 r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing info in make" ; \
18958 (cd $(HOST_SUBDIR)/make && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 info) \
18964 || exit 1
18966 @endif make
18968 .PHONY: maybe-dvi-make dvi-make
18969 maybe-dvi-make:
18970 @if make
18971 maybe-dvi-make: dvi-make
18973 dvi-make: \
18974 configure-make
18975 @: $(MAKE); $(unstage)
18976 @[ -f ./make/Makefile ] || exit 0; \
18977 r=`${PWD_COMMAND}`; export r; \
18978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18979 $(HOST_EXPORTS) \
18980 for flag in $(EXTRA_HOST_FLAGS) ; do \
18981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18982 done; \
18983 echo "Doing dvi in make" ; \
18984 (cd $(HOST_SUBDIR)/make && \
18985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18987 "RANLIB=$${RANLIB}" \
18988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18989 dvi) \
18990 || exit 1
18992 @endif make
18994 .PHONY: maybe-html-make html-make
18995 maybe-html-make:
18996 @if make
18997 maybe-html-make: html-make
18999 html-make: \
19000 configure-make
19001 @: $(MAKE); $(unstage)
19002 @[ -f ./make/Makefile ] || exit 0; \
19003 r=`${PWD_COMMAND}`; export r; \
19004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 $(HOST_EXPORTS) \
19006 for flag in $(EXTRA_HOST_FLAGS) ; do \
19007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19008 done; \
19009 echo "Doing html in make" ; \
19010 (cd $(HOST_SUBDIR)/make && \
19011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19013 "RANLIB=$${RANLIB}" \
19014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19015 html) \
19016 || exit 1
19018 @endif make
19020 .PHONY: maybe-TAGS-make TAGS-make
19021 maybe-TAGS-make:
19022 @if make
19023 maybe-TAGS-make: TAGS-make
19025 TAGS-make: \
19026 configure-make
19027 @: $(MAKE); $(unstage)
19028 @[ -f ./make/Makefile ] || exit 0; \
19029 r=`${PWD_COMMAND}`; export r; \
19030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031 $(HOST_EXPORTS) \
19032 for flag in $(EXTRA_HOST_FLAGS) ; do \
19033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 done; \
19035 echo "Doing TAGS in make" ; \
19036 (cd $(HOST_SUBDIR)/make && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19041 TAGS) \
19042 || exit 1
19044 @endif make
19046 .PHONY: maybe-install-info-make install-info-make
19047 maybe-install-info-make:
19048 @if make
19049 maybe-install-info-make: install-info-make
19051 install-info-make: \
19052 configure-make \
19053 info-make
19054 @: $(MAKE); $(unstage)
19055 @[ -f ./make/Makefile ] || exit 0; \
19056 r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 $(HOST_EXPORTS) \
19059 for flag in $(EXTRA_HOST_FLAGS) ; do \
19060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19061 done; \
19062 echo "Doing install-info in make" ; \
19063 (cd $(HOST_SUBDIR)/make && \
19064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19066 "RANLIB=$${RANLIB}" \
19067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19068 install-info) \
19069 || exit 1
19071 @endif make
19073 .PHONY: maybe-installcheck-make installcheck-make
19074 maybe-installcheck-make:
19075 @if make
19076 maybe-installcheck-make: installcheck-make
19078 installcheck-make: \
19079 configure-make
19080 @: $(MAKE); $(unstage)
19081 @[ -f ./make/Makefile ] || exit 0; \
19082 r=`${PWD_COMMAND}`; export r; \
19083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19084 $(HOST_EXPORTS) \
19085 for flag in $(EXTRA_HOST_FLAGS) ; do \
19086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19087 done; \
19088 echo "Doing installcheck in make" ; \
19089 (cd $(HOST_SUBDIR)/make && \
19090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19092 "RANLIB=$${RANLIB}" \
19093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19094 installcheck) \
19095 || exit 1
19097 @endif make
19099 .PHONY: maybe-mostlyclean-make mostlyclean-make
19100 maybe-mostlyclean-make:
19101 @if make
19102 maybe-mostlyclean-make: mostlyclean-make
19104 mostlyclean-make:
19105 @: $(MAKE); $(unstage)
19106 @[ -f ./make/Makefile ] || exit 0; \
19107 r=`${PWD_COMMAND}`; export r; \
19108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19109 $(HOST_EXPORTS) \
19110 for flag in $(EXTRA_HOST_FLAGS) ; do \
19111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19112 done; \
19113 echo "Doing mostlyclean in make" ; \
19114 (cd $(HOST_SUBDIR)/make && \
19115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19117 "RANLIB=$${RANLIB}" \
19118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19119 mostlyclean) \
19120 || exit 1
19122 @endif make
19124 .PHONY: maybe-clean-make clean-make
19125 maybe-clean-make:
19126 @if make
19127 maybe-clean-make: clean-make
19129 clean-make:
19130 @: $(MAKE); $(unstage)
19131 @[ -f ./make/Makefile ] || exit 0; \
19132 r=`${PWD_COMMAND}`; export r; \
19133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19134 $(HOST_EXPORTS) \
19135 for flag in $(EXTRA_HOST_FLAGS) ; do \
19136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19137 done; \
19138 echo "Doing clean in make" ; \
19139 (cd $(HOST_SUBDIR)/make && \
19140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142 "RANLIB=$${RANLIB}" \
19143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19144 clean) \
19145 || exit 1
19147 @endif make
19149 .PHONY: maybe-distclean-make distclean-make
19150 maybe-distclean-make:
19151 @if make
19152 maybe-distclean-make: distclean-make
19154 distclean-make:
19155 @: $(MAKE); $(unstage)
19156 @[ -f ./make/Makefile ] || exit 0; \
19157 r=`${PWD_COMMAND}`; export r; \
19158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159 $(HOST_EXPORTS) \
19160 for flag in $(EXTRA_HOST_FLAGS) ; do \
19161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19162 done; \
19163 echo "Doing distclean in make" ; \
19164 (cd $(HOST_SUBDIR)/make && \
19165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19167 "RANLIB=$${RANLIB}" \
19168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19169 distclean) \
19170 || exit 1
19172 @endif make
19174 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19175 maybe-maintainer-clean-make:
19176 @if make
19177 maybe-maintainer-clean-make: maintainer-clean-make
19179 maintainer-clean-make:
19180 @: $(MAKE); $(unstage)
19181 @[ -f ./make/Makefile ] || exit 0; \
19182 r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 $(HOST_EXPORTS) \
19185 for flag in $(EXTRA_HOST_FLAGS) ; do \
19186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19187 done; \
19188 echo "Doing maintainer-clean in make" ; \
19189 (cd $(HOST_SUBDIR)/make && \
19190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19192 "RANLIB=$${RANLIB}" \
19193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19194 maintainer-clean) \
19195 || exit 1
19197 @endif make
19201 .PHONY: configure-mmalloc maybe-configure-mmalloc
19202 maybe-configure-mmalloc:
19203 @if mmalloc
19204 maybe-configure-mmalloc: configure-mmalloc
19205 configure-mmalloc:
19206 @: $(MAKE); $(unstage)
19207 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19209 r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211 $(HOST_EXPORTS) \
19212 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19213 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19214 case $(srcdir) in \
19215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19216 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19218 esac; \
19219 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19220 libsrcdir="$$s/mmalloc"; \
19221 $(SHELL) $${libsrcdir}/configure \
19222 $(HOST_CONFIGARGS) $${srcdiroption} \
19223 || exit 1
19224 @endif mmalloc
19230 .PHONY: all-mmalloc maybe-all-mmalloc
19231 maybe-all-mmalloc:
19232 @if mmalloc
19233 TARGET-mmalloc=all
19234 maybe-all-mmalloc: all-mmalloc
19235 all-mmalloc: configure-mmalloc
19236 @: $(MAKE); $(unstage)
19237 @r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 $(HOST_EXPORTS) \
19240 (cd $(HOST_SUBDIR)/mmalloc && \
19241 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19242 @endif mmalloc
19247 .PHONY: check-mmalloc maybe-check-mmalloc
19248 maybe-check-mmalloc:
19249 @if mmalloc
19250 maybe-check-mmalloc: check-mmalloc
19252 check-mmalloc:
19254 @endif mmalloc
19256 .PHONY: install-mmalloc maybe-install-mmalloc
19257 maybe-install-mmalloc:
19258 @if mmalloc
19259 maybe-install-mmalloc: install-mmalloc
19261 install-mmalloc: installdirs
19262 @: $(MAKE); $(unstage)
19263 @r=`${PWD_COMMAND}`; export r; \
19264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19265 $(HOST_EXPORTS) \
19266 (cd $(HOST_SUBDIR)/mmalloc && \
19267 $(MAKE) $(FLAGS_TO_PASS) install)
19269 @endif mmalloc
19271 # Other targets (info, dvi, etc.)
19273 .PHONY: maybe-info-mmalloc info-mmalloc
19274 maybe-info-mmalloc:
19275 @if mmalloc
19276 maybe-info-mmalloc: info-mmalloc
19278 info-mmalloc: \
19279 configure-mmalloc
19280 @: $(MAKE); $(unstage)
19281 @[ -f ./mmalloc/Makefile ] || exit 0; \
19282 r=`${PWD_COMMAND}`; export r; \
19283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 $(HOST_EXPORTS) \
19285 for flag in $(EXTRA_HOST_FLAGS) ; do \
19286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19287 done; \
19288 echo "Doing info in mmalloc" ; \
19289 (cd $(HOST_SUBDIR)/mmalloc && \
19290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19292 "RANLIB=$${RANLIB}" \
19293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19294 info) \
19295 || exit 1
19297 @endif mmalloc
19299 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19300 maybe-dvi-mmalloc:
19301 @if mmalloc
19302 maybe-dvi-mmalloc: dvi-mmalloc
19304 dvi-mmalloc: \
19305 configure-mmalloc
19306 @: $(MAKE); $(unstage)
19307 @[ -f ./mmalloc/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing dvi in mmalloc" ; \
19315 (cd $(HOST_SUBDIR)/mmalloc && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19320 dvi) \
19321 || exit 1
19323 @endif mmalloc
19325 .PHONY: maybe-html-mmalloc html-mmalloc
19326 maybe-html-mmalloc:
19327 @if mmalloc
19328 maybe-html-mmalloc: html-mmalloc
19330 html-mmalloc: \
19331 configure-mmalloc
19332 @: $(MAKE); $(unstage)
19333 @[ -f ./mmalloc/Makefile ] || exit 0; \
19334 r=`${PWD_COMMAND}`; export r; \
19335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19336 $(HOST_EXPORTS) \
19337 for flag in $(EXTRA_HOST_FLAGS) ; do \
19338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19339 done; \
19340 echo "Doing html in mmalloc" ; \
19341 (cd $(HOST_SUBDIR)/mmalloc && \
19342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19344 "RANLIB=$${RANLIB}" \
19345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 html) \
19347 || exit 1
19349 @endif mmalloc
19351 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19352 maybe-TAGS-mmalloc:
19353 @if mmalloc
19354 maybe-TAGS-mmalloc: TAGS-mmalloc
19356 TAGS-mmalloc: \
19357 configure-mmalloc
19358 @: $(MAKE); $(unstage)
19359 @[ -f ./mmalloc/Makefile ] || exit 0; \
19360 r=`${PWD_COMMAND}`; export r; \
19361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 $(HOST_EXPORTS) \
19363 for flag in $(EXTRA_HOST_FLAGS) ; do \
19364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19365 done; \
19366 echo "Doing TAGS in mmalloc" ; \
19367 (cd $(HOST_SUBDIR)/mmalloc && \
19368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19370 "RANLIB=$${RANLIB}" \
19371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19372 TAGS) \
19373 || exit 1
19375 @endif mmalloc
19377 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19378 maybe-install-info-mmalloc:
19379 @if mmalloc
19380 maybe-install-info-mmalloc: install-info-mmalloc
19382 install-info-mmalloc: \
19383 configure-mmalloc \
19384 info-mmalloc
19385 @: $(MAKE); $(unstage)
19386 @[ -f ./mmalloc/Makefile ] || exit 0; \
19387 r=`${PWD_COMMAND}`; export r; \
19388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19389 $(HOST_EXPORTS) \
19390 for flag in $(EXTRA_HOST_FLAGS) ; do \
19391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19392 done; \
19393 echo "Doing install-info in mmalloc" ; \
19394 (cd $(HOST_SUBDIR)/mmalloc && \
19395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19397 "RANLIB=$${RANLIB}" \
19398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19399 install-info) \
19400 || exit 1
19402 @endif mmalloc
19404 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19405 maybe-installcheck-mmalloc:
19406 @if mmalloc
19407 maybe-installcheck-mmalloc: installcheck-mmalloc
19409 installcheck-mmalloc: \
19410 configure-mmalloc
19411 @: $(MAKE); $(unstage)
19412 @[ -f ./mmalloc/Makefile ] || exit 0; \
19413 r=`${PWD_COMMAND}`; export r; \
19414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19415 $(HOST_EXPORTS) \
19416 for flag in $(EXTRA_HOST_FLAGS) ; do \
19417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19418 done; \
19419 echo "Doing installcheck in mmalloc" ; \
19420 (cd $(HOST_SUBDIR)/mmalloc && \
19421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19423 "RANLIB=$${RANLIB}" \
19424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19425 installcheck) \
19426 || exit 1
19428 @endif mmalloc
19430 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19431 maybe-mostlyclean-mmalloc:
19432 @if mmalloc
19433 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19435 mostlyclean-mmalloc:
19436 @: $(MAKE); $(unstage)
19437 @[ -f ./mmalloc/Makefile ] || exit 0; \
19438 r=`${PWD_COMMAND}`; export r; \
19439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440 $(HOST_EXPORTS) \
19441 for flag in $(EXTRA_HOST_FLAGS) ; do \
19442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19443 done; \
19444 echo "Doing mostlyclean in mmalloc" ; \
19445 (cd $(HOST_SUBDIR)/mmalloc && \
19446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19448 "RANLIB=$${RANLIB}" \
19449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19450 mostlyclean) \
19451 || exit 1
19453 @endif mmalloc
19455 .PHONY: maybe-clean-mmalloc clean-mmalloc
19456 maybe-clean-mmalloc:
19457 @if mmalloc
19458 maybe-clean-mmalloc: clean-mmalloc
19460 clean-mmalloc:
19461 @: $(MAKE); $(unstage)
19462 @[ -f ./mmalloc/Makefile ] || exit 0; \
19463 r=`${PWD_COMMAND}`; export r; \
19464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19465 $(HOST_EXPORTS) \
19466 for flag in $(EXTRA_HOST_FLAGS) ; do \
19467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19468 done; \
19469 echo "Doing clean in mmalloc" ; \
19470 (cd $(HOST_SUBDIR)/mmalloc && \
19471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19473 "RANLIB=$${RANLIB}" \
19474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19475 clean) \
19476 || exit 1
19478 @endif mmalloc
19480 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19481 maybe-distclean-mmalloc:
19482 @if mmalloc
19483 maybe-distclean-mmalloc: distclean-mmalloc
19485 distclean-mmalloc:
19486 @: $(MAKE); $(unstage)
19487 @[ -f ./mmalloc/Makefile ] || exit 0; \
19488 r=`${PWD_COMMAND}`; export r; \
19489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19490 $(HOST_EXPORTS) \
19491 for flag in $(EXTRA_HOST_FLAGS) ; do \
19492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19493 done; \
19494 echo "Doing distclean in mmalloc" ; \
19495 (cd $(HOST_SUBDIR)/mmalloc && \
19496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19498 "RANLIB=$${RANLIB}" \
19499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19500 distclean) \
19501 || exit 1
19503 @endif mmalloc
19505 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19506 maybe-maintainer-clean-mmalloc:
19507 @if mmalloc
19508 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19510 maintainer-clean-mmalloc:
19511 @: $(MAKE); $(unstage)
19512 @[ -f ./mmalloc/Makefile ] || exit 0; \
19513 r=`${PWD_COMMAND}`; export r; \
19514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19515 $(HOST_EXPORTS) \
19516 for flag in $(EXTRA_HOST_FLAGS) ; do \
19517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19518 done; \
19519 echo "Doing maintainer-clean in mmalloc" ; \
19520 (cd $(HOST_SUBDIR)/mmalloc && \
19521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19523 "RANLIB=$${RANLIB}" \
19524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19525 maintainer-clean) \
19526 || exit 1
19528 @endif mmalloc
19532 .PHONY: configure-patch maybe-configure-patch
19533 maybe-configure-patch:
19534 @if patch
19535 maybe-configure-patch: configure-patch
19536 configure-patch:
19537 @: $(MAKE); $(unstage)
19538 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19540 r=`${PWD_COMMAND}`; export r; \
19541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19542 $(HOST_EXPORTS) \
19543 echo Configuring in $(HOST_SUBDIR)/patch; \
19544 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19545 case $(srcdir) in \
19546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19547 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19549 esac; \
19550 srcdiroption="--srcdir=$${topdir}/patch"; \
19551 libsrcdir="$$s/patch"; \
19552 $(SHELL) $${libsrcdir}/configure \
19553 $(HOST_CONFIGARGS) $${srcdiroption} \
19554 || exit 1
19555 @endif patch
19561 .PHONY: all-patch maybe-all-patch
19562 maybe-all-patch:
19563 @if patch
19564 TARGET-patch=all
19565 maybe-all-patch: all-patch
19566 all-patch: configure-patch
19567 @: $(MAKE); $(unstage)
19568 @r=`${PWD_COMMAND}`; export r; \
19569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19570 $(HOST_EXPORTS) \
19571 (cd $(HOST_SUBDIR)/patch && \
19572 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19573 @endif patch
19578 .PHONY: check-patch maybe-check-patch
19579 maybe-check-patch:
19580 @if patch
19581 maybe-check-patch: check-patch
19583 check-patch:
19584 @: $(MAKE); $(unstage)
19585 @r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(HOST_EXPORTS) \
19588 (cd $(HOST_SUBDIR)/patch && \
19589 $(MAKE) $(FLAGS_TO_PASS) check)
19591 @endif patch
19593 .PHONY: install-patch maybe-install-patch
19594 maybe-install-patch:
19595 @if patch
19596 maybe-install-patch: install-patch
19598 install-patch: installdirs
19599 @: $(MAKE); $(unstage)
19600 @r=`${PWD_COMMAND}`; export r; \
19601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19602 $(HOST_EXPORTS) \
19603 (cd $(HOST_SUBDIR)/patch && \
19604 $(MAKE) $(FLAGS_TO_PASS) install)
19606 @endif patch
19608 # Other targets (info, dvi, etc.)
19610 .PHONY: maybe-info-patch info-patch
19611 maybe-info-patch:
19612 @if patch
19613 maybe-info-patch: info-patch
19615 info-patch: \
19616 configure-patch
19617 @: $(MAKE); $(unstage)
19618 @[ -f ./patch/Makefile ] || exit 0; \
19619 r=`${PWD_COMMAND}`; export r; \
19620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621 $(HOST_EXPORTS) \
19622 for flag in $(EXTRA_HOST_FLAGS) ; do \
19623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19624 done; \
19625 echo "Doing info in patch" ; \
19626 (cd $(HOST_SUBDIR)/patch && \
19627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19629 "RANLIB=$${RANLIB}" \
19630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19631 info) \
19632 || exit 1
19634 @endif patch
19636 .PHONY: maybe-dvi-patch dvi-patch
19637 maybe-dvi-patch:
19638 @if patch
19639 maybe-dvi-patch: dvi-patch
19641 dvi-patch: \
19642 configure-patch
19643 @: $(MAKE); $(unstage)
19644 @[ -f ./patch/Makefile ] || exit 0; \
19645 r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(HOST_EXPORTS) \
19648 for flag in $(EXTRA_HOST_FLAGS) ; do \
19649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19650 done; \
19651 echo "Doing dvi in patch" ; \
19652 (cd $(HOST_SUBDIR)/patch && \
19653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19655 "RANLIB=$${RANLIB}" \
19656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19657 dvi) \
19658 || exit 1
19660 @endif patch
19662 .PHONY: maybe-html-patch html-patch
19663 maybe-html-patch:
19664 @if patch
19665 maybe-html-patch: html-patch
19667 html-patch: \
19668 configure-patch
19669 @: $(MAKE); $(unstage)
19670 @[ -f ./patch/Makefile ] || exit 0; \
19671 r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 $(HOST_EXPORTS) \
19674 for flag in $(EXTRA_HOST_FLAGS) ; do \
19675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19676 done; \
19677 echo "Doing html in patch" ; \
19678 (cd $(HOST_SUBDIR)/patch && \
19679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19681 "RANLIB=$${RANLIB}" \
19682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19683 html) \
19684 || exit 1
19686 @endif patch
19688 .PHONY: maybe-TAGS-patch TAGS-patch
19689 maybe-TAGS-patch:
19690 @if patch
19691 maybe-TAGS-patch: TAGS-patch
19693 TAGS-patch: \
19694 configure-patch
19695 @: $(MAKE); $(unstage)
19696 @[ -f ./patch/Makefile ] || exit 0; \
19697 r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 $(HOST_EXPORTS) \
19700 for flag in $(EXTRA_HOST_FLAGS) ; do \
19701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19702 done; \
19703 echo "Doing TAGS in patch" ; \
19704 (cd $(HOST_SUBDIR)/patch && \
19705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707 "RANLIB=$${RANLIB}" \
19708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19709 TAGS) \
19710 || exit 1
19712 @endif patch
19714 .PHONY: maybe-install-info-patch install-info-patch
19715 maybe-install-info-patch:
19716 @if patch
19717 maybe-install-info-patch: install-info-patch
19719 install-info-patch: \
19720 configure-patch \
19721 info-patch
19722 @: $(MAKE); $(unstage)
19723 @[ -f ./patch/Makefile ] || exit 0; \
19724 r=`${PWD_COMMAND}`; export r; \
19725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19726 $(HOST_EXPORTS) \
19727 for flag in $(EXTRA_HOST_FLAGS) ; do \
19728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19729 done; \
19730 echo "Doing install-info in patch" ; \
19731 (cd $(HOST_SUBDIR)/patch && \
19732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19734 "RANLIB=$${RANLIB}" \
19735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19736 install-info) \
19737 || exit 1
19739 @endif patch
19741 .PHONY: maybe-installcheck-patch installcheck-patch
19742 maybe-installcheck-patch:
19743 @if patch
19744 maybe-installcheck-patch: installcheck-patch
19746 installcheck-patch: \
19747 configure-patch
19748 @: $(MAKE); $(unstage)
19749 @[ -f ./patch/Makefile ] || exit 0; \
19750 r=`${PWD_COMMAND}`; export r; \
19751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19752 $(HOST_EXPORTS) \
19753 for flag in $(EXTRA_HOST_FLAGS) ; do \
19754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19755 done; \
19756 echo "Doing installcheck in patch" ; \
19757 (cd $(HOST_SUBDIR)/patch && \
19758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19760 "RANLIB=$${RANLIB}" \
19761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19762 installcheck) \
19763 || exit 1
19765 @endif patch
19767 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19768 maybe-mostlyclean-patch:
19769 @if patch
19770 maybe-mostlyclean-patch: mostlyclean-patch
19772 mostlyclean-patch:
19773 @: $(MAKE); $(unstage)
19774 @[ -f ./patch/Makefile ] || exit 0; \
19775 r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 $(HOST_EXPORTS) \
19778 for flag in $(EXTRA_HOST_FLAGS) ; do \
19779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19780 done; \
19781 echo "Doing mostlyclean in patch" ; \
19782 (cd $(HOST_SUBDIR)/patch && \
19783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19785 "RANLIB=$${RANLIB}" \
19786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19787 mostlyclean) \
19788 || exit 1
19790 @endif patch
19792 .PHONY: maybe-clean-patch clean-patch
19793 maybe-clean-patch:
19794 @if patch
19795 maybe-clean-patch: clean-patch
19797 clean-patch:
19798 @: $(MAKE); $(unstage)
19799 @[ -f ./patch/Makefile ] || exit 0; \
19800 r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(HOST_EXPORTS) \
19803 for flag in $(EXTRA_HOST_FLAGS) ; do \
19804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19805 done; \
19806 echo "Doing clean in patch" ; \
19807 (cd $(HOST_SUBDIR)/patch && \
19808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19810 "RANLIB=$${RANLIB}" \
19811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19812 clean) \
19813 || exit 1
19815 @endif patch
19817 .PHONY: maybe-distclean-patch distclean-patch
19818 maybe-distclean-patch:
19819 @if patch
19820 maybe-distclean-patch: distclean-patch
19822 distclean-patch:
19823 @: $(MAKE); $(unstage)
19824 @[ -f ./patch/Makefile ] || exit 0; \
19825 r=`${PWD_COMMAND}`; export r; \
19826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19827 $(HOST_EXPORTS) \
19828 for flag in $(EXTRA_HOST_FLAGS) ; do \
19829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19830 done; \
19831 echo "Doing distclean in patch" ; \
19832 (cd $(HOST_SUBDIR)/patch && \
19833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19835 "RANLIB=$${RANLIB}" \
19836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19837 distclean) \
19838 || exit 1
19840 @endif patch
19842 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19843 maybe-maintainer-clean-patch:
19844 @if patch
19845 maybe-maintainer-clean-patch: maintainer-clean-patch
19847 maintainer-clean-patch:
19848 @: $(MAKE); $(unstage)
19849 @[ -f ./patch/Makefile ] || exit 0; \
19850 r=`${PWD_COMMAND}`; export r; \
19851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19852 $(HOST_EXPORTS) \
19853 for flag in $(EXTRA_HOST_FLAGS) ; do \
19854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19855 done; \
19856 echo "Doing maintainer-clean in patch" ; \
19857 (cd $(HOST_SUBDIR)/patch && \
19858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19860 "RANLIB=$${RANLIB}" \
19861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19862 maintainer-clean) \
19863 || exit 1
19865 @endif patch
19869 .PHONY: configure-perl maybe-configure-perl
19870 maybe-configure-perl:
19871 @if perl
19872 maybe-configure-perl: configure-perl
19873 configure-perl:
19874 @: $(MAKE); $(unstage)
19875 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 $(HOST_EXPORTS) \
19880 echo Configuring in $(HOST_SUBDIR)/perl; \
19881 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19882 case $(srcdir) in \
19883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19884 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19886 esac; \
19887 srcdiroption="--srcdir=$${topdir}/perl"; \
19888 libsrcdir="$$s/perl"; \
19889 $(SHELL) $${libsrcdir}/configure \
19890 $(HOST_CONFIGARGS) $${srcdiroption} \
19891 || exit 1
19892 @endif perl
19898 .PHONY: all-perl maybe-all-perl
19899 maybe-all-perl:
19900 @if perl
19901 TARGET-perl=all
19902 maybe-all-perl: all-perl
19903 all-perl: configure-perl
19904 @: $(MAKE); $(unstage)
19905 @r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 $(HOST_EXPORTS) \
19908 (cd $(HOST_SUBDIR)/perl && \
19909 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19910 @endif perl
19915 .PHONY: check-perl maybe-check-perl
19916 maybe-check-perl:
19917 @if perl
19918 maybe-check-perl: check-perl
19920 check-perl:
19921 @: $(MAKE); $(unstage)
19922 @r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 $(HOST_EXPORTS) \
19925 (cd $(HOST_SUBDIR)/perl && \
19926 $(MAKE) $(FLAGS_TO_PASS) check)
19928 @endif perl
19930 .PHONY: install-perl maybe-install-perl
19931 maybe-install-perl:
19932 @if perl
19933 maybe-install-perl: install-perl
19935 install-perl: installdirs
19936 @: $(MAKE); $(unstage)
19937 @r=`${PWD_COMMAND}`; export r; \
19938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19939 $(HOST_EXPORTS) \
19940 (cd $(HOST_SUBDIR)/perl && \
19941 $(MAKE) $(FLAGS_TO_PASS) install)
19943 @endif perl
19945 # Other targets (info, dvi, etc.)
19947 .PHONY: maybe-info-perl info-perl
19948 maybe-info-perl:
19949 @if perl
19950 maybe-info-perl: info-perl
19952 info-perl: \
19953 configure-perl
19954 @: $(MAKE); $(unstage)
19955 @[ -f ./perl/Makefile ] || exit 0; \
19956 r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 $(HOST_EXPORTS) \
19959 for flag in $(EXTRA_HOST_FLAGS) ; do \
19960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19961 done; \
19962 echo "Doing info in perl" ; \
19963 (cd $(HOST_SUBDIR)/perl && \
19964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19966 "RANLIB=$${RANLIB}" \
19967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19968 info) \
19969 || exit 1
19971 @endif perl
19973 .PHONY: maybe-dvi-perl dvi-perl
19974 maybe-dvi-perl:
19975 @if perl
19976 maybe-dvi-perl: dvi-perl
19978 dvi-perl: \
19979 configure-perl
19980 @: $(MAKE); $(unstage)
19981 @[ -f ./perl/Makefile ] || exit 0; \
19982 r=`${PWD_COMMAND}`; export r; \
19983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19984 $(HOST_EXPORTS) \
19985 for flag in $(EXTRA_HOST_FLAGS) ; do \
19986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19987 done; \
19988 echo "Doing dvi in perl" ; \
19989 (cd $(HOST_SUBDIR)/perl && \
19990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19992 "RANLIB=$${RANLIB}" \
19993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19994 dvi) \
19995 || exit 1
19997 @endif perl
19999 .PHONY: maybe-html-perl html-perl
20000 maybe-html-perl:
20001 @if perl
20002 maybe-html-perl: html-perl
20004 html-perl: \
20005 configure-perl
20006 @: $(MAKE); $(unstage)
20007 @[ -f ./perl/Makefile ] || exit 0; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 for flag in $(EXTRA_HOST_FLAGS) ; do \
20012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 done; \
20014 echo "Doing html in perl" ; \
20015 (cd $(HOST_SUBDIR)/perl && \
20016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20018 "RANLIB=$${RANLIB}" \
20019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20020 html) \
20021 || exit 1
20023 @endif perl
20025 .PHONY: maybe-TAGS-perl TAGS-perl
20026 maybe-TAGS-perl:
20027 @if perl
20028 maybe-TAGS-perl: TAGS-perl
20030 TAGS-perl: \
20031 configure-perl
20032 @: $(MAKE); $(unstage)
20033 @[ -f ./perl/Makefile ] || exit 0; \
20034 r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 $(HOST_EXPORTS) \
20037 for flag in $(EXTRA_HOST_FLAGS) ; do \
20038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20039 done; \
20040 echo "Doing TAGS in perl" ; \
20041 (cd $(HOST_SUBDIR)/perl && \
20042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20044 "RANLIB=$${RANLIB}" \
20045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20046 TAGS) \
20047 || exit 1
20049 @endif perl
20051 .PHONY: maybe-install-info-perl install-info-perl
20052 maybe-install-info-perl:
20053 @if perl
20054 maybe-install-info-perl: install-info-perl
20056 install-info-perl: \
20057 configure-perl \
20058 info-perl
20059 @: $(MAKE); $(unstage)
20060 @[ -f ./perl/Makefile ] || exit 0; \
20061 r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 $(HOST_EXPORTS) \
20064 for flag in $(EXTRA_HOST_FLAGS) ; do \
20065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20066 done; \
20067 echo "Doing install-info in perl" ; \
20068 (cd $(HOST_SUBDIR)/perl && \
20069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20071 "RANLIB=$${RANLIB}" \
20072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20073 install-info) \
20074 || exit 1
20076 @endif perl
20078 .PHONY: maybe-installcheck-perl installcheck-perl
20079 maybe-installcheck-perl:
20080 @if perl
20081 maybe-installcheck-perl: installcheck-perl
20083 installcheck-perl: \
20084 configure-perl
20085 @: $(MAKE); $(unstage)
20086 @[ -f ./perl/Makefile ] || exit 0; \
20087 r=`${PWD_COMMAND}`; export r; \
20088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20089 $(HOST_EXPORTS) \
20090 for flag in $(EXTRA_HOST_FLAGS) ; do \
20091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20092 done; \
20093 echo "Doing installcheck in perl" ; \
20094 (cd $(HOST_SUBDIR)/perl && \
20095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20097 "RANLIB=$${RANLIB}" \
20098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20099 installcheck) \
20100 || exit 1
20102 @endif perl
20104 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20105 maybe-mostlyclean-perl:
20106 @if perl
20107 maybe-mostlyclean-perl: mostlyclean-perl
20109 mostlyclean-perl:
20110 @: $(MAKE); $(unstage)
20111 @[ -f ./perl/Makefile ] || exit 0; \
20112 r=`${PWD_COMMAND}`; export r; \
20113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20114 $(HOST_EXPORTS) \
20115 for flag in $(EXTRA_HOST_FLAGS) ; do \
20116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20117 done; \
20118 echo "Doing mostlyclean in perl" ; \
20119 (cd $(HOST_SUBDIR)/perl && \
20120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20122 "RANLIB=$${RANLIB}" \
20123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20124 mostlyclean) \
20125 || exit 1
20127 @endif perl
20129 .PHONY: maybe-clean-perl clean-perl
20130 maybe-clean-perl:
20131 @if perl
20132 maybe-clean-perl: clean-perl
20134 clean-perl:
20135 @: $(MAKE); $(unstage)
20136 @[ -f ./perl/Makefile ] || exit 0; \
20137 r=`${PWD_COMMAND}`; export r; \
20138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20139 $(HOST_EXPORTS) \
20140 for flag in $(EXTRA_HOST_FLAGS) ; do \
20141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20142 done; \
20143 echo "Doing clean in perl" ; \
20144 (cd $(HOST_SUBDIR)/perl && \
20145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20147 "RANLIB=$${RANLIB}" \
20148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20149 clean) \
20150 || exit 1
20152 @endif perl
20154 .PHONY: maybe-distclean-perl distclean-perl
20155 maybe-distclean-perl:
20156 @if perl
20157 maybe-distclean-perl: distclean-perl
20159 distclean-perl:
20160 @: $(MAKE); $(unstage)
20161 @[ -f ./perl/Makefile ] || exit 0; \
20162 r=`${PWD_COMMAND}`; export r; \
20163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20164 $(HOST_EXPORTS) \
20165 for flag in $(EXTRA_HOST_FLAGS) ; do \
20166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20167 done; \
20168 echo "Doing distclean in perl" ; \
20169 (cd $(HOST_SUBDIR)/perl && \
20170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20172 "RANLIB=$${RANLIB}" \
20173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20174 distclean) \
20175 || exit 1
20177 @endif perl
20179 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20180 maybe-maintainer-clean-perl:
20181 @if perl
20182 maybe-maintainer-clean-perl: maintainer-clean-perl
20184 maintainer-clean-perl:
20185 @: $(MAKE); $(unstage)
20186 @[ -f ./perl/Makefile ] || exit 0; \
20187 r=`${PWD_COMMAND}`; export r; \
20188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20189 $(HOST_EXPORTS) \
20190 for flag in $(EXTRA_HOST_FLAGS) ; do \
20191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20192 done; \
20193 echo "Doing maintainer-clean in perl" ; \
20194 (cd $(HOST_SUBDIR)/perl && \
20195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20197 "RANLIB=$${RANLIB}" \
20198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20199 maintainer-clean) \
20200 || exit 1
20202 @endif perl
20206 .PHONY: configure-prms maybe-configure-prms
20207 maybe-configure-prms:
20208 @if prms
20209 maybe-configure-prms: configure-prms
20210 configure-prms:
20211 @: $(MAKE); $(unstage)
20212 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20214 r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 $(HOST_EXPORTS) \
20217 echo Configuring in $(HOST_SUBDIR)/prms; \
20218 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20219 case $(srcdir) in \
20220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20221 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20223 esac; \
20224 srcdiroption="--srcdir=$${topdir}/prms"; \
20225 libsrcdir="$$s/prms"; \
20226 $(SHELL) $${libsrcdir}/configure \
20227 $(HOST_CONFIGARGS) $${srcdiroption} \
20228 || exit 1
20229 @endif prms
20235 .PHONY: all-prms maybe-all-prms
20236 maybe-all-prms:
20237 @if prms
20238 TARGET-prms=all
20239 maybe-all-prms: all-prms
20240 all-prms: configure-prms
20241 @: $(MAKE); $(unstage)
20242 @r=`${PWD_COMMAND}`; export r; \
20243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20244 $(HOST_EXPORTS) \
20245 (cd $(HOST_SUBDIR)/prms && \
20246 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20247 @endif prms
20252 .PHONY: check-prms maybe-check-prms
20253 maybe-check-prms:
20254 @if prms
20255 maybe-check-prms: check-prms
20257 check-prms:
20258 @: $(MAKE); $(unstage)
20259 @r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 (cd $(HOST_SUBDIR)/prms && \
20263 $(MAKE) $(FLAGS_TO_PASS) check)
20265 @endif prms
20267 .PHONY: install-prms maybe-install-prms
20268 maybe-install-prms:
20269 @if prms
20270 maybe-install-prms: install-prms
20272 install-prms: installdirs
20273 @: $(MAKE); $(unstage)
20274 @r=`${PWD_COMMAND}`; export r; \
20275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20276 $(HOST_EXPORTS) \
20277 (cd $(HOST_SUBDIR)/prms && \
20278 $(MAKE) $(FLAGS_TO_PASS) install)
20280 @endif prms
20282 # Other targets (info, dvi, etc.)
20284 .PHONY: maybe-info-prms info-prms
20285 maybe-info-prms:
20286 @if prms
20287 maybe-info-prms: info-prms
20289 info-prms: \
20290 configure-prms
20291 @: $(MAKE); $(unstage)
20292 @[ -f ./prms/Makefile ] || exit 0; \
20293 r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(HOST_EXPORTS) \
20296 for flag in $(EXTRA_HOST_FLAGS) ; do \
20297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 done; \
20299 echo "Doing info in prms" ; \
20300 (cd $(HOST_SUBDIR)/prms && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20303 "RANLIB=$${RANLIB}" \
20304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20305 info) \
20306 || exit 1
20308 @endif prms
20310 .PHONY: maybe-dvi-prms dvi-prms
20311 maybe-dvi-prms:
20312 @if prms
20313 maybe-dvi-prms: dvi-prms
20315 dvi-prms: \
20316 configure-prms
20317 @: $(MAKE); $(unstage)
20318 @[ -f ./prms/Makefile ] || exit 0; \
20319 r=`${PWD_COMMAND}`; export r; \
20320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20321 $(HOST_EXPORTS) \
20322 for flag in $(EXTRA_HOST_FLAGS) ; do \
20323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20324 done; \
20325 echo "Doing dvi in prms" ; \
20326 (cd $(HOST_SUBDIR)/prms && \
20327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20329 "RANLIB=$${RANLIB}" \
20330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20331 dvi) \
20332 || exit 1
20334 @endif prms
20336 .PHONY: maybe-html-prms html-prms
20337 maybe-html-prms:
20338 @if prms
20339 maybe-html-prms: html-prms
20341 html-prms: \
20342 configure-prms
20343 @: $(MAKE); $(unstage)
20344 @[ -f ./prms/Makefile ] || exit 0; \
20345 r=`${PWD_COMMAND}`; export r; \
20346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20347 $(HOST_EXPORTS) \
20348 for flag in $(EXTRA_HOST_FLAGS) ; do \
20349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20350 done; \
20351 echo "Doing html in prms" ; \
20352 (cd $(HOST_SUBDIR)/prms && \
20353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20355 "RANLIB=$${RANLIB}" \
20356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20357 html) \
20358 || exit 1
20360 @endif prms
20362 .PHONY: maybe-TAGS-prms TAGS-prms
20363 maybe-TAGS-prms:
20364 @if prms
20365 maybe-TAGS-prms: TAGS-prms
20367 TAGS-prms: \
20368 configure-prms
20369 @: $(MAKE); $(unstage)
20370 @[ -f ./prms/Makefile ] || exit 0; \
20371 r=`${PWD_COMMAND}`; export r; \
20372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20373 $(HOST_EXPORTS) \
20374 for flag in $(EXTRA_HOST_FLAGS) ; do \
20375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20376 done; \
20377 echo "Doing TAGS in prms" ; \
20378 (cd $(HOST_SUBDIR)/prms && \
20379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20381 "RANLIB=$${RANLIB}" \
20382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20383 TAGS) \
20384 || exit 1
20386 @endif prms
20388 .PHONY: maybe-install-info-prms install-info-prms
20389 maybe-install-info-prms:
20390 @if prms
20391 maybe-install-info-prms: install-info-prms
20393 install-info-prms: \
20394 configure-prms \
20395 info-prms
20396 @: $(MAKE); $(unstage)
20397 @[ -f ./prms/Makefile ] || exit 0; \
20398 r=`${PWD_COMMAND}`; export r; \
20399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20400 $(HOST_EXPORTS) \
20401 for flag in $(EXTRA_HOST_FLAGS) ; do \
20402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20403 done; \
20404 echo "Doing install-info in prms" ; \
20405 (cd $(HOST_SUBDIR)/prms && \
20406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20408 "RANLIB=$${RANLIB}" \
20409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 install-info) \
20411 || exit 1
20413 @endif prms
20415 .PHONY: maybe-installcheck-prms installcheck-prms
20416 maybe-installcheck-prms:
20417 @if prms
20418 maybe-installcheck-prms: installcheck-prms
20420 installcheck-prms: \
20421 configure-prms
20422 @: $(MAKE); $(unstage)
20423 @[ -f ./prms/Makefile ] || exit 0; \
20424 r=`${PWD_COMMAND}`; export r; \
20425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20426 $(HOST_EXPORTS) \
20427 for flag in $(EXTRA_HOST_FLAGS) ; do \
20428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20429 done; \
20430 echo "Doing installcheck in prms" ; \
20431 (cd $(HOST_SUBDIR)/prms && \
20432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20434 "RANLIB=$${RANLIB}" \
20435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20436 installcheck) \
20437 || exit 1
20439 @endif prms
20441 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20442 maybe-mostlyclean-prms:
20443 @if prms
20444 maybe-mostlyclean-prms: mostlyclean-prms
20446 mostlyclean-prms:
20447 @: $(MAKE); $(unstage)
20448 @[ -f ./prms/Makefile ] || exit 0; \
20449 r=`${PWD_COMMAND}`; export r; \
20450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20451 $(HOST_EXPORTS) \
20452 for flag in $(EXTRA_HOST_FLAGS) ; do \
20453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20454 done; \
20455 echo "Doing mostlyclean in prms" ; \
20456 (cd $(HOST_SUBDIR)/prms && \
20457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20459 "RANLIB=$${RANLIB}" \
20460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20461 mostlyclean) \
20462 || exit 1
20464 @endif prms
20466 .PHONY: maybe-clean-prms clean-prms
20467 maybe-clean-prms:
20468 @if prms
20469 maybe-clean-prms: clean-prms
20471 clean-prms:
20472 @: $(MAKE); $(unstage)
20473 @[ -f ./prms/Makefile ] || exit 0; \
20474 r=`${PWD_COMMAND}`; export r; \
20475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20476 $(HOST_EXPORTS) \
20477 for flag in $(EXTRA_HOST_FLAGS) ; do \
20478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20479 done; \
20480 echo "Doing clean in prms" ; \
20481 (cd $(HOST_SUBDIR)/prms && \
20482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20484 "RANLIB=$${RANLIB}" \
20485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20486 clean) \
20487 || exit 1
20489 @endif prms
20491 .PHONY: maybe-distclean-prms distclean-prms
20492 maybe-distclean-prms:
20493 @if prms
20494 maybe-distclean-prms: distclean-prms
20496 distclean-prms:
20497 @: $(MAKE); $(unstage)
20498 @[ -f ./prms/Makefile ] || exit 0; \
20499 r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 $(HOST_EXPORTS) \
20502 for flag in $(EXTRA_HOST_FLAGS) ; do \
20503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20504 done; \
20505 echo "Doing distclean in prms" ; \
20506 (cd $(HOST_SUBDIR)/prms && \
20507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20509 "RANLIB=$${RANLIB}" \
20510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20511 distclean) \
20512 || exit 1
20514 @endif prms
20516 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20517 maybe-maintainer-clean-prms:
20518 @if prms
20519 maybe-maintainer-clean-prms: maintainer-clean-prms
20521 maintainer-clean-prms:
20522 @: $(MAKE); $(unstage)
20523 @[ -f ./prms/Makefile ] || exit 0; \
20524 r=`${PWD_COMMAND}`; export r; \
20525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20526 $(HOST_EXPORTS) \
20527 for flag in $(EXTRA_HOST_FLAGS) ; do \
20528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20529 done; \
20530 echo "Doing maintainer-clean in prms" ; \
20531 (cd $(HOST_SUBDIR)/prms && \
20532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20534 "RANLIB=$${RANLIB}" \
20535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20536 maintainer-clean) \
20537 || exit 1
20539 @endif prms
20543 .PHONY: configure-rcs maybe-configure-rcs
20544 maybe-configure-rcs:
20545 @if rcs
20546 maybe-configure-rcs: configure-rcs
20547 configure-rcs:
20548 @: $(MAKE); $(unstage)
20549 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20551 r=`${PWD_COMMAND}`; export r; \
20552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20553 $(HOST_EXPORTS) \
20554 echo Configuring in $(HOST_SUBDIR)/rcs; \
20555 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20556 case $(srcdir) in \
20557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20558 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20560 esac; \
20561 srcdiroption="--srcdir=$${topdir}/rcs"; \
20562 libsrcdir="$$s/rcs"; \
20563 $(SHELL) $${libsrcdir}/configure \
20564 $(HOST_CONFIGARGS) $${srcdiroption} \
20565 || exit 1
20566 @endif rcs
20572 .PHONY: all-rcs maybe-all-rcs
20573 maybe-all-rcs:
20574 @if rcs
20575 TARGET-rcs=all
20576 maybe-all-rcs: all-rcs
20577 all-rcs: configure-rcs
20578 @: $(MAKE); $(unstage)
20579 @r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(HOST_EXPORTS) \
20582 (cd $(HOST_SUBDIR)/rcs && \
20583 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20584 @endif rcs
20589 .PHONY: check-rcs maybe-check-rcs
20590 maybe-check-rcs:
20591 @if rcs
20592 maybe-check-rcs: check-rcs
20594 check-rcs:
20595 @: $(MAKE); $(unstage)
20596 @r=`${PWD_COMMAND}`; export r; \
20597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20598 $(HOST_EXPORTS) \
20599 (cd $(HOST_SUBDIR)/rcs && \
20600 $(MAKE) $(FLAGS_TO_PASS) check)
20602 @endif rcs
20604 .PHONY: install-rcs maybe-install-rcs
20605 maybe-install-rcs:
20606 @if rcs
20607 maybe-install-rcs: install-rcs
20609 install-rcs: installdirs
20610 @: $(MAKE); $(unstage)
20611 @r=`${PWD_COMMAND}`; export r; \
20612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 $(HOST_EXPORTS) \
20614 (cd $(HOST_SUBDIR)/rcs && \
20615 $(MAKE) $(FLAGS_TO_PASS) install)
20617 @endif rcs
20619 # Other targets (info, dvi, etc.)
20621 .PHONY: maybe-info-rcs info-rcs
20622 maybe-info-rcs:
20623 @if rcs
20624 maybe-info-rcs: info-rcs
20626 info-rcs: \
20627 configure-rcs
20628 @: $(MAKE); $(unstage)
20629 @[ -f ./rcs/Makefile ] || exit 0; \
20630 r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 for flag in $(EXTRA_HOST_FLAGS) ; do \
20634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20635 done; \
20636 echo "Doing info in rcs" ; \
20637 (cd $(HOST_SUBDIR)/rcs && \
20638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20640 "RANLIB=$${RANLIB}" \
20641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20642 info) \
20643 || exit 1
20645 @endif rcs
20647 .PHONY: maybe-dvi-rcs dvi-rcs
20648 maybe-dvi-rcs:
20649 @if rcs
20650 maybe-dvi-rcs: dvi-rcs
20652 dvi-rcs: \
20653 configure-rcs
20654 @: $(MAKE); $(unstage)
20655 @[ -f ./rcs/Makefile ] || exit 0; \
20656 r=`${PWD_COMMAND}`; export r; \
20657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20658 $(HOST_EXPORTS) \
20659 for flag in $(EXTRA_HOST_FLAGS) ; do \
20660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20661 done; \
20662 echo "Doing dvi in rcs" ; \
20663 (cd $(HOST_SUBDIR)/rcs && \
20664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20666 "RANLIB=$${RANLIB}" \
20667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20668 dvi) \
20669 || exit 1
20671 @endif rcs
20673 .PHONY: maybe-html-rcs html-rcs
20674 maybe-html-rcs:
20675 @if rcs
20676 maybe-html-rcs: html-rcs
20678 html-rcs: \
20679 configure-rcs
20680 @: $(MAKE); $(unstage)
20681 @[ -f ./rcs/Makefile ] || exit 0; \
20682 r=`${PWD_COMMAND}`; export r; \
20683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20684 $(HOST_EXPORTS) \
20685 for flag in $(EXTRA_HOST_FLAGS) ; do \
20686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20687 done; \
20688 echo "Doing html in rcs" ; \
20689 (cd $(HOST_SUBDIR)/rcs && \
20690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20692 "RANLIB=$${RANLIB}" \
20693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20694 html) \
20695 || exit 1
20697 @endif rcs
20699 .PHONY: maybe-TAGS-rcs TAGS-rcs
20700 maybe-TAGS-rcs:
20701 @if rcs
20702 maybe-TAGS-rcs: TAGS-rcs
20704 TAGS-rcs: \
20705 configure-rcs
20706 @: $(MAKE); $(unstage)
20707 @[ -f ./rcs/Makefile ] || exit 0; \
20708 r=`${PWD_COMMAND}`; export r; \
20709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20710 $(HOST_EXPORTS) \
20711 for flag in $(EXTRA_HOST_FLAGS) ; do \
20712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20713 done; \
20714 echo "Doing TAGS in rcs" ; \
20715 (cd $(HOST_SUBDIR)/rcs && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20718 "RANLIB=$${RANLIB}" \
20719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20720 TAGS) \
20721 || exit 1
20723 @endif rcs
20725 .PHONY: maybe-install-info-rcs install-info-rcs
20726 maybe-install-info-rcs:
20727 @if rcs
20728 maybe-install-info-rcs: install-info-rcs
20730 install-info-rcs: \
20731 configure-rcs \
20732 info-rcs
20733 @: $(MAKE); $(unstage)
20734 @[ -f ./rcs/Makefile ] || exit 0; \
20735 r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 $(HOST_EXPORTS) \
20738 for flag in $(EXTRA_HOST_FLAGS) ; do \
20739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20740 done; \
20741 echo "Doing install-info in rcs" ; \
20742 (cd $(HOST_SUBDIR)/rcs && \
20743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20745 "RANLIB=$${RANLIB}" \
20746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20747 install-info) \
20748 || exit 1
20750 @endif rcs
20752 .PHONY: maybe-installcheck-rcs installcheck-rcs
20753 maybe-installcheck-rcs:
20754 @if rcs
20755 maybe-installcheck-rcs: installcheck-rcs
20757 installcheck-rcs: \
20758 configure-rcs
20759 @: $(MAKE); $(unstage)
20760 @[ -f ./rcs/Makefile ] || exit 0; \
20761 r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 $(HOST_EXPORTS) \
20764 for flag in $(EXTRA_HOST_FLAGS) ; do \
20765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20766 done; \
20767 echo "Doing installcheck in rcs" ; \
20768 (cd $(HOST_SUBDIR)/rcs && \
20769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20771 "RANLIB=$${RANLIB}" \
20772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20773 installcheck) \
20774 || exit 1
20776 @endif rcs
20778 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20779 maybe-mostlyclean-rcs:
20780 @if rcs
20781 maybe-mostlyclean-rcs: mostlyclean-rcs
20783 mostlyclean-rcs:
20784 @: $(MAKE); $(unstage)
20785 @[ -f ./rcs/Makefile ] || exit 0; \
20786 r=`${PWD_COMMAND}`; export r; \
20787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 $(HOST_EXPORTS) \
20789 for flag in $(EXTRA_HOST_FLAGS) ; do \
20790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20791 done; \
20792 echo "Doing mostlyclean in rcs" ; \
20793 (cd $(HOST_SUBDIR)/rcs && \
20794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20796 "RANLIB=$${RANLIB}" \
20797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20798 mostlyclean) \
20799 || exit 1
20801 @endif rcs
20803 .PHONY: maybe-clean-rcs clean-rcs
20804 maybe-clean-rcs:
20805 @if rcs
20806 maybe-clean-rcs: clean-rcs
20808 clean-rcs:
20809 @: $(MAKE); $(unstage)
20810 @[ -f ./rcs/Makefile ] || exit 0; \
20811 r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 $(HOST_EXPORTS) \
20814 for flag in $(EXTRA_HOST_FLAGS) ; do \
20815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 done; \
20817 echo "Doing clean in rcs" ; \
20818 (cd $(HOST_SUBDIR)/rcs && \
20819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20821 "RANLIB=$${RANLIB}" \
20822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20823 clean) \
20824 || exit 1
20826 @endif rcs
20828 .PHONY: maybe-distclean-rcs distclean-rcs
20829 maybe-distclean-rcs:
20830 @if rcs
20831 maybe-distclean-rcs: distclean-rcs
20833 distclean-rcs:
20834 @: $(MAKE); $(unstage)
20835 @[ -f ./rcs/Makefile ] || exit 0; \
20836 r=`${PWD_COMMAND}`; export r; \
20837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838 $(HOST_EXPORTS) \
20839 for flag in $(EXTRA_HOST_FLAGS) ; do \
20840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20841 done; \
20842 echo "Doing distclean in rcs" ; \
20843 (cd $(HOST_SUBDIR)/rcs && \
20844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20846 "RANLIB=$${RANLIB}" \
20847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20848 distclean) \
20849 || exit 1
20851 @endif rcs
20853 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20854 maybe-maintainer-clean-rcs:
20855 @if rcs
20856 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20858 maintainer-clean-rcs:
20859 @: $(MAKE); $(unstage)
20860 @[ -f ./rcs/Makefile ] || exit 0; \
20861 r=`${PWD_COMMAND}`; export r; \
20862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20863 $(HOST_EXPORTS) \
20864 for flag in $(EXTRA_HOST_FLAGS) ; do \
20865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20866 done; \
20867 echo "Doing maintainer-clean in rcs" ; \
20868 (cd $(HOST_SUBDIR)/rcs && \
20869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871 "RANLIB=$${RANLIB}" \
20872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20873 maintainer-clean) \
20874 || exit 1
20876 @endif rcs
20880 .PHONY: configure-readline maybe-configure-readline
20881 maybe-configure-readline:
20882 @if readline
20883 maybe-configure-readline: configure-readline
20884 configure-readline:
20885 @: $(MAKE); $(unstage)
20886 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20888 r=`${PWD_COMMAND}`; export r; \
20889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20890 $(HOST_EXPORTS) \
20891 echo Configuring in $(HOST_SUBDIR)/readline; \
20892 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20893 case $(srcdir) in \
20894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20895 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20897 esac; \
20898 srcdiroption="--srcdir=$${topdir}/readline"; \
20899 libsrcdir="$$s/readline"; \
20900 $(SHELL) $${libsrcdir}/configure \
20901 $(HOST_CONFIGARGS) $${srcdiroption} \
20902 || exit 1
20903 @endif readline
20909 .PHONY: all-readline maybe-all-readline
20910 maybe-all-readline:
20911 @if readline
20912 TARGET-readline=all
20913 maybe-all-readline: all-readline
20914 all-readline: configure-readline
20915 @: $(MAKE); $(unstage)
20916 @r=`${PWD_COMMAND}`; export r; \
20917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20918 $(HOST_EXPORTS) \
20919 (cd $(HOST_SUBDIR)/readline && \
20920 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20921 @endif readline
20926 .PHONY: check-readline maybe-check-readline
20927 maybe-check-readline:
20928 @if readline
20929 maybe-check-readline: check-readline
20931 check-readline:
20932 @: $(MAKE); $(unstage)
20933 @r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935 $(HOST_EXPORTS) \
20936 (cd $(HOST_SUBDIR)/readline && \
20937 $(MAKE) $(FLAGS_TO_PASS) check)
20939 @endif readline
20941 .PHONY: install-readline maybe-install-readline
20942 maybe-install-readline:
20943 @if readline
20944 maybe-install-readline: install-readline
20946 install-readline: installdirs
20947 @: $(MAKE); $(unstage)
20948 @r=`${PWD_COMMAND}`; export r; \
20949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20950 $(HOST_EXPORTS) \
20951 (cd $(HOST_SUBDIR)/readline && \
20952 $(MAKE) $(FLAGS_TO_PASS) install)
20954 @endif readline
20956 # Other targets (info, dvi, etc.)
20958 .PHONY: maybe-info-readline info-readline
20959 maybe-info-readline:
20960 @if readline
20961 maybe-info-readline: info-readline
20963 info-readline: \
20964 configure-readline
20965 @: $(MAKE); $(unstage)
20966 @[ -f ./readline/Makefile ] || exit 0; \
20967 r=`${PWD_COMMAND}`; export r; \
20968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20969 $(HOST_EXPORTS) \
20970 for flag in $(EXTRA_HOST_FLAGS) ; do \
20971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20972 done; \
20973 echo "Doing info in readline" ; \
20974 (cd $(HOST_SUBDIR)/readline && \
20975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20977 "RANLIB=$${RANLIB}" \
20978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20979 info) \
20980 || exit 1
20982 @endif readline
20984 .PHONY: maybe-dvi-readline dvi-readline
20985 maybe-dvi-readline:
20986 @if readline
20987 maybe-dvi-readline: dvi-readline
20989 dvi-readline: \
20990 configure-readline
20991 @: $(MAKE); $(unstage)
20992 @[ -f ./readline/Makefile ] || exit 0; \
20993 r=`${PWD_COMMAND}`; export r; \
20994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20995 $(HOST_EXPORTS) \
20996 for flag in $(EXTRA_HOST_FLAGS) ; do \
20997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20998 done; \
20999 echo "Doing dvi in readline" ; \
21000 (cd $(HOST_SUBDIR)/readline && \
21001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21003 "RANLIB=$${RANLIB}" \
21004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21005 dvi) \
21006 || exit 1
21008 @endif readline
21010 .PHONY: maybe-html-readline html-readline
21011 maybe-html-readline:
21012 @if readline
21013 maybe-html-readline: html-readline
21015 html-readline: \
21016 configure-readline
21017 @: $(MAKE); $(unstage)
21018 @[ -f ./readline/Makefile ] || exit 0; \
21019 r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 for flag in $(EXTRA_HOST_FLAGS) ; do \
21023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21024 done; \
21025 echo "Doing html in readline" ; \
21026 (cd $(HOST_SUBDIR)/readline && \
21027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21029 "RANLIB=$${RANLIB}" \
21030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21031 html) \
21032 || exit 1
21034 @endif readline
21036 .PHONY: maybe-TAGS-readline TAGS-readline
21037 maybe-TAGS-readline:
21038 @if readline
21039 maybe-TAGS-readline: TAGS-readline
21041 TAGS-readline: \
21042 configure-readline
21043 @: $(MAKE); $(unstage)
21044 @[ -f ./readline/Makefile ] || exit 0; \
21045 r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 $(HOST_EXPORTS) \
21048 for flag in $(EXTRA_HOST_FLAGS) ; do \
21049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21050 done; \
21051 echo "Doing TAGS in readline" ; \
21052 (cd $(HOST_SUBDIR)/readline && \
21053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21055 "RANLIB=$${RANLIB}" \
21056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21057 TAGS) \
21058 || exit 1
21060 @endif readline
21062 .PHONY: maybe-install-info-readline install-info-readline
21063 maybe-install-info-readline:
21064 @if readline
21065 maybe-install-info-readline: install-info-readline
21067 install-info-readline: \
21068 configure-readline \
21069 info-readline
21070 @: $(MAKE); $(unstage)
21071 @[ -f ./readline/Makefile ] || exit 0; \
21072 r=`${PWD_COMMAND}`; export r; \
21073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21074 $(HOST_EXPORTS) \
21075 for flag in $(EXTRA_HOST_FLAGS) ; do \
21076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21077 done; \
21078 echo "Doing install-info in readline" ; \
21079 (cd $(HOST_SUBDIR)/readline && \
21080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21082 "RANLIB=$${RANLIB}" \
21083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21084 install-info) \
21085 || exit 1
21087 @endif readline
21089 .PHONY: maybe-installcheck-readline installcheck-readline
21090 maybe-installcheck-readline:
21091 @if readline
21092 maybe-installcheck-readline: installcheck-readline
21094 installcheck-readline: \
21095 configure-readline
21096 @: $(MAKE); $(unstage)
21097 @[ -f ./readline/Makefile ] || exit 0; \
21098 r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21100 $(HOST_EXPORTS) \
21101 for flag in $(EXTRA_HOST_FLAGS) ; do \
21102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21103 done; \
21104 echo "Doing installcheck in readline" ; \
21105 (cd $(HOST_SUBDIR)/readline && \
21106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21108 "RANLIB=$${RANLIB}" \
21109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21110 installcheck) \
21111 || exit 1
21113 @endif readline
21115 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21116 maybe-mostlyclean-readline:
21117 @if readline
21118 maybe-mostlyclean-readline: mostlyclean-readline
21120 mostlyclean-readline:
21121 @: $(MAKE); $(unstage)
21122 @[ -f ./readline/Makefile ] || exit 0; \
21123 r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21125 $(HOST_EXPORTS) \
21126 for flag in $(EXTRA_HOST_FLAGS) ; do \
21127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21128 done; \
21129 echo "Doing mostlyclean in readline" ; \
21130 (cd $(HOST_SUBDIR)/readline && \
21131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21133 "RANLIB=$${RANLIB}" \
21134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21135 mostlyclean) \
21136 || exit 1
21138 @endif readline
21140 .PHONY: maybe-clean-readline clean-readline
21141 maybe-clean-readline:
21142 @if readline
21143 maybe-clean-readline: clean-readline
21145 clean-readline:
21146 @: $(MAKE); $(unstage)
21147 @[ -f ./readline/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(HOST_EXPORTS) \
21151 for flag in $(EXTRA_HOST_FLAGS) ; do \
21152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21153 done; \
21154 echo "Doing clean in readline" ; \
21155 (cd $(HOST_SUBDIR)/readline && \
21156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21158 "RANLIB=$${RANLIB}" \
21159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21160 clean) \
21161 || exit 1
21163 @endif readline
21165 .PHONY: maybe-distclean-readline distclean-readline
21166 maybe-distclean-readline:
21167 @if readline
21168 maybe-distclean-readline: distclean-readline
21170 distclean-readline:
21171 @: $(MAKE); $(unstage)
21172 @[ -f ./readline/Makefile ] || exit 0; \
21173 r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 $(HOST_EXPORTS) \
21176 for flag in $(EXTRA_HOST_FLAGS) ; do \
21177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178 done; \
21179 echo "Doing distclean in readline" ; \
21180 (cd $(HOST_SUBDIR)/readline && \
21181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183 "RANLIB=$${RANLIB}" \
21184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21185 distclean) \
21186 || exit 1
21188 @endif readline
21190 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21191 maybe-maintainer-clean-readline:
21192 @if readline
21193 maybe-maintainer-clean-readline: maintainer-clean-readline
21195 maintainer-clean-readline:
21196 @: $(MAKE); $(unstage)
21197 @[ -f ./readline/Makefile ] || exit 0; \
21198 r=`${PWD_COMMAND}`; export r; \
21199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21200 $(HOST_EXPORTS) \
21201 for flag in $(EXTRA_HOST_FLAGS) ; do \
21202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21203 done; \
21204 echo "Doing maintainer-clean in readline" ; \
21205 (cd $(HOST_SUBDIR)/readline && \
21206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21208 "RANLIB=$${RANLIB}" \
21209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21210 maintainer-clean) \
21211 || exit 1
21213 @endif readline
21217 .PHONY: configure-release maybe-configure-release
21218 maybe-configure-release:
21219 @if release
21220 maybe-configure-release: configure-release
21221 configure-release:
21222 @: $(MAKE); $(unstage)
21223 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21225 r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 $(HOST_EXPORTS) \
21228 echo Configuring in $(HOST_SUBDIR)/release; \
21229 cd "$(HOST_SUBDIR)/release" || exit 1; \
21230 case $(srcdir) in \
21231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21232 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21234 esac; \
21235 srcdiroption="--srcdir=$${topdir}/release"; \
21236 libsrcdir="$$s/release"; \
21237 $(SHELL) $${libsrcdir}/configure \
21238 $(HOST_CONFIGARGS) $${srcdiroption} \
21239 || exit 1
21240 @endif release
21246 .PHONY: all-release maybe-all-release
21247 maybe-all-release:
21248 @if release
21249 TARGET-release=all
21250 maybe-all-release: all-release
21251 all-release: configure-release
21252 @: $(MAKE); $(unstage)
21253 @r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 $(HOST_EXPORTS) \
21256 (cd $(HOST_SUBDIR)/release && \
21257 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21258 @endif release
21263 .PHONY: check-release maybe-check-release
21264 maybe-check-release:
21265 @if release
21266 maybe-check-release: check-release
21268 check-release:
21270 @endif release
21272 .PHONY: install-release maybe-install-release
21273 maybe-install-release:
21274 @if release
21275 maybe-install-release: install-release
21277 install-release:
21279 @endif release
21281 # Other targets (info, dvi, etc.)
21283 .PHONY: maybe-info-release info-release
21284 maybe-info-release:
21285 @if release
21286 maybe-info-release: info-release
21288 info-release: \
21289 configure-release
21290 @: $(MAKE); $(unstage)
21291 @[ -f ./release/Makefile ] || exit 0; \
21292 r=`${PWD_COMMAND}`; export r; \
21293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21294 $(HOST_EXPORTS) \
21295 for flag in $(EXTRA_HOST_FLAGS) ; do \
21296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21297 done; \
21298 echo "Doing info in release" ; \
21299 (cd $(HOST_SUBDIR)/release && \
21300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21302 "RANLIB=$${RANLIB}" \
21303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21304 info) \
21305 || exit 1
21307 @endif release
21309 .PHONY: maybe-dvi-release dvi-release
21310 maybe-dvi-release:
21311 @if release
21312 maybe-dvi-release: dvi-release
21314 dvi-release: \
21315 configure-release
21316 @: $(MAKE); $(unstage)
21317 @[ -f ./release/Makefile ] || exit 0; \
21318 r=`${PWD_COMMAND}`; export r; \
21319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21320 $(HOST_EXPORTS) \
21321 for flag in $(EXTRA_HOST_FLAGS) ; do \
21322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21323 done; \
21324 echo "Doing dvi in release" ; \
21325 (cd $(HOST_SUBDIR)/release && \
21326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21328 "RANLIB=$${RANLIB}" \
21329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21330 dvi) \
21331 || exit 1
21333 @endif release
21335 .PHONY: maybe-html-release html-release
21336 maybe-html-release:
21337 @if release
21338 maybe-html-release: html-release
21340 html-release: \
21341 configure-release
21342 @: $(MAKE); $(unstage)
21343 @[ -f ./release/Makefile ] || exit 0; \
21344 r=`${PWD_COMMAND}`; export r; \
21345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21346 $(HOST_EXPORTS) \
21347 for flag in $(EXTRA_HOST_FLAGS) ; do \
21348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21349 done; \
21350 echo "Doing html in release" ; \
21351 (cd $(HOST_SUBDIR)/release && \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21354 "RANLIB=$${RANLIB}" \
21355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21356 html) \
21357 || exit 1
21359 @endif release
21361 .PHONY: maybe-TAGS-release TAGS-release
21362 maybe-TAGS-release:
21363 @if release
21364 maybe-TAGS-release: TAGS-release
21366 TAGS-release: \
21367 configure-release
21368 @: $(MAKE); $(unstage)
21369 @[ -f ./release/Makefile ] || exit 0; \
21370 r=`${PWD_COMMAND}`; export r; \
21371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21372 $(HOST_EXPORTS) \
21373 for flag in $(EXTRA_HOST_FLAGS) ; do \
21374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21375 done; \
21376 echo "Doing TAGS in release" ; \
21377 (cd $(HOST_SUBDIR)/release && \
21378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21380 "RANLIB=$${RANLIB}" \
21381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21382 TAGS) \
21383 || exit 1
21385 @endif release
21387 .PHONY: maybe-install-info-release install-info-release
21388 maybe-install-info-release:
21389 @if release
21390 maybe-install-info-release: install-info-release
21392 install-info-release: \
21393 configure-release \
21394 info-release
21395 @: $(MAKE); $(unstage)
21396 @[ -f ./release/Makefile ] || exit 0; \
21397 r=`${PWD_COMMAND}`; export r; \
21398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21399 $(HOST_EXPORTS) \
21400 for flag in $(EXTRA_HOST_FLAGS) ; do \
21401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 done; \
21403 echo "Doing install-info in release" ; \
21404 (cd $(HOST_SUBDIR)/release && \
21405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21407 "RANLIB=$${RANLIB}" \
21408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21409 install-info) \
21410 || exit 1
21412 @endif release
21414 .PHONY: maybe-installcheck-release installcheck-release
21415 maybe-installcheck-release:
21416 @if release
21417 maybe-installcheck-release: installcheck-release
21419 installcheck-release: \
21420 configure-release
21421 @: $(MAKE); $(unstage)
21422 @[ -f ./release/Makefile ] || exit 0; \
21423 r=`${PWD_COMMAND}`; export r; \
21424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21425 $(HOST_EXPORTS) \
21426 for flag in $(EXTRA_HOST_FLAGS) ; do \
21427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21428 done; \
21429 echo "Doing installcheck in release" ; \
21430 (cd $(HOST_SUBDIR)/release && \
21431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21433 "RANLIB=$${RANLIB}" \
21434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21435 installcheck) \
21436 || exit 1
21438 @endif release
21440 .PHONY: maybe-mostlyclean-release mostlyclean-release
21441 maybe-mostlyclean-release:
21442 @if release
21443 maybe-mostlyclean-release: mostlyclean-release
21445 mostlyclean-release:
21446 @: $(MAKE); $(unstage)
21447 @[ -f ./release/Makefile ] || exit 0; \
21448 r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(HOST_EXPORTS) \
21451 for flag in $(EXTRA_HOST_FLAGS) ; do \
21452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21453 done; \
21454 echo "Doing mostlyclean in release" ; \
21455 (cd $(HOST_SUBDIR)/release && \
21456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21458 "RANLIB=$${RANLIB}" \
21459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21460 mostlyclean) \
21461 || exit 1
21463 @endif release
21465 .PHONY: maybe-clean-release clean-release
21466 maybe-clean-release:
21467 @if release
21468 maybe-clean-release: clean-release
21470 clean-release:
21471 @: $(MAKE); $(unstage)
21472 @[ -f ./release/Makefile ] || exit 0; \
21473 r=`${PWD_COMMAND}`; export r; \
21474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21475 $(HOST_EXPORTS) \
21476 for flag in $(EXTRA_HOST_FLAGS) ; do \
21477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21478 done; \
21479 echo "Doing clean in release" ; \
21480 (cd $(HOST_SUBDIR)/release && \
21481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21483 "RANLIB=$${RANLIB}" \
21484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21485 clean) \
21486 || exit 1
21488 @endif release
21490 .PHONY: maybe-distclean-release distclean-release
21491 maybe-distclean-release:
21492 @if release
21493 maybe-distclean-release: distclean-release
21495 distclean-release:
21496 @: $(MAKE); $(unstage)
21497 @[ -f ./release/Makefile ] || exit 0; \
21498 r=`${PWD_COMMAND}`; export r; \
21499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21500 $(HOST_EXPORTS) \
21501 for flag in $(EXTRA_HOST_FLAGS) ; do \
21502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21503 done; \
21504 echo "Doing distclean in release" ; \
21505 (cd $(HOST_SUBDIR)/release && \
21506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21508 "RANLIB=$${RANLIB}" \
21509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21510 distclean) \
21511 || exit 1
21513 @endif release
21515 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21516 maybe-maintainer-clean-release:
21517 @if release
21518 maybe-maintainer-clean-release: maintainer-clean-release
21520 maintainer-clean-release:
21521 @: $(MAKE); $(unstage)
21522 @[ -f ./release/Makefile ] || exit 0; \
21523 r=`${PWD_COMMAND}`; export r; \
21524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21525 $(HOST_EXPORTS) \
21526 for flag in $(EXTRA_HOST_FLAGS) ; do \
21527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21528 done; \
21529 echo "Doing maintainer-clean in release" ; \
21530 (cd $(HOST_SUBDIR)/release && \
21531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21533 "RANLIB=$${RANLIB}" \
21534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21535 maintainer-clean) \
21536 || exit 1
21538 @endif release
21542 .PHONY: configure-recode maybe-configure-recode
21543 maybe-configure-recode:
21544 @if recode
21545 maybe-configure-recode: configure-recode
21546 configure-recode:
21547 @: $(MAKE); $(unstage)
21548 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21550 r=`${PWD_COMMAND}`; export r; \
21551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21552 $(HOST_EXPORTS) \
21553 echo Configuring in $(HOST_SUBDIR)/recode; \
21554 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21555 case $(srcdir) in \
21556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21557 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21559 esac; \
21560 srcdiroption="--srcdir=$${topdir}/recode"; \
21561 libsrcdir="$$s/recode"; \
21562 $(SHELL) $${libsrcdir}/configure \
21563 $(HOST_CONFIGARGS) $${srcdiroption} \
21564 || exit 1
21565 @endif recode
21571 .PHONY: all-recode maybe-all-recode
21572 maybe-all-recode:
21573 @if recode
21574 TARGET-recode=all
21575 maybe-all-recode: all-recode
21576 all-recode: configure-recode
21577 @: $(MAKE); $(unstage)
21578 @r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 (cd $(HOST_SUBDIR)/recode && \
21582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21583 @endif recode
21588 .PHONY: check-recode maybe-check-recode
21589 maybe-check-recode:
21590 @if recode
21591 maybe-check-recode: check-recode
21593 check-recode:
21594 @: $(MAKE); $(unstage)
21595 @r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 (cd $(HOST_SUBDIR)/recode && \
21599 $(MAKE) $(FLAGS_TO_PASS) check)
21601 @endif recode
21603 .PHONY: install-recode maybe-install-recode
21604 maybe-install-recode:
21605 @if recode
21606 maybe-install-recode: install-recode
21608 install-recode: installdirs
21609 @: $(MAKE); $(unstage)
21610 @r=`${PWD_COMMAND}`; export r; \
21611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 $(HOST_EXPORTS) \
21613 (cd $(HOST_SUBDIR)/recode && \
21614 $(MAKE) $(FLAGS_TO_PASS) install)
21616 @endif recode
21618 # Other targets (info, dvi, etc.)
21620 .PHONY: maybe-info-recode info-recode
21621 maybe-info-recode:
21622 @if recode
21623 maybe-info-recode: info-recode
21625 info-recode: \
21626 configure-recode
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./recode/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing info in recode" ; \
21636 (cd $(HOST_SUBDIR)/recode && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 info) \
21642 || exit 1
21644 @endif recode
21646 .PHONY: maybe-dvi-recode dvi-recode
21647 maybe-dvi-recode:
21648 @if recode
21649 maybe-dvi-recode: dvi-recode
21651 dvi-recode: \
21652 configure-recode
21653 @: $(MAKE); $(unstage)
21654 @[ -f ./recode/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing dvi in recode" ; \
21662 (cd $(HOST_SUBDIR)/recode && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 dvi) \
21668 || exit 1
21670 @endif recode
21672 .PHONY: maybe-html-recode html-recode
21673 maybe-html-recode:
21674 @if recode
21675 maybe-html-recode: html-recode
21677 html-recode: \
21678 configure-recode
21679 @: $(MAKE); $(unstage)
21680 @[ -f ./recode/Makefile ] || exit 0; \
21681 r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 $(HOST_EXPORTS) \
21684 for flag in $(EXTRA_HOST_FLAGS) ; do \
21685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21686 done; \
21687 echo "Doing html in recode" ; \
21688 (cd $(HOST_SUBDIR)/recode && \
21689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21691 "RANLIB=$${RANLIB}" \
21692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21693 html) \
21694 || exit 1
21696 @endif recode
21698 .PHONY: maybe-TAGS-recode TAGS-recode
21699 maybe-TAGS-recode:
21700 @if recode
21701 maybe-TAGS-recode: TAGS-recode
21703 TAGS-recode: \
21704 configure-recode
21705 @: $(MAKE); $(unstage)
21706 @[ -f ./recode/Makefile ] || exit 0; \
21707 r=`${PWD_COMMAND}`; export r; \
21708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21709 $(HOST_EXPORTS) \
21710 for flag in $(EXTRA_HOST_FLAGS) ; do \
21711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21712 done; \
21713 echo "Doing TAGS in recode" ; \
21714 (cd $(HOST_SUBDIR)/recode && \
21715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21717 "RANLIB=$${RANLIB}" \
21718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21719 TAGS) \
21720 || exit 1
21722 @endif recode
21724 .PHONY: maybe-install-info-recode install-info-recode
21725 maybe-install-info-recode:
21726 @if recode
21727 maybe-install-info-recode: install-info-recode
21729 install-info-recode: \
21730 configure-recode \
21731 info-recode
21732 @: $(MAKE); $(unstage)
21733 @[ -f ./recode/Makefile ] || exit 0; \
21734 r=`${PWD_COMMAND}`; export r; \
21735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21736 $(HOST_EXPORTS) \
21737 for flag in $(EXTRA_HOST_FLAGS) ; do \
21738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21739 done; \
21740 echo "Doing install-info in recode" ; \
21741 (cd $(HOST_SUBDIR)/recode && \
21742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21744 "RANLIB=$${RANLIB}" \
21745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21746 install-info) \
21747 || exit 1
21749 @endif recode
21751 .PHONY: maybe-installcheck-recode installcheck-recode
21752 maybe-installcheck-recode:
21753 @if recode
21754 maybe-installcheck-recode: installcheck-recode
21756 installcheck-recode: \
21757 configure-recode
21758 @: $(MAKE); $(unstage)
21759 @[ -f ./recode/Makefile ] || exit 0; \
21760 r=`${PWD_COMMAND}`; export r; \
21761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21762 $(HOST_EXPORTS) \
21763 for flag in $(EXTRA_HOST_FLAGS) ; do \
21764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21765 done; \
21766 echo "Doing installcheck in recode" ; \
21767 (cd $(HOST_SUBDIR)/recode && \
21768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21770 "RANLIB=$${RANLIB}" \
21771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21772 installcheck) \
21773 || exit 1
21775 @endif recode
21777 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21778 maybe-mostlyclean-recode:
21779 @if recode
21780 maybe-mostlyclean-recode: mostlyclean-recode
21782 mostlyclean-recode:
21783 @: $(MAKE); $(unstage)
21784 @[ -f ./recode/Makefile ] || exit 0; \
21785 r=`${PWD_COMMAND}`; export r; \
21786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 $(HOST_EXPORTS) \
21788 for flag in $(EXTRA_HOST_FLAGS) ; do \
21789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21790 done; \
21791 echo "Doing mostlyclean in recode" ; \
21792 (cd $(HOST_SUBDIR)/recode && \
21793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21795 "RANLIB=$${RANLIB}" \
21796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21797 mostlyclean) \
21798 || exit 1
21800 @endif recode
21802 .PHONY: maybe-clean-recode clean-recode
21803 maybe-clean-recode:
21804 @if recode
21805 maybe-clean-recode: clean-recode
21807 clean-recode:
21808 @: $(MAKE); $(unstage)
21809 @[ -f ./recode/Makefile ] || exit 0; \
21810 r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 $(HOST_EXPORTS) \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 done; \
21816 echo "Doing clean in recode" ; \
21817 (cd $(HOST_SUBDIR)/recode && \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21822 clean) \
21823 || exit 1
21825 @endif recode
21827 .PHONY: maybe-distclean-recode distclean-recode
21828 maybe-distclean-recode:
21829 @if recode
21830 maybe-distclean-recode: distclean-recode
21832 distclean-recode:
21833 @: $(MAKE); $(unstage)
21834 @[ -f ./recode/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21837 $(HOST_EXPORTS) \
21838 for flag in $(EXTRA_HOST_FLAGS) ; do \
21839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21840 done; \
21841 echo "Doing distclean in recode" ; \
21842 (cd $(HOST_SUBDIR)/recode && \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21845 "RANLIB=$${RANLIB}" \
21846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21847 distclean) \
21848 || exit 1
21850 @endif recode
21852 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21853 maybe-maintainer-clean-recode:
21854 @if recode
21855 maybe-maintainer-clean-recode: maintainer-clean-recode
21857 maintainer-clean-recode:
21858 @: $(MAKE); $(unstage)
21859 @[ -f ./recode/Makefile ] || exit 0; \
21860 r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 for flag in $(EXTRA_HOST_FLAGS) ; do \
21864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21865 done; \
21866 echo "Doing maintainer-clean in recode" ; \
21867 (cd $(HOST_SUBDIR)/recode && \
21868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21870 "RANLIB=$${RANLIB}" \
21871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21872 maintainer-clean) \
21873 || exit 1
21875 @endif recode
21879 .PHONY: configure-sed maybe-configure-sed
21880 maybe-configure-sed:
21881 @if sed
21882 maybe-configure-sed: configure-sed
21883 configure-sed:
21884 @: $(MAKE); $(unstage)
21885 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889 $(HOST_EXPORTS) \
21890 echo Configuring in $(HOST_SUBDIR)/sed; \
21891 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21892 case $(srcdir) in \
21893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21894 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21896 esac; \
21897 srcdiroption="--srcdir=$${topdir}/sed"; \
21898 libsrcdir="$$s/sed"; \
21899 $(SHELL) $${libsrcdir}/configure \
21900 $(HOST_CONFIGARGS) $${srcdiroption} \
21901 || exit 1
21902 @endif sed
21908 .PHONY: all-sed maybe-all-sed
21909 maybe-all-sed:
21910 @if sed
21911 TARGET-sed=all
21912 maybe-all-sed: all-sed
21913 all-sed: configure-sed
21914 @: $(MAKE); $(unstage)
21915 @r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 $(HOST_EXPORTS) \
21918 (cd $(HOST_SUBDIR)/sed && \
21919 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21920 @endif sed
21925 .PHONY: check-sed maybe-check-sed
21926 maybe-check-sed:
21927 @if sed
21928 maybe-check-sed: check-sed
21930 check-sed:
21931 @: $(MAKE); $(unstage)
21932 @r=`${PWD_COMMAND}`; export r; \
21933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21934 $(HOST_EXPORTS) \
21935 (cd $(HOST_SUBDIR)/sed && \
21936 $(MAKE) $(FLAGS_TO_PASS) check)
21938 @endif sed
21940 .PHONY: install-sed maybe-install-sed
21941 maybe-install-sed:
21942 @if sed
21943 maybe-install-sed: install-sed
21945 install-sed: installdirs
21946 @: $(MAKE); $(unstage)
21947 @r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 (cd $(HOST_SUBDIR)/sed && \
21951 $(MAKE) $(FLAGS_TO_PASS) install)
21953 @endif sed
21955 # Other targets (info, dvi, etc.)
21957 .PHONY: maybe-info-sed info-sed
21958 maybe-info-sed:
21959 @if sed
21960 maybe-info-sed: info-sed
21962 info-sed: \
21963 configure-sed
21964 @: $(MAKE); $(unstage)
21965 @[ -f ./sed/Makefile ] || exit 0; \
21966 r=`${PWD_COMMAND}`; export r; \
21967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21968 $(HOST_EXPORTS) \
21969 for flag in $(EXTRA_HOST_FLAGS) ; do \
21970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21971 done; \
21972 echo "Doing info in sed" ; \
21973 (cd $(HOST_SUBDIR)/sed && \
21974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21976 "RANLIB=$${RANLIB}" \
21977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21978 info) \
21979 || exit 1
21981 @endif sed
21983 .PHONY: maybe-dvi-sed dvi-sed
21984 maybe-dvi-sed:
21985 @if sed
21986 maybe-dvi-sed: dvi-sed
21988 dvi-sed: \
21989 configure-sed
21990 @: $(MAKE); $(unstage)
21991 @[ -f ./sed/Makefile ] || exit 0; \
21992 r=`${PWD_COMMAND}`; export r; \
21993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21994 $(HOST_EXPORTS) \
21995 for flag in $(EXTRA_HOST_FLAGS) ; do \
21996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21997 done; \
21998 echo "Doing dvi in sed" ; \
21999 (cd $(HOST_SUBDIR)/sed && \
22000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22002 "RANLIB=$${RANLIB}" \
22003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22004 dvi) \
22005 || exit 1
22007 @endif sed
22009 .PHONY: maybe-html-sed html-sed
22010 maybe-html-sed:
22011 @if sed
22012 maybe-html-sed: html-sed
22014 html-sed: \
22015 configure-sed
22016 @: $(MAKE); $(unstage)
22017 @[ -f ./sed/Makefile ] || exit 0; \
22018 r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 $(HOST_EXPORTS) \
22021 for flag in $(EXTRA_HOST_FLAGS) ; do \
22022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 done; \
22024 echo "Doing html in sed" ; \
22025 (cd $(HOST_SUBDIR)/sed && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22028 "RANLIB=$${RANLIB}" \
22029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22030 html) \
22031 || exit 1
22033 @endif sed
22035 .PHONY: maybe-TAGS-sed TAGS-sed
22036 maybe-TAGS-sed:
22037 @if sed
22038 maybe-TAGS-sed: TAGS-sed
22040 TAGS-sed: \
22041 configure-sed
22042 @: $(MAKE); $(unstage)
22043 @[ -f ./sed/Makefile ] || exit 0; \
22044 r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 $(HOST_EXPORTS) \
22047 for flag in $(EXTRA_HOST_FLAGS) ; do \
22048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22049 done; \
22050 echo "Doing TAGS in sed" ; \
22051 (cd $(HOST_SUBDIR)/sed && \
22052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22054 "RANLIB=$${RANLIB}" \
22055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22056 TAGS) \
22057 || exit 1
22059 @endif sed
22061 .PHONY: maybe-install-info-sed install-info-sed
22062 maybe-install-info-sed:
22063 @if sed
22064 maybe-install-info-sed: install-info-sed
22066 install-info-sed: \
22067 configure-sed \
22068 info-sed
22069 @: $(MAKE); $(unstage)
22070 @[ -f ./sed/Makefile ] || exit 0; \
22071 r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 $(HOST_EXPORTS) \
22074 for flag in $(EXTRA_HOST_FLAGS) ; do \
22075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22076 done; \
22077 echo "Doing install-info in sed" ; \
22078 (cd $(HOST_SUBDIR)/sed && \
22079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22081 "RANLIB=$${RANLIB}" \
22082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22083 install-info) \
22084 || exit 1
22086 @endif sed
22088 .PHONY: maybe-installcheck-sed installcheck-sed
22089 maybe-installcheck-sed:
22090 @if sed
22091 maybe-installcheck-sed: installcheck-sed
22093 installcheck-sed: \
22094 configure-sed
22095 @: $(MAKE); $(unstage)
22096 @[ -f ./sed/Makefile ] || exit 0; \
22097 r=`${PWD_COMMAND}`; export r; \
22098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22099 $(HOST_EXPORTS) \
22100 for flag in $(EXTRA_HOST_FLAGS) ; do \
22101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22102 done; \
22103 echo "Doing installcheck in sed" ; \
22104 (cd $(HOST_SUBDIR)/sed && \
22105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22107 "RANLIB=$${RANLIB}" \
22108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22109 installcheck) \
22110 || exit 1
22112 @endif sed
22114 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22115 maybe-mostlyclean-sed:
22116 @if sed
22117 maybe-mostlyclean-sed: mostlyclean-sed
22119 mostlyclean-sed:
22120 @: $(MAKE); $(unstage)
22121 @[ -f ./sed/Makefile ] || exit 0; \
22122 r=`${PWD_COMMAND}`; export r; \
22123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22124 $(HOST_EXPORTS) \
22125 for flag in $(EXTRA_HOST_FLAGS) ; do \
22126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22127 done; \
22128 echo "Doing mostlyclean in sed" ; \
22129 (cd $(HOST_SUBDIR)/sed && \
22130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22132 "RANLIB=$${RANLIB}" \
22133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22134 mostlyclean) \
22135 || exit 1
22137 @endif sed
22139 .PHONY: maybe-clean-sed clean-sed
22140 maybe-clean-sed:
22141 @if sed
22142 maybe-clean-sed: clean-sed
22144 clean-sed:
22145 @: $(MAKE); $(unstage)
22146 @[ -f ./sed/Makefile ] || exit 0; \
22147 r=`${PWD_COMMAND}`; export r; \
22148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22149 $(HOST_EXPORTS) \
22150 for flag in $(EXTRA_HOST_FLAGS) ; do \
22151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22152 done; \
22153 echo "Doing clean in sed" ; \
22154 (cd $(HOST_SUBDIR)/sed && \
22155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157 "RANLIB=$${RANLIB}" \
22158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22159 clean) \
22160 || exit 1
22162 @endif sed
22164 .PHONY: maybe-distclean-sed distclean-sed
22165 maybe-distclean-sed:
22166 @if sed
22167 maybe-distclean-sed: distclean-sed
22169 distclean-sed:
22170 @: $(MAKE); $(unstage)
22171 @[ -f ./sed/Makefile ] || exit 0; \
22172 r=`${PWD_COMMAND}`; export r; \
22173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22174 $(HOST_EXPORTS) \
22175 for flag in $(EXTRA_HOST_FLAGS) ; do \
22176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22177 done; \
22178 echo "Doing distclean in sed" ; \
22179 (cd $(HOST_SUBDIR)/sed && \
22180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22182 "RANLIB=$${RANLIB}" \
22183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22184 distclean) \
22185 || exit 1
22187 @endif sed
22189 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22190 maybe-maintainer-clean-sed:
22191 @if sed
22192 maybe-maintainer-clean-sed: maintainer-clean-sed
22194 maintainer-clean-sed:
22195 @: $(MAKE); $(unstage)
22196 @[ -f ./sed/Makefile ] || exit 0; \
22197 r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 $(HOST_EXPORTS) \
22200 for flag in $(EXTRA_HOST_FLAGS) ; do \
22201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22202 done; \
22203 echo "Doing maintainer-clean in sed" ; \
22204 (cd $(HOST_SUBDIR)/sed && \
22205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22207 "RANLIB=$${RANLIB}" \
22208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22209 maintainer-clean) \
22210 || exit 1
22212 @endif sed
22216 .PHONY: configure-send-pr maybe-configure-send-pr
22217 maybe-configure-send-pr:
22218 @if send-pr
22219 maybe-configure-send-pr: configure-send-pr
22220 configure-send-pr:
22221 @: $(MAKE); $(unstage)
22222 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22224 r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226 $(HOST_EXPORTS) \
22227 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22228 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22229 case $(srcdir) in \
22230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22231 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22233 esac; \
22234 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22235 libsrcdir="$$s/send-pr"; \
22236 $(SHELL) $${libsrcdir}/configure \
22237 $(HOST_CONFIGARGS) $${srcdiroption} \
22238 || exit 1
22239 @endif send-pr
22245 .PHONY: all-send-pr maybe-all-send-pr
22246 maybe-all-send-pr:
22247 @if send-pr
22248 TARGET-send-pr=all
22249 maybe-all-send-pr: all-send-pr
22250 all-send-pr: configure-send-pr
22251 @: $(MAKE); $(unstage)
22252 @r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(HOST_EXPORTS) \
22255 (cd $(HOST_SUBDIR)/send-pr && \
22256 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22257 @endif send-pr
22262 .PHONY: check-send-pr maybe-check-send-pr
22263 maybe-check-send-pr:
22264 @if send-pr
22265 maybe-check-send-pr: check-send-pr
22267 check-send-pr:
22268 @: $(MAKE); $(unstage)
22269 @r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(HOST_EXPORTS) \
22272 (cd $(HOST_SUBDIR)/send-pr && \
22273 $(MAKE) $(FLAGS_TO_PASS) check)
22275 @endif send-pr
22277 .PHONY: install-send-pr maybe-install-send-pr
22278 maybe-install-send-pr:
22279 @if send-pr
22280 maybe-install-send-pr: install-send-pr
22282 install-send-pr: installdirs
22283 @: $(MAKE); $(unstage)
22284 @r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(HOST_EXPORTS) \
22287 (cd $(HOST_SUBDIR)/send-pr && \
22288 $(MAKE) $(FLAGS_TO_PASS) install)
22290 @endif send-pr
22292 # Other targets (info, dvi, etc.)
22294 .PHONY: maybe-info-send-pr info-send-pr
22295 maybe-info-send-pr:
22296 @if send-pr
22297 maybe-info-send-pr: info-send-pr
22299 info-send-pr: \
22300 configure-send-pr
22301 @: $(MAKE); $(unstage)
22302 @[ -f ./send-pr/Makefile ] || exit 0; \
22303 r=`${PWD_COMMAND}`; export r; \
22304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22305 $(HOST_EXPORTS) \
22306 for flag in $(EXTRA_HOST_FLAGS) ; do \
22307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22308 done; \
22309 echo "Doing info in send-pr" ; \
22310 (cd $(HOST_SUBDIR)/send-pr && \
22311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313 "RANLIB=$${RANLIB}" \
22314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22315 info) \
22316 || exit 1
22318 @endif send-pr
22320 .PHONY: maybe-dvi-send-pr dvi-send-pr
22321 maybe-dvi-send-pr:
22322 @if send-pr
22323 maybe-dvi-send-pr: dvi-send-pr
22325 dvi-send-pr: \
22326 configure-send-pr
22327 @: $(MAKE); $(unstage)
22328 @[ -f ./send-pr/Makefile ] || exit 0; \
22329 r=`${PWD_COMMAND}`; export r; \
22330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22331 $(HOST_EXPORTS) \
22332 for flag in $(EXTRA_HOST_FLAGS) ; do \
22333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22334 done; \
22335 echo "Doing dvi in send-pr" ; \
22336 (cd $(HOST_SUBDIR)/send-pr && \
22337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22339 "RANLIB=$${RANLIB}" \
22340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22341 dvi) \
22342 || exit 1
22344 @endif send-pr
22346 .PHONY: maybe-html-send-pr html-send-pr
22347 maybe-html-send-pr:
22348 @if send-pr
22349 maybe-html-send-pr: html-send-pr
22351 html-send-pr: \
22352 configure-send-pr
22353 @: $(MAKE); $(unstage)
22354 @[ -f ./send-pr/Makefile ] || exit 0; \
22355 r=`${PWD_COMMAND}`; export r; \
22356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22357 $(HOST_EXPORTS) \
22358 for flag in $(EXTRA_HOST_FLAGS) ; do \
22359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22360 done; \
22361 echo "Doing html in send-pr" ; \
22362 (cd $(HOST_SUBDIR)/send-pr && \
22363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22365 "RANLIB=$${RANLIB}" \
22366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22367 html) \
22368 || exit 1
22370 @endif send-pr
22372 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22373 maybe-TAGS-send-pr:
22374 @if send-pr
22375 maybe-TAGS-send-pr: TAGS-send-pr
22377 TAGS-send-pr: \
22378 configure-send-pr
22379 @: $(MAKE); $(unstage)
22380 @[ -f ./send-pr/Makefile ] || exit 0; \
22381 r=`${PWD_COMMAND}`; export r; \
22382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(HOST_EXPORTS) \
22384 for flag in $(EXTRA_HOST_FLAGS) ; do \
22385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22386 done; \
22387 echo "Doing TAGS in send-pr" ; \
22388 (cd $(HOST_SUBDIR)/send-pr && \
22389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22391 "RANLIB=$${RANLIB}" \
22392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22393 TAGS) \
22394 || exit 1
22396 @endif send-pr
22398 .PHONY: maybe-install-info-send-pr install-info-send-pr
22399 maybe-install-info-send-pr:
22400 @if send-pr
22401 maybe-install-info-send-pr: install-info-send-pr
22403 install-info-send-pr: \
22404 configure-send-pr \
22405 info-send-pr
22406 @: $(MAKE); $(unstage)
22407 @[ -f ./send-pr/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 $(HOST_EXPORTS) \
22411 for flag in $(EXTRA_HOST_FLAGS) ; do \
22412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22413 done; \
22414 echo "Doing install-info in send-pr" ; \
22415 (cd $(HOST_SUBDIR)/send-pr && \
22416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22418 "RANLIB=$${RANLIB}" \
22419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22420 install-info) \
22421 || exit 1
22423 @endif send-pr
22425 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22426 maybe-installcheck-send-pr:
22427 @if send-pr
22428 maybe-installcheck-send-pr: installcheck-send-pr
22430 installcheck-send-pr: \
22431 configure-send-pr
22432 @: $(MAKE); $(unstage)
22433 @[ -f ./send-pr/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) ; do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing installcheck in send-pr" ; \
22441 (cd $(HOST_SUBDIR)/send-pr && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22446 installcheck) \
22447 || exit 1
22449 @endif send-pr
22451 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22452 maybe-mostlyclean-send-pr:
22453 @if send-pr
22454 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22456 mostlyclean-send-pr:
22457 @: $(MAKE); $(unstage)
22458 @[ -f ./send-pr/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(HOST_EXPORTS) \
22462 for flag in $(EXTRA_HOST_FLAGS) ; do \
22463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22464 done; \
22465 echo "Doing mostlyclean in send-pr" ; \
22466 (cd $(HOST_SUBDIR)/send-pr && \
22467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22469 "RANLIB=$${RANLIB}" \
22470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22471 mostlyclean) \
22472 || exit 1
22474 @endif send-pr
22476 .PHONY: maybe-clean-send-pr clean-send-pr
22477 maybe-clean-send-pr:
22478 @if send-pr
22479 maybe-clean-send-pr: clean-send-pr
22481 clean-send-pr:
22482 @: $(MAKE); $(unstage)
22483 @[ -f ./send-pr/Makefile ] || exit 0; \
22484 r=`${PWD_COMMAND}`; export r; \
22485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22486 $(HOST_EXPORTS) \
22487 for flag in $(EXTRA_HOST_FLAGS) ; do \
22488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22489 done; \
22490 echo "Doing clean in send-pr" ; \
22491 (cd $(HOST_SUBDIR)/send-pr && \
22492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22494 "RANLIB=$${RANLIB}" \
22495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22496 clean) \
22497 || exit 1
22499 @endif send-pr
22501 .PHONY: maybe-distclean-send-pr distclean-send-pr
22502 maybe-distclean-send-pr:
22503 @if send-pr
22504 maybe-distclean-send-pr: distclean-send-pr
22506 distclean-send-pr:
22507 @: $(MAKE); $(unstage)
22508 @[ -f ./send-pr/Makefile ] || exit 0; \
22509 r=`${PWD_COMMAND}`; export r; \
22510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22511 $(HOST_EXPORTS) \
22512 for flag in $(EXTRA_HOST_FLAGS) ; do \
22513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22514 done; \
22515 echo "Doing distclean in send-pr" ; \
22516 (cd $(HOST_SUBDIR)/send-pr && \
22517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22519 "RANLIB=$${RANLIB}" \
22520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22521 distclean) \
22522 || exit 1
22524 @endif send-pr
22526 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22527 maybe-maintainer-clean-send-pr:
22528 @if send-pr
22529 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22531 maintainer-clean-send-pr:
22532 @: $(MAKE); $(unstage)
22533 @[ -f ./send-pr/Makefile ] || exit 0; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(HOST_EXPORTS) \
22537 for flag in $(EXTRA_HOST_FLAGS) ; do \
22538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22539 done; \
22540 echo "Doing maintainer-clean in send-pr" ; \
22541 (cd $(HOST_SUBDIR)/send-pr && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22546 maintainer-clean) \
22547 || exit 1
22549 @endif send-pr
22553 .PHONY: configure-shellutils maybe-configure-shellutils
22554 maybe-configure-shellutils:
22555 @if shellutils
22556 maybe-configure-shellutils: configure-shellutils
22557 configure-shellutils:
22558 @: $(MAKE); $(unstage)
22559 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22561 r=`${PWD_COMMAND}`; export r; \
22562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22563 $(HOST_EXPORTS) \
22564 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22565 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22566 case $(srcdir) in \
22567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22568 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22570 esac; \
22571 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22572 libsrcdir="$$s/shellutils"; \
22573 $(SHELL) $${libsrcdir}/configure \
22574 $(HOST_CONFIGARGS) $${srcdiroption} \
22575 || exit 1
22576 @endif shellutils
22582 .PHONY: all-shellutils maybe-all-shellutils
22583 maybe-all-shellutils:
22584 @if shellutils
22585 TARGET-shellutils=all
22586 maybe-all-shellutils: all-shellutils
22587 all-shellutils: configure-shellutils
22588 @: $(MAKE); $(unstage)
22589 @r=`${PWD_COMMAND}`; export r; \
22590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22591 $(HOST_EXPORTS) \
22592 (cd $(HOST_SUBDIR)/shellutils && \
22593 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22594 @endif shellutils
22599 .PHONY: check-shellutils maybe-check-shellutils
22600 maybe-check-shellutils:
22601 @if shellutils
22602 maybe-check-shellutils: check-shellutils
22604 check-shellutils:
22605 @: $(MAKE); $(unstage)
22606 @r=`${PWD_COMMAND}`; export r; \
22607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 $(HOST_EXPORTS) \
22609 (cd $(HOST_SUBDIR)/shellutils && \
22610 $(MAKE) $(FLAGS_TO_PASS) check)
22612 @endif shellutils
22614 .PHONY: install-shellutils maybe-install-shellutils
22615 maybe-install-shellutils:
22616 @if shellutils
22617 maybe-install-shellutils: install-shellutils
22619 install-shellutils: installdirs
22620 @: $(MAKE); $(unstage)
22621 @r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 $(HOST_EXPORTS) \
22624 (cd $(HOST_SUBDIR)/shellutils && \
22625 $(MAKE) $(FLAGS_TO_PASS) install)
22627 @endif shellutils
22629 # Other targets (info, dvi, etc.)
22631 .PHONY: maybe-info-shellutils info-shellutils
22632 maybe-info-shellutils:
22633 @if shellutils
22634 maybe-info-shellutils: info-shellutils
22636 info-shellutils: \
22637 configure-shellutils
22638 @: $(MAKE); $(unstage)
22639 @[ -f ./shellutils/Makefile ] || exit 0; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22642 $(HOST_EXPORTS) \
22643 for flag in $(EXTRA_HOST_FLAGS) ; do \
22644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22645 done; \
22646 echo "Doing info in shellutils" ; \
22647 (cd $(HOST_SUBDIR)/shellutils && \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 info) \
22653 || exit 1
22655 @endif shellutils
22657 .PHONY: maybe-dvi-shellutils dvi-shellutils
22658 maybe-dvi-shellutils:
22659 @if shellutils
22660 maybe-dvi-shellutils: dvi-shellutils
22662 dvi-shellutils: \
22663 configure-shellutils
22664 @: $(MAKE); $(unstage)
22665 @[ -f ./shellutils/Makefile ] || exit 0; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 $(HOST_EXPORTS) \
22669 for flag in $(EXTRA_HOST_FLAGS) ; do \
22670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22671 done; \
22672 echo "Doing dvi in shellutils" ; \
22673 (cd $(HOST_SUBDIR)/shellutils && \
22674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22676 "RANLIB=$${RANLIB}" \
22677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22678 dvi) \
22679 || exit 1
22681 @endif shellutils
22683 .PHONY: maybe-html-shellutils html-shellutils
22684 maybe-html-shellutils:
22685 @if shellutils
22686 maybe-html-shellutils: html-shellutils
22688 html-shellutils: \
22689 configure-shellutils
22690 @: $(MAKE); $(unstage)
22691 @[ -f ./shellutils/Makefile ] || exit 0; \
22692 r=`${PWD_COMMAND}`; export r; \
22693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22694 $(HOST_EXPORTS) \
22695 for flag in $(EXTRA_HOST_FLAGS) ; do \
22696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22697 done; \
22698 echo "Doing html in shellutils" ; \
22699 (cd $(HOST_SUBDIR)/shellutils && \
22700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22702 "RANLIB=$${RANLIB}" \
22703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22704 html) \
22705 || exit 1
22707 @endif shellutils
22709 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22710 maybe-TAGS-shellutils:
22711 @if shellutils
22712 maybe-TAGS-shellutils: TAGS-shellutils
22714 TAGS-shellutils: \
22715 configure-shellutils
22716 @: $(MAKE); $(unstage)
22717 @[ -f ./shellutils/Makefile ] || exit 0; \
22718 r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 $(HOST_EXPORTS) \
22721 for flag in $(EXTRA_HOST_FLAGS) ; do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723 done; \
22724 echo "Doing TAGS in shellutils" ; \
22725 (cd $(HOST_SUBDIR)/shellutils && \
22726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22728 "RANLIB=$${RANLIB}" \
22729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22730 TAGS) \
22731 || exit 1
22733 @endif shellutils
22735 .PHONY: maybe-install-info-shellutils install-info-shellutils
22736 maybe-install-info-shellutils:
22737 @if shellutils
22738 maybe-install-info-shellutils: install-info-shellutils
22740 install-info-shellutils: \
22741 configure-shellutils \
22742 info-shellutils
22743 @: $(MAKE); $(unstage)
22744 @[ -f ./shellutils/Makefile ] || exit 0; \
22745 r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 $(HOST_EXPORTS) \
22748 for flag in $(EXTRA_HOST_FLAGS) ; do \
22749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22750 done; \
22751 echo "Doing install-info in shellutils" ; \
22752 (cd $(HOST_SUBDIR)/shellutils && \
22753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22755 "RANLIB=$${RANLIB}" \
22756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22757 install-info) \
22758 || exit 1
22760 @endif shellutils
22762 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22763 maybe-installcheck-shellutils:
22764 @if shellutils
22765 maybe-installcheck-shellutils: installcheck-shellutils
22767 installcheck-shellutils: \
22768 configure-shellutils
22769 @: $(MAKE); $(unstage)
22770 @[ -f ./shellutils/Makefile ] || exit 0; \
22771 r=`${PWD_COMMAND}`; export r; \
22772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22773 $(HOST_EXPORTS) \
22774 for flag in $(EXTRA_HOST_FLAGS) ; do \
22775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22776 done; \
22777 echo "Doing installcheck in shellutils" ; \
22778 (cd $(HOST_SUBDIR)/shellutils && \
22779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22781 "RANLIB=$${RANLIB}" \
22782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22783 installcheck) \
22784 || exit 1
22786 @endif shellutils
22788 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22789 maybe-mostlyclean-shellutils:
22790 @if shellutils
22791 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22793 mostlyclean-shellutils:
22794 @: $(MAKE); $(unstage)
22795 @[ -f ./shellutils/Makefile ] || exit 0; \
22796 r=`${PWD_COMMAND}`; export r; \
22797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798 $(HOST_EXPORTS) \
22799 for flag in $(EXTRA_HOST_FLAGS) ; do \
22800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22801 done; \
22802 echo "Doing mostlyclean in shellutils" ; \
22803 (cd $(HOST_SUBDIR)/shellutils && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 mostlyclean) \
22809 || exit 1
22811 @endif shellutils
22813 .PHONY: maybe-clean-shellutils clean-shellutils
22814 maybe-clean-shellutils:
22815 @if shellutils
22816 maybe-clean-shellutils: clean-shellutils
22818 clean-shellutils:
22819 @: $(MAKE); $(unstage)
22820 @[ -f ./shellutils/Makefile ] || exit 0; \
22821 r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 $(HOST_EXPORTS) \
22824 for flag in $(EXTRA_HOST_FLAGS) ; do \
22825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22826 done; \
22827 echo "Doing clean in shellutils" ; \
22828 (cd $(HOST_SUBDIR)/shellutils && \
22829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22831 "RANLIB=$${RANLIB}" \
22832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22833 clean) \
22834 || exit 1
22836 @endif shellutils
22838 .PHONY: maybe-distclean-shellutils distclean-shellutils
22839 maybe-distclean-shellutils:
22840 @if shellutils
22841 maybe-distclean-shellutils: distclean-shellutils
22843 distclean-shellutils:
22844 @: $(MAKE); $(unstage)
22845 @[ -f ./shellutils/Makefile ] || exit 0; \
22846 r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 $(HOST_EXPORTS) \
22849 for flag in $(EXTRA_HOST_FLAGS) ; do \
22850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22851 done; \
22852 echo "Doing distclean in shellutils" ; \
22853 (cd $(HOST_SUBDIR)/shellutils && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22858 distclean) \
22859 || exit 1
22861 @endif shellutils
22863 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22864 maybe-maintainer-clean-shellutils:
22865 @if shellutils
22866 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22868 maintainer-clean-shellutils:
22869 @: $(MAKE); $(unstage)
22870 @[ -f ./shellutils/Makefile ] || exit 0; \
22871 r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 $(HOST_EXPORTS) \
22874 for flag in $(EXTRA_HOST_FLAGS) ; do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 echo "Doing maintainer-clean in shellutils" ; \
22878 (cd $(HOST_SUBDIR)/shellutils && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22883 maintainer-clean) \
22884 || exit 1
22886 @endif shellutils
22890 .PHONY: configure-sid maybe-configure-sid
22891 maybe-configure-sid:
22892 @if sid
22893 maybe-configure-sid: configure-sid
22894 configure-sid:
22895 @: $(MAKE); $(unstage)
22896 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 $(HOST_EXPORTS) \
22901 echo Configuring in $(HOST_SUBDIR)/sid; \
22902 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22903 case $(srcdir) in \
22904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22905 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22907 esac; \
22908 srcdiroption="--srcdir=$${topdir}/sid"; \
22909 libsrcdir="$$s/sid"; \
22910 $(SHELL) $${libsrcdir}/configure \
22911 $(HOST_CONFIGARGS) $${srcdiroption} \
22912 || exit 1
22913 @endif sid
22919 .PHONY: all-sid maybe-all-sid
22920 maybe-all-sid:
22921 @if sid
22922 TARGET-sid=all
22923 maybe-all-sid: all-sid
22924 all-sid: configure-sid
22925 @: $(MAKE); $(unstage)
22926 @r=`${PWD_COMMAND}`; export r; \
22927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22928 $(HOST_EXPORTS) \
22929 (cd $(HOST_SUBDIR)/sid && \
22930 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22931 @endif sid
22936 .PHONY: check-sid maybe-check-sid
22937 maybe-check-sid:
22938 @if sid
22939 maybe-check-sid: check-sid
22941 check-sid:
22942 @: $(MAKE); $(unstage)
22943 @r=`${PWD_COMMAND}`; export r; \
22944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22945 $(HOST_EXPORTS) \
22946 (cd $(HOST_SUBDIR)/sid && \
22947 $(MAKE) $(FLAGS_TO_PASS) check)
22949 @endif sid
22951 .PHONY: install-sid maybe-install-sid
22952 maybe-install-sid:
22953 @if sid
22954 maybe-install-sid: install-sid
22956 install-sid: installdirs
22957 @: $(MAKE); $(unstage)
22958 @r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 $(HOST_EXPORTS) \
22961 (cd $(HOST_SUBDIR)/sid && \
22962 $(MAKE) $(FLAGS_TO_PASS) install)
22964 @endif sid
22966 # Other targets (info, dvi, etc.)
22968 .PHONY: maybe-info-sid info-sid
22969 maybe-info-sid:
22970 @if sid
22971 maybe-info-sid: info-sid
22973 info-sid: \
22974 configure-sid
22975 @: $(MAKE); $(unstage)
22976 @[ -f ./sid/Makefile ] || exit 0; \
22977 r=`${PWD_COMMAND}`; export r; \
22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22979 $(HOST_EXPORTS) \
22980 for flag in $(EXTRA_HOST_FLAGS) ; do \
22981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22982 done; \
22983 echo "Doing info in sid" ; \
22984 (cd $(HOST_SUBDIR)/sid && \
22985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22987 "RANLIB=$${RANLIB}" \
22988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22989 info) \
22990 || exit 1
22992 @endif sid
22994 .PHONY: maybe-dvi-sid dvi-sid
22995 maybe-dvi-sid:
22996 @if sid
22997 maybe-dvi-sid: dvi-sid
22999 dvi-sid: \
23000 configure-sid
23001 @: $(MAKE); $(unstage)
23002 @[ -f ./sid/Makefile ] || exit 0; \
23003 r=`${PWD_COMMAND}`; export r; \
23004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23005 $(HOST_EXPORTS) \
23006 for flag in $(EXTRA_HOST_FLAGS) ; do \
23007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23008 done; \
23009 echo "Doing dvi in sid" ; \
23010 (cd $(HOST_SUBDIR)/sid && \
23011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23013 "RANLIB=$${RANLIB}" \
23014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23015 dvi) \
23016 || exit 1
23018 @endif sid
23020 .PHONY: maybe-html-sid html-sid
23021 maybe-html-sid:
23022 @if sid
23023 maybe-html-sid: html-sid
23025 html-sid: \
23026 configure-sid
23027 @: $(MAKE); $(unstage)
23028 @[ -f ./sid/Makefile ] || exit 0; \
23029 r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 $(HOST_EXPORTS) \
23032 for flag in $(EXTRA_HOST_FLAGS) ; do \
23033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23034 done; \
23035 echo "Doing html in sid" ; \
23036 (cd $(HOST_SUBDIR)/sid && \
23037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23039 "RANLIB=$${RANLIB}" \
23040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23041 html) \
23042 || exit 1
23044 @endif sid
23046 .PHONY: maybe-TAGS-sid TAGS-sid
23047 maybe-TAGS-sid:
23048 @if sid
23049 maybe-TAGS-sid: TAGS-sid
23051 TAGS-sid: \
23052 configure-sid
23053 @: $(MAKE); $(unstage)
23054 @[ -f ./sid/Makefile ] || exit 0; \
23055 r=`${PWD_COMMAND}`; export r; \
23056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23057 $(HOST_EXPORTS) \
23058 for flag in $(EXTRA_HOST_FLAGS) ; do \
23059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23060 done; \
23061 echo "Doing TAGS in sid" ; \
23062 (cd $(HOST_SUBDIR)/sid && \
23063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23065 "RANLIB=$${RANLIB}" \
23066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23067 TAGS) \
23068 || exit 1
23070 @endif sid
23072 .PHONY: maybe-install-info-sid install-info-sid
23073 maybe-install-info-sid:
23074 @if sid
23075 maybe-install-info-sid: install-info-sid
23077 install-info-sid: \
23078 configure-sid \
23079 info-sid
23080 @: $(MAKE); $(unstage)
23081 @[ -f ./sid/Makefile ] || exit 0; \
23082 r=`${PWD_COMMAND}`; export r; \
23083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23084 $(HOST_EXPORTS) \
23085 for flag in $(EXTRA_HOST_FLAGS) ; do \
23086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23087 done; \
23088 echo "Doing install-info in sid" ; \
23089 (cd $(HOST_SUBDIR)/sid && \
23090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23092 "RANLIB=$${RANLIB}" \
23093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23094 install-info) \
23095 || exit 1
23097 @endif sid
23099 .PHONY: maybe-installcheck-sid installcheck-sid
23100 maybe-installcheck-sid:
23101 @if sid
23102 maybe-installcheck-sid: installcheck-sid
23104 installcheck-sid: \
23105 configure-sid
23106 @: $(MAKE); $(unstage)
23107 @[ -f ./sid/Makefile ] || exit 0; \
23108 r=`${PWD_COMMAND}`; export r; \
23109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23110 $(HOST_EXPORTS) \
23111 for flag in $(EXTRA_HOST_FLAGS) ; do \
23112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23113 done; \
23114 echo "Doing installcheck in sid" ; \
23115 (cd $(HOST_SUBDIR)/sid && \
23116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23118 "RANLIB=$${RANLIB}" \
23119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23120 installcheck) \
23121 || exit 1
23123 @endif sid
23125 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23126 maybe-mostlyclean-sid:
23127 @if sid
23128 maybe-mostlyclean-sid: mostlyclean-sid
23130 mostlyclean-sid:
23131 @: $(MAKE); $(unstage)
23132 @[ -f ./sid/Makefile ] || exit 0; \
23133 r=`${PWD_COMMAND}`; export r; \
23134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23135 $(HOST_EXPORTS) \
23136 for flag in $(EXTRA_HOST_FLAGS) ; do \
23137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23138 done; \
23139 echo "Doing mostlyclean in sid" ; \
23140 (cd $(HOST_SUBDIR)/sid && \
23141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23143 "RANLIB=$${RANLIB}" \
23144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23145 mostlyclean) \
23146 || exit 1
23148 @endif sid
23150 .PHONY: maybe-clean-sid clean-sid
23151 maybe-clean-sid:
23152 @if sid
23153 maybe-clean-sid: clean-sid
23155 clean-sid:
23156 @: $(MAKE); $(unstage)
23157 @[ -f ./sid/Makefile ] || exit 0; \
23158 r=`${PWD_COMMAND}`; export r; \
23159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23160 $(HOST_EXPORTS) \
23161 for flag in $(EXTRA_HOST_FLAGS) ; do \
23162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23163 done; \
23164 echo "Doing clean in sid" ; \
23165 (cd $(HOST_SUBDIR)/sid && \
23166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23168 "RANLIB=$${RANLIB}" \
23169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23170 clean) \
23171 || exit 1
23173 @endif sid
23175 .PHONY: maybe-distclean-sid distclean-sid
23176 maybe-distclean-sid:
23177 @if sid
23178 maybe-distclean-sid: distclean-sid
23180 distclean-sid:
23181 @: $(MAKE); $(unstage)
23182 @[ -f ./sid/Makefile ] || exit 0; \
23183 r=`${PWD_COMMAND}`; export r; \
23184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23185 $(HOST_EXPORTS) \
23186 for flag in $(EXTRA_HOST_FLAGS) ; do \
23187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23188 done; \
23189 echo "Doing distclean in sid" ; \
23190 (cd $(HOST_SUBDIR)/sid && \
23191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23193 "RANLIB=$${RANLIB}" \
23194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23195 distclean) \
23196 || exit 1
23198 @endif sid
23200 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23201 maybe-maintainer-clean-sid:
23202 @if sid
23203 maybe-maintainer-clean-sid: maintainer-clean-sid
23205 maintainer-clean-sid:
23206 @: $(MAKE); $(unstage)
23207 @[ -f ./sid/Makefile ] || exit 0; \
23208 r=`${PWD_COMMAND}`; export r; \
23209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23210 $(HOST_EXPORTS) \
23211 for flag in $(EXTRA_HOST_FLAGS) ; do \
23212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23213 done; \
23214 echo "Doing maintainer-clean in sid" ; \
23215 (cd $(HOST_SUBDIR)/sid && \
23216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23218 "RANLIB=$${RANLIB}" \
23219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23220 maintainer-clean) \
23221 || exit 1
23223 @endif sid
23227 .PHONY: configure-sim maybe-configure-sim
23228 maybe-configure-sim:
23229 @if sim
23230 maybe-configure-sim: configure-sim
23231 configure-sim:
23232 @: $(MAKE); $(unstage)
23233 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(HOST_EXPORTS) \
23238 echo Configuring in $(HOST_SUBDIR)/sim; \
23239 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23240 case $(srcdir) in \
23241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23242 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23244 esac; \
23245 srcdiroption="--srcdir=$${topdir}/sim"; \
23246 libsrcdir="$$s/sim"; \
23247 $(SHELL) $${libsrcdir}/configure \
23248 $(HOST_CONFIGARGS) $${srcdiroption} \
23249 || exit 1
23250 @endif sim
23256 .PHONY: all-sim maybe-all-sim
23257 maybe-all-sim:
23258 @if sim
23259 TARGET-sim=all
23260 maybe-all-sim: all-sim
23261 all-sim: configure-sim
23262 @: $(MAKE); $(unstage)
23263 @r=`${PWD_COMMAND}`; export r; \
23264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23265 $(HOST_EXPORTS) \
23266 (cd $(HOST_SUBDIR)/sim && \
23267 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23268 @endif sim
23273 .PHONY: check-sim maybe-check-sim
23274 maybe-check-sim:
23275 @if sim
23276 maybe-check-sim: check-sim
23278 check-sim:
23279 @: $(MAKE); $(unstage)
23280 @r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 (cd $(HOST_SUBDIR)/sim && \
23284 $(MAKE) $(FLAGS_TO_PASS) check)
23286 @endif sim
23288 .PHONY: install-sim maybe-install-sim
23289 maybe-install-sim:
23290 @if sim
23291 maybe-install-sim: install-sim
23293 install-sim: installdirs
23294 @: $(MAKE); $(unstage)
23295 @r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 (cd $(HOST_SUBDIR)/sim && \
23299 $(MAKE) $(FLAGS_TO_PASS) install)
23301 @endif sim
23303 # Other targets (info, dvi, etc.)
23305 .PHONY: maybe-info-sim info-sim
23306 maybe-info-sim:
23307 @if sim
23308 maybe-info-sim: info-sim
23310 info-sim: \
23311 configure-sim
23312 @: $(MAKE); $(unstage)
23313 @[ -f ./sim/Makefile ] || exit 0; \
23314 r=`${PWD_COMMAND}`; export r; \
23315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23316 $(HOST_EXPORTS) \
23317 for flag in $(EXTRA_HOST_FLAGS) ; do \
23318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23319 done; \
23320 echo "Doing info in sim" ; \
23321 (cd $(HOST_SUBDIR)/sim && \
23322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23324 "RANLIB=$${RANLIB}" \
23325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23326 info) \
23327 || exit 1
23329 @endif sim
23331 .PHONY: maybe-dvi-sim dvi-sim
23332 maybe-dvi-sim:
23333 @if sim
23334 maybe-dvi-sim: dvi-sim
23336 dvi-sim: \
23337 configure-sim
23338 @: $(MAKE); $(unstage)
23339 @[ -f ./sim/Makefile ] || exit 0; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(HOST_EXPORTS) \
23343 for flag in $(EXTRA_HOST_FLAGS) ; do \
23344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23345 done; \
23346 echo "Doing dvi in sim" ; \
23347 (cd $(HOST_SUBDIR)/sim && \
23348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23350 "RANLIB=$${RANLIB}" \
23351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23352 dvi) \
23353 || exit 1
23355 @endif sim
23357 .PHONY: maybe-html-sim html-sim
23358 maybe-html-sim:
23359 @if sim
23360 maybe-html-sim: html-sim
23362 html-sim: \
23363 configure-sim
23364 @: $(MAKE); $(unstage)
23365 @[ -f ./sim/Makefile ] || exit 0; \
23366 r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(HOST_EXPORTS) \
23369 for flag in $(EXTRA_HOST_FLAGS) ; do \
23370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23371 done; \
23372 echo "Doing html in sim" ; \
23373 (cd $(HOST_SUBDIR)/sim && \
23374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23376 "RANLIB=$${RANLIB}" \
23377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23378 html) \
23379 || exit 1
23381 @endif sim
23383 .PHONY: maybe-TAGS-sim TAGS-sim
23384 maybe-TAGS-sim:
23385 @if sim
23386 maybe-TAGS-sim: TAGS-sim
23388 TAGS-sim: \
23389 configure-sim
23390 @: $(MAKE); $(unstage)
23391 @[ -f ./sim/Makefile ] || exit 0; \
23392 r=`${PWD_COMMAND}`; export r; \
23393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23394 $(HOST_EXPORTS) \
23395 for flag in $(EXTRA_HOST_FLAGS) ; do \
23396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23397 done; \
23398 echo "Doing TAGS in sim" ; \
23399 (cd $(HOST_SUBDIR)/sim && \
23400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23402 "RANLIB=$${RANLIB}" \
23403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23404 TAGS) \
23405 || exit 1
23407 @endif sim
23409 .PHONY: maybe-install-info-sim install-info-sim
23410 maybe-install-info-sim:
23411 @if sim
23412 maybe-install-info-sim: install-info-sim
23414 install-info-sim: \
23415 configure-sim \
23416 info-sim
23417 @: $(MAKE); $(unstage)
23418 @[ -f ./sim/Makefile ] || exit 0; \
23419 r=`${PWD_COMMAND}`; export r; \
23420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23421 $(HOST_EXPORTS) \
23422 for flag in $(EXTRA_HOST_FLAGS) ; do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23424 done; \
23425 echo "Doing install-info in sim" ; \
23426 (cd $(HOST_SUBDIR)/sim && \
23427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23429 "RANLIB=$${RANLIB}" \
23430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23431 install-info) \
23432 || exit 1
23434 @endif sim
23436 .PHONY: maybe-installcheck-sim installcheck-sim
23437 maybe-installcheck-sim:
23438 @if sim
23439 maybe-installcheck-sim: installcheck-sim
23441 installcheck-sim: \
23442 configure-sim
23443 @: $(MAKE); $(unstage)
23444 @[ -f ./sim/Makefile ] || exit 0; \
23445 r=`${PWD_COMMAND}`; export r; \
23446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23447 $(HOST_EXPORTS) \
23448 for flag in $(EXTRA_HOST_FLAGS) ; do \
23449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450 done; \
23451 echo "Doing installcheck in sim" ; \
23452 (cd $(HOST_SUBDIR)/sim && \
23453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23455 "RANLIB=$${RANLIB}" \
23456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23457 installcheck) \
23458 || exit 1
23460 @endif sim
23462 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23463 maybe-mostlyclean-sim:
23464 @if sim
23465 maybe-mostlyclean-sim: mostlyclean-sim
23467 mostlyclean-sim:
23468 @: $(MAKE); $(unstage)
23469 @[ -f ./sim/Makefile ] || exit 0; \
23470 r=`${PWD_COMMAND}`; export r; \
23471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23472 $(HOST_EXPORTS) \
23473 for flag in $(EXTRA_HOST_FLAGS) ; do \
23474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23475 done; \
23476 echo "Doing mostlyclean in sim" ; \
23477 (cd $(HOST_SUBDIR)/sim && \
23478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480 "RANLIB=$${RANLIB}" \
23481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23482 mostlyclean) \
23483 || exit 1
23485 @endif sim
23487 .PHONY: maybe-clean-sim clean-sim
23488 maybe-clean-sim:
23489 @if sim
23490 maybe-clean-sim: clean-sim
23492 clean-sim:
23493 @: $(MAKE); $(unstage)
23494 @[ -f ./sim/Makefile ] || exit 0; \
23495 r=`${PWD_COMMAND}`; export r; \
23496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23497 $(HOST_EXPORTS) \
23498 for flag in $(EXTRA_HOST_FLAGS) ; do \
23499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23500 done; \
23501 echo "Doing clean in sim" ; \
23502 (cd $(HOST_SUBDIR)/sim && \
23503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23505 "RANLIB=$${RANLIB}" \
23506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23507 clean) \
23508 || exit 1
23510 @endif sim
23512 .PHONY: maybe-distclean-sim distclean-sim
23513 maybe-distclean-sim:
23514 @if sim
23515 maybe-distclean-sim: distclean-sim
23517 distclean-sim:
23518 @: $(MAKE); $(unstage)
23519 @[ -f ./sim/Makefile ] || exit 0; \
23520 r=`${PWD_COMMAND}`; export r; \
23521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23522 $(HOST_EXPORTS) \
23523 for flag in $(EXTRA_HOST_FLAGS) ; do \
23524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23525 done; \
23526 echo "Doing distclean in sim" ; \
23527 (cd $(HOST_SUBDIR)/sim && \
23528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23530 "RANLIB=$${RANLIB}" \
23531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23532 distclean) \
23533 || exit 1
23535 @endif sim
23537 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23538 maybe-maintainer-clean-sim:
23539 @if sim
23540 maybe-maintainer-clean-sim: maintainer-clean-sim
23542 maintainer-clean-sim:
23543 @: $(MAKE); $(unstage)
23544 @[ -f ./sim/Makefile ] || exit 0; \
23545 r=`${PWD_COMMAND}`; export r; \
23546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23547 $(HOST_EXPORTS) \
23548 for flag in $(EXTRA_HOST_FLAGS) ; do \
23549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23550 done; \
23551 echo "Doing maintainer-clean in sim" ; \
23552 (cd $(HOST_SUBDIR)/sim && \
23553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23555 "RANLIB=$${RANLIB}" \
23556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23557 maintainer-clean) \
23558 || exit 1
23560 @endif sim
23564 .PHONY: configure-tar maybe-configure-tar
23565 maybe-configure-tar:
23566 @if tar
23567 maybe-configure-tar: configure-tar
23568 configure-tar:
23569 @: $(MAKE); $(unstage)
23570 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23572 r=`${PWD_COMMAND}`; export r; \
23573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23574 $(HOST_EXPORTS) \
23575 echo Configuring in $(HOST_SUBDIR)/tar; \
23576 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23577 case $(srcdir) in \
23578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23579 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23581 esac; \
23582 srcdiroption="--srcdir=$${topdir}/tar"; \
23583 libsrcdir="$$s/tar"; \
23584 $(SHELL) $${libsrcdir}/configure \
23585 $(HOST_CONFIGARGS) $${srcdiroption} \
23586 || exit 1
23587 @endif tar
23593 .PHONY: all-tar maybe-all-tar
23594 maybe-all-tar:
23595 @if tar
23596 TARGET-tar=all
23597 maybe-all-tar: all-tar
23598 all-tar: configure-tar
23599 @: $(MAKE); $(unstage)
23600 @r=`${PWD_COMMAND}`; export r; \
23601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23602 $(HOST_EXPORTS) \
23603 (cd $(HOST_SUBDIR)/tar && \
23604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23605 @endif tar
23610 .PHONY: check-tar maybe-check-tar
23611 maybe-check-tar:
23612 @if tar
23613 maybe-check-tar: check-tar
23615 check-tar:
23616 @: $(MAKE); $(unstage)
23617 @r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 (cd $(HOST_SUBDIR)/tar && \
23621 $(MAKE) $(FLAGS_TO_PASS) check)
23623 @endif tar
23625 .PHONY: install-tar maybe-install-tar
23626 maybe-install-tar:
23627 @if tar
23628 maybe-install-tar: install-tar
23630 install-tar: installdirs
23631 @: $(MAKE); $(unstage)
23632 @r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 (cd $(HOST_SUBDIR)/tar && \
23636 $(MAKE) $(FLAGS_TO_PASS) install)
23638 @endif tar
23640 # Other targets (info, dvi, etc.)
23642 .PHONY: maybe-info-tar info-tar
23643 maybe-info-tar:
23644 @if tar
23645 maybe-info-tar: info-tar
23647 info-tar: \
23648 configure-tar
23649 @: $(MAKE); $(unstage)
23650 @[ -f ./tar/Makefile ] || exit 0; \
23651 r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 $(HOST_EXPORTS) \
23654 for flag in $(EXTRA_HOST_FLAGS) ; do \
23655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23656 done; \
23657 echo "Doing info in tar" ; \
23658 (cd $(HOST_SUBDIR)/tar && \
23659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23661 "RANLIB=$${RANLIB}" \
23662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23663 info) \
23664 || exit 1
23666 @endif tar
23668 .PHONY: maybe-dvi-tar dvi-tar
23669 maybe-dvi-tar:
23670 @if tar
23671 maybe-dvi-tar: dvi-tar
23673 dvi-tar: \
23674 configure-tar
23675 @: $(MAKE); $(unstage)
23676 @[ -f ./tar/Makefile ] || exit 0; \
23677 r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(HOST_EXPORTS) \
23680 for flag in $(EXTRA_HOST_FLAGS) ; do \
23681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23682 done; \
23683 echo "Doing dvi in tar" ; \
23684 (cd $(HOST_SUBDIR)/tar && \
23685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23687 "RANLIB=$${RANLIB}" \
23688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23689 dvi) \
23690 || exit 1
23692 @endif tar
23694 .PHONY: maybe-html-tar html-tar
23695 maybe-html-tar:
23696 @if tar
23697 maybe-html-tar: html-tar
23699 html-tar: \
23700 configure-tar
23701 @: $(MAKE); $(unstage)
23702 @[ -f ./tar/Makefile ] || exit 0; \
23703 r=`${PWD_COMMAND}`; export r; \
23704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23705 $(HOST_EXPORTS) \
23706 for flag in $(EXTRA_HOST_FLAGS) ; do \
23707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23708 done; \
23709 echo "Doing html in tar" ; \
23710 (cd $(HOST_SUBDIR)/tar && \
23711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23713 "RANLIB=$${RANLIB}" \
23714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23715 html) \
23716 || exit 1
23718 @endif tar
23720 .PHONY: maybe-TAGS-tar TAGS-tar
23721 maybe-TAGS-tar:
23722 @if tar
23723 maybe-TAGS-tar: TAGS-tar
23725 TAGS-tar: \
23726 configure-tar
23727 @: $(MAKE); $(unstage)
23728 @[ -f ./tar/Makefile ] || exit 0; \
23729 r=`${PWD_COMMAND}`; export r; \
23730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23731 $(HOST_EXPORTS) \
23732 for flag in $(EXTRA_HOST_FLAGS) ; do \
23733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23734 done; \
23735 echo "Doing TAGS in tar" ; \
23736 (cd $(HOST_SUBDIR)/tar && \
23737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23739 "RANLIB=$${RANLIB}" \
23740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23741 TAGS) \
23742 || exit 1
23744 @endif tar
23746 .PHONY: maybe-install-info-tar install-info-tar
23747 maybe-install-info-tar:
23748 @if tar
23749 maybe-install-info-tar: install-info-tar
23751 install-info-tar: \
23752 configure-tar \
23753 info-tar
23754 @: $(MAKE); $(unstage)
23755 @[ -f ./tar/Makefile ] || exit 0; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(HOST_EXPORTS) \
23759 for flag in $(EXTRA_HOST_FLAGS) ; do \
23760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23761 done; \
23762 echo "Doing install-info in tar" ; \
23763 (cd $(HOST_SUBDIR)/tar && \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23766 "RANLIB=$${RANLIB}" \
23767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23768 install-info) \
23769 || exit 1
23771 @endif tar
23773 .PHONY: maybe-installcheck-tar installcheck-tar
23774 maybe-installcheck-tar:
23775 @if tar
23776 maybe-installcheck-tar: installcheck-tar
23778 installcheck-tar: \
23779 configure-tar
23780 @: $(MAKE); $(unstage)
23781 @[ -f ./tar/Makefile ] || exit 0; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(HOST_EXPORTS) \
23785 for flag in $(EXTRA_HOST_FLAGS) ; do \
23786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23787 done; \
23788 echo "Doing installcheck in tar" ; \
23789 (cd $(HOST_SUBDIR)/tar && \
23790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23792 "RANLIB=$${RANLIB}" \
23793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23794 installcheck) \
23795 || exit 1
23797 @endif tar
23799 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23800 maybe-mostlyclean-tar:
23801 @if tar
23802 maybe-mostlyclean-tar: mostlyclean-tar
23804 mostlyclean-tar:
23805 @: $(MAKE); $(unstage)
23806 @[ -f ./tar/Makefile ] || exit 0; \
23807 r=`${PWD_COMMAND}`; export r; \
23808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23809 $(HOST_EXPORTS) \
23810 for flag in $(EXTRA_HOST_FLAGS) ; do \
23811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23812 done; \
23813 echo "Doing mostlyclean in tar" ; \
23814 (cd $(HOST_SUBDIR)/tar && \
23815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23817 "RANLIB=$${RANLIB}" \
23818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23819 mostlyclean) \
23820 || exit 1
23822 @endif tar
23824 .PHONY: maybe-clean-tar clean-tar
23825 maybe-clean-tar:
23826 @if tar
23827 maybe-clean-tar: clean-tar
23829 clean-tar:
23830 @: $(MAKE); $(unstage)
23831 @[ -f ./tar/Makefile ] || exit 0; \
23832 r=`${PWD_COMMAND}`; export r; \
23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23834 $(HOST_EXPORTS) \
23835 for flag in $(EXTRA_HOST_FLAGS) ; do \
23836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23837 done; \
23838 echo "Doing clean in tar" ; \
23839 (cd $(HOST_SUBDIR)/tar && \
23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842 "RANLIB=$${RANLIB}" \
23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23844 clean) \
23845 || exit 1
23847 @endif tar
23849 .PHONY: maybe-distclean-tar distclean-tar
23850 maybe-distclean-tar:
23851 @if tar
23852 maybe-distclean-tar: distclean-tar
23854 distclean-tar:
23855 @: $(MAKE); $(unstage)
23856 @[ -f ./tar/Makefile ] || exit 0; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(HOST_EXPORTS) \
23860 for flag in $(EXTRA_HOST_FLAGS) ; do \
23861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 done; \
23863 echo "Doing distclean in tar" ; \
23864 (cd $(HOST_SUBDIR)/tar && \
23865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867 "RANLIB=$${RANLIB}" \
23868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23869 distclean) \
23870 || exit 1
23872 @endif tar
23874 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23875 maybe-maintainer-clean-tar:
23876 @if tar
23877 maybe-maintainer-clean-tar: maintainer-clean-tar
23879 maintainer-clean-tar:
23880 @: $(MAKE); $(unstage)
23881 @[ -f ./tar/Makefile ] || exit 0; \
23882 r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 $(HOST_EXPORTS) \
23885 for flag in $(EXTRA_HOST_FLAGS) ; do \
23886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23887 done; \
23888 echo "Doing maintainer-clean in tar" ; \
23889 (cd $(HOST_SUBDIR)/tar && \
23890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23892 "RANLIB=$${RANLIB}" \
23893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23894 maintainer-clean) \
23895 || exit 1
23897 @endif tar
23901 .PHONY: configure-texinfo maybe-configure-texinfo
23902 maybe-configure-texinfo:
23903 @if texinfo
23904 maybe-configure-texinfo: configure-texinfo
23905 configure-texinfo:
23906 @: $(MAKE); $(unstage)
23907 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23909 r=`${PWD_COMMAND}`; export r; \
23910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23911 $(HOST_EXPORTS) \
23912 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23913 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23914 case $(srcdir) in \
23915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23916 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23918 esac; \
23919 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23920 libsrcdir="$$s/texinfo"; \
23921 $(SHELL) $${libsrcdir}/configure \
23922 $(HOST_CONFIGARGS) $${srcdiroption} \
23923 || exit 1
23924 @endif texinfo
23930 .PHONY: all-texinfo maybe-all-texinfo
23931 maybe-all-texinfo:
23932 @if texinfo
23933 TARGET-texinfo=all
23934 maybe-all-texinfo: all-texinfo
23935 all-texinfo: configure-texinfo
23936 @: $(MAKE); $(unstage)
23937 @r=`${PWD_COMMAND}`; export r; \
23938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23939 $(HOST_EXPORTS) \
23940 (cd $(HOST_SUBDIR)/texinfo && \
23941 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23942 @endif texinfo
23947 .PHONY: check-texinfo maybe-check-texinfo
23948 maybe-check-texinfo:
23949 @if texinfo
23950 maybe-check-texinfo: check-texinfo
23952 check-texinfo:
23953 @: $(MAKE); $(unstage)
23954 @r=`${PWD_COMMAND}`; export r; \
23955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23956 $(HOST_EXPORTS) \
23957 (cd $(HOST_SUBDIR)/texinfo && \
23958 $(MAKE) $(FLAGS_TO_PASS) check)
23960 @endif texinfo
23962 .PHONY: install-texinfo maybe-install-texinfo
23963 maybe-install-texinfo:
23964 @if texinfo
23965 maybe-install-texinfo: install-texinfo
23967 install-texinfo:
23969 @endif texinfo
23971 # Other targets (info, dvi, etc.)
23973 .PHONY: maybe-info-texinfo info-texinfo
23974 maybe-info-texinfo:
23975 @if texinfo
23976 maybe-info-texinfo: info-texinfo
23978 info-texinfo: \
23979 configure-texinfo
23980 @: $(MAKE); $(unstage)
23981 @[ -f ./texinfo/Makefile ] || exit 0; \
23982 r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(HOST_EXPORTS) \
23985 for flag in $(EXTRA_HOST_FLAGS) ; do \
23986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23987 done; \
23988 echo "Doing info in texinfo" ; \
23989 (cd $(HOST_SUBDIR)/texinfo && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992 "RANLIB=$${RANLIB}" \
23993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23994 info) \
23995 || exit 1
23997 @endif texinfo
23999 .PHONY: maybe-dvi-texinfo dvi-texinfo
24000 maybe-dvi-texinfo:
24001 @if texinfo
24002 maybe-dvi-texinfo: dvi-texinfo
24004 dvi-texinfo: \
24005 configure-texinfo
24006 @: $(MAKE); $(unstage)
24007 @[ -f ./texinfo/Makefile ] || exit 0; \
24008 r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing dvi in texinfo" ; \
24015 (cd $(HOST_SUBDIR)/texinfo && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 dvi) \
24021 || exit 1
24023 @endif texinfo
24025 .PHONY: maybe-html-texinfo html-texinfo
24026 maybe-html-texinfo:
24027 @if texinfo
24028 maybe-html-texinfo: html-texinfo
24030 html-texinfo: \
24031 configure-texinfo
24032 @: $(MAKE); $(unstage)
24033 @[ -f ./texinfo/Makefile ] || exit 0; \
24034 r=`${PWD_COMMAND}`; export r; \
24035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24036 $(HOST_EXPORTS) \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039 done; \
24040 echo "Doing html in texinfo" ; \
24041 (cd $(HOST_SUBDIR)/texinfo && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 html) \
24047 || exit 1
24049 @endif texinfo
24051 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24052 maybe-TAGS-texinfo:
24053 @if texinfo
24054 maybe-TAGS-texinfo: TAGS-texinfo
24056 TAGS-texinfo: \
24057 configure-texinfo
24058 @: $(MAKE); $(unstage)
24059 @[ -f ./texinfo/Makefile ] || exit 0; \
24060 r=`${PWD_COMMAND}`; export r; \
24061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24062 $(HOST_EXPORTS) \
24063 for flag in $(EXTRA_HOST_FLAGS) ; do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065 done; \
24066 echo "Doing TAGS in texinfo" ; \
24067 (cd $(HOST_SUBDIR)/texinfo && \
24068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24070 "RANLIB=$${RANLIB}" \
24071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24072 TAGS) \
24073 || exit 1
24075 @endif texinfo
24077 .PHONY: maybe-install-info-texinfo install-info-texinfo
24078 maybe-install-info-texinfo:
24079 @if texinfo
24080 maybe-install-info-texinfo: install-info-texinfo
24082 install-info-texinfo: \
24083 configure-texinfo \
24084 info-texinfo
24085 @: $(MAKE); $(unstage)
24086 @[ -f ./texinfo/Makefile ] || exit 0; \
24087 r=`${PWD_COMMAND}`; export r; \
24088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 $(HOST_EXPORTS) \
24090 for flag in $(EXTRA_HOST_FLAGS) ; do \
24091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 done; \
24093 echo "Doing install-info in texinfo" ; \
24094 (cd $(HOST_SUBDIR)/texinfo && \
24095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24097 "RANLIB=$${RANLIB}" \
24098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24099 install-info) \
24100 || exit 1
24102 @endif texinfo
24104 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24105 maybe-installcheck-texinfo:
24106 @if texinfo
24107 maybe-installcheck-texinfo: installcheck-texinfo
24109 installcheck-texinfo: \
24110 configure-texinfo
24111 @: $(MAKE); $(unstage)
24112 @[ -f ./texinfo/Makefile ] || exit 0; \
24113 r=`${PWD_COMMAND}`; export r; \
24114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 $(HOST_EXPORTS) \
24116 for flag in $(EXTRA_HOST_FLAGS) ; do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118 done; \
24119 echo "Doing installcheck in texinfo" ; \
24120 (cd $(HOST_SUBDIR)/texinfo && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24123 "RANLIB=$${RANLIB}" \
24124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24125 installcheck) \
24126 || exit 1
24128 @endif texinfo
24130 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24131 maybe-mostlyclean-texinfo:
24132 @if texinfo
24133 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24135 mostlyclean-texinfo:
24136 @: $(MAKE); $(unstage)
24137 @[ -f ./texinfo/Makefile ] || exit 0; \
24138 r=`${PWD_COMMAND}`; export r; \
24139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140 $(HOST_EXPORTS) \
24141 for flag in $(EXTRA_HOST_FLAGS) ; do \
24142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24143 done; \
24144 echo "Doing mostlyclean in texinfo" ; \
24145 (cd $(HOST_SUBDIR)/texinfo && \
24146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24148 "RANLIB=$${RANLIB}" \
24149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24150 mostlyclean) \
24151 || exit 1
24153 @endif texinfo
24155 .PHONY: maybe-clean-texinfo clean-texinfo
24156 maybe-clean-texinfo:
24157 @if texinfo
24158 maybe-clean-texinfo: clean-texinfo
24160 clean-texinfo:
24161 @: $(MAKE); $(unstage)
24162 @[ -f ./texinfo/Makefile ] || exit 0; \
24163 r=`${PWD_COMMAND}`; export r; \
24164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24165 $(HOST_EXPORTS) \
24166 for flag in $(EXTRA_HOST_FLAGS) ; do \
24167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24168 done; \
24169 echo "Doing clean in texinfo" ; \
24170 (cd $(HOST_SUBDIR)/texinfo && \
24171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24173 "RANLIB=$${RANLIB}" \
24174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24175 clean) \
24176 || exit 1
24178 @endif texinfo
24180 .PHONY: maybe-distclean-texinfo distclean-texinfo
24181 maybe-distclean-texinfo:
24182 @if texinfo
24183 maybe-distclean-texinfo: distclean-texinfo
24185 distclean-texinfo:
24186 @: $(MAKE); $(unstage)
24187 @[ -f ./texinfo/Makefile ] || exit 0; \
24188 r=`${PWD_COMMAND}`; export r; \
24189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24190 $(HOST_EXPORTS) \
24191 for flag in $(EXTRA_HOST_FLAGS) ; do \
24192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24193 done; \
24194 echo "Doing distclean in texinfo" ; \
24195 (cd $(HOST_SUBDIR)/texinfo && \
24196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24198 "RANLIB=$${RANLIB}" \
24199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24200 distclean) \
24201 || exit 1
24203 @endif texinfo
24205 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24206 maybe-maintainer-clean-texinfo:
24207 @if texinfo
24208 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24210 maintainer-clean-texinfo:
24211 @: $(MAKE); $(unstage)
24212 @[ -f ./texinfo/Makefile ] || exit 0; \
24213 r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 $(HOST_EXPORTS) \
24216 for flag in $(EXTRA_HOST_FLAGS) ; do \
24217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24218 done; \
24219 echo "Doing maintainer-clean in texinfo" ; \
24220 (cd $(HOST_SUBDIR)/texinfo && \
24221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24223 "RANLIB=$${RANLIB}" \
24224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24225 maintainer-clean) \
24226 || exit 1
24228 @endif texinfo
24232 .PHONY: configure-textutils maybe-configure-textutils
24233 maybe-configure-textutils:
24234 @if textutils
24235 maybe-configure-textutils: configure-textutils
24236 configure-textutils:
24237 @: $(MAKE); $(unstage)
24238 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24240 r=`${PWD_COMMAND}`; export r; \
24241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 $(HOST_EXPORTS) \
24243 echo Configuring in $(HOST_SUBDIR)/textutils; \
24244 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24245 case $(srcdir) in \
24246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24247 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24249 esac; \
24250 srcdiroption="--srcdir=$${topdir}/textutils"; \
24251 libsrcdir="$$s/textutils"; \
24252 $(SHELL) $${libsrcdir}/configure \
24253 $(HOST_CONFIGARGS) $${srcdiroption} \
24254 || exit 1
24255 @endif textutils
24261 .PHONY: all-textutils maybe-all-textutils
24262 maybe-all-textutils:
24263 @if textutils
24264 TARGET-textutils=all
24265 maybe-all-textutils: all-textutils
24266 all-textutils: configure-textutils
24267 @: $(MAKE); $(unstage)
24268 @r=`${PWD_COMMAND}`; export r; \
24269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270 $(HOST_EXPORTS) \
24271 (cd $(HOST_SUBDIR)/textutils && \
24272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24273 @endif textutils
24278 .PHONY: check-textutils maybe-check-textutils
24279 maybe-check-textutils:
24280 @if textutils
24281 maybe-check-textutils: check-textutils
24283 check-textutils:
24284 @: $(MAKE); $(unstage)
24285 @r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(HOST_EXPORTS) \
24288 (cd $(HOST_SUBDIR)/textutils && \
24289 $(MAKE) $(FLAGS_TO_PASS) check)
24291 @endif textutils
24293 .PHONY: install-textutils maybe-install-textutils
24294 maybe-install-textutils:
24295 @if textutils
24296 maybe-install-textutils: install-textutils
24298 install-textutils: installdirs
24299 @: $(MAKE); $(unstage)
24300 @r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(HOST_EXPORTS) \
24303 (cd $(HOST_SUBDIR)/textutils && \
24304 $(MAKE) $(FLAGS_TO_PASS) install)
24306 @endif textutils
24308 # Other targets (info, dvi, etc.)
24310 .PHONY: maybe-info-textutils info-textutils
24311 maybe-info-textutils:
24312 @if textutils
24313 maybe-info-textutils: info-textutils
24315 info-textutils: \
24316 configure-textutils
24317 @: $(MAKE); $(unstage)
24318 @[ -f ./textutils/Makefile ] || exit 0; \
24319 r=`${PWD_COMMAND}`; export r; \
24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24321 $(HOST_EXPORTS) \
24322 for flag in $(EXTRA_HOST_FLAGS) ; do \
24323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24324 done; \
24325 echo "Doing info in textutils" ; \
24326 (cd $(HOST_SUBDIR)/textutils && \
24327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24329 "RANLIB=$${RANLIB}" \
24330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24331 info) \
24332 || exit 1
24334 @endif textutils
24336 .PHONY: maybe-dvi-textutils dvi-textutils
24337 maybe-dvi-textutils:
24338 @if textutils
24339 maybe-dvi-textutils: dvi-textutils
24341 dvi-textutils: \
24342 configure-textutils
24343 @: $(MAKE); $(unstage)
24344 @[ -f ./textutils/Makefile ] || exit 0; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(HOST_EXPORTS) \
24348 for flag in $(EXTRA_HOST_FLAGS) ; do \
24349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24350 done; \
24351 echo "Doing dvi in textutils" ; \
24352 (cd $(HOST_SUBDIR)/textutils && \
24353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24355 "RANLIB=$${RANLIB}" \
24356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24357 dvi) \
24358 || exit 1
24360 @endif textutils
24362 .PHONY: maybe-html-textutils html-textutils
24363 maybe-html-textutils:
24364 @if textutils
24365 maybe-html-textutils: html-textutils
24367 html-textutils: \
24368 configure-textutils
24369 @: $(MAKE); $(unstage)
24370 @[ -f ./textutils/Makefile ] || exit 0; \
24371 r=`${PWD_COMMAND}`; export r; \
24372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 $(HOST_EXPORTS) \
24374 for flag in $(EXTRA_HOST_FLAGS) ; do \
24375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24376 done; \
24377 echo "Doing html in textutils" ; \
24378 (cd $(HOST_SUBDIR)/textutils && \
24379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24381 "RANLIB=$${RANLIB}" \
24382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24383 html) \
24384 || exit 1
24386 @endif textutils
24388 .PHONY: maybe-TAGS-textutils TAGS-textutils
24389 maybe-TAGS-textutils:
24390 @if textutils
24391 maybe-TAGS-textutils: TAGS-textutils
24393 TAGS-textutils: \
24394 configure-textutils
24395 @: $(MAKE); $(unstage)
24396 @[ -f ./textutils/Makefile ] || exit 0; \
24397 r=`${PWD_COMMAND}`; export r; \
24398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(HOST_EXPORTS) \
24400 for flag in $(EXTRA_HOST_FLAGS) ; do \
24401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24402 done; \
24403 echo "Doing TAGS in textutils" ; \
24404 (cd $(HOST_SUBDIR)/textutils && \
24405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24407 "RANLIB=$${RANLIB}" \
24408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24409 TAGS) \
24410 || exit 1
24412 @endif textutils
24414 .PHONY: maybe-install-info-textutils install-info-textutils
24415 maybe-install-info-textutils:
24416 @if textutils
24417 maybe-install-info-textutils: install-info-textutils
24419 install-info-textutils: \
24420 configure-textutils \
24421 info-textutils
24422 @: $(MAKE); $(unstage)
24423 @[ -f ./textutils/Makefile ] || exit 0; \
24424 r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24426 $(HOST_EXPORTS) \
24427 for flag in $(EXTRA_HOST_FLAGS) ; do \
24428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24429 done; \
24430 echo "Doing install-info in textutils" ; \
24431 (cd $(HOST_SUBDIR)/textutils && \
24432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24434 "RANLIB=$${RANLIB}" \
24435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24436 install-info) \
24437 || exit 1
24439 @endif textutils
24441 .PHONY: maybe-installcheck-textutils installcheck-textutils
24442 maybe-installcheck-textutils:
24443 @if textutils
24444 maybe-installcheck-textutils: installcheck-textutils
24446 installcheck-textutils: \
24447 configure-textutils
24448 @: $(MAKE); $(unstage)
24449 @[ -f ./textutils/Makefile ] || exit 0; \
24450 r=`${PWD_COMMAND}`; export r; \
24451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24452 $(HOST_EXPORTS) \
24453 for flag in $(EXTRA_HOST_FLAGS) ; do \
24454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24455 done; \
24456 echo "Doing installcheck in textutils" ; \
24457 (cd $(HOST_SUBDIR)/textutils && \
24458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24460 "RANLIB=$${RANLIB}" \
24461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24462 installcheck) \
24463 || exit 1
24465 @endif textutils
24467 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24468 maybe-mostlyclean-textutils:
24469 @if textutils
24470 maybe-mostlyclean-textutils: mostlyclean-textutils
24472 mostlyclean-textutils:
24473 @: $(MAKE); $(unstage)
24474 @[ -f ./textutils/Makefile ] || exit 0; \
24475 r=`${PWD_COMMAND}`; export r; \
24476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24477 $(HOST_EXPORTS) \
24478 for flag in $(EXTRA_HOST_FLAGS) ; do \
24479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24480 done; \
24481 echo "Doing mostlyclean in textutils" ; \
24482 (cd $(HOST_SUBDIR)/textutils && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24485 "RANLIB=$${RANLIB}" \
24486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24487 mostlyclean) \
24488 || exit 1
24490 @endif textutils
24492 .PHONY: maybe-clean-textutils clean-textutils
24493 maybe-clean-textutils:
24494 @if textutils
24495 maybe-clean-textutils: clean-textutils
24497 clean-textutils:
24498 @: $(MAKE); $(unstage)
24499 @[ -f ./textutils/Makefile ] || exit 0; \
24500 r=`${PWD_COMMAND}`; export r; \
24501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24502 $(HOST_EXPORTS) \
24503 for flag in $(EXTRA_HOST_FLAGS) ; do \
24504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 done; \
24506 echo "Doing clean in textutils" ; \
24507 (cd $(HOST_SUBDIR)/textutils && \
24508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24510 "RANLIB=$${RANLIB}" \
24511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24512 clean) \
24513 || exit 1
24515 @endif textutils
24517 .PHONY: maybe-distclean-textutils distclean-textutils
24518 maybe-distclean-textutils:
24519 @if textutils
24520 maybe-distclean-textutils: distclean-textutils
24522 distclean-textutils:
24523 @: $(MAKE); $(unstage)
24524 @[ -f ./textutils/Makefile ] || exit 0; \
24525 r=`${PWD_COMMAND}`; export r; \
24526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24527 $(HOST_EXPORTS) \
24528 for flag in $(EXTRA_HOST_FLAGS) ; do \
24529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 done; \
24531 echo "Doing distclean in textutils" ; \
24532 (cd $(HOST_SUBDIR)/textutils && \
24533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24535 "RANLIB=$${RANLIB}" \
24536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24537 distclean) \
24538 || exit 1
24540 @endif textutils
24542 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24543 maybe-maintainer-clean-textutils:
24544 @if textutils
24545 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24547 maintainer-clean-textutils:
24548 @: $(MAKE); $(unstage)
24549 @[ -f ./textutils/Makefile ] || exit 0; \
24550 r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24552 $(HOST_EXPORTS) \
24553 for flag in $(EXTRA_HOST_FLAGS) ; do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24555 done; \
24556 echo "Doing maintainer-clean in textutils" ; \
24557 (cd $(HOST_SUBDIR)/textutils && \
24558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24560 "RANLIB=$${RANLIB}" \
24561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24562 maintainer-clean) \
24563 || exit 1
24565 @endif textutils
24569 .PHONY: configure-time maybe-configure-time
24570 maybe-configure-time:
24571 @if time
24572 maybe-configure-time: configure-time
24573 configure-time:
24574 @: $(MAKE); $(unstage)
24575 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24577 r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 $(HOST_EXPORTS) \
24580 echo Configuring in $(HOST_SUBDIR)/time; \
24581 cd "$(HOST_SUBDIR)/time" || exit 1; \
24582 case $(srcdir) in \
24583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24584 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24586 esac; \
24587 srcdiroption="--srcdir=$${topdir}/time"; \
24588 libsrcdir="$$s/time"; \
24589 $(SHELL) $${libsrcdir}/configure \
24590 $(HOST_CONFIGARGS) $${srcdiroption} \
24591 || exit 1
24592 @endif time
24598 .PHONY: all-time maybe-all-time
24599 maybe-all-time:
24600 @if time
24601 TARGET-time=all
24602 maybe-all-time: all-time
24603 all-time: configure-time
24604 @: $(MAKE); $(unstage)
24605 @r=`${PWD_COMMAND}`; export r; \
24606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24607 $(HOST_EXPORTS) \
24608 (cd $(HOST_SUBDIR)/time && \
24609 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24610 @endif time
24615 .PHONY: check-time maybe-check-time
24616 maybe-check-time:
24617 @if time
24618 maybe-check-time: check-time
24620 check-time:
24621 @: $(MAKE); $(unstage)
24622 @r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624 $(HOST_EXPORTS) \
24625 (cd $(HOST_SUBDIR)/time && \
24626 $(MAKE) $(FLAGS_TO_PASS) check)
24628 @endif time
24630 .PHONY: install-time maybe-install-time
24631 maybe-install-time:
24632 @if time
24633 maybe-install-time: install-time
24635 install-time: installdirs
24636 @: $(MAKE); $(unstage)
24637 @r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(HOST_EXPORTS) \
24640 (cd $(HOST_SUBDIR)/time && \
24641 $(MAKE) $(FLAGS_TO_PASS) install)
24643 @endif time
24645 # Other targets (info, dvi, etc.)
24647 .PHONY: maybe-info-time info-time
24648 maybe-info-time:
24649 @if time
24650 maybe-info-time: info-time
24652 info-time: \
24653 configure-time
24654 @: $(MAKE); $(unstage)
24655 @[ -f ./time/Makefile ] || exit 0; \
24656 r=`${PWD_COMMAND}`; export r; \
24657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24658 $(HOST_EXPORTS) \
24659 for flag in $(EXTRA_HOST_FLAGS) ; do \
24660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24661 done; \
24662 echo "Doing info in time" ; \
24663 (cd $(HOST_SUBDIR)/time && \
24664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24666 "RANLIB=$${RANLIB}" \
24667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24668 info) \
24669 || exit 1
24671 @endif time
24673 .PHONY: maybe-dvi-time dvi-time
24674 maybe-dvi-time:
24675 @if time
24676 maybe-dvi-time: dvi-time
24678 dvi-time: \
24679 configure-time
24680 @: $(MAKE); $(unstage)
24681 @[ -f ./time/Makefile ] || exit 0; \
24682 r=`${PWD_COMMAND}`; export r; \
24683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24684 $(HOST_EXPORTS) \
24685 for flag in $(EXTRA_HOST_FLAGS) ; do \
24686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24687 done; \
24688 echo "Doing dvi in time" ; \
24689 (cd $(HOST_SUBDIR)/time && \
24690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24692 "RANLIB=$${RANLIB}" \
24693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24694 dvi) \
24695 || exit 1
24697 @endif time
24699 .PHONY: maybe-html-time html-time
24700 maybe-html-time:
24701 @if time
24702 maybe-html-time: html-time
24704 html-time: \
24705 configure-time
24706 @: $(MAKE); $(unstage)
24707 @[ -f ./time/Makefile ] || exit 0; \
24708 r=`${PWD_COMMAND}`; export r; \
24709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24710 $(HOST_EXPORTS) \
24711 for flag in $(EXTRA_HOST_FLAGS) ; do \
24712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24713 done; \
24714 echo "Doing html in time" ; \
24715 (cd $(HOST_SUBDIR)/time && \
24716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24718 "RANLIB=$${RANLIB}" \
24719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24720 html) \
24721 || exit 1
24723 @endif time
24725 .PHONY: maybe-TAGS-time TAGS-time
24726 maybe-TAGS-time:
24727 @if time
24728 maybe-TAGS-time: TAGS-time
24730 TAGS-time: \
24731 configure-time
24732 @: $(MAKE); $(unstage)
24733 @[ -f ./time/Makefile ] || exit 0; \
24734 r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(HOST_EXPORTS) \
24737 for flag in $(EXTRA_HOST_FLAGS) ; do \
24738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24739 done; \
24740 echo "Doing TAGS in time" ; \
24741 (cd $(HOST_SUBDIR)/time && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24744 "RANLIB=$${RANLIB}" \
24745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24746 TAGS) \
24747 || exit 1
24749 @endif time
24751 .PHONY: maybe-install-info-time install-info-time
24752 maybe-install-info-time:
24753 @if time
24754 maybe-install-info-time: install-info-time
24756 install-info-time: \
24757 configure-time \
24758 info-time
24759 @: $(MAKE); $(unstage)
24760 @[ -f ./time/Makefile ] || exit 0; \
24761 r=`${PWD_COMMAND}`; export r; \
24762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24763 $(HOST_EXPORTS) \
24764 for flag in $(EXTRA_HOST_FLAGS) ; do \
24765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24766 done; \
24767 echo "Doing install-info in time" ; \
24768 (cd $(HOST_SUBDIR)/time && \
24769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24771 "RANLIB=$${RANLIB}" \
24772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24773 install-info) \
24774 || exit 1
24776 @endif time
24778 .PHONY: maybe-installcheck-time installcheck-time
24779 maybe-installcheck-time:
24780 @if time
24781 maybe-installcheck-time: installcheck-time
24783 installcheck-time: \
24784 configure-time
24785 @: $(MAKE); $(unstage)
24786 @[ -f ./time/Makefile ] || exit 0; \
24787 r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(HOST_EXPORTS) \
24790 for flag in $(EXTRA_HOST_FLAGS) ; do \
24791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24792 done; \
24793 echo "Doing installcheck in time" ; \
24794 (cd $(HOST_SUBDIR)/time && \
24795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24797 "RANLIB=$${RANLIB}" \
24798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24799 installcheck) \
24800 || exit 1
24802 @endif time
24804 .PHONY: maybe-mostlyclean-time mostlyclean-time
24805 maybe-mostlyclean-time:
24806 @if time
24807 maybe-mostlyclean-time: mostlyclean-time
24809 mostlyclean-time:
24810 @: $(MAKE); $(unstage)
24811 @[ -f ./time/Makefile ] || exit 0; \
24812 r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 $(HOST_EXPORTS) \
24815 for flag in $(EXTRA_HOST_FLAGS) ; do \
24816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24817 done; \
24818 echo "Doing mostlyclean in time" ; \
24819 (cd $(HOST_SUBDIR)/time && \
24820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24822 "RANLIB=$${RANLIB}" \
24823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24824 mostlyclean) \
24825 || exit 1
24827 @endif time
24829 .PHONY: maybe-clean-time clean-time
24830 maybe-clean-time:
24831 @if time
24832 maybe-clean-time: clean-time
24834 clean-time:
24835 @: $(MAKE); $(unstage)
24836 @[ -f ./time/Makefile ] || exit 0; \
24837 r=`${PWD_COMMAND}`; export r; \
24838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24839 $(HOST_EXPORTS) \
24840 for flag in $(EXTRA_HOST_FLAGS) ; do \
24841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24842 done; \
24843 echo "Doing clean in time" ; \
24844 (cd $(HOST_SUBDIR)/time && \
24845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24847 "RANLIB=$${RANLIB}" \
24848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24849 clean) \
24850 || exit 1
24852 @endif time
24854 .PHONY: maybe-distclean-time distclean-time
24855 maybe-distclean-time:
24856 @if time
24857 maybe-distclean-time: distclean-time
24859 distclean-time:
24860 @: $(MAKE); $(unstage)
24861 @[ -f ./time/Makefile ] || exit 0; \
24862 r=`${PWD_COMMAND}`; export r; \
24863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24864 $(HOST_EXPORTS) \
24865 for flag in $(EXTRA_HOST_FLAGS) ; do \
24866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24867 done; \
24868 echo "Doing distclean in time" ; \
24869 (cd $(HOST_SUBDIR)/time && \
24870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24872 "RANLIB=$${RANLIB}" \
24873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24874 distclean) \
24875 || exit 1
24877 @endif time
24879 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24880 maybe-maintainer-clean-time:
24881 @if time
24882 maybe-maintainer-clean-time: maintainer-clean-time
24884 maintainer-clean-time:
24885 @: $(MAKE); $(unstage)
24886 @[ -f ./time/Makefile ] || exit 0; \
24887 r=`${PWD_COMMAND}`; export r; \
24888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24889 $(HOST_EXPORTS) \
24890 for flag in $(EXTRA_HOST_FLAGS) ; do \
24891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24892 done; \
24893 echo "Doing maintainer-clean in time" ; \
24894 (cd $(HOST_SUBDIR)/time && \
24895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24897 "RANLIB=$${RANLIB}" \
24898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24899 maintainer-clean) \
24900 || exit 1
24902 @endif time
24906 .PHONY: configure-uudecode maybe-configure-uudecode
24907 maybe-configure-uudecode:
24908 @if uudecode
24909 maybe-configure-uudecode: configure-uudecode
24910 configure-uudecode:
24911 @: $(MAKE); $(unstage)
24912 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24914 r=`${PWD_COMMAND}`; export r; \
24915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24916 $(HOST_EXPORTS) \
24917 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24918 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24919 case $(srcdir) in \
24920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24921 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24923 esac; \
24924 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24925 libsrcdir="$$s/uudecode"; \
24926 $(SHELL) $${libsrcdir}/configure \
24927 $(HOST_CONFIGARGS) $${srcdiroption} \
24928 || exit 1
24929 @endif uudecode
24935 .PHONY: all-uudecode maybe-all-uudecode
24936 maybe-all-uudecode:
24937 @if uudecode
24938 TARGET-uudecode=all
24939 maybe-all-uudecode: all-uudecode
24940 all-uudecode: configure-uudecode
24941 @: $(MAKE); $(unstage)
24942 @r=`${PWD_COMMAND}`; export r; \
24943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24944 $(HOST_EXPORTS) \
24945 (cd $(HOST_SUBDIR)/uudecode && \
24946 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24947 @endif uudecode
24952 .PHONY: check-uudecode maybe-check-uudecode
24953 maybe-check-uudecode:
24954 @if uudecode
24955 maybe-check-uudecode: check-uudecode
24957 check-uudecode:
24958 @: $(MAKE); $(unstage)
24959 @r=`${PWD_COMMAND}`; export r; \
24960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24961 $(HOST_EXPORTS) \
24962 (cd $(HOST_SUBDIR)/uudecode && \
24963 $(MAKE) $(FLAGS_TO_PASS) check)
24965 @endif uudecode
24967 .PHONY: install-uudecode maybe-install-uudecode
24968 maybe-install-uudecode:
24969 @if uudecode
24970 maybe-install-uudecode: install-uudecode
24972 install-uudecode: installdirs
24973 @: $(MAKE); $(unstage)
24974 @r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24976 $(HOST_EXPORTS) \
24977 (cd $(HOST_SUBDIR)/uudecode && \
24978 $(MAKE) $(FLAGS_TO_PASS) install)
24980 @endif uudecode
24982 # Other targets (info, dvi, etc.)
24984 .PHONY: maybe-info-uudecode info-uudecode
24985 maybe-info-uudecode:
24986 @if uudecode
24987 maybe-info-uudecode: info-uudecode
24989 info-uudecode: \
24990 configure-uudecode
24991 @: $(MAKE); $(unstage)
24992 @[ -f ./uudecode/Makefile ] || exit 0; \
24993 r=`${PWD_COMMAND}`; export r; \
24994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 $(HOST_EXPORTS) \
24996 for flag in $(EXTRA_HOST_FLAGS) ; do \
24997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24998 done; \
24999 echo "Doing info in uudecode" ; \
25000 (cd $(HOST_SUBDIR)/uudecode && \
25001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25003 "RANLIB=$${RANLIB}" \
25004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25005 info) \
25006 || exit 1
25008 @endif uudecode
25010 .PHONY: maybe-dvi-uudecode dvi-uudecode
25011 maybe-dvi-uudecode:
25012 @if uudecode
25013 maybe-dvi-uudecode: dvi-uudecode
25015 dvi-uudecode: \
25016 configure-uudecode
25017 @: $(MAKE); $(unstage)
25018 @[ -f ./uudecode/Makefile ] || exit 0; \
25019 r=`${PWD_COMMAND}`; export r; \
25020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25021 $(HOST_EXPORTS) \
25022 for flag in $(EXTRA_HOST_FLAGS) ; do \
25023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25024 done; \
25025 echo "Doing dvi in uudecode" ; \
25026 (cd $(HOST_SUBDIR)/uudecode && \
25027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25029 "RANLIB=$${RANLIB}" \
25030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25031 dvi) \
25032 || exit 1
25034 @endif uudecode
25036 .PHONY: maybe-html-uudecode html-uudecode
25037 maybe-html-uudecode:
25038 @if uudecode
25039 maybe-html-uudecode: html-uudecode
25041 html-uudecode: \
25042 configure-uudecode
25043 @: $(MAKE); $(unstage)
25044 @[ -f ./uudecode/Makefile ] || exit 0; \
25045 r=`${PWD_COMMAND}`; export r; \
25046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25047 $(HOST_EXPORTS) \
25048 for flag in $(EXTRA_HOST_FLAGS) ; do \
25049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25050 done; \
25051 echo "Doing html in uudecode" ; \
25052 (cd $(HOST_SUBDIR)/uudecode && \
25053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25055 "RANLIB=$${RANLIB}" \
25056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25057 html) \
25058 || exit 1
25060 @endif uudecode
25062 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25063 maybe-TAGS-uudecode:
25064 @if uudecode
25065 maybe-TAGS-uudecode: TAGS-uudecode
25067 TAGS-uudecode: \
25068 configure-uudecode
25069 @: $(MAKE); $(unstage)
25070 @[ -f ./uudecode/Makefile ] || exit 0; \
25071 r=`${PWD_COMMAND}`; export r; \
25072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25073 $(HOST_EXPORTS) \
25074 for flag in $(EXTRA_HOST_FLAGS) ; do \
25075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25076 done; \
25077 echo "Doing TAGS in uudecode" ; \
25078 (cd $(HOST_SUBDIR)/uudecode && \
25079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25081 "RANLIB=$${RANLIB}" \
25082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25083 TAGS) \
25084 || exit 1
25086 @endif uudecode
25088 .PHONY: maybe-install-info-uudecode install-info-uudecode
25089 maybe-install-info-uudecode:
25090 @if uudecode
25091 maybe-install-info-uudecode: install-info-uudecode
25093 install-info-uudecode: \
25094 configure-uudecode \
25095 info-uudecode
25096 @: $(MAKE); $(unstage)
25097 @[ -f ./uudecode/Makefile ] || exit 0; \
25098 r=`${PWD_COMMAND}`; export r; \
25099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25100 $(HOST_EXPORTS) \
25101 for flag in $(EXTRA_HOST_FLAGS) ; do \
25102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25103 done; \
25104 echo "Doing install-info in uudecode" ; \
25105 (cd $(HOST_SUBDIR)/uudecode && \
25106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25108 "RANLIB=$${RANLIB}" \
25109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25110 install-info) \
25111 || exit 1
25113 @endif uudecode
25115 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25116 maybe-installcheck-uudecode:
25117 @if uudecode
25118 maybe-installcheck-uudecode: installcheck-uudecode
25120 installcheck-uudecode: \
25121 configure-uudecode
25122 @: $(MAKE); $(unstage)
25123 @[ -f ./uudecode/Makefile ] || exit 0; \
25124 r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126 $(HOST_EXPORTS) \
25127 for flag in $(EXTRA_HOST_FLAGS) ; do \
25128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25129 done; \
25130 echo "Doing installcheck in uudecode" ; \
25131 (cd $(HOST_SUBDIR)/uudecode && \
25132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25134 "RANLIB=$${RANLIB}" \
25135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25136 installcheck) \
25137 || exit 1
25139 @endif uudecode
25141 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25142 maybe-mostlyclean-uudecode:
25143 @if uudecode
25144 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25146 mostlyclean-uudecode:
25147 @: $(MAKE); $(unstage)
25148 @[ -f ./uudecode/Makefile ] || exit 0; \
25149 r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(HOST_EXPORTS) \
25152 for flag in $(EXTRA_HOST_FLAGS) ; do \
25153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25154 done; \
25155 echo "Doing mostlyclean in uudecode" ; \
25156 (cd $(HOST_SUBDIR)/uudecode && \
25157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25159 "RANLIB=$${RANLIB}" \
25160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25161 mostlyclean) \
25162 || exit 1
25164 @endif uudecode
25166 .PHONY: maybe-clean-uudecode clean-uudecode
25167 maybe-clean-uudecode:
25168 @if uudecode
25169 maybe-clean-uudecode: clean-uudecode
25171 clean-uudecode:
25172 @: $(MAKE); $(unstage)
25173 @[ -f ./uudecode/Makefile ] || exit 0; \
25174 r=`${PWD_COMMAND}`; export r; \
25175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25176 $(HOST_EXPORTS) \
25177 for flag in $(EXTRA_HOST_FLAGS) ; do \
25178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25179 done; \
25180 echo "Doing clean in uudecode" ; \
25181 (cd $(HOST_SUBDIR)/uudecode && \
25182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25184 "RANLIB=$${RANLIB}" \
25185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25186 clean) \
25187 || exit 1
25189 @endif uudecode
25191 .PHONY: maybe-distclean-uudecode distclean-uudecode
25192 maybe-distclean-uudecode:
25193 @if uudecode
25194 maybe-distclean-uudecode: distclean-uudecode
25196 distclean-uudecode:
25197 @: $(MAKE); $(unstage)
25198 @[ -f ./uudecode/Makefile ] || exit 0; \
25199 r=`${PWD_COMMAND}`; export r; \
25200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25201 $(HOST_EXPORTS) \
25202 for flag in $(EXTRA_HOST_FLAGS) ; do \
25203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25204 done; \
25205 echo "Doing distclean in uudecode" ; \
25206 (cd $(HOST_SUBDIR)/uudecode && \
25207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25209 "RANLIB=$${RANLIB}" \
25210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25211 distclean) \
25212 || exit 1
25214 @endif uudecode
25216 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25217 maybe-maintainer-clean-uudecode:
25218 @if uudecode
25219 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25221 maintainer-clean-uudecode:
25222 @: $(MAKE); $(unstage)
25223 @[ -f ./uudecode/Makefile ] || exit 0; \
25224 r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 $(HOST_EXPORTS) \
25227 for flag in $(EXTRA_HOST_FLAGS) ; do \
25228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25229 done; \
25230 echo "Doing maintainer-clean in uudecode" ; \
25231 (cd $(HOST_SUBDIR)/uudecode && \
25232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25234 "RANLIB=$${RANLIB}" \
25235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25236 maintainer-clean) \
25237 || exit 1
25239 @endif uudecode
25243 .PHONY: configure-wdiff maybe-configure-wdiff
25244 maybe-configure-wdiff:
25245 @if wdiff
25246 maybe-configure-wdiff: configure-wdiff
25247 configure-wdiff:
25248 @: $(MAKE); $(unstage)
25249 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25251 r=`${PWD_COMMAND}`; export r; \
25252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 $(HOST_EXPORTS) \
25254 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25255 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25256 case $(srcdir) in \
25257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25258 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25260 esac; \
25261 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25262 libsrcdir="$$s/wdiff"; \
25263 $(SHELL) $${libsrcdir}/configure \
25264 $(HOST_CONFIGARGS) $${srcdiroption} \
25265 || exit 1
25266 @endif wdiff
25272 .PHONY: all-wdiff maybe-all-wdiff
25273 maybe-all-wdiff:
25274 @if wdiff
25275 TARGET-wdiff=all
25276 maybe-all-wdiff: all-wdiff
25277 all-wdiff: configure-wdiff
25278 @: $(MAKE); $(unstage)
25279 @r=`${PWD_COMMAND}`; export r; \
25280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25281 $(HOST_EXPORTS) \
25282 (cd $(HOST_SUBDIR)/wdiff && \
25283 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25284 @endif wdiff
25289 .PHONY: check-wdiff maybe-check-wdiff
25290 maybe-check-wdiff:
25291 @if wdiff
25292 maybe-check-wdiff: check-wdiff
25294 check-wdiff:
25295 @: $(MAKE); $(unstage)
25296 @r=`${PWD_COMMAND}`; export r; \
25297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25298 $(HOST_EXPORTS) \
25299 (cd $(HOST_SUBDIR)/wdiff && \
25300 $(MAKE) $(FLAGS_TO_PASS) check)
25302 @endif wdiff
25304 .PHONY: install-wdiff maybe-install-wdiff
25305 maybe-install-wdiff:
25306 @if wdiff
25307 maybe-install-wdiff: install-wdiff
25309 install-wdiff: installdirs
25310 @: $(MAKE); $(unstage)
25311 @r=`${PWD_COMMAND}`; export r; \
25312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25313 $(HOST_EXPORTS) \
25314 (cd $(HOST_SUBDIR)/wdiff && \
25315 $(MAKE) $(FLAGS_TO_PASS) install)
25317 @endif wdiff
25319 # Other targets (info, dvi, etc.)
25321 .PHONY: maybe-info-wdiff info-wdiff
25322 maybe-info-wdiff:
25323 @if wdiff
25324 maybe-info-wdiff: info-wdiff
25326 info-wdiff: \
25327 configure-wdiff
25328 @: $(MAKE); $(unstage)
25329 @[ -f ./wdiff/Makefile ] || exit 0; \
25330 r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(HOST_EXPORTS) \
25333 for flag in $(EXTRA_HOST_FLAGS) ; do \
25334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25335 done; \
25336 echo "Doing info in wdiff" ; \
25337 (cd $(HOST_SUBDIR)/wdiff && \
25338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25340 "RANLIB=$${RANLIB}" \
25341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25342 info) \
25343 || exit 1
25345 @endif wdiff
25347 .PHONY: maybe-dvi-wdiff dvi-wdiff
25348 maybe-dvi-wdiff:
25349 @if wdiff
25350 maybe-dvi-wdiff: dvi-wdiff
25352 dvi-wdiff: \
25353 configure-wdiff
25354 @: $(MAKE); $(unstage)
25355 @[ -f ./wdiff/Makefile ] || exit 0; \
25356 r=`${PWD_COMMAND}`; export r; \
25357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25358 $(HOST_EXPORTS) \
25359 for flag in $(EXTRA_HOST_FLAGS) ; do \
25360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25361 done; \
25362 echo "Doing dvi in wdiff" ; \
25363 (cd $(HOST_SUBDIR)/wdiff && \
25364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25366 "RANLIB=$${RANLIB}" \
25367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25368 dvi) \
25369 || exit 1
25371 @endif wdiff
25373 .PHONY: maybe-html-wdiff html-wdiff
25374 maybe-html-wdiff:
25375 @if wdiff
25376 maybe-html-wdiff: html-wdiff
25378 html-wdiff: \
25379 configure-wdiff
25380 @: $(MAKE); $(unstage)
25381 @[ -f ./wdiff/Makefile ] || exit 0; \
25382 r=`${PWD_COMMAND}`; export r; \
25383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25384 $(HOST_EXPORTS) \
25385 for flag in $(EXTRA_HOST_FLAGS) ; do \
25386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25387 done; \
25388 echo "Doing html in wdiff" ; \
25389 (cd $(HOST_SUBDIR)/wdiff && \
25390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25392 "RANLIB=$${RANLIB}" \
25393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25394 html) \
25395 || exit 1
25397 @endif wdiff
25399 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25400 maybe-TAGS-wdiff:
25401 @if wdiff
25402 maybe-TAGS-wdiff: TAGS-wdiff
25404 TAGS-wdiff: \
25405 configure-wdiff
25406 @: $(MAKE); $(unstage)
25407 @[ -f ./wdiff/Makefile ] || exit 0; \
25408 r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 $(HOST_EXPORTS) \
25411 for flag in $(EXTRA_HOST_FLAGS) ; do \
25412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25413 done; \
25414 echo "Doing TAGS in wdiff" ; \
25415 (cd $(HOST_SUBDIR)/wdiff && \
25416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418 "RANLIB=$${RANLIB}" \
25419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25420 TAGS) \
25421 || exit 1
25423 @endif wdiff
25425 .PHONY: maybe-install-info-wdiff install-info-wdiff
25426 maybe-install-info-wdiff:
25427 @if wdiff
25428 maybe-install-info-wdiff: install-info-wdiff
25430 install-info-wdiff: \
25431 configure-wdiff \
25432 info-wdiff
25433 @: $(MAKE); $(unstage)
25434 @[ -f ./wdiff/Makefile ] || exit 0; \
25435 r=`${PWD_COMMAND}`; export r; \
25436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25437 $(HOST_EXPORTS) \
25438 for flag in $(EXTRA_HOST_FLAGS) ; do \
25439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25440 done; \
25441 echo "Doing install-info in wdiff" ; \
25442 (cd $(HOST_SUBDIR)/wdiff && \
25443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25445 "RANLIB=$${RANLIB}" \
25446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25447 install-info) \
25448 || exit 1
25450 @endif wdiff
25452 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25453 maybe-installcheck-wdiff:
25454 @if wdiff
25455 maybe-installcheck-wdiff: installcheck-wdiff
25457 installcheck-wdiff: \
25458 configure-wdiff
25459 @: $(MAKE); $(unstage)
25460 @[ -f ./wdiff/Makefile ] || exit 0; \
25461 r=`${PWD_COMMAND}`; export r; \
25462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 $(HOST_EXPORTS) \
25464 for flag in $(EXTRA_HOST_FLAGS) ; do \
25465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25466 done; \
25467 echo "Doing installcheck in wdiff" ; \
25468 (cd $(HOST_SUBDIR)/wdiff && \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25471 "RANLIB=$${RANLIB}" \
25472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25473 installcheck) \
25474 || exit 1
25476 @endif wdiff
25478 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25479 maybe-mostlyclean-wdiff:
25480 @if wdiff
25481 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25483 mostlyclean-wdiff:
25484 @: $(MAKE); $(unstage)
25485 @[ -f ./wdiff/Makefile ] || exit 0; \
25486 r=`${PWD_COMMAND}`; export r; \
25487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25488 $(HOST_EXPORTS) \
25489 for flag in $(EXTRA_HOST_FLAGS) ; do \
25490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25491 done; \
25492 echo "Doing mostlyclean in wdiff" ; \
25493 (cd $(HOST_SUBDIR)/wdiff && \
25494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25496 "RANLIB=$${RANLIB}" \
25497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25498 mostlyclean) \
25499 || exit 1
25501 @endif wdiff
25503 .PHONY: maybe-clean-wdiff clean-wdiff
25504 maybe-clean-wdiff:
25505 @if wdiff
25506 maybe-clean-wdiff: clean-wdiff
25508 clean-wdiff:
25509 @: $(MAKE); $(unstage)
25510 @[ -f ./wdiff/Makefile ] || exit 0; \
25511 r=`${PWD_COMMAND}`; export r; \
25512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25513 $(HOST_EXPORTS) \
25514 for flag in $(EXTRA_HOST_FLAGS) ; do \
25515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25516 done; \
25517 echo "Doing clean in wdiff" ; \
25518 (cd $(HOST_SUBDIR)/wdiff && \
25519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25521 "RANLIB=$${RANLIB}" \
25522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25523 clean) \
25524 || exit 1
25526 @endif wdiff
25528 .PHONY: maybe-distclean-wdiff distclean-wdiff
25529 maybe-distclean-wdiff:
25530 @if wdiff
25531 maybe-distclean-wdiff: distclean-wdiff
25533 distclean-wdiff:
25534 @: $(MAKE); $(unstage)
25535 @[ -f ./wdiff/Makefile ] || exit 0; \
25536 r=`${PWD_COMMAND}`; export r; \
25537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25538 $(HOST_EXPORTS) \
25539 for flag in $(EXTRA_HOST_FLAGS) ; do \
25540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25541 done; \
25542 echo "Doing distclean in wdiff" ; \
25543 (cd $(HOST_SUBDIR)/wdiff && \
25544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25546 "RANLIB=$${RANLIB}" \
25547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25548 distclean) \
25549 || exit 1
25551 @endif wdiff
25553 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25554 maybe-maintainer-clean-wdiff:
25555 @if wdiff
25556 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25558 maintainer-clean-wdiff:
25559 @: $(MAKE); $(unstage)
25560 @[ -f ./wdiff/Makefile ] || exit 0; \
25561 r=`${PWD_COMMAND}`; export r; \
25562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25563 $(HOST_EXPORTS) \
25564 for flag in $(EXTRA_HOST_FLAGS) ; do \
25565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25566 done; \
25567 echo "Doing maintainer-clean in wdiff" ; \
25568 (cd $(HOST_SUBDIR)/wdiff && \
25569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25571 "RANLIB=$${RANLIB}" \
25572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25573 maintainer-clean) \
25574 || exit 1
25576 @endif wdiff
25580 .PHONY: configure-zip maybe-configure-zip
25581 maybe-configure-zip:
25582 @if zip
25583 maybe-configure-zip: configure-zip
25584 configure-zip:
25585 @: $(MAKE); $(unstage)
25586 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25588 r=`${PWD_COMMAND}`; export r; \
25589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25590 $(HOST_EXPORTS) \
25591 echo Configuring in $(HOST_SUBDIR)/zip; \
25592 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25593 case $(srcdir) in \
25594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25595 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25597 esac; \
25598 srcdiroption="--srcdir=$${topdir}/zip"; \
25599 libsrcdir="$$s/zip"; \
25600 $(SHELL) $${libsrcdir}/configure \
25601 $(HOST_CONFIGARGS) $${srcdiroption} \
25602 || exit 1
25603 @endif zip
25609 .PHONY: all-zip maybe-all-zip
25610 maybe-all-zip:
25611 @if zip
25612 TARGET-zip=all
25613 maybe-all-zip: all-zip
25614 all-zip: configure-zip
25615 @: $(MAKE); $(unstage)
25616 @r=`${PWD_COMMAND}`; export r; \
25617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25618 $(HOST_EXPORTS) \
25619 (cd $(HOST_SUBDIR)/zip && \
25620 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25621 @endif zip
25626 .PHONY: check-zip maybe-check-zip
25627 maybe-check-zip:
25628 @if zip
25629 maybe-check-zip: check-zip
25631 # This module is only tested in a native toolchain.
25632 check-zip:
25633 @: $(MAKE); $(unstage)
25634 @if [ '$(host)' = '$(target)' ] ; then \
25635 r=`${PWD_COMMAND}`; export r; \
25636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25637 $(HOST_EXPORTS) \
25638 (cd $(HOST_SUBDIR)/zip && \
25639 $(MAKE) $(FLAGS_TO_PASS) check); \
25642 @endif zip
25644 .PHONY: install-zip maybe-install-zip
25645 maybe-install-zip:
25646 @if zip
25647 maybe-install-zip: install-zip
25649 install-zip: installdirs
25650 @: $(MAKE); $(unstage)
25651 @r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(HOST_EXPORTS) \
25654 (cd $(HOST_SUBDIR)/zip && \
25655 $(MAKE) $(FLAGS_TO_PASS) install)
25657 @endif zip
25659 # Other targets (info, dvi, etc.)
25661 .PHONY: maybe-info-zip info-zip
25662 maybe-info-zip:
25663 @if zip
25664 maybe-info-zip: info-zip
25666 info-zip: \
25667 configure-zip
25668 @: $(MAKE); $(unstage)
25669 @[ -f ./zip/Makefile ] || exit 0; \
25670 r=`${PWD_COMMAND}`; export r; \
25671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672 $(HOST_EXPORTS) \
25673 for flag in $(EXTRA_HOST_FLAGS) ; do \
25674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25675 done; \
25676 echo "Doing info in zip" ; \
25677 (cd $(HOST_SUBDIR)/zip && \
25678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25680 "RANLIB=$${RANLIB}" \
25681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25682 info) \
25683 || exit 1
25685 @endif zip
25687 .PHONY: maybe-dvi-zip dvi-zip
25688 maybe-dvi-zip:
25689 @if zip
25690 maybe-dvi-zip: dvi-zip
25692 dvi-zip: \
25693 configure-zip
25694 @: $(MAKE); $(unstage)
25695 @[ -f ./zip/Makefile ] || exit 0; \
25696 r=`${PWD_COMMAND}`; export r; \
25697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25698 $(HOST_EXPORTS) \
25699 for flag in $(EXTRA_HOST_FLAGS) ; do \
25700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25701 done; \
25702 echo "Doing dvi in zip" ; \
25703 (cd $(HOST_SUBDIR)/zip && \
25704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25706 "RANLIB=$${RANLIB}" \
25707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25708 dvi) \
25709 || exit 1
25711 @endif zip
25713 .PHONY: maybe-html-zip html-zip
25714 maybe-html-zip:
25715 @if zip
25716 maybe-html-zip: html-zip
25718 html-zip: \
25719 configure-zip
25720 @: $(MAKE); $(unstage)
25721 @[ -f ./zip/Makefile ] || exit 0; \
25722 r=`${PWD_COMMAND}`; export r; \
25723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25724 $(HOST_EXPORTS) \
25725 for flag in $(EXTRA_HOST_FLAGS) ; do \
25726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25727 done; \
25728 echo "Doing html in zip" ; \
25729 (cd $(HOST_SUBDIR)/zip && \
25730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25732 "RANLIB=$${RANLIB}" \
25733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25734 html) \
25735 || exit 1
25737 @endif zip
25739 .PHONY: maybe-TAGS-zip TAGS-zip
25740 maybe-TAGS-zip:
25741 @if zip
25742 maybe-TAGS-zip: TAGS-zip
25744 TAGS-zip: \
25745 configure-zip
25746 @: $(MAKE); $(unstage)
25747 @[ -f ./zip/Makefile ] || exit 0; \
25748 r=`${PWD_COMMAND}`; export r; \
25749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25750 $(HOST_EXPORTS) \
25751 for flag in $(EXTRA_HOST_FLAGS) ; do \
25752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25753 done; \
25754 echo "Doing TAGS in zip" ; \
25755 (cd $(HOST_SUBDIR)/zip && \
25756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25758 "RANLIB=$${RANLIB}" \
25759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25760 TAGS) \
25761 || exit 1
25763 @endif zip
25765 .PHONY: maybe-install-info-zip install-info-zip
25766 maybe-install-info-zip:
25767 @if zip
25768 maybe-install-info-zip: install-info-zip
25770 install-info-zip: \
25771 configure-zip \
25772 info-zip
25773 @: $(MAKE); $(unstage)
25774 @[ -f ./zip/Makefile ] || exit 0; \
25775 r=`${PWD_COMMAND}`; export r; \
25776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25777 $(HOST_EXPORTS) \
25778 for flag in $(EXTRA_HOST_FLAGS) ; do \
25779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25780 done; \
25781 echo "Doing install-info in zip" ; \
25782 (cd $(HOST_SUBDIR)/zip && \
25783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25785 "RANLIB=$${RANLIB}" \
25786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25787 install-info) \
25788 || exit 1
25790 @endif zip
25792 .PHONY: maybe-installcheck-zip installcheck-zip
25793 maybe-installcheck-zip:
25794 @if zip
25795 maybe-installcheck-zip: installcheck-zip
25797 installcheck-zip: \
25798 configure-zip
25799 @: $(MAKE); $(unstage)
25800 @[ -f ./zip/Makefile ] || exit 0; \
25801 r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(HOST_EXPORTS) \
25804 for flag in $(EXTRA_HOST_FLAGS) ; do \
25805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25806 done; \
25807 echo "Doing installcheck in zip" ; \
25808 (cd $(HOST_SUBDIR)/zip && \
25809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25811 "RANLIB=$${RANLIB}" \
25812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25813 installcheck) \
25814 || exit 1
25816 @endif zip
25818 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25819 maybe-mostlyclean-zip:
25820 @if zip
25821 maybe-mostlyclean-zip: mostlyclean-zip
25823 mostlyclean-zip:
25824 @: $(MAKE); $(unstage)
25825 @[ -f ./zip/Makefile ] || exit 0; \
25826 r=`${PWD_COMMAND}`; export r; \
25827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25828 $(HOST_EXPORTS) \
25829 for flag in $(EXTRA_HOST_FLAGS) ; do \
25830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25831 done; \
25832 echo "Doing mostlyclean in zip" ; \
25833 (cd $(HOST_SUBDIR)/zip && \
25834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25836 "RANLIB=$${RANLIB}" \
25837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25838 mostlyclean) \
25839 || exit 1
25841 @endif zip
25843 .PHONY: maybe-clean-zip clean-zip
25844 maybe-clean-zip:
25845 @if zip
25846 maybe-clean-zip: clean-zip
25848 clean-zip:
25849 @: $(MAKE); $(unstage)
25850 @[ -f ./zip/Makefile ] || exit 0; \
25851 r=`${PWD_COMMAND}`; export r; \
25852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25853 $(HOST_EXPORTS) \
25854 for flag in $(EXTRA_HOST_FLAGS) ; do \
25855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25856 done; \
25857 echo "Doing clean in zip" ; \
25858 (cd $(HOST_SUBDIR)/zip && \
25859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25861 "RANLIB=$${RANLIB}" \
25862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25863 clean) \
25864 || exit 1
25866 @endif zip
25868 .PHONY: maybe-distclean-zip distclean-zip
25869 maybe-distclean-zip:
25870 @if zip
25871 maybe-distclean-zip: distclean-zip
25873 distclean-zip:
25874 @: $(MAKE); $(unstage)
25875 @[ -f ./zip/Makefile ] || exit 0; \
25876 r=`${PWD_COMMAND}`; export r; \
25877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25878 $(HOST_EXPORTS) \
25879 for flag in $(EXTRA_HOST_FLAGS) ; do \
25880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25881 done; \
25882 echo "Doing distclean in zip" ; \
25883 (cd $(HOST_SUBDIR)/zip && \
25884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25886 "RANLIB=$${RANLIB}" \
25887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25888 distclean) \
25889 || exit 1
25891 @endif zip
25893 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25894 maybe-maintainer-clean-zip:
25895 @if zip
25896 maybe-maintainer-clean-zip: maintainer-clean-zip
25898 maintainer-clean-zip:
25899 @: $(MAKE); $(unstage)
25900 @[ -f ./zip/Makefile ] || exit 0; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(HOST_EXPORTS) \
25904 for flag in $(EXTRA_HOST_FLAGS) ; do \
25905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 done; \
25907 echo "Doing maintainer-clean in zip" ; \
25908 (cd $(HOST_SUBDIR)/zip && \
25909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25911 "RANLIB=$${RANLIB}" \
25912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25913 maintainer-clean) \
25914 || exit 1
25916 @endif zip
25920 .PHONY: configure-zlib maybe-configure-zlib
25921 maybe-configure-zlib:
25922 @if zlib
25923 maybe-configure-zlib: configure-zlib
25924 configure-zlib:
25925 @test -f stage_last && exit 0; \
25926 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25928 r=`${PWD_COMMAND}`; export r; \
25929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25930 $(HOST_EXPORTS) \
25931 echo Configuring in $(HOST_SUBDIR)/zlib; \
25932 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25933 case $(srcdir) in \
25934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25935 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25937 esac; \
25938 srcdiroption="--srcdir=$${topdir}/zlib"; \
25939 libsrcdir="$$s/zlib"; \
25940 $(SHELL) $${libsrcdir}/configure \
25941 $(HOST_CONFIGARGS) $${srcdiroption} \
25942 || exit 1
25943 @endif zlib
25947 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25948 maybe-configure-stage1-zlib:
25949 @if zlib-bootstrap
25950 maybe-configure-stage1-zlib: configure-stage1-zlib
25951 configure-stage1-zlib:
25952 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25954 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25955 $(HOST_EXPORTS) \
25956 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25958 cd $(HOST_SUBDIR)/zlib || exit 1; \
25959 case $(srcdir) in \
25960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25961 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25963 esac; \
25964 srcdiroption="--srcdir=$${topdir}/zlib"; \
25965 libsrcdir="$$s/zlib"; \
25966 $(SHELL) $${libsrcdir}/configure \
25967 $(HOST_CONFIGARGS) $${srcdiroption} \
25968 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25969 @endif zlib-bootstrap
25971 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25972 maybe-configure-stage2-zlib:
25973 @if zlib-bootstrap
25974 maybe-configure-stage2-zlib: configure-stage2-zlib
25975 configure-stage2-zlib:
25976 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25978 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25979 $(HOST_EXPORTS) \
25980 $(POSTSTAGE1_HOST_EXPORTS) \
25981 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25983 cd $(HOST_SUBDIR)/zlib || exit 1; \
25984 case $(srcdir) in \
25985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25986 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25988 esac; \
25989 srcdiroption="--srcdir=$${topdir}/zlib"; \
25990 libsrcdir="$$s/zlib"; \
25991 $(SHELL) $${libsrcdir}/configure \
25992 $(HOST_CONFIGARGS) $${srcdiroption} \
25993 @stage2_werror_flag@
25994 @endif zlib-bootstrap
25996 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25997 maybe-configure-stage3-zlib:
25998 @if zlib-bootstrap
25999 maybe-configure-stage3-zlib: configure-stage3-zlib
26000 configure-stage3-zlib:
26001 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26003 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26004 $(HOST_EXPORTS) \
26005 $(POSTSTAGE1_HOST_EXPORTS) \
26006 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26008 cd $(HOST_SUBDIR)/zlib || exit 1; \
26009 case $(srcdir) in \
26010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26011 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26013 esac; \
26014 srcdiroption="--srcdir=$${topdir}/zlib"; \
26015 libsrcdir="$$s/zlib"; \
26016 $(SHELL) $${libsrcdir}/configure \
26017 $(HOST_CONFIGARGS) $${srcdiroption} \
26018 @stage2_werror_flag@
26019 @endif zlib-bootstrap
26021 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26022 maybe-configure-stage4-zlib:
26023 @if zlib-bootstrap
26024 maybe-configure-stage4-zlib: configure-stage4-zlib
26025 configure-stage4-zlib:
26026 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26028 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26029 $(HOST_EXPORTS) \
26030 $(POSTSTAGE1_HOST_EXPORTS) \
26031 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26033 cd $(HOST_SUBDIR)/zlib || exit 1; \
26034 case $(srcdir) in \
26035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26036 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26038 esac; \
26039 srcdiroption="--srcdir=$${topdir}/zlib"; \
26040 libsrcdir="$$s/zlib"; \
26041 $(SHELL) $${libsrcdir}/configure \
26042 $(HOST_CONFIGARGS) $${srcdiroption} \
26043 @stage2_werror_flag@
26044 @endif zlib-bootstrap
26046 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26047 maybe-configure-stageprofile-zlib:
26048 @if zlib-bootstrap
26049 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26050 configure-stageprofile-zlib:
26051 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26053 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26054 $(HOST_EXPORTS) \
26055 $(POSTSTAGE1_HOST_EXPORTS) \
26056 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26058 cd $(HOST_SUBDIR)/zlib || exit 1; \
26059 case $(srcdir) in \
26060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26061 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26063 esac; \
26064 srcdiroption="--srcdir=$${topdir}/zlib"; \
26065 libsrcdir="$$s/zlib"; \
26066 $(SHELL) $${libsrcdir}/configure \
26067 $(HOST_CONFIGARGS) $${srcdiroption} \
26068 @stage2_werror_flag@
26069 @endif zlib-bootstrap
26071 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26072 maybe-configure-stagefeedback-zlib:
26073 @if zlib-bootstrap
26074 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26075 configure-stagefeedback-zlib:
26076 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26078 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26079 $(HOST_EXPORTS) \
26080 $(POSTSTAGE1_HOST_EXPORTS) \
26081 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26083 cd $(HOST_SUBDIR)/zlib || exit 1; \
26084 case $(srcdir) in \
26085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26086 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26088 esac; \
26089 srcdiroption="--srcdir=$${topdir}/zlib"; \
26090 libsrcdir="$$s/zlib"; \
26091 $(SHELL) $${libsrcdir}/configure \
26092 $(HOST_CONFIGARGS) $${srcdiroption} \
26093 @stage2_werror_flag@
26094 @endif zlib-bootstrap
26100 .PHONY: all-zlib maybe-all-zlib
26101 maybe-all-zlib:
26102 @if zlib
26103 TARGET-zlib=all
26104 maybe-all-zlib: all-zlib
26105 all-zlib: configure-zlib
26106 @test -f stage_last && exit 0; \
26107 r=`${PWD_COMMAND}`; export r; \
26108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26109 $(HOST_EXPORTS) \
26110 (cd $(HOST_SUBDIR)/zlib && \
26111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26112 @endif zlib
26116 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26117 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26118 maybe-all-stage1-zlib:
26119 maybe-clean-stage1-zlib:
26120 @if zlib-bootstrap
26121 maybe-all-stage1-zlib: all-stage1-zlib
26122 all-stage1: all-stage1-zlib
26123 TARGET-stage1-zlib = $(TARGET-zlib)
26124 all-stage1-zlib: configure-stage1-zlib
26125 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26126 @r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(HOST_EXPORTS) \
26129 cd $(HOST_SUBDIR)/zlib && \
26130 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26131 $(TARGET-stage1-zlib)
26133 maybe-clean-stage1-zlib: clean-stage1-zlib
26134 clean-stage1: clean-stage1-zlib
26135 clean-stage1-zlib:
26136 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26137 || exit 0 ; \
26138 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26139 cd $(HOST_SUBDIR)/zlib && \
26140 $(MAKE) $(FLAGS_TO_PASS) \
26141 CFLAGS="$(STAGE1_CFLAGS)" clean
26142 @endif zlib-bootstrap
26145 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26146 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26147 maybe-all-stage2-zlib:
26148 maybe-clean-stage2-zlib:
26149 @if zlib-bootstrap
26150 maybe-all-stage2-zlib: all-stage2-zlib
26151 all-stage2: all-stage2-zlib
26152 TARGET-stage2-zlib = $(TARGET-zlib)
26153 all-stage2-zlib: configure-stage2-zlib
26154 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26155 @r=`${PWD_COMMAND}`; export r; \
26156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26157 $(HOST_EXPORTS) \
26158 $(POSTSTAGE1_HOST_EXPORTS) \
26159 cd $(HOST_SUBDIR)/zlib && \
26160 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26161 $(TARGET-stage2-zlib)
26163 maybe-clean-stage2-zlib: clean-stage2-zlib
26164 clean-stage2: clean-stage2-zlib
26165 clean-stage2-zlib:
26166 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26167 || exit 0 ; \
26168 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26169 cd $(HOST_SUBDIR)/zlib && \
26170 $(MAKE) $(FLAGS_TO_PASS) \
26171 $(POSTSTAGE1_FLAGS_TO_PASS) \
26172 clean
26173 @endif zlib-bootstrap
26176 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26177 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26178 maybe-all-stage3-zlib:
26179 maybe-clean-stage3-zlib:
26180 @if zlib-bootstrap
26181 maybe-all-stage3-zlib: all-stage3-zlib
26182 all-stage3: all-stage3-zlib
26183 TARGET-stage3-zlib = $(TARGET-zlib)
26184 all-stage3-zlib: configure-stage3-zlib
26185 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26186 @r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(HOST_EXPORTS) \
26189 $(POSTSTAGE1_HOST_EXPORTS) \
26190 cd $(HOST_SUBDIR)/zlib && \
26191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26192 $(TARGET-stage3-zlib)
26194 maybe-clean-stage3-zlib: clean-stage3-zlib
26195 clean-stage3: clean-stage3-zlib
26196 clean-stage3-zlib:
26197 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26198 || exit 0 ; \
26199 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26200 cd $(HOST_SUBDIR)/zlib && \
26201 $(MAKE) $(FLAGS_TO_PASS) \
26202 $(POSTSTAGE1_FLAGS_TO_PASS) \
26203 clean
26204 @endif zlib-bootstrap
26207 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26208 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26209 maybe-all-stage4-zlib:
26210 maybe-clean-stage4-zlib:
26211 @if zlib-bootstrap
26212 maybe-all-stage4-zlib: all-stage4-zlib
26213 all-stage4: all-stage4-zlib
26214 TARGET-stage4-zlib = $(TARGET-zlib)
26215 all-stage4-zlib: configure-stage4-zlib
26216 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26217 @r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 $(HOST_EXPORTS) \
26220 $(POSTSTAGE1_HOST_EXPORTS) \
26221 cd $(HOST_SUBDIR)/zlib && \
26222 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26223 $(TARGET-stage4-zlib)
26225 maybe-clean-stage4-zlib: clean-stage4-zlib
26226 clean-stage4: clean-stage4-zlib
26227 clean-stage4-zlib:
26228 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26229 || exit 0 ; \
26230 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26231 cd $(HOST_SUBDIR)/zlib && \
26232 $(MAKE) $(FLAGS_TO_PASS) \
26233 $(POSTSTAGE1_FLAGS_TO_PASS) \
26234 clean
26235 @endif zlib-bootstrap
26238 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26239 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26240 maybe-all-stageprofile-zlib:
26241 maybe-clean-stageprofile-zlib:
26242 @if zlib-bootstrap
26243 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26244 all-stageprofile: all-stageprofile-zlib
26245 TARGET-stageprofile-zlib = $(TARGET-zlib)
26246 all-stageprofile-zlib: configure-stageprofile-zlib
26247 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26248 @r=`${PWD_COMMAND}`; export r; \
26249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26250 $(HOST_EXPORTS) \
26251 $(POSTSTAGE1_HOST_EXPORTS) \
26252 cd $(HOST_SUBDIR)/zlib && \
26253 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26254 $(TARGET-stageprofile-zlib)
26256 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26257 clean-stageprofile: clean-stageprofile-zlib
26258 clean-stageprofile-zlib:
26259 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26260 || exit 0 ; \
26261 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26262 cd $(HOST_SUBDIR)/zlib && \
26263 $(MAKE) $(FLAGS_TO_PASS) \
26264 $(POSTSTAGE1_FLAGS_TO_PASS) \
26265 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26266 @endif zlib-bootstrap
26269 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26270 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26271 maybe-all-stagefeedback-zlib:
26272 maybe-clean-stagefeedback-zlib:
26273 @if zlib-bootstrap
26274 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26275 all-stagefeedback: all-stagefeedback-zlib
26276 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26277 all-stagefeedback-zlib: configure-stagefeedback-zlib
26278 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26279 @r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26281 $(HOST_EXPORTS) \
26282 $(POSTSTAGE1_HOST_EXPORTS) \
26283 cd $(HOST_SUBDIR)/zlib && \
26284 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26285 $(TARGET-stagefeedback-zlib)
26287 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26288 clean-stagefeedback: clean-stagefeedback-zlib
26289 clean-stagefeedback-zlib:
26290 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26291 || exit 0 ; \
26292 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26293 cd $(HOST_SUBDIR)/zlib && \
26294 $(MAKE) $(FLAGS_TO_PASS) \
26295 $(POSTSTAGE1_FLAGS_TO_PASS) \
26296 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26297 @endif zlib-bootstrap
26303 .PHONY: check-zlib maybe-check-zlib
26304 maybe-check-zlib:
26305 @if zlib
26306 maybe-check-zlib: check-zlib
26308 check-zlib:
26310 @endif zlib
26312 .PHONY: install-zlib maybe-install-zlib
26313 maybe-install-zlib:
26314 @if zlib
26315 maybe-install-zlib: install-zlib
26317 install-zlib:
26319 @endif zlib
26321 # Other targets (info, dvi, etc.)
26323 .PHONY: maybe-info-zlib info-zlib
26324 maybe-info-zlib:
26325 @if zlib
26326 maybe-info-zlib: info-zlib
26328 info-zlib: \
26329 configure-zlib
26330 @[ -f ./zlib/Makefile ] || exit 0; \
26331 r=`${PWD_COMMAND}`; export r; \
26332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(HOST_EXPORTS) \
26334 for flag in $(EXTRA_HOST_FLAGS) ; do \
26335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26336 done; \
26337 echo "Doing info in zlib" ; \
26338 (cd $(HOST_SUBDIR)/zlib && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26343 info) \
26344 || exit 1
26346 @endif zlib
26348 .PHONY: maybe-dvi-zlib dvi-zlib
26349 maybe-dvi-zlib:
26350 @if zlib
26351 maybe-dvi-zlib: dvi-zlib
26353 dvi-zlib: \
26354 configure-zlib
26355 @[ -f ./zlib/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing dvi in zlib" ; \
26363 (cd $(HOST_SUBDIR)/zlib && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368 dvi) \
26369 || exit 1
26371 @endif zlib
26373 .PHONY: maybe-html-zlib html-zlib
26374 maybe-html-zlib:
26375 @if zlib
26376 maybe-html-zlib: html-zlib
26378 html-zlib: \
26379 configure-zlib
26380 @[ -f ./zlib/Makefile ] || exit 0; \
26381 r=`${PWD_COMMAND}`; export r; \
26382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26383 $(HOST_EXPORTS) \
26384 for flag in $(EXTRA_HOST_FLAGS) ; do \
26385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26386 done; \
26387 echo "Doing html in zlib" ; \
26388 (cd $(HOST_SUBDIR)/zlib && \
26389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26391 "RANLIB=$${RANLIB}" \
26392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26393 html) \
26394 || exit 1
26396 @endif zlib
26398 .PHONY: maybe-TAGS-zlib TAGS-zlib
26399 maybe-TAGS-zlib:
26400 @if zlib
26401 maybe-TAGS-zlib: TAGS-zlib
26403 TAGS-zlib: \
26404 configure-zlib
26405 @[ -f ./zlib/Makefile ] || exit 0; \
26406 r=`${PWD_COMMAND}`; export r; \
26407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26408 $(HOST_EXPORTS) \
26409 for flag in $(EXTRA_HOST_FLAGS) ; do \
26410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26411 done; \
26412 echo "Doing TAGS in zlib" ; \
26413 (cd $(HOST_SUBDIR)/zlib && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26418 TAGS) \
26419 || exit 1
26421 @endif zlib
26423 .PHONY: maybe-install-info-zlib install-info-zlib
26424 maybe-install-info-zlib:
26425 @if zlib
26426 maybe-install-info-zlib: install-info-zlib
26428 install-info-zlib: \
26429 configure-zlib \
26430 info-zlib
26431 @[ -f ./zlib/Makefile ] || exit 0; \
26432 r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(HOST_EXPORTS) \
26435 for flag in $(EXTRA_HOST_FLAGS) ; do \
26436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26437 done; \
26438 echo "Doing install-info in zlib" ; \
26439 (cd $(HOST_SUBDIR)/zlib && \
26440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26442 "RANLIB=$${RANLIB}" \
26443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26444 install-info) \
26445 || exit 1
26447 @endif zlib
26449 .PHONY: maybe-installcheck-zlib installcheck-zlib
26450 maybe-installcheck-zlib:
26451 @if zlib
26452 maybe-installcheck-zlib: installcheck-zlib
26454 installcheck-zlib: \
26455 configure-zlib
26456 @[ -f ./zlib/Makefile ] || exit 0; \
26457 r=`${PWD_COMMAND}`; export r; \
26458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26459 $(HOST_EXPORTS) \
26460 for flag in $(EXTRA_HOST_FLAGS) ; do \
26461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26462 done; \
26463 echo "Doing installcheck in zlib" ; \
26464 (cd $(HOST_SUBDIR)/zlib && \
26465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26467 "RANLIB=$${RANLIB}" \
26468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26469 installcheck) \
26470 || exit 1
26472 @endif zlib
26474 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26475 maybe-mostlyclean-zlib:
26476 @if zlib
26477 maybe-mostlyclean-zlib: mostlyclean-zlib
26479 mostlyclean-zlib:
26480 @[ -f ./zlib/Makefile ] || exit 0; \
26481 r=`${PWD_COMMAND}`; export r; \
26482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26483 $(HOST_EXPORTS) \
26484 for flag in $(EXTRA_HOST_FLAGS) ; do \
26485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26486 done; \
26487 echo "Doing mostlyclean in zlib" ; \
26488 (cd $(HOST_SUBDIR)/zlib && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26491 "RANLIB=$${RANLIB}" \
26492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26493 mostlyclean) \
26494 || exit 1
26496 @endif zlib
26498 .PHONY: maybe-clean-zlib clean-zlib
26499 maybe-clean-zlib:
26500 @if zlib
26501 maybe-clean-zlib: clean-zlib
26503 clean-zlib:
26504 @[ -f ./zlib/Makefile ] || exit 0; \
26505 r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26507 $(HOST_EXPORTS) \
26508 for flag in $(EXTRA_HOST_FLAGS) ; do \
26509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26510 done; \
26511 echo "Doing clean in zlib" ; \
26512 (cd $(HOST_SUBDIR)/zlib && \
26513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26515 "RANLIB=$${RANLIB}" \
26516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26517 clean) \
26518 || exit 1
26520 @endif zlib
26522 .PHONY: maybe-distclean-zlib distclean-zlib
26523 maybe-distclean-zlib:
26524 @if zlib
26525 maybe-distclean-zlib: distclean-zlib
26527 distclean-zlib:
26528 @[ -f ./zlib/Makefile ] || exit 0; \
26529 r=`${PWD_COMMAND}`; export r; \
26530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26531 $(HOST_EXPORTS) \
26532 for flag in $(EXTRA_HOST_FLAGS) ; do \
26533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26534 done; \
26535 echo "Doing distclean in zlib" ; \
26536 (cd $(HOST_SUBDIR)/zlib && \
26537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26539 "RANLIB=$${RANLIB}" \
26540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26541 distclean) \
26542 || exit 1
26544 @endif zlib
26546 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26547 maybe-maintainer-clean-zlib:
26548 @if zlib
26549 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26551 maintainer-clean-zlib:
26552 @[ -f ./zlib/Makefile ] || exit 0; \
26553 r=`${PWD_COMMAND}`; export r; \
26554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26555 $(HOST_EXPORTS) \
26556 for flag in $(EXTRA_HOST_FLAGS) ; do \
26557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26558 done; \
26559 echo "Doing maintainer-clean in zlib" ; \
26560 (cd $(HOST_SUBDIR)/zlib && \
26561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26563 "RANLIB=$${RANLIB}" \
26564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26565 maintainer-clean) \
26566 || exit 1
26568 @endif zlib
26572 .PHONY: configure-gdb maybe-configure-gdb
26573 maybe-configure-gdb:
26574 @if gdb
26575 maybe-configure-gdb: configure-gdb
26576 configure-gdb:
26577 @: $(MAKE); $(unstage)
26578 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26580 r=`${PWD_COMMAND}`; export r; \
26581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26582 $(HOST_EXPORTS) \
26583 echo Configuring in $(HOST_SUBDIR)/gdb; \
26584 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26585 case $(srcdir) in \
26586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26587 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26589 esac; \
26590 srcdiroption="--srcdir=$${topdir}/gdb"; \
26591 libsrcdir="$$s/gdb"; \
26592 $(SHELL) $${libsrcdir}/configure \
26593 $(HOST_CONFIGARGS) $${srcdiroption} \
26594 || exit 1
26595 @endif gdb
26601 .PHONY: all-gdb maybe-all-gdb
26602 maybe-all-gdb:
26603 @if gdb
26604 TARGET-gdb=all
26605 maybe-all-gdb: all-gdb
26606 all-gdb: configure-gdb
26607 @: $(MAKE); $(unstage)
26608 @r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26610 $(HOST_EXPORTS) \
26611 (cd $(HOST_SUBDIR)/gdb && \
26612 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26613 @endif gdb
26618 .PHONY: check-gdb maybe-check-gdb
26619 maybe-check-gdb:
26620 @if gdb
26621 maybe-check-gdb: check-gdb
26623 check-gdb:
26624 @: $(MAKE); $(unstage)
26625 @r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 $(HOST_EXPORTS) \
26628 (cd $(HOST_SUBDIR)/gdb && \
26629 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26631 @endif gdb
26633 .PHONY: install-gdb maybe-install-gdb
26634 maybe-install-gdb:
26635 @if gdb
26636 maybe-install-gdb: install-gdb
26638 install-gdb: installdirs
26639 @: $(MAKE); $(unstage)
26640 @r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 $(HOST_EXPORTS) \
26643 (cd $(HOST_SUBDIR)/gdb && \
26644 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26646 @endif gdb
26648 # Other targets (info, dvi, etc.)
26650 .PHONY: maybe-info-gdb info-gdb
26651 maybe-info-gdb:
26652 @if gdb
26653 maybe-info-gdb: info-gdb
26655 info-gdb: \
26656 configure-gdb
26657 @: $(MAKE); $(unstage)
26658 @[ -f ./gdb/Makefile ] || exit 0; \
26659 r=`${PWD_COMMAND}`; export r; \
26660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26661 $(HOST_EXPORTS) \
26662 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26664 done; \
26665 echo "Doing info in gdb" ; \
26666 (cd $(HOST_SUBDIR)/gdb && \
26667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26669 "RANLIB=$${RANLIB}" \
26670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26671 info) \
26672 || exit 1
26674 @endif gdb
26676 .PHONY: maybe-dvi-gdb dvi-gdb
26677 maybe-dvi-gdb:
26678 @if gdb
26679 maybe-dvi-gdb: dvi-gdb
26681 dvi-gdb: \
26682 configure-gdb
26683 @: $(MAKE); $(unstage)
26684 @[ -f ./gdb/Makefile ] || exit 0; \
26685 r=`${PWD_COMMAND}`; export r; \
26686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26687 $(HOST_EXPORTS) \
26688 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26690 done; \
26691 echo "Doing dvi in gdb" ; \
26692 (cd $(HOST_SUBDIR)/gdb && \
26693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26695 "RANLIB=$${RANLIB}" \
26696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26697 dvi) \
26698 || exit 1
26700 @endif gdb
26702 .PHONY: maybe-html-gdb html-gdb
26703 maybe-html-gdb:
26704 @if gdb
26705 maybe-html-gdb: html-gdb
26707 html-gdb: \
26708 configure-gdb
26709 @: $(MAKE); $(unstage)
26710 @[ -f ./gdb/Makefile ] || exit 0; \
26711 r=`${PWD_COMMAND}`; export r; \
26712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26713 $(HOST_EXPORTS) \
26714 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26716 done; \
26717 echo "Doing html in gdb" ; \
26718 (cd $(HOST_SUBDIR)/gdb && \
26719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26721 "RANLIB=$${RANLIB}" \
26722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26723 html) \
26724 || exit 1
26726 @endif gdb
26728 .PHONY: maybe-TAGS-gdb TAGS-gdb
26729 maybe-TAGS-gdb:
26730 @if gdb
26731 maybe-TAGS-gdb: TAGS-gdb
26733 TAGS-gdb: \
26734 configure-gdb
26735 @: $(MAKE); $(unstage)
26736 @[ -f ./gdb/Makefile ] || exit 0; \
26737 r=`${PWD_COMMAND}`; export r; \
26738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26739 $(HOST_EXPORTS) \
26740 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26742 done; \
26743 echo "Doing TAGS in gdb" ; \
26744 (cd $(HOST_SUBDIR)/gdb && \
26745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26747 "RANLIB=$${RANLIB}" \
26748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26749 TAGS) \
26750 || exit 1
26752 @endif gdb
26754 .PHONY: maybe-install-info-gdb install-info-gdb
26755 maybe-install-info-gdb:
26756 @if gdb
26757 maybe-install-info-gdb: install-info-gdb
26759 install-info-gdb: \
26760 configure-gdb \
26761 info-gdb
26762 @: $(MAKE); $(unstage)
26763 @[ -f ./gdb/Makefile ] || exit 0; \
26764 r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) \
26767 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26769 done; \
26770 echo "Doing install-info in gdb" ; \
26771 (cd $(HOST_SUBDIR)/gdb && \
26772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26774 "RANLIB=$${RANLIB}" \
26775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26776 install-info) \
26777 || exit 1
26779 @endif gdb
26781 .PHONY: maybe-installcheck-gdb installcheck-gdb
26782 maybe-installcheck-gdb:
26783 @if gdb
26784 maybe-installcheck-gdb: installcheck-gdb
26786 installcheck-gdb: \
26787 configure-gdb
26788 @: $(MAKE); $(unstage)
26789 @[ -f ./gdb/Makefile ] || exit 0; \
26790 r=`${PWD_COMMAND}`; export r; \
26791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26792 $(HOST_EXPORTS) \
26793 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26795 done; \
26796 echo "Doing installcheck in gdb" ; \
26797 (cd $(HOST_SUBDIR)/gdb && \
26798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26800 "RANLIB=$${RANLIB}" \
26801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26802 installcheck) \
26803 || exit 1
26805 @endif gdb
26807 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26808 maybe-mostlyclean-gdb:
26809 @if gdb
26810 maybe-mostlyclean-gdb: mostlyclean-gdb
26812 mostlyclean-gdb:
26813 @: $(MAKE); $(unstage)
26814 @[ -f ./gdb/Makefile ] || exit 0; \
26815 r=`${PWD_COMMAND}`; export r; \
26816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 $(HOST_EXPORTS) \
26818 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26820 done; \
26821 echo "Doing mostlyclean in gdb" ; \
26822 (cd $(HOST_SUBDIR)/gdb && \
26823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26825 "RANLIB=$${RANLIB}" \
26826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26827 mostlyclean) \
26828 || exit 1
26830 @endif gdb
26832 .PHONY: maybe-clean-gdb clean-gdb
26833 maybe-clean-gdb:
26834 @if gdb
26835 maybe-clean-gdb: clean-gdb
26837 clean-gdb:
26838 @: $(MAKE); $(unstage)
26839 @[ -f ./gdb/Makefile ] || exit 0; \
26840 r=`${PWD_COMMAND}`; export r; \
26841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26842 $(HOST_EXPORTS) \
26843 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 done; \
26846 echo "Doing clean in gdb" ; \
26847 (cd $(HOST_SUBDIR)/gdb && \
26848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26850 "RANLIB=$${RANLIB}" \
26851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26852 clean) \
26853 || exit 1
26855 @endif gdb
26857 .PHONY: maybe-distclean-gdb distclean-gdb
26858 maybe-distclean-gdb:
26859 @if gdb
26860 maybe-distclean-gdb: distclean-gdb
26862 distclean-gdb:
26863 @: $(MAKE); $(unstage)
26864 @[ -f ./gdb/Makefile ] || exit 0; \
26865 r=`${PWD_COMMAND}`; export r; \
26866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26867 $(HOST_EXPORTS) \
26868 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26870 done; \
26871 echo "Doing distclean in gdb" ; \
26872 (cd $(HOST_SUBDIR)/gdb && \
26873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26875 "RANLIB=$${RANLIB}" \
26876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26877 distclean) \
26878 || exit 1
26880 @endif gdb
26882 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26883 maybe-maintainer-clean-gdb:
26884 @if gdb
26885 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26887 maintainer-clean-gdb:
26888 @: $(MAKE); $(unstage)
26889 @[ -f ./gdb/Makefile ] || exit 0; \
26890 r=`${PWD_COMMAND}`; export r; \
26891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26892 $(HOST_EXPORTS) \
26893 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26895 done; \
26896 echo "Doing maintainer-clean in gdb" ; \
26897 (cd $(HOST_SUBDIR)/gdb && \
26898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26900 "RANLIB=$${RANLIB}" \
26901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26902 maintainer-clean) \
26903 || exit 1
26905 @endif gdb
26909 .PHONY: configure-expect maybe-configure-expect
26910 maybe-configure-expect:
26911 @if expect
26912 maybe-configure-expect: configure-expect
26913 configure-expect:
26914 @: $(MAKE); $(unstage)
26915 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26917 r=`${PWD_COMMAND}`; export r; \
26918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26919 $(HOST_EXPORTS) \
26920 echo Configuring in $(HOST_SUBDIR)/expect; \
26921 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26922 case $(srcdir) in \
26923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26924 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26926 esac; \
26927 srcdiroption="--srcdir=$${topdir}/expect"; \
26928 libsrcdir="$$s/expect"; \
26929 $(SHELL) $${libsrcdir}/configure \
26930 $(HOST_CONFIGARGS) $${srcdiroption} \
26931 || exit 1
26932 @endif expect
26938 .PHONY: all-expect maybe-all-expect
26939 maybe-all-expect:
26940 @if expect
26941 TARGET-expect=all
26942 maybe-all-expect: all-expect
26943 all-expect: configure-expect
26944 @: $(MAKE); $(unstage)
26945 @r=`${PWD_COMMAND}`; export r; \
26946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26947 $(HOST_EXPORTS) \
26948 (cd $(HOST_SUBDIR)/expect && \
26949 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26950 @endif expect
26955 .PHONY: check-expect maybe-check-expect
26956 maybe-check-expect:
26957 @if expect
26958 maybe-check-expect: check-expect
26960 check-expect:
26961 @: $(MAKE); $(unstage)
26962 @r=`${PWD_COMMAND}`; export r; \
26963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26964 $(HOST_EXPORTS) \
26965 (cd $(HOST_SUBDIR)/expect && \
26966 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26968 @endif expect
26970 .PHONY: install-expect maybe-install-expect
26971 maybe-install-expect:
26972 @if expect
26973 maybe-install-expect: install-expect
26975 install-expect: installdirs
26976 @: $(MAKE); $(unstage)
26977 @r=`${PWD_COMMAND}`; export r; \
26978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 $(HOST_EXPORTS) \
26980 (cd $(HOST_SUBDIR)/expect && \
26981 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26983 @endif expect
26985 # Other targets (info, dvi, etc.)
26987 .PHONY: maybe-info-expect info-expect
26988 maybe-info-expect:
26989 @if expect
26990 maybe-info-expect: info-expect
26992 info-expect: \
26993 configure-expect
26994 @: $(MAKE); $(unstage)
26995 @[ -f ./expect/Makefile ] || exit 0; \
26996 r=`${PWD_COMMAND}`; export r; \
26997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26998 $(HOST_EXPORTS) \
26999 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27001 done; \
27002 echo "Doing info in expect" ; \
27003 (cd $(HOST_SUBDIR)/expect && \
27004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27006 "RANLIB=$${RANLIB}" \
27007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27008 info) \
27009 || exit 1
27011 @endif expect
27013 .PHONY: maybe-dvi-expect dvi-expect
27014 maybe-dvi-expect:
27015 @if expect
27016 maybe-dvi-expect: dvi-expect
27018 dvi-expect: \
27019 configure-expect
27020 @: $(MAKE); $(unstage)
27021 @[ -f ./expect/Makefile ] || exit 0; \
27022 r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(HOST_EXPORTS) \
27025 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 done; \
27028 echo "Doing dvi in expect" ; \
27029 (cd $(HOST_SUBDIR)/expect && \
27030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27032 "RANLIB=$${RANLIB}" \
27033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27034 dvi) \
27035 || exit 1
27037 @endif expect
27039 .PHONY: maybe-html-expect html-expect
27040 maybe-html-expect:
27041 @if expect
27042 maybe-html-expect: html-expect
27044 html-expect: \
27045 configure-expect
27046 @: $(MAKE); $(unstage)
27047 @[ -f ./expect/Makefile ] || exit 0; \
27048 r=`${PWD_COMMAND}`; export r; \
27049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27050 $(HOST_EXPORTS) \
27051 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27053 done; \
27054 echo "Doing html in expect" ; \
27055 (cd $(HOST_SUBDIR)/expect && \
27056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27058 "RANLIB=$${RANLIB}" \
27059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27060 html) \
27061 || exit 1
27063 @endif expect
27065 .PHONY: maybe-TAGS-expect TAGS-expect
27066 maybe-TAGS-expect:
27067 @if expect
27068 maybe-TAGS-expect: TAGS-expect
27070 TAGS-expect: \
27071 configure-expect
27072 @: $(MAKE); $(unstage)
27073 @[ -f ./expect/Makefile ] || exit 0; \
27074 r=`${PWD_COMMAND}`; export r; \
27075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27076 $(HOST_EXPORTS) \
27077 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27079 done; \
27080 echo "Doing TAGS in expect" ; \
27081 (cd $(HOST_SUBDIR)/expect && \
27082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27084 "RANLIB=$${RANLIB}" \
27085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27086 TAGS) \
27087 || exit 1
27089 @endif expect
27091 .PHONY: maybe-install-info-expect install-info-expect
27092 maybe-install-info-expect:
27093 @if expect
27094 maybe-install-info-expect: install-info-expect
27096 install-info-expect: \
27097 configure-expect \
27098 info-expect
27099 @: $(MAKE); $(unstage)
27100 @[ -f ./expect/Makefile ] || exit 0; \
27101 r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27103 $(HOST_EXPORTS) \
27104 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27106 done; \
27107 echo "Doing install-info in expect" ; \
27108 (cd $(HOST_SUBDIR)/expect && \
27109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27111 "RANLIB=$${RANLIB}" \
27112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27113 install-info) \
27114 || exit 1
27116 @endif expect
27118 .PHONY: maybe-installcheck-expect installcheck-expect
27119 maybe-installcheck-expect:
27120 @if expect
27121 maybe-installcheck-expect: installcheck-expect
27123 installcheck-expect: \
27124 configure-expect
27125 @: $(MAKE); $(unstage)
27126 @[ -f ./expect/Makefile ] || exit 0; \
27127 r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(HOST_EXPORTS) \
27130 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27132 done; \
27133 echo "Doing installcheck in expect" ; \
27134 (cd $(HOST_SUBDIR)/expect && \
27135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27137 "RANLIB=$${RANLIB}" \
27138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27139 installcheck) \
27140 || exit 1
27142 @endif expect
27144 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27145 maybe-mostlyclean-expect:
27146 @if expect
27147 maybe-mostlyclean-expect: mostlyclean-expect
27149 mostlyclean-expect:
27150 @: $(MAKE); $(unstage)
27151 @[ -f ./expect/Makefile ] || exit 0; \
27152 r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154 $(HOST_EXPORTS) \
27155 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27157 done; \
27158 echo "Doing mostlyclean in expect" ; \
27159 (cd $(HOST_SUBDIR)/expect && \
27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27162 "RANLIB=$${RANLIB}" \
27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27164 mostlyclean) \
27165 || exit 1
27167 @endif expect
27169 .PHONY: maybe-clean-expect clean-expect
27170 maybe-clean-expect:
27171 @if expect
27172 maybe-clean-expect: clean-expect
27174 clean-expect:
27175 @: $(MAKE); $(unstage)
27176 @[ -f ./expect/Makefile ] || exit 0; \
27177 r=`${PWD_COMMAND}`; export r; \
27178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27179 $(HOST_EXPORTS) \
27180 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27182 done; \
27183 echo "Doing clean in expect" ; \
27184 (cd $(HOST_SUBDIR)/expect && \
27185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27187 "RANLIB=$${RANLIB}" \
27188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27189 clean) \
27190 || exit 1
27192 @endif expect
27194 .PHONY: maybe-distclean-expect distclean-expect
27195 maybe-distclean-expect:
27196 @if expect
27197 maybe-distclean-expect: distclean-expect
27199 distclean-expect:
27200 @: $(MAKE); $(unstage)
27201 @[ -f ./expect/Makefile ] || exit 0; \
27202 r=`${PWD_COMMAND}`; export r; \
27203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27204 $(HOST_EXPORTS) \
27205 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27207 done; \
27208 echo "Doing distclean in expect" ; \
27209 (cd $(HOST_SUBDIR)/expect && \
27210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27212 "RANLIB=$${RANLIB}" \
27213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27214 distclean) \
27215 || exit 1
27217 @endif expect
27219 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27220 maybe-maintainer-clean-expect:
27221 @if expect
27222 maybe-maintainer-clean-expect: maintainer-clean-expect
27224 maintainer-clean-expect:
27225 @: $(MAKE); $(unstage)
27226 @[ -f ./expect/Makefile ] || exit 0; \
27227 r=`${PWD_COMMAND}`; export r; \
27228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27229 $(HOST_EXPORTS) \
27230 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27232 done; \
27233 echo "Doing maintainer-clean in expect" ; \
27234 (cd $(HOST_SUBDIR)/expect && \
27235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27237 "RANLIB=$${RANLIB}" \
27238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27239 maintainer-clean) \
27240 || exit 1
27242 @endif expect
27246 .PHONY: configure-guile maybe-configure-guile
27247 maybe-configure-guile:
27248 @if guile
27249 maybe-configure-guile: configure-guile
27250 configure-guile:
27251 @: $(MAKE); $(unstage)
27252 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(HOST_EXPORTS) \
27257 echo Configuring in $(HOST_SUBDIR)/guile; \
27258 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27259 case $(srcdir) in \
27260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27261 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27263 esac; \
27264 srcdiroption="--srcdir=$${topdir}/guile"; \
27265 libsrcdir="$$s/guile"; \
27266 $(SHELL) $${libsrcdir}/configure \
27267 $(HOST_CONFIGARGS) $${srcdiroption} \
27268 || exit 1
27269 @endif guile
27275 .PHONY: all-guile maybe-all-guile
27276 maybe-all-guile:
27277 @if guile
27278 TARGET-guile=all
27279 maybe-all-guile: all-guile
27280 all-guile: configure-guile
27281 @: $(MAKE); $(unstage)
27282 @r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284 $(HOST_EXPORTS) \
27285 (cd $(HOST_SUBDIR)/guile && \
27286 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27287 @endif guile
27292 .PHONY: check-guile maybe-check-guile
27293 maybe-check-guile:
27294 @if guile
27295 maybe-check-guile: check-guile
27297 check-guile:
27298 @: $(MAKE); $(unstage)
27299 @r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 $(HOST_EXPORTS) \
27302 (cd $(HOST_SUBDIR)/guile && \
27303 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27305 @endif guile
27307 .PHONY: install-guile maybe-install-guile
27308 maybe-install-guile:
27309 @if guile
27310 maybe-install-guile: install-guile
27312 install-guile: installdirs
27313 @: $(MAKE); $(unstage)
27314 @r=`${PWD_COMMAND}`; export r; \
27315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27316 $(HOST_EXPORTS) \
27317 (cd $(HOST_SUBDIR)/guile && \
27318 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27320 @endif guile
27322 # Other targets (info, dvi, etc.)
27324 .PHONY: maybe-info-guile info-guile
27325 maybe-info-guile:
27326 @if guile
27327 maybe-info-guile: info-guile
27329 info-guile: \
27330 configure-guile
27331 @: $(MAKE); $(unstage)
27332 @[ -f ./guile/Makefile ] || exit 0; \
27333 r=`${PWD_COMMAND}`; export r; \
27334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335 $(HOST_EXPORTS) \
27336 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27338 done; \
27339 echo "Doing info in guile" ; \
27340 (cd $(HOST_SUBDIR)/guile && \
27341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27343 "RANLIB=$${RANLIB}" \
27344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27345 info) \
27346 || exit 1
27348 @endif guile
27350 .PHONY: maybe-dvi-guile dvi-guile
27351 maybe-dvi-guile:
27352 @if guile
27353 maybe-dvi-guile: dvi-guile
27355 dvi-guile: \
27356 configure-guile
27357 @: $(MAKE); $(unstage)
27358 @[ -f ./guile/Makefile ] || exit 0; \
27359 r=`${PWD_COMMAND}`; export r; \
27360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27361 $(HOST_EXPORTS) \
27362 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27364 done; \
27365 echo "Doing dvi in guile" ; \
27366 (cd $(HOST_SUBDIR)/guile && \
27367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27369 "RANLIB=$${RANLIB}" \
27370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27371 dvi) \
27372 || exit 1
27374 @endif guile
27376 .PHONY: maybe-html-guile html-guile
27377 maybe-html-guile:
27378 @if guile
27379 maybe-html-guile: html-guile
27381 html-guile: \
27382 configure-guile
27383 @: $(MAKE); $(unstage)
27384 @[ -f ./guile/Makefile ] || exit 0; \
27385 r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 echo "Doing html in guile" ; \
27392 (cd $(HOST_SUBDIR)/guile && \
27393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27395 "RANLIB=$${RANLIB}" \
27396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27397 html) \
27398 || exit 1
27400 @endif guile
27402 .PHONY: maybe-TAGS-guile TAGS-guile
27403 maybe-TAGS-guile:
27404 @if guile
27405 maybe-TAGS-guile: TAGS-guile
27407 TAGS-guile: \
27408 configure-guile
27409 @: $(MAKE); $(unstage)
27410 @[ -f ./guile/Makefile ] || exit 0; \
27411 r=`${PWD_COMMAND}`; export r; \
27412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27413 $(HOST_EXPORTS) \
27414 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27416 done; \
27417 echo "Doing TAGS in guile" ; \
27418 (cd $(HOST_SUBDIR)/guile && \
27419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27421 "RANLIB=$${RANLIB}" \
27422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27423 TAGS) \
27424 || exit 1
27426 @endif guile
27428 .PHONY: maybe-install-info-guile install-info-guile
27429 maybe-install-info-guile:
27430 @if guile
27431 maybe-install-info-guile: install-info-guile
27433 install-info-guile: \
27434 configure-guile \
27435 info-guile
27436 @: $(MAKE); $(unstage)
27437 @[ -f ./guile/Makefile ] || exit 0; \
27438 r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(HOST_EXPORTS) \
27441 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27443 done; \
27444 echo "Doing install-info in guile" ; \
27445 (cd $(HOST_SUBDIR)/guile && \
27446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448 "RANLIB=$${RANLIB}" \
27449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27450 install-info) \
27451 || exit 1
27453 @endif guile
27455 .PHONY: maybe-installcheck-guile installcheck-guile
27456 maybe-installcheck-guile:
27457 @if guile
27458 maybe-installcheck-guile: installcheck-guile
27460 installcheck-guile: \
27461 configure-guile
27462 @: $(MAKE); $(unstage)
27463 @[ -f ./guile/Makefile ] || exit 0; \
27464 r=`${PWD_COMMAND}`; export r; \
27465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27466 $(HOST_EXPORTS) \
27467 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27469 done; \
27470 echo "Doing installcheck in guile" ; \
27471 (cd $(HOST_SUBDIR)/guile && \
27472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27474 "RANLIB=$${RANLIB}" \
27475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27476 installcheck) \
27477 || exit 1
27479 @endif guile
27481 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27482 maybe-mostlyclean-guile:
27483 @if guile
27484 maybe-mostlyclean-guile: mostlyclean-guile
27486 mostlyclean-guile:
27487 @: $(MAKE); $(unstage)
27488 @[ -f ./guile/Makefile ] || exit 0; \
27489 r=`${PWD_COMMAND}`; export r; \
27490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27491 $(HOST_EXPORTS) \
27492 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27494 done; \
27495 echo "Doing mostlyclean in guile" ; \
27496 (cd $(HOST_SUBDIR)/guile && \
27497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27499 "RANLIB=$${RANLIB}" \
27500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27501 mostlyclean) \
27502 || exit 1
27504 @endif guile
27506 .PHONY: maybe-clean-guile clean-guile
27507 maybe-clean-guile:
27508 @if guile
27509 maybe-clean-guile: clean-guile
27511 clean-guile:
27512 @: $(MAKE); $(unstage)
27513 @[ -f ./guile/Makefile ] || exit 0; \
27514 r=`${PWD_COMMAND}`; export r; \
27515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27516 $(HOST_EXPORTS) \
27517 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27519 done; \
27520 echo "Doing clean in guile" ; \
27521 (cd $(HOST_SUBDIR)/guile && \
27522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27524 "RANLIB=$${RANLIB}" \
27525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27526 clean) \
27527 || exit 1
27529 @endif guile
27531 .PHONY: maybe-distclean-guile distclean-guile
27532 maybe-distclean-guile:
27533 @if guile
27534 maybe-distclean-guile: distclean-guile
27536 distclean-guile:
27537 @: $(MAKE); $(unstage)
27538 @[ -f ./guile/Makefile ] || exit 0; \
27539 r=`${PWD_COMMAND}`; export r; \
27540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27541 $(HOST_EXPORTS) \
27542 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27544 done; \
27545 echo "Doing distclean in guile" ; \
27546 (cd $(HOST_SUBDIR)/guile && \
27547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27549 "RANLIB=$${RANLIB}" \
27550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27551 distclean) \
27552 || exit 1
27554 @endif guile
27556 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27557 maybe-maintainer-clean-guile:
27558 @if guile
27559 maybe-maintainer-clean-guile: maintainer-clean-guile
27561 maintainer-clean-guile:
27562 @: $(MAKE); $(unstage)
27563 @[ -f ./guile/Makefile ] || exit 0; \
27564 r=`${PWD_COMMAND}`; export r; \
27565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27566 $(HOST_EXPORTS) \
27567 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27569 done; \
27570 echo "Doing maintainer-clean in guile" ; \
27571 (cd $(HOST_SUBDIR)/guile && \
27572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27574 "RANLIB=$${RANLIB}" \
27575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27576 maintainer-clean) \
27577 || exit 1
27579 @endif guile
27583 .PHONY: configure-tk maybe-configure-tk
27584 maybe-configure-tk:
27585 @if tk
27586 maybe-configure-tk: configure-tk
27587 configure-tk:
27588 @: $(MAKE); $(unstage)
27589 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 echo Configuring in $(HOST_SUBDIR)/tk; \
27595 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27596 case $(srcdir) in \
27597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27598 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27600 esac; \
27601 srcdiroption="--srcdir=$${topdir}/tk"; \
27602 libsrcdir="$$s/tk"; \
27603 $(SHELL) $${libsrcdir}/configure \
27604 $(HOST_CONFIGARGS) $${srcdiroption} \
27605 || exit 1
27606 @endif tk
27612 .PHONY: all-tk maybe-all-tk
27613 maybe-all-tk:
27614 @if tk
27615 TARGET-tk=all
27616 maybe-all-tk: all-tk
27617 all-tk: configure-tk
27618 @: $(MAKE); $(unstage)
27619 @r=`${PWD_COMMAND}`; export r; \
27620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27621 $(HOST_EXPORTS) \
27622 (cd $(HOST_SUBDIR)/tk && \
27623 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27624 @endif tk
27629 .PHONY: check-tk maybe-check-tk
27630 maybe-check-tk:
27631 @if tk
27632 maybe-check-tk: check-tk
27634 check-tk:
27635 @: $(MAKE); $(unstage)
27636 @r=`${PWD_COMMAND}`; export r; \
27637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27638 $(HOST_EXPORTS) \
27639 (cd $(HOST_SUBDIR)/tk && \
27640 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27642 @endif tk
27644 .PHONY: install-tk maybe-install-tk
27645 maybe-install-tk:
27646 @if tk
27647 maybe-install-tk: install-tk
27649 install-tk: installdirs
27650 @: $(MAKE); $(unstage)
27651 @r=`${PWD_COMMAND}`; export r; \
27652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27653 $(HOST_EXPORTS) \
27654 (cd $(HOST_SUBDIR)/tk && \
27655 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27657 @endif tk
27659 # Other targets (info, dvi, etc.)
27661 .PHONY: maybe-info-tk info-tk
27662 maybe-info-tk:
27663 @if tk
27664 maybe-info-tk: info-tk
27666 info-tk: \
27667 configure-tk
27668 @: $(MAKE); $(unstage)
27669 @[ -f ./tk/Makefile ] || exit 0; \
27670 r=`${PWD_COMMAND}`; export r; \
27671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 $(HOST_EXPORTS) \
27673 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27675 done; \
27676 echo "Doing info in tk" ; \
27677 (cd $(HOST_SUBDIR)/tk && \
27678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27680 "RANLIB=$${RANLIB}" \
27681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27682 info) \
27683 || exit 1
27685 @endif tk
27687 .PHONY: maybe-dvi-tk dvi-tk
27688 maybe-dvi-tk:
27689 @if tk
27690 maybe-dvi-tk: dvi-tk
27692 dvi-tk: \
27693 configure-tk
27694 @: $(MAKE); $(unstage)
27695 @[ -f ./tk/Makefile ] || exit 0; \
27696 r=`${PWD_COMMAND}`; export r; \
27697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27698 $(HOST_EXPORTS) \
27699 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27701 done; \
27702 echo "Doing dvi in tk" ; \
27703 (cd $(HOST_SUBDIR)/tk && \
27704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27706 "RANLIB=$${RANLIB}" \
27707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27708 dvi) \
27709 || exit 1
27711 @endif tk
27713 .PHONY: maybe-html-tk html-tk
27714 maybe-html-tk:
27715 @if tk
27716 maybe-html-tk: html-tk
27718 html-tk: \
27719 configure-tk
27720 @: $(MAKE); $(unstage)
27721 @[ -f ./tk/Makefile ] || exit 0; \
27722 r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 $(HOST_EXPORTS) \
27725 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27727 done; \
27728 echo "Doing html in tk" ; \
27729 (cd $(HOST_SUBDIR)/tk && \
27730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27732 "RANLIB=$${RANLIB}" \
27733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27734 html) \
27735 || exit 1
27737 @endif tk
27739 .PHONY: maybe-TAGS-tk TAGS-tk
27740 maybe-TAGS-tk:
27741 @if tk
27742 maybe-TAGS-tk: TAGS-tk
27744 TAGS-tk: \
27745 configure-tk
27746 @: $(MAKE); $(unstage)
27747 @[ -f ./tk/Makefile ] || exit 0; \
27748 r=`${PWD_COMMAND}`; export r; \
27749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27750 $(HOST_EXPORTS) \
27751 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27753 done; \
27754 echo "Doing TAGS in tk" ; \
27755 (cd $(HOST_SUBDIR)/tk && \
27756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27758 "RANLIB=$${RANLIB}" \
27759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27760 TAGS) \
27761 || exit 1
27763 @endif tk
27765 .PHONY: maybe-install-info-tk install-info-tk
27766 maybe-install-info-tk:
27767 @if tk
27768 maybe-install-info-tk: install-info-tk
27770 install-info-tk: \
27771 configure-tk \
27772 info-tk
27773 @: $(MAKE); $(unstage)
27774 @[ -f ./tk/Makefile ] || exit 0; \
27775 r=`${PWD_COMMAND}`; export r; \
27776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27777 $(HOST_EXPORTS) \
27778 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27780 done; \
27781 echo "Doing install-info in tk" ; \
27782 (cd $(HOST_SUBDIR)/tk && \
27783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27785 "RANLIB=$${RANLIB}" \
27786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27787 install-info) \
27788 || exit 1
27790 @endif tk
27792 .PHONY: maybe-installcheck-tk installcheck-tk
27793 maybe-installcheck-tk:
27794 @if tk
27795 maybe-installcheck-tk: installcheck-tk
27797 installcheck-tk: \
27798 configure-tk
27799 @: $(MAKE); $(unstage)
27800 @[ -f ./tk/Makefile ] || exit 0; \
27801 r=`${PWD_COMMAND}`; export r; \
27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 $(HOST_EXPORTS) \
27804 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27806 done; \
27807 echo "Doing installcheck in tk" ; \
27808 (cd $(HOST_SUBDIR)/tk && \
27809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27811 "RANLIB=$${RANLIB}" \
27812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27813 installcheck) \
27814 || exit 1
27816 @endif tk
27818 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27819 maybe-mostlyclean-tk:
27820 @if tk
27821 maybe-mostlyclean-tk: mostlyclean-tk
27823 mostlyclean-tk:
27824 @: $(MAKE); $(unstage)
27825 @[ -f ./tk/Makefile ] || exit 0; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(HOST_EXPORTS) \
27829 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27831 done; \
27832 echo "Doing mostlyclean in tk" ; \
27833 (cd $(HOST_SUBDIR)/tk && \
27834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27836 "RANLIB=$${RANLIB}" \
27837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27838 mostlyclean) \
27839 || exit 1
27841 @endif tk
27843 .PHONY: maybe-clean-tk clean-tk
27844 maybe-clean-tk:
27845 @if tk
27846 maybe-clean-tk: clean-tk
27848 clean-tk:
27849 @: $(MAKE); $(unstage)
27850 @[ -f ./tk/Makefile ] || exit 0; \
27851 r=`${PWD_COMMAND}`; export r; \
27852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27853 $(HOST_EXPORTS) \
27854 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27856 done; \
27857 echo "Doing clean in tk" ; \
27858 (cd $(HOST_SUBDIR)/tk && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27861 "RANLIB=$${RANLIB}" \
27862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27863 clean) \
27864 || exit 1
27866 @endif tk
27868 .PHONY: maybe-distclean-tk distclean-tk
27869 maybe-distclean-tk:
27870 @if tk
27871 maybe-distclean-tk: distclean-tk
27873 distclean-tk:
27874 @: $(MAKE); $(unstage)
27875 @[ -f ./tk/Makefile ] || exit 0; \
27876 r=`${PWD_COMMAND}`; export r; \
27877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27878 $(HOST_EXPORTS) \
27879 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27881 done; \
27882 echo "Doing distclean in tk" ; \
27883 (cd $(HOST_SUBDIR)/tk && \
27884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27886 "RANLIB=$${RANLIB}" \
27887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27888 distclean) \
27889 || exit 1
27891 @endif tk
27893 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27894 maybe-maintainer-clean-tk:
27895 @if tk
27896 maybe-maintainer-clean-tk: maintainer-clean-tk
27898 maintainer-clean-tk:
27899 @: $(MAKE); $(unstage)
27900 @[ -f ./tk/Makefile ] || exit 0; \
27901 r=`${PWD_COMMAND}`; export r; \
27902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27903 $(HOST_EXPORTS) \
27904 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27906 done; \
27907 echo "Doing maintainer-clean in tk" ; \
27908 (cd $(HOST_SUBDIR)/tk && \
27909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27911 "RANLIB=$${RANLIB}" \
27912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27913 maintainer-clean) \
27914 || exit 1
27916 @endif tk
27920 .PHONY: configure-libtermcap maybe-configure-libtermcap
27921 maybe-configure-libtermcap:
27922 @if libtermcap
27923 maybe-configure-libtermcap: configure-libtermcap
27924 configure-libtermcap:
27925 @: $(MAKE); $(unstage)
27926 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(HOST_EXPORTS) \
27931 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27932 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27933 case $(srcdir) in \
27934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27935 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27937 esac; \
27938 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27939 libsrcdir="$$s/libtermcap"; \
27940 $(SHELL) $${libsrcdir}/configure \
27941 $(HOST_CONFIGARGS) $${srcdiroption} \
27942 || exit 1
27943 @endif libtermcap
27949 .PHONY: all-libtermcap maybe-all-libtermcap
27950 maybe-all-libtermcap:
27951 @if libtermcap
27952 TARGET-libtermcap=all
27953 maybe-all-libtermcap: all-libtermcap
27954 all-libtermcap: configure-libtermcap
27955 @: $(MAKE); $(unstage)
27956 @r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27958 $(HOST_EXPORTS) \
27959 (cd $(HOST_SUBDIR)/libtermcap && \
27960 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27961 @endif libtermcap
27966 .PHONY: check-libtermcap maybe-check-libtermcap
27967 maybe-check-libtermcap:
27968 @if libtermcap
27969 maybe-check-libtermcap: check-libtermcap
27971 check-libtermcap:
27973 @endif libtermcap
27975 .PHONY: install-libtermcap maybe-install-libtermcap
27976 maybe-install-libtermcap:
27977 @if libtermcap
27978 maybe-install-libtermcap: install-libtermcap
27980 install-libtermcap: installdirs
27981 @: $(MAKE); $(unstage)
27982 @r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(HOST_EXPORTS) \
27985 (cd $(HOST_SUBDIR)/libtermcap && \
27986 $(MAKE) $(FLAGS_TO_PASS) install)
27988 @endif libtermcap
27990 # Other targets (info, dvi, etc.)
27992 .PHONY: maybe-info-libtermcap info-libtermcap
27993 maybe-info-libtermcap:
27994 @if libtermcap
27995 maybe-info-libtermcap: info-libtermcap
27997 info-libtermcap: \
27998 configure-libtermcap
27999 @: $(MAKE); $(unstage)
28000 @[ -f ./libtermcap/Makefile ] || exit 0; \
28001 r=`${PWD_COMMAND}`; export r; \
28002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28003 $(HOST_EXPORTS) \
28004 for flag in $(EXTRA_HOST_FLAGS) ; do \
28005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28006 done; \
28007 echo "Doing info in libtermcap" ; \
28008 (cd $(HOST_SUBDIR)/libtermcap && \
28009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28011 "RANLIB=$${RANLIB}" \
28012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28013 info) \
28014 || exit 1
28016 @endif libtermcap
28018 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28019 maybe-dvi-libtermcap:
28020 @if libtermcap
28021 maybe-dvi-libtermcap: dvi-libtermcap
28023 dvi-libtermcap: \
28024 configure-libtermcap
28025 @: $(MAKE); $(unstage)
28026 @[ -f ./libtermcap/Makefile ] || exit 0; \
28027 r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(HOST_EXPORTS) \
28030 for flag in $(EXTRA_HOST_FLAGS) ; do \
28031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28032 done; \
28033 echo "Doing dvi in libtermcap" ; \
28034 (cd $(HOST_SUBDIR)/libtermcap && \
28035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28037 "RANLIB=$${RANLIB}" \
28038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28039 dvi) \
28040 || exit 1
28042 @endif libtermcap
28044 .PHONY: maybe-html-libtermcap html-libtermcap
28045 maybe-html-libtermcap:
28046 @if libtermcap
28047 maybe-html-libtermcap: html-libtermcap
28049 html-libtermcap: \
28050 configure-libtermcap
28051 @: $(MAKE); $(unstage)
28052 @[ -f ./libtermcap/Makefile ] || exit 0; \
28053 r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(HOST_EXPORTS) \
28056 for flag in $(EXTRA_HOST_FLAGS) ; do \
28057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28058 done; \
28059 echo "Doing html in libtermcap" ; \
28060 (cd $(HOST_SUBDIR)/libtermcap && \
28061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28063 "RANLIB=$${RANLIB}" \
28064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28065 html) \
28066 || exit 1
28068 @endif libtermcap
28070 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28071 maybe-TAGS-libtermcap:
28072 @if libtermcap
28073 maybe-TAGS-libtermcap: TAGS-libtermcap
28075 TAGS-libtermcap: \
28076 configure-libtermcap
28077 @: $(MAKE); $(unstage)
28078 @[ -f ./libtermcap/Makefile ] || exit 0; \
28079 r=`${PWD_COMMAND}`; export r; \
28080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28081 $(HOST_EXPORTS) \
28082 for flag in $(EXTRA_HOST_FLAGS) ; do \
28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28084 done; \
28085 echo "Doing TAGS in libtermcap" ; \
28086 (cd $(HOST_SUBDIR)/libtermcap && \
28087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28089 "RANLIB=$${RANLIB}" \
28090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28091 TAGS) \
28092 || exit 1
28094 @endif libtermcap
28096 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28097 maybe-install-info-libtermcap:
28098 @if libtermcap
28099 maybe-install-info-libtermcap: install-info-libtermcap
28101 install-info-libtermcap: \
28102 configure-libtermcap \
28103 info-libtermcap
28104 @: $(MAKE); $(unstage)
28105 @[ -f ./libtermcap/Makefile ] || exit 0; \
28106 r=`${PWD_COMMAND}`; export r; \
28107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28108 $(HOST_EXPORTS) \
28109 for flag in $(EXTRA_HOST_FLAGS) ; do \
28110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28111 done; \
28112 echo "Doing install-info in libtermcap" ; \
28113 (cd $(HOST_SUBDIR)/libtermcap && \
28114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28116 "RANLIB=$${RANLIB}" \
28117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28118 install-info) \
28119 || exit 1
28121 @endif libtermcap
28123 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28124 maybe-installcheck-libtermcap:
28125 @if libtermcap
28126 maybe-installcheck-libtermcap: installcheck-libtermcap
28128 installcheck-libtermcap: \
28129 configure-libtermcap
28130 @: $(MAKE); $(unstage)
28131 @[ -f ./libtermcap/Makefile ] || exit 0; \
28132 r=`${PWD_COMMAND}`; export r; \
28133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28134 $(HOST_EXPORTS) \
28135 for flag in $(EXTRA_HOST_FLAGS) ; do \
28136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28137 done; \
28138 echo "Doing installcheck in libtermcap" ; \
28139 (cd $(HOST_SUBDIR)/libtermcap && \
28140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28142 "RANLIB=$${RANLIB}" \
28143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28144 installcheck) \
28145 || exit 1
28147 @endif libtermcap
28149 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28150 maybe-mostlyclean-libtermcap:
28151 @if libtermcap
28152 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28154 # libtermcap doesn't support mostlyclean.
28155 mostlyclean-libtermcap:
28157 @endif libtermcap
28159 .PHONY: maybe-clean-libtermcap clean-libtermcap
28160 maybe-clean-libtermcap:
28161 @if libtermcap
28162 maybe-clean-libtermcap: clean-libtermcap
28164 # libtermcap doesn't support clean.
28165 clean-libtermcap:
28167 @endif libtermcap
28169 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28170 maybe-distclean-libtermcap:
28171 @if libtermcap
28172 maybe-distclean-libtermcap: distclean-libtermcap
28174 # libtermcap doesn't support distclean.
28175 distclean-libtermcap:
28177 @endif libtermcap
28179 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28180 maybe-maintainer-clean-libtermcap:
28181 @if libtermcap
28182 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28184 # libtermcap doesn't support maintainer-clean.
28185 maintainer-clean-libtermcap:
28187 @endif libtermcap
28191 .PHONY: configure-utils maybe-configure-utils
28192 maybe-configure-utils:
28193 @if utils
28194 maybe-configure-utils: configure-utils
28195 configure-utils:
28196 @: $(MAKE); $(unstage)
28197 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28199 r=`${PWD_COMMAND}`; export r; \
28200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28201 $(HOST_EXPORTS) \
28202 echo Configuring in $(HOST_SUBDIR)/utils; \
28203 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28204 case $(srcdir) in \
28205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28206 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28208 esac; \
28209 srcdiroption="--srcdir=$${topdir}/utils"; \
28210 libsrcdir="$$s/utils"; \
28211 $(SHELL) $${libsrcdir}/configure \
28212 $(HOST_CONFIGARGS) $${srcdiroption} \
28213 || exit 1
28214 @endif utils
28220 .PHONY: all-utils maybe-all-utils
28221 maybe-all-utils:
28222 @if utils
28223 TARGET-utils=all
28224 maybe-all-utils: all-utils
28225 all-utils: configure-utils
28226 @: $(MAKE); $(unstage)
28227 @r=`${PWD_COMMAND}`; export r; \
28228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 $(HOST_EXPORTS) \
28230 (cd $(HOST_SUBDIR)/utils && \
28231 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28232 @endif utils
28237 .PHONY: check-utils maybe-check-utils
28238 maybe-check-utils:
28239 @if utils
28240 maybe-check-utils: check-utils
28242 check-utils:
28244 @endif utils
28246 .PHONY: install-utils maybe-install-utils
28247 maybe-install-utils:
28248 @if utils
28249 maybe-install-utils: install-utils
28251 install-utils: installdirs
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(HOST_EXPORTS) \
28256 (cd $(HOST_SUBDIR)/utils && \
28257 $(MAKE) $(FLAGS_TO_PASS) install)
28259 @endif utils
28261 # Other targets (info, dvi, etc.)
28263 .PHONY: maybe-info-utils info-utils
28264 maybe-info-utils:
28265 @if utils
28266 maybe-info-utils: info-utils
28268 info-utils: \
28269 configure-utils
28270 @: $(MAKE); $(unstage)
28271 @[ -f ./utils/Makefile ] || exit 0; \
28272 r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(HOST_EXPORTS) \
28275 for flag in $(EXTRA_HOST_FLAGS) ; do \
28276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28277 done; \
28278 echo "Doing info in utils" ; \
28279 (cd $(HOST_SUBDIR)/utils && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28282 "RANLIB=$${RANLIB}" \
28283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28284 info) \
28285 || exit 1
28287 @endif utils
28289 .PHONY: maybe-dvi-utils dvi-utils
28290 maybe-dvi-utils:
28291 @if utils
28292 maybe-dvi-utils: dvi-utils
28294 dvi-utils: \
28295 configure-utils
28296 @: $(MAKE); $(unstage)
28297 @[ -f ./utils/Makefile ] || exit 0; \
28298 r=`${PWD_COMMAND}`; export r; \
28299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28300 $(HOST_EXPORTS) \
28301 for flag in $(EXTRA_HOST_FLAGS) ; do \
28302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28303 done; \
28304 echo "Doing dvi in utils" ; \
28305 (cd $(HOST_SUBDIR)/utils && \
28306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28308 "RANLIB=$${RANLIB}" \
28309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28310 dvi) \
28311 || exit 1
28313 @endif utils
28315 .PHONY: maybe-html-utils html-utils
28316 maybe-html-utils:
28317 @if utils
28318 maybe-html-utils: html-utils
28320 html-utils: \
28321 configure-utils
28322 @: $(MAKE); $(unstage)
28323 @[ -f ./utils/Makefile ] || exit 0; \
28324 r=`${PWD_COMMAND}`; export r; \
28325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28326 $(HOST_EXPORTS) \
28327 for flag in $(EXTRA_HOST_FLAGS) ; do \
28328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28329 done; \
28330 echo "Doing html in utils" ; \
28331 (cd $(HOST_SUBDIR)/utils && \
28332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28334 "RANLIB=$${RANLIB}" \
28335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28336 html) \
28337 || exit 1
28339 @endif utils
28341 .PHONY: maybe-TAGS-utils TAGS-utils
28342 maybe-TAGS-utils:
28343 @if utils
28344 maybe-TAGS-utils: TAGS-utils
28346 TAGS-utils: \
28347 configure-utils
28348 @: $(MAKE); $(unstage)
28349 @[ -f ./utils/Makefile ] || exit 0; \
28350 r=`${PWD_COMMAND}`; export r; \
28351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28352 $(HOST_EXPORTS) \
28353 for flag in $(EXTRA_HOST_FLAGS) ; do \
28354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28355 done; \
28356 echo "Doing TAGS in utils" ; \
28357 (cd $(HOST_SUBDIR)/utils && \
28358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28360 "RANLIB=$${RANLIB}" \
28361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28362 TAGS) \
28363 || exit 1
28365 @endif utils
28367 .PHONY: maybe-install-info-utils install-info-utils
28368 maybe-install-info-utils:
28369 @if utils
28370 maybe-install-info-utils: install-info-utils
28372 install-info-utils: \
28373 configure-utils \
28374 info-utils
28375 @: $(MAKE); $(unstage)
28376 @[ -f ./utils/Makefile ] || exit 0; \
28377 r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 for flag in $(EXTRA_HOST_FLAGS) ; do \
28381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28382 done; \
28383 echo "Doing install-info in utils" ; \
28384 (cd $(HOST_SUBDIR)/utils && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28387 "RANLIB=$${RANLIB}" \
28388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28389 install-info) \
28390 || exit 1
28392 @endif utils
28394 .PHONY: maybe-installcheck-utils installcheck-utils
28395 maybe-installcheck-utils:
28396 @if utils
28397 maybe-installcheck-utils: installcheck-utils
28399 installcheck-utils: \
28400 configure-utils
28401 @: $(MAKE); $(unstage)
28402 @[ -f ./utils/Makefile ] || exit 0; \
28403 r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28405 $(HOST_EXPORTS) \
28406 for flag in $(EXTRA_HOST_FLAGS) ; do \
28407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28408 done; \
28409 echo "Doing installcheck in utils" ; \
28410 (cd $(HOST_SUBDIR)/utils && \
28411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28413 "RANLIB=$${RANLIB}" \
28414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28415 installcheck) \
28416 || exit 1
28418 @endif utils
28420 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28421 maybe-mostlyclean-utils:
28422 @if utils
28423 maybe-mostlyclean-utils: mostlyclean-utils
28425 mostlyclean-utils:
28426 @: $(MAKE); $(unstage)
28427 @[ -f ./utils/Makefile ] || exit 0; \
28428 r=`${PWD_COMMAND}`; export r; \
28429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28430 $(HOST_EXPORTS) \
28431 for flag in $(EXTRA_HOST_FLAGS) ; do \
28432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28433 done; \
28434 echo "Doing mostlyclean in utils" ; \
28435 (cd $(HOST_SUBDIR)/utils && \
28436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28438 "RANLIB=$${RANLIB}" \
28439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28440 mostlyclean) \
28441 || exit 1
28443 @endif utils
28445 .PHONY: maybe-clean-utils clean-utils
28446 maybe-clean-utils:
28447 @if utils
28448 maybe-clean-utils: clean-utils
28450 clean-utils:
28451 @: $(MAKE); $(unstage)
28452 @[ -f ./utils/Makefile ] || exit 0; \
28453 r=`${PWD_COMMAND}`; export r; \
28454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28455 $(HOST_EXPORTS) \
28456 for flag in $(EXTRA_HOST_FLAGS) ; do \
28457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28458 done; \
28459 echo "Doing clean in utils" ; \
28460 (cd $(HOST_SUBDIR)/utils && \
28461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28463 "RANLIB=$${RANLIB}" \
28464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28465 clean) \
28466 || exit 1
28468 @endif utils
28470 .PHONY: maybe-distclean-utils distclean-utils
28471 maybe-distclean-utils:
28472 @if utils
28473 maybe-distclean-utils: distclean-utils
28475 distclean-utils:
28476 @: $(MAKE); $(unstage)
28477 @[ -f ./utils/Makefile ] || exit 0; \
28478 r=`${PWD_COMMAND}`; export r; \
28479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28480 $(HOST_EXPORTS) \
28481 for flag in $(EXTRA_HOST_FLAGS) ; do \
28482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28483 done; \
28484 echo "Doing distclean in utils" ; \
28485 (cd $(HOST_SUBDIR)/utils && \
28486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28488 "RANLIB=$${RANLIB}" \
28489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28490 distclean) \
28491 || exit 1
28493 @endif utils
28495 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28496 maybe-maintainer-clean-utils:
28497 @if utils
28498 maybe-maintainer-clean-utils: maintainer-clean-utils
28500 maintainer-clean-utils:
28501 @: $(MAKE); $(unstage)
28502 @[ -f ./utils/Makefile ] || exit 0; \
28503 r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 for flag in $(EXTRA_HOST_FLAGS) ; do \
28507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28508 done; \
28509 echo "Doing maintainer-clean in utils" ; \
28510 (cd $(HOST_SUBDIR)/utils && \
28511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28513 "RANLIB=$${RANLIB}" \
28514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28515 maintainer-clean) \
28516 || exit 1
28518 @endif utils
28522 .PHONY: configure-gnattools maybe-configure-gnattools
28523 maybe-configure-gnattools:
28524 @if gnattools
28525 maybe-configure-gnattools: configure-gnattools
28526 configure-gnattools:
28527 @: $(MAKE); $(unstage)
28528 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28530 r=`${PWD_COMMAND}`; export r; \
28531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28532 $(HOST_EXPORTS) \
28533 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28534 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28535 case $(srcdir) in \
28536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28537 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28539 esac; \
28540 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28541 libsrcdir="$$s/gnattools"; \
28542 $(SHELL) $${libsrcdir}/configure \
28543 $(HOST_CONFIGARGS) $${srcdiroption} \
28544 || exit 1
28545 @endif gnattools
28551 .PHONY: all-gnattools maybe-all-gnattools
28552 maybe-all-gnattools:
28553 @if gnattools
28554 TARGET-gnattools=all
28555 maybe-all-gnattools: all-gnattools
28556 all-gnattools: configure-gnattools
28557 @: $(MAKE); $(unstage)
28558 @r=`${PWD_COMMAND}`; export r; \
28559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28560 $(HOST_EXPORTS) \
28561 (cd $(HOST_SUBDIR)/gnattools && \
28562 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28563 @endif gnattools
28568 .PHONY: check-gnattools maybe-check-gnattools
28569 maybe-check-gnattools:
28570 @if gnattools
28571 maybe-check-gnattools: check-gnattools
28573 check-gnattools:
28574 @: $(MAKE); $(unstage)
28575 @r=`${PWD_COMMAND}`; export r; \
28576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577 $(HOST_EXPORTS) \
28578 (cd $(HOST_SUBDIR)/gnattools && \
28579 $(MAKE) $(FLAGS_TO_PASS) check)
28581 @endif gnattools
28583 .PHONY: install-gnattools maybe-install-gnattools
28584 maybe-install-gnattools:
28585 @if gnattools
28586 maybe-install-gnattools: install-gnattools
28588 install-gnattools: installdirs
28589 @: $(MAKE); $(unstage)
28590 @r=`${PWD_COMMAND}`; export r; \
28591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28592 $(HOST_EXPORTS) \
28593 (cd $(HOST_SUBDIR)/gnattools && \
28594 $(MAKE) $(FLAGS_TO_PASS) install)
28596 @endif gnattools
28598 # Other targets (info, dvi, etc.)
28600 .PHONY: maybe-info-gnattools info-gnattools
28601 maybe-info-gnattools:
28602 @if gnattools
28603 maybe-info-gnattools: info-gnattools
28605 info-gnattools: \
28606 configure-gnattools
28607 @: $(MAKE); $(unstage)
28608 @[ -f ./gnattools/Makefile ] || exit 0; \
28609 r=`${PWD_COMMAND}`; export r; \
28610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28611 $(HOST_EXPORTS) \
28612 for flag in $(EXTRA_HOST_FLAGS) ; do \
28613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28614 done; \
28615 echo "Doing info in gnattools" ; \
28616 (cd $(HOST_SUBDIR)/gnattools && \
28617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28619 "RANLIB=$${RANLIB}" \
28620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28621 info) \
28622 || exit 1
28624 @endif gnattools
28626 .PHONY: maybe-dvi-gnattools dvi-gnattools
28627 maybe-dvi-gnattools:
28628 @if gnattools
28629 maybe-dvi-gnattools: dvi-gnattools
28631 dvi-gnattools: \
28632 configure-gnattools
28633 @: $(MAKE); $(unstage)
28634 @[ -f ./gnattools/Makefile ] || exit 0; \
28635 r=`${PWD_COMMAND}`; export r; \
28636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28637 $(HOST_EXPORTS) \
28638 for flag in $(EXTRA_HOST_FLAGS) ; do \
28639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28640 done; \
28641 echo "Doing dvi in gnattools" ; \
28642 (cd $(HOST_SUBDIR)/gnattools && \
28643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28645 "RANLIB=$${RANLIB}" \
28646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28647 dvi) \
28648 || exit 1
28650 @endif gnattools
28652 .PHONY: maybe-html-gnattools html-gnattools
28653 maybe-html-gnattools:
28654 @if gnattools
28655 maybe-html-gnattools: html-gnattools
28657 html-gnattools: \
28658 configure-gnattools
28659 @: $(MAKE); $(unstage)
28660 @[ -f ./gnattools/Makefile ] || exit 0; \
28661 r=`${PWD_COMMAND}`; export r; \
28662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28663 $(HOST_EXPORTS) \
28664 for flag in $(EXTRA_HOST_FLAGS) ; do \
28665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28666 done; \
28667 echo "Doing html in gnattools" ; \
28668 (cd $(HOST_SUBDIR)/gnattools && \
28669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28671 "RANLIB=$${RANLIB}" \
28672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28673 html) \
28674 || exit 1
28676 @endif gnattools
28678 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28679 maybe-TAGS-gnattools:
28680 @if gnattools
28681 maybe-TAGS-gnattools: TAGS-gnattools
28683 TAGS-gnattools: \
28684 configure-gnattools
28685 @: $(MAKE); $(unstage)
28686 @[ -f ./gnattools/Makefile ] || exit 0; \
28687 r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28689 $(HOST_EXPORTS) \
28690 for flag in $(EXTRA_HOST_FLAGS) ; do \
28691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28692 done; \
28693 echo "Doing TAGS in gnattools" ; \
28694 (cd $(HOST_SUBDIR)/gnattools && \
28695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28697 "RANLIB=$${RANLIB}" \
28698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28699 TAGS) \
28700 || exit 1
28702 @endif gnattools
28704 .PHONY: maybe-install-info-gnattools install-info-gnattools
28705 maybe-install-info-gnattools:
28706 @if gnattools
28707 maybe-install-info-gnattools: install-info-gnattools
28709 install-info-gnattools: \
28710 configure-gnattools \
28711 info-gnattools
28712 @: $(MAKE); $(unstage)
28713 @[ -f ./gnattools/Makefile ] || exit 0; \
28714 r=`${PWD_COMMAND}`; export r; \
28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28716 $(HOST_EXPORTS) \
28717 for flag in $(EXTRA_HOST_FLAGS) ; do \
28718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28719 done; \
28720 echo "Doing install-info in gnattools" ; \
28721 (cd $(HOST_SUBDIR)/gnattools && \
28722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28724 "RANLIB=$${RANLIB}" \
28725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28726 install-info) \
28727 || exit 1
28729 @endif gnattools
28731 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28732 maybe-installcheck-gnattools:
28733 @if gnattools
28734 maybe-installcheck-gnattools: installcheck-gnattools
28736 installcheck-gnattools: \
28737 configure-gnattools
28738 @: $(MAKE); $(unstage)
28739 @[ -f ./gnattools/Makefile ] || exit 0; \
28740 r=`${PWD_COMMAND}`; export r; \
28741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28742 $(HOST_EXPORTS) \
28743 for flag in $(EXTRA_HOST_FLAGS) ; do \
28744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28745 done; \
28746 echo "Doing installcheck in gnattools" ; \
28747 (cd $(HOST_SUBDIR)/gnattools && \
28748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28750 "RANLIB=$${RANLIB}" \
28751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28752 installcheck) \
28753 || exit 1
28755 @endif gnattools
28757 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28758 maybe-mostlyclean-gnattools:
28759 @if gnattools
28760 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28762 mostlyclean-gnattools:
28763 @: $(MAKE); $(unstage)
28764 @[ -f ./gnattools/Makefile ] || exit 0; \
28765 r=`${PWD_COMMAND}`; export r; \
28766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28767 $(HOST_EXPORTS) \
28768 for flag in $(EXTRA_HOST_FLAGS) ; do \
28769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28770 done; \
28771 echo "Doing mostlyclean in gnattools" ; \
28772 (cd $(HOST_SUBDIR)/gnattools && \
28773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28775 "RANLIB=$${RANLIB}" \
28776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28777 mostlyclean) \
28778 || exit 1
28780 @endif gnattools
28782 .PHONY: maybe-clean-gnattools clean-gnattools
28783 maybe-clean-gnattools:
28784 @if gnattools
28785 maybe-clean-gnattools: clean-gnattools
28787 clean-gnattools:
28788 @: $(MAKE); $(unstage)
28789 @[ -f ./gnattools/Makefile ] || exit 0; \
28790 r=`${PWD_COMMAND}`; export r; \
28791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28792 $(HOST_EXPORTS) \
28793 for flag in $(EXTRA_HOST_FLAGS) ; do \
28794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28795 done; \
28796 echo "Doing clean in gnattools" ; \
28797 (cd $(HOST_SUBDIR)/gnattools && \
28798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28800 "RANLIB=$${RANLIB}" \
28801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28802 clean) \
28803 || exit 1
28805 @endif gnattools
28807 .PHONY: maybe-distclean-gnattools distclean-gnattools
28808 maybe-distclean-gnattools:
28809 @if gnattools
28810 maybe-distclean-gnattools: distclean-gnattools
28812 distclean-gnattools:
28813 @: $(MAKE); $(unstage)
28814 @[ -f ./gnattools/Makefile ] || exit 0; \
28815 r=`${PWD_COMMAND}`; export r; \
28816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28817 $(HOST_EXPORTS) \
28818 for flag in $(EXTRA_HOST_FLAGS) ; do \
28819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28820 done; \
28821 echo "Doing distclean in gnattools" ; \
28822 (cd $(HOST_SUBDIR)/gnattools && \
28823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28825 "RANLIB=$${RANLIB}" \
28826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28827 distclean) \
28828 || exit 1
28830 @endif gnattools
28832 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28833 maybe-maintainer-clean-gnattools:
28834 @if gnattools
28835 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28837 maintainer-clean-gnattools:
28838 @: $(MAKE); $(unstage)
28839 @[ -f ./gnattools/Makefile ] || exit 0; \
28840 r=`${PWD_COMMAND}`; export r; \
28841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28842 $(HOST_EXPORTS) \
28843 for flag in $(EXTRA_HOST_FLAGS) ; do \
28844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28845 done; \
28846 echo "Doing maintainer-clean in gnattools" ; \
28847 (cd $(HOST_SUBDIR)/gnattools && \
28848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28850 "RANLIB=$${RANLIB}" \
28851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28852 maintainer-clean) \
28853 || exit 1
28855 @endif gnattools
28859 # ---------------------------------------
28860 # Modules which run on the target machine
28861 # ---------------------------------------
28866 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28867 maybe-configure-target-libstdc++-v3:
28868 @if target-libstdc++-v3
28869 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28870 configure-target-libstdc++-v3:
28871 @: $(MAKE); $(unstage)
28872 @r=`${PWD_COMMAND}`; export r; \
28873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28874 echo "Checking multilib configuration for libstdc++-v3..."; \
28875 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28876 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
28877 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28878 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28879 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
28880 else \
28881 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
28882 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28883 fi; \
28884 else \
28885 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28887 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(RAW_CXX_TARGET_EXPORTS) \
28892 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28893 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28894 case $(srcdir) in \
28895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28896 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28898 esac; \
28899 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28900 libsrcdir="$$s/libstdc++-v3"; \
28901 rm -f no-such-file || : ; \
28902 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28903 $(TARGET_CONFIGARGS) $${srcdiroption} \
28904 || exit 1
28905 @endif target-libstdc++-v3
28911 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28912 maybe-all-target-libstdc++-v3:
28913 @if target-libstdc++-v3
28914 TARGET-target-libstdc++-v3=all
28915 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28916 all-target-libstdc++-v3: configure-target-libstdc++-v3
28917 @: $(MAKE); $(unstage)
28918 @r=`${PWD_COMMAND}`; export r; \
28919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28920 $(RAW_CXX_TARGET_EXPORTS) \
28921 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28922 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28923 @endif target-libstdc++-v3
28929 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28930 maybe-check-target-libstdc++-v3:
28931 @if target-libstdc++-v3
28932 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28934 check-target-libstdc++-v3:
28935 @: $(MAKE); $(unstage)
28936 @r=`${PWD_COMMAND}`; export r; \
28937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28938 $(RAW_CXX_TARGET_EXPORTS) \
28939 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28940 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28942 @endif target-libstdc++-v3
28944 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28945 maybe-install-target-libstdc++-v3:
28946 @if target-libstdc++-v3
28947 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28949 install-target-libstdc++-v3: installdirs
28950 @: $(MAKE); $(unstage)
28951 @r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28953 $(RAW_CXX_TARGET_EXPORTS) \
28954 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28955 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28957 @endif target-libstdc++-v3
28959 # Other targets (info, dvi, etc.)
28961 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28962 maybe-info-target-libstdc++-v3:
28963 @if target-libstdc++-v3
28964 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28966 info-target-libstdc++-v3: \
28967 configure-target-libstdc++-v3
28968 @: $(MAKE); $(unstage)
28969 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28970 r=`${PWD_COMMAND}`; export r; \
28971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28972 $(RAW_CXX_TARGET_EXPORTS) \
28973 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28974 for flag in $(EXTRA_TARGET_FLAGS); do \
28975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28976 done; \
28977 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28980 "RANLIB=$${RANLIB}" \
28981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28982 info) \
28983 || exit 1
28985 @endif target-libstdc++-v3
28987 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28988 maybe-dvi-target-libstdc++-v3:
28989 @if target-libstdc++-v3
28990 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28992 dvi-target-libstdc++-v3: \
28993 configure-target-libstdc++-v3
28994 @: $(MAKE); $(unstage)
28995 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28996 r=`${PWD_COMMAND}`; export r; \
28997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28998 $(RAW_CXX_TARGET_EXPORTS) \
28999 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29000 for flag in $(EXTRA_TARGET_FLAGS); do \
29001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29002 done; \
29003 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29006 "RANLIB=$${RANLIB}" \
29007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29008 dvi) \
29009 || exit 1
29011 @endif target-libstdc++-v3
29013 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29014 maybe-html-target-libstdc++-v3:
29015 @if target-libstdc++-v3
29016 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29018 html-target-libstdc++-v3: \
29019 configure-target-libstdc++-v3
29020 @: $(MAKE); $(unstage)
29021 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29022 r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 $(RAW_CXX_TARGET_EXPORTS) \
29025 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29026 for flag in $(EXTRA_TARGET_FLAGS); do \
29027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29028 done; \
29029 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29032 "RANLIB=$${RANLIB}" \
29033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29034 html) \
29035 || exit 1
29037 @endif target-libstdc++-v3
29039 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29040 maybe-TAGS-target-libstdc++-v3:
29041 @if target-libstdc++-v3
29042 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29044 TAGS-target-libstdc++-v3: \
29045 configure-target-libstdc++-v3
29046 @: $(MAKE); $(unstage)
29047 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29048 r=`${PWD_COMMAND}`; export r; \
29049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29050 $(RAW_CXX_TARGET_EXPORTS) \
29051 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29052 for flag in $(EXTRA_TARGET_FLAGS); do \
29053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29054 done; \
29055 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29058 "RANLIB=$${RANLIB}" \
29059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29060 TAGS) \
29061 || exit 1
29063 @endif target-libstdc++-v3
29065 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29066 maybe-install-info-target-libstdc++-v3:
29067 @if target-libstdc++-v3
29068 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29070 install-info-target-libstdc++-v3: \
29071 configure-target-libstdc++-v3 \
29072 info-target-libstdc++-v3
29073 @: $(MAKE); $(unstage)
29074 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29075 r=`${PWD_COMMAND}`; export r; \
29076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29077 $(RAW_CXX_TARGET_EXPORTS) \
29078 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29079 for flag in $(EXTRA_TARGET_FLAGS); do \
29080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29081 done; \
29082 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29085 "RANLIB=$${RANLIB}" \
29086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29087 install-info) \
29088 || exit 1
29090 @endif target-libstdc++-v3
29092 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29093 maybe-installcheck-target-libstdc++-v3:
29094 @if target-libstdc++-v3
29095 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29097 installcheck-target-libstdc++-v3: \
29098 configure-target-libstdc++-v3
29099 @: $(MAKE); $(unstage)
29100 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29101 r=`${PWD_COMMAND}`; export r; \
29102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29103 $(RAW_CXX_TARGET_EXPORTS) \
29104 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29105 for flag in $(EXTRA_TARGET_FLAGS); do \
29106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29107 done; \
29108 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29111 "RANLIB=$${RANLIB}" \
29112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29113 installcheck) \
29114 || exit 1
29116 @endif target-libstdc++-v3
29118 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29119 maybe-mostlyclean-target-libstdc++-v3:
29120 @if target-libstdc++-v3
29121 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29123 mostlyclean-target-libstdc++-v3:
29124 @: $(MAKE); $(unstage)
29125 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29126 r=`${PWD_COMMAND}`; export r; \
29127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29128 $(RAW_CXX_TARGET_EXPORTS) \
29129 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29130 for flag in $(EXTRA_TARGET_FLAGS); do \
29131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29132 done; \
29133 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29136 "RANLIB=$${RANLIB}" \
29137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29138 mostlyclean) \
29139 || exit 1
29141 @endif target-libstdc++-v3
29143 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29144 maybe-clean-target-libstdc++-v3:
29145 @if target-libstdc++-v3
29146 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29148 clean-target-libstdc++-v3:
29149 @: $(MAKE); $(unstage)
29150 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29151 r=`${PWD_COMMAND}`; export r; \
29152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29153 $(RAW_CXX_TARGET_EXPORTS) \
29154 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29155 for flag in $(EXTRA_TARGET_FLAGS); do \
29156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29157 done; \
29158 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29161 "RANLIB=$${RANLIB}" \
29162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29163 clean) \
29164 || exit 1
29166 @endif target-libstdc++-v3
29168 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29169 maybe-distclean-target-libstdc++-v3:
29170 @if target-libstdc++-v3
29171 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29173 distclean-target-libstdc++-v3:
29174 @: $(MAKE); $(unstage)
29175 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29176 r=`${PWD_COMMAND}`; export r; \
29177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29178 $(RAW_CXX_TARGET_EXPORTS) \
29179 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29180 for flag in $(EXTRA_TARGET_FLAGS); do \
29181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29182 done; \
29183 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29186 "RANLIB=$${RANLIB}" \
29187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29188 distclean) \
29189 || exit 1
29191 @endif target-libstdc++-v3
29193 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29194 maybe-maintainer-clean-target-libstdc++-v3:
29195 @if target-libstdc++-v3
29196 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29198 maintainer-clean-target-libstdc++-v3:
29199 @: $(MAKE); $(unstage)
29200 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29201 r=`${PWD_COMMAND}`; export r; \
29202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29203 $(RAW_CXX_TARGET_EXPORTS) \
29204 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29205 for flag in $(EXTRA_TARGET_FLAGS); do \
29206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29207 done; \
29208 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29211 "RANLIB=$${RANLIB}" \
29212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29213 maintainer-clean) \
29214 || exit 1
29216 @endif target-libstdc++-v3
29222 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29223 maybe-configure-target-libmudflap:
29224 @if target-libmudflap
29225 maybe-configure-target-libmudflap: configure-target-libmudflap
29226 configure-target-libmudflap:
29227 @: $(MAKE); $(unstage)
29228 @r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230 echo "Checking multilib configuration for libmudflap..."; \
29231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29232 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29233 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29234 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29235 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29236 else \
29237 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29238 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29239 fi; \
29240 else \
29241 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29243 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29245 r=`${PWD_COMMAND}`; export r; \
29246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29247 $(NORMAL_TARGET_EXPORTS) \
29248 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29249 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29250 case $(srcdir) in \
29251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29252 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29254 esac; \
29255 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29256 libsrcdir="$$s/libmudflap"; \
29257 rm -f no-such-file || : ; \
29258 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29259 $(TARGET_CONFIGARGS) $${srcdiroption} \
29260 || exit 1
29261 @endif target-libmudflap
29267 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29268 maybe-all-target-libmudflap:
29269 @if target-libmudflap
29270 TARGET-target-libmudflap=all
29271 maybe-all-target-libmudflap: all-target-libmudflap
29272 all-target-libmudflap: configure-target-libmudflap
29273 @: $(MAKE); $(unstage)
29274 @r=`${PWD_COMMAND}`; export r; \
29275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29276 $(NORMAL_TARGET_EXPORTS) \
29277 (cd $(TARGET_SUBDIR)/libmudflap && \
29278 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29279 @endif target-libmudflap
29285 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29286 maybe-check-target-libmudflap:
29287 @if target-libmudflap
29288 maybe-check-target-libmudflap: check-target-libmudflap
29290 check-target-libmudflap:
29291 @: $(MAKE); $(unstage)
29292 @r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(NORMAL_TARGET_EXPORTS) \
29295 (cd $(TARGET_SUBDIR)/libmudflap && \
29296 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29298 @endif target-libmudflap
29300 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29301 maybe-install-target-libmudflap:
29302 @if target-libmudflap
29303 maybe-install-target-libmudflap: install-target-libmudflap
29305 install-target-libmudflap: installdirs
29306 @: $(MAKE); $(unstage)
29307 @r=`${PWD_COMMAND}`; export r; \
29308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29309 $(NORMAL_TARGET_EXPORTS) \
29310 (cd $(TARGET_SUBDIR)/libmudflap && \
29311 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29313 @endif target-libmudflap
29315 # Other targets (info, dvi, etc.)
29317 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29318 maybe-info-target-libmudflap:
29319 @if target-libmudflap
29320 maybe-info-target-libmudflap: info-target-libmudflap
29322 info-target-libmudflap: \
29323 configure-target-libmudflap
29324 @: $(MAKE); $(unstage)
29325 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29326 r=`${PWD_COMMAND}`; export r; \
29327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29328 $(NORMAL_TARGET_EXPORTS) \
29329 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29330 for flag in $(EXTRA_TARGET_FLAGS); do \
29331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29332 done; \
29333 (cd $(TARGET_SUBDIR)/libmudflap && \
29334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29336 "RANLIB=$${RANLIB}" \
29337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29338 info) \
29339 || exit 1
29341 @endif target-libmudflap
29343 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29344 maybe-dvi-target-libmudflap:
29345 @if target-libmudflap
29346 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29348 dvi-target-libmudflap: \
29349 configure-target-libmudflap
29350 @: $(MAKE); $(unstage)
29351 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(NORMAL_TARGET_EXPORTS) \
29355 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29356 for flag in $(EXTRA_TARGET_FLAGS); do \
29357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29358 done; \
29359 (cd $(TARGET_SUBDIR)/libmudflap && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29362 "RANLIB=$${RANLIB}" \
29363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29364 dvi) \
29365 || exit 1
29367 @endif target-libmudflap
29369 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29370 maybe-html-target-libmudflap:
29371 @if target-libmudflap
29372 maybe-html-target-libmudflap: html-target-libmudflap
29374 html-target-libmudflap: \
29375 configure-target-libmudflap
29376 @: $(MAKE); $(unstage)
29377 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29378 r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 $(NORMAL_TARGET_EXPORTS) \
29381 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29382 for flag in $(EXTRA_TARGET_FLAGS); do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 (cd $(TARGET_SUBDIR)/libmudflap && \
29386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29388 "RANLIB=$${RANLIB}" \
29389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29390 html) \
29391 || exit 1
29393 @endif target-libmudflap
29395 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29396 maybe-TAGS-target-libmudflap:
29397 @if target-libmudflap
29398 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29400 TAGS-target-libmudflap: \
29401 configure-target-libmudflap
29402 @: $(MAKE); $(unstage)
29403 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29404 r=`${PWD_COMMAND}`; export r; \
29405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29406 $(NORMAL_TARGET_EXPORTS) \
29407 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29408 for flag in $(EXTRA_TARGET_FLAGS); do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 (cd $(TARGET_SUBDIR)/libmudflap && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29416 TAGS) \
29417 || exit 1
29419 @endif target-libmudflap
29421 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29422 maybe-install-info-target-libmudflap:
29423 @if target-libmudflap
29424 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29426 install-info-target-libmudflap: \
29427 configure-target-libmudflap \
29428 info-target-libmudflap
29429 @: $(MAKE); $(unstage)
29430 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29431 r=`${PWD_COMMAND}`; export r; \
29432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(NORMAL_TARGET_EXPORTS) \
29434 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29435 for flag in $(EXTRA_TARGET_FLAGS); do \
29436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29437 done; \
29438 (cd $(TARGET_SUBDIR)/libmudflap && \
29439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29441 "RANLIB=$${RANLIB}" \
29442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29443 install-info) \
29444 || exit 1
29446 @endif target-libmudflap
29448 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29449 maybe-installcheck-target-libmudflap:
29450 @if target-libmudflap
29451 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29453 installcheck-target-libmudflap: \
29454 configure-target-libmudflap
29455 @: $(MAKE); $(unstage)
29456 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29457 r=`${PWD_COMMAND}`; export r; \
29458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 $(NORMAL_TARGET_EXPORTS) \
29460 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29461 for flag in $(EXTRA_TARGET_FLAGS); do \
29462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29463 done; \
29464 (cd $(TARGET_SUBDIR)/libmudflap && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29469 installcheck) \
29470 || exit 1
29472 @endif target-libmudflap
29474 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29475 maybe-mostlyclean-target-libmudflap:
29476 @if target-libmudflap
29477 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29479 mostlyclean-target-libmudflap:
29480 @: $(MAKE); $(unstage)
29481 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(NORMAL_TARGET_EXPORTS) \
29485 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29486 for flag in $(EXTRA_TARGET_FLAGS); do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29488 done; \
29489 (cd $(TARGET_SUBDIR)/libmudflap && \
29490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29492 "RANLIB=$${RANLIB}" \
29493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29494 mostlyclean) \
29495 || exit 1
29497 @endif target-libmudflap
29499 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29500 maybe-clean-target-libmudflap:
29501 @if target-libmudflap
29502 maybe-clean-target-libmudflap: clean-target-libmudflap
29504 clean-target-libmudflap:
29505 @: $(MAKE); $(unstage)
29506 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29509 $(NORMAL_TARGET_EXPORTS) \
29510 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29511 for flag in $(EXTRA_TARGET_FLAGS); do \
29512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29513 done; \
29514 (cd $(TARGET_SUBDIR)/libmudflap && \
29515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29517 "RANLIB=$${RANLIB}" \
29518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29519 clean) \
29520 || exit 1
29522 @endif target-libmudflap
29524 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29525 maybe-distclean-target-libmudflap:
29526 @if target-libmudflap
29527 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29529 distclean-target-libmudflap:
29530 @: $(MAKE); $(unstage)
29531 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29532 r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29534 $(NORMAL_TARGET_EXPORTS) \
29535 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29536 for flag in $(EXTRA_TARGET_FLAGS); do \
29537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29538 done; \
29539 (cd $(TARGET_SUBDIR)/libmudflap && \
29540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29542 "RANLIB=$${RANLIB}" \
29543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29544 distclean) \
29545 || exit 1
29547 @endif target-libmudflap
29549 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29550 maybe-maintainer-clean-target-libmudflap:
29551 @if target-libmudflap
29552 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29554 maintainer-clean-target-libmudflap:
29555 @: $(MAKE); $(unstage)
29556 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29557 r=`${PWD_COMMAND}`; export r; \
29558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29559 $(NORMAL_TARGET_EXPORTS) \
29560 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29561 for flag in $(EXTRA_TARGET_FLAGS); do \
29562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29563 done; \
29564 (cd $(TARGET_SUBDIR)/libmudflap && \
29565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29567 "RANLIB=$${RANLIB}" \
29568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29569 maintainer-clean) \
29570 || exit 1
29572 @endif target-libmudflap
29578 .PHONY: configure-target-libssp maybe-configure-target-libssp
29579 maybe-configure-target-libssp:
29580 @if target-libssp
29581 maybe-configure-target-libssp: configure-target-libssp
29582 configure-target-libssp:
29583 @: $(MAKE); $(unstage)
29584 @r=`${PWD_COMMAND}`; export r; \
29585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29586 echo "Checking multilib configuration for libssp..."; \
29587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29588 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29589 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29590 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29591 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29592 else \
29593 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29594 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29595 fi; \
29596 else \
29597 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29599 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29600 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29601 r=`${PWD_COMMAND}`; export r; \
29602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29603 $(NORMAL_TARGET_EXPORTS) \
29604 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29605 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29606 case $(srcdir) in \
29607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29608 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29610 esac; \
29611 srcdiroption="--srcdir=$${topdir}/libssp"; \
29612 libsrcdir="$$s/libssp"; \
29613 rm -f no-such-file || : ; \
29614 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29615 $(TARGET_CONFIGARGS) $${srcdiroption} \
29616 || exit 1
29617 @endif target-libssp
29623 .PHONY: all-target-libssp maybe-all-target-libssp
29624 maybe-all-target-libssp:
29625 @if target-libssp
29626 TARGET-target-libssp=all
29627 maybe-all-target-libssp: all-target-libssp
29628 all-target-libssp: configure-target-libssp
29629 @: $(MAKE); $(unstage)
29630 @r=`${PWD_COMMAND}`; export r; \
29631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29632 $(NORMAL_TARGET_EXPORTS) \
29633 (cd $(TARGET_SUBDIR)/libssp && \
29634 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29635 @endif target-libssp
29641 .PHONY: check-target-libssp maybe-check-target-libssp
29642 maybe-check-target-libssp:
29643 @if target-libssp
29644 maybe-check-target-libssp: check-target-libssp
29646 check-target-libssp:
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(NORMAL_TARGET_EXPORTS) \
29651 (cd $(TARGET_SUBDIR)/libssp && \
29652 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29654 @endif target-libssp
29656 .PHONY: install-target-libssp maybe-install-target-libssp
29657 maybe-install-target-libssp:
29658 @if target-libssp
29659 maybe-install-target-libssp: install-target-libssp
29661 install-target-libssp: installdirs
29662 @: $(MAKE); $(unstage)
29663 @r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(NORMAL_TARGET_EXPORTS) \
29666 (cd $(TARGET_SUBDIR)/libssp && \
29667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29669 @endif target-libssp
29671 # Other targets (info, dvi, etc.)
29673 .PHONY: maybe-info-target-libssp info-target-libssp
29674 maybe-info-target-libssp:
29675 @if target-libssp
29676 maybe-info-target-libssp: info-target-libssp
29678 info-target-libssp: \
29679 configure-target-libssp
29680 @: $(MAKE); $(unstage)
29681 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(NORMAL_TARGET_EXPORTS) \
29685 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29686 for flag in $(EXTRA_TARGET_FLAGS); do \
29687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29688 done; \
29689 (cd $(TARGET_SUBDIR)/libssp && \
29690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29692 "RANLIB=$${RANLIB}" \
29693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29694 info) \
29695 || exit 1
29697 @endif target-libssp
29699 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29700 maybe-dvi-target-libssp:
29701 @if target-libssp
29702 maybe-dvi-target-libssp: dvi-target-libssp
29704 dvi-target-libssp: \
29705 configure-target-libssp
29706 @: $(MAKE); $(unstage)
29707 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29708 r=`${PWD_COMMAND}`; export r; \
29709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29710 $(NORMAL_TARGET_EXPORTS) \
29711 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29712 for flag in $(EXTRA_TARGET_FLAGS); do \
29713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29714 done; \
29715 (cd $(TARGET_SUBDIR)/libssp && \
29716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29718 "RANLIB=$${RANLIB}" \
29719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29720 dvi) \
29721 || exit 1
29723 @endif target-libssp
29725 .PHONY: maybe-html-target-libssp html-target-libssp
29726 maybe-html-target-libssp:
29727 @if target-libssp
29728 maybe-html-target-libssp: html-target-libssp
29730 html-target-libssp: \
29731 configure-target-libssp
29732 @: $(MAKE); $(unstage)
29733 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29734 r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(NORMAL_TARGET_EXPORTS) \
29737 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29738 for flag in $(EXTRA_TARGET_FLAGS); do \
29739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29740 done; \
29741 (cd $(TARGET_SUBDIR)/libssp && \
29742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29744 "RANLIB=$${RANLIB}" \
29745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29746 html) \
29747 || exit 1
29749 @endif target-libssp
29751 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29752 maybe-TAGS-target-libssp:
29753 @if target-libssp
29754 maybe-TAGS-target-libssp: TAGS-target-libssp
29756 TAGS-target-libssp: \
29757 configure-target-libssp
29758 @: $(MAKE); $(unstage)
29759 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29760 r=`${PWD_COMMAND}`; export r; \
29761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29762 $(NORMAL_TARGET_EXPORTS) \
29763 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29764 for flag in $(EXTRA_TARGET_FLAGS); do \
29765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29766 done; \
29767 (cd $(TARGET_SUBDIR)/libssp && \
29768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29770 "RANLIB=$${RANLIB}" \
29771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29772 TAGS) \
29773 || exit 1
29775 @endif target-libssp
29777 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29778 maybe-install-info-target-libssp:
29779 @if target-libssp
29780 maybe-install-info-target-libssp: install-info-target-libssp
29782 install-info-target-libssp: \
29783 configure-target-libssp \
29784 info-target-libssp
29785 @: $(MAKE); $(unstage)
29786 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29787 r=`${PWD_COMMAND}`; export r; \
29788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29789 $(NORMAL_TARGET_EXPORTS) \
29790 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29791 for flag in $(EXTRA_TARGET_FLAGS); do \
29792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29793 done; \
29794 (cd $(TARGET_SUBDIR)/libssp && \
29795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29797 "RANLIB=$${RANLIB}" \
29798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29799 install-info) \
29800 || exit 1
29802 @endif target-libssp
29804 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29805 maybe-installcheck-target-libssp:
29806 @if target-libssp
29807 maybe-installcheck-target-libssp: installcheck-target-libssp
29809 installcheck-target-libssp: \
29810 configure-target-libssp
29811 @: $(MAKE); $(unstage)
29812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29813 r=`${PWD_COMMAND}`; export r; \
29814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29815 $(NORMAL_TARGET_EXPORTS) \
29816 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29817 for flag in $(EXTRA_TARGET_FLAGS); do \
29818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29819 done; \
29820 (cd $(TARGET_SUBDIR)/libssp && \
29821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29823 "RANLIB=$${RANLIB}" \
29824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29825 installcheck) \
29826 || exit 1
29828 @endif target-libssp
29830 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29831 maybe-mostlyclean-target-libssp:
29832 @if target-libssp
29833 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29835 mostlyclean-target-libssp:
29836 @: $(MAKE); $(unstage)
29837 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29838 r=`${PWD_COMMAND}`; export r; \
29839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29840 $(NORMAL_TARGET_EXPORTS) \
29841 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29842 for flag in $(EXTRA_TARGET_FLAGS); do \
29843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29844 done; \
29845 (cd $(TARGET_SUBDIR)/libssp && \
29846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29848 "RANLIB=$${RANLIB}" \
29849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29850 mostlyclean) \
29851 || exit 1
29853 @endif target-libssp
29855 .PHONY: maybe-clean-target-libssp clean-target-libssp
29856 maybe-clean-target-libssp:
29857 @if target-libssp
29858 maybe-clean-target-libssp: clean-target-libssp
29860 clean-target-libssp:
29861 @: $(MAKE); $(unstage)
29862 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29863 r=`${PWD_COMMAND}`; export r; \
29864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29865 $(NORMAL_TARGET_EXPORTS) \
29866 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29867 for flag in $(EXTRA_TARGET_FLAGS); do \
29868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29869 done; \
29870 (cd $(TARGET_SUBDIR)/libssp && \
29871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29873 "RANLIB=$${RANLIB}" \
29874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29875 clean) \
29876 || exit 1
29878 @endif target-libssp
29880 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29881 maybe-distclean-target-libssp:
29882 @if target-libssp
29883 maybe-distclean-target-libssp: distclean-target-libssp
29885 distclean-target-libssp:
29886 @: $(MAKE); $(unstage)
29887 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29888 r=`${PWD_COMMAND}`; export r; \
29889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29890 $(NORMAL_TARGET_EXPORTS) \
29891 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29892 for flag in $(EXTRA_TARGET_FLAGS); do \
29893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29894 done; \
29895 (cd $(TARGET_SUBDIR)/libssp && \
29896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29898 "RANLIB=$${RANLIB}" \
29899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29900 distclean) \
29901 || exit 1
29903 @endif target-libssp
29905 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29906 maybe-maintainer-clean-target-libssp:
29907 @if target-libssp
29908 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29910 maintainer-clean-target-libssp:
29911 @: $(MAKE); $(unstage)
29912 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29913 r=`${PWD_COMMAND}`; export r; \
29914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29915 $(NORMAL_TARGET_EXPORTS) \
29916 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29917 for flag in $(EXTRA_TARGET_FLAGS); do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 (cd $(TARGET_SUBDIR)/libssp && \
29921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29923 "RANLIB=$${RANLIB}" \
29924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29925 maintainer-clean) \
29926 || exit 1
29928 @endif target-libssp
29934 .PHONY: configure-target-newlib maybe-configure-target-newlib
29935 maybe-configure-target-newlib:
29936 @if target-newlib
29937 maybe-configure-target-newlib: configure-target-newlib
29938 configure-target-newlib:
29939 @: $(MAKE); $(unstage)
29940 @r=`${PWD_COMMAND}`; export r; \
29941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29942 echo "Checking multilib configuration for newlib..."; \
29943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29944 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
29945 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
29946 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
29947 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
29948 else \
29949 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
29950 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29951 fi; \
29952 else \
29953 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29955 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29957 r=`${PWD_COMMAND}`; export r; \
29958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29959 $(NORMAL_TARGET_EXPORTS) \
29960 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29961 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29962 case $(srcdir) in \
29963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29964 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29966 esac; \
29967 srcdiroption="--srcdir=$${topdir}/newlib"; \
29968 libsrcdir="$$s/newlib"; \
29969 rm -f no-such-file || : ; \
29970 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29971 $(TARGET_CONFIGARGS) $${srcdiroption} \
29972 || exit 1
29973 @endif target-newlib
29979 .PHONY: all-target-newlib maybe-all-target-newlib
29980 maybe-all-target-newlib:
29981 @if target-newlib
29982 TARGET-target-newlib=all
29983 maybe-all-target-newlib: all-target-newlib
29984 all-target-newlib: configure-target-newlib
29985 @: $(MAKE); $(unstage)
29986 @r=`${PWD_COMMAND}`; export r; \
29987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29988 $(NORMAL_TARGET_EXPORTS) \
29989 (cd $(TARGET_SUBDIR)/newlib && \
29990 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29991 @endif target-newlib
29997 .PHONY: check-target-newlib maybe-check-target-newlib
29998 maybe-check-target-newlib:
29999 @if target-newlib
30000 maybe-check-target-newlib: check-target-newlib
30002 check-target-newlib:
30003 @: $(MAKE); $(unstage)
30004 @r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(NORMAL_TARGET_EXPORTS) \
30007 (cd $(TARGET_SUBDIR)/newlib && \
30008 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30010 @endif target-newlib
30012 .PHONY: install-target-newlib maybe-install-target-newlib
30013 maybe-install-target-newlib:
30014 @if target-newlib
30015 maybe-install-target-newlib: install-target-newlib
30017 install-target-newlib: installdirs
30018 @: $(MAKE); $(unstage)
30019 @r=`${PWD_COMMAND}`; export r; \
30020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30021 $(NORMAL_TARGET_EXPORTS) \
30022 (cd $(TARGET_SUBDIR)/newlib && \
30023 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30025 @endif target-newlib
30027 # Other targets (info, dvi, etc.)
30029 .PHONY: maybe-info-target-newlib info-target-newlib
30030 maybe-info-target-newlib:
30031 @if target-newlib
30032 maybe-info-target-newlib: info-target-newlib
30034 info-target-newlib: \
30035 configure-target-newlib
30036 @: $(MAKE); $(unstage)
30037 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30038 r=`${PWD_COMMAND}`; export r; \
30039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30040 $(NORMAL_TARGET_EXPORTS) \
30041 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30042 for flag in $(EXTRA_TARGET_FLAGS); do \
30043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30044 done; \
30045 (cd $(TARGET_SUBDIR)/newlib && \
30046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30048 "RANLIB=$${RANLIB}" \
30049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30050 info) \
30051 || exit 1
30053 @endif target-newlib
30055 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30056 maybe-dvi-target-newlib:
30057 @if target-newlib
30058 maybe-dvi-target-newlib: dvi-target-newlib
30060 dvi-target-newlib: \
30061 configure-target-newlib
30062 @: $(MAKE); $(unstage)
30063 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30064 r=`${PWD_COMMAND}`; export r; \
30065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30066 $(NORMAL_TARGET_EXPORTS) \
30067 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30068 for flag in $(EXTRA_TARGET_FLAGS); do \
30069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30070 done; \
30071 (cd $(TARGET_SUBDIR)/newlib && \
30072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30074 "RANLIB=$${RANLIB}" \
30075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30076 dvi) \
30077 || exit 1
30079 @endif target-newlib
30081 .PHONY: maybe-html-target-newlib html-target-newlib
30082 maybe-html-target-newlib:
30083 @if target-newlib
30084 maybe-html-target-newlib: html-target-newlib
30086 html-target-newlib: \
30087 configure-target-newlib
30088 @: $(MAKE); $(unstage)
30089 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30090 r=`${PWD_COMMAND}`; export r; \
30091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30092 $(NORMAL_TARGET_EXPORTS) \
30093 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30094 for flag in $(EXTRA_TARGET_FLAGS); do \
30095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30096 done; \
30097 (cd $(TARGET_SUBDIR)/newlib && \
30098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30100 "RANLIB=$${RANLIB}" \
30101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30102 html) \
30103 || exit 1
30105 @endif target-newlib
30107 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30108 maybe-TAGS-target-newlib:
30109 @if target-newlib
30110 maybe-TAGS-target-newlib: TAGS-target-newlib
30112 TAGS-target-newlib: \
30113 configure-target-newlib
30114 @: $(MAKE); $(unstage)
30115 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30116 r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 $(NORMAL_TARGET_EXPORTS) \
30119 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30120 for flag in $(EXTRA_TARGET_FLAGS); do \
30121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30122 done; \
30123 (cd $(TARGET_SUBDIR)/newlib && \
30124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30126 "RANLIB=$${RANLIB}" \
30127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30128 TAGS) \
30129 || exit 1
30131 @endif target-newlib
30133 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30134 maybe-install-info-target-newlib:
30135 @if target-newlib
30136 maybe-install-info-target-newlib: install-info-target-newlib
30138 install-info-target-newlib: \
30139 configure-target-newlib \
30140 info-target-newlib
30141 @: $(MAKE); $(unstage)
30142 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30143 r=`${PWD_COMMAND}`; export r; \
30144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30145 $(NORMAL_TARGET_EXPORTS) \
30146 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30147 for flag in $(EXTRA_TARGET_FLAGS); do \
30148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30149 done; \
30150 (cd $(TARGET_SUBDIR)/newlib && \
30151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30153 "RANLIB=$${RANLIB}" \
30154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30155 install-info) \
30156 || exit 1
30158 @endif target-newlib
30160 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30161 maybe-installcheck-target-newlib:
30162 @if target-newlib
30163 maybe-installcheck-target-newlib: installcheck-target-newlib
30165 installcheck-target-newlib: \
30166 configure-target-newlib
30167 @: $(MAKE); $(unstage)
30168 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30169 r=`${PWD_COMMAND}`; export r; \
30170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30171 $(NORMAL_TARGET_EXPORTS) \
30172 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30173 for flag in $(EXTRA_TARGET_FLAGS); do \
30174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30175 done; \
30176 (cd $(TARGET_SUBDIR)/newlib && \
30177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30179 "RANLIB=$${RANLIB}" \
30180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30181 installcheck) \
30182 || exit 1
30184 @endif target-newlib
30186 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30187 maybe-mostlyclean-target-newlib:
30188 @if target-newlib
30189 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30191 mostlyclean-target-newlib:
30192 @: $(MAKE); $(unstage)
30193 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30194 r=`${PWD_COMMAND}`; export r; \
30195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30196 $(NORMAL_TARGET_EXPORTS) \
30197 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30198 for flag in $(EXTRA_TARGET_FLAGS); do \
30199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30200 done; \
30201 (cd $(TARGET_SUBDIR)/newlib && \
30202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30204 "RANLIB=$${RANLIB}" \
30205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30206 mostlyclean) \
30207 || exit 1
30209 @endif target-newlib
30211 .PHONY: maybe-clean-target-newlib clean-target-newlib
30212 maybe-clean-target-newlib:
30213 @if target-newlib
30214 maybe-clean-target-newlib: clean-target-newlib
30216 clean-target-newlib:
30217 @: $(MAKE); $(unstage)
30218 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30219 r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 $(NORMAL_TARGET_EXPORTS) \
30222 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30223 for flag in $(EXTRA_TARGET_FLAGS); do \
30224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30225 done; \
30226 (cd $(TARGET_SUBDIR)/newlib && \
30227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30229 "RANLIB=$${RANLIB}" \
30230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30231 clean) \
30232 || exit 1
30234 @endif target-newlib
30236 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30237 maybe-distclean-target-newlib:
30238 @if target-newlib
30239 maybe-distclean-target-newlib: distclean-target-newlib
30241 distclean-target-newlib:
30242 @: $(MAKE); $(unstage)
30243 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30246 $(NORMAL_TARGET_EXPORTS) \
30247 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30248 for flag in $(EXTRA_TARGET_FLAGS); do \
30249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30250 done; \
30251 (cd $(TARGET_SUBDIR)/newlib && \
30252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30254 "RANLIB=$${RANLIB}" \
30255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30256 distclean) \
30257 || exit 1
30259 @endif target-newlib
30261 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30262 maybe-maintainer-clean-target-newlib:
30263 @if target-newlib
30264 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30266 maintainer-clean-target-newlib:
30267 @: $(MAKE); $(unstage)
30268 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30269 r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30271 $(NORMAL_TARGET_EXPORTS) \
30272 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30273 for flag in $(EXTRA_TARGET_FLAGS); do \
30274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30275 done; \
30276 (cd $(TARGET_SUBDIR)/newlib && \
30277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30279 "RANLIB=$${RANLIB}" \
30280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30281 maintainer-clean) \
30282 || exit 1
30284 @endif target-newlib
30290 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30291 maybe-configure-target-libgfortran:
30292 @if target-libgfortran
30293 maybe-configure-target-libgfortran: configure-target-libgfortran
30294 configure-target-libgfortran:
30295 @: $(MAKE); $(unstage)
30296 @r=`${PWD_COMMAND}`; export r; \
30297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30298 echo "Checking multilib configuration for libgfortran..."; \
30299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30300 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30301 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30302 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30303 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30304 else \
30305 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30306 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30307 fi; \
30308 else \
30309 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30311 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30313 r=`${PWD_COMMAND}`; export r; \
30314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30315 $(NORMAL_TARGET_EXPORTS) \
30316 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30317 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30318 case $(srcdir) in \
30319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30320 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30322 esac; \
30323 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30324 libsrcdir="$$s/libgfortran"; \
30325 rm -f no-such-file || : ; \
30326 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30327 $(TARGET_CONFIGARGS) $${srcdiroption} \
30328 || exit 1
30329 @endif target-libgfortran
30335 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30336 maybe-all-target-libgfortran:
30337 @if target-libgfortran
30338 TARGET-target-libgfortran=all
30339 maybe-all-target-libgfortran: all-target-libgfortran
30340 all-target-libgfortran: configure-target-libgfortran
30341 @: $(MAKE); $(unstage)
30342 @r=`${PWD_COMMAND}`; export r; \
30343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30344 $(NORMAL_TARGET_EXPORTS) \
30345 (cd $(TARGET_SUBDIR)/libgfortran && \
30346 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30347 @endif target-libgfortran
30353 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30354 maybe-check-target-libgfortran:
30355 @if target-libgfortran
30356 maybe-check-target-libgfortran: check-target-libgfortran
30358 check-target-libgfortran:
30359 @: $(MAKE); $(unstage)
30360 @r=`${PWD_COMMAND}`; export r; \
30361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30362 $(NORMAL_TARGET_EXPORTS) \
30363 (cd $(TARGET_SUBDIR)/libgfortran && \
30364 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30366 @endif target-libgfortran
30368 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30369 maybe-install-target-libgfortran:
30370 @if target-libgfortran
30371 maybe-install-target-libgfortran: install-target-libgfortran
30373 install-target-libgfortran: installdirs
30374 @: $(MAKE); $(unstage)
30375 @r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(NORMAL_TARGET_EXPORTS) \
30378 (cd $(TARGET_SUBDIR)/libgfortran && \
30379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30381 @endif target-libgfortran
30383 # Other targets (info, dvi, etc.)
30385 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30386 maybe-info-target-libgfortran:
30387 @if target-libgfortran
30388 maybe-info-target-libgfortran: info-target-libgfortran
30390 info-target-libgfortran: \
30391 configure-target-libgfortran
30392 @: $(MAKE); $(unstage)
30393 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30394 r=`${PWD_COMMAND}`; export r; \
30395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30396 $(NORMAL_TARGET_EXPORTS) \
30397 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30398 for flag in $(EXTRA_TARGET_FLAGS); do \
30399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30400 done; \
30401 (cd $(TARGET_SUBDIR)/libgfortran && \
30402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30404 "RANLIB=$${RANLIB}" \
30405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30406 info) \
30407 || exit 1
30409 @endif target-libgfortran
30411 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30412 maybe-dvi-target-libgfortran:
30413 @if target-libgfortran
30414 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30416 dvi-target-libgfortran: \
30417 configure-target-libgfortran
30418 @: $(MAKE); $(unstage)
30419 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30420 r=`${PWD_COMMAND}`; export r; \
30421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30422 $(NORMAL_TARGET_EXPORTS) \
30423 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30424 for flag in $(EXTRA_TARGET_FLAGS); do \
30425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30426 done; \
30427 (cd $(TARGET_SUBDIR)/libgfortran && \
30428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30430 "RANLIB=$${RANLIB}" \
30431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30432 dvi) \
30433 || exit 1
30435 @endif target-libgfortran
30437 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30438 maybe-html-target-libgfortran:
30439 @if target-libgfortran
30440 maybe-html-target-libgfortran: html-target-libgfortran
30442 html-target-libgfortran: \
30443 configure-target-libgfortran
30444 @: $(MAKE); $(unstage)
30445 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30448 $(NORMAL_TARGET_EXPORTS) \
30449 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30450 for flag in $(EXTRA_TARGET_FLAGS); do \
30451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30452 done; \
30453 (cd $(TARGET_SUBDIR)/libgfortran && \
30454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30456 "RANLIB=$${RANLIB}" \
30457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30458 html) \
30459 || exit 1
30461 @endif target-libgfortran
30463 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30464 maybe-TAGS-target-libgfortran:
30465 @if target-libgfortran
30466 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30468 TAGS-target-libgfortran: \
30469 configure-target-libgfortran
30470 @: $(MAKE); $(unstage)
30471 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30472 r=`${PWD_COMMAND}`; export r; \
30473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30474 $(NORMAL_TARGET_EXPORTS) \
30475 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30476 for flag in $(EXTRA_TARGET_FLAGS); do \
30477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30478 done; \
30479 (cd $(TARGET_SUBDIR)/libgfortran && \
30480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30482 "RANLIB=$${RANLIB}" \
30483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30484 TAGS) \
30485 || exit 1
30487 @endif target-libgfortran
30489 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30490 maybe-install-info-target-libgfortran:
30491 @if target-libgfortran
30492 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30494 install-info-target-libgfortran: \
30495 configure-target-libgfortran \
30496 info-target-libgfortran
30497 @: $(MAKE); $(unstage)
30498 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30499 r=`${PWD_COMMAND}`; export r; \
30500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30501 $(NORMAL_TARGET_EXPORTS) \
30502 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30503 for flag in $(EXTRA_TARGET_FLAGS); do \
30504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30505 done; \
30506 (cd $(TARGET_SUBDIR)/libgfortran && \
30507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30509 "RANLIB=$${RANLIB}" \
30510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30511 install-info) \
30512 || exit 1
30514 @endif target-libgfortran
30516 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30517 maybe-installcheck-target-libgfortran:
30518 @if target-libgfortran
30519 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30521 installcheck-target-libgfortran: \
30522 configure-target-libgfortran
30523 @: $(MAKE); $(unstage)
30524 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30525 r=`${PWD_COMMAND}`; export r; \
30526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30527 $(NORMAL_TARGET_EXPORTS) \
30528 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30529 for flag in $(EXTRA_TARGET_FLAGS); do \
30530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30531 done; \
30532 (cd $(TARGET_SUBDIR)/libgfortran && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30535 "RANLIB=$${RANLIB}" \
30536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30537 installcheck) \
30538 || exit 1
30540 @endif target-libgfortran
30542 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30543 maybe-mostlyclean-target-libgfortran:
30544 @if target-libgfortran
30545 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30547 mostlyclean-target-libgfortran:
30548 @: $(MAKE); $(unstage)
30549 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30550 r=`${PWD_COMMAND}`; export r; \
30551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30552 $(NORMAL_TARGET_EXPORTS) \
30553 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30554 for flag in $(EXTRA_TARGET_FLAGS); do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 (cd $(TARGET_SUBDIR)/libgfortran && \
30558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30560 "RANLIB=$${RANLIB}" \
30561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30562 mostlyclean) \
30563 || exit 1
30565 @endif target-libgfortran
30567 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30568 maybe-clean-target-libgfortran:
30569 @if target-libgfortran
30570 maybe-clean-target-libgfortran: clean-target-libgfortran
30572 clean-target-libgfortran:
30573 @: $(MAKE); $(unstage)
30574 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30575 r=`${PWD_COMMAND}`; export r; \
30576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30577 $(NORMAL_TARGET_EXPORTS) \
30578 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30579 for flag in $(EXTRA_TARGET_FLAGS); do \
30580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30581 done; \
30582 (cd $(TARGET_SUBDIR)/libgfortran && \
30583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30585 "RANLIB=$${RANLIB}" \
30586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30587 clean) \
30588 || exit 1
30590 @endif target-libgfortran
30592 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30593 maybe-distclean-target-libgfortran:
30594 @if target-libgfortran
30595 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30597 distclean-target-libgfortran:
30598 @: $(MAKE); $(unstage)
30599 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30600 r=`${PWD_COMMAND}`; export r; \
30601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30602 $(NORMAL_TARGET_EXPORTS) \
30603 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30604 for flag in $(EXTRA_TARGET_FLAGS); do \
30605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30606 done; \
30607 (cd $(TARGET_SUBDIR)/libgfortran && \
30608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30610 "RANLIB=$${RANLIB}" \
30611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30612 distclean) \
30613 || exit 1
30615 @endif target-libgfortran
30617 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30618 maybe-maintainer-clean-target-libgfortran:
30619 @if target-libgfortran
30620 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30622 maintainer-clean-target-libgfortran:
30623 @: $(MAKE); $(unstage)
30624 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30625 r=`${PWD_COMMAND}`; export r; \
30626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30627 $(NORMAL_TARGET_EXPORTS) \
30628 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30629 for flag in $(EXTRA_TARGET_FLAGS); do \
30630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30631 done; \
30632 (cd $(TARGET_SUBDIR)/libgfortran && \
30633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30635 "RANLIB=$${RANLIB}" \
30636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30637 maintainer-clean) \
30638 || exit 1
30640 @endif target-libgfortran
30646 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30647 maybe-configure-target-libobjc:
30648 @if target-libobjc
30649 maybe-configure-target-libobjc: configure-target-libobjc
30650 configure-target-libobjc:
30651 @: $(MAKE); $(unstage)
30652 @r=`${PWD_COMMAND}`; export r; \
30653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30654 echo "Checking multilib configuration for libobjc..."; \
30655 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30656 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
30657 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30658 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30659 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
30660 else \
30661 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
30662 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30663 fi; \
30664 else \
30665 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30667 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30668 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30669 r=`${PWD_COMMAND}`; export r; \
30670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30671 $(NORMAL_TARGET_EXPORTS) \
30672 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30673 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30674 case $(srcdir) in \
30675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30676 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30678 esac; \
30679 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30680 libsrcdir="$$s/libobjc"; \
30681 rm -f no-such-file || : ; \
30682 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30683 $(TARGET_CONFIGARGS) $${srcdiroption} \
30684 || exit 1
30685 @endif target-libobjc
30691 .PHONY: all-target-libobjc maybe-all-target-libobjc
30692 maybe-all-target-libobjc:
30693 @if target-libobjc
30694 TARGET-target-libobjc=all
30695 maybe-all-target-libobjc: all-target-libobjc
30696 all-target-libobjc: configure-target-libobjc
30697 @: $(MAKE); $(unstage)
30698 @r=`${PWD_COMMAND}`; export r; \
30699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30700 $(NORMAL_TARGET_EXPORTS) \
30701 (cd $(TARGET_SUBDIR)/libobjc && \
30702 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30703 @endif target-libobjc
30709 .PHONY: check-target-libobjc maybe-check-target-libobjc
30710 maybe-check-target-libobjc:
30711 @if target-libobjc
30712 maybe-check-target-libobjc: check-target-libobjc
30714 check-target-libobjc:
30715 @: $(MAKE); $(unstage)
30716 @r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(NORMAL_TARGET_EXPORTS) \
30719 (cd $(TARGET_SUBDIR)/libobjc && \
30720 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30722 @endif target-libobjc
30724 .PHONY: install-target-libobjc maybe-install-target-libobjc
30725 maybe-install-target-libobjc:
30726 @if target-libobjc
30727 maybe-install-target-libobjc: install-target-libobjc
30729 install-target-libobjc: installdirs
30730 @: $(MAKE); $(unstage)
30731 @r=`${PWD_COMMAND}`; export r; \
30732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30733 $(NORMAL_TARGET_EXPORTS) \
30734 (cd $(TARGET_SUBDIR)/libobjc && \
30735 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30737 @endif target-libobjc
30739 # Other targets (info, dvi, etc.)
30741 .PHONY: maybe-info-target-libobjc info-target-libobjc
30742 maybe-info-target-libobjc:
30743 @if target-libobjc
30744 maybe-info-target-libobjc: info-target-libobjc
30746 info-target-libobjc: \
30747 configure-target-libobjc
30748 @: $(MAKE); $(unstage)
30749 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30750 r=`${PWD_COMMAND}`; export r; \
30751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30752 $(NORMAL_TARGET_EXPORTS) \
30753 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30754 for flag in $(EXTRA_TARGET_FLAGS); do \
30755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30756 done; \
30757 (cd $(TARGET_SUBDIR)/libobjc && \
30758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30760 "RANLIB=$${RANLIB}" \
30761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30762 info) \
30763 || exit 1
30765 @endif target-libobjc
30767 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30768 maybe-dvi-target-libobjc:
30769 @if target-libobjc
30770 maybe-dvi-target-libobjc: dvi-target-libobjc
30772 dvi-target-libobjc: \
30773 configure-target-libobjc
30774 @: $(MAKE); $(unstage)
30775 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30776 r=`${PWD_COMMAND}`; export r; \
30777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30778 $(NORMAL_TARGET_EXPORTS) \
30779 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30780 for flag in $(EXTRA_TARGET_FLAGS); do \
30781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30782 done; \
30783 (cd $(TARGET_SUBDIR)/libobjc && \
30784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30786 "RANLIB=$${RANLIB}" \
30787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30788 dvi) \
30789 || exit 1
30791 @endif target-libobjc
30793 .PHONY: maybe-html-target-libobjc html-target-libobjc
30794 maybe-html-target-libobjc:
30795 @if target-libobjc
30796 maybe-html-target-libobjc: html-target-libobjc
30798 html-target-libobjc: \
30799 configure-target-libobjc
30800 @: $(MAKE); $(unstage)
30801 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30802 r=`${PWD_COMMAND}`; export r; \
30803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30804 $(NORMAL_TARGET_EXPORTS) \
30805 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30806 for flag in $(EXTRA_TARGET_FLAGS); do \
30807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30808 done; \
30809 (cd $(TARGET_SUBDIR)/libobjc && \
30810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30812 "RANLIB=$${RANLIB}" \
30813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30814 html) \
30815 || exit 1
30817 @endif target-libobjc
30819 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30820 maybe-TAGS-target-libobjc:
30821 @if target-libobjc
30822 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30824 TAGS-target-libobjc: \
30825 configure-target-libobjc
30826 @: $(MAKE); $(unstage)
30827 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30828 r=`${PWD_COMMAND}`; export r; \
30829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30830 $(NORMAL_TARGET_EXPORTS) \
30831 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30832 for flag in $(EXTRA_TARGET_FLAGS); do \
30833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30834 done; \
30835 (cd $(TARGET_SUBDIR)/libobjc && \
30836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30838 "RANLIB=$${RANLIB}" \
30839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30840 TAGS) \
30841 || exit 1
30843 @endif target-libobjc
30845 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30846 maybe-install-info-target-libobjc:
30847 @if target-libobjc
30848 maybe-install-info-target-libobjc: install-info-target-libobjc
30850 install-info-target-libobjc: \
30851 configure-target-libobjc \
30852 info-target-libobjc
30853 @: $(MAKE); $(unstage)
30854 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30855 r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 $(NORMAL_TARGET_EXPORTS) \
30858 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30859 for flag in $(EXTRA_TARGET_FLAGS); do \
30860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30861 done; \
30862 (cd $(TARGET_SUBDIR)/libobjc && \
30863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30865 "RANLIB=$${RANLIB}" \
30866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30867 install-info) \
30868 || exit 1
30870 @endif target-libobjc
30872 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30873 maybe-installcheck-target-libobjc:
30874 @if target-libobjc
30875 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30877 installcheck-target-libobjc: \
30878 configure-target-libobjc
30879 @: $(MAKE); $(unstage)
30880 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30881 r=`${PWD_COMMAND}`; export r; \
30882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30883 $(NORMAL_TARGET_EXPORTS) \
30884 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30885 for flag in $(EXTRA_TARGET_FLAGS); do \
30886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30887 done; \
30888 (cd $(TARGET_SUBDIR)/libobjc && \
30889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30891 "RANLIB=$${RANLIB}" \
30892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30893 installcheck) \
30894 || exit 1
30896 @endif target-libobjc
30898 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30899 maybe-mostlyclean-target-libobjc:
30900 @if target-libobjc
30901 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30903 mostlyclean-target-libobjc:
30904 @: $(MAKE); $(unstage)
30905 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30906 r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(NORMAL_TARGET_EXPORTS) \
30909 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30910 for flag in $(EXTRA_TARGET_FLAGS); do \
30911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30912 done; \
30913 (cd $(TARGET_SUBDIR)/libobjc && \
30914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30916 "RANLIB=$${RANLIB}" \
30917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30918 mostlyclean) \
30919 || exit 1
30921 @endif target-libobjc
30923 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30924 maybe-clean-target-libobjc:
30925 @if target-libobjc
30926 maybe-clean-target-libobjc: clean-target-libobjc
30928 clean-target-libobjc:
30929 @: $(MAKE); $(unstage)
30930 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30931 r=`${PWD_COMMAND}`; export r; \
30932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30933 $(NORMAL_TARGET_EXPORTS) \
30934 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30935 for flag in $(EXTRA_TARGET_FLAGS); do \
30936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30937 done; \
30938 (cd $(TARGET_SUBDIR)/libobjc && \
30939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30941 "RANLIB=$${RANLIB}" \
30942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30943 clean) \
30944 || exit 1
30946 @endif target-libobjc
30948 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30949 maybe-distclean-target-libobjc:
30950 @if target-libobjc
30951 maybe-distclean-target-libobjc: distclean-target-libobjc
30953 distclean-target-libobjc:
30954 @: $(MAKE); $(unstage)
30955 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30956 r=`${PWD_COMMAND}`; export r; \
30957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30958 $(NORMAL_TARGET_EXPORTS) \
30959 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30960 for flag in $(EXTRA_TARGET_FLAGS); do \
30961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30962 done; \
30963 (cd $(TARGET_SUBDIR)/libobjc && \
30964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30966 "RANLIB=$${RANLIB}" \
30967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30968 distclean) \
30969 || exit 1
30971 @endif target-libobjc
30973 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30974 maybe-maintainer-clean-target-libobjc:
30975 @if target-libobjc
30976 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30978 maintainer-clean-target-libobjc:
30979 @: $(MAKE); $(unstage)
30980 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30981 r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30983 $(NORMAL_TARGET_EXPORTS) \
30984 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30985 for flag in $(EXTRA_TARGET_FLAGS); do \
30986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30987 done; \
30988 (cd $(TARGET_SUBDIR)/libobjc && \
30989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30991 "RANLIB=$${RANLIB}" \
30992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30993 maintainer-clean) \
30994 || exit 1
30996 @endif target-libobjc
31002 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31003 maybe-configure-target-libtermcap:
31004 @if target-libtermcap
31005 maybe-configure-target-libtermcap: configure-target-libtermcap
31006 configure-target-libtermcap:
31007 @: $(MAKE); $(unstage)
31008 @r=`${PWD_COMMAND}`; export r; \
31009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31010 echo "Checking multilib configuration for libtermcap..."; \
31011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31012 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31013 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31014 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31015 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31016 else \
31017 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31018 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31019 fi; \
31020 else \
31021 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31023 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31025 r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(NORMAL_TARGET_EXPORTS) \
31028 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31029 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31030 case $(srcdir) in \
31031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31032 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31034 esac; \
31035 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31036 libsrcdir="$$s/libtermcap"; \
31037 rm -f no-such-file || : ; \
31038 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31039 $(TARGET_CONFIGARGS) $${srcdiroption} \
31040 || exit 1
31041 @endif target-libtermcap
31047 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31048 maybe-all-target-libtermcap:
31049 @if target-libtermcap
31050 TARGET-target-libtermcap=all
31051 maybe-all-target-libtermcap: all-target-libtermcap
31052 all-target-libtermcap: configure-target-libtermcap
31053 @: $(MAKE); $(unstage)
31054 @r=`${PWD_COMMAND}`; export r; \
31055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31056 $(NORMAL_TARGET_EXPORTS) \
31057 (cd $(TARGET_SUBDIR)/libtermcap && \
31058 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31059 @endif target-libtermcap
31065 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31066 maybe-check-target-libtermcap:
31067 @if target-libtermcap
31068 maybe-check-target-libtermcap: check-target-libtermcap
31070 # Dummy target for uncheckable module.
31071 check-target-libtermcap:
31073 @endif target-libtermcap
31075 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31076 maybe-install-target-libtermcap:
31077 @if target-libtermcap
31078 maybe-install-target-libtermcap: install-target-libtermcap
31080 install-target-libtermcap: installdirs
31081 @: $(MAKE); $(unstage)
31082 @r=`${PWD_COMMAND}`; export r; \
31083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31084 $(NORMAL_TARGET_EXPORTS) \
31085 (cd $(TARGET_SUBDIR)/libtermcap && \
31086 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31088 @endif target-libtermcap
31090 # Other targets (info, dvi, etc.)
31092 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31093 maybe-info-target-libtermcap:
31094 @if target-libtermcap
31095 maybe-info-target-libtermcap: info-target-libtermcap
31097 info-target-libtermcap: \
31098 configure-target-libtermcap
31099 @: $(MAKE); $(unstage)
31100 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(NORMAL_TARGET_EXPORTS) \
31104 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31105 for flag in $(EXTRA_TARGET_FLAGS); do \
31106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31107 done; \
31108 (cd $(TARGET_SUBDIR)/libtermcap && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31113 info) \
31114 || exit 1
31116 @endif target-libtermcap
31118 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31119 maybe-dvi-target-libtermcap:
31120 @if target-libtermcap
31121 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31123 dvi-target-libtermcap: \
31124 configure-target-libtermcap
31125 @: $(MAKE); $(unstage)
31126 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31127 r=`${PWD_COMMAND}`; export r; \
31128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31129 $(NORMAL_TARGET_EXPORTS) \
31130 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31131 for flag in $(EXTRA_TARGET_FLAGS); do \
31132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31133 done; \
31134 (cd $(TARGET_SUBDIR)/libtermcap && \
31135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31137 "RANLIB=$${RANLIB}" \
31138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31139 dvi) \
31140 || exit 1
31142 @endif target-libtermcap
31144 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31145 maybe-html-target-libtermcap:
31146 @if target-libtermcap
31147 maybe-html-target-libtermcap: html-target-libtermcap
31149 html-target-libtermcap: \
31150 configure-target-libtermcap
31151 @: $(MAKE); $(unstage)
31152 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31153 r=`${PWD_COMMAND}`; export r; \
31154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31155 $(NORMAL_TARGET_EXPORTS) \
31156 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31157 for flag in $(EXTRA_TARGET_FLAGS); do \
31158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31159 done; \
31160 (cd $(TARGET_SUBDIR)/libtermcap && \
31161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31163 "RANLIB=$${RANLIB}" \
31164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31165 html) \
31166 || exit 1
31168 @endif target-libtermcap
31170 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31171 maybe-TAGS-target-libtermcap:
31172 @if target-libtermcap
31173 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31175 TAGS-target-libtermcap: \
31176 configure-target-libtermcap
31177 @: $(MAKE); $(unstage)
31178 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31179 r=`${PWD_COMMAND}`; export r; \
31180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31181 $(NORMAL_TARGET_EXPORTS) \
31182 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31183 for flag in $(EXTRA_TARGET_FLAGS); do \
31184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31185 done; \
31186 (cd $(TARGET_SUBDIR)/libtermcap && \
31187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31189 "RANLIB=$${RANLIB}" \
31190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31191 TAGS) \
31192 || exit 1
31194 @endif target-libtermcap
31196 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31197 maybe-install-info-target-libtermcap:
31198 @if target-libtermcap
31199 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31201 install-info-target-libtermcap: \
31202 configure-target-libtermcap \
31203 info-target-libtermcap
31204 @: $(MAKE); $(unstage)
31205 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31206 r=`${PWD_COMMAND}`; export r; \
31207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31208 $(NORMAL_TARGET_EXPORTS) \
31209 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31210 for flag in $(EXTRA_TARGET_FLAGS); do \
31211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31212 done; \
31213 (cd $(TARGET_SUBDIR)/libtermcap && \
31214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31216 "RANLIB=$${RANLIB}" \
31217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31218 install-info) \
31219 || exit 1
31221 @endif target-libtermcap
31223 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31224 maybe-installcheck-target-libtermcap:
31225 @if target-libtermcap
31226 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31228 installcheck-target-libtermcap: \
31229 configure-target-libtermcap
31230 @: $(MAKE); $(unstage)
31231 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31232 r=`${PWD_COMMAND}`; export r; \
31233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31234 $(NORMAL_TARGET_EXPORTS) \
31235 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31236 for flag in $(EXTRA_TARGET_FLAGS); do \
31237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31238 done; \
31239 (cd $(TARGET_SUBDIR)/libtermcap && \
31240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31242 "RANLIB=$${RANLIB}" \
31243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31244 installcheck) \
31245 || exit 1
31247 @endif target-libtermcap
31249 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31250 maybe-mostlyclean-target-libtermcap:
31251 @if target-libtermcap
31252 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31254 # libtermcap doesn't support mostlyclean.
31255 mostlyclean-target-libtermcap:
31257 @endif target-libtermcap
31259 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31260 maybe-clean-target-libtermcap:
31261 @if target-libtermcap
31262 maybe-clean-target-libtermcap: clean-target-libtermcap
31264 # libtermcap doesn't support clean.
31265 clean-target-libtermcap:
31267 @endif target-libtermcap
31269 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31270 maybe-distclean-target-libtermcap:
31271 @if target-libtermcap
31272 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31274 # libtermcap doesn't support distclean.
31275 distclean-target-libtermcap:
31277 @endif target-libtermcap
31279 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31280 maybe-maintainer-clean-target-libtermcap:
31281 @if target-libtermcap
31282 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31284 # libtermcap doesn't support maintainer-clean.
31285 maintainer-clean-target-libtermcap:
31287 @endif target-libtermcap
31293 .PHONY: configure-target-winsup maybe-configure-target-winsup
31294 maybe-configure-target-winsup:
31295 @if target-winsup
31296 maybe-configure-target-winsup: configure-target-winsup
31297 configure-target-winsup:
31298 @: $(MAKE); $(unstage)
31299 @r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 echo "Checking multilib configuration for winsup..."; \
31302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31304 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31305 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31306 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31307 else \
31308 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31309 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31310 fi; \
31311 else \
31312 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31314 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31316 r=`${PWD_COMMAND}`; export r; \
31317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31318 $(NORMAL_TARGET_EXPORTS) \
31319 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31320 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31321 case $(srcdir) in \
31322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31323 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31325 esac; \
31326 srcdiroption="--srcdir=$${topdir}/winsup"; \
31327 libsrcdir="$$s/winsup"; \
31328 rm -f no-such-file || : ; \
31329 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31330 $(TARGET_CONFIGARGS) $${srcdiroption} \
31331 || exit 1
31332 @endif target-winsup
31338 .PHONY: all-target-winsup maybe-all-target-winsup
31339 maybe-all-target-winsup:
31340 @if target-winsup
31341 TARGET-target-winsup=all
31342 maybe-all-target-winsup: all-target-winsup
31343 all-target-winsup: configure-target-winsup
31344 @: $(MAKE); $(unstage)
31345 @r=`${PWD_COMMAND}`; export r; \
31346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31347 $(NORMAL_TARGET_EXPORTS) \
31348 (cd $(TARGET_SUBDIR)/winsup && \
31349 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31350 @endif target-winsup
31356 .PHONY: check-target-winsup maybe-check-target-winsup
31357 maybe-check-target-winsup:
31358 @if target-winsup
31359 maybe-check-target-winsup: check-target-winsup
31361 check-target-winsup:
31362 @: $(MAKE); $(unstage)
31363 @r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(NORMAL_TARGET_EXPORTS) \
31366 (cd $(TARGET_SUBDIR)/winsup && \
31367 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31369 @endif target-winsup
31371 .PHONY: install-target-winsup maybe-install-target-winsup
31372 maybe-install-target-winsup:
31373 @if target-winsup
31374 maybe-install-target-winsup: install-target-winsup
31376 install-target-winsup: installdirs
31377 @: $(MAKE); $(unstage)
31378 @r=`${PWD_COMMAND}`; export r; \
31379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31380 $(NORMAL_TARGET_EXPORTS) \
31381 (cd $(TARGET_SUBDIR)/winsup && \
31382 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31384 @endif target-winsup
31386 # Other targets (info, dvi, etc.)
31388 .PHONY: maybe-info-target-winsup info-target-winsup
31389 maybe-info-target-winsup:
31390 @if target-winsup
31391 maybe-info-target-winsup: info-target-winsup
31393 info-target-winsup: \
31394 configure-target-winsup
31395 @: $(MAKE); $(unstage)
31396 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31397 r=`${PWD_COMMAND}`; export r; \
31398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31399 $(NORMAL_TARGET_EXPORTS) \
31400 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31401 for flag in $(EXTRA_TARGET_FLAGS); do \
31402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31403 done; \
31404 (cd $(TARGET_SUBDIR)/winsup && \
31405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31407 "RANLIB=$${RANLIB}" \
31408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31409 info) \
31410 || exit 1
31412 @endif target-winsup
31414 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31415 maybe-dvi-target-winsup:
31416 @if target-winsup
31417 maybe-dvi-target-winsup: dvi-target-winsup
31419 dvi-target-winsup: \
31420 configure-target-winsup
31421 @: $(MAKE); $(unstage)
31422 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31423 r=`${PWD_COMMAND}`; export r; \
31424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31425 $(NORMAL_TARGET_EXPORTS) \
31426 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31427 for flag in $(EXTRA_TARGET_FLAGS); do \
31428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31429 done; \
31430 (cd $(TARGET_SUBDIR)/winsup && \
31431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31433 "RANLIB=$${RANLIB}" \
31434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31435 dvi) \
31436 || exit 1
31438 @endif target-winsup
31440 .PHONY: maybe-html-target-winsup html-target-winsup
31441 maybe-html-target-winsup:
31442 @if target-winsup
31443 maybe-html-target-winsup: html-target-winsup
31445 html-target-winsup: \
31446 configure-target-winsup
31447 @: $(MAKE); $(unstage)
31448 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31449 r=`${PWD_COMMAND}`; export r; \
31450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31451 $(NORMAL_TARGET_EXPORTS) \
31452 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31453 for flag in $(EXTRA_TARGET_FLAGS); do \
31454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31455 done; \
31456 (cd $(TARGET_SUBDIR)/winsup && \
31457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31459 "RANLIB=$${RANLIB}" \
31460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31461 html) \
31462 || exit 1
31464 @endif target-winsup
31466 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31467 maybe-TAGS-target-winsup:
31468 @if target-winsup
31469 maybe-TAGS-target-winsup: TAGS-target-winsup
31471 TAGS-target-winsup: \
31472 configure-target-winsup
31473 @: $(MAKE); $(unstage)
31474 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31475 r=`${PWD_COMMAND}`; export r; \
31476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31477 $(NORMAL_TARGET_EXPORTS) \
31478 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31479 for flag in $(EXTRA_TARGET_FLAGS); do \
31480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31481 done; \
31482 (cd $(TARGET_SUBDIR)/winsup && \
31483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31485 "RANLIB=$${RANLIB}" \
31486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31487 TAGS) \
31488 || exit 1
31490 @endif target-winsup
31492 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31493 maybe-install-info-target-winsup:
31494 @if target-winsup
31495 maybe-install-info-target-winsup: install-info-target-winsup
31497 install-info-target-winsup: \
31498 configure-target-winsup \
31499 info-target-winsup
31500 @: $(MAKE); $(unstage)
31501 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(NORMAL_TARGET_EXPORTS) \
31505 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31506 for flag in $(EXTRA_TARGET_FLAGS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 (cd $(TARGET_SUBDIR)/winsup && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31514 install-info) \
31515 || exit 1
31517 @endif target-winsup
31519 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31520 maybe-installcheck-target-winsup:
31521 @if target-winsup
31522 maybe-installcheck-target-winsup: installcheck-target-winsup
31524 installcheck-target-winsup: \
31525 configure-target-winsup
31526 @: $(MAKE); $(unstage)
31527 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(NORMAL_TARGET_EXPORTS) \
31531 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31532 for flag in $(EXTRA_TARGET_FLAGS); do \
31533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31534 done; \
31535 (cd $(TARGET_SUBDIR)/winsup && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31540 installcheck) \
31541 || exit 1
31543 @endif target-winsup
31545 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31546 maybe-mostlyclean-target-winsup:
31547 @if target-winsup
31548 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31550 mostlyclean-target-winsup:
31551 @: $(MAKE); $(unstage)
31552 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(NORMAL_TARGET_EXPORTS) \
31556 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31557 for flag in $(EXTRA_TARGET_FLAGS); do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 (cd $(TARGET_SUBDIR)/winsup && \
31561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31563 "RANLIB=$${RANLIB}" \
31564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31565 mostlyclean) \
31566 || exit 1
31568 @endif target-winsup
31570 .PHONY: maybe-clean-target-winsup clean-target-winsup
31571 maybe-clean-target-winsup:
31572 @if target-winsup
31573 maybe-clean-target-winsup: clean-target-winsup
31575 clean-target-winsup:
31576 @: $(MAKE); $(unstage)
31577 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31578 r=`${PWD_COMMAND}`; export r; \
31579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31580 $(NORMAL_TARGET_EXPORTS) \
31581 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31582 for flag in $(EXTRA_TARGET_FLAGS); do \
31583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31584 done; \
31585 (cd $(TARGET_SUBDIR)/winsup && \
31586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31588 "RANLIB=$${RANLIB}" \
31589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31590 clean) \
31591 || exit 1
31593 @endif target-winsup
31595 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31596 maybe-distclean-target-winsup:
31597 @if target-winsup
31598 maybe-distclean-target-winsup: distclean-target-winsup
31600 distclean-target-winsup:
31601 @: $(MAKE); $(unstage)
31602 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(NORMAL_TARGET_EXPORTS) \
31606 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31607 for flag in $(EXTRA_TARGET_FLAGS); do \
31608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31609 done; \
31610 (cd $(TARGET_SUBDIR)/winsup && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31613 "RANLIB=$${RANLIB}" \
31614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31615 distclean) \
31616 || exit 1
31618 @endif target-winsup
31620 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31621 maybe-maintainer-clean-target-winsup:
31622 @if target-winsup
31623 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31625 maintainer-clean-target-winsup:
31626 @: $(MAKE); $(unstage)
31627 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31628 r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(NORMAL_TARGET_EXPORTS) \
31631 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31632 for flag in $(EXTRA_TARGET_FLAGS); do \
31633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31634 done; \
31635 (cd $(TARGET_SUBDIR)/winsup && \
31636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31638 "RANLIB=$${RANLIB}" \
31639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31640 maintainer-clean) \
31641 || exit 1
31643 @endif target-winsup
31649 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31650 maybe-configure-target-libgloss:
31651 @if target-libgloss
31652 maybe-configure-target-libgloss: configure-target-libgloss
31653 configure-target-libgloss:
31654 @: $(MAKE); $(unstage)
31655 @r=`${PWD_COMMAND}`; export r; \
31656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31657 echo "Checking multilib configuration for libgloss..."; \
31658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
31660 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31661 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31662 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
31663 else \
31664 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
31665 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31666 fi; \
31667 else \
31668 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31670 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31672 r=`${PWD_COMMAND}`; export r; \
31673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31674 $(NORMAL_TARGET_EXPORTS) \
31675 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31676 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31677 case $(srcdir) in \
31678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31679 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31681 esac; \
31682 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31683 libsrcdir="$$s/libgloss"; \
31684 rm -f no-such-file || : ; \
31685 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31686 $(TARGET_CONFIGARGS) $${srcdiroption} \
31687 || exit 1
31688 @endif target-libgloss
31694 .PHONY: all-target-libgloss maybe-all-target-libgloss
31695 maybe-all-target-libgloss:
31696 @if target-libgloss
31697 TARGET-target-libgloss=all
31698 maybe-all-target-libgloss: all-target-libgloss
31699 all-target-libgloss: configure-target-libgloss
31700 @: $(MAKE); $(unstage)
31701 @r=`${PWD_COMMAND}`; export r; \
31702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31703 $(NORMAL_TARGET_EXPORTS) \
31704 (cd $(TARGET_SUBDIR)/libgloss && \
31705 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31706 @endif target-libgloss
31712 .PHONY: check-target-libgloss maybe-check-target-libgloss
31713 maybe-check-target-libgloss:
31714 @if target-libgloss
31715 maybe-check-target-libgloss: check-target-libgloss
31717 # Dummy target for uncheckable module.
31718 check-target-libgloss:
31720 @endif target-libgloss
31722 .PHONY: install-target-libgloss maybe-install-target-libgloss
31723 maybe-install-target-libgloss:
31724 @if target-libgloss
31725 maybe-install-target-libgloss: install-target-libgloss
31727 install-target-libgloss: installdirs
31728 @: $(MAKE); $(unstage)
31729 @r=`${PWD_COMMAND}`; export r; \
31730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31731 $(NORMAL_TARGET_EXPORTS) \
31732 (cd $(TARGET_SUBDIR)/libgloss && \
31733 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31735 @endif target-libgloss
31737 # Other targets (info, dvi, etc.)
31739 .PHONY: maybe-info-target-libgloss info-target-libgloss
31740 maybe-info-target-libgloss:
31741 @if target-libgloss
31742 maybe-info-target-libgloss: info-target-libgloss
31744 info-target-libgloss: \
31745 configure-target-libgloss
31746 @: $(MAKE); $(unstage)
31747 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31748 r=`${PWD_COMMAND}`; export r; \
31749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31750 $(NORMAL_TARGET_EXPORTS) \
31751 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31752 for flag in $(EXTRA_TARGET_FLAGS); do \
31753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31754 done; \
31755 (cd $(TARGET_SUBDIR)/libgloss && \
31756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31758 "RANLIB=$${RANLIB}" \
31759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31760 info) \
31761 || exit 1
31763 @endif target-libgloss
31765 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31766 maybe-dvi-target-libgloss:
31767 @if target-libgloss
31768 maybe-dvi-target-libgloss: dvi-target-libgloss
31770 dvi-target-libgloss: \
31771 configure-target-libgloss
31772 @: $(MAKE); $(unstage)
31773 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31774 r=`${PWD_COMMAND}`; export r; \
31775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31776 $(NORMAL_TARGET_EXPORTS) \
31777 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31778 for flag in $(EXTRA_TARGET_FLAGS); do \
31779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31780 done; \
31781 (cd $(TARGET_SUBDIR)/libgloss && \
31782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31784 "RANLIB=$${RANLIB}" \
31785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31786 dvi) \
31787 || exit 1
31789 @endif target-libgloss
31791 .PHONY: maybe-html-target-libgloss html-target-libgloss
31792 maybe-html-target-libgloss:
31793 @if target-libgloss
31794 maybe-html-target-libgloss: html-target-libgloss
31796 html-target-libgloss: \
31797 configure-target-libgloss
31798 @: $(MAKE); $(unstage)
31799 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31800 r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(NORMAL_TARGET_EXPORTS) \
31803 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31804 for flag in $(EXTRA_TARGET_FLAGS); do \
31805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31806 done; \
31807 (cd $(TARGET_SUBDIR)/libgloss && \
31808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31810 "RANLIB=$${RANLIB}" \
31811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31812 html) \
31813 || exit 1
31815 @endif target-libgloss
31817 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31818 maybe-TAGS-target-libgloss:
31819 @if target-libgloss
31820 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31822 TAGS-target-libgloss: \
31823 configure-target-libgloss
31824 @: $(MAKE); $(unstage)
31825 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31826 r=`${PWD_COMMAND}`; export r; \
31827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31828 $(NORMAL_TARGET_EXPORTS) \
31829 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31830 for flag in $(EXTRA_TARGET_FLAGS); do \
31831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31832 done; \
31833 (cd $(TARGET_SUBDIR)/libgloss && \
31834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31836 "RANLIB=$${RANLIB}" \
31837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31838 TAGS) \
31839 || exit 1
31841 @endif target-libgloss
31843 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31844 maybe-install-info-target-libgloss:
31845 @if target-libgloss
31846 maybe-install-info-target-libgloss: install-info-target-libgloss
31848 install-info-target-libgloss: \
31849 configure-target-libgloss \
31850 info-target-libgloss
31851 @: $(MAKE); $(unstage)
31852 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31853 r=`${PWD_COMMAND}`; export r; \
31854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31855 $(NORMAL_TARGET_EXPORTS) \
31856 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31857 for flag in $(EXTRA_TARGET_FLAGS); do \
31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31859 done; \
31860 (cd $(TARGET_SUBDIR)/libgloss && \
31861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31863 "RANLIB=$${RANLIB}" \
31864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31865 install-info) \
31866 || exit 1
31868 @endif target-libgloss
31870 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31871 maybe-installcheck-target-libgloss:
31872 @if target-libgloss
31873 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31875 installcheck-target-libgloss: \
31876 configure-target-libgloss
31877 @: $(MAKE); $(unstage)
31878 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31879 r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 $(NORMAL_TARGET_EXPORTS) \
31882 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31883 for flag in $(EXTRA_TARGET_FLAGS); do \
31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31885 done; \
31886 (cd $(TARGET_SUBDIR)/libgloss && \
31887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31889 "RANLIB=$${RANLIB}" \
31890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31891 installcheck) \
31892 || exit 1
31894 @endif target-libgloss
31896 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31897 maybe-mostlyclean-target-libgloss:
31898 @if target-libgloss
31899 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31901 mostlyclean-target-libgloss:
31902 @: $(MAKE); $(unstage)
31903 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31904 r=`${PWD_COMMAND}`; export r; \
31905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31906 $(NORMAL_TARGET_EXPORTS) \
31907 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31908 for flag in $(EXTRA_TARGET_FLAGS); do \
31909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31910 done; \
31911 (cd $(TARGET_SUBDIR)/libgloss && \
31912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31914 "RANLIB=$${RANLIB}" \
31915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31916 mostlyclean) \
31917 || exit 1
31919 @endif target-libgloss
31921 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31922 maybe-clean-target-libgloss:
31923 @if target-libgloss
31924 maybe-clean-target-libgloss: clean-target-libgloss
31926 clean-target-libgloss:
31927 @: $(MAKE); $(unstage)
31928 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31929 r=`${PWD_COMMAND}`; export r; \
31930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31931 $(NORMAL_TARGET_EXPORTS) \
31932 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31933 for flag in $(EXTRA_TARGET_FLAGS); do \
31934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31935 done; \
31936 (cd $(TARGET_SUBDIR)/libgloss && \
31937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31939 "RANLIB=$${RANLIB}" \
31940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31941 clean) \
31942 || exit 1
31944 @endif target-libgloss
31946 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31947 maybe-distclean-target-libgloss:
31948 @if target-libgloss
31949 maybe-distclean-target-libgloss: distclean-target-libgloss
31951 distclean-target-libgloss:
31952 @: $(MAKE); $(unstage)
31953 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31954 r=`${PWD_COMMAND}`; export r; \
31955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31956 $(NORMAL_TARGET_EXPORTS) \
31957 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31958 for flag in $(EXTRA_TARGET_FLAGS); do \
31959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31960 done; \
31961 (cd $(TARGET_SUBDIR)/libgloss && \
31962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31964 "RANLIB=$${RANLIB}" \
31965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31966 distclean) \
31967 || exit 1
31969 @endif target-libgloss
31971 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31972 maybe-maintainer-clean-target-libgloss:
31973 @if target-libgloss
31974 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31976 maintainer-clean-target-libgloss:
31977 @: $(MAKE); $(unstage)
31978 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31979 r=`${PWD_COMMAND}`; export r; \
31980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31981 $(NORMAL_TARGET_EXPORTS) \
31982 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31983 for flag in $(EXTRA_TARGET_FLAGS); do \
31984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31985 done; \
31986 (cd $(TARGET_SUBDIR)/libgloss && \
31987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31989 "RANLIB=$${RANLIB}" \
31990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31991 maintainer-clean) \
31992 || exit 1
31994 @endif target-libgloss
32000 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32001 maybe-configure-target-libiberty:
32002 @if target-libiberty
32003 maybe-configure-target-libiberty: configure-target-libiberty
32004 configure-target-libiberty:
32005 @: $(MAKE); $(unstage)
32006 @r=`${PWD_COMMAND}`; export r; \
32007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32008 echo "Checking multilib configuration for libiberty..."; \
32009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32011 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32012 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32013 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32014 else \
32015 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32016 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32017 fi; \
32018 else \
32019 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32021 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32023 r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 $(NORMAL_TARGET_EXPORTS) \
32026 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32027 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32028 case $(srcdir) in \
32029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32030 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32032 esac; \
32033 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32034 libsrcdir="$$s/libiberty"; \
32035 rm -f no-such-file || : ; \
32036 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32037 $(TARGET_CONFIGARGS) $${srcdiroption} \
32038 || exit 1
32039 @endif target-libiberty
32045 .PHONY: all-target-libiberty maybe-all-target-libiberty
32046 maybe-all-target-libiberty:
32047 @if target-libiberty
32048 TARGET-target-libiberty=all
32049 maybe-all-target-libiberty: all-target-libiberty
32050 all-target-libiberty: configure-target-libiberty
32051 @: $(MAKE); $(unstage)
32052 @r=`${PWD_COMMAND}`; export r; \
32053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32054 $(NORMAL_TARGET_EXPORTS) \
32055 (cd $(TARGET_SUBDIR)/libiberty && \
32056 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32057 @endif target-libiberty
32063 .PHONY: check-target-libiberty maybe-check-target-libiberty
32064 maybe-check-target-libiberty:
32065 @if target-libiberty
32066 maybe-check-target-libiberty: check-target-libiberty
32068 check-target-libiberty:
32069 @: $(MAKE); $(unstage)
32070 @r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 $(NORMAL_TARGET_EXPORTS) \
32073 (cd $(TARGET_SUBDIR)/libiberty && \
32074 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32076 @endif target-libiberty
32078 .PHONY: install-target-libiberty maybe-install-target-libiberty
32079 maybe-install-target-libiberty:
32080 @if target-libiberty
32081 maybe-install-target-libiberty: install-target-libiberty
32083 install-target-libiberty: installdirs
32084 @: $(MAKE); $(unstage)
32085 @r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(NORMAL_TARGET_EXPORTS) \
32088 (cd $(TARGET_SUBDIR)/libiberty && \
32089 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32091 @endif target-libiberty
32093 # Other targets (info, dvi, etc.)
32095 .PHONY: maybe-info-target-libiberty info-target-libiberty
32096 maybe-info-target-libiberty:
32097 @if target-libiberty
32098 maybe-info-target-libiberty: info-target-libiberty
32100 info-target-libiberty: \
32101 configure-target-libiberty
32102 @: $(MAKE); $(unstage)
32103 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32104 r=`${PWD_COMMAND}`; export r; \
32105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32106 $(NORMAL_TARGET_EXPORTS) \
32107 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32108 for flag in $(EXTRA_TARGET_FLAGS); do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 (cd $(TARGET_SUBDIR)/libiberty && \
32112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32114 "RANLIB=$${RANLIB}" \
32115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32116 info) \
32117 || exit 1
32119 @endif target-libiberty
32121 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32122 maybe-dvi-target-libiberty:
32123 @if target-libiberty
32124 maybe-dvi-target-libiberty: dvi-target-libiberty
32126 dvi-target-libiberty: \
32127 configure-target-libiberty
32128 @: $(MAKE); $(unstage)
32129 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(NORMAL_TARGET_EXPORTS) \
32133 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32134 for flag in $(EXTRA_TARGET_FLAGS); do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 (cd $(TARGET_SUBDIR)/libiberty && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32142 dvi) \
32143 || exit 1
32145 @endif target-libiberty
32147 .PHONY: maybe-html-target-libiberty html-target-libiberty
32148 maybe-html-target-libiberty:
32149 @if target-libiberty
32150 maybe-html-target-libiberty: html-target-libiberty
32152 html-target-libiberty: \
32153 configure-target-libiberty
32154 @: $(MAKE); $(unstage)
32155 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32156 r=`${PWD_COMMAND}`; export r; \
32157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32158 $(NORMAL_TARGET_EXPORTS) \
32159 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32160 for flag in $(EXTRA_TARGET_FLAGS); do \
32161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32162 done; \
32163 (cd $(TARGET_SUBDIR)/libiberty && \
32164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32166 "RANLIB=$${RANLIB}" \
32167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32168 html) \
32169 || exit 1
32171 @endif target-libiberty
32173 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32174 maybe-TAGS-target-libiberty:
32175 @if target-libiberty
32176 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32178 TAGS-target-libiberty: \
32179 configure-target-libiberty
32180 @: $(MAKE); $(unstage)
32181 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32182 r=`${PWD_COMMAND}`; export r; \
32183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32184 $(NORMAL_TARGET_EXPORTS) \
32185 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32186 for flag in $(EXTRA_TARGET_FLAGS); do \
32187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32188 done; \
32189 (cd $(TARGET_SUBDIR)/libiberty && \
32190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32192 "RANLIB=$${RANLIB}" \
32193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32194 TAGS) \
32195 || exit 1
32197 @endif target-libiberty
32199 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32200 maybe-install-info-target-libiberty:
32201 @if target-libiberty
32202 maybe-install-info-target-libiberty: install-info-target-libiberty
32204 install-info-target-libiberty: \
32205 configure-target-libiberty \
32206 info-target-libiberty
32207 @: $(MAKE); $(unstage)
32208 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32209 r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 $(NORMAL_TARGET_EXPORTS) \
32212 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32213 for flag in $(EXTRA_TARGET_FLAGS); do \
32214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32215 done; \
32216 (cd $(TARGET_SUBDIR)/libiberty && \
32217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32219 "RANLIB=$${RANLIB}" \
32220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32221 install-info) \
32222 || exit 1
32224 @endif target-libiberty
32226 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32227 maybe-installcheck-target-libiberty:
32228 @if target-libiberty
32229 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32231 installcheck-target-libiberty: \
32232 configure-target-libiberty
32233 @: $(MAKE); $(unstage)
32234 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32235 r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 $(NORMAL_TARGET_EXPORTS) \
32238 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32239 for flag in $(EXTRA_TARGET_FLAGS); do \
32240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32241 done; \
32242 (cd $(TARGET_SUBDIR)/libiberty && \
32243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32245 "RANLIB=$${RANLIB}" \
32246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32247 installcheck) \
32248 || exit 1
32250 @endif target-libiberty
32252 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32253 maybe-mostlyclean-target-libiberty:
32254 @if target-libiberty
32255 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32257 mostlyclean-target-libiberty:
32258 @: $(MAKE); $(unstage)
32259 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32260 r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262 $(NORMAL_TARGET_EXPORTS) \
32263 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32264 for flag in $(EXTRA_TARGET_FLAGS); do \
32265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32266 done; \
32267 (cd $(TARGET_SUBDIR)/libiberty && \
32268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32270 "RANLIB=$${RANLIB}" \
32271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32272 mostlyclean) \
32273 || exit 1
32275 @endif target-libiberty
32277 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32278 maybe-clean-target-libiberty:
32279 @if target-libiberty
32280 maybe-clean-target-libiberty: clean-target-libiberty
32282 clean-target-libiberty:
32283 @: $(MAKE); $(unstage)
32284 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32285 r=`${PWD_COMMAND}`; export r; \
32286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32287 $(NORMAL_TARGET_EXPORTS) \
32288 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32289 for flag in $(EXTRA_TARGET_FLAGS); do \
32290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32291 done; \
32292 (cd $(TARGET_SUBDIR)/libiberty && \
32293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32295 "RANLIB=$${RANLIB}" \
32296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32297 clean) \
32298 || exit 1
32300 @endif target-libiberty
32302 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32303 maybe-distclean-target-libiberty:
32304 @if target-libiberty
32305 maybe-distclean-target-libiberty: distclean-target-libiberty
32307 distclean-target-libiberty:
32308 @: $(MAKE); $(unstage)
32309 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32310 r=`${PWD_COMMAND}`; export r; \
32311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32312 $(NORMAL_TARGET_EXPORTS) \
32313 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32314 for flag in $(EXTRA_TARGET_FLAGS); do \
32315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32316 done; \
32317 (cd $(TARGET_SUBDIR)/libiberty && \
32318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32320 "RANLIB=$${RANLIB}" \
32321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32322 distclean) \
32323 || exit 1
32325 @endif target-libiberty
32327 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32328 maybe-maintainer-clean-target-libiberty:
32329 @if target-libiberty
32330 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32332 maintainer-clean-target-libiberty:
32333 @: $(MAKE); $(unstage)
32334 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32335 r=`${PWD_COMMAND}`; export r; \
32336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32337 $(NORMAL_TARGET_EXPORTS) \
32338 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32339 for flag in $(EXTRA_TARGET_FLAGS); do \
32340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32341 done; \
32342 (cd $(TARGET_SUBDIR)/libiberty && \
32343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32345 "RANLIB=$${RANLIB}" \
32346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32347 maintainer-clean) \
32348 || exit 1
32350 @endif target-libiberty
32356 .PHONY: configure-target-gperf maybe-configure-target-gperf
32357 maybe-configure-target-gperf:
32358 @if target-gperf
32359 maybe-configure-target-gperf: configure-target-gperf
32360 configure-target-gperf:
32361 @: $(MAKE); $(unstage)
32362 @r=`${PWD_COMMAND}`; export r; \
32363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32364 echo "Checking multilib configuration for gperf..."; \
32365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32366 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32367 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32368 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32369 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32370 else \
32371 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32372 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32373 fi; \
32374 else \
32375 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32377 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32379 r=`${PWD_COMMAND}`; export r; \
32380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32381 $(NORMAL_TARGET_EXPORTS) \
32382 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32383 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32384 case $(srcdir) in \
32385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32386 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32388 esac; \
32389 srcdiroption="--srcdir=$${topdir}/gperf"; \
32390 libsrcdir="$$s/gperf"; \
32391 rm -f no-such-file || : ; \
32392 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32393 $(TARGET_CONFIGARGS) $${srcdiroption} \
32394 || exit 1
32395 @endif target-gperf
32401 .PHONY: all-target-gperf maybe-all-target-gperf
32402 maybe-all-target-gperf:
32403 @if target-gperf
32404 TARGET-target-gperf=all
32405 maybe-all-target-gperf: all-target-gperf
32406 all-target-gperf: configure-target-gperf
32407 @: $(MAKE); $(unstage)
32408 @r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(NORMAL_TARGET_EXPORTS) \
32411 (cd $(TARGET_SUBDIR)/gperf && \
32412 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32413 @endif target-gperf
32419 .PHONY: check-target-gperf maybe-check-target-gperf
32420 maybe-check-target-gperf:
32421 @if target-gperf
32422 maybe-check-target-gperf: check-target-gperf
32424 check-target-gperf:
32425 @: $(MAKE); $(unstage)
32426 @r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(NORMAL_TARGET_EXPORTS) \
32429 (cd $(TARGET_SUBDIR)/gperf && \
32430 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32432 @endif target-gperf
32434 .PHONY: install-target-gperf maybe-install-target-gperf
32435 maybe-install-target-gperf:
32436 @if target-gperf
32437 maybe-install-target-gperf: install-target-gperf
32439 install-target-gperf: installdirs
32440 @: $(MAKE); $(unstage)
32441 @r=`${PWD_COMMAND}`; export r; \
32442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32443 $(NORMAL_TARGET_EXPORTS) \
32444 (cd $(TARGET_SUBDIR)/gperf && \
32445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32447 @endif target-gperf
32449 # Other targets (info, dvi, etc.)
32451 .PHONY: maybe-info-target-gperf info-target-gperf
32452 maybe-info-target-gperf:
32453 @if target-gperf
32454 maybe-info-target-gperf: info-target-gperf
32456 info-target-gperf: \
32457 configure-target-gperf
32458 @: $(MAKE); $(unstage)
32459 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32460 r=`${PWD_COMMAND}`; export r; \
32461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32462 $(NORMAL_TARGET_EXPORTS) \
32463 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32464 for flag in $(EXTRA_TARGET_FLAGS); do \
32465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32466 done; \
32467 (cd $(TARGET_SUBDIR)/gperf && \
32468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32470 "RANLIB=$${RANLIB}" \
32471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32472 info) \
32473 || exit 1
32475 @endif target-gperf
32477 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32478 maybe-dvi-target-gperf:
32479 @if target-gperf
32480 maybe-dvi-target-gperf: dvi-target-gperf
32482 dvi-target-gperf: \
32483 configure-target-gperf
32484 @: $(MAKE); $(unstage)
32485 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32486 r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 $(NORMAL_TARGET_EXPORTS) \
32489 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32490 for flag in $(EXTRA_TARGET_FLAGS); do \
32491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32492 done; \
32493 (cd $(TARGET_SUBDIR)/gperf && \
32494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32496 "RANLIB=$${RANLIB}" \
32497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32498 dvi) \
32499 || exit 1
32501 @endif target-gperf
32503 .PHONY: maybe-html-target-gperf html-target-gperf
32504 maybe-html-target-gperf:
32505 @if target-gperf
32506 maybe-html-target-gperf: html-target-gperf
32508 html-target-gperf: \
32509 configure-target-gperf
32510 @: $(MAKE); $(unstage)
32511 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32512 r=`${PWD_COMMAND}`; export r; \
32513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32514 $(NORMAL_TARGET_EXPORTS) \
32515 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32516 for flag in $(EXTRA_TARGET_FLAGS); do \
32517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32518 done; \
32519 (cd $(TARGET_SUBDIR)/gperf && \
32520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32522 "RANLIB=$${RANLIB}" \
32523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32524 html) \
32525 || exit 1
32527 @endif target-gperf
32529 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32530 maybe-TAGS-target-gperf:
32531 @if target-gperf
32532 maybe-TAGS-target-gperf: TAGS-target-gperf
32534 TAGS-target-gperf: \
32535 configure-target-gperf
32536 @: $(MAKE); $(unstage)
32537 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32538 r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(NORMAL_TARGET_EXPORTS) \
32541 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32542 for flag in $(EXTRA_TARGET_FLAGS); do \
32543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32544 done; \
32545 (cd $(TARGET_SUBDIR)/gperf && \
32546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32548 "RANLIB=$${RANLIB}" \
32549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32550 TAGS) \
32551 || exit 1
32553 @endif target-gperf
32555 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32556 maybe-install-info-target-gperf:
32557 @if target-gperf
32558 maybe-install-info-target-gperf: install-info-target-gperf
32560 install-info-target-gperf: \
32561 configure-target-gperf \
32562 info-target-gperf
32563 @: $(MAKE); $(unstage)
32564 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32565 r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(NORMAL_TARGET_EXPORTS) \
32568 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32569 for flag in $(EXTRA_TARGET_FLAGS); do \
32570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32571 done; \
32572 (cd $(TARGET_SUBDIR)/gperf && \
32573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32575 "RANLIB=$${RANLIB}" \
32576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32577 install-info) \
32578 || exit 1
32580 @endif target-gperf
32582 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32583 maybe-installcheck-target-gperf:
32584 @if target-gperf
32585 maybe-installcheck-target-gperf: installcheck-target-gperf
32587 installcheck-target-gperf: \
32588 configure-target-gperf
32589 @: $(MAKE); $(unstage)
32590 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32591 r=`${PWD_COMMAND}`; export r; \
32592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32593 $(NORMAL_TARGET_EXPORTS) \
32594 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32595 for flag in $(EXTRA_TARGET_FLAGS); do \
32596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32597 done; \
32598 (cd $(TARGET_SUBDIR)/gperf && \
32599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32601 "RANLIB=$${RANLIB}" \
32602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32603 installcheck) \
32604 || exit 1
32606 @endif target-gperf
32608 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32609 maybe-mostlyclean-target-gperf:
32610 @if target-gperf
32611 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32613 mostlyclean-target-gperf:
32614 @: $(MAKE); $(unstage)
32615 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32616 r=`${PWD_COMMAND}`; export r; \
32617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32618 $(NORMAL_TARGET_EXPORTS) \
32619 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32620 for flag in $(EXTRA_TARGET_FLAGS); do \
32621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32622 done; \
32623 (cd $(TARGET_SUBDIR)/gperf && \
32624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32626 "RANLIB=$${RANLIB}" \
32627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32628 mostlyclean) \
32629 || exit 1
32631 @endif target-gperf
32633 .PHONY: maybe-clean-target-gperf clean-target-gperf
32634 maybe-clean-target-gperf:
32635 @if target-gperf
32636 maybe-clean-target-gperf: clean-target-gperf
32638 clean-target-gperf:
32639 @: $(MAKE); $(unstage)
32640 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32641 r=`${PWD_COMMAND}`; export r; \
32642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32643 $(NORMAL_TARGET_EXPORTS) \
32644 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32645 for flag in $(EXTRA_TARGET_FLAGS); do \
32646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32647 done; \
32648 (cd $(TARGET_SUBDIR)/gperf && \
32649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32651 "RANLIB=$${RANLIB}" \
32652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32653 clean) \
32654 || exit 1
32656 @endif target-gperf
32658 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32659 maybe-distclean-target-gperf:
32660 @if target-gperf
32661 maybe-distclean-target-gperf: distclean-target-gperf
32663 distclean-target-gperf:
32664 @: $(MAKE); $(unstage)
32665 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32666 r=`${PWD_COMMAND}`; export r; \
32667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32668 $(NORMAL_TARGET_EXPORTS) \
32669 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32670 for flag in $(EXTRA_TARGET_FLAGS); do \
32671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32672 done; \
32673 (cd $(TARGET_SUBDIR)/gperf && \
32674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32676 "RANLIB=$${RANLIB}" \
32677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32678 distclean) \
32679 || exit 1
32681 @endif target-gperf
32683 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32684 maybe-maintainer-clean-target-gperf:
32685 @if target-gperf
32686 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32688 maintainer-clean-target-gperf:
32689 @: $(MAKE); $(unstage)
32690 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32691 r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 $(NORMAL_TARGET_EXPORTS) \
32694 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32695 for flag in $(EXTRA_TARGET_FLAGS); do \
32696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32697 done; \
32698 (cd $(TARGET_SUBDIR)/gperf && \
32699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32701 "RANLIB=$${RANLIB}" \
32702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32703 maintainer-clean) \
32704 || exit 1
32706 @endif target-gperf
32712 .PHONY: configure-target-examples maybe-configure-target-examples
32713 maybe-configure-target-examples:
32714 @if target-examples
32715 maybe-configure-target-examples: configure-target-examples
32716 configure-target-examples:
32717 @: $(MAKE); $(unstage)
32718 @r=`${PWD_COMMAND}`; export r; \
32719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32720 echo "Checking multilib configuration for examples..."; \
32721 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
32723 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
32724 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
32725 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
32726 else \
32727 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
32728 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32729 fi; \
32730 else \
32731 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32733 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32735 r=`${PWD_COMMAND}`; export r; \
32736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32737 $(NORMAL_TARGET_EXPORTS) \
32738 echo Configuring in $(TARGET_SUBDIR)/examples; \
32739 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32740 case $(srcdir) in \
32741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32742 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32744 esac; \
32745 srcdiroption="--srcdir=$${topdir}/examples"; \
32746 libsrcdir="$$s/examples"; \
32747 rm -f no-such-file || : ; \
32748 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32749 $(TARGET_CONFIGARGS) $${srcdiroption} \
32750 || exit 1
32751 @endif target-examples
32757 .PHONY: all-target-examples maybe-all-target-examples
32758 maybe-all-target-examples:
32759 @if target-examples
32760 TARGET-target-examples=all
32761 maybe-all-target-examples: all-target-examples
32762 all-target-examples: configure-target-examples
32763 @: $(MAKE); $(unstage)
32764 @r=`${PWD_COMMAND}`; export r; \
32765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32766 $(NORMAL_TARGET_EXPORTS) \
32767 (cd $(TARGET_SUBDIR)/examples && \
32768 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32769 @endif target-examples
32775 .PHONY: check-target-examples maybe-check-target-examples
32776 maybe-check-target-examples:
32777 @if target-examples
32778 maybe-check-target-examples: check-target-examples
32780 # Dummy target for uncheckable module.
32781 check-target-examples:
32783 @endif target-examples
32785 .PHONY: install-target-examples maybe-install-target-examples
32786 maybe-install-target-examples:
32787 @if target-examples
32788 maybe-install-target-examples: install-target-examples
32790 # Dummy target for uninstallable.
32791 install-target-examples:
32793 @endif target-examples
32795 # Other targets (info, dvi, etc.)
32797 .PHONY: maybe-info-target-examples info-target-examples
32798 maybe-info-target-examples:
32799 @if target-examples
32800 maybe-info-target-examples: info-target-examples
32802 info-target-examples: \
32803 configure-target-examples
32804 @: $(MAKE); $(unstage)
32805 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32806 r=`${PWD_COMMAND}`; export r; \
32807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32808 $(NORMAL_TARGET_EXPORTS) \
32809 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32810 for flag in $(EXTRA_TARGET_FLAGS); do \
32811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32812 done; \
32813 (cd $(TARGET_SUBDIR)/examples && \
32814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32816 "RANLIB=$${RANLIB}" \
32817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32818 info) \
32819 || exit 1
32821 @endif target-examples
32823 .PHONY: maybe-dvi-target-examples dvi-target-examples
32824 maybe-dvi-target-examples:
32825 @if target-examples
32826 maybe-dvi-target-examples: dvi-target-examples
32828 dvi-target-examples: \
32829 configure-target-examples
32830 @: $(MAKE); $(unstage)
32831 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32832 r=`${PWD_COMMAND}`; export r; \
32833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32834 $(NORMAL_TARGET_EXPORTS) \
32835 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32836 for flag in $(EXTRA_TARGET_FLAGS); do \
32837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32838 done; \
32839 (cd $(TARGET_SUBDIR)/examples && \
32840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32842 "RANLIB=$${RANLIB}" \
32843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32844 dvi) \
32845 || exit 1
32847 @endif target-examples
32849 .PHONY: maybe-html-target-examples html-target-examples
32850 maybe-html-target-examples:
32851 @if target-examples
32852 maybe-html-target-examples: html-target-examples
32854 html-target-examples: \
32855 configure-target-examples
32856 @: $(MAKE); $(unstage)
32857 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(NORMAL_TARGET_EXPORTS) \
32861 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32862 for flag in $(EXTRA_TARGET_FLAGS); do \
32863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32864 done; \
32865 (cd $(TARGET_SUBDIR)/examples && \
32866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32868 "RANLIB=$${RANLIB}" \
32869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32870 html) \
32871 || exit 1
32873 @endif target-examples
32875 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32876 maybe-TAGS-target-examples:
32877 @if target-examples
32878 maybe-TAGS-target-examples: TAGS-target-examples
32880 TAGS-target-examples: \
32881 configure-target-examples
32882 @: $(MAKE); $(unstage)
32883 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32884 r=`${PWD_COMMAND}`; export r; \
32885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32886 $(NORMAL_TARGET_EXPORTS) \
32887 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32888 for flag in $(EXTRA_TARGET_FLAGS); do \
32889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32890 done; \
32891 (cd $(TARGET_SUBDIR)/examples && \
32892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32894 "RANLIB=$${RANLIB}" \
32895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32896 TAGS) \
32897 || exit 1
32899 @endif target-examples
32901 .PHONY: maybe-install-info-target-examples install-info-target-examples
32902 maybe-install-info-target-examples:
32903 @if target-examples
32904 maybe-install-info-target-examples: install-info-target-examples
32906 install-info-target-examples: \
32907 configure-target-examples \
32908 info-target-examples
32909 @: $(MAKE); $(unstage)
32910 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32911 r=`${PWD_COMMAND}`; export r; \
32912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32913 $(NORMAL_TARGET_EXPORTS) \
32914 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32915 for flag in $(EXTRA_TARGET_FLAGS); do \
32916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32917 done; \
32918 (cd $(TARGET_SUBDIR)/examples && \
32919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32921 "RANLIB=$${RANLIB}" \
32922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32923 install-info) \
32924 || exit 1
32926 @endif target-examples
32928 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32929 maybe-installcheck-target-examples:
32930 @if target-examples
32931 maybe-installcheck-target-examples: installcheck-target-examples
32933 installcheck-target-examples: \
32934 configure-target-examples
32935 @: $(MAKE); $(unstage)
32936 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32937 r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(NORMAL_TARGET_EXPORTS) \
32940 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32941 for flag in $(EXTRA_TARGET_FLAGS); do \
32942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32943 done; \
32944 (cd $(TARGET_SUBDIR)/examples && \
32945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32947 "RANLIB=$${RANLIB}" \
32948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32949 installcheck) \
32950 || exit 1
32952 @endif target-examples
32954 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32955 maybe-mostlyclean-target-examples:
32956 @if target-examples
32957 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32959 mostlyclean-target-examples:
32960 @: $(MAKE); $(unstage)
32961 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32962 r=`${PWD_COMMAND}`; export r; \
32963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32964 $(NORMAL_TARGET_EXPORTS) \
32965 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32966 for flag in $(EXTRA_TARGET_FLAGS); do \
32967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32968 done; \
32969 (cd $(TARGET_SUBDIR)/examples && \
32970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32972 "RANLIB=$${RANLIB}" \
32973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32974 mostlyclean) \
32975 || exit 1
32977 @endif target-examples
32979 .PHONY: maybe-clean-target-examples clean-target-examples
32980 maybe-clean-target-examples:
32981 @if target-examples
32982 maybe-clean-target-examples: clean-target-examples
32984 clean-target-examples:
32985 @: $(MAKE); $(unstage)
32986 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32987 r=`${PWD_COMMAND}`; export r; \
32988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32989 $(NORMAL_TARGET_EXPORTS) \
32990 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32991 for flag in $(EXTRA_TARGET_FLAGS); do \
32992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32993 done; \
32994 (cd $(TARGET_SUBDIR)/examples && \
32995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32997 "RANLIB=$${RANLIB}" \
32998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32999 clean) \
33000 || exit 1
33002 @endif target-examples
33004 .PHONY: maybe-distclean-target-examples distclean-target-examples
33005 maybe-distclean-target-examples:
33006 @if target-examples
33007 maybe-distclean-target-examples: distclean-target-examples
33009 distclean-target-examples:
33010 @: $(MAKE); $(unstage)
33011 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33012 r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 $(NORMAL_TARGET_EXPORTS) \
33015 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33016 for flag in $(EXTRA_TARGET_FLAGS); do \
33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33018 done; \
33019 (cd $(TARGET_SUBDIR)/examples && \
33020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33022 "RANLIB=$${RANLIB}" \
33023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33024 distclean) \
33025 || exit 1
33027 @endif target-examples
33029 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33030 maybe-maintainer-clean-target-examples:
33031 @if target-examples
33032 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33034 maintainer-clean-target-examples:
33035 @: $(MAKE); $(unstage)
33036 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33037 r=`${PWD_COMMAND}`; export r; \
33038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33039 $(NORMAL_TARGET_EXPORTS) \
33040 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33041 for flag in $(EXTRA_TARGET_FLAGS); do \
33042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33043 done; \
33044 (cd $(TARGET_SUBDIR)/examples && \
33045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33047 "RANLIB=$${RANLIB}" \
33048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33049 maintainer-clean) \
33050 || exit 1
33052 @endif target-examples
33058 .PHONY: configure-target-libffi maybe-configure-target-libffi
33059 maybe-configure-target-libffi:
33060 @if target-libffi
33061 maybe-configure-target-libffi: configure-target-libffi
33062 configure-target-libffi:
33063 @: $(MAKE); $(unstage)
33064 @r=`${PWD_COMMAND}`; export r; \
33065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33066 echo "Checking multilib configuration for libffi..."; \
33067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33069 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33070 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33071 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33072 else \
33073 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33074 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33075 fi; \
33076 else \
33077 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33079 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33081 r=`${PWD_COMMAND}`; export r; \
33082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33083 $(NORMAL_TARGET_EXPORTS) \
33084 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33085 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33086 case $(srcdir) in \
33087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33088 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33090 esac; \
33091 srcdiroption="--srcdir=$${topdir}/libffi"; \
33092 libsrcdir="$$s/libffi"; \
33093 rm -f no-such-file || : ; \
33094 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33095 $(TARGET_CONFIGARGS) $${srcdiroption} \
33096 || exit 1
33097 @endif target-libffi
33103 .PHONY: all-target-libffi maybe-all-target-libffi
33104 maybe-all-target-libffi:
33105 @if target-libffi
33106 TARGET-target-libffi=all
33107 maybe-all-target-libffi: all-target-libffi
33108 all-target-libffi: configure-target-libffi
33109 @: $(MAKE); $(unstage)
33110 @r=`${PWD_COMMAND}`; export r; \
33111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33112 $(NORMAL_TARGET_EXPORTS) \
33113 (cd $(TARGET_SUBDIR)/libffi && \
33114 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33115 @endif target-libffi
33121 .PHONY: check-target-libffi maybe-check-target-libffi
33122 maybe-check-target-libffi:
33123 @if target-libffi
33124 maybe-check-target-libffi: check-target-libffi
33126 check-target-libffi:
33127 @: $(MAKE); $(unstage)
33128 @r=`${PWD_COMMAND}`; export r; \
33129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33130 $(NORMAL_TARGET_EXPORTS) \
33131 (cd $(TARGET_SUBDIR)/libffi && \
33132 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33134 @endif target-libffi
33136 .PHONY: install-target-libffi maybe-install-target-libffi
33137 maybe-install-target-libffi:
33138 @if target-libffi
33139 maybe-install-target-libffi: install-target-libffi
33141 install-target-libffi: installdirs
33142 @: $(MAKE); $(unstage)
33143 @r=`${PWD_COMMAND}`; export r; \
33144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33145 $(NORMAL_TARGET_EXPORTS) \
33146 (cd $(TARGET_SUBDIR)/libffi && \
33147 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33149 @endif target-libffi
33151 # Other targets (info, dvi, etc.)
33153 .PHONY: maybe-info-target-libffi info-target-libffi
33154 maybe-info-target-libffi:
33155 @if target-libffi
33156 maybe-info-target-libffi: info-target-libffi
33158 info-target-libffi: \
33159 configure-target-libffi
33160 @: $(MAKE); $(unstage)
33161 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33162 r=`${PWD_COMMAND}`; export r; \
33163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33164 $(NORMAL_TARGET_EXPORTS) \
33165 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33166 for flag in $(EXTRA_TARGET_FLAGS); do \
33167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33168 done; \
33169 (cd $(TARGET_SUBDIR)/libffi && \
33170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33172 "RANLIB=$${RANLIB}" \
33173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33174 info) \
33175 || exit 1
33177 @endif target-libffi
33179 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33180 maybe-dvi-target-libffi:
33181 @if target-libffi
33182 maybe-dvi-target-libffi: dvi-target-libffi
33184 dvi-target-libffi: \
33185 configure-target-libffi
33186 @: $(MAKE); $(unstage)
33187 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(NORMAL_TARGET_EXPORTS) \
33191 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33192 for flag in $(EXTRA_TARGET_FLAGS); do \
33193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33194 done; \
33195 (cd $(TARGET_SUBDIR)/libffi && \
33196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33198 "RANLIB=$${RANLIB}" \
33199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33200 dvi) \
33201 || exit 1
33203 @endif target-libffi
33205 .PHONY: maybe-html-target-libffi html-target-libffi
33206 maybe-html-target-libffi:
33207 @if target-libffi
33208 maybe-html-target-libffi: html-target-libffi
33210 html-target-libffi: \
33211 configure-target-libffi
33212 @: $(MAKE); $(unstage)
33213 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33214 r=`${PWD_COMMAND}`; export r; \
33215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33216 $(NORMAL_TARGET_EXPORTS) \
33217 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33218 for flag in $(EXTRA_TARGET_FLAGS); do \
33219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33220 done; \
33221 (cd $(TARGET_SUBDIR)/libffi && \
33222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33224 "RANLIB=$${RANLIB}" \
33225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33226 html) \
33227 || exit 1
33229 @endif target-libffi
33231 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33232 maybe-TAGS-target-libffi:
33233 @if target-libffi
33234 maybe-TAGS-target-libffi: TAGS-target-libffi
33236 TAGS-target-libffi: \
33237 configure-target-libffi
33238 @: $(MAKE); $(unstage)
33239 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33240 r=`${PWD_COMMAND}`; export r; \
33241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33242 $(NORMAL_TARGET_EXPORTS) \
33243 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33244 for flag in $(EXTRA_TARGET_FLAGS); do \
33245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33246 done; \
33247 (cd $(TARGET_SUBDIR)/libffi && \
33248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33250 "RANLIB=$${RANLIB}" \
33251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33252 TAGS) \
33253 || exit 1
33255 @endif target-libffi
33257 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33258 maybe-install-info-target-libffi:
33259 @if target-libffi
33260 maybe-install-info-target-libffi: install-info-target-libffi
33262 install-info-target-libffi: \
33263 configure-target-libffi \
33264 info-target-libffi
33265 @: $(MAKE); $(unstage)
33266 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33267 r=`${PWD_COMMAND}`; export r; \
33268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33269 $(NORMAL_TARGET_EXPORTS) \
33270 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33271 for flag in $(EXTRA_TARGET_FLAGS); do \
33272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33273 done; \
33274 (cd $(TARGET_SUBDIR)/libffi && \
33275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33277 "RANLIB=$${RANLIB}" \
33278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33279 install-info) \
33280 || exit 1
33282 @endif target-libffi
33284 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33285 maybe-installcheck-target-libffi:
33286 @if target-libffi
33287 maybe-installcheck-target-libffi: installcheck-target-libffi
33289 installcheck-target-libffi: \
33290 configure-target-libffi
33291 @: $(MAKE); $(unstage)
33292 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33293 r=`${PWD_COMMAND}`; export r; \
33294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33295 $(NORMAL_TARGET_EXPORTS) \
33296 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33297 for flag in $(EXTRA_TARGET_FLAGS); do \
33298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33299 done; \
33300 (cd $(TARGET_SUBDIR)/libffi && \
33301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33303 "RANLIB=$${RANLIB}" \
33304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33305 installcheck) \
33306 || exit 1
33308 @endif target-libffi
33310 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33311 maybe-mostlyclean-target-libffi:
33312 @if target-libffi
33313 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33315 mostlyclean-target-libffi:
33316 @: $(MAKE); $(unstage)
33317 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33318 r=`${PWD_COMMAND}`; export r; \
33319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33320 $(NORMAL_TARGET_EXPORTS) \
33321 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33322 for flag in $(EXTRA_TARGET_FLAGS); do \
33323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33324 done; \
33325 (cd $(TARGET_SUBDIR)/libffi && \
33326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33328 "RANLIB=$${RANLIB}" \
33329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33330 mostlyclean) \
33331 || exit 1
33333 @endif target-libffi
33335 .PHONY: maybe-clean-target-libffi clean-target-libffi
33336 maybe-clean-target-libffi:
33337 @if target-libffi
33338 maybe-clean-target-libffi: clean-target-libffi
33340 clean-target-libffi:
33341 @: $(MAKE); $(unstage)
33342 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33343 r=`${PWD_COMMAND}`; export r; \
33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33345 $(NORMAL_TARGET_EXPORTS) \
33346 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33347 for flag in $(EXTRA_TARGET_FLAGS); do \
33348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33349 done; \
33350 (cd $(TARGET_SUBDIR)/libffi && \
33351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33353 "RANLIB=$${RANLIB}" \
33354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33355 clean) \
33356 || exit 1
33358 @endif target-libffi
33360 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33361 maybe-distclean-target-libffi:
33362 @if target-libffi
33363 maybe-distclean-target-libffi: distclean-target-libffi
33365 distclean-target-libffi:
33366 @: $(MAKE); $(unstage)
33367 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33368 r=`${PWD_COMMAND}`; export r; \
33369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33370 $(NORMAL_TARGET_EXPORTS) \
33371 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33372 for flag in $(EXTRA_TARGET_FLAGS); do \
33373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33374 done; \
33375 (cd $(TARGET_SUBDIR)/libffi && \
33376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33378 "RANLIB=$${RANLIB}" \
33379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33380 distclean) \
33381 || exit 1
33383 @endif target-libffi
33385 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33386 maybe-maintainer-clean-target-libffi:
33387 @if target-libffi
33388 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33390 maintainer-clean-target-libffi:
33391 @: $(MAKE); $(unstage)
33392 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33393 r=`${PWD_COMMAND}`; export r; \
33394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33395 $(NORMAL_TARGET_EXPORTS) \
33396 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33397 for flag in $(EXTRA_TARGET_FLAGS); do \
33398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33399 done; \
33400 (cd $(TARGET_SUBDIR)/libffi && \
33401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33403 "RANLIB=$${RANLIB}" \
33404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33405 maintainer-clean) \
33406 || exit 1
33408 @endif target-libffi
33414 .PHONY: configure-target-libjava maybe-configure-target-libjava
33415 maybe-configure-target-libjava:
33416 @if target-libjava
33417 maybe-configure-target-libjava: configure-target-libjava
33418 configure-target-libjava:
33419 @: $(MAKE); $(unstage)
33420 @r=`${PWD_COMMAND}`; export r; \
33421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33422 echo "Checking multilib configuration for libjava..."; \
33423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
33425 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
33426 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
33427 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
33428 else \
33429 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
33430 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33431 fi; \
33432 else \
33433 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33435 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33437 r=`${PWD_COMMAND}`; export r; \
33438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33439 $(RAW_CXX_TARGET_EXPORTS) \
33440 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33441 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33442 case $(srcdir) in \
33443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33444 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33446 esac; \
33447 srcdiroption="--srcdir=$${topdir}/libjava"; \
33448 libsrcdir="$$s/libjava"; \
33449 rm -f no-such-file || : ; \
33450 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33451 $(TARGET_CONFIGARGS) $${srcdiroption} \
33452 || exit 1
33453 @endif target-libjava
33459 .PHONY: all-target-libjava maybe-all-target-libjava
33460 maybe-all-target-libjava:
33461 @if target-libjava
33462 TARGET-target-libjava=all
33463 maybe-all-target-libjava: all-target-libjava
33464 all-target-libjava: configure-target-libjava
33465 @: $(MAKE); $(unstage)
33466 @r=`${PWD_COMMAND}`; export r; \
33467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33468 $(RAW_CXX_TARGET_EXPORTS) \
33469 (cd $(TARGET_SUBDIR)/libjava && \
33470 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33471 @endif target-libjava
33477 .PHONY: check-target-libjava maybe-check-target-libjava
33478 maybe-check-target-libjava:
33479 @if target-libjava
33480 maybe-check-target-libjava: check-target-libjava
33482 check-target-libjava:
33483 @: $(MAKE); $(unstage)
33484 @r=`${PWD_COMMAND}`; export r; \
33485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33486 $(RAW_CXX_TARGET_EXPORTS) \
33487 (cd $(TARGET_SUBDIR)/libjava && \
33488 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33490 @endif target-libjava
33492 .PHONY: install-target-libjava maybe-install-target-libjava
33493 maybe-install-target-libjava:
33494 @if target-libjava
33495 maybe-install-target-libjava: install-target-libjava
33497 install-target-libjava: installdirs
33498 @: $(MAKE); $(unstage)
33499 @r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 $(RAW_CXX_TARGET_EXPORTS) \
33502 (cd $(TARGET_SUBDIR)/libjava && \
33503 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33505 @endif target-libjava
33507 # Other targets (info, dvi, etc.)
33509 .PHONY: maybe-info-target-libjava info-target-libjava
33510 maybe-info-target-libjava:
33511 @if target-libjava
33512 maybe-info-target-libjava: info-target-libjava
33514 info-target-libjava: \
33515 configure-target-libjava
33516 @: $(MAKE); $(unstage)
33517 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33518 r=`${PWD_COMMAND}`; export r; \
33519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33520 $(RAW_CXX_TARGET_EXPORTS) \
33521 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33522 for flag in $(EXTRA_TARGET_FLAGS); do \
33523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33524 done; \
33525 (cd $(TARGET_SUBDIR)/libjava && \
33526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33528 "RANLIB=$${RANLIB}" \
33529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33530 info) \
33531 || exit 1
33533 @endif target-libjava
33535 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33536 maybe-dvi-target-libjava:
33537 @if target-libjava
33538 maybe-dvi-target-libjava: dvi-target-libjava
33540 dvi-target-libjava: \
33541 configure-target-libjava
33542 @: $(MAKE); $(unstage)
33543 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33544 r=`${PWD_COMMAND}`; export r; \
33545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33546 $(RAW_CXX_TARGET_EXPORTS) \
33547 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33548 for flag in $(EXTRA_TARGET_FLAGS); do \
33549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33550 done; \
33551 (cd $(TARGET_SUBDIR)/libjava && \
33552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33554 "RANLIB=$${RANLIB}" \
33555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33556 dvi) \
33557 || exit 1
33559 @endif target-libjava
33561 .PHONY: maybe-html-target-libjava html-target-libjava
33562 maybe-html-target-libjava:
33563 @if target-libjava
33564 maybe-html-target-libjava: html-target-libjava
33566 html-target-libjava: \
33567 configure-target-libjava
33568 @: $(MAKE); $(unstage)
33569 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33570 r=`${PWD_COMMAND}`; export r; \
33571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33572 $(RAW_CXX_TARGET_EXPORTS) \
33573 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33574 for flag in $(EXTRA_TARGET_FLAGS); do \
33575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33576 done; \
33577 (cd $(TARGET_SUBDIR)/libjava && \
33578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33580 "RANLIB=$${RANLIB}" \
33581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33582 html) \
33583 || exit 1
33585 @endif target-libjava
33587 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33588 maybe-TAGS-target-libjava:
33589 @if target-libjava
33590 maybe-TAGS-target-libjava: TAGS-target-libjava
33592 TAGS-target-libjava: \
33593 configure-target-libjava
33594 @: $(MAKE); $(unstage)
33595 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33596 r=`${PWD_COMMAND}`; export r; \
33597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33598 $(RAW_CXX_TARGET_EXPORTS) \
33599 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33600 for flag in $(EXTRA_TARGET_FLAGS); do \
33601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33602 done; \
33603 (cd $(TARGET_SUBDIR)/libjava && \
33604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33606 "RANLIB=$${RANLIB}" \
33607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33608 TAGS) \
33609 || exit 1
33611 @endif target-libjava
33613 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33614 maybe-install-info-target-libjava:
33615 @if target-libjava
33616 maybe-install-info-target-libjava: install-info-target-libjava
33618 install-info-target-libjava: \
33619 configure-target-libjava \
33620 info-target-libjava
33621 @: $(MAKE); $(unstage)
33622 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33623 r=`${PWD_COMMAND}`; export r; \
33624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33625 $(RAW_CXX_TARGET_EXPORTS) \
33626 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33627 for flag in $(EXTRA_TARGET_FLAGS); do \
33628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33629 done; \
33630 (cd $(TARGET_SUBDIR)/libjava && \
33631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33633 "RANLIB=$${RANLIB}" \
33634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33635 install-info) \
33636 || exit 1
33638 @endif target-libjava
33640 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33641 maybe-installcheck-target-libjava:
33642 @if target-libjava
33643 maybe-installcheck-target-libjava: installcheck-target-libjava
33645 installcheck-target-libjava: \
33646 configure-target-libjava
33647 @: $(MAKE); $(unstage)
33648 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33649 r=`${PWD_COMMAND}`; export r; \
33650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33651 $(RAW_CXX_TARGET_EXPORTS) \
33652 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33653 for flag in $(EXTRA_TARGET_FLAGS); do \
33654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33655 done; \
33656 (cd $(TARGET_SUBDIR)/libjava && \
33657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33659 "RANLIB=$${RANLIB}" \
33660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33661 installcheck) \
33662 || exit 1
33664 @endif target-libjava
33666 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33667 maybe-mostlyclean-target-libjava:
33668 @if target-libjava
33669 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33671 mostlyclean-target-libjava:
33672 @: $(MAKE); $(unstage)
33673 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33674 r=`${PWD_COMMAND}`; export r; \
33675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33676 $(RAW_CXX_TARGET_EXPORTS) \
33677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33678 for flag in $(EXTRA_TARGET_FLAGS); do \
33679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33680 done; \
33681 (cd $(TARGET_SUBDIR)/libjava && \
33682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33684 "RANLIB=$${RANLIB}" \
33685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33686 mostlyclean) \
33687 || exit 1
33689 @endif target-libjava
33691 .PHONY: maybe-clean-target-libjava clean-target-libjava
33692 maybe-clean-target-libjava:
33693 @if target-libjava
33694 maybe-clean-target-libjava: clean-target-libjava
33696 clean-target-libjava:
33697 @: $(MAKE); $(unstage)
33698 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33699 r=`${PWD_COMMAND}`; export r; \
33700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33701 $(RAW_CXX_TARGET_EXPORTS) \
33702 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33703 for flag in $(EXTRA_TARGET_FLAGS); do \
33704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33705 done; \
33706 (cd $(TARGET_SUBDIR)/libjava && \
33707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33709 "RANLIB=$${RANLIB}" \
33710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33711 clean) \
33712 || exit 1
33714 @endif target-libjava
33716 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33717 maybe-distclean-target-libjava:
33718 @if target-libjava
33719 maybe-distclean-target-libjava: distclean-target-libjava
33721 distclean-target-libjava:
33722 @: $(MAKE); $(unstage)
33723 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33724 r=`${PWD_COMMAND}`; export r; \
33725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33726 $(RAW_CXX_TARGET_EXPORTS) \
33727 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33728 for flag in $(EXTRA_TARGET_FLAGS); do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 (cd $(TARGET_SUBDIR)/libjava && \
33732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33734 "RANLIB=$${RANLIB}" \
33735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33736 distclean) \
33737 || exit 1
33739 @endif target-libjava
33741 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33742 maybe-maintainer-clean-target-libjava:
33743 @if target-libjava
33744 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33746 maintainer-clean-target-libjava:
33747 @: $(MAKE); $(unstage)
33748 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33749 r=`${PWD_COMMAND}`; export r; \
33750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33751 $(RAW_CXX_TARGET_EXPORTS) \
33752 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33753 for flag in $(EXTRA_TARGET_FLAGS); do \
33754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33755 done; \
33756 (cd $(TARGET_SUBDIR)/libjava && \
33757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33759 "RANLIB=$${RANLIB}" \
33760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33761 maintainer-clean) \
33762 || exit 1
33764 @endif target-libjava
33770 .PHONY: configure-target-zlib maybe-configure-target-zlib
33771 maybe-configure-target-zlib:
33772 @if target-zlib
33773 maybe-configure-target-zlib: configure-target-zlib
33774 configure-target-zlib:
33775 @: $(MAKE); $(unstage)
33776 @r=`${PWD_COMMAND}`; export r; \
33777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33778 echo "Checking multilib configuration for zlib..."; \
33779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33780 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
33781 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
33782 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
33783 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
33784 else \
33785 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
33786 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33787 fi; \
33788 else \
33789 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33791 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33793 r=`${PWD_COMMAND}`; export r; \
33794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33795 $(NORMAL_TARGET_EXPORTS) \
33796 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33797 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33798 case $(srcdir) in \
33799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33800 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33802 esac; \
33803 srcdiroption="--srcdir=$${topdir}/zlib"; \
33804 libsrcdir="$$s/zlib"; \
33805 rm -f no-such-file || : ; \
33806 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33807 $(TARGET_CONFIGARGS) $${srcdiroption} \
33808 || exit 1
33809 @endif target-zlib
33815 .PHONY: all-target-zlib maybe-all-target-zlib
33816 maybe-all-target-zlib:
33817 @if target-zlib
33818 TARGET-target-zlib=all
33819 maybe-all-target-zlib: all-target-zlib
33820 all-target-zlib: configure-target-zlib
33821 @: $(MAKE); $(unstage)
33822 @r=`${PWD_COMMAND}`; export r; \
33823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33824 $(NORMAL_TARGET_EXPORTS) \
33825 (cd $(TARGET_SUBDIR)/zlib && \
33826 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33827 @endif target-zlib
33833 .PHONY: check-target-zlib maybe-check-target-zlib
33834 maybe-check-target-zlib:
33835 @if target-zlib
33836 maybe-check-target-zlib: check-target-zlib
33838 check-target-zlib:
33839 @: $(MAKE); $(unstage)
33840 @r=`${PWD_COMMAND}`; export r; \
33841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33842 $(NORMAL_TARGET_EXPORTS) \
33843 (cd $(TARGET_SUBDIR)/zlib && \
33844 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33846 @endif target-zlib
33848 .PHONY: install-target-zlib maybe-install-target-zlib
33849 maybe-install-target-zlib:
33850 @if target-zlib
33851 maybe-install-target-zlib: install-target-zlib
33853 install-target-zlib: installdirs
33854 @: $(MAKE); $(unstage)
33855 @r=`${PWD_COMMAND}`; export r; \
33856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33857 $(NORMAL_TARGET_EXPORTS) \
33858 (cd $(TARGET_SUBDIR)/zlib && \
33859 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33861 @endif target-zlib
33863 # Other targets (info, dvi, etc.)
33865 .PHONY: maybe-info-target-zlib info-target-zlib
33866 maybe-info-target-zlib:
33867 @if target-zlib
33868 maybe-info-target-zlib: info-target-zlib
33870 info-target-zlib: \
33871 configure-target-zlib
33872 @: $(MAKE); $(unstage)
33873 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33874 r=`${PWD_COMMAND}`; export r; \
33875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33876 $(NORMAL_TARGET_EXPORTS) \
33877 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33878 for flag in $(EXTRA_TARGET_FLAGS); do \
33879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33880 done; \
33881 (cd $(TARGET_SUBDIR)/zlib && \
33882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33884 "RANLIB=$${RANLIB}" \
33885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33886 info) \
33887 || exit 1
33889 @endif target-zlib
33891 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33892 maybe-dvi-target-zlib:
33893 @if target-zlib
33894 maybe-dvi-target-zlib: dvi-target-zlib
33896 dvi-target-zlib: \
33897 configure-target-zlib
33898 @: $(MAKE); $(unstage)
33899 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33900 r=`${PWD_COMMAND}`; export r; \
33901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33902 $(NORMAL_TARGET_EXPORTS) \
33903 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33904 for flag in $(EXTRA_TARGET_FLAGS); do \
33905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33906 done; \
33907 (cd $(TARGET_SUBDIR)/zlib && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33910 "RANLIB=$${RANLIB}" \
33911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33912 dvi) \
33913 || exit 1
33915 @endif target-zlib
33917 .PHONY: maybe-html-target-zlib html-target-zlib
33918 maybe-html-target-zlib:
33919 @if target-zlib
33920 maybe-html-target-zlib: html-target-zlib
33922 html-target-zlib: \
33923 configure-target-zlib
33924 @: $(MAKE); $(unstage)
33925 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33926 r=`${PWD_COMMAND}`; export r; \
33927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33928 $(NORMAL_TARGET_EXPORTS) \
33929 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33930 for flag in $(EXTRA_TARGET_FLAGS); do \
33931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33932 done; \
33933 (cd $(TARGET_SUBDIR)/zlib && \
33934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33936 "RANLIB=$${RANLIB}" \
33937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33938 html) \
33939 || exit 1
33941 @endif target-zlib
33943 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33944 maybe-TAGS-target-zlib:
33945 @if target-zlib
33946 maybe-TAGS-target-zlib: TAGS-target-zlib
33948 TAGS-target-zlib: \
33949 configure-target-zlib
33950 @: $(MAKE); $(unstage)
33951 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33952 r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 $(NORMAL_TARGET_EXPORTS) \
33955 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33956 for flag in $(EXTRA_TARGET_FLAGS); do \
33957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33958 done; \
33959 (cd $(TARGET_SUBDIR)/zlib && \
33960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33962 "RANLIB=$${RANLIB}" \
33963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33964 TAGS) \
33965 || exit 1
33967 @endif target-zlib
33969 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33970 maybe-install-info-target-zlib:
33971 @if target-zlib
33972 maybe-install-info-target-zlib: install-info-target-zlib
33974 install-info-target-zlib: \
33975 configure-target-zlib \
33976 info-target-zlib
33977 @: $(MAKE); $(unstage)
33978 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33979 r=`${PWD_COMMAND}`; export r; \
33980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33981 $(NORMAL_TARGET_EXPORTS) \
33982 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33983 for flag in $(EXTRA_TARGET_FLAGS); do \
33984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33985 done; \
33986 (cd $(TARGET_SUBDIR)/zlib && \
33987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33989 "RANLIB=$${RANLIB}" \
33990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33991 install-info) \
33992 || exit 1
33994 @endif target-zlib
33996 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33997 maybe-installcheck-target-zlib:
33998 @if target-zlib
33999 maybe-installcheck-target-zlib: installcheck-target-zlib
34001 installcheck-target-zlib: \
34002 configure-target-zlib
34003 @: $(MAKE); $(unstage)
34004 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34005 r=`${PWD_COMMAND}`; export r; \
34006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34007 $(NORMAL_TARGET_EXPORTS) \
34008 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34009 for flag in $(EXTRA_TARGET_FLAGS); do \
34010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34011 done; \
34012 (cd $(TARGET_SUBDIR)/zlib && \
34013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34015 "RANLIB=$${RANLIB}" \
34016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34017 installcheck) \
34018 || exit 1
34020 @endif target-zlib
34022 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34023 maybe-mostlyclean-target-zlib:
34024 @if target-zlib
34025 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34027 mostlyclean-target-zlib:
34028 @: $(MAKE); $(unstage)
34029 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34030 r=`${PWD_COMMAND}`; export r; \
34031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34032 $(NORMAL_TARGET_EXPORTS) \
34033 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34034 for flag in $(EXTRA_TARGET_FLAGS); do \
34035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34036 done; \
34037 (cd $(TARGET_SUBDIR)/zlib && \
34038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34040 "RANLIB=$${RANLIB}" \
34041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34042 mostlyclean) \
34043 || exit 1
34045 @endif target-zlib
34047 .PHONY: maybe-clean-target-zlib clean-target-zlib
34048 maybe-clean-target-zlib:
34049 @if target-zlib
34050 maybe-clean-target-zlib: clean-target-zlib
34052 clean-target-zlib:
34053 @: $(MAKE); $(unstage)
34054 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34055 r=`${PWD_COMMAND}`; export r; \
34056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34057 $(NORMAL_TARGET_EXPORTS) \
34058 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34059 for flag in $(EXTRA_TARGET_FLAGS); do \
34060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34061 done; \
34062 (cd $(TARGET_SUBDIR)/zlib && \
34063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34065 "RANLIB=$${RANLIB}" \
34066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34067 clean) \
34068 || exit 1
34070 @endif target-zlib
34072 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34073 maybe-distclean-target-zlib:
34074 @if target-zlib
34075 maybe-distclean-target-zlib: distclean-target-zlib
34077 distclean-target-zlib:
34078 @: $(MAKE); $(unstage)
34079 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34080 r=`${PWD_COMMAND}`; export r; \
34081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34082 $(NORMAL_TARGET_EXPORTS) \
34083 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34084 for flag in $(EXTRA_TARGET_FLAGS); do \
34085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34086 done; \
34087 (cd $(TARGET_SUBDIR)/zlib && \
34088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34090 "RANLIB=$${RANLIB}" \
34091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34092 distclean) \
34093 || exit 1
34095 @endif target-zlib
34097 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34098 maybe-maintainer-clean-target-zlib:
34099 @if target-zlib
34100 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34102 maintainer-clean-target-zlib:
34103 @: $(MAKE); $(unstage)
34104 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(NORMAL_TARGET_EXPORTS) \
34108 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34109 for flag in $(EXTRA_TARGET_FLAGS); do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 (cd $(TARGET_SUBDIR)/zlib && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34117 maintainer-clean) \
34118 || exit 1
34120 @endif target-zlib
34126 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34127 maybe-configure-target-boehm-gc:
34128 @if target-boehm-gc
34129 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34130 configure-target-boehm-gc:
34131 @: $(MAKE); $(unstage)
34132 @r=`${PWD_COMMAND}`; export r; \
34133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34134 echo "Checking multilib configuration for boehm-gc..."; \
34135 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34136 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34137 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34138 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34139 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34140 else \
34141 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34142 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34143 fi; \
34144 else \
34145 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34147 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34149 r=`${PWD_COMMAND}`; export r; \
34150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34151 $(NORMAL_TARGET_EXPORTS) \
34152 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34153 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34154 case $(srcdir) in \
34155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34156 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34158 esac; \
34159 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34160 libsrcdir="$$s/boehm-gc"; \
34161 rm -f no-such-file || : ; \
34162 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34163 $(TARGET_CONFIGARGS) $${srcdiroption} \
34164 || exit 1
34165 @endif target-boehm-gc
34171 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34172 maybe-all-target-boehm-gc:
34173 @if target-boehm-gc
34174 TARGET-target-boehm-gc=all
34175 maybe-all-target-boehm-gc: all-target-boehm-gc
34176 all-target-boehm-gc: configure-target-boehm-gc
34177 @: $(MAKE); $(unstage)
34178 @r=`${PWD_COMMAND}`; export r; \
34179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34180 $(NORMAL_TARGET_EXPORTS) \
34181 (cd $(TARGET_SUBDIR)/boehm-gc && \
34182 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34183 @endif target-boehm-gc
34189 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34190 maybe-check-target-boehm-gc:
34191 @if target-boehm-gc
34192 maybe-check-target-boehm-gc: check-target-boehm-gc
34194 check-target-boehm-gc:
34195 @: $(MAKE); $(unstage)
34196 @r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 $(NORMAL_TARGET_EXPORTS) \
34199 (cd $(TARGET_SUBDIR)/boehm-gc && \
34200 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34202 @endif target-boehm-gc
34204 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34205 maybe-install-target-boehm-gc:
34206 @if target-boehm-gc
34207 maybe-install-target-boehm-gc: install-target-boehm-gc
34209 install-target-boehm-gc: installdirs
34210 @: $(MAKE); $(unstage)
34211 @r=`${PWD_COMMAND}`; export r; \
34212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34213 $(NORMAL_TARGET_EXPORTS) \
34214 (cd $(TARGET_SUBDIR)/boehm-gc && \
34215 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34217 @endif target-boehm-gc
34219 # Other targets (info, dvi, etc.)
34221 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34222 maybe-info-target-boehm-gc:
34223 @if target-boehm-gc
34224 maybe-info-target-boehm-gc: info-target-boehm-gc
34226 info-target-boehm-gc: \
34227 configure-target-boehm-gc
34228 @: $(MAKE); $(unstage)
34229 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34230 r=`${PWD_COMMAND}`; export r; \
34231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34232 $(NORMAL_TARGET_EXPORTS) \
34233 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34234 for flag in $(EXTRA_TARGET_FLAGS); do \
34235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34236 done; \
34237 (cd $(TARGET_SUBDIR)/boehm-gc && \
34238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34240 "RANLIB=$${RANLIB}" \
34241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34242 info) \
34243 || exit 1
34245 @endif target-boehm-gc
34247 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34248 maybe-dvi-target-boehm-gc:
34249 @if target-boehm-gc
34250 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34252 dvi-target-boehm-gc: \
34253 configure-target-boehm-gc
34254 @: $(MAKE); $(unstage)
34255 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34256 r=`${PWD_COMMAND}`; export r; \
34257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34258 $(NORMAL_TARGET_EXPORTS) \
34259 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34260 for flag in $(EXTRA_TARGET_FLAGS); do \
34261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34262 done; \
34263 (cd $(TARGET_SUBDIR)/boehm-gc && \
34264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34266 "RANLIB=$${RANLIB}" \
34267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34268 dvi) \
34269 || exit 1
34271 @endif target-boehm-gc
34273 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34274 maybe-html-target-boehm-gc:
34275 @if target-boehm-gc
34276 maybe-html-target-boehm-gc: html-target-boehm-gc
34278 html-target-boehm-gc: \
34279 configure-target-boehm-gc
34280 @: $(MAKE); $(unstage)
34281 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34282 r=`${PWD_COMMAND}`; export r; \
34283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34284 $(NORMAL_TARGET_EXPORTS) \
34285 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34286 for flag in $(EXTRA_TARGET_FLAGS); do \
34287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34288 done; \
34289 (cd $(TARGET_SUBDIR)/boehm-gc && \
34290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34292 "RANLIB=$${RANLIB}" \
34293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34294 html) \
34295 || exit 1
34297 @endif target-boehm-gc
34299 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34300 maybe-TAGS-target-boehm-gc:
34301 @if target-boehm-gc
34302 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34304 TAGS-target-boehm-gc: \
34305 configure-target-boehm-gc
34306 @: $(MAKE); $(unstage)
34307 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34308 r=`${PWD_COMMAND}`; export r; \
34309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34310 $(NORMAL_TARGET_EXPORTS) \
34311 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34312 for flag in $(EXTRA_TARGET_FLAGS); do \
34313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34314 done; \
34315 (cd $(TARGET_SUBDIR)/boehm-gc && \
34316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34318 "RANLIB=$${RANLIB}" \
34319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34320 TAGS) \
34321 || exit 1
34323 @endif target-boehm-gc
34325 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34326 maybe-install-info-target-boehm-gc:
34327 @if target-boehm-gc
34328 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34330 install-info-target-boehm-gc: \
34331 configure-target-boehm-gc \
34332 info-target-boehm-gc
34333 @: $(MAKE); $(unstage)
34334 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34335 r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(NORMAL_TARGET_EXPORTS) \
34338 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34339 for flag in $(EXTRA_TARGET_FLAGS); do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 (cd $(TARGET_SUBDIR)/boehm-gc && \
34343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34345 "RANLIB=$${RANLIB}" \
34346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34347 install-info) \
34348 || exit 1
34350 @endif target-boehm-gc
34352 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34353 maybe-installcheck-target-boehm-gc:
34354 @if target-boehm-gc
34355 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34357 installcheck-target-boehm-gc: \
34358 configure-target-boehm-gc
34359 @: $(MAKE); $(unstage)
34360 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34361 r=`${PWD_COMMAND}`; export r; \
34362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34363 $(NORMAL_TARGET_EXPORTS) \
34364 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34365 for flag in $(EXTRA_TARGET_FLAGS); do \
34366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34367 done; \
34368 (cd $(TARGET_SUBDIR)/boehm-gc && \
34369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34371 "RANLIB=$${RANLIB}" \
34372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34373 installcheck) \
34374 || exit 1
34376 @endif target-boehm-gc
34378 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34379 maybe-mostlyclean-target-boehm-gc:
34380 @if target-boehm-gc
34381 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34383 mostlyclean-target-boehm-gc:
34384 @: $(MAKE); $(unstage)
34385 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34386 r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(NORMAL_TARGET_EXPORTS) \
34389 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34390 for flag in $(EXTRA_TARGET_FLAGS); do \
34391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34392 done; \
34393 (cd $(TARGET_SUBDIR)/boehm-gc && \
34394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34396 "RANLIB=$${RANLIB}" \
34397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34398 mostlyclean) \
34399 || exit 1
34401 @endif target-boehm-gc
34403 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34404 maybe-clean-target-boehm-gc:
34405 @if target-boehm-gc
34406 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34408 clean-target-boehm-gc:
34409 @: $(MAKE); $(unstage)
34410 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34411 r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 $(NORMAL_TARGET_EXPORTS) \
34414 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34415 for flag in $(EXTRA_TARGET_FLAGS); do \
34416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34417 done; \
34418 (cd $(TARGET_SUBDIR)/boehm-gc && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34421 "RANLIB=$${RANLIB}" \
34422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34423 clean) \
34424 || exit 1
34426 @endif target-boehm-gc
34428 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34429 maybe-distclean-target-boehm-gc:
34430 @if target-boehm-gc
34431 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34433 distclean-target-boehm-gc:
34434 @: $(MAKE); $(unstage)
34435 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34436 r=`${PWD_COMMAND}`; export r; \
34437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34438 $(NORMAL_TARGET_EXPORTS) \
34439 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34440 for flag in $(EXTRA_TARGET_FLAGS); do \
34441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34442 done; \
34443 (cd $(TARGET_SUBDIR)/boehm-gc && \
34444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34446 "RANLIB=$${RANLIB}" \
34447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34448 distclean) \
34449 || exit 1
34451 @endif target-boehm-gc
34453 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34454 maybe-maintainer-clean-target-boehm-gc:
34455 @if target-boehm-gc
34456 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34458 maintainer-clean-target-boehm-gc:
34459 @: $(MAKE); $(unstage)
34460 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34461 r=`${PWD_COMMAND}`; export r; \
34462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34463 $(NORMAL_TARGET_EXPORTS) \
34464 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34465 for flag in $(EXTRA_TARGET_FLAGS); do \
34466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34467 done; \
34468 (cd $(TARGET_SUBDIR)/boehm-gc && \
34469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34471 "RANLIB=$${RANLIB}" \
34472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34473 maintainer-clean) \
34474 || exit 1
34476 @endif target-boehm-gc
34482 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34483 maybe-configure-target-qthreads:
34484 @if target-qthreads
34485 maybe-configure-target-qthreads: configure-target-qthreads
34486 configure-target-qthreads:
34487 @: $(MAKE); $(unstage)
34488 @r=`${PWD_COMMAND}`; export r; \
34489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34490 echo "Checking multilib configuration for qthreads..."; \
34491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34492 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
34493 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34494 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34495 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
34496 else \
34497 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
34498 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34499 fi; \
34500 else \
34501 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34503 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34504 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34505 r=`${PWD_COMMAND}`; export r; \
34506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34507 $(NORMAL_TARGET_EXPORTS) \
34508 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34509 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34510 case $(srcdir) in \
34511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34512 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34514 esac; \
34515 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34516 libsrcdir="$$s/qthreads"; \
34517 rm -f no-such-file || : ; \
34518 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34519 $(TARGET_CONFIGARGS) $${srcdiroption} \
34520 || exit 1
34521 @endif target-qthreads
34527 .PHONY: all-target-qthreads maybe-all-target-qthreads
34528 maybe-all-target-qthreads:
34529 @if target-qthreads
34530 TARGET-target-qthreads=all
34531 maybe-all-target-qthreads: all-target-qthreads
34532 all-target-qthreads: configure-target-qthreads
34533 @: $(MAKE); $(unstage)
34534 @r=`${PWD_COMMAND}`; export r; \
34535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34536 $(NORMAL_TARGET_EXPORTS) \
34537 (cd $(TARGET_SUBDIR)/qthreads && \
34538 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34539 @endif target-qthreads
34545 .PHONY: check-target-qthreads maybe-check-target-qthreads
34546 maybe-check-target-qthreads:
34547 @if target-qthreads
34548 maybe-check-target-qthreads: check-target-qthreads
34550 check-target-qthreads:
34551 @: $(MAKE); $(unstage)
34552 @r=`${PWD_COMMAND}`; export r; \
34553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34554 $(NORMAL_TARGET_EXPORTS) \
34555 (cd $(TARGET_SUBDIR)/qthreads && \
34556 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34558 @endif target-qthreads
34560 .PHONY: install-target-qthreads maybe-install-target-qthreads
34561 maybe-install-target-qthreads:
34562 @if target-qthreads
34563 maybe-install-target-qthreads: install-target-qthreads
34565 install-target-qthreads: installdirs
34566 @: $(MAKE); $(unstage)
34567 @r=`${PWD_COMMAND}`; export r; \
34568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34569 $(NORMAL_TARGET_EXPORTS) \
34570 (cd $(TARGET_SUBDIR)/qthreads && \
34571 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34573 @endif target-qthreads
34575 # Other targets (info, dvi, etc.)
34577 .PHONY: maybe-info-target-qthreads info-target-qthreads
34578 maybe-info-target-qthreads:
34579 @if target-qthreads
34580 maybe-info-target-qthreads: info-target-qthreads
34582 info-target-qthreads: \
34583 configure-target-qthreads
34584 @: $(MAKE); $(unstage)
34585 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34586 r=`${PWD_COMMAND}`; export r; \
34587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34588 $(NORMAL_TARGET_EXPORTS) \
34589 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34590 for flag in $(EXTRA_TARGET_FLAGS); do \
34591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34592 done; \
34593 (cd $(TARGET_SUBDIR)/qthreads && \
34594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34596 "RANLIB=$${RANLIB}" \
34597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34598 info) \
34599 || exit 1
34601 @endif target-qthreads
34603 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34604 maybe-dvi-target-qthreads:
34605 @if target-qthreads
34606 maybe-dvi-target-qthreads: dvi-target-qthreads
34608 dvi-target-qthreads: \
34609 configure-target-qthreads
34610 @: $(MAKE); $(unstage)
34611 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34616 for flag in $(EXTRA_TARGET_FLAGS); do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 (cd $(TARGET_SUBDIR)/qthreads && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34624 dvi) \
34625 || exit 1
34627 @endif target-qthreads
34629 .PHONY: maybe-html-target-qthreads html-target-qthreads
34630 maybe-html-target-qthreads:
34631 @if target-qthreads
34632 maybe-html-target-qthreads: html-target-qthreads
34634 html-target-qthreads: \
34635 configure-target-qthreads
34636 @: $(MAKE); $(unstage)
34637 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34638 r=`${PWD_COMMAND}`; export r; \
34639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34640 $(NORMAL_TARGET_EXPORTS) \
34641 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34642 for flag in $(EXTRA_TARGET_FLAGS); do \
34643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34644 done; \
34645 (cd $(TARGET_SUBDIR)/qthreads && \
34646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34648 "RANLIB=$${RANLIB}" \
34649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34650 html) \
34651 || exit 1
34653 @endif target-qthreads
34655 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34656 maybe-TAGS-target-qthreads:
34657 @if target-qthreads
34658 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34660 TAGS-target-qthreads: \
34661 configure-target-qthreads
34662 @: $(MAKE); $(unstage)
34663 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34664 r=`${PWD_COMMAND}`; export r; \
34665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34666 $(NORMAL_TARGET_EXPORTS) \
34667 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34668 for flag in $(EXTRA_TARGET_FLAGS); do \
34669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34670 done; \
34671 (cd $(TARGET_SUBDIR)/qthreads && \
34672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34674 "RANLIB=$${RANLIB}" \
34675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34676 TAGS) \
34677 || exit 1
34679 @endif target-qthreads
34681 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34682 maybe-install-info-target-qthreads:
34683 @if target-qthreads
34684 maybe-install-info-target-qthreads: install-info-target-qthreads
34686 install-info-target-qthreads: \
34687 configure-target-qthreads \
34688 info-target-qthreads
34689 @: $(MAKE); $(unstage)
34690 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34691 r=`${PWD_COMMAND}`; export r; \
34692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34693 $(NORMAL_TARGET_EXPORTS) \
34694 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34695 for flag in $(EXTRA_TARGET_FLAGS); do \
34696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34697 done; \
34698 (cd $(TARGET_SUBDIR)/qthreads && \
34699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34701 "RANLIB=$${RANLIB}" \
34702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34703 install-info) \
34704 || exit 1
34706 @endif target-qthreads
34708 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34709 maybe-installcheck-target-qthreads:
34710 @if target-qthreads
34711 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34713 installcheck-target-qthreads: \
34714 configure-target-qthreads
34715 @: $(MAKE); $(unstage)
34716 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34717 r=`${PWD_COMMAND}`; export r; \
34718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34719 $(NORMAL_TARGET_EXPORTS) \
34720 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34721 for flag in $(EXTRA_TARGET_FLAGS); do \
34722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34723 done; \
34724 (cd $(TARGET_SUBDIR)/qthreads && \
34725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34727 "RANLIB=$${RANLIB}" \
34728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34729 installcheck) \
34730 || exit 1
34732 @endif target-qthreads
34734 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34735 maybe-mostlyclean-target-qthreads:
34736 @if target-qthreads
34737 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34739 mostlyclean-target-qthreads:
34740 @: $(MAKE); $(unstage)
34741 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34742 r=`${PWD_COMMAND}`; export r; \
34743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34744 $(NORMAL_TARGET_EXPORTS) \
34745 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34746 for flag in $(EXTRA_TARGET_FLAGS); do \
34747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34748 done; \
34749 (cd $(TARGET_SUBDIR)/qthreads && \
34750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34752 "RANLIB=$${RANLIB}" \
34753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34754 mostlyclean) \
34755 || exit 1
34757 @endif target-qthreads
34759 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34760 maybe-clean-target-qthreads:
34761 @if target-qthreads
34762 maybe-clean-target-qthreads: clean-target-qthreads
34764 clean-target-qthreads:
34765 @: $(MAKE); $(unstage)
34766 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34767 r=`${PWD_COMMAND}`; export r; \
34768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34769 $(NORMAL_TARGET_EXPORTS) \
34770 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34771 for flag in $(EXTRA_TARGET_FLAGS); do \
34772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34773 done; \
34774 (cd $(TARGET_SUBDIR)/qthreads && \
34775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34777 "RANLIB=$${RANLIB}" \
34778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34779 clean) \
34780 || exit 1
34782 @endif target-qthreads
34784 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34785 maybe-distclean-target-qthreads:
34786 @if target-qthreads
34787 maybe-distclean-target-qthreads: distclean-target-qthreads
34789 distclean-target-qthreads:
34790 @: $(MAKE); $(unstage)
34791 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34792 r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(NORMAL_TARGET_EXPORTS) \
34795 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34796 for flag in $(EXTRA_TARGET_FLAGS); do \
34797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34798 done; \
34799 (cd $(TARGET_SUBDIR)/qthreads && \
34800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34802 "RANLIB=$${RANLIB}" \
34803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34804 distclean) \
34805 || exit 1
34807 @endif target-qthreads
34809 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34810 maybe-maintainer-clean-target-qthreads:
34811 @if target-qthreads
34812 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34814 maintainer-clean-target-qthreads:
34815 @: $(MAKE); $(unstage)
34816 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34817 r=`${PWD_COMMAND}`; export r; \
34818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34819 $(NORMAL_TARGET_EXPORTS) \
34820 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34821 for flag in $(EXTRA_TARGET_FLAGS); do \
34822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34823 done; \
34824 (cd $(TARGET_SUBDIR)/qthreads && \
34825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34827 "RANLIB=$${RANLIB}" \
34828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34829 maintainer-clean) \
34830 || exit 1
34832 @endif target-qthreads
34838 .PHONY: configure-target-rda maybe-configure-target-rda
34839 maybe-configure-target-rda:
34840 @if target-rda
34841 maybe-configure-target-rda: configure-target-rda
34842 configure-target-rda:
34843 @: $(MAKE); $(unstage)
34844 @r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 echo "Checking multilib configuration for rda..."; \
34847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
34849 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
34850 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
34851 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
34852 else \
34853 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
34854 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34855 fi; \
34856 else \
34857 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34859 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34861 r=`${PWD_COMMAND}`; export r; \
34862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 $(NORMAL_TARGET_EXPORTS) \
34864 echo Configuring in $(TARGET_SUBDIR)/rda; \
34865 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34866 case $(srcdir) in \
34867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34868 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34870 esac; \
34871 srcdiroption="--srcdir=$${topdir}/rda"; \
34872 libsrcdir="$$s/rda"; \
34873 rm -f no-such-file || : ; \
34874 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34875 $(TARGET_CONFIGARGS) $${srcdiroption} \
34876 || exit 1
34877 @endif target-rda
34883 .PHONY: all-target-rda maybe-all-target-rda
34884 maybe-all-target-rda:
34885 @if target-rda
34886 TARGET-target-rda=all
34887 maybe-all-target-rda: all-target-rda
34888 all-target-rda: configure-target-rda
34889 @: $(MAKE); $(unstage)
34890 @r=`${PWD_COMMAND}`; export r; \
34891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34892 $(NORMAL_TARGET_EXPORTS) \
34893 (cd $(TARGET_SUBDIR)/rda && \
34894 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34895 @endif target-rda
34901 .PHONY: check-target-rda maybe-check-target-rda
34902 maybe-check-target-rda:
34903 @if target-rda
34904 maybe-check-target-rda: check-target-rda
34906 check-target-rda:
34907 @: $(MAKE); $(unstage)
34908 @r=`${PWD_COMMAND}`; export r; \
34909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34910 $(NORMAL_TARGET_EXPORTS) \
34911 (cd $(TARGET_SUBDIR)/rda && \
34912 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34914 @endif target-rda
34916 .PHONY: install-target-rda maybe-install-target-rda
34917 maybe-install-target-rda:
34918 @if target-rda
34919 maybe-install-target-rda: install-target-rda
34921 install-target-rda: installdirs
34922 @: $(MAKE); $(unstage)
34923 @r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(NORMAL_TARGET_EXPORTS) \
34926 (cd $(TARGET_SUBDIR)/rda && \
34927 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34929 @endif target-rda
34931 # Other targets (info, dvi, etc.)
34933 .PHONY: maybe-info-target-rda info-target-rda
34934 maybe-info-target-rda:
34935 @if target-rda
34936 maybe-info-target-rda: info-target-rda
34938 info-target-rda: \
34939 configure-target-rda
34940 @: $(MAKE); $(unstage)
34941 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34942 r=`${PWD_COMMAND}`; export r; \
34943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34944 $(NORMAL_TARGET_EXPORTS) \
34945 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34946 for flag in $(EXTRA_TARGET_FLAGS); do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34948 done; \
34949 (cd $(TARGET_SUBDIR)/rda && \
34950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34952 "RANLIB=$${RANLIB}" \
34953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34954 info) \
34955 || exit 1
34957 @endif target-rda
34959 .PHONY: maybe-dvi-target-rda dvi-target-rda
34960 maybe-dvi-target-rda:
34961 @if target-rda
34962 maybe-dvi-target-rda: dvi-target-rda
34964 dvi-target-rda: \
34965 configure-target-rda
34966 @: $(MAKE); $(unstage)
34967 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34968 r=`${PWD_COMMAND}`; export r; \
34969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34970 $(NORMAL_TARGET_EXPORTS) \
34971 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34972 for flag in $(EXTRA_TARGET_FLAGS); do \
34973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34974 done; \
34975 (cd $(TARGET_SUBDIR)/rda && \
34976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34978 "RANLIB=$${RANLIB}" \
34979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34980 dvi) \
34981 || exit 1
34983 @endif target-rda
34985 .PHONY: maybe-html-target-rda html-target-rda
34986 maybe-html-target-rda:
34987 @if target-rda
34988 maybe-html-target-rda: html-target-rda
34990 html-target-rda: \
34991 configure-target-rda
34992 @: $(MAKE); $(unstage)
34993 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34994 r=`${PWD_COMMAND}`; export r; \
34995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34996 $(NORMAL_TARGET_EXPORTS) \
34997 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34998 for flag in $(EXTRA_TARGET_FLAGS); do \
34999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35000 done; \
35001 (cd $(TARGET_SUBDIR)/rda && \
35002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35004 "RANLIB=$${RANLIB}" \
35005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35006 html) \
35007 || exit 1
35009 @endif target-rda
35011 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35012 maybe-TAGS-target-rda:
35013 @if target-rda
35014 maybe-TAGS-target-rda: TAGS-target-rda
35016 TAGS-target-rda: \
35017 configure-target-rda
35018 @: $(MAKE); $(unstage)
35019 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35020 r=`${PWD_COMMAND}`; export r; \
35021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35022 $(NORMAL_TARGET_EXPORTS) \
35023 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35024 for flag in $(EXTRA_TARGET_FLAGS); do \
35025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35026 done; \
35027 (cd $(TARGET_SUBDIR)/rda && \
35028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35030 "RANLIB=$${RANLIB}" \
35031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35032 TAGS) \
35033 || exit 1
35035 @endif target-rda
35037 .PHONY: maybe-install-info-target-rda install-info-target-rda
35038 maybe-install-info-target-rda:
35039 @if target-rda
35040 maybe-install-info-target-rda: install-info-target-rda
35042 install-info-target-rda: \
35043 configure-target-rda \
35044 info-target-rda
35045 @: $(MAKE); $(unstage)
35046 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35047 r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 $(NORMAL_TARGET_EXPORTS) \
35050 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35051 for flag in $(EXTRA_TARGET_FLAGS); do \
35052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35053 done; \
35054 (cd $(TARGET_SUBDIR)/rda && \
35055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35057 "RANLIB=$${RANLIB}" \
35058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35059 install-info) \
35060 || exit 1
35062 @endif target-rda
35064 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35065 maybe-installcheck-target-rda:
35066 @if target-rda
35067 maybe-installcheck-target-rda: installcheck-target-rda
35069 installcheck-target-rda: \
35070 configure-target-rda
35071 @: $(MAKE); $(unstage)
35072 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35073 r=`${PWD_COMMAND}`; export r; \
35074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35075 $(NORMAL_TARGET_EXPORTS) \
35076 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35077 for flag in $(EXTRA_TARGET_FLAGS); do \
35078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35079 done; \
35080 (cd $(TARGET_SUBDIR)/rda && \
35081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35083 "RANLIB=$${RANLIB}" \
35084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35085 installcheck) \
35086 || exit 1
35088 @endif target-rda
35090 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35091 maybe-mostlyclean-target-rda:
35092 @if target-rda
35093 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35095 mostlyclean-target-rda:
35096 @: $(MAKE); $(unstage)
35097 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35098 r=`${PWD_COMMAND}`; export r; \
35099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35100 $(NORMAL_TARGET_EXPORTS) \
35101 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35102 for flag in $(EXTRA_TARGET_FLAGS); do \
35103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35104 done; \
35105 (cd $(TARGET_SUBDIR)/rda && \
35106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35108 "RANLIB=$${RANLIB}" \
35109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35110 mostlyclean) \
35111 || exit 1
35113 @endif target-rda
35115 .PHONY: maybe-clean-target-rda clean-target-rda
35116 maybe-clean-target-rda:
35117 @if target-rda
35118 maybe-clean-target-rda: clean-target-rda
35120 clean-target-rda:
35121 @: $(MAKE); $(unstage)
35122 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35123 r=`${PWD_COMMAND}`; export r; \
35124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35125 $(NORMAL_TARGET_EXPORTS) \
35126 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35127 for flag in $(EXTRA_TARGET_FLAGS); do \
35128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35129 done; \
35130 (cd $(TARGET_SUBDIR)/rda && \
35131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35133 "RANLIB=$${RANLIB}" \
35134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35135 clean) \
35136 || exit 1
35138 @endif target-rda
35140 .PHONY: maybe-distclean-target-rda distclean-target-rda
35141 maybe-distclean-target-rda:
35142 @if target-rda
35143 maybe-distclean-target-rda: distclean-target-rda
35145 distclean-target-rda:
35146 @: $(MAKE); $(unstage)
35147 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35148 r=`${PWD_COMMAND}`; export r; \
35149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35150 $(NORMAL_TARGET_EXPORTS) \
35151 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35152 for flag in $(EXTRA_TARGET_FLAGS); do \
35153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35154 done; \
35155 (cd $(TARGET_SUBDIR)/rda && \
35156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35158 "RANLIB=$${RANLIB}" \
35159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35160 distclean) \
35161 || exit 1
35163 @endif target-rda
35165 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35166 maybe-maintainer-clean-target-rda:
35167 @if target-rda
35168 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35170 maintainer-clean-target-rda:
35171 @: $(MAKE); $(unstage)
35172 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35173 r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 $(NORMAL_TARGET_EXPORTS) \
35176 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35177 for flag in $(EXTRA_TARGET_FLAGS); do \
35178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35179 done; \
35180 (cd $(TARGET_SUBDIR)/rda && \
35181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35183 "RANLIB=$${RANLIB}" \
35184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35185 maintainer-clean) \
35186 || exit 1
35188 @endif target-rda
35194 .PHONY: configure-target-libada maybe-configure-target-libada
35195 maybe-configure-target-libada:
35196 @if target-libada
35197 maybe-configure-target-libada: configure-target-libada
35198 configure-target-libada:
35199 @: $(MAKE); $(unstage)
35200 @r=`${PWD_COMMAND}`; export r; \
35201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35202 echo "Checking multilib configuration for libada..."; \
35203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35204 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35205 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35206 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35207 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35208 else \
35209 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35210 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35211 fi; \
35212 else \
35213 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35215 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35217 r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(NORMAL_TARGET_EXPORTS) \
35220 echo Configuring in $(TARGET_SUBDIR)/libada; \
35221 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35222 case $(srcdir) in \
35223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35224 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35226 esac; \
35227 srcdiroption="--srcdir=$${topdir}/libada"; \
35228 libsrcdir="$$s/libada"; \
35229 rm -f no-such-file || : ; \
35230 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35231 $(TARGET_CONFIGARGS) $${srcdiroption} \
35232 || exit 1
35233 @endif target-libada
35239 .PHONY: all-target-libada maybe-all-target-libada
35240 maybe-all-target-libada:
35241 @if target-libada
35242 TARGET-target-libada=all
35243 maybe-all-target-libada: all-target-libada
35244 all-target-libada: configure-target-libada
35245 @: $(MAKE); $(unstage)
35246 @r=`${PWD_COMMAND}`; export r; \
35247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35248 $(NORMAL_TARGET_EXPORTS) \
35249 (cd $(TARGET_SUBDIR)/libada && \
35250 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35251 @endif target-libada
35257 .PHONY: check-target-libada maybe-check-target-libada
35258 maybe-check-target-libada:
35259 @if target-libada
35260 maybe-check-target-libada: check-target-libada
35262 check-target-libada:
35263 @: $(MAKE); $(unstage)
35264 @r=`${PWD_COMMAND}`; export r; \
35265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35266 $(NORMAL_TARGET_EXPORTS) \
35267 (cd $(TARGET_SUBDIR)/libada && \
35268 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35270 @endif target-libada
35272 .PHONY: install-target-libada maybe-install-target-libada
35273 maybe-install-target-libada:
35274 @if target-libada
35275 maybe-install-target-libada: install-target-libada
35277 install-target-libada: installdirs
35278 @: $(MAKE); $(unstage)
35279 @r=`${PWD_COMMAND}`; export r; \
35280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35281 $(NORMAL_TARGET_EXPORTS) \
35282 (cd $(TARGET_SUBDIR)/libada && \
35283 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35285 @endif target-libada
35287 # Other targets (info, dvi, etc.)
35289 .PHONY: maybe-info-target-libada info-target-libada
35290 maybe-info-target-libada:
35291 @if target-libada
35292 maybe-info-target-libada: info-target-libada
35294 info-target-libada: \
35295 configure-target-libada
35296 @: $(MAKE); $(unstage)
35297 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35298 r=`${PWD_COMMAND}`; export r; \
35299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35300 $(NORMAL_TARGET_EXPORTS) \
35301 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35302 for flag in $(EXTRA_TARGET_FLAGS); do \
35303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35304 done; \
35305 (cd $(TARGET_SUBDIR)/libada && \
35306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35308 "RANLIB=$${RANLIB}" \
35309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35310 info) \
35311 || exit 1
35313 @endif target-libada
35315 .PHONY: maybe-dvi-target-libada dvi-target-libada
35316 maybe-dvi-target-libada:
35317 @if target-libada
35318 maybe-dvi-target-libada: dvi-target-libada
35320 dvi-target-libada: \
35321 configure-target-libada
35322 @: $(MAKE); $(unstage)
35323 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35324 r=`${PWD_COMMAND}`; export r; \
35325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35326 $(NORMAL_TARGET_EXPORTS) \
35327 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35328 for flag in $(EXTRA_TARGET_FLAGS); do \
35329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35330 done; \
35331 (cd $(TARGET_SUBDIR)/libada && \
35332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35334 "RANLIB=$${RANLIB}" \
35335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35336 dvi) \
35337 || exit 1
35339 @endif target-libada
35341 .PHONY: maybe-html-target-libada html-target-libada
35342 maybe-html-target-libada:
35343 @if target-libada
35344 maybe-html-target-libada: html-target-libada
35346 html-target-libada: \
35347 configure-target-libada
35348 @: $(MAKE); $(unstage)
35349 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35350 r=`${PWD_COMMAND}`; export r; \
35351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35352 $(NORMAL_TARGET_EXPORTS) \
35353 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35354 for flag in $(EXTRA_TARGET_FLAGS); do \
35355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35356 done; \
35357 (cd $(TARGET_SUBDIR)/libada && \
35358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35360 "RANLIB=$${RANLIB}" \
35361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35362 html) \
35363 || exit 1
35365 @endif target-libada
35367 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35368 maybe-TAGS-target-libada:
35369 @if target-libada
35370 maybe-TAGS-target-libada: TAGS-target-libada
35372 TAGS-target-libada: \
35373 configure-target-libada
35374 @: $(MAKE); $(unstage)
35375 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35376 r=`${PWD_COMMAND}`; export r; \
35377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35378 $(NORMAL_TARGET_EXPORTS) \
35379 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35380 for flag in $(EXTRA_TARGET_FLAGS); do \
35381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35382 done; \
35383 (cd $(TARGET_SUBDIR)/libada && \
35384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35386 "RANLIB=$${RANLIB}" \
35387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35388 TAGS) \
35389 || exit 1
35391 @endif target-libada
35393 .PHONY: maybe-install-info-target-libada install-info-target-libada
35394 maybe-install-info-target-libada:
35395 @if target-libada
35396 maybe-install-info-target-libada: install-info-target-libada
35398 install-info-target-libada: \
35399 configure-target-libada \
35400 info-target-libada
35401 @: $(MAKE); $(unstage)
35402 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35403 r=`${PWD_COMMAND}`; export r; \
35404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35405 $(NORMAL_TARGET_EXPORTS) \
35406 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35407 for flag in $(EXTRA_TARGET_FLAGS); do \
35408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35409 done; \
35410 (cd $(TARGET_SUBDIR)/libada && \
35411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35413 "RANLIB=$${RANLIB}" \
35414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35415 install-info) \
35416 || exit 1
35418 @endif target-libada
35420 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35421 maybe-installcheck-target-libada:
35422 @if target-libada
35423 maybe-installcheck-target-libada: installcheck-target-libada
35425 installcheck-target-libada: \
35426 configure-target-libada
35427 @: $(MAKE); $(unstage)
35428 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35429 r=`${PWD_COMMAND}`; export r; \
35430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35431 $(NORMAL_TARGET_EXPORTS) \
35432 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35433 for flag in $(EXTRA_TARGET_FLAGS); do \
35434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35435 done; \
35436 (cd $(TARGET_SUBDIR)/libada && \
35437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35439 "RANLIB=$${RANLIB}" \
35440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35441 installcheck) \
35442 || exit 1
35444 @endif target-libada
35446 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35447 maybe-mostlyclean-target-libada:
35448 @if target-libada
35449 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35451 mostlyclean-target-libada:
35452 @: $(MAKE); $(unstage)
35453 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35454 r=`${PWD_COMMAND}`; export r; \
35455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35456 $(NORMAL_TARGET_EXPORTS) \
35457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35458 for flag in $(EXTRA_TARGET_FLAGS); do \
35459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35460 done; \
35461 (cd $(TARGET_SUBDIR)/libada && \
35462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35464 "RANLIB=$${RANLIB}" \
35465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35466 mostlyclean) \
35467 || exit 1
35469 @endif target-libada
35471 .PHONY: maybe-clean-target-libada clean-target-libada
35472 maybe-clean-target-libada:
35473 @if target-libada
35474 maybe-clean-target-libada: clean-target-libada
35476 clean-target-libada:
35477 @: $(MAKE); $(unstage)
35478 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35479 r=`${PWD_COMMAND}`; export r; \
35480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35481 $(NORMAL_TARGET_EXPORTS) \
35482 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35483 for flag in $(EXTRA_TARGET_FLAGS); do \
35484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35485 done; \
35486 (cd $(TARGET_SUBDIR)/libada && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35489 "RANLIB=$${RANLIB}" \
35490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35491 clean) \
35492 || exit 1
35494 @endif target-libada
35496 .PHONY: maybe-distclean-target-libada distclean-target-libada
35497 maybe-distclean-target-libada:
35498 @if target-libada
35499 maybe-distclean-target-libada: distclean-target-libada
35501 distclean-target-libada:
35502 @: $(MAKE); $(unstage)
35503 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35504 r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 $(NORMAL_TARGET_EXPORTS) \
35507 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35508 for flag in $(EXTRA_TARGET_FLAGS); do \
35509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35510 done; \
35511 (cd $(TARGET_SUBDIR)/libada && \
35512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35514 "RANLIB=$${RANLIB}" \
35515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35516 distclean) \
35517 || exit 1
35519 @endif target-libada
35521 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35522 maybe-maintainer-clean-target-libada:
35523 @if target-libada
35524 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35526 maintainer-clean-target-libada:
35527 @: $(MAKE); $(unstage)
35528 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35529 r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(NORMAL_TARGET_EXPORTS) \
35532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35533 for flag in $(EXTRA_TARGET_FLAGS); do \
35534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35535 done; \
35536 (cd $(TARGET_SUBDIR)/libada && \
35537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35539 "RANLIB=$${RANLIB}" \
35540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35541 maintainer-clean) \
35542 || exit 1
35544 @endif target-libada
35548 # ----------
35549 # GCC module
35550 # ----------
35552 @if gcc-no-bootstrap
35553 # GCC has some more recursive targets, which trigger the old
35554 # (but still current, until the toplevel bootstrap project
35555 # is finished) compiler bootstrapping rules.
35557 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35558 .PHONY: $(GCC_STRAP_TARGETS)
35559 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35560 @r=`${PWD_COMMAND}`; export r; \
35561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35562 $(HOST_EXPORTS) \
35563 echo "Bootstrapping the compiler"; \
35564 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35565 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35566 @r=`${PWD_COMMAND}`; export r; \
35567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35568 case "$@" in \
35569 *bootstrap4-lean ) \
35570 msg="Comparing stage3 and stage4 of the compiler"; \
35571 compare=compare3-lean ;; \
35572 *bootstrap4 ) \
35573 msg="Comparing stage3 and stage4 of the compiler"; \
35574 compare=compare3 ;; \
35575 *-lean ) \
35576 msg="Comparing stage2 and stage3 of the compiler"; \
35577 compare=compare-lean ;; \
35578 * ) \
35579 msg="Comparing stage2 and stage3 of the compiler"; \
35580 compare=compare ;; \
35581 esac; \
35582 $(HOST_EXPORTS) \
35583 echo "$$msg"; \
35584 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35585 @r=`${PWD_COMMAND}`; export r; \
35586 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35587 echo "Building runtime libraries"; \
35588 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35590 profiledbootstrap: all-prebootstrap configure-gcc
35591 @r=`${PWD_COMMAND}`; export r; \
35592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35593 $(HOST_EXPORTS) \
35594 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35595 echo "Bootstrapping training compiler"; \
35596 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35597 @r=`${PWD_COMMAND}`; export r; \
35598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35599 $(HOST_EXPORTS) \
35600 echo "Building feedback based compiler"; \
35601 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35602 @r=`${PWD_COMMAND}`; export r; \
35603 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35604 echo "Building runtime libraries"; \
35605 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35607 .PHONY: cross
35608 cross: all-build all-gas all-ld
35609 @r=`${PWD_COMMAND}`; export r; \
35610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35611 $(HOST_EXPORTS) \
35612 echo "Building the C and C++ compiler"; \
35613 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35614 @r=`${PWD_COMMAND}`; export r; \
35615 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35616 echo "Building runtime libraries"; \
35617 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35618 @endif gcc-no-bootstrap
35620 @if gcc
35621 .PHONY: check-gcc-c++
35622 check-gcc-c++:
35623 @if [ -f ./gcc/Makefile ] ; then \
35624 r=`${PWD_COMMAND}`; export r; \
35625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35626 $(HOST_EXPORTS) \
35627 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35628 else \
35629 true; \
35632 .PHONY: check-c++
35633 check-c++: check-target-libstdc++-v3 check-gcc-c++
35635 # Install the gcc headers files, but not the fixed include files,
35636 # which Cygnus is not allowed to distribute. This rule is very
35637 # dependent on the workings of the gcc Makefile.in.
35638 .PHONY: gcc-no-fixedincludes
35639 gcc-no-fixedincludes:
35640 @if [ -f ./gcc/Makefile ]; then \
35641 rm -rf gcc/tmp-include; \
35642 mv gcc/include gcc/tmp-include 2>/dev/null; \
35643 mkdir gcc/include; \
35644 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35645 touch gcc/stmp-fixinc gcc/include/fixed; \
35646 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35647 r=`${PWD_COMMAND}`; export r; \
35648 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35649 $(HOST_EXPORTS) \
35650 (cd ./gcc && \
35651 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35652 rm -rf gcc/include; \
35653 mv gcc/tmp-include gcc/include 2>/dev/null; \
35654 else true; fi
35655 @endif gcc
35657 # ---------------------
35658 # GCC bootstrap support
35659 # ---------------------
35661 # We track the current stage (the one in 'gcc') in the stage_current file.
35662 # stage_last instead tracks the stage that was built last. These targets
35663 # are dummy when toplevel bootstrap is not active.
35665 # While making host and target tools, symlinks to the final stage must be
35666 # there, so $(unstage) should be run at various points. To avoid excessive
35667 # recursive invocations of make, we "inline" them using a variable. These
35668 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
35669 # to avoid warnings from the GNU Make job server.
35671 unstage = :
35672 stage = :
35674 @if gcc-bootstrap
35675 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35676 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
35677 @endif gcc-bootstrap
35679 .PHONY: unstage stage
35680 unstage:
35681 @: $(MAKE); $(unstage)
35682 stage:
35683 @: $(MAKE); $(stage)
35685 # Disable commands for lean bootstrap.
35686 LEAN = false
35688 # We name the build directories for the various stages "stage1-gcc",
35689 # "stage2-gcc","stage3-gcc", etc.
35691 # Since the 'compare' process will fail (on debugging information) if any
35692 # directory names are different, we need to link the gcc directory for
35693 # the previous stage to a constant name ('prev-gcc'), and to make the name of
35694 # the build directories constant as well. For the latter, we use naked names
35695 # like 'gcc', because the scripts in that directory assume it. We use
35696 # mv on platforms where symlinks to directories do not work or are not
35697 # reliable.
35699 # 'touch' doesn't work right on some platforms.
35700 STAMP = echo timestamp >
35702 # Only build the C compiler for stage1, because that is the only one that
35703 # we can guarantee will build with the native compiler, and also it is the
35704 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35705 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35706 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35708 STAGE1_CFLAGS=@stage1_cflags@
35709 STAGE1_LANGUAGES=@stage1_languages@
35711 # We only want to compare .o files, so set this!
35712 objext = .o
35714 # Flags to pass to stage2 and later makes.
35715 POSTSTAGE1_FLAGS_TO_PASS = \
35716 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35717 STAGE_PREFIX=$$r/prev-gcc/ \
35718 CFLAGS="$(BOOT_CFLAGS)" \
35719 LDFLAGS="$(BOOT_LDFLAGS)" \
35720 ADAC="\$$(CC)"
35722 # For stage 1:
35723 # * We force-disable intermodule optimizations, even if
35724 # --enable-intermodule was passed, since the installed compiler probably
35725 # can't handle them. Luckily, autoconf always respects
35726 # the last argument when conflicting --enable arguments are passed.
35727 # * Likewise, we force-disable coverage flags, since the installed compiler
35728 # probably has never heard of them.
35729 # * We build only C (and possibly Ada).
35732 .PHONY: stage1-start stage1-end
35734 stage1-start::
35735 @: $(MAKE); $(stage); \
35736 echo stage1 > stage_current ; \
35737 echo stage1 > stage_last; \
35738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35739 @if bfd
35740 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35741 mkdir stage1-bfd; \
35742 mv stage1-bfd bfd
35743 @endif bfd
35744 @if opcodes
35745 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35746 mkdir stage1-opcodes; \
35747 mv stage1-opcodes opcodes
35748 @endif opcodes
35749 @if binutils
35750 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35751 mkdir stage1-binutils; \
35752 mv stage1-binutils binutils
35753 @endif binutils
35754 @if gas
35755 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35756 mkdir stage1-gas; \
35757 mv stage1-gas gas
35758 @endif gas
35759 @if gcc
35760 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35761 mkdir stage1-gcc; \
35762 mv stage1-gcc gcc
35763 @endif gcc
35764 @if intl
35765 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35766 mkdir stage1-intl; \
35767 mv stage1-intl intl
35768 @endif intl
35769 @if ld
35770 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35771 mkdir stage1-ld; \
35772 mv stage1-ld ld
35773 @endif ld
35774 @if libcpp
35775 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35776 mkdir stage1-libcpp; \
35777 mv stage1-libcpp libcpp
35778 @endif libcpp
35779 @if libdecnumber
35780 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
35781 mkdir stage1-libdecnumber; \
35782 mv stage1-libdecnumber libdecnumber
35783 @endif libdecnumber
35784 @if libiberty
35785 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35786 mkdir stage1-libiberty; \
35787 mv stage1-libiberty libiberty
35788 @endif libiberty
35789 @if zlib
35790 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35791 mkdir stage1-zlib; \
35792 mv stage1-zlib zlib
35793 @endif zlib
35794 @[ -d stage1-$(TARGET_SUBDIR) ] || \
35795 mkdir stage1-$(TARGET_SUBDIR); \
35796 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
35798 stage1-end::
35799 @if bfd
35800 @if test -d $(HOST_SUBDIR)/bfd ; then \
35801 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
35803 @endif bfd
35804 @if opcodes
35805 @if test -d $(HOST_SUBDIR)/opcodes ; then \
35806 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
35808 @endif opcodes
35809 @if binutils
35810 @if test -d $(HOST_SUBDIR)/binutils ; then \
35811 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
35813 @endif binutils
35814 @if gas
35815 @if test -d $(HOST_SUBDIR)/gas ; then \
35816 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
35818 @endif gas
35819 @if gcc
35820 @if test -d $(HOST_SUBDIR)/gcc ; then \
35821 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
35823 @endif gcc
35824 @if intl
35825 @if test -d $(HOST_SUBDIR)/intl ; then \
35826 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
35828 @endif intl
35829 @if ld
35830 @if test -d $(HOST_SUBDIR)/ld ; then \
35831 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
35833 @endif ld
35834 @if libcpp
35835 @if test -d $(HOST_SUBDIR)/libcpp ; then \
35836 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
35838 @endif libcpp
35839 @if libdecnumber
35840 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
35841 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
35843 @endif libdecnumber
35844 @if libiberty
35845 @if test -d $(HOST_SUBDIR)/libiberty ; then \
35846 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
35848 @endif libiberty
35849 @if zlib
35850 @if test -d $(HOST_SUBDIR)/zlib ; then \
35851 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
35853 @endif zlib
35854 @if test -d $(TARGET_SUBDIR) ; then \
35855 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
35857 rm -f stage_current
35859 # Bubble a bugfix through all the stages up to stage 1. They are
35860 # remade, but not reconfigured. The next stage (if any) will not be
35861 # reconfigured as well.
35862 .PHONY: stage1-bubble
35863 stage1-bubble::
35864 @r=`${PWD_COMMAND}`; export r; \
35865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35866 if test -f stage1-lean ; then \
35867 echo Skipping rebuild of stage1 ; \
35868 else \
35869 $(MAKE) stage1-start; \
35870 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35873 .PHONY: all-stage1 clean-stage1
35874 do-clean: clean-stage1
35876 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35877 # only possibility, but now it conflicts with no-bootstrap rules
35878 @if gcc-bootstrap
35883 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35885 .PHONY: distclean-stage1
35886 distclean-stage1::
35887 @: $(MAKE); $(stage)
35888 rm -rf stage1-*
35891 @endif gcc-bootstrap
35894 .PHONY: stage2-start stage2-end
35896 stage2-start::
35897 @: $(MAKE); $(stage); \
35898 echo stage2 > stage_current ; \
35899 echo stage2 > stage_last; \
35900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35901 @if bfd
35902 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35903 mkdir stage2-bfd; \
35904 mv stage2-bfd bfd ; \
35905 mv stage1-bfd prev-bfd || test -f stage1-lean
35906 @endif bfd
35907 @if opcodes
35908 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35909 mkdir stage2-opcodes; \
35910 mv stage2-opcodes opcodes ; \
35911 mv stage1-opcodes prev-opcodes || test -f stage1-lean
35912 @endif opcodes
35913 @if binutils
35914 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35915 mkdir stage2-binutils; \
35916 mv stage2-binutils binutils ; \
35917 mv stage1-binutils prev-binutils || test -f stage1-lean
35918 @endif binutils
35919 @if gas
35920 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35921 mkdir stage2-gas; \
35922 mv stage2-gas gas ; \
35923 mv stage1-gas prev-gas || test -f stage1-lean
35924 @endif gas
35925 @if gcc
35926 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35927 mkdir stage2-gcc; \
35928 mv stage2-gcc gcc ; \
35929 mv stage1-gcc prev-gcc || test -f stage1-lean
35930 @endif gcc
35931 @if intl
35932 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35933 mkdir stage2-intl; \
35934 mv stage2-intl intl ; \
35935 mv stage1-intl prev-intl || test -f stage1-lean
35936 @endif intl
35937 @if ld
35938 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35939 mkdir stage2-ld; \
35940 mv stage2-ld ld ; \
35941 mv stage1-ld prev-ld || test -f stage1-lean
35942 @endif ld
35943 @if libcpp
35944 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35945 mkdir stage2-libcpp; \
35946 mv stage2-libcpp libcpp ; \
35947 mv stage1-libcpp prev-libcpp || test -f stage1-lean
35948 @endif libcpp
35949 @if libdecnumber
35950 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
35951 mkdir stage2-libdecnumber; \
35952 mv stage2-libdecnumber libdecnumber ; \
35953 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
35954 @endif libdecnumber
35955 @if libiberty
35956 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35957 mkdir stage2-libiberty; \
35958 mv stage2-libiberty libiberty ; \
35959 mv stage1-libiberty prev-libiberty || test -f stage1-lean
35960 @endif libiberty
35961 @if zlib
35962 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
35963 mkdir stage2-zlib; \
35964 mv stage2-zlib zlib ; \
35965 mv stage1-zlib prev-zlib || test -f stage1-lean
35966 @endif zlib
35967 @[ -d stage2-$(TARGET_SUBDIR) ] || \
35968 mkdir stage2-$(TARGET_SUBDIR); \
35969 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
35970 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
35972 stage2-end::
35973 @if bfd
35974 @if test -d $(HOST_SUBDIR)/bfd ; then \
35975 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
35976 mv prev-bfd stage1-bfd ; : ; \
35978 @endif bfd
35979 @if opcodes
35980 @if test -d $(HOST_SUBDIR)/opcodes ; then \
35981 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
35982 mv prev-opcodes stage1-opcodes ; : ; \
35984 @endif opcodes
35985 @if binutils
35986 @if test -d $(HOST_SUBDIR)/binutils ; then \
35987 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
35988 mv prev-binutils stage1-binutils ; : ; \
35990 @endif binutils
35991 @if gas
35992 @if test -d $(HOST_SUBDIR)/gas ; then \
35993 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
35994 mv prev-gas stage1-gas ; : ; \
35996 @endif gas
35997 @if gcc
35998 @if test -d $(HOST_SUBDIR)/gcc ; then \
35999 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
36000 mv prev-gcc stage1-gcc ; : ; \
36002 @endif gcc
36003 @if intl
36004 @if test -d $(HOST_SUBDIR)/intl ; then \
36005 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
36006 mv prev-intl stage1-intl ; : ; \
36008 @endif intl
36009 @if ld
36010 @if test -d $(HOST_SUBDIR)/ld ; then \
36011 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
36012 mv prev-ld stage1-ld ; : ; \
36014 @endif ld
36015 @if libcpp
36016 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36017 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
36018 mv prev-libcpp stage1-libcpp ; : ; \
36020 @endif libcpp
36021 @if libdecnumber
36022 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36023 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
36024 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36026 @endif libdecnumber
36027 @if libiberty
36028 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36029 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
36030 mv prev-libiberty stage1-libiberty ; : ; \
36032 @endif libiberty
36033 @if zlib
36034 @if test -d $(HOST_SUBDIR)/zlib ; then \
36035 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
36036 mv prev-zlib stage1-zlib ; : ; \
36038 @endif zlib
36039 @if test -d $(TARGET_SUBDIR) ; then \
36040 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36041 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36043 rm -f stage_current
36045 # Bubble a bugfix through all the stages up to stage 2. They are
36046 # remade, but not reconfigured. The next stage (if any) will not be
36047 # reconfigured as well.
36048 .PHONY: stage2-bubble
36049 stage2-bubble:: stage1-bubble
36050 @r=`${PWD_COMMAND}`; export r; \
36051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36052 if test -f stage2-lean || test -f stage1-lean ; then \
36053 echo Skipping rebuild of stage2 ; \
36054 else \
36055 $(MAKE) stage2-start; \
36056 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36059 .PHONY: all-stage2 clean-stage2
36060 do-clean: clean-stage2
36062 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36063 # only possibility, but now it conflicts with no-bootstrap rules
36064 @if gcc-bootstrap
36068 .PHONY: bootstrap2 bootstrap2-lean
36069 bootstrap2:
36070 echo stage2 > stage_final
36071 @r=`${PWD_COMMAND}`; export r; \
36072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36073 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
36074 @: $(MAKE); $(unstage)
36075 @r=`${PWD_COMMAND}`; export r; \
36076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36077 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36079 bootstrap2-lean:
36080 echo stage2 > stage_final
36081 @r=`${PWD_COMMAND}`; export r; \
36082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36083 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
36084 @: $(MAKE); $(unstage)
36085 @r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36090 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36091 distclean-stage1:: distclean-stage2
36092 .PHONY: distclean-stage2
36093 distclean-stage2::
36094 @: $(MAKE); $(stage)
36095 rm -rf stage2-*
36098 @endif gcc-bootstrap
36101 .PHONY: stage3-start stage3-end
36103 stage3-start::
36104 @: $(MAKE); $(stage); \
36105 echo stage3 > stage_current ; \
36106 echo stage3 > stage_last; \
36107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36108 @if bfd
36109 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36110 mkdir stage3-bfd; \
36111 mv stage3-bfd bfd ; \
36112 mv stage2-bfd prev-bfd || test -f stage2-lean
36113 @endif bfd
36114 @if opcodes
36115 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36116 mkdir stage3-opcodes; \
36117 mv stage3-opcodes opcodes ; \
36118 mv stage2-opcodes prev-opcodes || test -f stage2-lean
36119 @endif opcodes
36120 @if binutils
36121 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36122 mkdir stage3-binutils; \
36123 mv stage3-binutils binutils ; \
36124 mv stage2-binutils prev-binutils || test -f stage2-lean
36125 @endif binutils
36126 @if gas
36127 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36128 mkdir stage3-gas; \
36129 mv stage3-gas gas ; \
36130 mv stage2-gas prev-gas || test -f stage2-lean
36131 @endif gas
36132 @if gcc
36133 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36134 mkdir stage3-gcc; \
36135 mv stage3-gcc gcc ; \
36136 mv stage2-gcc prev-gcc || test -f stage2-lean
36137 @endif gcc
36138 @if intl
36139 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36140 mkdir stage3-intl; \
36141 mv stage3-intl intl ; \
36142 mv stage2-intl prev-intl || test -f stage2-lean
36143 @endif intl
36144 @if ld
36145 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36146 mkdir stage3-ld; \
36147 mv stage3-ld ld ; \
36148 mv stage2-ld prev-ld || test -f stage2-lean
36149 @endif ld
36150 @if libcpp
36151 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36152 mkdir stage3-libcpp; \
36153 mv stage3-libcpp libcpp ; \
36154 mv stage2-libcpp prev-libcpp || test -f stage2-lean
36155 @endif libcpp
36156 @if libdecnumber
36157 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36158 mkdir stage3-libdecnumber; \
36159 mv stage3-libdecnumber libdecnumber ; \
36160 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
36161 @endif libdecnumber
36162 @if libiberty
36163 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36164 mkdir stage3-libiberty; \
36165 mv stage3-libiberty libiberty ; \
36166 mv stage2-libiberty prev-libiberty || test -f stage2-lean
36167 @endif libiberty
36168 @if zlib
36169 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36170 mkdir stage3-zlib; \
36171 mv stage3-zlib zlib ; \
36172 mv stage2-zlib prev-zlib || test -f stage2-lean
36173 @endif zlib
36174 @[ -d stage3-$(TARGET_SUBDIR) ] || \
36175 mkdir stage3-$(TARGET_SUBDIR); \
36176 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36177 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
36179 stage3-end::
36180 @if bfd
36181 @if test -d $(HOST_SUBDIR)/bfd ; then \
36182 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
36183 mv prev-bfd stage2-bfd ; : ; \
36185 @endif bfd
36186 @if opcodes
36187 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36188 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
36189 mv prev-opcodes stage2-opcodes ; : ; \
36191 @endif opcodes
36192 @if binutils
36193 @if test -d $(HOST_SUBDIR)/binutils ; then \
36194 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
36195 mv prev-binutils stage2-binutils ; : ; \
36197 @endif binutils
36198 @if gas
36199 @if test -d $(HOST_SUBDIR)/gas ; then \
36200 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
36201 mv prev-gas stage2-gas ; : ; \
36203 @endif gas
36204 @if gcc
36205 @if test -d $(HOST_SUBDIR)/gcc ; then \
36206 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
36207 mv prev-gcc stage2-gcc ; : ; \
36209 @endif gcc
36210 @if intl
36211 @if test -d $(HOST_SUBDIR)/intl ; then \
36212 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
36213 mv prev-intl stage2-intl ; : ; \
36215 @endif intl
36216 @if ld
36217 @if test -d $(HOST_SUBDIR)/ld ; then \
36218 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
36219 mv prev-ld stage2-ld ; : ; \
36221 @endif ld
36222 @if libcpp
36223 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36224 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
36225 mv prev-libcpp stage2-libcpp ; : ; \
36227 @endif libcpp
36228 @if libdecnumber
36229 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36230 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
36231 mv prev-libdecnumber stage2-libdecnumber ; : ; \
36233 @endif libdecnumber
36234 @if libiberty
36235 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36236 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
36237 mv prev-libiberty stage2-libiberty ; : ; \
36239 @endif libiberty
36240 @if zlib
36241 @if test -d $(HOST_SUBDIR)/zlib ; then \
36242 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
36243 mv prev-zlib stage2-zlib ; : ; \
36245 @endif zlib
36246 @if test -d $(TARGET_SUBDIR) ; then \
36247 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36248 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
36250 rm -f stage_current
36252 # Bubble a bugfix through all the stages up to stage 3. They are
36253 # remade, but not reconfigured. The next stage (if any) will not be
36254 # reconfigured as well.
36255 .PHONY: stage3-bubble
36256 stage3-bubble:: stage2-bubble
36257 @r=`${PWD_COMMAND}`; export r; \
36258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36259 if test -f stage3-lean || test -f stage2-lean ; then \
36260 echo Skipping rebuild of stage3 ; \
36261 else \
36262 $(MAKE) stage3-start; \
36263 if $(LEAN); then \
36264 rm -rf stage1-* ; \
36265 $(STAMP) stage1-lean ; \
36266 fi; \
36267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
36271 .PHONY: all-stage3 clean-stage3
36272 do-clean: clean-stage3
36274 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36275 # only possibility, but now it conflicts with no-bootstrap rules
36276 @if gcc-bootstrap
36278 compare:
36279 @r=`${PWD_COMMAND}`; export r; \
36280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36281 if test -f stage2-lean; then \
36282 echo Cannot compare object files as stage 2 was deleted. ; \
36283 exit 0 ; \
36284 fi; \
36285 : $(MAKE); $(stage); \
36286 rm -f .bad_compare ; \
36287 cd stage3-gcc; \
36288 files=`find . -name "*$(objext)" -print` ; \
36289 cd .. ; \
36290 for file in $${files} ; do \
36291 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36292 @do_compare@ > /dev/null 2>&1; \
36293 if test $$? -eq 1; then \
36294 case $$file in \
36295 ./cc*-checksum$(objext) | ./libgcc/* ) \
36296 echo warning: $$file differs ;; \
36297 *) \
36298 echo $$file differs >> .bad_compare ;; \
36299 esac ; \
36300 fi ; \
36301 done ; \
36302 if [ -f .bad_compare ]; then \
36303 echo "Bootstrap comparison failure!"; \
36304 cat .bad_compare; \
36305 exit 1; \
36306 else \
36307 true; \
36308 fi ; \
36309 $(STAMP) compare
36310 if $(LEAN); then \
36311 rm -rf stage2-*; \
36312 $(STAMP) stage2-lean; \
36317 .PHONY: bootstrap bootstrap-lean
36318 bootstrap:
36319 echo stage3 > stage_final
36320 @r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
36323 @: $(MAKE); $(unstage)
36324 @r=`${PWD_COMMAND}`; export r; \
36325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36326 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36328 bootstrap-lean:
36329 echo stage3 > stage_final
36330 @r=`${PWD_COMMAND}`; export r; \
36331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36332 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
36333 @: $(MAKE); $(unstage)
36334 @r=`${PWD_COMMAND}`; export r; \
36335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36336 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36339 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36340 distclean-stage2:: distclean-stage3
36341 .PHONY: distclean-stage3
36342 distclean-stage3::
36343 @: $(MAKE); $(stage)
36344 rm -rf stage3-* compare
36347 .PHONY: cleanstrap
36348 cleanstrap: distclean bootstrap
36350 @endif gcc-bootstrap
36353 .PHONY: stage4-start stage4-end
36355 stage4-start::
36356 @: $(MAKE); $(stage); \
36357 echo stage4 > stage_current ; \
36358 echo stage4 > stage_last; \
36359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36360 @if bfd
36361 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36362 mkdir stage4-bfd; \
36363 mv stage4-bfd bfd ; \
36364 mv stage3-bfd prev-bfd || test -f stage3-lean
36365 @endif bfd
36366 @if opcodes
36367 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36368 mkdir stage4-opcodes; \
36369 mv stage4-opcodes opcodes ; \
36370 mv stage3-opcodes prev-opcodes || test -f stage3-lean
36371 @endif opcodes
36372 @if binutils
36373 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36374 mkdir stage4-binutils; \
36375 mv stage4-binutils binutils ; \
36376 mv stage3-binutils prev-binutils || test -f stage3-lean
36377 @endif binutils
36378 @if gas
36379 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36380 mkdir stage4-gas; \
36381 mv stage4-gas gas ; \
36382 mv stage3-gas prev-gas || test -f stage3-lean
36383 @endif gas
36384 @if gcc
36385 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36386 mkdir stage4-gcc; \
36387 mv stage4-gcc gcc ; \
36388 mv stage3-gcc prev-gcc || test -f stage3-lean
36389 @endif gcc
36390 @if intl
36391 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36392 mkdir stage4-intl; \
36393 mv stage4-intl intl ; \
36394 mv stage3-intl prev-intl || test -f stage3-lean
36395 @endif intl
36396 @if ld
36397 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36398 mkdir stage4-ld; \
36399 mv stage4-ld ld ; \
36400 mv stage3-ld prev-ld || test -f stage3-lean
36401 @endif ld
36402 @if libcpp
36403 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36404 mkdir stage4-libcpp; \
36405 mv stage4-libcpp libcpp ; \
36406 mv stage3-libcpp prev-libcpp || test -f stage3-lean
36407 @endif libcpp
36408 @if libdecnumber
36409 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36410 mkdir stage4-libdecnumber; \
36411 mv stage4-libdecnumber libdecnumber ; \
36412 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
36413 @endif libdecnumber
36414 @if libiberty
36415 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36416 mkdir stage4-libiberty; \
36417 mv stage4-libiberty libiberty ; \
36418 mv stage3-libiberty prev-libiberty || test -f stage3-lean
36419 @endif libiberty
36420 @if zlib
36421 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36422 mkdir stage4-zlib; \
36423 mv stage4-zlib zlib ; \
36424 mv stage3-zlib prev-zlib || test -f stage3-lean
36425 @endif zlib
36426 @[ -d stage4-$(TARGET_SUBDIR) ] || \
36427 mkdir stage4-$(TARGET_SUBDIR); \
36428 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36429 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
36431 stage4-end::
36432 @if bfd
36433 @if test -d $(HOST_SUBDIR)/bfd ; then \
36434 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
36435 mv prev-bfd stage3-bfd ; : ; \
36437 @endif bfd
36438 @if opcodes
36439 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36440 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
36441 mv prev-opcodes stage3-opcodes ; : ; \
36443 @endif opcodes
36444 @if binutils
36445 @if test -d $(HOST_SUBDIR)/binutils ; then \
36446 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
36447 mv prev-binutils stage3-binutils ; : ; \
36449 @endif binutils
36450 @if gas
36451 @if test -d $(HOST_SUBDIR)/gas ; then \
36452 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
36453 mv prev-gas stage3-gas ; : ; \
36455 @endif gas
36456 @if gcc
36457 @if test -d $(HOST_SUBDIR)/gcc ; then \
36458 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
36459 mv prev-gcc stage3-gcc ; : ; \
36461 @endif gcc
36462 @if intl
36463 @if test -d $(HOST_SUBDIR)/intl ; then \
36464 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
36465 mv prev-intl stage3-intl ; : ; \
36467 @endif intl
36468 @if ld
36469 @if test -d $(HOST_SUBDIR)/ld ; then \
36470 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
36471 mv prev-ld stage3-ld ; : ; \
36473 @endif ld
36474 @if libcpp
36475 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36476 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
36477 mv prev-libcpp stage3-libcpp ; : ; \
36479 @endif libcpp
36480 @if libdecnumber
36481 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36482 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
36483 mv prev-libdecnumber stage3-libdecnumber ; : ; \
36485 @endif libdecnumber
36486 @if libiberty
36487 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36488 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
36489 mv prev-libiberty stage3-libiberty ; : ; \
36491 @endif libiberty
36492 @if zlib
36493 @if test -d $(HOST_SUBDIR)/zlib ; then \
36494 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
36495 mv prev-zlib stage3-zlib ; : ; \
36497 @endif zlib
36498 @if test -d $(TARGET_SUBDIR) ; then \
36499 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
36500 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
36502 rm -f stage_current
36504 # Bubble a bugfix through all the stages up to stage 4. They are
36505 # remade, but not reconfigured. The next stage (if any) will not be
36506 # reconfigured as well.
36507 .PHONY: stage4-bubble
36508 stage4-bubble:: stage3-bubble
36509 @r=`${PWD_COMMAND}`; export r; \
36510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36511 if test -f stage4-lean || test -f stage3-lean ; then \
36512 echo Skipping rebuild of stage4 ; \
36513 else \
36514 $(MAKE) stage4-start; \
36515 if $(LEAN); then \
36516 rm -rf stage2-* ; \
36517 $(STAMP) stage2-lean ; \
36518 fi; \
36519 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
36523 .PHONY: all-stage4 clean-stage4
36524 do-clean: clean-stage4
36526 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36527 # only possibility, but now it conflicts with no-bootstrap rules
36528 @if gcc-bootstrap
36530 compare3:
36531 @r=`${PWD_COMMAND}`; export r; \
36532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36533 if test -f stage3-lean; then \
36534 echo Cannot compare object files as stage 3 was deleted. ; \
36535 exit 0 ; \
36536 fi; \
36537 : $(MAKE); $(stage); \
36538 rm -f .bad_compare ; \
36539 cd stage4-gcc; \
36540 files=`find . -name "*$(objext)" -print` ; \
36541 cd .. ; \
36542 for file in $${files} ; do \
36543 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36544 @do_compare@ > /dev/null 2>&1; \
36545 if test $$? -eq 1; then \
36546 case $$file in \
36547 ./cc*-checksum$(objext) | ./libgcc/* ) \
36548 echo warning: $$file differs ;; \
36549 *) \
36550 echo $$file differs >> .bad_compare ;; \
36551 esac ; \
36552 fi ; \
36553 done ; \
36554 if [ -f .bad_compare ]; then \
36555 echo "Bootstrap comparison failure!"; \
36556 cat .bad_compare; \
36557 exit 1; \
36558 else \
36559 true; \
36560 fi ; \
36561 $(STAMP) compare3
36562 if $(LEAN); then \
36563 rm -rf stage3-*; \
36564 $(STAMP) stage3-lean; \
36569 .PHONY: bootstrap4 bootstrap4-lean
36570 bootstrap4:
36571 echo stage4 > stage_final
36572 @r=`${PWD_COMMAND}`; export r; \
36573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36574 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
36575 @: $(MAKE); $(unstage)
36576 @r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36580 bootstrap4-lean:
36581 echo stage4 > stage_final
36582 @r=`${PWD_COMMAND}`; export r; \
36583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36584 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
36585 @: $(MAKE); $(unstage)
36586 @r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36591 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36592 distclean-stage3:: distclean-stage4
36593 .PHONY: distclean-stage4
36594 distclean-stage4::
36595 @: $(MAKE); $(stage)
36596 rm -rf stage4-* compare3
36599 @endif gcc-bootstrap
36602 .PHONY: stageprofile-start stageprofile-end
36604 stageprofile-start::
36605 @: $(MAKE); $(stage); \
36606 echo stageprofile > stage_current ; \
36607 echo stageprofile > stage_last; \
36608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36609 @if bfd
36610 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36611 mkdir stageprofile-bfd; \
36612 mv stageprofile-bfd bfd ; \
36613 mv stage1-bfd prev-bfd || test -f stage1-lean
36614 @endif bfd
36615 @if opcodes
36616 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36617 mkdir stageprofile-opcodes; \
36618 mv stageprofile-opcodes opcodes ; \
36619 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36620 @endif opcodes
36621 @if binutils
36622 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36623 mkdir stageprofile-binutils; \
36624 mv stageprofile-binutils binutils ; \
36625 mv stage1-binutils prev-binutils || test -f stage1-lean
36626 @endif binutils
36627 @if gas
36628 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
36629 mkdir stageprofile-gas; \
36630 mv stageprofile-gas gas ; \
36631 mv stage1-gas prev-gas || test -f stage1-lean
36632 @endif gas
36633 @if gcc
36634 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36635 mkdir stageprofile-gcc; \
36636 mv stageprofile-gcc gcc ; \
36637 mv stage1-gcc prev-gcc || test -f stage1-lean
36638 @endif gcc
36639 @if intl
36640 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36641 mkdir stageprofile-intl; \
36642 mv stageprofile-intl intl ; \
36643 mv stage1-intl prev-intl || test -f stage1-lean
36644 @endif intl
36645 @if ld
36646 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36647 mkdir stageprofile-ld; \
36648 mv stageprofile-ld ld ; \
36649 mv stage1-ld prev-ld || test -f stage1-lean
36650 @endif ld
36651 @if libcpp
36652 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36653 mkdir stageprofile-libcpp; \
36654 mv stageprofile-libcpp libcpp ; \
36655 mv stage1-libcpp prev-libcpp || test -f stage1-lean
36656 @endif libcpp
36657 @if libdecnumber
36658 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
36659 mkdir stageprofile-libdecnumber; \
36660 mv stageprofile-libdecnumber libdecnumber ; \
36661 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
36662 @endif libdecnumber
36663 @if libiberty
36664 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36665 mkdir stageprofile-libiberty; \
36666 mv stageprofile-libiberty libiberty ; \
36667 mv stage1-libiberty prev-libiberty || test -f stage1-lean
36668 @endif libiberty
36669 @if zlib
36670 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36671 mkdir stageprofile-zlib; \
36672 mv stageprofile-zlib zlib ; \
36673 mv stage1-zlib prev-zlib || test -f stage1-lean
36674 @endif zlib
36675 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
36676 mkdir stageprofile-$(TARGET_SUBDIR); \
36677 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36678 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
36680 stageprofile-end::
36681 @if bfd
36682 @if test -d $(HOST_SUBDIR)/bfd ; then \
36683 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
36684 mv prev-bfd stage1-bfd ; : ; \
36686 @endif bfd
36687 @if opcodes
36688 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36689 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
36690 mv prev-opcodes stage1-opcodes ; : ; \
36692 @endif opcodes
36693 @if binutils
36694 @if test -d $(HOST_SUBDIR)/binutils ; then \
36695 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
36696 mv prev-binutils stage1-binutils ; : ; \
36698 @endif binutils
36699 @if gas
36700 @if test -d $(HOST_SUBDIR)/gas ; then \
36701 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
36702 mv prev-gas stage1-gas ; : ; \
36704 @endif gas
36705 @if gcc
36706 @if test -d $(HOST_SUBDIR)/gcc ; then \
36707 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
36708 mv prev-gcc stage1-gcc ; : ; \
36710 @endif gcc
36711 @if intl
36712 @if test -d $(HOST_SUBDIR)/intl ; then \
36713 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
36714 mv prev-intl stage1-intl ; : ; \
36716 @endif intl
36717 @if ld
36718 @if test -d $(HOST_SUBDIR)/ld ; then \
36719 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
36720 mv prev-ld stage1-ld ; : ; \
36722 @endif ld
36723 @if libcpp
36724 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36725 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
36726 mv prev-libcpp stage1-libcpp ; : ; \
36728 @endif libcpp
36729 @if libdecnumber
36730 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36731 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
36732 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36734 @endif libdecnumber
36735 @if libiberty
36736 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36737 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
36738 mv prev-libiberty stage1-libiberty ; : ; \
36740 @endif libiberty
36741 @if zlib
36742 @if test -d $(HOST_SUBDIR)/zlib ; then \
36743 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
36744 mv prev-zlib stage1-zlib ; : ; \
36746 @endif zlib
36747 @if test -d $(TARGET_SUBDIR) ; then \
36748 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
36749 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36751 rm -f stage_current
36753 # Bubble a bugfix through all the stages up to stage profile. They are
36754 # remade, but not reconfigured. The next stage (if any) will not be
36755 # reconfigured as well.
36756 .PHONY: stageprofile-bubble
36757 stageprofile-bubble:: stage1-bubble
36758 @r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 if test -f stageprofile-lean || test -f stage1-lean ; then \
36761 echo Skipping rebuild of stageprofile ; \
36762 else \
36763 $(MAKE) stageprofile-start; \
36764 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36767 .PHONY: all-stageprofile clean-stageprofile
36768 do-clean: clean-stageprofile
36770 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36771 # only possibility, but now it conflicts with no-bootstrap rules
36772 @if gcc-bootstrap
36777 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36778 distclean-stage1:: distclean-stageprofile
36779 .PHONY: distclean-stageprofile
36780 distclean-stageprofile::
36781 @: $(MAKE); $(stage)
36782 rm -rf stageprofile-*
36785 @endif gcc-bootstrap
36788 .PHONY: stagefeedback-start stagefeedback-end
36790 stagefeedback-start::
36791 @: $(MAKE); $(stage); \
36792 echo stagefeedback > stage_current ; \
36793 echo stagefeedback > stage_last; \
36794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36795 @if bfd
36796 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36797 mkdir stagefeedback-bfd; \
36798 mv stagefeedback-bfd bfd ; \
36799 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
36800 @endif bfd
36801 @if opcodes
36802 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36803 mkdir stagefeedback-opcodes; \
36804 mv stagefeedback-opcodes opcodes ; \
36805 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
36806 @endif opcodes
36807 @if binutils
36808 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36809 mkdir stagefeedback-binutils; \
36810 mv stagefeedback-binutils binutils ; \
36811 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
36812 @endif binutils
36813 @if gas
36814 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36815 mkdir stagefeedback-gas; \
36816 mv stagefeedback-gas gas ; \
36817 mv stageprofile-gas prev-gas || test -f stageprofile-lean
36818 @endif gas
36819 @if gcc
36820 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36821 mkdir stagefeedback-gcc; \
36822 mv stagefeedback-gcc gcc ; \
36823 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
36824 @endif gcc
36825 @if intl
36826 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36827 mkdir stagefeedback-intl; \
36828 mv stagefeedback-intl intl ; \
36829 mv stageprofile-intl prev-intl || test -f stageprofile-lean
36830 @endif intl
36831 @if ld
36832 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36833 mkdir stagefeedback-ld; \
36834 mv stagefeedback-ld ld ; \
36835 mv stageprofile-ld prev-ld || test -f stageprofile-lean
36836 @endif ld
36837 @if libcpp
36838 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36839 mkdir stagefeedback-libcpp; \
36840 mv stagefeedback-libcpp libcpp ; \
36841 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
36842 @endif libcpp
36843 @if libdecnumber
36844 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
36845 mkdir stagefeedback-libdecnumber; \
36846 mv stagefeedback-libdecnumber libdecnumber ; \
36847 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
36848 @endif libdecnumber
36849 @if libiberty
36850 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36851 mkdir stagefeedback-libiberty; \
36852 mv stagefeedback-libiberty libiberty ; \
36853 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
36854 @endif libiberty
36855 @if zlib
36856 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36857 mkdir stagefeedback-zlib; \
36858 mv stagefeedback-zlib zlib ; \
36859 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
36860 @endif zlib
36861 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
36862 mkdir stagefeedback-$(TARGET_SUBDIR); \
36863 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36864 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
36866 stagefeedback-end::
36867 @if bfd
36868 @if test -d $(HOST_SUBDIR)/bfd ; then \
36869 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
36870 mv prev-bfd stageprofile-bfd ; : ; \
36872 @endif bfd
36873 @if opcodes
36874 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36875 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
36876 mv prev-opcodes stageprofile-opcodes ; : ; \
36878 @endif opcodes
36879 @if binutils
36880 @if test -d $(HOST_SUBDIR)/binutils ; then \
36881 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
36882 mv prev-binutils stageprofile-binutils ; : ; \
36884 @endif binutils
36885 @if gas
36886 @if test -d $(HOST_SUBDIR)/gas ; then \
36887 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
36888 mv prev-gas stageprofile-gas ; : ; \
36890 @endif gas
36891 @if gcc
36892 @if test -d $(HOST_SUBDIR)/gcc ; then \
36893 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
36894 mv prev-gcc stageprofile-gcc ; : ; \
36896 @endif gcc
36897 @if intl
36898 @if test -d $(HOST_SUBDIR)/intl ; then \
36899 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
36900 mv prev-intl stageprofile-intl ; : ; \
36902 @endif intl
36903 @if ld
36904 @if test -d $(HOST_SUBDIR)/ld ; then \
36905 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
36906 mv prev-ld stageprofile-ld ; : ; \
36908 @endif ld
36909 @if libcpp
36910 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36911 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
36912 mv prev-libcpp stageprofile-libcpp ; : ; \
36914 @endif libcpp
36915 @if libdecnumber
36916 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36917 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
36918 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
36920 @endif libdecnumber
36921 @if libiberty
36922 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36923 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
36924 mv prev-libiberty stageprofile-libiberty ; : ; \
36926 @endif libiberty
36927 @if zlib
36928 @if test -d $(HOST_SUBDIR)/zlib ; then \
36929 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
36930 mv prev-zlib stageprofile-zlib ; : ; \
36932 @endif zlib
36933 @if test -d $(TARGET_SUBDIR) ; then \
36934 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
36935 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
36937 rm -f stage_current
36939 # Bubble a bugfix through all the stages up to stage feedback. They are
36940 # remade, but not reconfigured. The next stage (if any) will not be
36941 # reconfigured as well.
36942 .PHONY: stagefeedback-bubble
36943 stagefeedback-bubble:: stageprofile-bubble
36944 @r=`${PWD_COMMAND}`; export r; \
36945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36946 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
36947 echo Skipping rebuild of stagefeedback ; \
36948 else \
36949 $(MAKE) stagefeedback-start; \
36950 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
36953 .PHONY: all-stagefeedback clean-stagefeedback
36954 do-clean: clean-stagefeedback
36956 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36957 # only possibility, but now it conflicts with no-bootstrap rules
36958 @if gcc-bootstrap
36962 .PHONY: profiledbootstrap profiledbootstrap-lean
36963 profiledbootstrap:
36964 echo stagefeedback > stage_final
36965 @r=`${PWD_COMMAND}`; export r; \
36966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
36968 @: $(MAKE); $(unstage)
36969 @r=`${PWD_COMMAND}`; export r; \
36970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36971 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36973 profiledbootstrap-lean:
36974 echo stagefeedback > stage_final
36975 @r=`${PWD_COMMAND}`; export r; \
36976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
36978 @: $(MAKE); $(unstage)
36979 @r=`${PWD_COMMAND}`; export r; \
36980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36981 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36984 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36985 distclean-stageprofile:: distclean-stagefeedback
36986 .PHONY: distclean-stagefeedback
36987 distclean-stagefeedback::
36988 @: $(MAKE); $(stage)
36989 rm -rf stagefeedback-*
36992 @endif gcc-bootstrap
36996 stageprofile-end::
36997 $(MAKE) distclean-stagefeedback
36999 stagefeedback-start::
37000 @r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 for i in prev-*; do \
37003 j=`echo $$i | sed s/^prev-//` ; \
37004 cd $$r/$$i && \
37005 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37006 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37007 done
37009 @if gcc-bootstrap
37010 do-distclean: distclean-stage1
37011 @endif gcc-bootstrap
37013 # --------------------------------------
37014 # Dependencies between different modules
37015 # --------------------------------------
37017 # Generic dependencies for target modules on host stuff, especially gcc
37019 configure-target-libstdc++-v3: maybe-all-gcc
37021 configure-target-libmudflap: maybe-all-gcc
37023 configure-target-libssp: maybe-all-gcc
37025 configure-target-newlib: maybe-all-gcc
37027 configure-target-libgfortran: maybe-all-gcc
37029 configure-target-libobjc: maybe-all-gcc
37031 configure-target-libtermcap: maybe-all-gcc
37033 configure-target-winsup: maybe-all-gcc
37035 configure-target-libgloss: maybe-all-gcc
37037 configure-target-libiberty: maybe-all-gcc
37039 configure-target-gperf: maybe-all-gcc
37041 configure-target-examples: maybe-all-gcc
37043 configure-target-libffi: maybe-all-gcc
37045 configure-target-libjava: maybe-all-gcc
37047 configure-target-zlib: maybe-all-gcc
37049 configure-target-boehm-gc: maybe-all-gcc
37051 configure-target-qthreads: maybe-all-gcc
37053 configure-target-rda: maybe-all-gcc
37055 configure-target-libada: maybe-all-gcc
37059 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37061 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37062 configure-target-gperf: maybe-all-target-libstdc++-v3
37064 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37066 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37068 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37070 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37071 configure-target-libjava: maybe-all-target-libstdc++-v3
37073 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37075 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37077 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37079 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37081 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37083 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37085 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37087 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37089 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37091 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37094 # There are two types of dependencies here: 'hard' dependencies, where one
37095 # module simply won't build without the other; and 'soft' dependencies, where
37096 # if the depended-on module is missing, the depending module will do without
37097 # or find a substitute somewhere (perhaps installed). Soft dependencies
37098 # are made here to depend on a 'maybe-' target. If you're not sure,
37099 # it's safer to use a soft dependency.
37106 # With all the machinery above in place, it is pretty easy to generate
37107 # dependencies. Host dependencies are a bit more complex because we have
37108 # to check for bootstrap/prebootstrap dependencies. To resolve
37109 # prebootstrap dependencies, prebootstrap modules are gathered in
37110 # a hash table.
37111 all-build-bison: maybe-all-build-texinfo
37112 all-build-byacc: maybe-all-build-texinfo
37113 all-build-flex: maybe-all-build-texinfo
37114 all-build-flex: maybe-all-build-bison
37115 all-build-flex: maybe-all-build-byacc
37116 all-build-flex: maybe-all-build-m4
37117 all-build-libiberty: maybe-all-build-texinfo
37118 all-build-m4: maybe-all-build-texinfo
37119 all-build-fixincludes: maybe-all-build-libiberty
37120 configure-gcc: maybe-configure-intl
37122 configure-stage1-gcc: maybe-configure-stage1-intl
37123 configure-stage2-gcc: maybe-configure-stage2-intl
37124 configure-stage3-gcc: maybe-configure-stage3-intl
37125 configure-stage4-gcc: maybe-configure-stage4-intl
37126 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37127 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37128 configure-gcc: maybe-all-binutils
37130 configure-stage1-gcc: maybe-all-stage1-binutils
37131 configure-stage2-gcc: maybe-all-stage2-binutils
37132 configure-stage3-gcc: maybe-all-stage3-binutils
37133 configure-stage4-gcc: maybe-all-stage4-binutils
37134 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37135 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37136 configure-gcc: maybe-all-gas
37138 configure-stage1-gcc: maybe-all-stage1-gas
37139 configure-stage2-gcc: maybe-all-stage2-gas
37140 configure-stage3-gcc: maybe-all-stage3-gas
37141 configure-stage4-gcc: maybe-all-stage4-gas
37142 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37143 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37144 configure-gcc: maybe-all-ld
37146 configure-stage1-gcc: maybe-all-stage1-ld
37147 configure-stage2-gcc: maybe-all-stage2-ld
37148 configure-stage3-gcc: maybe-all-stage3-ld
37149 configure-stage4-gcc: maybe-all-stage4-ld
37150 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37151 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37152 all-gcc: all-libiberty
37154 all-stage1-gcc: all-stage1-libiberty
37155 all-stage2-gcc: all-stage2-libiberty
37156 all-stage3-gcc: all-stage3-libiberty
37157 all-stage4-gcc: all-stage4-libiberty
37158 all-stageprofile-gcc: all-stageprofile-libiberty
37159 all-stagefeedback-gcc: all-stagefeedback-libiberty
37160 all-gcc: maybe-all-intl
37162 all-stage1-gcc: maybe-all-stage1-intl
37163 all-stage2-gcc: maybe-all-stage2-intl
37164 all-stage3-gcc: maybe-all-stage3-intl
37165 all-stage4-gcc: maybe-all-stage4-intl
37166 all-stageprofile-gcc: maybe-all-stageprofile-intl
37167 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37168 all-gcc: maybe-all-build-texinfo
37170 all-stage1-gcc: maybe-all-build-texinfo
37171 all-stage2-gcc: maybe-all-build-texinfo
37172 all-stage3-gcc: maybe-all-build-texinfo
37173 all-stage4-gcc: maybe-all-build-texinfo
37174 all-stageprofile-gcc: maybe-all-build-texinfo
37175 all-stagefeedback-gcc: maybe-all-build-texinfo
37176 all-prebootstrap: maybe-all-build-texinfo
37177 all-gcc: maybe-all-build-bison
37179 all-stage1-gcc: maybe-all-build-bison
37180 all-stage2-gcc: maybe-all-build-bison
37181 all-stage3-gcc: maybe-all-build-bison
37182 all-stage4-gcc: maybe-all-build-bison
37183 all-stageprofile-gcc: maybe-all-build-bison
37184 all-stagefeedback-gcc: maybe-all-build-bison
37185 all-prebootstrap: maybe-all-build-bison
37186 all-gcc: maybe-all-build-byacc
37188 all-stage1-gcc: maybe-all-build-byacc
37189 all-stage2-gcc: maybe-all-build-byacc
37190 all-stage3-gcc: maybe-all-build-byacc
37191 all-stage4-gcc: maybe-all-build-byacc
37192 all-stageprofile-gcc: maybe-all-build-byacc
37193 all-stagefeedback-gcc: maybe-all-build-byacc
37194 all-prebootstrap: maybe-all-build-byacc
37195 all-gcc: maybe-all-build-flex
37197 all-stage1-gcc: maybe-all-build-flex
37198 all-stage2-gcc: maybe-all-build-flex
37199 all-stage3-gcc: maybe-all-build-flex
37200 all-stage4-gcc: maybe-all-build-flex
37201 all-stageprofile-gcc: maybe-all-build-flex
37202 all-stagefeedback-gcc: maybe-all-build-flex
37203 all-prebootstrap: maybe-all-build-flex
37204 all-gcc: maybe-all-build-libiberty
37206 all-stage1-gcc: maybe-all-build-libiberty
37207 all-stage2-gcc: maybe-all-build-libiberty
37208 all-stage3-gcc: maybe-all-build-libiberty
37209 all-stage4-gcc: maybe-all-build-libiberty
37210 all-stageprofile-gcc: maybe-all-build-libiberty
37211 all-stagefeedback-gcc: maybe-all-build-libiberty
37212 all-prebootstrap: maybe-all-build-libiberty
37213 all-gcc: maybe-all-build-fixincludes
37215 all-stage1-gcc: maybe-all-build-fixincludes
37216 all-stage2-gcc: maybe-all-build-fixincludes
37217 all-stage3-gcc: maybe-all-build-fixincludes
37218 all-stage4-gcc: maybe-all-build-fixincludes
37219 all-stageprofile-gcc: maybe-all-build-fixincludes
37220 all-stagefeedback-gcc: maybe-all-build-fixincludes
37221 all-prebootstrap: maybe-all-build-fixincludes
37222 all-gcc: maybe-all-zlib
37224 all-stage1-gcc: maybe-all-stage1-zlib
37225 all-stage2-gcc: maybe-all-stage2-zlib
37226 all-stage3-gcc: maybe-all-stage3-zlib
37227 all-stage4-gcc: maybe-all-stage4-zlib
37228 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37229 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37230 all-gcc: all-libcpp
37232 all-stage1-gcc: all-stage1-libcpp
37233 all-stage2-gcc: all-stage2-libcpp
37234 all-stage3-gcc: all-stage3-libcpp
37235 all-stage4-gcc: all-stage4-libcpp
37236 all-stageprofile-gcc: all-stageprofile-libcpp
37237 all-stagefeedback-gcc: all-stagefeedback-libcpp
37238 all-gcc: all-libdecnumber
37240 all-stage1-gcc: all-stage1-libdecnumber
37241 all-stage2-gcc: all-stage2-libdecnumber
37242 all-stage3-gcc: all-stage3-libdecnumber
37243 all-stage4-gcc: all-stage4-libdecnumber
37244 all-stageprofile-gcc: all-stageprofile-libdecnumber
37245 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37246 all-gcc: maybe-all-libiberty
37248 all-stage1-gcc: maybe-all-stage1-libiberty
37249 all-stage2-gcc: maybe-all-stage2-libiberty
37250 all-stage3-gcc: maybe-all-stage3-libiberty
37251 all-stage4-gcc: maybe-all-stage4-libiberty
37252 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37253 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37254 all-gcc: maybe-all-fixincludes
37255 install-gcc: maybe-install-fixincludes
37256 configure-libcpp: configure-libiberty
37258 configure-stage1-libcpp: configure-stage1-libiberty
37259 configure-stage2-libcpp: configure-stage2-libiberty
37260 configure-stage3-libcpp: configure-stage3-libiberty
37261 configure-stage4-libcpp: configure-stage4-libiberty
37262 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37263 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37264 configure-libcpp: maybe-configure-intl
37266 configure-stage1-libcpp: maybe-configure-stage1-intl
37267 configure-stage2-libcpp: maybe-configure-stage2-intl
37268 configure-stage3-libcpp: maybe-configure-stage3-intl
37269 configure-stage4-libcpp: maybe-configure-stage4-intl
37270 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37271 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37272 all-libcpp: all-libiberty
37274 all-stage1-libcpp: all-stage1-libiberty
37275 all-stage2-libcpp: all-stage2-libiberty
37276 all-stage3-libcpp: all-stage3-libiberty
37277 all-stage4-libcpp: all-stage4-libiberty
37278 all-stageprofile-libcpp: all-stageprofile-libiberty
37279 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37280 all-libcpp: maybe-all-intl
37282 all-stage1-libcpp: maybe-all-stage1-intl
37283 all-stage2-libcpp: maybe-all-stage2-intl
37284 all-stage3-libcpp: maybe-all-stage3-intl
37285 all-stage4-libcpp: maybe-all-stage4-intl
37286 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37287 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37288 all-fixincludes: maybe-all-libiberty
37289 all-gnattools: maybe-all-target-libada
37290 configure-gdb: maybe-configure-sim
37291 all-gdb: maybe-all-libiberty
37292 all-gdb: maybe-all-opcodes
37293 all-gdb: maybe-all-bfd
37294 all-gdb: maybe-all-readline
37295 all-gdb: maybe-all-build-bison
37296 all-gdb: maybe-all-build-byacc
37297 all-gdb: maybe-all-sim
37298 configure-libgui: maybe-configure-tcl
37299 configure-libgui: maybe-configure-tk
37300 all-libgui: maybe-all-tcl
37301 all-libgui: maybe-all-tk
37302 all-libgui: maybe-all-itcl
37303 configure-bfd: configure-libiberty
37305 configure-stage1-bfd: configure-stage1-libiberty
37306 configure-stage2-bfd: configure-stage2-libiberty
37307 configure-stage3-bfd: configure-stage3-libiberty
37308 configure-stage4-bfd: configure-stage4-libiberty
37309 configure-stageprofile-bfd: configure-stageprofile-libiberty
37310 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37311 all-bfd: maybe-all-libiberty
37313 all-stage1-bfd: maybe-all-stage1-libiberty
37314 all-stage2-bfd: maybe-all-stage2-libiberty
37315 all-stage3-bfd: maybe-all-stage3-libiberty
37316 all-stage4-bfd: maybe-all-stage4-libiberty
37317 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37318 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37319 all-bfd: maybe-all-intl
37321 all-stage1-bfd: maybe-all-stage1-intl
37322 all-stage2-bfd: maybe-all-stage2-intl
37323 all-stage3-bfd: maybe-all-stage3-intl
37324 all-stage4-bfd: maybe-all-stage4-intl
37325 all-stageprofile-bfd: maybe-all-stageprofile-intl
37326 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37327 all-binutils: maybe-all-libiberty
37329 all-stage1-binutils: maybe-all-stage1-libiberty
37330 all-stage2-binutils: maybe-all-stage2-libiberty
37331 all-stage3-binutils: maybe-all-stage3-libiberty
37332 all-stage4-binutils: maybe-all-stage4-libiberty
37333 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37334 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37335 all-binutils: maybe-all-opcodes
37337 all-stage1-binutils: maybe-all-stage1-opcodes
37338 all-stage2-binutils: maybe-all-stage2-opcodes
37339 all-stage3-binutils: maybe-all-stage3-opcodes
37340 all-stage4-binutils: maybe-all-stage4-opcodes
37341 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37342 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37343 all-binutils: maybe-all-bfd
37345 all-stage1-binutils: maybe-all-stage1-bfd
37346 all-stage2-binutils: maybe-all-stage2-bfd
37347 all-stage3-binutils: maybe-all-stage3-bfd
37348 all-stage4-binutils: maybe-all-stage4-bfd
37349 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37350 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37351 all-binutils: maybe-all-build-flex
37353 all-stage1-binutils: maybe-all-build-flex
37354 all-stage2-binutils: maybe-all-build-flex
37355 all-stage3-binutils: maybe-all-build-flex
37356 all-stage4-binutils: maybe-all-build-flex
37357 all-stageprofile-binutils: maybe-all-build-flex
37358 all-stagefeedback-binutils: maybe-all-build-flex
37359 all-prebootstrap: maybe-all-build-flex
37360 all-binutils: maybe-all-build-bison
37362 all-stage1-binutils: maybe-all-build-bison
37363 all-stage2-binutils: maybe-all-build-bison
37364 all-stage3-binutils: maybe-all-build-bison
37365 all-stage4-binutils: maybe-all-build-bison
37366 all-stageprofile-binutils: maybe-all-build-bison
37367 all-stagefeedback-binutils: maybe-all-build-bison
37368 all-prebootstrap: maybe-all-build-bison
37369 all-binutils: maybe-all-build-byacc
37371 all-stage1-binutils: maybe-all-build-byacc
37372 all-stage2-binutils: maybe-all-build-byacc
37373 all-stage3-binutils: maybe-all-build-byacc
37374 all-stage4-binutils: maybe-all-build-byacc
37375 all-stageprofile-binutils: maybe-all-build-byacc
37376 all-stagefeedback-binutils: maybe-all-build-byacc
37377 all-prebootstrap: maybe-all-build-byacc
37378 all-binutils: maybe-all-intl
37380 all-stage1-binutils: maybe-all-stage1-intl
37381 all-stage2-binutils: maybe-all-stage2-intl
37382 all-stage3-binutils: maybe-all-stage3-intl
37383 all-stage4-binutils: maybe-all-stage4-intl
37384 all-stageprofile-binutils: maybe-all-stageprofile-intl
37385 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37386 install-binutils: maybe-install-opcodes
37387 install-opcodes: maybe-install-bfd
37388 all-gas: maybe-all-libiberty
37390 all-stage1-gas: maybe-all-stage1-libiberty
37391 all-stage2-gas: maybe-all-stage2-libiberty
37392 all-stage3-gas: maybe-all-stage3-libiberty
37393 all-stage4-gas: maybe-all-stage4-libiberty
37394 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37395 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37396 all-gas: maybe-all-opcodes
37398 all-stage1-gas: maybe-all-stage1-opcodes
37399 all-stage2-gas: maybe-all-stage2-opcodes
37400 all-stage3-gas: maybe-all-stage3-opcodes
37401 all-stage4-gas: maybe-all-stage4-opcodes
37402 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37403 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37404 all-gas: maybe-all-bfd
37406 all-stage1-gas: maybe-all-stage1-bfd
37407 all-stage2-gas: maybe-all-stage2-bfd
37408 all-stage3-gas: maybe-all-stage3-bfd
37409 all-stage4-gas: maybe-all-stage4-bfd
37410 all-stageprofile-gas: maybe-all-stageprofile-bfd
37411 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37412 all-gas: maybe-all-intl
37414 all-stage1-gas: maybe-all-stage1-intl
37415 all-stage2-gas: maybe-all-stage2-intl
37416 all-stage3-gas: maybe-all-stage3-intl
37417 all-stage4-gas: maybe-all-stage4-intl
37418 all-stageprofile-gas: maybe-all-stageprofile-intl
37419 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37420 all-gprof: maybe-all-libiberty
37421 all-gprof: maybe-all-bfd
37422 all-gprof: maybe-all-opcodes
37423 all-gprof: maybe-all-intl
37424 all-ld: maybe-all-libiberty
37426 all-stage1-ld: maybe-all-stage1-libiberty
37427 all-stage2-ld: maybe-all-stage2-libiberty
37428 all-stage3-ld: maybe-all-stage3-libiberty
37429 all-stage4-ld: maybe-all-stage4-libiberty
37430 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37431 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37432 all-ld: maybe-all-bfd
37434 all-stage1-ld: maybe-all-stage1-bfd
37435 all-stage2-ld: maybe-all-stage2-bfd
37436 all-stage3-ld: maybe-all-stage3-bfd
37437 all-stage4-ld: maybe-all-stage4-bfd
37438 all-stageprofile-ld: maybe-all-stageprofile-bfd
37439 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37440 all-ld: maybe-all-opcodes
37442 all-stage1-ld: maybe-all-stage1-opcodes
37443 all-stage2-ld: maybe-all-stage2-opcodes
37444 all-stage3-ld: maybe-all-stage3-opcodes
37445 all-stage4-ld: maybe-all-stage4-opcodes
37446 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37447 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37448 all-ld: maybe-all-build-bison
37450 all-stage1-ld: maybe-all-build-bison
37451 all-stage2-ld: maybe-all-build-bison
37452 all-stage3-ld: maybe-all-build-bison
37453 all-stage4-ld: maybe-all-build-bison
37454 all-stageprofile-ld: maybe-all-build-bison
37455 all-stagefeedback-ld: maybe-all-build-bison
37456 all-prebootstrap: maybe-all-build-bison
37457 all-ld: maybe-all-build-byacc
37459 all-stage1-ld: maybe-all-build-byacc
37460 all-stage2-ld: maybe-all-build-byacc
37461 all-stage3-ld: maybe-all-build-byacc
37462 all-stage4-ld: maybe-all-build-byacc
37463 all-stageprofile-ld: maybe-all-build-byacc
37464 all-stagefeedback-ld: maybe-all-build-byacc
37465 all-prebootstrap: maybe-all-build-byacc
37466 all-ld: maybe-all-build-flex
37468 all-stage1-ld: maybe-all-build-flex
37469 all-stage2-ld: maybe-all-build-flex
37470 all-stage3-ld: maybe-all-build-flex
37471 all-stage4-ld: maybe-all-build-flex
37472 all-stageprofile-ld: maybe-all-build-flex
37473 all-stagefeedback-ld: maybe-all-build-flex
37474 all-prebootstrap: maybe-all-build-flex
37475 all-ld: maybe-all-intl
37477 all-stage1-ld: maybe-all-stage1-intl
37478 all-stage2-ld: maybe-all-stage2-intl
37479 all-stage3-ld: maybe-all-stage3-intl
37480 all-stage4-ld: maybe-all-stage4-intl
37481 all-stageprofile-ld: maybe-all-stageprofile-intl
37482 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37483 all-opcodes: maybe-all-bfd
37485 all-stage1-opcodes: maybe-all-stage1-bfd
37486 all-stage2-opcodes: maybe-all-stage2-bfd
37487 all-stage3-opcodes: maybe-all-stage3-bfd
37488 all-stage4-opcodes: maybe-all-stage4-bfd
37489 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37490 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37491 all-opcodes: maybe-all-libiberty
37493 all-stage1-opcodes: maybe-all-stage1-libiberty
37494 all-stage2-opcodes: maybe-all-stage2-libiberty
37495 all-stage3-opcodes: maybe-all-stage3-libiberty
37496 all-stage4-opcodes: maybe-all-stage4-libiberty
37497 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37498 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37499 all-dejagnu: maybe-all-tcl
37500 all-dejagnu: maybe-all-expect
37501 all-dejagnu: maybe-all-tk
37502 configure-expect: maybe-configure-tcl
37503 configure-expect: maybe-configure-tk
37504 all-expect: maybe-all-tcl
37505 all-expect: maybe-all-tk
37506 configure-itcl: maybe-configure-tcl
37507 configure-itcl: maybe-configure-tk
37508 all-itcl: maybe-all-tcl
37509 all-itcl: maybe-all-tk
37510 install-itcl: maybe-install-tcl
37511 configure-tk: maybe-configure-tcl
37512 all-tk: maybe-all-tcl
37513 all-sid: maybe-all-libiberty
37514 all-sid: maybe-all-bfd
37515 all-sid: maybe-all-opcodes
37516 all-sid: maybe-all-tcl
37517 all-sid: maybe-all-tk
37518 install-sid: maybe-install-tcl
37519 install-sid: maybe-install-tk
37520 all-sim: maybe-all-libiberty
37521 all-sim: maybe-all-bfd
37522 all-sim: maybe-all-opcodes
37523 all-sim: maybe-all-readline
37524 all-sim: maybe-configure-gdb
37525 all-fastjar: maybe-all-zlib
37526 all-fastjar: maybe-all-build-texinfo
37527 all-fastjar: maybe-all-libiberty
37528 all-autoconf: maybe-all-m4
37529 all-autoconf: maybe-all-build-texinfo
37530 all-automake: maybe-all-m4
37531 all-automake: maybe-all-build-texinfo
37532 all-automake: maybe-all-autoconf
37533 all-bison: maybe-all-intl
37534 all-bison: maybe-all-build-texinfo
37535 all-diff: maybe-all-intl
37536 all-diff: maybe-all-build-texinfo
37537 all-fileutils: maybe-all-intl
37538 all-fileutils: maybe-all-build-texinfo
37539 all-flex: maybe-all-build-bison
37540 all-flex: maybe-all-build-byacc
37541 all-flex: maybe-all-intl
37542 all-flex: maybe-all-m4
37543 all-flex: maybe-all-build-texinfo
37544 all-gzip: maybe-all-intl
37545 all-gzip: maybe-all-zlib
37546 all-gzip: maybe-all-build-texinfo
37547 all-hello: maybe-all-intl
37548 all-hello: maybe-all-build-texinfo
37549 all-m4: maybe-all-intl
37550 all-m4: maybe-all-build-texinfo
37551 all-make: maybe-all-intl
37552 all-make: maybe-all-build-texinfo
37553 all-patch: maybe-all-build-texinfo
37554 all-make: maybe-all-build-texinfo
37555 all-prms: maybe-all-libiberty
37556 all-recode: maybe-all-build-texinfo
37557 all-sed: maybe-all-build-texinfo
37558 all-send-pr: maybe-all-prms
37559 all-tar: maybe-all-build-texinfo
37560 all-uudecode: maybe-all-build-texinfo
37561 configure-target-boehm-gc: maybe-configure-target-qthreads
37562 configure-target-fastjar: maybe-configure-target-zlib
37563 all-target-fastjar: maybe-all-target-zlib
37564 all-target-fastjar: maybe-all-target-libiberty
37565 configure-target-libjava: maybe-configure-target-zlib
37566 configure-target-libjava: maybe-configure-target-boehm-gc
37567 configure-target-libjava: maybe-configure-target-qthreads
37568 configure-target-libjava: maybe-configure-target-libffi
37569 all-target-libjava: maybe-all-fastjar
37570 all-target-libjava: maybe-all-target-zlib
37571 all-target-libjava: maybe-all-target-boehm-gc
37572 all-target-libjava: maybe-all-target-qthreads
37573 all-target-libjava: maybe-all-target-libffi
37574 all-target-libobjc: maybe-all-target-libiberty
37575 all-target-libstdc++-v3: maybe-all-target-libiberty
37576 all-target-libgloss: maybe-configure-target-newlib
37577 all-target-winsup: maybe-all-target-libiberty
37578 all-target-winsup: maybe-all-target-libtermcap
37581 # Non-toplevel bootstrap rules must depend on several packages, to be built
37582 # before gcc. Another wart that will go away, hopefully soon.
37583 @if gcc-no-bootstrap
37585 all-prebootstrap: maybe-all-bfd
37586 all-prebootstrap: maybe-all-opcodes
37587 all-prebootstrap: maybe-all-binutils
37588 all-prebootstrap: maybe-all-gas
37589 all-prebootstrap: maybe-all-intl
37590 all-prebootstrap: maybe-all-ld
37591 all-prebootstrap: maybe-all-libcpp
37592 all-prebootstrap: maybe-all-libdecnumber
37593 all-prebootstrap: maybe-all-libiberty
37594 all-prebootstrap: maybe-all-zlib
37595 @endif gcc-no-bootstrap
37597 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37598 GDB_TK = @GDB_TK@
37599 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37600 configure-gdb: $(CONFIGURE_GDB_TK)
37601 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37602 install-gdb: $(INSTALL_GDB_TK)
37604 # Serialization dependencies. Host configures don't work well in parallel to
37605 # each other, due to contention over config.cache. Target configures and
37606 # build configures are similar.
37607 @serialization_dependencies@
37609 # --------------------------------
37610 # Regenerating top level configury
37611 # --------------------------------
37613 # Rebuilding Makefile.in, using autogen.
37614 AUTOGEN = autogen
37615 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37616 cd $(srcdir) && $(AUTOGEN) Makefile.def
37618 # Rebuilding Makefile.
37619 Makefile: $(srcdir)/Makefile.in config.status
37620 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37622 config.status: configure
37623 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
37625 # Rebuilding configure.
37626 AUTOCONF = autoconf
37627 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
37628 cd $(srcdir) && $(AUTOCONF)
37630 # ------------------------------
37631 # Special directives to GNU Make
37632 # ------------------------------
37634 # Don't pass command-line variables to submakes.
37635 .NOEXPORT:
37636 MAKEOVERRIDES=
37638 # end of Makefile.in